+2002-07-26 Chris Demetriou <cgd@broadcom.com>
+
+ * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Merge ASE
+ flags into resulting BFD.
+
2002-07-26 Alan Modra <amodra@bigpond.net.au>
From John Reiser <jreiser@BitWagon.com>
old_flags &= ~EF_MIPS_ABI;
}
+ /* For now, allow arbitrary mixing of ASEs (retain the union). */
+ if ((new_flags & EF_MIPS_ARCH_ASE) != (old_flags & EF_MIPS_ARCH_ASE))
+ {
+ elf_elfheader (obfd)->e_flags |= new_flags & EF_MIPS_ARCH_ASE;
+
+ new_flags &= ~ EF_MIPS_ARCH_ASE;
+ old_flags &= ~ EF_MIPS_ARCH_ASE;
+ }
+
/* Warn about any other mismatches */
if (new_flags != old_flags)
{
+2002-07-26 Richard Sandiford <rsandifo@redhat.com>
+
+ * ld-mips-elf/mips16-1.d,
+ * ld-mips-elf/mips16-1[ab].s: New test.
+ * ld-mips-elf/mips-elf.exp: Run it.
+
2002-07-19 Hans-Peter Nilsson <hp@bitrange.com>
* ld-mmix/sec-1.d: Adjust for changes in padding.
run_dump_test "emrelocs-eb"
run_dump_test "emrelocs-el"
+ run_dump_test "mips16-1"
+
run_dump_test "region1"
}
}
--- /dev/null
+#source: mips16-1a.s -no-mips16
+#source: mips16-1b.s -mips16
+#ld: -r
+#objdump: -d
+#pass
--- /dev/null
+ .text
+foo1: jr $31
--- /dev/null
+ .text
+foo2: jr $31