From 19b13c9868445495745423fbce18050d1155eaa9 Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Mon, 23 Oct 2000 09:19:21 +0000 Subject: [PATCH] Undo accidental commit --- bfd/ChangeLog | 5 +++++ 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 + + * elf32-arm.h (elf32_arm_finish_dynamic_symbol): Undo previous + accidental checkin. + 2000-10-22 Philip Blundell * 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; } } -- 2.47.2