[llvm] 5b93e3a - Add llvm-readobj and binutils symlinks to LLVM_TOOLCHAIN_TOOLS

Sam Clegg via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 22 16:36:10 PDT 2021


Author: Mara Sophie Grosch
Date: 2021-07-22T16:33:51-07:00
New Revision: 5b93e3a75fc48d2deb8dcf1f1d48b55fde1248e3

URL: https://github.com/llvm/llvm-project/commit/5b93e3a75fc48d2deb8dcf1f1d48b55fde1248e3
DIFF: https://github.com/llvm/llvm-project/commit/5b93e3a75fc48d2deb8dcf1f1d48b55fde1248e3.diff

LOG: 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

Added: 
    

Modified: 
    llvm/cmake/modules/AddLLVM.cmake

Removed: 
    


################################################################################
diff  --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake
index ce16a5da4c19b..492f8440f0cb6 100644
--- a/llvm/cmake/modules/AddLLVM.cmake
+++ b/llvm/cmake/modules/AddLLVM.cmake
@@ -1199,6 +1199,7 @@ if(NOT LLVM_TOOLCHAIN_TOOLS)
     llvm-objcopy
     llvm-objdump
     llvm-rc
+    llvm-readobj
     llvm-size
     llvm-strings
     llvm-strip
@@ -1213,6 +1214,7 @@ if(NOT LLVM_TOOLCHAIN_TOOLS)
     nm
     objcopy
     objdump
+    readelf
     size
     strings
     strip


        


More information about the llvm-commits mailing list