diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2016-03-01 16:58:07 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2016-03-01 16:58:07 -0800 |
commit | ec215346b92fdaef5d8042b5545e16beb7ccc7d1 (patch) | |
tree | 97f47ce77b7a57cf9727a7e3bad1221211ed4477 /sysdeps/x86_64/setjmp.S | |
parent | 521266a819be5b33b224f2e8358175c30c79f1c2 (diff) | |
download | glibc-ec215346b92fdaef5d8042b5545e16beb7ccc7d1.tar.gz glibc-ec215346b92fdaef5d8042b5545e16beb7ccc7d1.tar.xz glibc-ec215346b92fdaef5d8042b5545e16beb7ccc7d1.zip |
Call x86-64 __mcount_internal/__sigjmp_save directly
Since __mcount_internal and __sigjmp_save are internal to x86-64 libc.so: 3532: 0000000000104530 289 FUNC LOCAL DEFAULT 13 __mcount_internal 3391: 0000000000034170 38 FUNC LOCAL DEFAULT 13 __sigjmp_save they can be called directly without PLT. * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call __mcount_internal directly. (C_LABEL(__fentry__)): Likewise. * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save directly.
Diffstat (limited to 'sysdeps/x86_64/setjmp.S')
-rw-r--r-- | sysdeps/x86_64/setjmp.S | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/x86_64/setjmp.S b/sysdeps/x86_64/setjmp.S index 3e93967c2f..e37c22378b 100644 --- a/sysdeps/x86_64/setjmp.S +++ b/sysdeps/x86_64/setjmp.S @@ -60,11 +60,7 @@ ENTRY (__sigsetjmp) retq #else /* Make a tail call to __sigjmp_save; it takes the same args. */ -# ifdef PIC - jmp C_SYMBOL_NAME (__sigjmp_save)@PLT -# else jmp __sigjmp_save -# endif #endif END (__sigsetjmp) hidden_def (__sigsetjmp) |