x86: Update UNDEFINED_WEAK_RESOLVED_TO_ZERO comments
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 6 Oct 2017 23:45:37 +0000 (16:45 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 6 Oct 2017 23:45:37 +0000 (16:45 -0700)
* elfxx-x86.h (UNDEFINED_WEAK_RESOLVED_TO_ZERO): Update
comments.

bfd/ChangeLog
bfd/elfxx-x86.h

index de01ad39d70c5d4b878a4c29af9768e7f1bdec3f..79d980d91b13dadaa45e6762831792edc751c966 100644 (file)
@@ -1,3 +1,8 @@
+2017-10-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elfxx-x86.h (UNDEFINED_WEAK_RESOLVED_TO_ZERO): Update
+       comments.
+
 2017-10-06  John Baldwin  <jhb@FreeBSD.org>
 
        * elf-bfd.h (struct elf_backend_data): Add
index 8e78b7ef602dbc3de608b8f5c61e204be76fc867..a2f5fc235a9de7ea5463ce13ea79fcdab3a008ad 100644 (file)
 #define SYMBOL_REFERENCES_LOCAL_P(INFO, H) \
   _bfd_x86_elf_link_symbol_references_local ((INFO), (H))
 
-/* Is a undefined weak symbol which is resolved to 0.  Reference to an
-   undefined weak symbol is resolved to 0 when building executable if
-   it isn't dynamic and
-   1. Has non-GOT/non-PLT relocations in text section.  Or
-   2. Has no GOT/PLT relocation.
-   Local undefined weak symbol is always resolved to 0.
- */
+/* TRUE if an undefined weak symbol should be resolved to 0.  Local
+   undefined weak symbol is always resolved to 0.  Reference to an
+   undefined weak symbol is resolved to 0 in executable if undefined
+   weak symbol should be resolved to 0 (zero_undefweak > 0).  */
 #define UNDEFINED_WEAK_RESOLVED_TO_ZERO(INFO, EH) \
   ((EH)->elf.root.type == bfd_link_hash_undefweak               \
    && (SYMBOL_REFERENCES_LOCAL_P ((INFO), &(EH)->elf)           \
This page took 0.028322 seconds and 4 git commands to generate.