From 76de83f8a462bf685a4f60448bff13c5bc821472fd7a117e8d234de5206ca9e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Li=C5=A1ka?= Date: Wed, 29 Jun 2022 13:39:12 +0000 Subject: [PATCH 1/6] Enable ARM 32-bit archs. OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=46 --- mold.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mold.spec b/mold.spec index c5c067a..f25e9a5 100644 --- a/mold.spec +++ b/mold.spec @@ -24,7 +24,7 @@ License: AGPL-3.0-or-later Group: Development/Tools/Building URL: https://github.com/rui314/mold Source: https://github.com/rui314/mold/archive/v%{version}/mold-%{version}.tar.gz -ExclusiveArch: x86_64 aarch64 riscv64 +ExclusiveArch: x86_64 armv7l armv6l aarch64 riscv64 BuildRequires: cmake %if %{suse_version} < 1550 BuildRequires: gcc10-c++ From 01f9c7cdd1eef9cda060c8c57aa4a2ba6df2cdb222540b86c788fd0ddd876b01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Li=C5=A1ka?= Date: Thu, 30 Jun 2022 08:44:19 +0000 Subject: [PATCH 2/6] OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=47 --- mold.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mold.spec b/mold.spec index f25e9a5..e9f90af 100644 --- a/mold.spec +++ b/mold.spec @@ -24,7 +24,7 @@ License: AGPL-3.0-or-later Group: Development/Tools/Building URL: https://github.com/rui314/mold Source: https://github.com/rui314/mold/archive/v%{version}/mold-%{version}.tar.gz -ExclusiveArch: x86_64 armv7l armv6l aarch64 riscv64 +#ExclusiveArch: x86_64 armv7l armv6l aarch64 riscv64 BuildRequires: cmake %if %{suse_version} < 1550 BuildRequires: gcc10-c++ From 9e9ebe3eae7e55216a0c8405d702a4636e348bf8f84319b0df347d7573572543 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Li=C5=A1ka?= Date: Thu, 30 Jun 2022 08:46:37 +0000 Subject: [PATCH 3/6] Use ExclusiveArch again. OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=48 --- mold.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mold.spec b/mold.spec index e9f90af..9c2a714 100644 --- a/mold.spec +++ b/mold.spec @@ -24,7 +24,7 @@ License: AGPL-3.0-or-later Group: Development/Tools/Building URL: https://github.com/rui314/mold Source: https://github.com/rui314/mold/archive/v%{version}/mold-%{version}.tar.gz -#ExclusiveArch: x86_64 armv7l armv6l aarch64 riscv64 +ExclusiveArch: aarch64 armv7l armv7hl x86_64 aarch64 riscv64 BuildRequires: cmake %if %{suse_version} < 1550 BuildRequires: gcc10-c++ From b924d6fb7f1221051322c6118f330e2f0672decbf9a2a60e463d38982b1bfb16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Li=C5=A1ka?= Date: Thu, 30 Jun 2022 08:47:08 +0000 Subject: [PATCH 4/6] Enable armv6l. OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=49 --- mold.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mold.spec b/mold.spec index 9c2a714..e1e0172 100644 --- a/mold.spec +++ b/mold.spec @@ -24,7 +24,7 @@ License: AGPL-3.0-or-later Group: Development/Tools/Building URL: https://github.com/rui314/mold Source: https://github.com/rui314/mold/archive/v%{version}/mold-%{version}.tar.gz -ExclusiveArch: aarch64 armv7l armv7hl x86_64 aarch64 riscv64 +ExclusiveArch: aarch64 armv7l armv6l x86_64 aarch64 riscv64 BuildRequires: cmake %if %{suse_version} < 1550 BuildRequires: gcc10-c++ From 7cf5acf1d69676b3c5e77e4259095d6e988c8e7fc50cf77a7acd42a9c08e7769 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Li=C5=A1ka?= Date: Thu, 30 Jun 2022 08:47:53 +0000 Subject: [PATCH 5/6] Use %arm. OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=50 --- mold.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mold.spec b/mold.spec index e1e0172..64465cd 100644 --- a/mold.spec +++ b/mold.spec @@ -24,7 +24,7 @@ License: AGPL-3.0-or-later Group: Development/Tools/Building URL: https://github.com/rui314/mold Source: https://github.com/rui314/mold/archive/v%{version}/mold-%{version}.tar.gz -ExclusiveArch: aarch64 armv7l armv6l x86_64 aarch64 riscv64 +ExclusiveArch: aarch64 %arm x86_64 aarch64 riscv64 BuildRequires: cmake %if %{suse_version} < 1550 BuildRequires: gcc10-c++ From 82bd458f3e8f324861b1800ef6e0fa2284faaa712f40a2fd482dfcf7dc94beff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Li=C5=A1ka?= Date: Fri, 1 Jul 2022 09:18:34 +0000 Subject: [PATCH 6/6] - Update to version 1.3.1 * mold now supports .preinit_array sections. Without this, AddressSanitizer didn't work in some environments. (3b75398) * [ARM32] R_ARM_MOVT_PREL and R_ARM_PREL31 relocations are now handled correctly so that mold no longer emit spurious "recompile with -fPIC" errors. (5294300) OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=51 --- mold-1.3.0.tar.gz | 3 --- mold-1.3.1.tar.gz | 3 +++ mold.changes | 9 +++++++++ mold.spec | 2 +- 4 files changed, 13 insertions(+), 4 deletions(-) delete mode 100644 mold-1.3.0.tar.gz create mode 100644 mold-1.3.1.tar.gz diff --git a/mold-1.3.0.tar.gz b/mold-1.3.0.tar.gz deleted file mode 100644 index a32900c..0000000 --- a/mold-1.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:02132ae717d7f22f8bc7e5c22642ad41541ec4c535fa85f095c60ecc81465a3d -size 4689476 diff --git a/mold-1.3.1.tar.gz b/mold-1.3.1.tar.gz new file mode 100644 index 0000000..7ed4289 --- /dev/null +++ b/mold-1.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d436e2d4c1619a97aca0e28f26c4e79c0242d10ce24e829c1b43cfbdd196fd77 +size 4692379 diff --git a/mold.changes b/mold.changes index 82a4dc2..b99daf6 100644 --- a/mold.changes +++ b/mold.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Jul 1 09:13:58 UTC 2022 - Martin Liška + +- Update to version 1.3.1 + * mold now supports .preinit_array sections. Without this, + AddressSanitizer didn't work in some environments. (3b75398) + * [ARM32] R_ARM_MOVT_PREL and R_ARM_PREL31 relocations are now handled + correctly so that mold no longer emit spurious "recompile with -fPIC" errors. (5294300) + ------------------------------------------------------------------- Sat Jun 18 07:10:09 UTC 2022 - Martin Liška diff --git a/mold.spec b/mold.spec index 64465cd..e78d7fb 100644 --- a/mold.spec +++ b/mold.spec @@ -17,7 +17,7 @@ Name: mold -Version: 1.3.0 +Version: 1.3.1 Release: 0 Summary: A Modern Linker (mold) License: AGPL-3.0-or-later