[U-Boot] [PATCH] mpc83xx: Add -fpic relocation support

Scott Wood scottwood at freescale.com
Tue Oct 12 17:52:58 CEST 2010


On Tue, 12 Oct 2010 15:04:31 +0200
Joakim Tjernlund <joakim.tjernlund at transmode.se> wrote:

> _GLOBAL_OFFSET_TABLE_ is a predefined symbol that the linker defines to
> be in the middle of the -fpic GOT table. It marks the end of the GOT table
> as far as we are concerned(u-boot does not generate so many relocs that 
> the
> linker needs to use the space above _GLOBAL_OFFSET_TABLE_)
> 
> There is no predefined symbol that marks the start of fpic relocs so
> one is added(_GOT_TABLE_) by me to the linker script.

Maybe call it _GOT_START_ or similar?  _GLOBAL_OFFSET_TABLE_ and
_GOT_TABLE_[1] look like synonyms.

-Scott

[1] Global offset table table? :-)



More information about the U-Boot mailing list