mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 11:00:01 +08:00
2001-03-29 H.J. Lu <hjl@gnu.org>
* gas/i386/relax.s: New test for relaxation between sections. * gas/i386/relax.d: New. * gas/i386/i386.exp: Add tests for ELF.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2001-03-29 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
|
* gas/i386/relax.s: New test for relaxation between sections.
|
||||||
|
* gas/i386/relax.d: New.
|
||||||
|
|
||||||
|
* gas/i386/i386.exp: Add tests for ELF.
|
||||||
|
|
||||||
2001-03-27 Chris Demetriou <cgd@broadcom.com>
|
2001-03-27 Chris Demetriou <cgd@broadcom.com>
|
||||||
|
|
||||||
* gas/mips/lineno.d: Allow for the possibility that
|
* gas/mips/lineno.d: Allow for the possibility that
|
||||||
|
@ -67,6 +67,16 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_32_check]]
|
|||||||
run_dump_test "jump16"
|
run_dump_test "jump16"
|
||||||
run_list_test "white" "-al --listing-lhs-width=3"
|
run_list_test "white" "-al --listing-lhs-width=3"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Do they only work for ELF?
|
||||||
|
if { ([istarget "*-*-elf*"]
|
||||||
|
|| [istarget "*-*-linux*"]
|
||||||
|
&& ![istarget *-*-linux*aout*]
|
||||||
|
&& ![istarget *-*-linux*oldld*])
|
||||||
|
} then {
|
||||||
|
run_dump_test "relax"
|
||||||
|
}
|
||||||
|
|
||||||
set ASFLAGS "$old_ASFLAGS"
|
set ASFLAGS "$old_ASFLAGS"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
10
gas/testsuite/gas/i386/relax.d
Normal file
10
gas/testsuite/gas/i386/relax.d
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
#name: i386 relax
|
||||||
|
#objdump: -drw
|
||||||
|
|
||||||
|
.*: +file format .*i386.*
|
||||||
|
|
||||||
|
Disassembly of section .text:
|
||||||
|
Disassembly of section .gnu.linkonce.t.blah:
|
||||||
|
|
||||||
|
0+000 <.gnu.linkonce.t.blah>:
|
||||||
|
0: eb 00 [ ]*jmp 0x2
|
7
gas/testsuite/gas/i386/relax.s
Normal file
7
gas/testsuite/gas/i386/relax.s
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
.section .gcc_except_table,"aw",@progbits
|
||||||
|
.section .gnu.linkonce.t.blah,"ax",@progbits
|
||||||
|
.L0:
|
||||||
|
jmp .L1
|
||||||
|
.L1:
|
||||||
|
.section .gcc_except_table,"aw",@progbits
|
||||||
|
.uleb128 .L1-.L0
|
Reference in New Issue
Block a user