This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: boehm-gc alpha*-*-freebsd* configuration patch


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]