[PATCH] Add reference to implicit use in _bfd_elf_is_local_label_name.
Jim Wilson
jimw@sifive.com
Wed Nov 22 19:39:00 GMT 2017
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
More information about the Binutils
mailing list