1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00

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
This commit is contained in:
Samuel Thibault
2023-08-03 21:16:41 +02:00
parent cbf4aa422c
commit 04bf7d2d8a
6 changed files with 15 additions and 0 deletions

View File

@@ -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