1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

__fortify_fail: Remove internal_function attribute

__fortify_fail is called across DSO boundaries, so it should not
use a non-standard calling convention.
This commit is contained in:
Florian Weimer
2017-08-13 21:10:44 +02:00
parent a6bd872286
commit 1b0bfc6946
5 changed files with 18 additions and 5 deletions

View File

@ -33,9 +33,11 @@ longjmp_msg:
cfi_register(%ebx,%ecx); \
LOAD_PIC_REG (bx); \
leal longjmp_msg@GOTOFF(%ebx), %eax; \
movl %eax, (%esp); \
call HIDDEN_JUMPTARGET(__fortify_fail)
#else
# define CALL_FAIL movl $longjmp_msg, %eax; \
movl %eax, (%esp); \
call HIDDEN_JUMPTARGET(__fortify_fail)
#endif