commit | 92a2b8dc5fec54bb7d55b63d7718ede7a99de152 | [log] [tgz] |
---|---|---|
author | Fangrui Song <i@maskray.me> | Thu Feb 04 09:17:47 2021 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Feb 05 01:30:12 2021 -0800 |
tree | 8356b0580ad95e10d7a4d6b4d88ff9a951b5fc22 | |
parent | b7c833a889744ea1c4ec71d03db5b1becb33fbb5 [diff] |
[ELF] Allow R_386_GOTOFF from .debug_info In GCC emitted .debug_info sections, R_386_GOTOFF may be used to relocate DW_AT_GNU_call_site_value values (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98946). R_386_GOTOFF (`S + A - GOT`) is one of the `isStaticLinkTimeConstant` relocation type which is not PC-relative, so it can be used from non-SHF_ALLOC sections. We current allow new relocation types as needs come. The diagnostic has caught some bugs in the past. Differential Revision: https://reviews.llvm.org/D95994 GitOrigin-RevId: b3165a70ae83b46dc145f335dfa9690ece361e92
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
.