[PATCH] D104957: Add llvm-readobj and binutils symlinks to LLVM_TOOLCHAIN_TOOLS

Mara Sophie Grosch via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 25 16:17:50 PDT 2021


LittleFox94 created this revision.
LittleFox94 added a reviewer: sbc100.
Herald added a subscriber: mgorny.
LittleFox94 requested review of this revision.
Herald added a project: LLVM.

This patch adds llvm-readobj and the binutils symlinks readelf and readobj to LLVM_TOOLCHAIN_TOOLS.

They 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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D104957

Files:
  llvm/cmake/modules/AddLLVM.cmake


Index: llvm/cmake/modules/AddLLVM.cmake
===================================================================
--- llvm/cmake/modules/AddLLVM.cmake
+++ llvm/cmake/modules/AddLLVM.cmake
@@ -1196,6 +1196,7 @@
     llvm-objcopy
     llvm-objdump
     llvm-rc
+    llvm-readobj
     llvm-size
     llvm-strings
     llvm-strip
@@ -1210,6 +1211,8 @@
     nm
     objcopy
     objdump
+    readobj
+    readelf
     size
     strings
     strip


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104957.354622.patch
Type: text/x-patch
Size: 436 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210625/fe8987c1/attachment.bin>


More information about the llvm-commits mailing list