* ld-mips-elf/mips-elf.exp: Update GAS flags in reloc test 6.
+2012-08-06  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * ld-mips-elf/reloc-1-n32.d: Add -EB to GAS flags.
+       * ld-mips-elf/mips-elf.exp: Update GAS flags in reloc test 6.
+
 2012-08-06  Maciej W. Rozycki  <macro@codesourcery.com>
 
        * lib/ld-lib.exp (run_dump_test): Implement the EXTRA_OPTIONS
 
        [list \
            "reloc test 6a" \
            "-shared $abi_ldflags(n32)" \
-           "-n32" \
+           "$abi_asflags(n32)" \
            "reloc-6a.s" \
            {} \
            "reloc-6a.so"] \
        [list \
            "reloc test 6b" \
            "$abi_ldflags(n32) tmpdir/reloc-6a.so" \
-           "-n32" \
+           "$abi_asflags(n32)" \
            "reloc-6b.s" \
            {} \
            "reloc-6b"]]
 
-#source: reloc-1a.s -mabi=n32
-#source: reloc-1b.s -mabi=n32
+#source: reloc-1a.s -mabi=n32 -EB
+#source: reloc-1b.s -mabi=n32 -EB
 #ld: -r
 #readelf: --relocs