Lines 663-669
EXTERN_C_BEGIN
Link Here
|
663 |
# endif |
663 |
# endif |
664 |
# define mach_type_known |
664 |
# define mach_type_known |
665 |
# endif |
665 |
# endif |
666 |
# if defined(__riscv) && defined(LINUX) |
666 |
# if defined(__riscv) |
667 |
# define RISCV |
667 |
# define RISCV |
668 |
# define mach_type_known |
668 |
# define mach_type_known |
669 |
# endif |
669 |
# endif |
Lines 2939-2944
EXTERN_C_BEGIN
Link Here
|
2939 |
# define LINUX_STACKBOTTOM |
2939 |
# define LINUX_STACKBOTTOM |
2940 |
# define DYNAMIC_LOADING |
2940 |
# define DYNAMIC_LOADING |
2941 |
# endif |
2941 |
# endif |
|
|
2942 |
# ifdef FREEBSD |
2943 |
# define OS_TYPE "FREEBSD" |
2944 |
# ifndef GC_FREEBSD_THREADS |
2945 |
# define MPROTECT_VDB |
2946 |
# endif |
2947 |
# define SIG_SUSPEND SIGUSR1 |
2948 |
# define SIG_THR_RESTART SIGUSR2 |
2949 |
# define FREEBSD_STACKBOTTOM |
2950 |
# define DYNAMIC_LOADING |
2951 |
extern char etext[]; |
2952 |
# define DATASTART GC_FreeBSDGetDataStart(0x1000, (ptr_t)etext) |
2953 |
# define DATASTART_USES_BSDGETDATASTART |
2954 |
# endif |
2942 |
# endif /* RISCV */ |
2955 |
# endif /* RISCV */ |
2943 |
|
2956 |
|
2944 |
#if defined(__GLIBC__) && !defined(DONT_USE_LIBC_PRIVATES) |
2957 |
#if defined(__GLIBC__) && !defined(DONT_USE_LIBC_PRIVATES) |