Re: [PATCH] H8/300: Start-up code cleanup for H8/300H and newer

Jeff Johnston <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <CAOox84vcS9k1hhftnWAZ8HvVbRNE97ykkXOjT2qDiUFN3f0B2w@mail.gmail.com>
Patch applied.

-- Jeff J.

On Sat, Jul 19, 2025 at 5:56 AM Jan Dubiec <[email protected]> wrote:

> This patch has been started as an attempt to fix assembler message about
> missing stack section attributes:
>    CPPAS    libc/sys/h8300hms/crt0.o
> ../../../combosrc/newlib/libc/sys/h8300hms/crt0.S: Assembler messages:
> ../../../combosrc/newlib/libc/sys/h8300hms/crt0.S:64: Warning: new
> section '.stack' defined without attributes - this might cause problems
>
> In the process I have noticed that H8/300H, H8/300S and H8SX code does
> not support normal mode. So the patch does a few things: declares stack
> section in a proper way, merges H8/300H and H8/300S/SX parts of code
> into one and adds support for normal mode.
>
> 2025-07-19  Jan Dubiec  <[email protected]>
>
> newlib/ChangeLog:
>
>      * libc/sys/h8300hms/crt0.S: General cleanup: declare stack section
>      in a proper way, merge H8/300H and H8/300S/SX parts of code into
>      one, add support for normal mode.
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.