Re: [PATCH v2] ld: Align the PDB DBI source-info substream

Project / Subsystem

binutils / ld

Date

2026-09-27

Proposer

Oleg Tolmatcev <oleg.tolmatcev@gmail.com>

Source type

public_inbox

Consensus

Committed

Sentiment

—/10

Technical tradeoffs

  • • Ensures adherence to PDB format specifications.
  • • Minor increase in substream size due to padding, if necessary.

All attributes

project
binutils
subsystem
ld
patch_id
—
discussion_id
CACcXsZgsfTHQwsBoBp655jzVUpyXSx_0D_jsenvwgH6bRqvS1g@mail.gmail.com
source_type
public_inbox
title
Re: [PATCH v2] ld: Align the PDB DBI source-info substream
headline
ld: Align PDB DBI source-info substream and zero padding
tldr
A patch aligning the PDB DBI source-info substream size to a multiple of 4 and zeroing padding has been committed.
proposer
Oleg Tolmatcev <oleg.tolmatcev@gmail.com>
consensus
Committed
outcome
committed
sentiment_score
—
technical_tradeoffs
  • • Ensures adherence to PDB format specifications.
  • • Minor increase in substream size due to padding, if necessary.
series_id
CACcXsZgsfTHQwsBoBp655jzVUpyXSx_0D_jsenvwgH6bRqvS1g@mail.gmail.com
series_role
reply
series_parts
[]
tags
  • • linker
  • • pdb
  • • debugging
  • • windows
bugzilla_url
—
date
2026-09-27T00:00:00.000Z

Re: [PATCH v2] ld: Align the PDB DBI source-info substream

This discussion confirms the commitment of a patch that aligns the PDB DBI source-info substream size to a multiple of four bytes and ensures any padding bytes are zeroed. This change adheres to specifications from the Microsoft pdb-rs project. The author thanks Jan Beulich for committing the patch and subsequently requests the closure of a related Bugzilla issue (PR ld/34605).