]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
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>
Mon, 9 May 2022 04:20:59 +0000 (13:50 +0930)
powerpc-linux, and I suspect other 32-bit targets, report "aligned at
0x4" for this test.

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

(cherry picked from commit db120fb808dc24538e89b851d6dda1890aad5a1f)

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:
 #...