From cffc1394b4593dbbecbc85d1e4695ebc93a2e443 Mon Sep 17 00:00:00 2001 From: Owen Rafferty Date: Mon, 21 Aug 2023 18:26:58 -0500 Subject: [PATCH] mold: 2.1.0 --- extra/mold/checksums | 4 ++-- extra/mold/patches/amd64_only.patch | 13 ++++++------- extra/mold/sources | 2 +- extra/mold/version | 2 +- 4 files changed, 10 insertions(+), 11 deletions(-) diff --git a/extra/mold/checksums b/extra/mold/checksums index 36bf19c2..f194507a 100644 --- a/extra/mold/checksums +++ b/extra/mold/checksums @@ -1,2 +1,2 @@ -79e610e83a42c19a4de6bba835c9d4f8ec3911300ec5ca16451d84e5fdffadf0af -d3d9257eea8a094b8c80d2fd59ec08811cdff5757a9c6ae6e38a1bde82eef4d5b4 +1ec3a467e110affec952be7823a93de2c56700107da4179dd0ee401754914fb68e +432ad04c4a6e1f98fcaf04fb8fdf9d50e0dbd6fabfb0d0a85e9965dccbcd0f8a4d diff --git a/extra/mold/patches/amd64_only.patch b/extra/mold/patches/amd64_only.patch index 89f5a9aa..6a57f5a2 100644 --- a/extra/mold/patches/amd64_only.patch +++ b/extra/mold/patches/amd64_only.patch @@ -1,5 +1,5 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt -index ceda7b2..1a5b3fb 100644 +index 1c4f1f9..78cc7c0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -288,8 +288,7 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR}) @@ -7,12 +7,12 @@ index ceda7b2..1a5b3fb 100644 # on a multicore machine. list(APPEND MOLD_ELF_TARGETS - X86_64 I386 ARM64 ARM32 RV32LE RV32BE RV64LE RV64BE PPC32 PPC64V1 PPC64V2 -- S390X SPARC64 M68K SH4 ALPHA MIPS64LE MIPS64BE) +- S390X SPARC64 M68K SH4 ALPHA MIPS64LE MIPS64BE LOONGARCH32 LOONGARCH64) + X86_64) list(APPEND MOLD_ELF_TEMPLATE_FILES - elf/cmdline.cc -@@ -360,19 +359,6 @@ target_sources(mold PRIVATE + elf/arch-loongarch.cc +@@ -362,18 +361,6 @@ target_sources(mold PRIVATE common/perf.cc common/tar.cc common/uuid.cc @@ -25,7 +25,6 @@ index ceda7b2..1a5b3fb 100644 - elf/arch-ppc32.cc - elf/arch-ppc64v1.cc - elf/arch-ppc64v2.cc -- elf/arch-riscv.cc - elf/arch-s390x.cc - elf/arch-sh4.cc - elf/arch-sparc64.cc @@ -33,10 +32,10 @@ index ceda7b2..1a5b3fb 100644 elf/elf.cc git-hash.cc diff --git a/elf/main.cc b/elf/main.cc -index 803069e..b68a8fe 100644 +index 90ceed9..2452cbd 100644 --- a/elf/main.cc +++ b/elf/main.cc -@@ -402,11 +402,6 @@ int elf_main(int argc, char **argv) { +@@ -408,11 +408,6 @@ int elf_main(int argc, char **argv) { if (ctx.arg.emulation.empty()) ctx.arg.emulation = deduce_machine_type(ctx, file_args); diff --git a/extra/mold/sources b/extra/mold/sources index 448a5d27..b2038539 100644 --- a/extra/mold/sources +++ b/extra/mold/sources @@ -1,2 +1,2 @@ -https://github.com/rui314/mold/archive/v2.0.0.tar.gz +https://github.com/rui314/mold/archive/v2.1.0.tar.gz patches/amd64_only.patch diff --git a/extra/mold/version b/extra/mold/version index b31a7f39..ef862396 100644 --- a/extra/mold/version +++ b/extra/mold/version @@ -1 +1 @@ -2.0.0 1 +2.1.0 1