diff options
author | Alan Modra <amodra@bigpond.net.au> | 2001-10-15 07:28:45 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2001-10-15 07:28:45 +0000 |
commit | 75e86fd846e2f471bd72ffe1ea168f4c195a2e39 (patch) | |
tree | e2797c4025e82b209ac1c37df0bdedcbbe1645f8 /bfd/elf32-s390.c | |
parent | 2a39a8e269fee82cce00097b6a67982a996877eb (diff) | |
download | gdb-75e86fd846e2f471bd72ffe1ea168f4c195a2e39.tar.gz |
* elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Merge dyn_reloc
counts for aliases instead of aborting.
* elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise.
* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise.
* elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Set plt.offset
to -1 for non-function symbols.
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise.
* elf32-s390.c (elf_s390_adjust_dynamic_symbol): Likewise.
* elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise.
* elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise.
* elf64-x86-64.c (elf64_x86_64_adjust_dynamic_symbol): Likewise.
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Refer to
plt.offset instead of plt.refcount when setting to -1.
Diffstat (limited to 'bfd/elf32-s390.c')
-rw-r--r-- | bfd/elf32-s390.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/elf32-s390.c b/bfd/elf32-s390.c index c8f5a8f9f05..ca51540aacc 100644 --- a/bfd/elf32-s390.c +++ b/bfd/elf32-s390.c @@ -998,6 +998,8 @@ elf_s390_adjust_dynamic_symbol (info, h) return true; } + else + h->plt.offset = (bfd_vma) -1; /* If this is a weak symbol, and there is a real definition, the processor independent code will have arranged for us to see the |