[PATCH v3 0/1] aarch64: mingw: Prevent relocation types from being overwritten

Project / Subsystem

binutils / aarch64

Date

2026-07-22

Proposer

Evgeny Karpov <evgeny.karpov@arm.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

6/10

Technical tradeoffs

  • Using a magic value (-1) for r_vaddr may be fragile if that value becomes valid.
  • The change aims to provide a cleaner solution than overwriting relocation types, but requires discussion on its robustness.

All attributes

project
binutils
subsystem
aarch64
patch_id
discussion_id
20260722110400.62027-1-evgeny.karpov@arm.com
source_type
public_inbox
title
[PATCH v3 0/1] aarch64: mingw: Prevent relocation types from being overwritten
headline
aarch64: mingw: Prevent relocation types from being overwritten
tldr
Binutils patch changes how relocation types are handled for aarch64 targets to avoid overwriting and breaking other relocation logic.
proposer
Evgeny Karpov <evgeny.karpov@arm.com>
consensus
Proposed
outcome
proposed
sentiment_score
6
technical_tradeoffs
  • Using a magic value (-1) for r_vaddr may be fragile if that value becomes valid.
  • The change aims to provide a cleaner solution than overwriting relocation types, but requires discussion on its robustness.
series_id
binutils:aarch64: mingw: prevent relocation types from being overwritten
series_role
cover
series_parts
[]
tags
  • binutils
  • aarch64
  • mingw
  • linker
  • relocations
bugzilla_url
date
2026-07-22T00:00:00.000Z

[PATCH v3 0/1] aarch64: mingw: Prevent relocation types from being overwritten

This patch series for binutils addresses an issue with relocation types on aarch64 targets using the mingw toolchain. The original approach of setting relocation types to IMAGE_REL_ARM64_ABSOLUTE to bypass certain processing has been found to interfere with other relocation logic. The proposed solution replaces this with a less invasive method of marking the relocation for skipping, aiming to preserve the initial relocation type.