Landing: 87027fd2372d
Project / Subsystem
binutils / gas/sframe
Date
2026-08-12
Author
Jens Remus <jremus@sourceware.org>
Commit
87027fd2372d79a3f44605efdeba8a4d7c41093a
Source
public_inbox
Perf win
No
Breaking
No
All attributes
- project
- binutils
- subsystem
- gas/sframe
- patch_id
- —
- commit_hash
- 87027fd2372d79a3f44605efdeba8a4d7c41093a
- source_type
- public_inbox
- headline
- gas: Allow non-SP/FP CFA base register with flexible FDE
- tldr
- gas: Fixes .cfi_def_cfa_offset to correctly handle non-SP/FP CFA base registers for flexible FDEs.
- author
- Jens Remus <jremus@sourceware.org>
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • gas
- • sframe
- • debugging
- • aarch64
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-12T00:00:00.000Z
gas now correctly handles the .cfi_def_cfa_offset directive when using a non-stack pointer (SP) or frame pointer (FP) as the Call Frame Analysis (CFA) base register. This change relaxes a previous restriction, enabling the use of .cfi_def_cfa_offset with flexible FDEs on targets that support this feature. The logic has also been simplified to prioritize error condition checks.