diff options
author | Alan Modra <amodra@bigpond.net.au> | 2002-07-11 05:33:28 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2002-07-11 05:33:28 +0000 |
commit | 4b351facacd89fcc76446d79e2709f43216fbd41 (patch) | |
tree | b2bacc0fee55b0757f295e52346cd90598031f35 /bfd/elf64-sparc.c | |
parent | 268a84bc592424303549af10870f8e0a1e06844f (diff) | |
download | binutils-redhat-4b351facacd89fcc76446d79e2709f43216fbd41.tar.gz |
* elf32-i386.c (elf_i386_relocate_section): Don't complain about
unresolved debugging relocs in dynamic applications.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
Diffstat (limited to 'bfd/elf64-sparc.c')
-rw-r--r-- | bfd/elf64-sparc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bfd/elf64-sparc.c b/bfd/elf64-sparc.c index 7dd51f7617..def93c41fe 100644 --- a/bfd/elf64-sparc.c +++ b/bfd/elf64-sparc.c @@ -2568,9 +2568,11 @@ sparc64_elf_relocate_section (output_bfd, info, input_bfd, input_section, break; } + /* Dynamic relocs are not propagated for SEC_DEBUGGING sections + because such sections are not SEC_ALLOC and thus ld.so will + not process them. */ if (unresolved_reloc - && !(info->shared - && (input_section->flags & SEC_DEBUGGING) != 0 + && !((input_section->flags & SEC_DEBUGGING) != 0 && (h->elf_link_hash_flags & ELF_LINK_HASH_DEF_DYNAMIC) != 0)) (*_bfd_error_handler) (_("%s(%s+0x%lx): unresolvable relocation against symbol `%s'"), |