]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Undo accidental commit
authorPhil Blundell <philb@gnu.org>
Mon, 23 Oct 2000 09:19:21 +0000 (09:19 +0000)
committerPhil Blundell <philb@gnu.org>
Mon, 23 Oct 2000 09:19:21 +0000 (09:19 +0000)
bfd/ChangeLog
bfd/elf32-arm.h

index 0ce64e9fdc52acdc5659a0f96de76f5d32c66afe..2fc0258636cb1b4bf1932876796e1790ecd7583f 100644 (file)
@@ -1,3 +1,8 @@
+2000-10-23  Philip Blundell  <pb@futuretv.com>
+
+       * elf32-arm.h (elf32_arm_finish_dynamic_symbol): Undo previous
+       accidental checkin.
+
 2000-10-22  Philip Blundell  <philb@gnu.org>
 
        * elf32-arm.h (elf32_arm_finish_dynamic_symbol): Don't make 
index 74fb5bbaa4d036e4d0ae581505c46a1df0189cc7..fd099b0db63d6658298fd7d8fa81a5e11246d715 100644 (file)
@@ -3015,13 +3015,6 @@ elf32_arm_finish_dynamic_symbol (output_bfd, info, h, sym)
          /* Mark the symbol as undefined, rather than as defined in
             the .plt section.  Leave the value alone.  */
          sym->st_shndx = SHN_UNDEF;
-         /* If the symbol is weak, we do need to clear the value.
-            Otherwise, the PLT entry would provide a definition for
-            the symbol even if the symbol wasn't defined anywhere,
-            and so the symbol would never be NULL.  */
-         if ((h->elf_link_hash_flags & ELF_LINK_HASH_REF_REGULAR_NONWEAK) 
-             == 0)
-           sym->st_value = 0;
        }
     }