[PATCH] D125624: [gold] Remove an external dependency to GNU binutils' header file
Rui Ueyama via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 1 19:18:02 PDT 2022
ruiu added a comment.
The motivation of doing this is to be able to build LLVMgold.so without binutils' source files and make it clear that LLVMgold.so does not include any GPL code.
The header file defines the public interface between linker plugins and compilers (and other tools such as `ar` which has to read symbol table of LTO object files). New structs or constants may be added to this header, but the existing ones will never be deleted or altered in such a way that that breaks compatibility. So, the declarations in this file aren't different from other structs and types that are defined the same as they are in GNU systems. We already have lots of such structs and types in llvm/include, no?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125624/new/
https://reviews.llvm.org/D125624
More information about the cfe-commits
mailing list