From: Jasper Lievisse Adriaanse Date: Thu, 16 May 2019 20:42:49 +0000 (+0300) Subject: Use __data_start instead of _fdata on OpenBSD/mips64 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e33aa9ec4e170bafa75375d41323a17ce923ba94;p=gc Use __data_start instead of _fdata on OpenBSD/mips64 (fix of commit d79f09665) * include/private/gcconfig.h [MIPS && OPENBSD] (__data_start): Declare extern variable (instead of _fdata). * include/private/gcconfig.h [MIPS && OPENBSD] (DATASTART): Use __data_start. --- diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h index cf4ebc9e..651b9de4 100644 --- a/include/private/gcconfig.h +++ b/include/private/gcconfig.h @@ -1863,8 +1863,8 @@ EXTERN_C_BEGIN # define HEURISTIC2 # endif # endif - extern int _fdata[]; -# define DATASTART ((ptr_t)_fdata) + extern int __data_start[]; +# define DATASTART ((ptr_t)__data_start) extern int _end[]; # define DATAEND ((ptr_t)(&_end)) # define DYNAMIC_LOADING