Skip to content

Commit

Permalink
packages:mold: add version 2.32.0
Browse files Browse the repository at this point in the history
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 (crosstool-ng#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 (crosstool-ng#1258). This bug has been fixed. (4281f45)
- There was a bug that mold corrupted debug info section contents when
  the --relocatable option was given (crosstool-ng#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 (crosstool-ng#1224). This
  issue has been resolved. (c7c8583)

Signed-off-by: Hans-Christian Noren Egtvedt <[email protected]>
  • Loading branch information
egtvedt authored and cpackham committed Jun 17, 2024
1 parent 067d774 commit a87bf7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/mold/2.32.0/chksum
Original file line number Diff line number Diff line change
@@ -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
Empty file.

0 comments on commit a87bf7f

Please sign in to comment.