Fix pr27217 testcase failure
authorAlan Modra <amodra@gmail.com>
Wed, 7 Apr 2021 08:42:38 +0000 (18:12 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 7 Apr 2021 08:44:20 +0000 (18:14 +0930)
aarch64_be-linux-gnu_ilp32  +FAIL: PR27212

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

gas/ChangeLog
gas/testsuite/gas/aarch64/pr27217.d

index f62e81730538bedbadb895b85a0f58bd8d24547b..8a7549d4bf37cb974ac99642756f98ee9241d8e1 100644 (file)
@@ -1,3 +1,8 @@
+2021-04-07  Alan Modra  <amodra@gmail.com>
+
+       PR 27217
+       * testsuite/gas/aarch64/pr27217.d: Correct name.  Accept ilp32 relocs.
+
 2021-04-06  Nick Clifton  <nickc@redhat.com>
 
        PR 27217
index 4645ff55a34f9d0832171a39979d85795296e371..abbc48717b4e4a6946bd326cffd292a95a9e92d1 100644 (file)
@@ -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