From b12389f219facfb4aa29b97fdcbc2664a5b0732a Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 7 Apr 2021 18:12:38 +0930 Subject: [PATCH] Fix pr27217 testcase failure aarch64_be-linux-gnu_ilp32 +FAIL: PR27212 PR 27217 * testsuite/gas/aarch64/pr27217.d: Correct name. Accept ilp32 relocs. --- gas/ChangeLog | 5 +++++ gas/testsuite/gas/aarch64/pr27217.d | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index f62e8173053..8a7549d4bf3 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2021-04-07 Alan Modra + + PR 27217 + * testsuite/gas/aarch64/pr27217.d: Correct name. Accept ilp32 relocs. + 2021-04-06 Nick Clifton PR 27217 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[ ]+ -[ ]+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 -- 2.30.2