aarch64: mingw: Auto-import implementation

Project / Subsystem

binutils / aarch64

Date

2026-07-31

Proposer

Evgeny Karpov <evgeny.karpov@arm.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

8/10

Technical tradeoffs

  • • Eliminates pseudo-relocations and runtime handling for improved performance and simpler code.
  • • Adds complexity to the linker's handling of dynamic relocations for AArch64 on Windows.

All attributes

project
binutils
subsystem
aarch64
patch_id
—
discussion_id
20260731144655.88354-1-evgeny.karpov@arm.com
source_type
public_inbox
title
aarch64: mingw: Auto-import implementation
headline
aarch64: mingw: Auto-import implementation
tldr
Implements auto-import for AArch64 on MinGW/Cygwin by avoiding pseudo-relocations.
proposer
Evgeny Karpov <evgeny.karpov@arm.com>
consensus
Proposed
outcome
proposed
sentiment_score
8
technical_tradeoffs
  • • Eliminates pseudo-relocations and runtime handling for improved performance and simpler code.
  • • Adds complexity to the linker's handling of dynamic relocations for AArch64 on Windows.
series_id
binutils:aarch64: mingw: auto-import implementation
series_role
cover
series_parts
[]
tags
  • • linker
  • • aarch64
  • • windows
  • • ABI
bugzilla_url
—
date
2026-07-31T00:00:00.000Z

aarch64: mingw: Auto-import implementation

This patch series introduces auto-import support for AArch64 on MinGW/Cygwin, specifically targeting 12/21/26 bit size relocations. It avoids the need for pseudo-relocations and runtime handling by leveraging dynamic relocations for adrp instructions with symbol offsets. This change aims to improve linker performance and compatibility with MinGW/Cygwin environments.