gas testsuite: adjust recently added tests for hppa
Some hppa gas targets treat anything starting in the first column as a label, so directives can't start there. Also, binutils_assemble and run_dump_test cleverly edit test source to suit the hppa .comm directive which has a different syntax to most targets. The editing means we can't match source file names in dumps. Finally, hppa gas complains if instructions are emitted without a ".text" or similar directive. * testsuite/gas/all/pr27381.err: Don't match source file name. * testsuite/gas/all/pr27381.s: Don't start directive in first column. * testsuite/gas/all/pr27384.err: Don't match source file name. Adjust line number. * testsuite/gas/all/pr27384.s: Add ".text" directive. * testsuite/gas/elf/pr27355.err: Don't match source file name.
This commit is contained in:
parent
528a4f87c6
commit
3c1d41015b
6 changed files with 21 additions and 12 deletions
|
@ -1,3 +1,12 @@
|
||||||
|
2021-02-12 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* testsuite/gas/all/pr27381.err: Don't match source file name.
|
||||||
|
* testsuite/gas/all/pr27381.s: Don't start directive in first column.
|
||||||
|
* testsuite/gas/all/pr27384.err: Don't match source file name.
|
||||||
|
Adjust line number.
|
||||||
|
* testsuite/gas/all/pr27384.s: Add ".text" directive.
|
||||||
|
* testsuite/gas/elf/pr27355.err: Don't match source file name.
|
||||||
|
|
||||||
2021-02-11 Alan Modra <amodra@gmail.com>
|
2021-02-11 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* NEWS: Mention arm-symbianelf removal.
|
* NEWS: Mention arm-symbianelf removal.
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
.*pr27381.s: Assembler messages:
|
.*: Assembler messages:
|
||||||
.*pr27381.s:1: Error: unable to include `/etc/'
|
.*:1: Error: unable to include `/etc/'
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
.incbin "/etc/"
|
.incbin "/etc/"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.*pr27384.s: Assembler messages:
|
.*: Assembler messages:
|
||||||
.*pr27384.s:2: Error: bad or irreducible absolute expression
|
.*:3: Error: bad or irreducible absolute expression
|
||||||
.*pr27384.s:2: Error: new paper width is too small
|
.*:3: Error: new paper width is too small
|
||||||
#pass
|
#pass
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
.text
|
||||||
.nop
|
.nop
|
||||||
.Psize f,-7
|
.Psize f,-7
|
||||||
.nop
|
.nop
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
.*pr27355.s: Assembler messages:
|
.*: Assembler messages:
|
||||||
.*pr27355.s:1: Error: bad expression
|
.*:1: Error: bad expression
|
||||||
.*pr27355.s:2: Error: bad or irreducible absolute expression
|
.*:2: Error: bad or irreducible absolute expression
|
||||||
.*pr27355.s:3: Error: bad or irreducible absolute expression
|
.*:3: Error: bad or irreducible absolute expression
|
||||||
.*pr27355.s:3: Error: missing string
|
.*:3: Error: missing string
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue