diff options
author | Nick Clifton <nickc@redhat.com> | 2003-11-11 13:32:38 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-11-11 13:32:38 +0000 |
commit | 6dfbf7d884358b77e746061cc3d3005fac320af8 (patch) | |
tree | 18c410aae4f891fa532c279ebb6c8f56562d4e94 /bfd/elf32-hppa.c | |
parent | 758784b8f5784d3d65f8984657e0e68462ddccae (diff) | |
download | gdb-6dfbf7d884358b77e746061cc3d3005fac320af8.tar.gz |
Fix decision about when a .interp section should exist
Diffstat (limited to 'bfd/elf32-hppa.c')
-rw-r--r-- | bfd/elf32-hppa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-hppa.c b/bfd/elf32-hppa.c index 1fab847bc4f..c2e2f706c24 100644 --- a/bfd/elf32-hppa.c +++ b/bfd/elf32-hppa.c @@ -2047,7 +2047,7 @@ elf32_hppa_size_dynamic_sections (bfd *output_bfd ATTRIBUTE_UNUSED, if (htab->elf.dynamic_sections_created) { /* Set the contents of the .interp section to the interpreter. */ - if (! info->shared) + if (info->executable) { s = bfd_get_section_by_name (dynobj, ".interp"); if (s == NULL) |