[PATCH] ld: Update function prototypes for compilers defaulting to -std=gnu23
H.J. Lu
hjl.tools@gmail.com
Sun Jan 12 08:45:10 GMT 2025
On Sun, Jan 12, 2025 at 4:35 PM Sam James <sam@gentoo.org> wrote:
>
> "H.J. Lu" <hjl.tools@gmail.com> writes:
>
> > Since GCC 15 defaults to -std=gnu23, update function prototypes in linker
> > tests for compilers defaulting to -std=gnu23.
> >
> > PR ld/32546
> > * ld-shared/main.c (shlib_checkfunptr1): Update prototype for
> > compilers defaulting to -std=gnu23.
> > (shlib_checkfunptr2): Likewise.
> > * ld-shared/sh1.c (shlib_checkfunptr1): Likewise.
> > (shlib_checkfunptr2): Likewise.
> > * ld-srec/sr1.c (fn1): Likewise.
> > (fn2): Likewise.
> > * ld-srec/sr2.c (fn1): Likewise.
> > (fn2): Likewise.
> > * ld-vsb/main.c (shlib_checkfunptr1): Likewise.
> > (shlib_checkfunptr2): Likewise.
> > * ld-vsb/sh1.c (hlib_checkfunptr1): Likewise.
> > (shlib_checkfunptr2): Likewise.
>
> Thanks! LGTM.
>
> === ld Summary ===
>
> -# of expected passes 3015
> -# of expected failures 27
> +# of expected passes 3040
> +# of expected failures 60
> # of untested testcases 1
> -# of unsupported tests 74
> +# of unsupported tests 28
> ./ld-new 2.43.50.20250112
I am checking it in.
--
H.J.
More information about the Binutils
mailing list