Replace @PLT with @GOTPCREL(%rip) in call
commit21683b5a7d9b8460e120e061f66a6ad84fa47e98
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 4 Mar 2016 23:28:59 +0000 (4 15:28 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 5 Mar 2016 00:15:41 +0000 (4 16:15 -0800)
tree213f6c1b6e68e9e4ff61eb76055925b0759476dd
parent684ce7e0fc57830ff7c5909e5794f571631ee83f
Replace @PLT with @GOTPCREL(%rip) in call

Since __libc_start_main is called very early, lazy binding isn't relevant
here.  Use indirect branch via GOT to avoid extra branch to PLT slot.

[BZ #19745]
* sysdeps/x86_64/start.S (_start): __libc_start_main@PLT
with *__libc_start_main@GOTPCREL(%rip) in call.
ChangeLog
sysdeps/x86_64/start.S