Landing: 53902b30c66a

Project / Subsystem

binutils / binutils/gas,binutils/bfd

Date

2026-07-29

Author

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

Commit

53902b30c66ad5edc95db93e8d5c1cb3c29d684d

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
binutils/gas,binutils/bfd
patch_id
—
commit_hash
53902b30c66ad5edc95db93e8d5c1cb3c29d684d
source_type
public_inbox
headline
x86: Support PLT32 relocation for AT&T syntax directives
tldr
Binutils now supports LLVM-style AT&T syntax for generating PC-relative PLT relocations.
author
"H.J. Lu" <hjl@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • x86
  • • relocation
  • • gas
  • • bfd
  • • plt
discussion_id_link
—
bugzilla_pr
—
date
2026-07-29T00:00:00.000Z

Binutils has gained support for generating PLT32 relocations from AT&T assembly syntax directives, mirroring a feature previously supported by LLVM. This change enables the use of constructs like “.long foo@PLT - .L4”, allowing the assembler and linker to correctly resolve PC32 (Program Counter Relative 32-bit) relocations against function symbols by using the PLT. This improves compatibility and optimization options for x86 and x86-64 targets.