aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf64-sparc.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 5f5dcad..c1a185a 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+1999-07-16 Jakub Jelinek <jj@ultra.linux.cz>
+
+ * elf64-sparc.c (sparc64_elf_size_dynamic_sections): Remove
+ DT_SPARC_PLTFMT.
+
1999-07-16 Ian Lance Taylor <ian@zembu.com>
* elf32-mips.c (mips_elf_local_relocation_p): New static
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;
}