[U-Boot-Users] _gp in current u-boot.lds for MIPS ports
Vlad Lungu
vlad at comsys.ro
Tue Oct 16 21:13:03 CEST 2007
Wolfgang Denk wrote:
> Dear Shinya Kuribayashi,
>
> on IRC you asked:
>
>> In Current u-boot.lds for MIPS ports, _gp is basically equals to __got_start.
>>
Is equal to _GLOBAL_OFFSET_TABLE_ in current tree. Only if you change
it to
.=ALIGN(16);
gp=.;
it's always equal to __got_start.
>> Is this intentional, or not?
>> If this is intentional for simplification, I'll take into account such original intention.
>>
It might have been done to simplify the code or shave a few insns, but
it had the potential to bite us, and it did exactly that.
Cheers,
Vlad
More information about the U-Boot
mailing list