gold's emission of _GLOBAL_OFFSET_TABLE_

David Miller
Mon Apr 7 23:31:00 GMT 2008

From: Ian Lance Taylor <>
Date: Mon, 07 Apr 2008 16:01:04 -0700

> David Miller <> writes:
> > I can't tell which one is right, using the .got section index or
> > SHN_ABS, perhaps the choice is arbitrary.  Sun's linker seems to
> > behave the same as gold.
> I believe the choice is arbitrary.  All that really matters is the
> value.


> At the moment, in gold, symbols like _GLOBAL_OFFSET_TABLE_ and
> _PROCEDURE_LINKAGE_TABLE_ need to be defined by the file.  With
> some more experience I hope that we can consolidate the files
> some more.

That clears things up, thanks.

FWIW, I'm down to gold 4 testcase failures for 32-bit sparc.

More information about the Binutils mailing list