[PATCH] ld: testsuite: Fix test cases in ld-unique/unique.exp.

Project / Subsystem

binutils / ld/testsuite

Date

2026-08-16

Proposer

Jan Dubiec <jdx@o2.pl>

Source type

public_inbox

Consensus

Proposed

Sentiment

—/10

Technical tradeoffs

  • • Fixing tests for a specific architecture (H8) might not guarantee correctness on other architectures.
  • • Modifying test cases could potentially mask underlying issues if not carefully implemented.

All attributes

project
binutils
subsystem
ld/testsuite
patch_id
—
discussion_id
20260816152724.709450-1-jdx@o2.pl
source_type
public_inbox
title
[PATCH] ld: testsuite: Fix test cases in ld-unique/unique.exp.
headline
ld: Fix test cases in ld-unique/unique.exp
tldr
Patch to fix failing test cases in ld-unique/unique.exp on the H8 target due to assembler diagnostics and undefined references.
proposer
Jan Dubiec <jdx@o2.pl>
consensus
Proposed
outcome
proposed
sentiment_score
—
technical_tradeoffs
  • • Fixing tests for a specific architecture (H8) might not guarantee correctness on other architectures.
  • • Modifying test cases could potentially mask underlying issues if not carefully implemented.
series_id
—
series_role
standalone
series_parts
[]
tags
  • • ld
  • • testsuite
  • • H8
  • • linker
  • • patch
bugzilla_url
—
date
2026-08-16T00:00:00.000Z

[PATCH] ld: testsuite: Fix test cases in ld-unique/unique.exp.

Jan Dubiec submits a patch to fix failing test cases in ld-unique/unique.exp on the H8 architecture. The failures are attributed to unexpected assembler diagnostics and an undefined reference to main where _main was expected by the C startup code. The patch aims to resolve these issues for the H8 target.