Undo accidental commit

This commit is contained in:
Phil Blundell
2000-10-23 09:19:21 +00:00
parent b836e75b91
commit 19b13c9868
2 changed files with 5 additions and 7 deletions

View 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> 2000-10-22 Philip Blundell <philb@gnu.org>
* elf32-arm.h (elf32_arm_finish_dynamic_symbol): Don't make * elf32-arm.h (elf32_arm_finish_dynamic_symbol): Don't make

View 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 /* Mark the symbol as undefined, rather than as defined in
the .plt section. Leave the value alone. */ the .plt section. Leave the value alone. */
sym->st_shndx = SHN_UNDEF; 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;
} }
} }