From: Paolo Molaro Date: Tue, 13 Dec 2011 15:35:10 +0000 (+0000) Subject: Make __data_start a weak symbol to allow loading modules on mips X-Git-Tag: gc7_3alpha2~70 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=267900688be347014ccd2040e867531b66ea20f5;p=gc Make __data_start a weak symbol to allow loading modules on mips * include/private/gcconfig.h (__data_start): Add "pragma weak" for MIPS target (to allow loading modules). --- diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h index 3597de22..9bb29448 100644 --- a/include/private/gcconfig.h +++ b/include/private/gcconfig.h @@ -1466,6 +1466,7 @@ # define DYNAMIC_LOADING extern int _end[]; # define DATAEND (ptr_t)(_end) +# pragma weak __data_start extern int __data_start[]; # define DATASTART ((ptr_t)(__data_start)) # ifdef _MIPS_SZPTR