[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/19542] Performance penalty when linking chromium executable
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug ld/19542] Performance penalty when linking chromium executable |
Date: |
Tue, 02 Feb 2016 13:29:47 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19542
--- Comment #10 from H.J. Lu <hjl.tools at gmail dot com> ---
It is caused by
commit 59cab532835904f368b0aa99267afba5fda5ded2
Author: H.J. Lu <address@hidden>
Date: Wed Jun 24 10:13:55 2015 -0700
Don't convert R_X86_64_GOTPCREL if it will overflow
When converting "mov address@hidden(%rip), %reg" to "lea foo(%rip), %reg"
with R_X86_64_PC32 relocation, it may overflow if the target section
is more than 2GB away. This patch estimates distance between mov
instruction and the target section. We convert R_X86_64_GOTPCREL to
R_X86_64_PC32 only if their distance is less than 2GB.
PR ld/18591
* elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Don't convert
R_X86_64_GOTPCREL to R_X86_64_PC32 if it will cause relocation
overflow.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/19542] Performance penalty when linking chromium executable, amodra at gmail dot com, 2016/02/01
- [Bug ld/19542] Performance penalty when linking chromium executable, hjl.tools at gmail dot com, 2016/02/02
- [Bug ld/19542] Performance penalty when linking chromium executable,
hjl.tools at gmail dot com <=
- [Bug ld/19542] Performance penalty when linking chromium executable, cvs-commit at gcc dot gnu.org, 2016/02/02
- [Bug ld/19542] Performance penalty when linking chromium executable, hjl.tools at gmail dot com, 2016/02/02
- [Bug ld/19542] Performance penalty when linking chromium executable, vapier at gentoo dot org, 2016/02/02
- [Bug ld/19542] Performance penalty when linking chromium executable, hjl.tools at gmail dot com, 2016/02/02
- [Bug ld/19542] Performance penalty when linking chromium executable, markus at trippelsdorf dot de, 2016/02/02
- [Bug ld/19542] Performance penalty when linking chromium executable, cvs-commit at gcc dot gnu.org, 2016/02/02
- [Bug ld/19542] Performance penalty when linking chromium executable, hjl.tools at gmail dot com, 2016/02/02