CGC fix for OpenBSD x86_64

Merge to 5.2
(cherry picked from commit a4011890e1)
This commit is contained in:
Matthew Flatt 2011-10-20 14:01:26 -06:00 committed by Eli Barzilay
parent a38f02160e
commit cb6be016c6

View File

@ -1983,8 +1983,9 @@
# define STACKBOTTOM USRSTACK # define STACKBOTTOM USRSTACK
# endif # endif
extern int __data_start[]; extern int __data_start[];
# define DATASTART ((ptr_t)(__data_start)) /* PLTSCHEME: commented out these two: */
extern char _end[]; /*# define DATASTART ((ptr_t)(__data_start)) */
/* extern char _end[]; */
# define DATAEND ((ptr_t)(&_end)) # define DATAEND ((ptr_t)(&_end))
# define DYNAMIC_LOADING # define DYNAMIC_LOADING
# endif # endif