commit | 84e772fb935a8739786ba11d7b13bc94d012b91a | [log] [tgz] |
---|---|---|
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | Fri Jan 15 17:58:43 2021 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Jan 19 15:54:38 2021 -0800 |
tree | 3f734d96e46aeaca583e68f9810d1727a34e63fd | |
parent | 9c29695cd8aa0c07b089529646b9f9f0152dd00d [diff] |
[LLD][ELF][AArch64] Set _GLOBAL_OFFSET_TABLE_ at the start of .got The commit 18aa0be36ed9 changed the default GotBaseSymInGotPlt to true for AArch64. This is different than binutils, where _GLOBAL_OFFSET_TABLE_ points at the start or .got. It seems to not intefere with current relocations used by LLVM. However as indicated by PR#40357 [1] gcc generates R_AARCH64_LD64_GOTPAGE_LO15 for -pie (in fact it also generated the relocation for -fpic). This change is requires to correctly handle R_AARCH64_LD64_GOTPAGE_LO15 by lld from objects generated by gcc. [1] https://bugs.llvm.org/show_bug.cgi?id=40357 GitOrigin-RevId: 2f92386e721acd7badac06b67229537c4f0adfad
This directory and its subdirectories contain source code for the LLVM Linker, a modular cross platform linker which is built as part of the LLVM compiler infrastructure project.
lld is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt.
In order to make sure various developers can evaluate patches over the same tests, we create a collection of self contained programs.
It is hosted at https://s3-us-west-2.amazonaws.com/linker-tests/lld-speed-test.tar.xz
The current sha256 is 10eec685463d5a8bbf08d77f4ca96282161d396c65bd97dc99dbde644a31610f
.