about summary refs log tree commit diff
path: root/sysdeps/powerpc
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-08-04 10:01:11 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-08-04 10:03:59 +0200
commit41d8c3bc33bcae1ebb8077b0442caef4917f763a (patch)
tree26f1e7ce47c84a27ed41cac26f66b07a71eec953 /sysdeps/powerpc
parentc579293f67f4717054e31b7015418b24b81ca217 (diff)
downloadglibc-41d8c3bc33bcae1ebb8077b0442caef4917f763a.tar.gz
glibc-41d8c3bc33bcae1ebb8077b0442caef4917f763a.tar.xz
glibc-41d8c3bc33bcae1ebb8077b0442caef4917f763a.zip
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")
Diffstat (limited to 'sysdeps/powerpc')
-rw-r--r--sysdeps/powerpc/longjmp.c3
1 files changed, 3 insertions, 0 deletions
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)