summaryrefslogtreecommitdiff
path: root/bfd/elf32-mips.c
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2002-07-31 00:32:10 +0000
committerThiemo Seufer <ths@networkno.de>2002-07-31 00:32:10 +0000
commitc1f4a3f0a7fc0452d5cd41fce907b0767cd8612e (patch)
treefc4ebe935577c4a8cd05880b2b61ebd896a2f906 /bfd/elf32-mips.c
parent78f110661b8e50c2bd3ff05fe730f64a1164af89 (diff)
downloadgdb-c1f4a3f0a7fc0452d5cd41fce907b0767cd8612e.tar.gz
* Makefile.am: Add n32 ABI support.
* Makefile.in: Regenerate. * config.bfd: Add n32 vectors to mips64*-*-linux* targets. Treat 64 bit vectors for mips*-*-linux targets as optional. * configure.in: Add n32 ABI vectors. * configure: Regenerate. * elf32-mips.c (mips_elf32_object_p): Reject n32 ABI files. * elfn32-mips.c: New file, n32 ABI support. * targets.c: Add n32 ABI vectors.
Diffstat (limited to 'bfd/elf32-mips.c')
-rw-r--r--bfd/elf32-mips.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c
index c8b31a9e29c..953417d166b 100644
--- a/bfd/elf32-mips.c
+++ b/bfd/elf32-mips.c
@@ -1570,6 +1570,9 @@ mips_elf32_object_p (abfd)
if (SGI_COMPAT (abfd))
elf_bad_symtab (abfd) = true;
+ if (ABI_N32_P (abfd))
+ return false;
+
mach = _bfd_elf_mips_mach (elf_elfheader (abfd)->e_flags);
bfd_default_set_arch_mach (abfd, bfd_arch_mips, mach);