diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-08-03 21:16:41 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-08-03 22:46:48 +0200 |
commit | 04bf7d2d8a79bf8d06ca811518688ccda190b376 (patch) | |
tree | bda91b114bcd43681c51b711ead69942067408e9 /setjmp | |
parent | cbf4aa422c82b895ab56ef5e9acda37947ad4184 (diff) | |
download | glibc-04bf7d2d8a79bf8d06ca811518688ccda190b376.tar.gz glibc-04bf7d2d8a79bf8d06ca811518688ccda190b376.tar.xz glibc-04bf7d2d8a79bf8d06ca811518688ccda190b376.zip |
chk: Add and fix hidden builtin definitions for *_chk
Otherwise on gnu-i686 there are unwanted PLT entries in libc.so when fortification is enabled. Tested for i686-gnu, x86_64-gnu, i686-linux-gnu and x86_64-linux-gnu
Diffstat (limited to 'setjmp')
-rw-r--r-- | setjmp/longjmp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/setjmp/longjmp.c b/setjmp/longjmp.c index 69f540ea22..24795ecbb5 100644 --- a/setjmp/longjmp.c +++ b/setjmp/longjmp.c @@ -19,6 +19,8 @@ #include <setjmpP.h> #include <signal.h> +#undef longjmp +#undef siglongjmp /* Set the signal mask to the one specified in ENV, and jump to the position specified in ENV, causing the setjmp |