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

Matthieu Longo matthieu.longo@arm.com
Wed Oct 23 10:48:08 GMT 2024


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(-)

-- 
2.47.0



More information about the Binutils mailing list