From dbddaefcb5acd09413ecc7cda8dcac488cb4f74a1ff17029779a736ec2455caa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Li=C5=A1ka?= Date: Sun, 5 Nov 2023 06:58:57 +0000 Subject: [PATCH] - Update to version 2.3.2 * Remove upstream patch fix-arm.patch. * mold no longer emits dynamic relocations against the text segment for GNU ifunc symbols. Previously, mold emitted such relocations for position-dependent executables. (4cdfc7e) * mold no longer reports the "REL-type relocation table is not supported for this target" error and instead ignore incompatible relocation tables. LLVM generates such non-conforming relocation tables for the .llvm.call-graph-profile section. This change was made for compatibility. (3791900) * mold now pads unused gaps in the text segment with interrupt or NOP instructions, instead of leaving them filled with zeros. This alteration does not change the program's semantics but prevents disassemblers from interpreting the spaces between functions as valid instructions. (c86a59a) * mold now creates the .mold-lock file for MOLD_JOBS not in the home directory but in $XDG_RUNTIME_DIR, which is usually /var/user/. (39cdf61) * [ARM32] There was an issue preventing mold from being built on an ARMv8 64-bit ARM processor with an ARM32 userland, such as the 32-bit Raspberry Pi OS running on a Raspberry Pi 4. This build issue has been resolved. (02ead29) * [LoongArch] mold can now handle R_LARCH_PCALA_LO12 relocation for the jirl instruction. (d3188e3) OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=104 --- mold-2.3.1.tar.gz | 3 --- mold-2.3.2.tar.gz | 3 +++ mold.changes | 24 ++++++++++++++++++++++++ mold.spec | 3 +-- 4 files changed, 28 insertions(+), 5 deletions(-) delete mode 100644 mold-2.3.1.tar.gz create mode 100644 mold-2.3.2.tar.gz diff --git a/mold-2.3.1.tar.gz b/mold-2.3.1.tar.gz deleted file mode 100644 index 19998f3..0000000 --- a/mold-2.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:380f540114408c37bcdb7f3bda91a056448a93124ca6992a373ae2bda35e9af7 -size 9958470 diff --git a/mold-2.3.2.tar.gz b/mold-2.3.2.tar.gz new file mode 100644 index 0000000..c831f39 --- /dev/null +++ b/mold-2.3.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:db172c0e97606565a81e37995bf5c911606d3f3b9f3829e92cd26985c9b0ed3b +size 9970530 diff --git a/mold.changes b/mold.changes index 21743a4..4735703 100644 --- a/mold.changes +++ b/mold.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Sun Nov 5 06:53:29 UTC 2023 - Martin Liška + +- Update to version 2.3.2 + * Remove upstream patch fix-arm.patch. + * mold no longer emits dynamic relocations against the text segment for GNU ifunc + symbols. Previously, mold emitted such relocations for position-dependent + executables. (4cdfc7e) + * mold no longer reports the "REL-type relocation table is not supported for this + target" error and instead ignore incompatible relocation tables. LLVM generates + such non-conforming relocation tables for the .llvm.call-graph-profile section. + This change was made for compatibility. (3791900) + * mold now pads unused gaps in the text segment with interrupt or NOP + instructions, instead of leaving them filled with zeros. This alteration does + not change the program's semantics but prevents disassemblers from interpreting + the spaces between functions as valid instructions. (c86a59a) + * mold now creates the .mold-lock file for MOLD_JOBS not in the home directory but + in $XDG_RUNTIME_DIR, which is usually /var/user/. (39cdf61) + * [ARM32] There was an issue preventing mold from being built on an ARMv8 64-bit + ARM processor with an ARM32 userland, such as the 32-bit Raspberry Pi OS running + on a Raspberry Pi 4. This build issue has been resolved. (02ead29) + * [LoongArch] mold can now handle R_LARCH_PCALA_LO12 relocation for the jirl + instruction. (d3188e3) + ------------------------------------------------------------------- Wed Oct 25 13:02:13 UTC 2023 - Martin Liška diff --git a/mold.spec b/mold.spec index 3e772e6..0d9a824 100644 --- a/mold.spec +++ b/mold.spec @@ -17,7 +17,7 @@ Name: mold -Version: 2.3.1 +Version: 2.3.2 Release: 0 Summary: A Modern Linker (mold) License: MIT @@ -25,7 +25,6 @@ Group: Development/Tools/Building URL: https://github.com/rui314/mold Source: https://github.com/rui314/mold/archive/v%{version}/mold-%{version}.tar.gz Patch0: build-blake-3-as-static.patch -Patch1: fix-arm.patch BuildRequires: cmake %if %{suse_version} < 1550 BuildRequires: gcc11-c++