GC_data_start

Boehm, Hans hboehm@exch.hpl.hp.com
Wed Nov 17 11:49:00 GMT 1999


I just asked David Mosberger here.  He points out that the symbold ".data"
is still defined on demand, and can be accessed with

footype foo asm(".data");

I'm using that for now for all Linux platforms.  I would guess it's roughly
as brittle as the other solutions, but it's less (i.e. no) code.

Hans

-----Original Message-----
From: Tom Tromey [ mailto:tromey@cygnus.com ]
Sent: Wednesday, November 17, 1999 11:32 AM
To: Boehm, Hans
Cc: 'Jeff Sturm'; java-discuss@sourceware.cygnus.com
Subject: RE: GC_data_start


>>>>> "Hans" == Boehm, Hans <hboehm@exch.hpl.hp.com> writes:

Hans> I would still prefer to see __data_start back, if anyone is in a
Hans> position to lobby for it.  At a minimum, its prsence should be
Hans> consistent across platforms.

I asked Ian about this.  He said that the linker just does what the
linker script tells it, so this is probably an issue for the alpha
Linux hackers more than binutils.

Another choice is to examine the "program headers" (on ELF systems),
but I don't fully know what that means or how we'd go about
implementing it.

Tom


More information about the Java mailing list