
16 Oct
2007
16 Oct
'07
9:13 p.m.
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