]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
powerpc longjmp: Fix build after chk hidden builtin fix
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Fri, 4 Aug 2023 08:01:11 +0000 (10:01 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Fri, 4 Aug 2023 08:03:59 +0000 (10:03 +0200)
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

index 94addccf5219fc2bdb8e9bee0e7a1512080cfe96..438a541b961f41dc68e53752b3244057fefc2a65 100644 (file)
@@ -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)