Skip to content

Commit 5b93e3a

Browse files
LittleFox94sbc100
authored andcommitted
Add llvm-readobj and binutils symlinks to LLVM_TOOLCHAIN_TOOLS
This patch adds llvm-readobj and the binutils symlink for readelf to LLVM_TOOLCHAIN_TOOLS. Tvoid *thread, void *attr,hey are required by some (most?) autoconf-built libraries, adding these allows me to build newlib with the toolchain generated this way. Also opened an issue for that some days ago, see https://bugs.llvm.org/show_bug.cgi?id=50698 Reviewed By: sbc100 Differential Revision: https://reviews.llvm.org/D104957
1 parent 481084f commit 5b93e3a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/cmake/modules/AddLLVM.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1199,6 +1199,7 @@ if(NOT LLVM_TOOLCHAIN_TOOLS)
11991199
llvm-objcopy
12001200
llvm-objdump
12011201
llvm-rc
1202+
llvm-readobj
12021203
llvm-size
12031204
llvm-strings
12041205
llvm-strip
@@ -1213,6 +1214,7 @@ if(NOT LLVM_TOOLCHAIN_TOOLS)
12131214
nm
12141215
objcopy
12151216
objdump
1217+
readelf
12161218
size
12171219
strings
12181220
strip

0 commit comments

Comments
 (0)