[PATCH v2 0/2] aarch64: Fix scanning of GNU properties for

Yury Khrustalev yury.khrustalev@arm.com
Tue Apr 1 15:06:12 GMT 2025


Fixes PR32818 [1] and adds relevant tests.
Regression tested on AArch64 and no regressions found. OK for trunk?

base commit: 387e49def64

[1] PR32818 https://sourceware.org/bugzilla/show_bug.cgi?id=32818

Changes in v2:
 - Added relevant tests.
Link to v1: https://inbox.sourceware.org/binutils/20250327170928.826438-1-yury.khrustalev@arm.com/

---

Yury Khrustalev (2):
  ld: aarch64: Fix scanning of GNU properties for AARCH64_FEATURE_1_AND
  aarch64: ld: add tests for combination of bti and memory-seal

 bfd/elfxx-aarch64.c                           |  3 +-
 .../ld-aarch64/protections/bti-plt-1-b.d      |  2 +-
 .../ld-aarch64/protections/bti-plt-1-d.d      | 32 +++++++++++++++++++
 .../ld-aarch64/protections/bti-plt-2-d.d      | 14 ++++++++
 4 files changed, 48 insertions(+), 3 deletions(-)
 create mode 100644 ld/testsuite/ld-aarch64/protections/bti-plt-1-d.d
 create mode 100644 ld/testsuite/ld-aarch64/protections/bti-plt-2-d.d

-- 
2.39.5



More information about the Binutils mailing list