diff options
author | Phil Blundell <pb@futuretv.com> | 2000-10-23 09:19:21 +0000 |
---|---|---|
committer | Phil Blundell <pb@futuretv.com> | 2000-10-23 09:19:21 +0000 |
commit | 14f5bf8b648775aec2c4e08fe8d86790262530bc (patch) | |
tree | ad9be81e561881752f042e7605ff265b4ff03371 | |
parent | 4eaecc0505b5bfb7df8c891a9577526932e2b366 (diff) | |
download | gdb-14f5bf8b648775aec2c4e08fe8d86790262530bc.tar.gz |
Undo accidental commit
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf32-arm.h | 7 |
2 files changed, 5 insertions, 7 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0ce64e9fdc5..2fc0258636c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 diff --git a/bfd/elf32-arm.h b/bfd/elf32-arm.h index 74fb5bbaa4d..fd099b0db63 100644 --- a/bfd/elf32-arm.h +++ b/bfd/elf32-arm.h @@ -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; } } |