[PATCH v1 0/8] small refactorings before posting PAuth_LR patch series

Matthieu Longo matthieu.longo@arm.com
Fri Nov 8 11:47:18 GMT 2024


On 2024-10-23 11:48, Matthieu Longo wrote:
> This patch series contains some refactorings / minor improvements required for a future PAuth_LR patch series.
> Not much to say about commits 1 to 6, they are self-explanatory.
> Commit 7 introduces a new operand flag for unsigned immediate value. This is a new use case introduced for auti<k>sppc (a PAuth_LR instruction) that takes, as its first operand, an unsigned PC relative offset.
> Commit 8 refactors the binary approach for the RA signing method which was not extendable. PAuth_LR will add a 3rd value for the RA state.
> 
> Regression tested on aarch64-unknown-linux-gnu, and no regression found.
> 
> Ok for binutils-master?
> 
> Regards,
> Matthieu.
> 
> Matthieu Longo (8):
>    aarch64: make comment clearer about the location
>    aarch64: constify unchanged char* arguments
>    aarch64: change returned type to bool to match semantic of functions
>    aarch64: improve debuggability on array of enum
>    aarch64: remove redundant register type R_N
>    aarch64: testsuite: remove hard-coded instruction addresses
>    aarch64: add flag OPD_F_UNSIGNED to distinguish signedness of immediate operands
>    aarch64: refactor binary approach for RA signing method to make it extendable
> 
>   gas/config/tc-aarch64.c              |   8 +-
>   gas/gen-sframe.c                     |  22 +-
>   gas/gen-sframe.h                     |  17 +-
>   gas/testsuite/gas/aarch64/system-3.d |  52 ++--
>   include/opcode/aarch64.h             |  12 +-
>   include/sframe.h                     |   4 +-
>   opcodes/aarch64-opc.c                | 439 +++++++++++++++------------
>   opcodes/aarch64-opc.h                |   9 +-
>   8 files changed, 316 insertions(+), 247 deletions(-)
> 

I addressed the comment from Alan Modra, and merged patches from 1/8 to 
7/8 into master.
As advised by Richard Earnshaw, I will add Indu into the loop to review 
patch 8/8. I will republish this patch separately.

Matthieu.


More information about the Binutils mailing list