Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/libgc
diff options
context:
space:
mode:
authorNeale Ferguson <neale@sinenomine.net>2013-05-09 23:42:58 +0400
committerNeale Ferguson <neale@sinenomine.net>2013-05-09 23:42:58 +0400
commitfc0560fb4740dfb70cddf218a046bff8e1342d69 (patch)
treeec90a6c1b82a35f188783448e9fc95d97fa8fba3 /libgc
parent1dcbbaaedd6eb151ad0b4cce986f9ca90a7db0be (diff)
gcconfig.h - Add weak attribute to avoid __data_start undefined messages on dlopen
mini-s390x.c - Add profiling support to prolog/epilog instrumentation
Diffstat (limited to 'libgc')
-rw-r--r--libgc/include/private/gcconfig.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libgc/include/private/gcconfig.h b/libgc/include/private/gcconfig.h
index 88e783800de..c264b164a41 100644
--- a/libgc/include/private/gcconfig.h
+++ b/libgc/include/private/gcconfig.h
@@ -1911,12 +1911,12 @@
# define OS_TYPE "LINUX"
# define LINUX_STACKBOTTOM
# define DYNAMIC_LOADING
- extern int __data_start[];
+ extern int __data_start[] __attribute__((weak));
# define DATASTART ((ptr_t)(__data_start))
- extern int _end[];
-# define DATAEND (_end)
-# define CACHE_LINE_SIZE 256
-# define GETPAGESIZE() 4096
+ extern int _end[] __attribute__((weak));
+# define DATAEND (_end)
+# define CACHE_LINE_SIZE 256
+# define GETPAGESIZE() 4096
# endif
# endif