summaryrefslogtreecommitdiffstats
path: root/bfd/elf32-mips.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2001-06-07 17:31:22 +0000
committerH.J. Lu <hjl.tools@gmail.com>2001-06-07 17:31:22 +0000
commitc36e006fbc8fa8824b103d83a8555c37a538696c (patch)
tree7e9490272da7973db88f0cf39b6e58e01b8fd931 /bfd/elf32-mips.c
parentdf3bcd6f735108dc3235e8f7450928ed951c60dd (diff)
downloadppe42-binutils-c36e006fbc8fa8824b103d83a8555c37a538696c.tar.gz
ppe42-binutils-c36e006fbc8fa8824b103d83a8555c37a538696c.zip
2001-06-07 H.J. Lu <hjl@gnu.org>
* elf32-mips.c (_bfd_mips_elf_object_p): Set the bad symtab for SGI only. * config.bfd: Remove ecoff from Linux/mips.
Diffstat (limited to 'bfd/elf32-mips.c')
-rw-r--r--bfd/elf32-mips.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c
index 0f166a9037..de0e529a8b 100644
--- a/bfd/elf32-mips.c
+++ b/bfd/elf32-mips.c
@@ -2331,7 +2331,8 @@ _bfd_mips_elf_object_p (abfd)
/* Irix 5 and 6 is broken. Object file symbol tables are not always
sorted correctly such that local symbols precede global symbols,
and the sh_info field in the symbol table is not always right. */
- elf_bad_symtab (abfd) = true;
+ if (SGI_COMPAT(abfd))
+ elf_bad_symtab (abfd) = true;
bfd_default_set_arch_mach (abfd, bfd_arch_mips,
elf_mips_mach (elf_elfheader (abfd)->e_flags));
OpenPOWER on IntegriCloud