Landing: 283d3198beda

Project / Subsystem

binutils / binutils/ld

Date

2026-08-05

Author

"H.J. Lu" <hjl@sourceware.org>

Commit

283d3198beda5110a8417fd09b336a34bbd2705c

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
binutils/ld
patch_id
—
commit_hash
283d3198beda5110a8417fd09b336a34bbd2705c
source_type
public_inbox
headline
Improve relocation error reporting for x86
tldr
Linker now provides more specific error messages for out-of-range relocations on x86.
author
"H.J. Lu" <hjl@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • binutils
  • • ld
  • • x86
  • • relocation
  • • error reporting
discussion_id_link
—
bugzilla_pr
—
date
2026-08-05T00:00:00.000Z

The GNU linker has been updated to provide more detailed error messages when a relocation is out of the section’s range on x86 architectures. Previously, these errors were generic. This change introduces a new function to report the specific relocation type and target, making it easier to diagnose issues, as demonstrated in PR ld/34448.