[PATCH] D125624: [gold] Remove an external dependency to GNU binutils' header file
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat May 14 23:06:46 PDT 2022
ruiu created this revision.
ruiu added a reviewer: MaskRay.
Herald added subscribers: ormris, StephenFan, steven_wu, hiraditya, mgorny.
Herald added a project: All.
ruiu requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This patch adds a header file that defines the same data types and function declarations as the binutils' "plugin-api.h" so that we can build the gold LTO plugin without binutils source code.
Since we no longer directly include a binutil's file, the documentation section that says the reuslting LLVMgold.so has to be licensed under GPLv3 has been removed.
https://reviews.llvm.org/D125624
Files:
clang/CMakeLists.txt
clang/docs/ThinLTO.rst
compiler-rt/test/cfi/CMakeLists.txt
compiler-rt/test/safestack/CMakeLists.txt
llvm/cmake/config-ix.cmake
llvm/docs/GoldPlugin.rst
llvm/include/llvm/LTO/Plugin.h
llvm/tools/gold/CMakeLists.txt
llvm/tools/gold/gold-plugin.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125624.429516.patch
Type: text/x-patch
Size: 13467 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220515/8ba1d9dc/attachment.bin>
More information about the llvm-commits
mailing list