This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] Add reference to implicit use in _bfd_elf_is_local_label_name.
- From: Jim Wilson <jimw at sifive dot com>
- To: binutils at sourceware dot org
- Cc: Jim Wilson <jimw at sifive dot com>
- Date: Wed, 22 Nov 2017 11:39:31 -0800
- Subject: [PATCH] Add reference to implicit use in _bfd_elf_is_local_label_name.
- Authentication-results: sourceware.org; auth=none
- References: <f411ddd4-7d0e-46de-efff-82e4ac7e1fc3@redhat.com>
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