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

Alan Modra amodra@gmail.com
Sat Jul 11 08:49:01 GMT 2026


On Sat, Jul 11, 2026 at 02:53:03AM +0200, Jan Dubiec wrote:
> This patch sets H8/300H as the default architecture for the H8 family. More
> info in the previous thread.

I'm about to commit your two patches squashed into one, with a similar
change in ld/configure.tgt for h8300-*-linux* as you made for
h8300-*-elf*.  Otherwise an h8300-linux ld fails lots of tests with
complaints about the input objects not matching the output.

After making that fix, I see the following changes in testsuite
results:

h8300-elf  +XPASS: readelf -r (RELR)
h8300-elf  +FAIL: FFxx1
h8300-linux-gnu  +XPASS: readelf -r (RELR)
h8300-linux-gnu  +FAIL: ld-elf/ehdr_start-missing
h8300-linux-gnu  +FAIL: ld-elf/ehdr_start-weak
h8300-linux-gnu  +XPASS: ld-elf/loadaddr1
h8300-linux-gnu  +XPASS: ld-elf/loadaddr2

-- 
Alan Modra


More information about the Binutils mailing list