]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Re: LoongArch: Enforce 4-byte align for machine instructions
authorAlan Modra <amodra@gmail.com>
Fri, 1 May 2026 01:10:08 +0000 (10:40 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 1 May 2026 12:48:44 +0000 (22:18 +0930)
readelf output is different for 32-bit objects.  Fix the test for
loongarch32 by not overspecifying the match.

gas/testsuite/gas/loongarch/insn_align_4.d

index 31a5d352a76af70b6c2706e11d5c4e2b0a21cda7..4c2e909d959740730e13163d23d5283d7c3e357c 100644 (file)
@@ -1,7 +1,6 @@
 #as:
-#readelf: -S
+#readelf: -W -S
 
 #...
-  \[ [0-9]+\] \.text             PROGBITS         [0-9a-f]{16}  [0-9a-f]{8}
-       [0-9a-f]{16}  [0-9a-f]{16}  AX       0     0     4
-#...
+.* \.text .* 4
+#pass