From: Alan Modra Date: Tue, 6 Oct 2020 09:52:43 +0000 (+1030) Subject: Fix gas sh-link-zero test for hppa64-hpux X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3ce6300ea8e9d205e6c4e0d6bfab31cf1fe4ac07;p=binutils-gdb.git 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 --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 + + * testsuite/gas/elf/sh-link-zero.s: Don't start directives in + first column. Don't use numeric labels. + 2020-10-05 Kamil Rytarowski * 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