Landing: 554cfd2cbecb
Project / Subsystem
gcc / gcc/alpha
Date
2026-08-29
Author
Matt Turner
Commit
554cfd2cbecb799d7b3a1f5de05487c5ffa60259
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/alpha
- patch_id
- —
- commit_hash
- 554cfd2cbecb799d7b3a1f5de05487c5ffa60259
- source_type
- github
- headline
- Alpha: Enable stack protector support
- tldr
- Alpha architecture now supports -fstack-protector by correctly configuring stack growth direction.
- author
- Matt Turner
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- gcc:alpha: enable -fstack-protector
- series_parts
- []
- tags
-
- • alpha
- • security
- • gcc
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-29T00:00:00.000Z
This commit enables the stack protector feature for the Alpha architecture by correctly defining FRAME_GROWS_DOWNWARD. Previously, this was left commented out, causing -fstack-protector to be rejected. The fix ensures the stack grows downwards, which is necessary for the canary to properly guard buffers. This change is compatible with existing glibc support and does not alter default code generation.