Adjust ld ctf test for 32-bit targets
Alan Modra
amodra@gmail.com
Thu Mar 3 02:45:30 GMT 2022
powerpc-linux, and I suspect other 32-bit targets, report "aligned at
0x4" for this test. Nick, is this OK?
* testsuite/ld-ctf/nonrepresentable.d: Accept any alignment.
diff --git a/ld/testsuite/ld-ctf/nonrepresentable.d b/ld/testsuite/ld-ctf/nonrepresentable.d
index 610558f6605..fa3fdca58fc 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:
#...
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list