Since we have loaded address of PREINIT_FUNCTION into %rax, we can
avoid extra branch to PLT slot.
[BZ #19745]
* sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
with *%rax in call.
+2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
+
+ [BZ #19745]
+ * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
+ with *%rax in call.
+
2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
[BZ #19745]
movq PREINIT_FUNCTION@GOTPCREL(%rip), %rax
testq %rax, %rax
je .Lno_weak_fn
- call PREINIT_FUNCTION@PLT
+ call *%rax
.Lno_weak_fn:
#else
call PREINIT_FUNCTION