+2013-08-24 Maciej W. Rozycki <macro@linux-mips.org>
+
+ * ld-arm/export-class.exp: Handle non-EABI targets.
+
2013-08-23 Roland McGrath <mcgrathr@google.com>
* ld-x86-64/ilp32-4-nacl.d: Update for 2013-05-31 gas alignment change.
set testname "ARM symbol export class test"
+if [istarget arm*-*-linux*eabi] {
+ set emul armelf_linux_eabi
+} else {
+ set emul armelf_linux
+}
+
# Build an auxiliary shared object with conflicting versioned symbol
# definitions.
run_ld_link_tests [list \
[list \
"$testname (auxiliary shared object)" \
- "-marmelf_linux_eabi -shared -version-script ../ld-elf/export-class-lib.ver" "" \
+ "-m$emul -shared -version-script ../ld-elf/export-class-lib.ver" "" \
"-EL" \
{ ../ld-elf/export-class-lib.s } \
{} \
run_ld_link_tests [list \
[list \
"$testname (initial static object)" \
- "-marmelf_linux_eabi -r" "" \
+ "-m$emul -r" "" \
"-EL" \
{ ../ld-elf/export-class-ref.s } \
{} \
run_ld_link_tests [list \
[list \
"$testname (final shared object)" \
- "-marmelf_linux_eabi -shared -Tdata=0x12340000 tmpdir/arm-export-class-ref-r.o tmpdir/arm-export-class-lib.so" "" \
+ "-m$emul -shared -Tdata=0x12340000 tmpdir/arm-export-class-ref-r.o tmpdir/arm-export-class-lib.so" "" \
"-EL" \
{ ../ld-elf/export-class-dep.s ../ld-elf/export-class-def.s } \
{ \