* elf32-mips.c (ELF_OSABI): Undef for vxworks.
authorAlan Modra <amodra@gmail.com>
Tue, 24 Sep 2013 10:22:27 +0000 (10:22 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 24 Sep 2013 10:22:27 +0000 (10:22 +0000)
bfd/ChangeLog
bfd/elf32-mips.c

index 0af8569..ea5ea28 100644 (file)
@@ -1,5 +1,9 @@
 2013-09-24  Alan Modra  <amodra@gmail.com>
 
+       * elf32-mips.c (ELF_OSABI): Undef for vxworks.
+
+2013-09-24  Alan Modra  <amodra@gmail.com>
+
        * syms.c (_bfd_stab_section_find_nearest_line): Ignore partial
        stabs at end of .stab.  Tidy variable usage.  Don't drop the need
        for a NULL function name stab if If N_FUN stab is ignored.
index 0e62708..eec2ef7 100644 (file)
@@ -2486,6 +2486,7 @@ mips_vxworks_final_write_processing (bfd *abfd, bfd_boolean linker)
 #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