This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Add reference to implicit use in _bfd_elf_is_local_label_name.


Clarify the comments to include the info that Nick gave me, which I think
should be mentioned in the sources.

Comments?

	gas/
	* write.h (FAKE_LABEL_CHAR): Expand comment.
---
 gas/write.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gas/write.h b/gas/write.h
index 4157bc971c..bebfe75ed8 100644
--- a/gas/write.h
+++ b/gas/write.h
@@ -28,7 +28,9 @@
 #endif
 
 /* This is the special character used to indicate a fake symbol.  Must be
-   present in FAKE_LABEL_NAME.  */
+   present in FAKE_LABEL_NAME.  See also _bfd_elf_is_local_label_name in
+   bfd/elf.c which implicitly uses this value.  This can only be safely changed
+   if FAKE_LABEL_NAME starts with ".L".  */
 #ifndef FAKE_LABEL_CHAR
 #define FAKE_LABEL_CHAR '\001'
 #endif
-- 
2.14.1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]