Fix pr27217 testcase failure

Alan Modra amodra@gmail.com
Wed Apr 7 08:53:01 GMT 2021


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


More information about the Binutils mailing list