aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-hppa.c
diff options
context:
space:
mode:
authorDave Anglin <dave.anglin@nrc.ca>2005-12-27 22:50:08 +0000
committerDave Anglin <dave.anglin@nrc.ca>2005-12-27 22:50:08 +0000
commit3c27d5511c22fba48b306ed57ea23ca680bf3f31 (patch)
tree546010dedd7c5103d01bb976160e90db1d74eb82 /bfd/elf32-hppa.c
parentef981364537cea4855e2f39fc04698941cad1997 (diff)
downloadgdb-3c27d5511c22fba48b306ed57ea23ca680bf3f31.zip
gdb-3c27d5511c22fba48b306ed57ea23ca680bf3f31.tar.gz
gdb-3c27d5511c22fba48b306ed57ea23ca680bf3f31.tar.bz2
* elf32-hppa.c (elf32_hppa_size_dynamic_sections): Use info->executable
instead of !info->shared.
Diffstat (limited to 'bfd/elf32-hppa.c')
-rw-r--r--bfd/elf32-hppa.c2
1 files changed, 1 insertions, 1 deletions
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;