Re: [PATCH] H8: Honor USER_LABEL_PREFIX set by ld

Jeff Johnston <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <CAOox84vriL0mONukATCR3u+US4o+ZJTWFToWCGhNpOAJKvY8AA@mail.gmail.com>
Patch applied.  Thanks.

-- Jeff J.

On Fri, Aug 21, 2026 at 8:14 PM Jan Dubiec <[email protected]> wrote:

> This patch complements the following binutils patch:
> https://sourceware.org/pipermail/binutils/2026-August/150974.html.
>
> Signed-off-by: Jan Dubiec <[email protected]>
> ---
>  newlib/libc/sys/h8300hms/crt0.S | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/newlib/libc/sys/h8300hms/crt0.S
> b/newlib/libc/sys/h8300hms/crt0.S
> index 020b957d6..767d1efaa 100644
> --- a/newlib/libc/sys/h8300hms/crt0.S
> +++ b/newlib/libc/sys/h8300hms/crt0.S
> @@ -11,8 +11,8 @@
>  #ifdef __H8300__
>
>         .section .text
> -       .global _start
> -_start:
> +       .global __start
> +__start:
>         mov.w   #_stack,sp
>         mov.w   #_edata,r0
>         mov.w   #_end,r2
> @@ -43,8 +43,8 @@ _stack:       .space  2
>  #if defined (__H8300H__) || defined (__H8300S__) || defined (__H8300SX__)
>
>         .section .text
> -       .global _start
> -_start:
> +       .global __start
> +__start:
>  #ifdef __NORMAL_MODE__
>         mov.w   #_stack,sp
>         mov.w   #_edata,r0
> --
> 2.55.0
>
>
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.