Landing: 2b0b52883eb8

Project / Subsystem

binutils / binutils/bfd

Date

2026-07-25

Author

Alan Modra <amodra@sourceware.org>

Commit

2b0b52883eb8560691be00815a49a87e1d5870f2

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
binutils/bfd
patch_id
commit_hash
2b0b52883eb8560691be00815a49a87e1d5870f2
source_type
public_inbox
headline
Add r_ignore flag to COFF internal relocations
tldr
Introduces an `r_ignore` flag to the COFF internal relocation structure to allow backends to mark relocations as handled, preventing generic processing.
author
Alan Modra <amodra@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • binutils
  • bfd
  • coff
  • relocation
  • refactor
discussion_id_link
bugzilla_pr
date
2026-07-25T00:00:00.000Z

A new r_ignore bitfield has been added to the struct internal_reloc in COFF files, allowing backend functions to signal that they have already processed a relocation. This change also reorganizes related fields and modifies various backend and generic COFF functions to initialize the new flag and respect it during relocation processing. The generic relocation handling now skips entries marked with r_ignore.