# Exclude some more targets; feel free to include your favorite one
# if you like.
-if { !([istarget i?86-*-linux*]
- || [istarget i?86-*-gnu*]) } {
+if { !([istarget "i?86-*-linux*"]
+ || [istarget "i?86-*-gnu*"]
+ || [istarget "x86_64-*-linux*"]) } {
return
}
run_ld_link_tests [list \
[list \
"$testname (auxiliary shared object)" \
- "-shared -version-script ../ld-elf/export-class-lib.ver" "" \
+ "-melf_i386 -shared -version-script ../ld-elf/export-class-lib.ver" \
"" \
+ "--32" \
{ ../ld-elf/export-class-lib.s } \
{} \
"i386-export-class-lib.so" \
run_ld_link_tests [list \
[list \
"$testname (initial static object)" \
- "-r" "" \
- "" \
+ "-r -melf_i386" "" \
+ "--32" \
{ ../ld-elf/export-class-ref.s } \
{} \
"i386-export-class-ref-r.o" \
run_ld_link_tests [list \
[list \
"$testname (final shared object)" \
- "-shared $NO_DT_RELR_LDFLAGS -Tdata=0x12340000 tmpdir/i386-export-class-ref-r.o tmpdir/i386-export-class-lib.so" "" \
+ "-shared -melf_i386 $NO_DT_RELR_LDFLAGS -Tdata=0x12340000 tmpdir/i386-export-class-ref-r.o tmpdir/i386-export-class-lib.so" \
"" \
+ "--32" \
{ ../ld-elf/export-class-dep.s ../ld-elf/export-class-def.s } \
{ \
{ readelf -r i386-export-class.rd } \