From 23f802141333e64fed1767819330299f5bcaf0a3 Mon Sep 17 00:00:00 2001 From: Owen Rafferty Date: Fri, 10 Jan 2025 22:42:58 -0600 Subject: [PATCH] mold: 2.36.0 --- extra/mold/checksums | 4 ++-- extra/mold/patches/amd64_only.patch | 18 +++++++++--------- extra/mold/sources | 2 +- extra/mold/version | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/extra/mold/checksums b/extra/mold/checksums index 6238a72b..e3f53ffe 100644 --- a/extra/mold/checksums +++ b/extra/mold/checksums @@ -1,2 +1,2 @@ -abfd7e56c1ead43f513284c75e278f843213b3dc1e8ec1ab9952d8f796ccde7d30 -fd4aec2a4e57e7c055b20e4b224b5f77c5269962b4152c8030aed3e70d2802ea33 +601501cbde77d4088537af3f92feab036ece3fdf790ba572625c2a19a0d5ac3f43 +8b48a0bbcb1d1505f022ef384e9c592257dec03a9be9a5302bd7f0ba9478c5f494 diff --git a/extra/mold/patches/amd64_only.patch b/extra/mold/patches/amd64_only.patch index 3df87ff1..0cc244be 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 aff8fc6..9790e28 100644 +index c7a6130..74096b4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -310,14 +310,9 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR}) @@ -34,10 +34,10 @@ index aff8fc6..9790e28 100644 src/config.cc src/elf.cc diff --git a/src/main.cc b/src/main.cc -index 4674b1c..b1ca4cb 100644 +index 13a77ca..feb9e85 100644 --- a/src/main.cc +++ b/src/main.cc -@@ -290,11 +290,6 @@ int mold_main(int argc, char **argv) { +@@ -286,11 +286,6 @@ int mold_main(int argc, char **argv) { if (ctx.arg.emulation.empty()) ctx.arg.emulation = detect_machine_type(ctx, file_args); @@ -50,10 +50,10 @@ index 4674b1c..b1ca4cb 100644 install_signal_handler(); diff --git a/src/mold.h b/src/mold.h -index ce74a26..079c0a8 100644 +index 71add0e..f58c858 100644 --- a/src/mold.h +++ b/src/mold.h -@@ -1603,7 +1603,6 @@ std::vector parse_nonpositional_args(Context &ctx); +@@ -1641,7 +1641,6 @@ std::vector parse_nonpositional_args(Context &ctx); // passes.cc // @@ -62,10 +62,10 @@ index ce74a26..079c0a8 100644 template void apply_exclude_libs(Context &); template void create_synthetic_sections(Context &); diff --git a/src/passes.cc b/src/passes.cc -index aeac428..078f43a 100644 +index 5928682..31835b9 100644 --- a/src/passes.cc +++ b/src/passes.cc -@@ -14,52 +14,6 @@ +@@ -13,52 +13,6 @@ namespace mold { @@ -112,13 +112,13 @@ index aeac428..078f43a 100644 - return mold_main(argc, argv); - if (target == LOONGARCH64::name) - return mold_main(argc, argv); -- unreachable(); +- abort(); -} - template void apply_exclude_libs(Context &ctx) { Timer t(ctx, "apply_exclude_libs"); -@@ -3222,7 +3176,6 @@ void show_stats(Context &ctx) { +@@ -3290,7 +3244,6 @@ void show_stats(Context &ctx) { using E = MOLD_TARGET; diff --git a/extra/mold/sources b/extra/mold/sources index 50dc63bd..b01599ca 100644 --- a/extra/mold/sources +++ b/extra/mold/sources @@ -1,2 +1,2 @@ -https://github.com/rui314/mold/archive/v2.35.1.tar.gz +https://github.com/rui314/mold/archive/v2.36.0.tar.gz patches/amd64_only.patch diff --git a/extra/mold/version b/extra/mold/version index 00a2b0cc..c3e6319d 100644 --- a/extra/mold/version +++ b/extra/mold/version @@ -1 +1 @@ -2.35.1 1 +2.36.0 1