[PATCH, binutils, ARM, 4/16] BF insns infrastructure with array of relocs in struct arm_it
Andre Vieira (lists)
andre.simoesdiasvieira@arm.com
Thu Apr 4 13:34:00 GMT 2019
Hi
This patch is part of a series of patches to add support for ARMv8.1-M
Mainline instructions to binutils.
This adds infrastructure for the Branch Future instructions (BF, BFX,
BFL, BFLX, BFCSEL). These are the first instructions in ARM that
have more than one relocations in them. Their external relocations can
be found in the 'ELF for the Arm Architecture - ABI 2019Q1' document on
developer.arm.com (see
https://developer.arm.com/docs/ihi0044/latest/elf-for-the-arm-architecture-abi-2019q1-documentation#aaelf32-table4-9)
This is the second infrastructure patch that adds support to allow up to
3 relocations in an instruction. This is done by changing the
reloc member of struct arm_it to an array instead (relocs[3]). All the
previous occurrences of reloc can now to referring to relocs[0].
Testing: Builds successfully and no regressions.
Thanks
Sudi
ChangeLog entries are as follows :
*** gas/ChangeLog ***
2019-04-04 Sudakshina Das <sudi.das@arm.com>
* config/tc-arm.c (ARM_IT_MAX_RELOCS): New macro.
(arm_it): Member reloc renamed relocs and updated to an array.
Rest: Replace all occurrences of reloc to relocs[0].
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4.patch
Type: text/x-patch
Size: 56125 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20190404/18d38966/attachment.bin>
More information about the Binutils
mailing list