From 6fce7183301b27b5980b36e93aad15359ec2a0ec073546c112c80256ba56a2c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Li=C5=A1ka?= Date: Sun, 9 Jun 2024 10:43:56 +0000 Subject: [PATCH] - Update to version 2.32.0 * mold supports a feature called Identical Code Folding, or ICF. As the name suggests, ICF finds identical functions and merges them to reduce the size of an output file. This is especially effective for template-heavy C++ programs since templates tend to be instantiated to the same machine code for different types. For example, std::vector is likely to be instantiated to the same code as std::vector. We've made an improvement to our ICF algorithm so that the --icf feature is ~50% faster than the previous version. (fa8e95a) * The -z rodynamic option is now supported for compatibility with LLVM lld. With the option, mold places the .dynamic section into a read-only segment. (9a233df) * Previously, mold behaved differently compared to other linkers if both -z defs and --undefined=ignore-in-object-files were given (#1270). Now, they override each other so that the mold's behavior is compatible with others. (8cd85aa) * Previously, --dependency-file mistakenly recorded response files as dependencies (#1258). This bug has been fixed. (4281f45) * There was a bug that mold corrupted debug info section contents when the --relocatable option was given (#1265). This issue has been fixed. (08b0a16) * [PPC64] The R_PPC64_TPREL16_LO_DS relocation type is supported. (a8cd2e8) * [ARM64, PPC64, LoongArch] mold 2.31.0 or earlier may have failed with an assertion failure when creating a large output file (#1224). This issue has been resolved. (c7c8583) OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=120 --- mold-2.31.0.tar.gz | 3 --- mold-2.32.0.tar.gz | 3 +++ mold.changes | 25 +++++++++++++++++++++++++ mold.spec | 2 +- 4 files changed, 29 insertions(+), 4 deletions(-) delete mode 100644 mold-2.31.0.tar.gz create mode 100644 mold-2.32.0.tar.gz diff --git a/mold-2.31.0.tar.gz b/mold-2.31.0.tar.gz deleted file mode 100644 index 3ace387..0000000 --- a/mold-2.31.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3dc3af83a5d22a4b29971bfad17261851d426961c665480e2ca294e5c74aa1e5 -size 10031469 diff --git a/mold-2.32.0.tar.gz b/mold-2.32.0.tar.gz new file mode 100644 index 0000000..5bb4711 --- /dev/null +++ b/mold-2.32.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b7e4146ea0f52be9adae8b417399f3676a041e65b55e3f25f088120d30a320b +size 10005686 diff --git a/mold.changes b/mold.changes index 3e77ab6..af1a6af 100644 --- a/mold.changes +++ b/mold.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sun Jun 9 10:41:50 UTC 2024 - Martin Liška + +- Update to version 2.32.0 + * mold supports a feature called Identical Code Folding, or ICF. As the name + suggests, ICF finds identical functions and merges them to reduce the size of an + output file. This is especially effective for template-heavy C++ programs since + templates tend to be instantiated to the same machine code for different types. + For example, std::vector is likely to be instantiated to the same code as + std::vector. We've made an improvement to our ICF algorithm so that + the --icf feature is ~50% faster than the previous version. (fa8e95a) + * The -z rodynamic option is now supported for compatibility with LLVM lld. With + the option, mold places the .dynamic section into a read-only segment. (9a233df) + * Previously, mold behaved differently compared to other linkers if both -z defs + and --undefined=ignore-in-object-files were given (#1270). Now, they override + each other so that the mold's behavior is compatible with others. (8cd85aa) + * Previously, --dependency-file mistakenly recorded response files as dependencies + (#1258). This bug has been fixed. (4281f45) + * There was a bug that mold corrupted debug info section contents when the + --relocatable option was given (#1265). This issue has been fixed. (08b0a16) + * [PPC64] The R_PPC64_TPREL16_LO_DS relocation type is supported. (a8cd2e8) + * [ARM64, PPC64, LoongArch] mold 2.31.0 or earlier may have failed with an + assertion failure when creating a large output file (#1224). This issue has been + resolved. (c7c8583) + ------------------------------------------------------------------- Fri May 3 05:46:37 UTC 2024 - Martin Liška diff --git a/mold.spec b/mold.spec index 1fea6a5..82e3f51 100644 --- a/mold.spec +++ b/mold.spec @@ -17,7 +17,7 @@ Name: mold -Version: 2.31.0 +Version: 2.32.0 Release: 0 Summary: A Modern Linker (mold) License: MIT