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

Jan Dubiec jdx@o2.pl
Fri Jul 10 09:47:50 GMT 2026


On 10.07.2026 09:04, Jan Beulich wrote:
[...]> Imo NEW entries should be added for both gas/ and ld/.
Do you mean something like this:

  gas/NEWS | 5 +++++
  ld/NEWS  | 5 +++++
  2 files changed, 10 insertions(+)

diff --git a/gas/NEWS b/gas/NEWS
index 38928ab83ff..5f752169f86 100644
--- a/gas/NEWS
+++ b/gas/NEWS
@@ -24,6 +24,11 @@
  * Add support for RISC-V vendor extensions:
    SpacemiT: xsmtvdot v1.0, xsmtvdotii v1.0.

+* Change the default architecture for H8 family from H8/300 to H8/300H.
+  Support for H8/300 was removed from gcc in 2020, making H8/300H the
+  default architecture. The mismatch between the default architectures
+  used by gcc and gas/ld caused some ld test cases to fail.
+
  Changes in 2.46:

  * Add support for AMD Zen6 processor.
diff --git a/ld/NEWS b/ld/NEWS
index 2de87ae227c..32dc75f9ace 100644
--- a/ld/NEWS
+++ b/ld/NEWS
@@ -15,6 +15,11 @@ Changes in 2.47:
    not only XCOFF.  On by default and controlled with --no-link-mapless and
    --link-mapless options, also for XCOFF.

+* Change the default architecture for H8 family from H8/300 to H8/300H.
+  Support for H8/300 was removed from gcc in 2020, making H8/300H the
+  default architecture. The mismatch between the default architectures
+  used by gcc and gas/ld caused some ld test cases to fail.
+
  Changes in 2.46:

  * Add --gnu-tls-tag/--no-gnu-tls-tag options to i386 ELF linker to add


/J.D.


More information about the Binutils mailing list