Upstream coreclr and pal changes to support powerpc (ppc64le) architecture (#69105)
authorVikas Gupta <93921236+vikasgupta8@users.noreply.github.com>
Mon, 20 Jun 2022 12:28:47 +0000 (17:58 +0530)
committerGitHub <noreply@github.com>
Mon, 20 Jun 2022 12:28:47 +0000 (14:28 +0200)
commitedd359716c2096274e656d26ed8945d99afc2da5
tree1c858e5c76f8fe71dcf471d05a9c94427ba2fbe3
parentb9f899e8978fc9e6101823fc630cfc17ab45a7ae
Upstream coreclr and pal changes to support powerpc (ppc64le) architecture  (#69105)

* coreclr pal layer chanegs.

* Updated the system arch for power architecture.

* Fixed the failing PAL SXS exception_handling test case

* replaced gint with gint64 to avoid overflow and this has fixed the segmentation fault issue.

* coreclr pal layer chanegs.

* Fixed the failing PAL SXS exception_handling test case

* coreclr pal layer chanegs.

* Updated the system arch for power architecture.

* Fixed the failing PAL SXS exception_handling test case

* replaced gint with gint64 to avoid overflow and this has fixed the segmentation fault issue.

* coreclr pal layer chanegs.

* Fixed the failing PAL SXS exception_handling test case

* Removing intsafe.h file as main does not have this file now.(Already removed in commit 27195f670937c7e21ab68a806396f9d17c57231a)

Co-authored-by: Alhad Deshpande <Alhad.Deshpande1@ibm.com>
31 files changed:
src/coreclr/debug/daccess/ppc64le/primitives.cpp [new file with mode: 0644]
src/coreclr/debug/ee/ppc64le/dbghelpers.S [new file with mode: 0644]
src/coreclr/debug/ee/ppc64le/primitives.cpp [new file with mode: 0644]
src/coreclr/debug/shared/ppc64le/primitives.cpp [new file with mode: 0644]
src/coreclr/inc/crosscomp.h
src/coreclr/inc/pedecoder.h
src/coreclr/inc/switches.h
src/coreclr/inc/volatile.h
src/coreclr/pal/inc/pal.h
src/coreclr/pal/inc/rt/palrt.h
src/coreclr/pal/inc/unixasmmacros.inc
src/coreclr/pal/inc/unixasmmacrosppc64le.inc [new file with mode: 0644]
src/coreclr/pal/src/arch/ppc64le/asmconstants.h [new file with mode: 0644]
src/coreclr/pal/src/arch/ppc64le/callsignalhandlerwrapper.S [new file with mode: 0644]
src/coreclr/pal/src/arch/ppc64le/context2.S [new file with mode: 0644]
src/coreclr/pal/src/arch/ppc64le/debugbreak.S [new file with mode: 0644]
src/coreclr/pal/src/arch/ppc64le/exceptionhelper.S [new file with mode: 0644]
src/coreclr/pal/src/arch/ppc64le/processor.cpp [new file with mode: 0644]
src/coreclr/pal/src/arch/ppc64le/signalhandlerhelper.cpp [new file with mode: 0644]
src/coreclr/pal/src/exception/remote-unwind.cpp
src/coreclr/pal/src/exception/seh-unwind.cpp
src/coreclr/pal/src/include/pal/context.h
src/coreclr/pal/src/thread/context.cpp
src/coreclr/unwinder/ppc64le/unwinder_ppc64le.cpp [new file with mode: 0644]
src/coreclr/vm/ppc64le/unixstubs.cpp [new file with mode: 0644]
src/mono/mono/mini/tramp-ppc.c
src/native/external/libunwind.cmake
src/native/external/libunwind/CMakeLists.txt
src/native/external/libunwind/src/CMakeLists.txt
src/native/external/libunwind_extras/CMakeLists.txt
src/native/libs/System.Native/pal_runtimeinformation.c