Landing: 8c51b32041fd
Project / Subsystem
gcc / libgcc
Date
2026-07-30
Author
Muhammad Kamran
Commit
8c51b32041fdffa67d304aebb39259d1017e5857
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- libgcc
- patch_id
- —
- commit_hash
- 8c51b32041fdffa67d304aebb39259d1017e5857
- source_type
- github
- headline
- aarch64: Avoid .previous after build attributes
- tldr
- Corrected assembly directive usage in libgcc for aarch64 to prevent incorrect section switching after build attributes.
- author
- Muhammad Kamran
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • libgcc
- • aarch64
- • assembly
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-30T00:00:00.000Z
On aarch64, the .aeabi_subsection directive was incorrectly used, causing the subsequent .previous directive to switch to the wrong ELF section. This commit removes .previous from the build-attribute marking path, ensuring it only applies where intended in the GNU_PROPERTY path, thus fixing a potential assembly issue.