Make __data_start a weak symbol, to allow loading modules on mips.
authorPaolo Molaro <lupus@oddwiz.org>
Tue, 13 Dec 2011 15:35:10 +0000 (15:35 +0000)
committerPaolo Molaro <lupus@oddwiz.org>
Tue, 13 Dec 2011 15:47:31 +0000 (15:47 +0000)
libgc/include/private/gcconfig.h

index 0d28d986f7c8061ec55f033eeccedb504e353172..16627ca89436c54f78a65c420d234efe9de7406d 100644 (file)
 #     define DYNAMIC_LOADING
       extern int _end[];
 #     define DATAEND (_end)
+#pragma weak __data_start
       extern int __data_start[];
 #     define DATASTART ((ptr_t)(__data_start))
 #     if defined(_MIPS_SZPTR) && (_MIPS_SZPTR == 64)