diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-08-13 21:10:44 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-08-13 21:10:44 +0200 |
commit | 1b0bfc6946b460bcebe9db19a015f2cac711f7f5 (patch) | |
tree | d762ca42d4287dcd595e69bbad767b15677edcee /sysdeps/mach | |
parent | a6bd872286b981b08577218c00e1ea693bad6095 (diff) | |
download | glibc-1b0bfc6946b460bcebe9db19a015f2cac711f7f5.tar glibc-1b0bfc6946b460bcebe9db19a015f2cac711f7f5.tar.gz glibc-1b0bfc6946b460bcebe9db19a015f2cac711f7f5.tar.bz2 glibc-1b0bfc6946b460bcebe9db19a015f2cac711f7f5.zip |
__fortify_fail: Remove internal_function attribute
__fortify_fail is called across DSO boundaries, so it should not
use a non-standard calling convention.
Diffstat (limited to 'sysdeps/mach')
-rw-r--r-- | sysdeps/mach/hurd/i386/____longjmp_chk.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/i386/____longjmp_chk.S b/sysdeps/mach/hurd/i386/____longjmp_chk.S index ac28c94e13..e7c988254f 100644 --- a/sysdeps/mach/hurd/i386/____longjmp_chk.S +++ b/sysdeps/mach/hurd/i386/____longjmp_chk.S @@ -36,9 +36,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 |