diff options
author | H.J. Lu <hjl@lucon.org> | 2000-05-23 14:05:50 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2000-05-23 14:05:50 +0000 |
commit | c20ff8d18b0d4cd6754ed935583e39b8a15ee2eb (patch) | |
tree | 1485a226fed9512a464b69eee710fb701c80d2bf /bfd/elf32-mcore.c | |
parent | f84d428279c1d2c9dcee1546b737fb19d5d12984 (diff) | |
download | gdb-c20ff8d18b0d4cd6754ed935583e39b8a15ee2eb.tar.gz |
2000-05-23 H.J. Lu <hjl@gnu.org>
* elf32-i386.c (elf_i386_relocate_section): Don't allow the
undefined symbol with the non-default visibility attributes.
* elf-hppa.h (elf_hppa_relocate_section): Likewise.
* elf32-arm.h (elf32_arm_relocate_section): Likewise.
* elf32-i370.c (i370_elf_relocate_section): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-mcore.c (mcore_elf_relocate_section): Likewise.
* elf32-mips.c (mips_elf_calculate_relocation): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
* elf64-ia64.c (elf64_ia64_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
Diffstat (limited to 'bfd/elf32-mcore.c')
-rw-r--r-- | bfd/elf32-mcore.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elf32-mcore.c b/bfd/elf32-mcore.c index 7e0c30c6cd8..99e9c73596e 100644 --- a/bfd/elf32-mcore.c +++ b/bfd/elf32-mcore.c @@ -522,7 +522,8 @@ mcore_elf_relocate_section (output_bfd, info, input_bfd, input_section, } else if (h->root.type == bfd_link_hash_undefweak) relocation = 0; - else if (info->shared) + else if (info->shared + && ELF_ST_VISIBILITY (h->other) == STV_DEFAULT) relocation = 0; else { |