Add reference to implicit use in _bfd_elf_is_local_label_name.
authorJim Wilson <jimw@sifive.com>
Fri, 24 Nov 2017 17:31:59 +0000 (09:31 -0800)
committerJim Wilson <jimw@sifive.com>
Fri, 24 Nov 2017 17:31:59 +0000 (09:31 -0800)
gas/
* write.h (FAKE_LABEL_CHAR): Expand comment.

gas/ChangeLog
gas/write.h

index d6c9d4cd7a65f561afde566990a192e87679d2ae..13fee06986a999423c0e7662273a5d408f4fc6f5 100644 (file)
@@ -1,3 +1,7 @@
+2017-11-24  Jim Wilson  <jimw@sifive.com>
+
+       * write.h (FAKE_LABEL_CHAR): Expand comment.
+
 2017-11-24  Jan Beulich  <jbeulich@suse.com>
 
        * config/tc-i386.c (check_VecOperations): Check register type
index 4157bc971cb06b941164299e1b711d5eb1faed7e..d2c6af6824b946342636d462285350058372041b 100644 (file)
 #define FAKE_LABEL_NAME "L0\001"
 #endif
 
-/* This is the special character used to indicate a fake symbol.  Must be
-   present in FAKE_LABEL_NAME.  */
+/* This is a special character that is used to indicate a fake label.
+   It must be present in FAKE_LABEL_NAME, although it does not have to
+   be the first character.  It must not be a character that would be
+   found in a valid symbol name.
+
+   Also be aware that the function _bfd_elf_is_local_label_name in
+   bfd/elf.c has an implicit assumption that FAKE_LABEL_CHAR is '\001'.
+   If this is not the case then FAKE_LABEL_NAME must start with ".L" in
+   order for the function to continue working.  */
 #ifndef FAKE_LABEL_CHAR
 #define FAKE_LABEL_CHAR '\001'
 #endif
This page took 0.026295 seconds and 4 git commands to generate.