bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/32546] ld tests failing with -std=gnu23 default


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/32546] ld tests failing with -std=gnu23 default
Date: Sun, 12 Jan 2025 08:46:18 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=32546

--- Comment #1 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=fd7728c8a4aa7aa5761ccb18879ea8d137958b06

commit fd7728c8a4aa7aa5761ccb18879ea8d137958b06
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Jan 12 15:14:38 2025 +0800

    ld: Update function prototypes for compilers defaulting to -std=gnu23

    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.

    Signed-off-by: H.J. Lu <hjl.tools@gmail.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]