[PATCH] H8: Set H8/300H as the default architecture for H8 family

Project / Subsystem

binutils / h8

Date

2026-07-09

Proposer

Jan Dubiec <jdx@o2.pl>

Source type

public_inbox

Consensus

Proposed

Sentiment

9/10

Technical tradeoffs

  • Aligns binutils with GCC's default architecture, improving toolchain consistency.
  • Resolves test case failures caused by architecture mismatches.

All attributes

project
binutils
subsystem
h8
patch_id
discussion_id
20260709210449.744366-1-jdx@o2.pl
source_type
public_inbox
title
[PATCH] H8: Set H8/300H as the default architecture for H8 family
headline
H8: Set H8/300H as the default architecture for H8 family
tldr
Changes the default H8 architecture in binutils from H8/300 to H8/300H to match GCC's default.
proposer
Jan Dubiec <jdx@o2.pl>
consensus
Proposed
outcome
proposed
sentiment_score
9
technical_tradeoffs
  • Aligns binutils with GCC's default architecture, improving toolchain consistency.
  • Resolves test case failures caused by architecture mismatches.
series_id
series_role
standalone
series_parts
[]
tags
  • h8
  • default architecture
  • linker
  • assembler
  • gcc
bugzilla_url
date
2026-07-09T00:00:00.000Z

[PATCH] H8: Set H8/300H as the default architecture for H8 family

This patch updates binutils’ default architecture for the H8 family from H8/300 to H8/300H. This change aligns binutils with GCC, which removed support for H8/300 and now defaults to H8/300H. The discrepancy caused approximately 30 test cases to fail due to incompatible architectures between the compiler output and the linker/assembler defaults. The change affects bfd/cpu-h8300.c, gas/config/tc-h8300.c, and ld/configure.tgt.