diff options
author | Alan Modra <amodra@bigpond.net.au> | 2001-10-03 08:33:18 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2001-10-03 08:33:18 +0000 |
commit | d99864dbe5f27e3235b6a33c92020dfaedc2d7a5 (patch) | |
tree | 77ea180bee623edb55035704d84b3ba14f780cce /bfd/elf32-hppa.c | |
parent | 2c311d5c10f2c656382abc4eae7cdf5e50d00c4d (diff) | |
download | gdb-d99864dbe5f27e3235b6a33c92020dfaedc2d7a5.tar.gz |
* elflink.h (elf_fix_symbol_flags): Copy flags to weakdef using
elf_backend_copy_indirect_symbol so that backend has a chance to
copy other necessary fields.
* elf-bfd.h (struct elf_backend_data): Update description of
elf_backend_copy_indirect_symbol.
* elf.c (_bfd_elf_link_hash_copy_indirect): Bail out after
copying flags if this is a weakdef.
* elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise.
(elfNN_ia64_aix_add_symbol_hook): Use elf_link_hash_lookup rather
than bfd_link_hash_lookup.
* elf32-i386 (elf_i386_adjust_dynamic_symbol): Don't do copy
reloc processing for weakdefs.
* elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Likewise.
* elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise.
Diffstat (limited to 'bfd/elf32-hppa.c')
-rw-r--r-- | bfd/elf32-hppa.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf32-hppa.c b/bfd/elf32-hppa.c index 8b662ab6d76..557b9fe4ca9 100644 --- a/bfd/elf32-hppa.c +++ b/bfd/elf32-hppa.c @@ -1855,6 +1855,7 @@ elf32_hppa_adjust_dynamic_symbol (info, h) abort (); h->root.u.def.section = h->weakdef->root.u.def.section; h->root.u.def.value = h->weakdef->root.u.def.value; + return true; } /* This is a reference to a symbol defined by a dynamic object which |