packages:mold: add version 2.32.0

Add newly released mold version 2.32.0 from upstream
https://github.com/rui314/mold

New features
- 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<int> is likely to be instantiated to the same code as
  std::vector<unsigned>. 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)

Bug fixes and compatibility improvements
- 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)

Signed-off-by: Hans-Christian Noren Egtvedt <egtvedt@samfundet.no>
This commit is contained in:
Hans-Christian Noren Egtvedt 2024-06-09 17:22:26 +02:00 committed by Chris Packham
parent 067d7743b6
commit a87bf7f6b0
2 changed files with 4 additions and 0 deletions

4
packages/mold/2.32.0/chksum vendored Normal file
View File

@ -0,0 +1,4 @@
md5 v2.32.0.tar.gz a6d222dacd30f0c11546a2194f737280
sha1 v2.32.0.tar.gz 3a0f23d8ea365df0f783205f1a58b9a69b653a9e
sha256 v2.32.0.tar.gz 4b7e4146ea0f52be9adae8b417399f3676a041e65b55e3f25f088120d30a320b
sha512 v2.32.0.tar.gz 66cd95ec65b31749ead7604f921eebd9f8e7faad82f6aa2cd7a179e4f4cb2bd78584ec5a8de000fbd4c37bbbfeb878e40a4e93ca909d1be557d73117e4b38f4b

0
packages/mold/2.32.0/version.desc vendored Normal file
View File