aboutsummaryrefslogtreecommitdiff
path: root/bfd/config.bfd
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/config.bfd
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/config.bfd')
-rw-r--r--bfd/config.bfd16
1 files changed, 9 insertions, 7 deletions
diff --git a/bfd/config.bfd b/bfd/config.bfd
index ae949c4..8461e79 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -748,21 +748,23 @@ case "${targ}" in
;;
#ifdef BFD64
mips64*el-*-linux*)
- targ_defvec=bfd_elf32_tradlittlemips_vec
- targ_selvecs="bfd_elf32_tradbigmips_vec bfd_elf64_tradlittlemips_vec bfd_elf64_tradbigmips_vec"
+ targ_defvec=bfd_elf32_ntradlittlemips_vec
+ targ_selvecs="bfd_elf32_ntradbigmips_vec bfd_elf32_tradlittlemips_vec bfd_elf32_tradbigmips_vec bfd_elf64_tradlittlemips_vec bfd_elf64_tradbigmips_vec"
;;
mips64*-*-linux*)
- targ_defvec=bfd_elf32_tradbigmips_vec
- targ_selvecs="bfd_elf32_tradlittlemips_vec bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec"
+ targ_defvec=bfd_elf32_ntradbigmips_vec
+ targ_selvecs="bfd_elf32_ntradlittlemips_vec bfd_elf32_tradbigmips_vec bfd_elf32_tradlittlemips_vec bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec"
;;
#endif
mips*el-*-linux*)
targ_defvec=bfd_elf32_tradlittlemips_vec
- targ_selvecs="bfd_elf32_tradbigmips_vec bfd_elf64_tradlittlemips_vec bfd_elf64_tradbigmips_vec ecoff_little_vec ecoff_big_vec"
+ targ_selvecs="bfd_elf32_tradbigmips_vec ecoff_little_vec ecoff_big_vec"
+ targ64_selvecs="bfd_elf64_tradlittlemips_vec bfd_elf64_tradbigmips_vec"
;;
mips*-*-linux*)
targ_defvec=bfd_elf32_tradbigmips_vec
- targ_selvecs="bfd_elf32_tradlittlemips_vec bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec ecoff_big_vec ecoff_little_vec"
+ targ_selvecs="bfd_elf32_tradlittlemips_vec ecoff_big_vec ecoff_little_vec"
+ targ64_selvecs="bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec"
;;
#ifdef BFD64
mmix-*-*)
@@ -1180,7 +1182,7 @@ esac
# to be used on an arbitrary ELF file for anything other than
# relocation information.
case "${targ_defvec} ${targ_selvecs}" in
- *bfd_elf64*)
+ *bfd_elf64* | *bfd_elf32_n*mips*)
targ_selvecs="${targ_selvecs} bfd_elf64_little_generic_vec bfd_elf64_big_generic_vec bfd_elf32_little_generic_vec bfd_elf32_big_generic_vec"
;;
*bfd_elf32*)