FreeBSD Bugzilla – Attachment 219814 Details for
Bug 250915
devel/boehm-gc-8.0.4_1 does not support RISC-V
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
RISCV support
boehm-gc.patch (text/plain), 978 bytes, created by
Kristof Provost
on 2020-11-19 15:49:48 UTC
(
hide
)
Description:
RISCV support
Filename:
MIME Type:
Creator:
Kristof Provost
Created:
2020-11-19 15:49:48 UTC
Size:
978 bytes
patch
obsolete
>diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h >index 0743d8fc..e214587c 100644 >--- a/include/private/gcconfig.h >+++ b/include/private/gcconfig.h >@@ -663,7 +663,7 @@ EXTERN_C_BEGIN > # endif > # define mach_type_known > # endif >-# if defined(__riscv) && defined(LINUX) >+# if defined(__riscv) > # define RISCV > # define mach_type_known > # endif >@@ -2939,6 +2939,19 @@ EXTERN_C_BEGIN > # define LINUX_STACKBOTTOM > # define DYNAMIC_LOADING > # endif >+# ifdef FREEBSD >+# define OS_TYPE "FREEBSD" >+# ifndef GC_FREEBSD_THREADS >+# define MPROTECT_VDB >+# endif >+# define SIG_SUSPEND SIGUSR1 >+# define SIG_THR_RESTART SIGUSR2 >+# define FREEBSD_STACKBOTTOM >+# define DYNAMIC_LOADING >+ extern char etext[]; >+# define DATASTART GC_FreeBSDGetDataStart(0x1000, (ptr_t)etext) >+# define DATASTART_USES_BSDGETDATASTART >+# endif > # endif /* RISCV */ > > #if defined(__GLIBC__) && !defined(DONT_USE_LIBC_PRIVATES)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 250915
: 219814 |
219820