aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-sparc.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>1999-07-16 21:25:28 +0000
committerRichard Henderson <rth@redhat.com>1999-07-16 21:25:28 +0000
commitd6bcbdc1fe20d65ec144f223b963f5e88e86fdb6 (patch)
treea25e8d33b8b593a4e0f746db7bcc2e5f81297d99 /bfd/elf64-sparc.c
parent6387d6028b60ff3c825d17674bddf83d12b30261 (diff)
downloadgdb-d6bcbdc1fe20d65ec144f223b963f5e88e86fdb6.zip
gdb-d6bcbdc1fe20d65ec144f223b963f5e88e86fdb6.tar.gz
gdb-d6bcbdc1fe20d65ec144f223b963f5e88e86fdb6.tar.bz2
Jakub Jelinek <jj@ultra.linux.cz>
* elf64-sparc.c (sparc64_elf_size_dynamic_sections): Remove DT_SPARC_PLTFMT.
Diffstat (limited to 'bfd/elf64-sparc.c')
-rw-r--r--bfd/elf64-sparc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/bfd/elf64-sparc.c b/bfd/elf64-sparc.c
index 353cdaf..244494e 100644
--- a/bfd/elf64-sparc.c
+++ b/bfd/elf64-sparc.c
@@ -1125,9 +1125,7 @@ sparc64_elf_size_dynamic_sections (output_bfd, info)
if (! bfd_elf64_add_dynamic_entry (info, DT_PLTGOT, 0)
|| ! bfd_elf64_add_dynamic_entry (info, DT_PLTRELSZ, 0)
|| ! bfd_elf64_add_dynamic_entry (info, DT_PLTREL, DT_RELA)
- || ! bfd_elf64_add_dynamic_entry (info, DT_JMPREL, 0)
- || ! bfd_elf64_add_dynamic_entry (info, DT_SPARC_PLTFMT,
- (info->shared != 0) + 1))
+ || ! bfd_elf64_add_dynamic_entry (info, DT_JMPREL, 0))
return false;
}