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
commitdbb382980b480494369cd0787f89343b01e9d971 (patch)
tree19d07ae61511a35f458b258d63647d64e618db8a /bfd
parent36fba904ad21b19b08eed6ae7bdd3b88ce4b55e5 (diff)
downloadgdb-dbb382980b480494369cd0787f89343b01e9d971.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 0af85697e08..ea5ea280264 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 0e62708f7a6..eec2ef7f053 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