From: Sam James Date: Wed, 14 May 2025 05:38:56 +0000 (+0100) Subject: ld: fix C23 issue in vers7 test X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6ebd38072de4a77a2d28f04a79b64ab570532e98;p=thirdparty%2Fbinutils-gdb.git ld: fix C23 issue in vers7 test This test is UNSUPPORTED on arm64 with GCC 15 (which defaults to -std=gnu23) because it now prototypes "no arguments". PR ld/32546 * ld-elfvers/vers7.c: Fix function definitions for C23. --- diff --git a/ld/testsuite/ld-elfvers/vers7.c b/ld/testsuite/ld-elfvers/vers7.c index 54316c92429..a4fb2543fcf 100644 --- a/ld/testsuite/ld-elfvers/vers7.c +++ b/ld/testsuite/ld-elfvers/vers7.c @@ -2,8 +2,8 @@ * Test program that goes with test7.so */ -extern int hide_a(); -extern int show_b(); +extern int hide_a(int e); +extern int show_b(int e); int main()