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

Project / Subsystem

binutils / ld

Date

2026-09-18

Proposer

Jan Beulich <jbeulich@suse.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

—/10

Technical tradeoffs

  • • Ensures proper formatting of PDB debug information.
  • • Requires adding a reference to specification for the alignment rule.

All attributes

project
binutils
subsystem
ld
patch_id
—
discussion_id
32d4f425-958c-49af-b728-9f9f478a0af8@suse.com
source_type
public_inbox
title
Re: [PATCH] ld: Align the PDB DBI source-info substream
headline
ld: Align the PDB DBI source-info substream
tldr
Align PDB DBI source-info substream to 4 bytes and fix integer type in alignment calculation.
proposer
Jan Beulich <jbeulich@suse.com>
consensus
Proposed
outcome
proposed
sentiment_score
—
technical_tradeoffs
  • • Ensures proper formatting of PDB debug information.
  • • Requires adding a reference to specification for the alignment rule.
series_id
—
series_role
standalone
series_parts
[]
tags
  • • linker
  • • debugging
  • • PDB
  • • alignment
bugzilla_url
—
date
2026-09-18T00:00:00.000Z

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

Jan Beulich requests a reference for the 4-byte alignment requirement of PDB DBI substreams and suggests code refinements. The proposed changes aim to align the source-info substream and correct the integer type used in the alignment calculation, ensuring proper formatting for debugging information.