Sw64: Add sw64 new processor support

This commit is contained in:
swcompiler 2024-10-22 14:55:16 +08:00
parent 42e2566984
commit cb216b5d42
4 changed files with 57911 additions and 1 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
Summary: Binary utilities Summary: Binary utilities
Name: binutils Name: binutils
Version: 2.37 Version: 2.37
Release: 29 Release: 30
License: GPLv3+ License: GPLv3+
URL: https://sourceware.org/binutils URL: https://sourceware.org/binutils
@ -116,6 +116,9 @@ Patch5006: aarch64-add-l4-instruction.patch
# sw_64 # sw_64
Patch6001: sw_64-support-not-upstream-new-files.patch Patch6001: sw_64-support-not-upstream-new-files.patch
Patch6002: sw_64-support-not-upstream-modified-files.patch Patch6002: sw_64-support-not-upstream-modified-files.patch
Patch6003: Sw64-revert-old-support-modified.patch
Patch6004: Sw64-revert-old-support-newfile.patch
Patch6005: Sw64-binutils-Add-Sw64-new-support.patch
%endif %endif
@ -212,6 +215,11 @@ case %{_target_platform} in x86_64*|i?86*|aarch64*|riscv64*|loongarch64*|ppc64le
;; ;;
esac esac
case %{_target_platform} in sw_64*)
CARGS="$CARGS --with-cpu=sw8a"
;;
esac
export CFLAGS="$RPM_OPT_FLAGS" export CFLAGS="$RPM_OPT_FLAGS"
export LDFLAGS=$RPM_LD_FLAGS export LDFLAGS=$RPM_LD_FLAGS
@ -468,6 +476,9 @@ fi
%{_infodir}/bfd*info* %{_infodir}/bfd*info*
%changelog %changelog
* Tue Oct 22 2024 swcompiler <lc@wxiat.com> - 2.37-30
- Add sw64 new processor support
* Mon Sep 23 2024 huyubiao <huyubiao@huawei.com> - 2.37-29 * Mon Sep 23 2024 huyubiao <huyubiao@huawei.com> - 2.37-29
- DESC:fix ref leak of names of newly-inserted non-root-visible types - DESC:fix ref leak of names of newly-inserted non-root-visible types