Adjust ld ctf test for 32-bit targets
authorAlan Modra <amodra@gmail.com>
Fri, 25 Feb 2022 06:55:26 +0000 (17:25 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 3 Mar 2022 13:58:07 +0000 (00:28 +1030)
powerpc-linux, and I suspect other 32-bit targets, report "aligned at
0x4" for this test.

* testsuite/ld-ctf/nonrepresentable.d: Accept any alignment.

ld/testsuite/ld-ctf/nonrepresentable.d

index 610558f6605cbe8ca70ce6debb407acf6dda4d9f..fa3fdca58fcd3f754e1313272c90f235864d4520 100644 (file)
@@ -15,7 +15,7 @@ Contents of CTF section .ctf:
 #...
   Function objects:
 #...
-    foo -> 0x[0-9]*: \(kind 5\) int \(\*\) \(\(nonrepresentable type.*\)\) \(aligned at 0x8\)
+    foo -> 0x[0-9]*: \(kind 5\) int \(\*\) \(\(nonrepresentable type.*\)\) \(aligned at .*\)
 #...
   Types:
 #...