aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-10-06 20:22:43 +1030
committerAlan Modra <amodra@gmail.com>2020-10-06 20:22:43 +1030
commit3ce6300ea8e9d205e6c4e0d6bfab31cf1fe4ac07 (patch)
tree4468c3c098004a52014c522630274b61f66f7974 /gas
parent6afcdeb3581e99e2d4ce06d0034c7c47292aeec1 (diff)
downloadfsf-binutils-gdb-3ce6300ea8e9d205e6c4e0d6bfab31cf1fe4ac07.zip
fsf-binutils-gdb-3ce6300ea8e9d205e6c4e0d6bfab31cf1fe4ac07.tar.gz
fsf-binutils-gdb-3ce6300ea8e9d205e6c4e0d6bfab31cf1fe4ac07.tar.bz2
Fix gas sh-link-zero test for hppa64-hpux
* testsuite/gas/elf/sh-link-zero.s: Don't start directives in first column. Don't use numeric labels.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/testsuite/gas/elf/sh-link-zero.s13
2 files changed, 11 insertions, 7 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 58e9fac..2b04cef 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/testsuite/gas/elf/sh-link-zero.s b/gas/testsuite/gas/elf/sh-link-zero.s
index 9e90792..468f6cc 100644
--- a/gas/testsuite/gas/elf/sh-link-zero.s
+++ b/gas/testsuite/gas/elf/sh-link-zero.s
@@ -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