]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[Morello] Allow lo12 relocations for alternate base ld/st
authorSiddhesh Poyarekar <siddesh.poyarekar@arm.com>
Fri, 11 Sep 2020 03:48:09 +0000 (09:18 +0530)
committerJohn Baldwin <jhb@FreeBSD.org>
Thu, 1 Sep 2022 22:53:21 +0000 (15:53 -0700)
commit2236f6c43490245393834b5dc7b41644054f5790
tree1077d5cdeb862126bc3ef7e04e18a920a6d30da6
parent1f147f5f26faea3a595d4d099c49a0f4d2ed8ad7
[Morello] Allow lo12 relocations for alternate base ld/st

This brings feature parity between the regular, Morello and alternate
base load/store instructions.

bfd/ChangeLog:

2020-10-20  Siddhesh Poyarekar  <siddesh.poyarekar@arm.com>

* elfxx-aarch64.c (reencode_ldst_pos_imm): Support loads and
stores with alternate base.

gas/ChangeLog:

2020-10-20  Siddhesh Poyarekar  <siddesh.poyarekar@arm.com>

* config/tc-aarch64.c (ldst_lo12_determine_real_reloc_type):
Support alternate base loads and stores.
(parse_operands): Support relocations for alternate base
address operands.
* testsuite/gas/aarch64/morello-ldst-reloc.d: New file.
* testsuite/gas/aarch64/morello-ldst-reloc.s: New file.
bfd/ChangeLog
bfd/elfxx-aarch64.c
gas/ChangeLog
gas/config/tc-aarch64.c
gas/testsuite/gas/aarch64/morello-ldst-reloc.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/morello-ldst-reloc.s [new file with mode: 0644]