This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

mips vxworks osabi


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]