diff --git a/extra/mold/checksums b/extra/mold/checksums index 16c87849..e7c669fb 100644 --- a/extra/mold/checksums +++ b/extra/mold/checksums @@ -1,2 +1,2 @@ -128d278267f63ca3dbf65609ae2be1e92906eac91bf87ad4cb879d508d17fd609b -9c3bb4e747caafb5f526b26ee1e27d617cb7e6af8a2bd83c9c36539e6950aa5723 +b080e19444ed5c0641e377985733e47131b5941c14ef41b2087a4861eb4418d41e +a869c47cfbf85cf3cf3c7b054b60bba6496ab3c91f5a40abe5ca291e2b76081081 diff --git a/extra/mold/patches/elf_amd64_only.patch b/extra/mold/patches/elf_amd64_only.patch index bc6e1e1c..b5a6836a 100644 --- a/extra/mold/patches/elf_amd64_only.patch +++ b/extra/mold/patches/elf_amd64_only.patch @@ -1,19 +1,19 @@ -From 9010533464e75d9ccfb822ff1871f0ad4a7d1250 Mon Sep 17 00:00:00 2001 -Message-Id: <9010533464e75d9ccfb822ff1871f0ad4a7d1250.1673057881.git.owen@owenrafferty.com> +From 22d5ea11e8bafa0de4baf847e7a364795a7580a2 Mon Sep 17 00:00:00 2001 +Message-Id: <22d5ea11e8bafa0de4baf847e7a364795a7580a2.1674261930.git.owen@owenrafferty.com> From: Owen Rafferty Date: Mon, 26 Dec 2022 20:20:01 -0600 Subject: [PATCH] only build support for elf amd64 --- - CMakeLists.txt | 15 +-------------- - elf/main.cc | 5 ----- + CMakeLists.txt | 15 +-------------- + elf/elf-main.cc | 5 ----- 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt -index 07e168c2..360e3ea6 100644 +index 54c4c86c..11ca21d5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -275,8 +275,7 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR}) +@@ -280,8 +280,7 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR}) # compiler instances. This is hacky but greatly reduces compile time # on a multicore machine. list(APPEND MOLD_ELF_TARGETS @@ -23,10 +23,10 @@ index 07e168c2..360e3ea6 100644 list(APPEND MOLD_ELF_TEMPLATE_FILES elf/cmdline.cc -@@ -337,18 +336,6 @@ endif() - target_sources(mold PRIVATE - compress.cc - demangle.cc +@@ -351,18 +350,6 @@ target_sources(mold PRIVATE + common/perf.cc + common/tar.cc + common/uuid.cc - elf/arch-alpha.cc - elf/arch-arm32.cc - elf/arch-arm64.cc @@ -41,12 +41,12 @@ index 07e168c2..360e3ea6 100644 - elf/arch-sparc64.cc elf/arch-x86-64.cc elf/elf.cc - filepath.cc -diff --git a/elf/main.cc b/elf/main.cc -index efa116a2..58a4b3f7 100644 ---- a/elf/main.cc -+++ b/elf/main.cc -@@ -394,11 +394,6 @@ int elf_main(int argc, char **argv) { + git-hash.cc +diff --git a/elf/elf-main.cc b/elf/elf-main.cc +index 06db1e14..1c920fcd 100644 +--- a/elf/elf-main.cc ++++ b/elf/elf-main.cc +@@ -390,11 +390,6 @@ int elf_main(int argc, char **argv) { if (ctx.arg.emulation.empty()) ctx.arg.emulation = deduce_machine_type(ctx, file_args); @@ -59,5 +59,5 @@ index efa116a2..58a4b3f7 100644 install_signal_handler(); -- -2.39.0 +2.39.1 diff --git a/extra/mold/version b/extra/mold/version index 67fe23c8..ac83b38b 100644 --- a/extra/mold/version +++ b/extra/mold/version @@ -1 +1 @@ -1.9.0 1 +1.10.0 1