From 179fe2d5df7d4c5acc4cbaaf4b4007af73807025 Mon Sep 17 00:00:00 2001 From: Hans-Christian Noren Egtvedt Date: Wed, 23 Apr 2025 10:03:24 +0200 Subject: packages:mold: add version 2.37.1 Add newly released mold version 2.37.1 from upstream https://github.com/rui314/mold 2.37.1 - Fixed a bug where mold incorrectly reported a spurious "duplicate symbol" error when LTO was enabled. (c95476d) 2.37.0 New Features - If an undefined weak symbol is not resolved to a defined symbol at link time, the linker can choose whether to promote the symbol to a dynamic symbol or not. If promoted, the weak symbol has another chance to be resolved to a defined symbol at load time. Otherwise, it is resolved to address 0 at link time. Previously, mold always resolved remaining undefined weak symbols in an executable to address 0 at link time. Now, you can instruct the linker to promote them to dynamic symbols using -z dynamic-undefined-weak. (1822e47) Bug Fixes and Compatibility Improvements - [x86-64] The relocation types R_X86_64_CODE_4_{GOTPCRELX,GOTTPOFF,GOTPC32_TLSDESC} and R_X86_64_CODE_6_GOTTPOFF are now supported. These relocations are for Intel APX (Advanced Performance Extensions), which extends the number of general-purpose registers from 16 to 32. (83152ac, a17202d) - [ARM32] The R_ARM_THM_JUMP8 relocation type is now supported. (1fbbcec) - [ARM32] Previously, the .ARM.exidx section (which contains exception-handling records) was not subject to garbage collection, even when --gc-sections was specified. This prevented all functions from being garbage-collected, as they were referenced by exception-handling records. Now, mold correctly garbage-collects unused .ARM.exidx records and functions. (16f7599) - Previously, --compress-debug-sections was ignored if --separate-debug-file was specified. Now, mold compresses debug information sections even when they are in a separate debug file. (bab7dd1) Signed-off-by: Hans-Christian Noren Egtvedt --- packages/mold/2.37.1/chksum | 4 ++++ packages/mold/2.37.1/version.desc | 0 2 files changed, 4 insertions(+) create mode 100644 packages/mold/2.37.1/chksum create mode 100644 packages/mold/2.37.1/version.desc (limited to 'packages') diff --git a/packages/mold/2.37.1/chksum b/packages/mold/2.37.1/chksum new file mode 100644 index 00000000..8897a8d2 --- /dev/null +++ b/packages/mold/2.37.1/chksum @@ -0,0 +1,4 @@ +md5 v2.37.1.tar.gz 008ce940e0c512db09a0b1719d6bc270 +sha1 v2.37.1.tar.gz 0f5191c09a1758b9c51b7d45207e04c0c6812b93 +sha256 v2.37.1.tar.gz b8e36086c95bd51e9829c9755c138f5c4daccdd63b6c35212b84229419f3ccbe +sha512 v2.37.1.tar.gz 641c6668ee31368409d80ea01c0d84a58eac827eedc110495ca075bfce22081c906308d027e4723750995fc0d8b6bba8be3c3472c20f765ef45d14e1c4e36cd4 diff --git a/packages/mold/2.37.1/version.desc b/packages/mold/2.37.1/version.desc new file mode 100644 index 00000000..e69de29b -- cgit v1.2.3