aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-09-24 10:22:27 +0000
committerAlan Modra <amodra@gmail.com>2013-09-24 10:22:27 +0000
commit91ea67ca58124c403b6d0f123c5d7555fd15a0a1 (patch)
tree1ad14f91eaec082e6493aa1499957b835f5d2397
parent8a865bcb7713696b30f8ed1c11926edc3bc15c77 (diff)
downloadgdb-91ea67ca58124c403b6d0f123c5d7555fd15a0a1.zip
gdb-91ea67ca58124c403b6d0f123c5d7555fd15a0a1.tar.gz
gdb-91ea67ca58124c403b6d0f123c5d7555fd15a0a1.tar.bz2
* elf32-mips.c (ELF_OSABI): Undef for vxworks.
-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 0af85697..ea5ea28 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 0e62708..eec2ef7 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