public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Fix pr27217 testcase failure
@ 2021-04-07  8:53 Alan Modra
  2021-04-07 10:40 ` Nick Clifton
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Modra @ 2021-04-07  8:53 UTC (permalink / raw)
  To: binutils

The new testcase failed on aarch64_be-linux-gnu_ilp32 with
"FAIL: PR27212".  There are rather a lot of other ipl32 fails too..

	PR 27217
	* testsuite/gas/aarch64/pr27217.d: Correct name.  Accept ilp32 relocs.

diff --git a/gas/testsuite/gas/aarch64/pr27217.d b/gas/testsuite/gas/aarch64/pr27217.d
index 4645ff55a34..abbc48717b4 100644
--- a/gas/testsuite/gas/aarch64/pr27217.d
+++ b/gas/testsuite/gas/aarch64/pr27217.d
@@ -1,5 +1,5 @@
 # Check that expressions that generate relocations work when the symbol is a constant.
-#name: PR27212
+#name: PR27217
 #objdump: -rd
 
 .*:     file format .*
@@ -8,8 +8,8 @@ Disassembly of section \.text:
 
 0+000 <.*>:
 [ 	]+0:[ 	]+90000000[ 	]+adrp[ 	]+x0, 12345678[ 	]+<bar>
-[ 	]+0:[ 	]+R_AARCH64_ADR_PREL_PG_HI21[ 	]+bar
+[ 	]+0:[ 	]+R_AARCH64(|_P32)_ADR_PREL_PG_HI21[ 	]+bar
 [ 	]+4:[ 	]+91000000[ 	]+add[ 	]+x0, x0, #0x0
-[ 	]+4:[ 	]+R_AARCH64_ADD_ABS_LO12_NC[ 	]+bar
+[ 	]+4:[ 	]+R_AARCH64(|_P32)_ADD_ABS_LO12_NC[ 	]+bar
 [ 	]+8:[ 	]+d65f03c0[ 	]+ret
 #pass

-- 
Alan Modra
Australia Development Lab, IBM

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

* Re: Fix pr27217 testcase failure
  2021-04-07  8:53 Fix pr27217 testcase failure Alan Modra
@ 2021-04-07 10:40 ` Nick Clifton
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2021-04-07 10:40 UTC (permalink / raw)
  To: Alan Modra, binutils

Hi Alan,

> The new testcase failed on aarch64_be-linux-gnu_ilp32 with

Thanks for the heads up Alan.  I have now added this configuration to my test array, so I hope not to make silly mistakes like this in the future.

Cheers
   Nick


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

end of thread, other threads:[~2021-04-07 10:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-07  8:53 Fix pr27217 testcase failure Alan Modra
2021-04-07 10:40 ` Nick Clifton

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).