* [hurd,commited] powerpc longjmp: Fix build after chk hidden builtin fix
@ 2023-08-04 8:04 Samuel Thibault
0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2023-08-04 8:04 UTC (permalink / raw)
To: libc-alpha; +Cc: Samuel Thibault, commit-hurd
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")
---
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)
--
2.40.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-08-04 8:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-04 8:04 [hurd,commited] powerpc longjmp: Fix build after chk hidden builtin fix Samuel Thibault
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).