This is the mail archive of the java@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: More questions about _GLOBAL


On Tue, 2002-01-29 at 14:12, Adam Megacz wrote:
> Tried that too, unfortunately strip and ld don't work the way I think
> they should. The address of the class$ symbol is inserted into the
> __GLOBAL_ symbol using a file-local symbol relocation. When I strip
> that symbol before linking, or if I remove the section, strip/ld seems
> to randomly pick another symbol to use, instead of writing a 0x0.

You should be able to provide a definition for the symbol on the command
link with --defsym FOO=0.

AG



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