Landing: 53a7f1375a96
Project / Subsystem
binutils / alpha
Date
2026-05-14
Author
Alan Modra <amodra@sourceware.org>
Commit
53a7f1375a961e97a195682234b2aff84d6c3744
Source
public_inbox
Perf win
No
Breaking
No
All attributes
- project
- binutils
- subsystem
- alpha
- patch_id
- —
- commit_hash
- 53a7f1375a961e97a195682234b2aff84d6c3744
- source_type
- public_inbox
- headline
- Alpha: Handle discarded GOT section.
- tldr
- Fixes a bug in the Alpha ELF backend where the linker would attempt to write out a discarded GOT section, leading to errors.
- author
- Alan Modra <amodra@sourceware.org>
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • bfd
- • alpha
- • elf
- • linker
- • got
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-14T00:00:00.000Z
The Alpha ELF backend in BFD could attempt to write out a GOT section that had been discarded by the linker due to linker script changes or other reasons. This commit fixes this issue by checking if the GOT section has been discarded before attempting to write it out in elf64_alpha_final_link, avoiding potential errors during the final linking stage.