Landing: 471130b39c03
Project / Subsystem
binutils / binutils/x86
Date
2026-08-04
Author
H.J. Lu <hjl@sourceware.org>
Commit
471130b39c03623ec6d78ece377ff4da3f6bfe7b
Source
public_inbox
Perf win
No
Breaking
No
All attributes
- project
- binutils
- subsystem
- binutils/x86
- patch_id
- —
- commit_hash
- 471130b39c03623ec6d78ece377ff4da3f6bfe7b
- source_type
- public_inbox
- headline
- Validate GOT/PLT/TLS relocations for x86.
- tldr
- Binutils now checks for invalid GOT, PLT, and TLS relocations on x86 to prevent linker errors.
- author
- H.J. Lu <hjl@sourceware.org>
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • linker
- • x86
- • relocation
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-04T00:00:00.000Z
The binutils linker now performs more thorough checks for invalid GOT (Global Offset Table), PLT (Procedure Linkage Table), and TLS (Thread-Local Storage) relocations on x86 architectures. Specifically, it will now report errors for TLS, GOT, and PLT relocations in non-allocating sections, and for TLS relocations targeting non-thread-local symbols. These checks address issues reported in PR ld/34444 and PR ld/34448, enhancing linker robustness and error reporting.