diff options
author | Jakub Jelinek <jakub@redhat.com> | 2001-07-11 19:40:32 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2001-07-11 19:40:32 +0000 |
commit | 20278fa3263034d27f0b14ee22363b5fadc9d475 (patch) | |
tree | a3ff02a9958b7ae0fdd8bd3fc487b5b83e8179c8 /bfd/elf64-sparc.c | |
parent | cdbb0887ba21a8f7f079ec54224fde43a2b69f43 (diff) | |
download | gdb-20278fa3263034d27f0b14ee22363b5fadc9d475.zip gdb-20278fa3263034d27f0b14ee22363b5fadc9d475.tar.gz gdb-20278fa3263034d27f0b14ee22363b5fadc9d475.tar.bz2 |
* elf32-sparc.c (_bfd_sparc_elf_howto_table): Remove support for
R_SPARC_UA64.
(elf32_sparc_check_relocs): Likewise.
Only create .rela section for alloced sections in shared libraries.
(elf32_sparc_relocate_section): Likewise.
Remove redundant check.
Optimize unaligned reloc usage.
* elf64-sparc.c (sparc64_elf_relocate_section): Remove redundant
check.
* testsuite/gas/sparc/unalign.s: Remove .uaxword test.
* testsuite/gas/sparc/unalign.d: Adjust accordingly.
Diffstat (limited to 'bfd/elf64-sparc.c')
-rw-r--r-- | bfd/elf64-sparc.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/bfd/elf64-sparc.c b/bfd/elf64-sparc.c index bd32b6e..29effd1 100644 --- a/bfd/elf64-sparc.c +++ b/bfd/elf64-sparc.c @@ -2283,12 +2283,8 @@ sparc64_elf_relocate_section (output_bfd, info, input_bfd, input_section, ++sreloc->reloc_count; /* This reloc will be computed at runtime, so there's no - need to do anything now, unless this is a RELATIVE - reloc in an unallocated section. */ - if (skip - || (input_section->flags & SEC_ALLOC) != 0 - || ELF64_R_TYPE_ID (outrel.r_info) != R_SPARC_RELATIVE) - continue; + need to do anything now. */ + continue; } break; } |