gas testsuite: adjust recently added tests for hppa
authorAlan Modra <amodra@gmail.com>
Fri, 12 Feb 2021 01:11:16 +0000 (11:41 +1030)
committerAlan Modra <amodra@gmail.com>
Fri, 12 Feb 2021 08:24:19 +0000 (18:54 +1030)
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.

gas/ChangeLog
gas/testsuite/gas/all/pr27381.err
gas/testsuite/gas/all/pr27381.s
gas/testsuite/gas/all/pr27384.err
gas/testsuite/gas/all/pr27384.s
gas/testsuite/gas/elf/pr27355.err

index e640fecd054f900eef4474bbc0b74061c3df9904..6e701292fa97acc2973da3db979a75e5e3c23fcd 100644 (file)
@@ -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>
 
        * NEWS: Mention arm-symbianelf removal.
index f414210c798aa08cdd7a5837d23676623680b107..493180d59ca70aebb6214cb872d46432786ef99a 100644 (file)
@@ -1,2 +1,2 @@
-.*pr27381.s: Assembler messages:
-.*pr27381.s:1: Error: unable to include `/etc/'
+.*: Assembler messages:
+.*:1: Error: unable to include `/etc/'
index b75523fc6d0042b4d1aa4fef03534b62781dc810..949b624d86a30e946f0bf4c217b435c2cc257d88 100644 (file)
@@ -1 +1 @@
-.incbin "/etc/"
+ .incbin "/etc/"
index 2d5954f91ed22f97e10446d9c4f3043e7cd5cccf..3eb1e5362adf7c0fd341f8ca381a5a17cb292ea7 100644 (file)
@@ -1,4 +1,4 @@
-.*pr27384.s: Assembler messages:
-.*pr27384.s:2: Error: bad or irreducible absolute expression
-.*pr27384.s:2: Error: new paper width is too small
+.*: Assembler messages:
+.*:3: Error: bad or irreducible absolute expression
+.*:3: Error: new paper width is too small
 #pass
index 6d831b0d5f9cf51d6968b56f53d60f1f4283463e..51274bdabe7c1dc935ad045101f1394325582a8b 100644 (file)
@@ -1,4 +1,4 @@
+       .text
        .nop
        .Psize  f,-7
        .nop
-       
index 6f5e2eae17f7c18636c2332b6d1cd2cd89bc394d..fdbeb224f03071e30496e90c98f5b775362bbb53 100644 (file)
@@ -1,5 +1,5 @@
-.*pr27355.s: Assembler messages:
-.*pr27355.s:1: Error: bad expression
-.*pr27355.s:2: Error: bad or irreducible absolute expression
-.*pr27355.s:3: Error: bad or irreducible absolute expression
-.*pr27355.s:3: Error: missing string
+.*: Assembler messages:
+.*:1: Error: bad expression
+.*:2: Error: bad or irreducible absolute expression
+.*:3: Error: bad or irreducible absolute expression
+.*:3: Error: missing string
This page took 0.042889 seconds and 4 git commands to generate.