summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-02-25 17:25:26 +1030
committerAlan Modra <amodra@gmail.com>2022-05-09 13:50:59 +0930
commit8d1187516e31cdf25edc0366e837e171c50e8af9 (patch)
tree94b462561bb59a0c614dbba6440716af76460951
parent74ef67f9ba18912866acc7aed052943a51719a3b (diff)
Adjust ld ctf test for 32-bit targets
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)
-rw-r--r--ld/testsuite/ld-ctf/nonrepresentable.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-ctf/nonrepresentable.d b/ld/testsuite/ld-ctf/nonrepresentable.d
index 610558f660..fa3fdca58f 100644
--- a/ld/testsuite/ld-ctf/nonrepresentable.d
+++ b/ld/testsuite/ld-ctf/nonrepresentable.d
@@ -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:
#...