summaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2013-09-24 10:22:27 +0000
committerAlan Modra <amodra@bigpond.net.au>2013-09-24 10:22:27 +0000
commit26c0540bdac97a6d38d8c4041537fb3f133ecfbc (patch)
tree1f769806f1bf6c730ead1370e7ba43c99622d7ed /bfd
parent3d2f9ac09169f3ce4ba7a08a66a079ee31bc38b0 (diff)
downloadbinutils-redhat-26c0540bdac97a6d38d8c4041537fb3f133ecfbc.tar.gz
* elf32-mips.c (ELF_OSABI): Undef for vxworks.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf32-mips.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 0af85697e0..ea5ea28026 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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.
diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c
index 0e62708f7a..eec2ef7f05 100644
--- a/bfd/elf32-mips.c
+++ b/bfd/elf32-mips.c
@@ -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