Re: [PATCH v2] ld: Unify the directory separator on Windows.

Project / Subsystem

binutils / ld

Date

2026-08-14

Proposer

Jan Beulich <jbeulich@suse.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

—/10

Technical tradeoffs

  • • Simplifies path handling within the linker on Windows.
  • • Ensures consistency with common path conventions.

All attributes

project
binutils
subsystem
ld
patch_id
—
discussion_id
8f4fa844-ad98-4056-a9e1-c00e9cf2477b@suse.com
source_type
public_inbox
title
Re: [PATCH v2] ld: Unify the directory separator on Windows.
headline
ld: Unify the directory separator on Windows.
tldr
Standardizes on forward slashes for directory separators in Windows paths handled by the linker.
proposer
Jan Beulich <jbeulich@suse.com>
consensus
Proposed
outcome
proposed
sentiment_score
—
technical_tradeoffs
  • • Simplifies path handling within the linker on Windows.
  • • Ensures consistency with common path conventions.
series_id
—
series_role
standalone
series_parts
[]
tags
  • • ld
  • • linker
  • • Windows
  • • path handling
  • • consistency
bugzilla_url
—
date
2026-08-14T00:00:00.000Z

Re: [PATCH v2] ld: Unify the directory separator on Windows.

This patch, a spin-off from a previous discussion, unifies the directory separator character used by the ld (linker) on Windows systems to forward slashes (’/’). The author notes that Windows has good support for forward slashes in paths and that the linker has historically used them. This change aims to simplify path handling and avoid potential inconsistencies by eliminating the use of backslashes (”).