* gas/elf/elf.exp: Don't run tests on "*-*-linux*aout*" or

"*-*-linux*oldld*".
	* gas/vtable/vtable.exp: Likewise.
	* gas/i386/reloc.d: Modify expected reloc names to accept a.out
	names.
This commit is contained in:
Ian Lance Taylor 1999-06-12 10:43:43 +00:00
parent c1b640f7dc
commit 966d5bec04
4 changed files with 24 additions and 13 deletions

View File

@ -1,5 +1,11 @@
1999-06-12 Ian Lance Taylor <ian@zembu.com>
* gas/elf/elf.exp: Don't run tests on "*-*-linux*aout*" or
"*-*-linux*oldld*".
* gas/vtable/vtable.exp: Likewise.
* gas/i386/reloc.d: Modify expected reloc names to accept a.out
names.
* gas/i386/amd.s: Add a symbol so a.out tests will work.
* gas/i386/katmai.s: Likewise.
* gas/i386/amd.d: Corresponding change.

View File

@ -3,10 +3,13 @@
#
# We're testing bits in obj-elf -- don't run on anything else.
if { [istarget "*-elf*"]
|| [istarget "*-linux*"]
|| [istarget "sparc*-*-solaris*"]
|| [istarget "mips*-*-irix6*"] } then {
if { ([istarget "*-*-elf*"]
|| [istarget "*-*-linux*"]
|| [istarget "sparc*-*-solaris*"]
|| [istarget "mips*-*-irix6*"])
&& ![istarget *-*-linux*aout*]
&& ![istarget *-*-linux*oldld*]
} then {
# FIXME: This doesn't work for MIPS targets because of the .reginfo
# and .mdebug sections.

View File

@ -6,13 +6,13 @@
Disassembly of section .text:
00000000 <foo>:
0: b3 00 [ ]*mov \$0x0,%bl 1: R_386_8 .text
2: 68 00 00 00 00 [ ]*push \$0x0 3: R_386_32 .text
7: 05 00 00 00 00 [ ]*add \$0x0,%eax 8: R_386_32 .text
c: 81 c3 00 00 00 00 [ ]*add \$0x0,%ebx e: R_386_32 .text
12: 69 d2 00 00 00 00 [ ]*imul \$0x0,%edx,%edx 14: R_386_32 .text
18: 9a 00 00 00 00 00 00 [ ]*lcall \$0x0,\$0x0 19: R_386_32 .text
1f: 66 68 00 00 [ ]*pushw \$0x0 21: R_386_16 .text
0: b3 00 [ ]*mov \$0x0,%bl 1: (R_386_)?8 .text
2: 68 00 00 00 00 [ ]*push \$0x0 3: (R_386_)?32 .text
7: 05 00 00 00 00 [ ]*add \$0x0,%eax 8: (R_386_)?32 .text
c: 81 c3 00 00 00 00 [ ]*add \$0x0,%ebx e: (R_386_)?32 .text
12: 69 d2 00 00 00 00 [ ]*imul \$0x0,%edx,%edx 14: (R_386_)?32 .text
18: 9a 00 00 00 00 00 00 [ ]*lcall \$0x0,\$0x0 19: (R_386_)?32 .text
1f: 66 68 00 00 [ ]*pushw \$0x0 21: (R_386_)?16 .text
23: 90 [ ]*nop
24: 90 [ ]*nop
25: 90 [ ]*nop

View File

@ -15,8 +15,10 @@ proc run_list_test { name opts } {
}
# Vtable bits are only supported by ELF targets.
if {[istarget "*-*-elf*"] || [istarget "*-*-linux*"]} then {
if { ([istarget "*-*-elf*"]
|| [istarget "*-*-linux*"])
&& ![istarget *-*-linux*aout*]
&& ![istarget *-*-linux*oldld*] } then {
# not supported by D30V
if {[istarget "d30v-*-*"]} {