diff options
author | Mario Hoepfner <mario.hopfner@unity3d.com> | 2021-12-14 13:48:15 +0300 |
---|---|---|
committer | Mario Hoepfner <mario.hopfner@unity3d.com> | 2021-12-14 13:48:15 +0300 |
commit | 162abd045af379a23a1228d933db7202d97bc448 (patch) | |
tree | aaec09586df99724bbe03ff848723e72828d0835 | |
parent | 2e82b58b12ad2cf9d59a770809b1af3594e53781 (diff) |
update aarch64 config to fix il2cpp debug builds
-rw-r--r-- | include/private/gcconfig.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h index 849b6675..f99a6c4a 100644 --- a/include/private/gcconfig.h +++ b/include/private/gcconfig.h @@ -140,7 +140,7 @@ EXTERN_C_BEGIN /* And one for FreeBSD: */ # if (defined(__FreeBSD__) || defined(__DragonFly__) \ || defined(__FreeBSD_kernel__)) && !defined(FREEBSD) \ - && !defined(GC_NO_FREEBSD) + && !defined(GC_NO_FREEBSD) # define FREEBSD # endif @@ -2268,7 +2268,7 @@ EXTERN_C_BEGIN # define OS_TYPE "LINUX" # define LINUX_STACKBOTTOM # define DYNAMIC_LOADING - extern int __data_start[]; + extern int __data_start[] __attribute__((__weak__)); extern int _end[]; # define DATASTART ((ptr_t)__data_start) # define DATAEND ((ptr_t)(&_end)) @@ -3613,7 +3613,7 @@ EXTERN_C_BEGIN EXTERN_C_END #ifndef SMALL_CONFIG -/* We were running out of memory due to the fact that +/* We were running out of memory due to the fact that * GC has a static sized array for heap segments, and without * LARGE_CONFIG you go OOM at around 1.8 GB on 64-bit. * Note, we define it everywhere on Mono. */ |