From 3c27d5511c22fba48b306ed57ea23ca680bf3f31 Mon Sep 17 00:00:00 2001 From: Dave Anglin Date: Tue, 27 Dec 2005 22:50:08 +0000 Subject: [PATCH] * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Use info->executable instead of !info->shared. --- bfd/ChangeLog | 5 +++++ bfd/elf32-hppa.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 93a9ee1..263073d 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2005-12-27 John David Anglin + + * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Use info->executable + instead of !info->shared. + 2005-12-27 Jan-Benedict Glaw * vaxlinux.h: New file. (TRAD_CORE_EXTRA_SIZE_ALLOWED): Define. diff --git a/bfd/elf32-hppa.c b/bfd/elf32-hppa.c index 5d34558..85352aa 100644 --- a/bfd/elf32-hppa.c +++ b/bfd/elf32-hppa.c @@ -2347,7 +2347,7 @@ elf32_hppa_size_dynamic_sections (bfd *output_bfd ATTRIBUTE_UNUSED, must add the entries now so that we get the correct size for the .dynamic section. The DT_DEBUG entry is filled in by the dynamic linker and used by the debugger. */ - if (!info->shared) + if (info->executable) { if (!add_dynamic_entry (DT_DEBUG, 0)) return FALSE; -- 2.7.4