+2010-02-26 Doug Evans <dje@sebabeach.org>
+
+ * configure.tgt: Fix mep cpu case.
+
2010-02-26 Jie Zhang <jie@codesourcery.com>
* config/tc-arm.c (do_t_strexd): Remove
m6811|m6812|m68hc12) cpu_type=m68hc11 ;;
m683??) cpu_type=m68k ;;
maxq) cpu_type=maxq ;;
- mep-*-elf) cpu_type=mep endian=big ;;
+ mep) cpu_type=mep endian=little ;;
microblaze*) cpu_type=microblaze ;;
mips*el) cpu_type=mips endian=little ;;
mips*) cpu_type=mips endian=big ;;
+2010-02-26 Doug Evans <dje@sebabeach.org>
+
+ * gas/mep/allinsn.be.d: Renamed from allinsn.d. Pass -EB.
+ * gas/mep/allinsn.exp: branch1 is now bi-endian.
+ * gas/mep/branch1.be.d: Renamed from branch1.d. Pass -EB.
+ * gas/mep/branch1.le.d: New file.
+ * gas/mep/dj1.be.d: Renamed from dj1.d. Pass -EB.
+ * gas/mep/dj2.be.d: Renamed from dj2.d. Pass -EB.
+
2010-02-26 Jie Zhang <jie@codesourcery.com>
* gas/arm/thumb32.s, gas/arm/thumb32.d: Add a new test
-#as:
+#as: -EB
#objdump: -dr
-#name: allinsn
+#source: allinsn.s
+#name: allinsn.be
.*: +file format .*
# MEP assembler testsuite. -*- Tcl -*-
if [istarget mep*-*-*] {
- foreach test {allinsn dj1 dj2} {
- run_dump_test $test
+ foreach test {allinsn branch1 dj1 dj2} {
+ run_dump_test $test.be
run_dump_test $test.le
}
- run_dump_test branch1
}
--- /dev/null
+#as: -EB
+#objdump: -dzr
+#source: branch1.s
+#name: branch1.be
+
+.*: *file format elf32-mep
+
+Disassembly of section \.text:
+
+.* <.*>:
+ *0: 00 00 * nop
+ *2: e4 51 00 00 * beq \$4,\$5,.* <foo-0x8>
+[ ]*2: *R_MEP_PCREL17A2 foo
+ *6: 00 00 * nop
+ *8: 00 00 * nop
+
+.* <foo>:
+ *a: 00 00 * nop
+++ /dev/null
-#objdump: -dzr
-
-.*: *file format elf32-mep
-
-Disassembly of section \.text:
-
-.* <.*>:
- .*: 00 00 * nop
- .*: e4 51 00 04 * beq \$4,\$5,.* <foo>
- .*: 00 00 * nop
- .*: 00 00 * nop
-
-.* <foo>:
- .*: 00 00 * nop
--- /dev/null
+#as: -EL
+#objdump: -dzr
+#source: branch1.s
+#name: branch1.le
+
+.*: *file format elf32-mep-little
+
+Disassembly of section \.text:
+
+.* <.*>:
+ *0: 00 00 * nop
+ *2: 51 e4 00 00 * beq \$4,\$5,.* <foo-0x8>
+[ ]*2: *R_MEP_PCREL17A2 foo
+ *6: 00 00 * nop
+ *8: 00 00 * nop
+
+.* <foo>:
+ *a: 00 00 * nop
-#as:
+#as: -EB
#objdump: -dr
-#name: dj1
+#source: dj1.s
+#name: dj1.be
dump.o: file format elf32-mep
-#as:
+#as: -EB
#objdump: -dr
-#name: dj2
+#source: dj2.s
+#name: dj2.be
.*: +file format .*