Add a testcase for group error.
2011-08-04 H.J. Lu <hongjiu.lu@intel.com> * gas/elf/bad-group.d: New. * gas/elf/bad-group.err: Likewise. * gas/elf/bad-group.s: Likewise. * gas/elf/elf.exp: Run bad-group.
This commit is contained in:
parent
e0dd0826e2
commit
cfba7fd516
@ -1,3 +1,11 @@
|
|||||||
|
2011-08-04 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* gas/elf/bad-group.d: New.
|
||||||
|
* gas/elf/bad-group.err: Likewise.
|
||||||
|
* gas/elf/bad-group.s: Likewise.
|
||||||
|
|
||||||
|
* gas/elf/elf.exp: Run bad-group.
|
||||||
|
|
||||||
2011-08-03 James Greenhalgh <james.greenhalgh@arm.com>
|
2011-08-03 James Greenhalgh <james.greenhalgh@arm.com>
|
||||||
|
|
||||||
* gas/arm/strex-bad-t.d: New testcase.
|
* gas/arm/strex-bad-t.d: New testcase.
|
||||||
|
2
gas/testsuite/gas/elf/bad-group.d
Normal file
2
gas/testsuite/gas/elf/bad-group.d
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#name: Check bad group
|
||||||
|
#error-output: bad-group.err
|
2
gas/testsuite/gas/elf/bad-group.err
Normal file
2
gas/testsuite/gas/elf/bad-group.err
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
.*bad-group\.s: Assembler messages:
|
||||||
|
.*bad-group\.s:.* Error: .*
|
11
gas/testsuite/gas/elf/bad-group.s
Normal file
11
gas/testsuite/gas/elf/bad-group.s
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
.section .text.startup,"ax",%progbits
|
||||||
|
.globl main
|
||||||
|
main:
|
||||||
|
.type main, @function
|
||||||
|
.LFB0:
|
||||||
|
.section .text.unlikely
|
||||||
|
.L5:
|
||||||
|
.globl __gxx_personality_v0
|
||||||
|
.section .gcc_except_table,"a",%progbits
|
||||||
|
.uleb128 .L5-.LFB0
|
||||||
|
.section .data.foo,"awG",%progbits,foo,comdat
|
@ -181,6 +181,7 @@ if { ([istarget "*-*-*elf*"]
|
|||||||
run_dump_test "dwarf2-4"
|
run_dump_test "dwarf2-4"
|
||||||
run_dump_test "bad-section-flag"
|
run_dump_test "bad-section-flag"
|
||||||
run_dump_test "bad-size"
|
run_dump_test "bad-size"
|
||||||
|
run_dump_test "bad-group"
|
||||||
|
|
||||||
load_lib gas-dg.exp
|
load_lib gas-dg.exp
|
||||||
dg-init
|
dg-init
|
||||||
|
Loading…
Reference in New Issue
Block a user