!314 Add sw64 new processor support.

Merge pull request !314 from swcompiler/openEuler-22.03-LTS-SP4-Sw64
This commit is contained in:
openeuler-ci-bot 2025-01-14 03:45:43 +00:00 committed by Gitee
commit 9f3e8f44d6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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