[binutils-gdb] Adjust ld ctf test for 32-bit targets
Alan Modra
amodra@sourceware.org
Thu Mar 3 13:58:29 GMT 2022
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=db120fb808dc24538e89b851d6dda1890aad5a1f
commit db120fb808dc24538e89b851d6dda1890aad5a1f
Author: Alan Modra <amodra@gmail.com>
Date: Fri Feb 25 17:25:26 2022 +1030
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.
Diff:
---
ld/testsuite/ld-ctf/nonrepresentable.d | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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:
#...
More information about the Binutils-cvs
mailing list