[COMMITTED V5 0/8] Add support for MTE stack tagging

Jose E. Marchesi jose.marchesi@oracle.com
Sat Jul 12 09:39:26 GMT 2025


Hello people.

In this V5 the style/formatting issues have been fixed as suggested.
Sorry about the indentation nits, I know it is annoying to have to
remark such things while reviewing.  I have indent-tabs-mode set to
nil in my .emacs and just forgot to change it.  Now it shall all be
good.

Thank you for the promptly reviews.

Indu Bhagat (5):
  binutils: make read_cie aware of new augmentation char 'G'
  gas: aarch64: suppport CFI directive .cfi_mte_tagged_frame
  ld: aarch64: make EH Frame parsing aware of augmentation char 'G'
  ld/aarch64elf: add support for DT_AARCH64_MEMTAG_MODE dynamic tag
  ld/aarch64elf: add support for DT_AARCH64_MEMTAG_STACK dynamic tag

Jose E. Marchesi (3):
  binutils: generalize init_dwarf_regnames_by_* functions
  binutils: factorize handling of arch-specific DWARF augmentations
  bfd: fix recognition of arch-specific augmentations

 bfd/elf-eh-frame.c                            |  4 ++
 bfd/elfnn-aarch64.c                           | 20 +++++++-
 bfd/elfxx-aarch64.h                           | 29 ++++++++++-
 binutils/dwarf.c                              | 26 ++++++++--
 binutils/dwarf.h                              |  6 +--
 binutils/objdump.c                            |  4 +-
 binutils/readelf.c                            |  9 ++--
 gas/config/tc-aarch64.c                       |  9 ++++
 gas/config/tc-aarch64.h                       | 33 ++++++++++---
 gas/doc/c-aarch64.texi                        |  8 ++++
 gas/dw2gencfi.c                               |  4 +-
 gas/testsuite/gas/aarch64/mte_tagged_stack.d  | 47 ++++++++++++++++++
 gas/testsuite/gas/aarch64/mte_tagged_stack.s  | 24 ++++++++++
 include/elf/aarch64.h                         |  2 +
 ld/emultempl/aarch64elf.em                    | 48 ++++++++++++++++++-
 ld/ld.texi                                    | 15 ++++++
 ld/testsuite/ld-aarch64/aarch64-elf.exp       |  4 ++
 ld/testsuite/ld-aarch64/dt-memtag-mode.d      |  7 +++
 ld/testsuite/ld-aarch64/dt-memtag-stack.d     |  7 +++
 ld/testsuite/ld-aarch64/dt-memtag.s           |  7 +++
 .../ld-aarch64/mte-tagged-frame-bar.s         | 17 +++++++
 .../ld-aarch64/mte-tagged-frame-foo.s         | 16 +++++++
 ld/testsuite/ld-aarch64/mte-tagged-frame.d    | 35 ++++++++++++++
 23 files changed, 356 insertions(+), 25 deletions(-)
 create mode 100644 gas/testsuite/gas/aarch64/mte_tagged_stack.d
 create mode 100644 gas/testsuite/gas/aarch64/mte_tagged_stack.s
 create mode 100644 ld/testsuite/ld-aarch64/dt-memtag-mode.d
 create mode 100644 ld/testsuite/ld-aarch64/dt-memtag-stack.d
 create mode 100644 ld/testsuite/ld-aarch64/dt-memtag.s
 create mode 100644 ld/testsuite/ld-aarch64/mte-tagged-frame-bar.s
 create mode 100644 ld/testsuite/ld-aarch64/mte-tagged-frame-foo.s
 create mode 100644 ld/testsuite/ld-aarch64/mte-tagged-frame.d

-- 
2.30.2



More information about the Binutils mailing list