[PATCH] H8/300: gas: testsuite: Use the same architecture for gas and objdump in the FFxx1 test case.

Project / Subsystem

binutils / h8

Date

2026-09-10

Proposer

Jan Dubiec

Source type

public_inbox

Consensus

Proposed

Sentiment

10/10

Technical tradeoffs

  • • Ensures test suite accuracy by correctly specifying the target architecture for disassembly.
  • • Minor change that improves reliability of testing for specific architectures.

All attributes

project
binutils
subsystem
h8
patch_id
—
discussion_id
20260910115420.494711-1-jdx@o2.pl
source_type
public_inbox
title
[PATCH] H8/300: gas: testsuite: Use the same architecture for gas and objdump in the FFxx1 test case.
headline
H8/300: gas: testsuite: Use the same architecture for gas and objdump in the FFxx1 test case.
tldr
Fixes H8/300 test case by ensuring objdump uses the correct architecture.
proposer
Jan Dubiec
consensus
Proposed
outcome
proposed
sentiment_score
10
technical_tradeoffs
  • • Ensures test suite accuracy by correctly specifying the target architecture for disassembly.
  • • Minor change that improves reliability of testing for specific architectures.
series_id
—
series_role
standalone
series_parts
[]
tags
  • • H8/300
  • • gas
  • • objdump
  • • testsuite
  • • architecture
bugzilla_url
—
date
2026-09-10T00:00:00.000Z

[PATCH] H8/300: gas: testsuite: Use the same architecture for gas and objdump in the FFxx1 test case.

This patch corrects a failing test case for the H8/300 architecture in the gas assembler’s test suite. The FFxx1 test fails because gas assembles code for H8/300, but objdump defaults to disassembling it as H8/300H code, leading to mismatched output. The fix involves explicitly telling objdump to use the H8/300 architecture, ensuring consistent interpretation and passing the test.