commit | 7a011aedf076f8bf874b5739736b3ad3e7a8d30a | [log] [tgz] |
---|---|---|
author | Fangrui Song <i@maskray.me> | Tue Mar 09 09:59:47 2021 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Mar 18 00:34:02 2021 -0700 |
tree | 272d22a0bae47a595f50f31aee2e4d3029dcb25a | |
parent | a3ef63da69665fe11276937bc1f9241a30898e55 [diff] |
[MC] Change ELFOSABI_NONE to ELFOSABI_GNU for SHF_GNU_RETAIN GNU ld does not give SHF_GNU_RETAIN GC root semantics for ELFOSABI_NONE. (https://sourceware.org/pipermail/binutils/2021-March/115581.html) This allows GNU ld to interpret SHF_GNU_RETAIN and avoids a gold quirk https://sourceware.org/bugzilla/show_bug.cgi?id=27490 Because ELFObjectWriter is in an anonymous namespace, I have to place `markGnuAbi` in the parent MCObjectWriter. Differential Revision: https://reviews.llvm.org/D97976 GitOrigin-RevId: 42e3f97a9dd3a439f63a733c4ee909cba6b77e49
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
.