diff options
Diffstat (limited to 'bfd/elf32-nios2.c')
-rw-r--r-- | bfd/elf32-nios2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-nios2.c b/bfd/elf32-nios2.c index 9189726..6b29d8b 100644 --- a/bfd/elf32-nios2.c +++ b/bfd/elf32-nios2.c @@ -5849,7 +5849,7 @@ nios2_elf32_size_dynamic_sections (bfd *output_bfd ATTRIBUTE_UNUSED, if (elf_hash_table (info)->dynamic_sections_created) { /* Set the contents of the .interp section to the interpreter. */ - if (bfd_link_executable (info)) + if (bfd_link_executable (info) && !info->nointerp) { s = bfd_get_linker_section (dynobj, ".interp"); BFD_ASSERT (s != NULL); |