File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ if(CLR_CMAKE_HOST_UNIX)
109109 endif ()
110110 endif ()
111111
112- if (CLR_CMAKE_TARGET_LINUX AND CLR_CMAKE_TARGET_ARCH_I386)
112+ if (CLR_CMAKE_TARGET_LINUX AND ( CLR_CMAKE_TARGET_ARCH_I386 OR CLR_CMAKE_TARGET_ARCH_RISCV64) )
113113 add_linker_flag (-Wl,-z,notext )
114114 endif ()
115115
Original file line number Diff line number Diff line change @@ -5857,7 +5857,7 @@ struct _Unwind_Exception;
58575857// This is a personality routine for TheUMEntryPrestub and UMThunkStub Unix asm stubs.
58585858// An exception propagating through these stubs is an unhandled exception.
58595859// This function dumps managed stack trace and terminates the current process.
5860- EXTERN_C _Unwind_Reason_Code
5860+ EXTERN_C __attribute__ ((visibility( " default " ))) _Unwind_Reason_Code
58615861UnhandledExceptionHandlerUnix(
58625862 IN int version,
58635863 IN _Unwind_Action action,
You can’t perform that action at this time.
0 commit comments