* gas/i386/divide.s: New.
* gas/i386/divide.d: New. * gas/i386/i386.exp (gas_32_check): Run it.
This commit is contained in:
parent
9a12477437
commit
bd55cd2b21
|
@ -1,5 +1,9 @@
|
||||||
2003-11-22 Alan Modra <amodra@bigpond.net.au>
|
2003-11-22 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* gas/i386/divide.s: New.
|
||||||
|
* gas/i386/divide.d: New.
|
||||||
|
* gas/i386/i386.exp (gas_32_check): Run it.
|
||||||
|
|
||||||
* gas/ppc/machine.s: New.
|
* gas/ppc/machine.s: New.
|
||||||
* gas/ppc/machine.d: New.
|
* gas/ppc/machine.d: New.
|
||||||
* gas/ppc/ppc.exp: Run it.
|
* gas/ppc/ppc.exp: Run it.
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
#objdump: -s
|
||||||
|
#name: i386 divide
|
||||||
|
|
||||||
|
.*: +file format .*
|
||||||
|
|
||||||
|
Contents of section .*
|
||||||
|
0000 01000000 02000000 03000000 04000000 .*
|
||||||
|
0010 05000000 .*
|
|
@ -0,0 +1,4 @@
|
||||||
|
start:
|
||||||
|
.long 1,2,3,a,b
|
||||||
|
a=(.-start)/4-1
|
||||||
|
b=(.-start)/4
|
|
@ -57,6 +57,7 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_32_check]]
|
||||||
run_dump_test "pcrel"
|
run_dump_test "pcrel"
|
||||||
run_dump_test "sub"
|
run_dump_test "sub"
|
||||||
run_dump_test "prescott"
|
run_dump_test "prescott"
|
||||||
|
run_dump_test "divide"
|
||||||
|
|
||||||
# PIC is only supported on ELF targets.
|
# PIC is only supported on ELF targets.
|
||||||
if { ([istarget "*-*-elf*"] || [istarget "*-*-linux*"] )
|
if { ([istarget "*-*-elf*"] || [istarget "*-*-linux*"] )
|
||||||
|
|
Loading…
Reference in New Issue