aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-m68k.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
commit893c4fe2991f82578f16be1750c1f9fd958ad016 (patch)
treec60a6b2baa55e8eb19cff246a2f7bdc3bdc05d2b /bfd/elf32-m68k.c
parent08e3ab908992f8abb57055cdd2faa2e8c6a7b515 (diff)
downloadgdb-893c4fe2991f82578f16be1750c1f9fd958ad016.zip
gdb-893c4fe2991f82578f16be1750c1f9fd958ad016.tar.gz
gdb-893c4fe2991f82578f16be1750c1f9fd958ad016.tar.bz2
Fix decision about when a .interp section should exist
Diffstat (limited to 'bfd/elf32-m68k.c')
-rw-r--r--bfd/elf32-m68k.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-m68k.c b/bfd/elf32-m68k.c
index 849bfe8..90609c5 100644
--- a/bfd/elf32-m68k.c
+++ b/bfd/elf32-m68k.c
@@ -1127,7 +1127,7 @@ elf_m68k_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);