From 267900688be347014ccd2040e867531b66ea20f5 Mon Sep 17 00:00:00 2001 From: Paolo Molaro Date: Tue, 13 Dec 2011 15:35:10 +0000 Subject: [PATCH] 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). --- include/private/gcconfig.h | 1 + 1 file changed, 1 insertion(+) 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 -- 2.40.0