mips vxworks osabi

Alan Modra amodra@gmail.com
Tue Sep 24 10:22:00 GMT 2013


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



More information about the Binutils mailing list