This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: boehm-gc alpha*-*-freebsd* configuration patch
- From: Richard Henderson <rth at redhat dot com>
- To: rittle at labs dot mot dot com
- Cc: java-patches at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Thu, 21 Mar 2002 18:56:32 -0800
- Subject: Re: boehm-gc alpha*-*-freebsd* configuration patch
- References: <200203220248.g2M2mTg50399@latour.rsch.comm.mot.com>
On Thu, Mar 21, 2002 at 08:48:29PM -0600, Loren James Rittle wrote:
> + /* Handle unmapped hole alpha*-*-freebsd[45]* puts between etext and edata. */
> + extern char etext;
> + extern char edata;
> + extern char end;
> + # define NEED_FIND_LIMIT
> + # define DATASTART ((ptr_t)(&etext))
> + # define DATAEND (GC_find_limit (DATASTART, TRUE))
> + # define DATASTART2 ((ptr_t)(&edata))
> + # define DATAEND2 ((ptr_t)(&end))
This isn't going to work with new binutils. GCC will assume these
are in .sdata/.sbss. Instead do
extern char etext[];
extern char edata[];
extern char end[];
r~