public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Adjust ld ctf test for 32-bit targets
@ 2022-03-03  2:45 Alan Modra
  2022-03-03 12:31 ` Nick Alcock
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Modra @ 2022-03-03  2:45 UTC (permalink / raw)
  To: binutils

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Adjust ld ctf test for 32-bit targets
  2022-03-03  2:45 Adjust ld ctf test for 32-bit targets Alan Modra
@ 2022-03-03 12:31 ` Nick Alcock
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Alcock @ 2022-03-03 12:31 UTC (permalink / raw)
  To: Alan Modra; +Cc: binutils

On 3 Mar 2022, Alan Modra uttered the following:

> powerpc-linux, and I suspect other 32-bit targets, report "aligned at
> 0x4" for this test.  Nick, is this OK?

Oh, definitely. None of these tests should be hardwiring alignments like
this, but clearly I forgot to fix a few :/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-03-03 12:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-03  2:45 Adjust ld ctf test for 32-bit targets Alan Modra
2022-03-03 12:31 ` Nick Alcock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).