Fix gas sh-link-zero test for hppa64-hpux
authorAlan Modra <amodra@gmail.com>
Tue, 6 Oct 2020 09:52:43 +0000 (20:22 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 6 Oct 2020 09:52:43 +0000 (20:22 +1030)
* testsuite/gas/elf/sh-link-zero.s: Don't start directives in
first column.  Don't use numeric labels.

gas/ChangeLog
gas/testsuite/gas/elf/sh-link-zero.s

index 58e9fac96dccf6ed1e2afc9bb0a0c5c8d51bed95..2b04cef66b70b98002cf746ffa9e22c475733082 100644 (file)
@@ -1,3 +1,8 @@
+2020-10-06  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/elf/sh-link-zero.s: Don't start directives in
+       first column.  Don't use numeric labels.
+
 2020-10-05  Kamil Rytarowski  <n54@gmx.com>
 
        * configure.tgt (aarch64*-*-netbsd*): Add target.
index 9e907928d85fe727a5a4a97e2fbca59d53aa854e..468f6cc8284d08d2baaae9af4b87725ffc922004 100644 (file)
@@ -1,13 +1,12 @@
-.section .meta1,"awo",%progbits,0
-1:
+       .section .meta1,"awo",%progbits,0
+.LC1:
        .dc.b 0
 
-.section .meta2,"awo",%progbits,foo
-2:
+       .section .meta2,"awo",%progbits,foo
        .dc.b 1
 
-.section foo, "aw"
+       .section foo, "aw"
        .dc.b 2
 
-.section .gc_root,"a",%progbits
-       .dc.a 1b
+       .section .gc_root,"a",%progbits
+       .dc.a .LC1