summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeale Ferguson <neale@sinenomine.net>2013-05-09 15:42:58 -0400
committerIvan Maidanski <ivmai@mail.ru>2013-09-15 13:00:25 +0400
commit8d3e3ac5ed4aa7d0b316b9a79c55adbec20c6ad7 (patch)
tree5de9de8e8816d942dc9fb83f43ffb1da06254df1
parent21f0df75f5bac02619fb6fa4bcf5b49b169aeb1a (diff)
downloadbdwgc-8d3e3ac5ed4aa7d0b316b9a79c55adbec20c6ad7.tar.gz
gcconfig.h - Add weak attribute to avoid __data_start undefined messages on dlopen mini-s390x.c - Add profiling support to prolog/epilog instrumentation
-rw-r--r--include/private/gcconfig.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h
index 88e78380..c264b164 100644
--- a/include/private/gcconfig.h
+++ b/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