testsuite: Don't start directives in first column

Alan Modra amodra@gmail.com
Mon May 3 05:00:31 GMT 2021


Fixes fails on hppa64-hp-hpux11.23.  Oddly, I hadn't seen them before
a run last night after coming back from two week's vacation.

	* testsuite/gas/elf/section25.s: Don't start directives in first
	column.
	* testsuite/gas/elf/section26.s: Likewise.

diff --git a/gas/testsuite/gas/elf/section25.s b/gas/testsuite/gas/elf/section25.s
index 538e5c7ce4b..25f81847fbd 100644
--- a/gas/testsuite/gas/elf/section25.s
+++ b/gas/testsuite/gas/elf/section25.s
@@ -1,8 +1,8 @@
-.section .noinit
-.word 0
+ .section .noinit
+ .word 0
 
-.section .noinit.foo
-.word 0
+ .section .noinit.foo
+ .word 0
 
-.section .gnu.linkonce.n.bar
-.word 0
+ .section .gnu.linkonce.n.bar
+ .word 0
diff --git a/gas/testsuite/gas/elf/section26.s b/gas/testsuite/gas/elf/section26.s
index aefe15d4c2c..240f90f8d2f 100644
--- a/gas/testsuite/gas/elf/section26.s
+++ b/gas/testsuite/gas/elf/section26.s
@@ -1,11 +1,11 @@
-.section .persistent
-.word 0
+ .section .persistent
+ .word 0
 
-.section .persistent.foo
-.word 0
+ .section .persistent.foo
+ .word 0
 
-.section .persistent.bss
-.word 0
+ .section .persistent.bss
+ .word 0
 
-.section .gnu.linkonce.p.bar
-.word 0
+ .section .gnu.linkonce.p.bar
+ .word 0

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list