public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Samuel Thibault <sthibaul@sourceware.org>
To: glibc-cvs@sourceware.org
Subject: [glibc] powerpc longjmp: Fix build after chk hidden builtin fix
Date: Fri, 4 Aug 2023 08:04:35 +0000 (GMT) [thread overview]
Message-ID: <20230804080435.3CBA238582A4@sourceware.org> (raw)
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=41d8c3bc33bcae1ebb8077b0442caef4917f763a
commit 41d8c3bc33bcae1ebb8077b0442caef4917f763a
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Fri Aug 4 10:01:11 2023 +0200
powerpc longjmp: Fix build after chk hidden builtin fix
04bf7d2d8a79 ("chk: Add and fix hidden builtin definitions for *_chk")
added an #undef for longjmp and siglongjmp to compensate for the
definition in include/setjmp.h, but missed doing so for the powerpc
version too.
Fixes: 04bf7d2d8a79 ("chk: Add and fix hidden builtin definitions for
*_chk")
Diff:
---
sysdeps/powerpc/longjmp.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sysdeps/powerpc/longjmp.c b/sysdeps/powerpc/longjmp.c
index 94addccf52..438a541b96 100644
--- a/sysdeps/powerpc/longjmp.c
+++ b/sysdeps/powerpc/longjmp.c
@@ -22,6 +22,9 @@
#include <setjmp.h>
#include <signal.h>
+#undef longjmp
+#undef siglongjmp
+
extern void __vmx__longjmp (__jmp_buf __env, int __val)
__attribute__ ((noreturn));
extern void __vmx__libc_longjmp (sigjmp_buf env, int val)
reply other threads:[~2023-08-04 8:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230804080435.3CBA238582A4@sourceware.org \
--to=sthibaul@sourceware.org \
--cc=glibc-cvs@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).