Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Always indirect branch to __libc_start_main via GOT | H.J. Lu | 2016-06-09 | 1 | -9/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Since __libc_start_main in libc.so is called very early, lazy binding isn't relevant. Always call __libc_start_main with indirect branch via GOT to avoid extra branch to PLT slot. In case of static executable, ld in binutils 2.26 or above can convert indirect branch into direct branch: 0000000000400a80 <_start>: 400a80: 31 ed xor %ebp,%ebp 400a82: 49 89 d1 mov %rdx,%r9 400a85: 5e pop %rsi 400a86: 48 89 e2 mov %rsp,%rdx 400a89: 48 83 e4 f0 and $0xfffffffffffffff0,%rsp 400a8d: 50 push %rax 400a8e: 54 push %rsp 400a8f: 49 c7 c0 20 1b 40 00 mov $0x401b20,%r8 400a96: 48 c7 c1 90 1a 40 00 mov $0x401a90,%rcx 400a9d: 48 c7 c7 c0 03 40 00 mov $0x4003c0,%rdi 400aa4: 67 e8 96 09 00 00 addr32 callq 401440 <__libc_start_main> 400aaa: f4 hlt * sysdeps/x86_64/start.S (_start): Always indirect branch to __libc_start_main via GOT. | ||||
* | Replace @PLT with @GOTPCREL(%rip) in call | H.J. Lu | 2016-03-04 | 1 | -2/+4 |
| | | | | | | | | | 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. | ||||
* | Update copyright dates with scripts/update-copyrights. | Joseph Myers | 2016-01-04 | 1 | -1/+1 |
| | |||||
* | Update copyright dates with scripts/update-copyrights. | Joseph Myers | 2015-01-02 | 1 | -1/+1 |
| | |||||
* | sysdeps/x86_64/start.S doesn't have a .size elf directive for _start. | Brooks Moses | 2014-11-24 | 1 | -6/+2 |
| | | | | | | | | This tripped up some analysis I was doing. This patch is the straightforward fix. I see no regressions on a "make check" using ENTRY and END. | ||||
* | Update copyright notices with scripts/update-copyrights | Allan McRae | 2014-01-01 | 1 | -1/+1 |
| | |||||
* | Remove bounded-pointers handling from x86_64 assembly sources. | Joseph Myers | 2013-02-17 | 1 | -5/+4 |
| | |||||
* | Update copyright notices with scripts/update-copyrights. | Joseph Myers | 2013-01-02 | 1 | -1/+1 |
| | |||||
* | Update sysdeps/x86_64/start.S for x32 | H.J. Lu | 2012-05-14 | 1 | -15/+22 |
| | |||||
* | Move x86_64/elf files to x86_64 | Andreas Jaeger | 2012-03-19 | 1 | -0/+128 |