Accepting request 993355 from devel:tools:compiler

- Update to version 1.4.0
  * Initial support for the 32-bit RISC-V (RV32) has landed. (d9db6bc)
  * mold now demangles Rust symbols in error messages thanks to @eddyb's rust-demangle.c. (22e1bba)
  * --export-dynamic-symbol and --export-dynamic-symbol-list are now supported for
    the sake of compatibility with LLVM lld. With these options, you can specify
    symbols that should be exported using glob pattern. (e115aae)
  * [x86-64] PLT entries created by mold now always begins with ENDBR64 instruction
    to improve compatibility with Intel IBT (Indirect Branch Tracking.) (e3e371d)
  * mold now defines __dso_handle symbol. The lack of this linker-synthesized symbol
    caused a link error with GCC in some environments (#507). (764d757)
- Remove fix-tests.patch.

OBS-URL: https://build.opensuse.org/request/show/993355
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mold?expand=0&rev=18
This commit is contained in:
Dominique Leuenberger 2022-08-06 20:07:57 +00:00 committed by Git OBS Bridge
commit 52c6f1dc68
5 changed files with 19 additions and 18 deletions

View File

@ -1,13 +0,0 @@
diff --git a/test/elf/relocatable.sh b/test/elf/relocatable.sh
index 0065479..c5fe661 100755
--- a/test/elf/relocatable.sh
+++ b/test/elf/relocatable.sh
@@ -14,7 +14,7 @@ t=out/test/elf/$testname
mkdir -p $t
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98667
-[ $MACHINE = i386 ] && { echo skipped; exit; }
+[ $MACHINE = i386 -o $MACHINE = i686 ] && { echo skipped; exit; }
cat <<EOF | $CXX -c -o $t/a.o -xc++ -
int one() { return 1; }

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d436e2d4c1619a97aca0e28f26c4e79c0242d10ce24e829c1b43cfbdd196fd77
size 4692379

3
mold-1.4.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c255af236e629a3afb0cd89185a3a944741aa55bfbe966eb175af1c7b6097c0b
size 4722082

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Fri Aug 5 16:54:51 UTC 2022 - Martin Liška <mliska@suse.cz>
- Update to version 1.4.0
* Initial support for the 32-bit RISC-V (RV32) has landed. (d9db6bc)
* mold now demangles Rust symbols in error messages thanks to @eddyb's rust-demangle.c. (22e1bba)
* --export-dynamic-symbol and --export-dynamic-symbol-list are now supported for
the sake of compatibility with LLVM lld. With these options, you can specify
symbols that should be exported using glob pattern. (e115aae)
* [x86-64] PLT entries created by mold now always begins with ENDBR64 instruction
to improve compatibility with Intel IBT (Indirect Branch Tracking.) (e3e371d)
* mold now defines __dso_handle symbol. The lack of this linker-synthesized symbol
caused a link error with GCC in some environments (#507). (764d757)
- Remove fix-tests.patch.
-------------------------------------------------------------------
Mon Aug 1 05:35:29 UTC 2022 - Martin Liška <mliska@suse.cz>

View File

@ -17,14 +17,13 @@
Name: mold
Version: 1.3.1
Version: 1.4.0
Release: 0
Summary: A Modern Linker (mold)
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
Patch0: fix-tests.patch
ExclusiveArch: aarch64 %arm %ix86 x86_64 aarch64 riscv64
BuildRequires: cmake
%if %{suse_version} < 1550