From 671bae9c9235974d21f45571a12ff64fae238017 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 20 Sep 2001 10:37:35 +0000 Subject: coordinate info->symbolic and info->allow_shlib_undefined --- bfd/elf32-mips.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bfd/elf32-mips.c') diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c index 1554cce..14bce73 100644 --- a/bfd/elf32-mips.c +++ b/bfd/elf32-mips.c @@ -6142,7 +6142,9 @@ mips_elf_calculate_relocation (abfd, and check to see if they exist by looking at their addresses. */ symbol = 0; - else if (info->shared && !info->symbolic && !info->no_undefined + else if (info->shared + && (!info->symbolic || info->allow_shlib_undefined) + && !info->no_undefined && ELF_ST_VISIBILITY (h->root.other) == STV_DEFAULT) symbol = 0; else if (strcmp (h->root.root.root.string, "_DYNAMIC_LINK") == 0 || -- cgit v1.1