summaryrefslogtreecommitdiff
path: root/bfd/elfxx-mips.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-11-11 13:32:38 +0000
committerNick Clifton <nickc@redhat.com>2003-11-11 13:32:38 +0000
commit6dfbf7d884358b77e746061cc3d3005fac320af8 (patch)
tree18c410aae4f891fa532c279ebb6c8f56562d4e94 /bfd/elfxx-mips.c
parent758784b8f5784d3d65f8984657e0e68462ddccae (diff)
downloadgdb-6dfbf7d884358b77e746061cc3d3005fac320af8.tar.gz
Fix decision about when a .interp section should exist
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r--bfd/elfxx-mips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index 51b1b59d941..b5456831e99 100644
--- a/bfd/elfxx-mips.c
+++ b/bfd/elfxx-mips.c
@@ -5871,7 +5871,7 @@ _bfd_mips_elf_size_dynamic_sections (output_bfd, info)
if (elf_hash_table (info)->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");
BFD_ASSERT (s != NULL);