summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/bfd/elf-hppa.h
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2001-06-09 22:09:27 +0000
committerMarc Espie <espie@cvs.openbsd.org>2001-06-09 22:09:27 +0000
commitfcab77976ead6644881c2eb7bb3499cdfabed685 (patch)
tree5c38e8edfe20b4c5500799952322c67ea05b7dfe /gnu/usr.bin/binutils/bfd/elf-hppa.h
parent657824d46ccc89de1e2c290ff6e78da7efd14d13 (diff)
Long delayed import of binutils-2.10.1. Turns out art@ needs some alpha
bug-fixes...
Diffstat (limited to 'gnu/usr.bin/binutils/bfd/elf-hppa.h')
-rw-r--r--gnu/usr.bin/binutils/bfd/elf-hppa.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/bfd/elf-hppa.h b/gnu/usr.bin/binutils/bfd/elf-hppa.h
index b55e1c4e5bc..000ffea3c75 100644
--- a/gnu/usr.bin/binutils/bfd/elf-hppa.h
+++ b/gnu/usr.bin/binutils/bfd/elf-hppa.h
@@ -1079,7 +1079,8 @@ elf_hppa_relocate_section (output_bfd, info, input_bfd, input_section,
relocation = 0;
}
/* Allow undefined symbols in shared libraries. */
- else if (info->shared && !info->no_undefined)
+ else if (info->shared && !info->no_undefined
+ && ELF_ST_VISIBILITY (h->other) == STV_DEFAULT)
{
if (info->symbolic)
(*info->callbacks->undefined_symbol)