This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
mips vxworks osabi
- From: Alan Modra <amodra at gmail dot com>
- To: binutils at sourceware dot org
- Date: Tue, 24 Sep 2013 19:52:41 +0930
- Subject: mips vxworks osabi
- Authentication-results: sourceware.org; auth=none
It can't be right to use ELFOSABI_FREEBSD for mips-vxworks.
* elf32-mips.c (ELF_OSABI): Undef for vxworks.
Index: bfd/elf32-mips.c
===================================================================
RCS file: /cvs/src/src/bfd/elf32-mips.c,v
retrieving revision 1.218
diff -u -p -r1.218 elf32-mips.c
--- bfd/elf32-mips.c 24 Jun 2013 23:55:44 -0000 1.218
+++ bfd/elf32-mips.c 24 Sep 2013 03:37:04 -0000
@@ -2486,6 +2486,7 @@ mips_vxworks_final_write_processing (bfd
#define TARGET_LITTLE_NAME "elf32-littlemips-vxworks"
#define TARGET_BIG_SYM bfd_elf32_bigmips_vxworks_vec
#define TARGET_BIG_NAME "elf32-bigmips-vxworks"
+#undef ELF_OSABI
#undef elf32_bed
#define elf32_bed elf32_mips_vxworks_bed
--
Alan Modra
Australia Development Lab, IBM