[PATCH 1/2] ld-pe: Refactor code dealing with -exclude-symbols

Project / Subsystem

binutils / ld-pe

Date

2026-09-30

Proposer

Luca Bacci <luca.bacci@outlook.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

—/10

Technical tradeoffs

  • • Introduces a refactoring that adds complexity for future extensibility.

All attributes

project
binutils
subsystem
ld-pe
patch_id
—
discussion_id
AS4PR02MB79027501F30490ABF58445F6838B2@AS4PR02MB7902.eurprd02.prod.outlook.com
source_type
public_inbox
title
[PATCH 1/2] ld-pe: Refactor code dealing with -exclude-symbols
headline
ld-pe: Refactor code dealing with -exclude-symbols
tldr
Refactors PE linker code for handling excluded symbols to be more generic for future use.
proposer
Luca Bacci <luca.bacci@outlook.com>
consensus
Proposed
outcome
proposed
sentiment_score
—
technical_tradeoffs
  • • Introduces a refactoring that adds complexity for future extensibility.
series_id
binutils:ld-pe: refactor code dealing with -exclude-symbols
series_role
reply
series_parts
[]
tags
  • • linker
  • • pe
  • • refactoring
  • • symbols
bugzilla_url
—
date
2026-09-30T00:00:00.000Z

[PATCH 1/2] ld-pe: Refactor code dealing with -exclude-symbols

This patch refactors the ld-pe code that handles the -exclude-symbols directive. The changes aim to make the symbol exclusion mechanism more generic, preparing it for use in related functionalities that will be implemented in subsequent commits. The core change involves restructuring data structures to accommodate a more general symbol list handling.