[binutils-gdb] Fix gas sh-link-zero test for hppa64-hpux
Alan Modra
amodra@sourceware.org
Tue Oct 6 09:55:25 GMT 2020
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3ce6300ea8e9d205e6c4e0d6bfab31cf1fe4ac07
commit 3ce6300ea8e9d205e6c4e0d6bfab31cf1fe4ac07
Author: Alan Modra <amodra@gmail.com>
Date: Tue Oct 6 20:22:43 2020 +1030
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.
Diff:
---
gas/ChangeLog | 5 +++++
gas/testsuite/gas/elf/sh-link-zero.s | 13 ++++++-------
2 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 58e9fac96dc..2b04cef66b7 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 9e907928d85..468f6cc8284 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
More information about the Binutils-cvs
mailing list