From d6bcbdc1fe20d65ec144f223b963f5e88e86fdb6 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 16 Jul 1999 21:25:28 +0000 Subject: [PATCH] Jakub Jelinek * elf64-sparc.c (sparc64_elf_size_dynamic_sections): Remove DT_SPARC_PLTFMT. --- bfd/ChangeLog | 5 +++++ bfd/elf64-sparc.c | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 5f5dcad4214..c1a185a940e 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +1999-07-16 Jakub Jelinek + + * elf64-sparc.c (sparc64_elf_size_dynamic_sections): Remove + DT_SPARC_PLTFMT. + 1999-07-16 Ian Lance Taylor * elf32-mips.c (mips_elf_local_relocation_p): New static diff --git a/bfd/elf64-sparc.c b/bfd/elf64-sparc.c index 353cdaf6ac9..244494e70e0 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; } -- 2.30.2