diff options
author | Andreas Schwab <schwab@suse.de> | 2023-07-12 11:29:34 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2023-07-12 14:38:13 +0200 |
commit | ca230f5833d699a35778f83b3ab646ba37f6f66c (patch) | |
tree | 37ebf2affabc59dee27623cb25d643b1f283738d /sysdeps/i386/mempcpy_chk.S | |
parent | 0e1324e655f3ba9fd3f8ad24678b93b35eee2618 (diff) | |
download | glibc-ca230f5833d699a35778f83b3ab646ba37f6f66c.zip glibc-ca230f5833d699a35778f83b3ab646ba37f6f66c.tar.gz glibc-ca230f5833d699a35778f83b3ab646ba37f6f66c.tar.bz2 |
i386: make debug wrappers compatible with static PIE
Static PIE requires the use of PLT relocation.
Diffstat (limited to 'sysdeps/i386/mempcpy_chk.S')
-rw-r--r-- | sysdeps/i386/mempcpy_chk.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/i386/mempcpy_chk.S b/sysdeps/i386/mempcpy_chk.S index 276eab1..f58ca96 100644 --- a/sysdeps/i386/mempcpy_chk.S +++ b/sysdeps/i386/mempcpy_chk.S @@ -27,8 +27,8 @@ ENTRY (__mempcpy_chk) movl 12(%esp), %eax cmpl %eax, 16(%esp) - jb __chk_fail - jmp __mempcpy + jb HIDDEN_JUMPTARGET (__chk_fail) + jmp HIDDEN_JUMPTARGET (__mempcpy) END (__mempcpy_chk) libc_hidden_builtin_def (__mempcpy_chk) #endif |