H8: Set H8/300H as the default architecture for the H8 family
Sets H8/300H as the default architecture for the H8 family in binutils.
This patch changes the default architecture for the H8 family of processors within the binutils toolchain to H8/300H. The change affects binutils’ BFD, gas, and ld components, updating their respective configuration and documentation files to reflect the new default. The aim is to streamline the build process for users targeting H8/300H by making it the out-of-the-box setting.
- proposer
Proposes setting H8/300H as the default architecture for the H8 family across BFD, gas, and ld, updating configuration and NEWS files accordingly. This is presented as a follow-up to a previous discussion.
“This patch sets H8/300H as the default architecture for the H8 family. More info in the previous thread. bfd/ChangeLog: * cpu-h8300.c: Set H8/300H as the default architecture for the H8 family. gas/ChangeLog: * config/tc-h8300.c: Set H8/300H as the default architecture for the H8 family. * NEWS: Added info about the above change. ld/ChangeLog: * configure.tgt: Set H8/300H as the defau…”
In Details
This patch series updates the binutils toolchain for the Renesas H8 microcontroller family. Specifically, it changes the default architecture from H8/300 to H8/300H. This impacts how the assembler, linker, and BFD library configure themselves when targeting H8 platforms. The H8/300H variant offers more advanced features, including a 32-bit address space in its default advanced mode, compared to the H8/300's 16-bit default. The change also necessitates updates to test suites.
- H8/300H
- A specific microcontroller variant in the Renesas H8 family, characterized by its 32-bit internal architecture and addressing capabilities, often used in embedded systems.
- H8/300
- An earlier and simpler variant of the Renesas H8 microcontroller family, typically operating with a 16-bit address space in its default configuration.
- binutils
- A collection of programming tools, including the assembler (as), linker (ld), and binary file descriptor library (BFD), used for handling object files and executable code.
- BFD (Binary File Descriptor)
- A library within binutils that provides a consistent interface for reading, writing, and manipulating various object file formats (e.g., ELF, COFF).
- gas
- The GNU Assembler, part of binutils. It translates assembly language into machine code.
- ld
- The GNU linker, part of binutils. It combines object files and libraries into an executable or library.
- configure.tgt
- A configuration file used by the linker to define target-specific settings and architectures.
- NEWS file
- A file in many projects that summarizes user-visible changes and new features in each release.