summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils-2.17/bfd/elfxx-mips.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/binutils-2.17/bfd/elfxx-mips.c')
-rw-r--r--gnu/usr.bin/binutils-2.17/bfd/elfxx-mips.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils-2.17/bfd/elfxx-mips.c b/gnu/usr.bin/binutils-2.17/bfd/elfxx-mips.c
index 708bdada3b3..97d8854871d 100644
--- a/gnu/usr.bin/binutils-2.17/bfd/elfxx-mips.c
+++ b/gnu/usr.bin/binutils-2.17/bfd/elfxx-mips.c
@@ -9325,7 +9325,8 @@ _bfd_mips_elf_modify_segment_map (bfd *abfd,
m->p_flags_valid = 1;
}
}
- if (m != NULL
+ if (SGI_COMPAT (abfd)
+ && m != NULL
&& m->count == 1 && strcmp (m->sections[0]->name, ".dynamic") == 0)
{
static const char *sec_names[] =