diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-08-14 15:57:17 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-08-14 15:57:17 +0000 |
commit | 452a5efbaf30e9ec7a7892716294ebdb02837c7f (patch) | |
tree | 3a77c5f76fd3ee63f90adaf321bf2c52336a363f /bfd/config.bfd | |
parent | 5c800455bf7f27ad0e11e896f4bf44eeff29c829 (diff) | |
download | gdb-452a5efbaf30e9ec7a7892716294ebdb02837c7f.zip gdb-452a5efbaf30e9ec7a7892716294ebdb02837c7f.tar.gz gdb-452a5efbaf30e9ec7a7892716294ebdb02837c7f.tar.bz2 |
* elflink.h (elf_link_add_object_symbols): If a symbol is a weak
definition, add it to the dynamic symbol table if any dynamic
object mentions it. If we do add it, make sure we add the
corresponding real symbol.
(elf_adjust_dynamic_symbol): Adjust a weak defined symbol which we
put in the dynamic symbol table, even if no regular object refers
to it.
* elf32-i386.c (elf_i386_check_relocs): When creating a shared
library, don't allocate space for a PC relative reloc against a
local symbol.
* elf32-m68k.c (elf_m68k_check_relocs): Likewise.
* elf32-sparc.c (elf32_sparc_check_relocs): Likewise.
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Change assertion
to accept symbol with weakdef set.
* elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise.
* elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): When creating a shared
libary, don't copy over a PC relative reloc against a local
symbol.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
PR 7711.
Diffstat (limited to 'bfd/config.bfd')
0 files changed, 0 insertions, 0 deletions