This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH/RFA] Add support for OpenBSD/mips64
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: binutils at sources dot redhat dot com
- Date: Fri, 22 Oct 2004 23:56:24 +0200 (CEST)
- Subject: [PATCH/RFA] Add support for OpenBSD/mips64
I'm working on support for OpenBSD/mips64 (OpenBSD/sgi) in GDB. This
adds support for the platform to BFD.
OK?
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* config.bfd: Add mips64*-*-openbsd.
Index: config.bfd
===================================================================
RCS file: /cvs/src/src/bfd/config.bfd,v
retrieving revision 1.172
diff -u -p -r1.172 config.bfd
--- config.bfd 15 Oct 2004 05:47:11 -0000 1.172
+++ config.bfd 22 Oct 2004 21:51:06 -0000
@@ -850,6 +850,12 @@ case "${targ}" in
targ_defvec=bfd_elf32_bigmips_vec
targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
;;
+#ifdef BFD64
+ mips64*-*-openbsd*)
+ targ_defvec=bfd_elf64_tradbigmips_vec
+ targ_selvecs="bfd_elf32_ntradlittlemips_vec bfd_elf32_ntradbigmips_vec bfd_elf32_tradlittlemips_vec bfd_elf32_tradbigmips_vec bfd_elf64_tradlittlemips_vec"
+ ;;
+#endif
mips*el-*-openbsd*)
targ_defvec=bfd_elf32_littlemips_vec
targ_selvecs="bfd_elf32_bigmips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec ecoff_little_vec ecoff_big_vec"