[Sw64] add sw64 ISA support

This commit is contained in:
swcompiler 2024-11-22 16:57:30 +08:00
parent 3b7f67ac74
commit d29bf551a1
2 changed files with 20979 additions and 2 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@
Summary: A GNU collection of binary utilities
Name: binutils%{?_with_debug:-debug}
Version: 2.41
Release: 11
Release: 12
License: GPL-3.0-or-later AND (GPL-3.0-or-later WITH Bison-exception-2.2) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND BSD-3-Clause AND GFDL-1.3-or-later AND GPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-2.0-or-later
URL: https://sourceware.org/binutils
@ -78,7 +78,7 @@ URL: https://sourceware.org/binutils
#----End of Configure Options------------------------------------------------
# Note - in the future the gold linker may become deprecated.
%ifnarch riscv64 loongarch64
%ifnarch riscv64 loongarch64 sw_64
%bcond_without gold
%else
# RISC-V does not have ld.gold thus disable by default.
@ -163,6 +163,7 @@ Source2: binutils-2.19.50.0.1-output-format.sed
Patch1001: X86-Change-fpic-to-fPIC-in-PICFLAG.patch
Patch1002: PPC-gas-supported-c2000.patch
Patch1003: Sw64-binutils-Add-Sw64-support.patch
# Part 3000 - 4999
Patch3001: LoongArch-Fix-ld-no-relax-bug.patch
@ -1369,6 +1370,9 @@ exit 0
#----------------------------------------------------------------------------
%changelog
* Fri Nov 22 2024 swcompiler <lc@wxiat.com> - 2.41-12
- Sw64 add sw64 ISA support
* Thu Oct 31 2024 wangxin <wangxin03@loongson.cn> - 2.41-11
- LoongArch: sync patch from binutils upstream