From: GNU Libc Maintainers Date: Sat, 1 Jun 2024 21:16:35 +0000 (+0200) Subject: git-powerpc-longjmp X-Git-Tag: archive/raspbian/2.38-12+rpi1^2~77 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0dd5045ee5435bd1eb340aa8a6707fa14c132449;p=glibc.git git-powerpc-longjmp commit 41d8c3bc33bcae1ebb8077b0442caef4917f763a Author: Samuel Thibault 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") Gbp-Pq: Topic hurd-i386 Gbp-Pq: Name git-powerpc-longjmp.diff --- diff --git a/sysdeps/powerpc/longjmp.c b/sysdeps/powerpc/longjmp.c index 94addccf5..438a541b9 100644 --- a/sysdeps/powerpc/longjmp.c +++ b/sysdeps/powerpc/longjmp.c @@ -22,6 +22,9 @@ #include #include +#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)