Re: [PATCH 3/3] ld/testsuite: Add comprehensive PE COFF weak external tests

Project / Subsystem

binutils / ld/testsuite

Date

2026-06-30

Proposer

Alan Modra <amodra@gmail.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

/10

Technical tradeoffs

  • Increased test coverage for a specific linker feature.
  • Ensuring tests correctly target the intended linker version.
  • Addressing potential pre-existing issues in object file parsing.

All attributes

project
binutils
subsystem
ld/testsuite
patch_id
discussion_id
akRWucmJ5Ih535lU@squeak.grove.modra.org
source_type
public_inbox
title
Re: [PATCH 3/3] ld/testsuite: Add comprehensive PE COFF weak external tests
headline
ld/testsuite: Add comprehensive PE COFF weak external tests
tldr
Tests for PE COFF weak externals have been applied upstream after fixing a build configuration issue.
proposer
Alan Modra <amodra@gmail.com>
consensus
Proposed
outcome
committed
sentiment_score
technical_tradeoffs
  • Increased test coverage for a specific linker feature.
  • Ensuring tests correctly target the intended linker version.
  • Addressing potential pre-existing issues in object file parsing.
series_id
binutils:ld/testsuite: add comprehensive pe coff weak external tests
series_role
reply
series_parts
[]
tags
  • linker
  • PE COFF
  • weak symbols
  • test suite
  • binutils
bugzilla_url
date
2026-06-30T00:00:00.000Z

Re: [PATCH 3/3] ld/testsuite: Add comprehensive PE COFF weak external tests

This discussion covers the addition of comprehensive tests for PE COFF weak external symbols in the GNU linker’s test suite. Initial test failures were reported, but later diagnosed as stemming from an incorrect GCC configuration that bypassed the new linker. After resolving this configuration issue, the patch series was committed upstream. Potential pre-existing buffer overflow issues in handling fuzzed object files were also noted.