summaryrefslogtreecommitdiff
path: root/bfd/elf32-i370.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
commit757c2aa2c03723478823a9f32ff4e516ef4b874e (patch)
tree41df6b082c659af6b3c0689226b3ef58fa9bf370 /bfd/elf32-i370.c
parent28610a9b9a5e797cb780ca771d7509287fdded76 (diff)
downloadbinutils-redhat-757c2aa2c03723478823a9f32ff4e516ef4b874e.tar.gz
Fix decision about when a .interp section should existcarlton-dictionary-20031111-merge
Diffstat (limited to 'bfd/elf32-i370.c')
-rw-r--r--bfd/elf32-i370.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-i370.c b/bfd/elf32-i370.c
index b4d305dc16..83783ae888 100644
--- a/bfd/elf32-i370.c
+++ b/bfd/elf32-i370.c
@@ -653,7 +653,7 @@ i370_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);