mirror of git://gcc.gnu.org/git/gcc.git
gcconfig.h: Add support for an unmapped memory hole between the end of the initialized data...
* include/private/gcconfig.h: Add support for an unmapped memory hole between the end of the initialized data segment and the start of the BSS on FreeBSD/i386. From-SVN: r51867
This commit is contained in:
parent
a71742a8e7
commit
3c55704ebb
|
|
@ -1,3 +1,9 @@
|
||||||
|
2002-04-04 Loren J. Rittle <ljrittle@acm.org>
|
||||||
|
|
||||||
|
* include/private/gcconfig.h: Add support for an unmapped
|
||||||
|
memory hole between the end of the initialized data segment
|
||||||
|
and the start of the BSS on FreeBSD/i386.
|
||||||
|
|
||||||
2002-03-30 Krister Walfridsson <cato@df.lth.se>
|
2002-03-30 Krister Walfridsson <cato@df.lth.se>
|
||||||
|
|
||||||
* include/private/gcconfig.h: define DYNAMIC_LOADING for ELF
|
* include/private/gcconfig.h: define DYNAMIC_LOADING for ELF
|
||||||
|
|
|
||||||
|
|
@ -1058,8 +1058,16 @@
|
||||||
# ifdef __ELF__
|
# ifdef __ELF__
|
||||||
# define DYNAMIC_LOADING
|
# define DYNAMIC_LOADING
|
||||||
# endif
|
# endif
|
||||||
|
/* Handle unmapped hole i386*-*-freebsd[45]* may put between etext and edata. */
|
||||||
extern char etext[];
|
extern char etext[];
|
||||||
|
extern char edata[];
|
||||||
|
extern char end[];
|
||||||
|
# define NEED_FIND_LIMIT
|
||||||
# define DATASTART ((ptr_t)(etext))
|
# define DATASTART ((ptr_t)(etext))
|
||||||
|
# define MIN(x,y) ((x) < (y) ? (x) : (y))
|
||||||
|
# define DATAEND (MIN (GC_find_limit (DATASTART, TRUE), DATASTART2))
|
||||||
|
# define DATASTART2 ((ptr_t)(edata))
|
||||||
|
# define DATAEND2 ((ptr_t)(end))
|
||||||
# endif
|
# endif
|
||||||
# ifdef NETBSD
|
# ifdef NETBSD
|
||||||
# define OS_TYPE "NETBSD"
|
# define OS_TYPE "NETBSD"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue