aboutsummaryrefslogtreecommitdiff
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
commit8a397dadf0e7b45662aaa2e8aef161a78e8cff5c (patch)
tree6236770da2ff3759f0fe449c886ccb66c2d05d95 /bfd/elf32-mips.c
parent3edd64ea8666cc7cac7f0aa248d6bed066d6758b (diff)
downloadgdb-8a397dadf0e7b45662aaa2e8aef161a78e8cff5c.zip
gdb-8a397dadf0e7b45662aaa2e8aef161a78e8cff5c.tar.gz
gdb-8a397dadf0e7b45662aaa2e8aef161a78e8cff5c.tar.bz2
* 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 c8b31a9..953417d 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);