[U-Boot-Users] [PATCH] Off-by-two bug when relocating GOT
Thomas Lange
thomas at corelatus.se
Fri Oct 5 22:18:11 CEST 2007
Vlad Lungu wrote:
> Shinya Kuribayashi wrote:
>> Vlad Lungu wrote:
>>
>>> The first two entries are skipped but the number of relocated entries
>>> is not adjusted; as a result, the first __u_boot_cmd_* structure is
>>> smashed and no commands can be issued.
>>>
>> This is a known, long stading, pretty critical, but not fixed problem. See below:
>>
>> http://search.gmane.org/search.php?group=gmane.comp.boot-loaders.u-boot&query=mips+got
>>
>> I'm going to look closely into this.
>>
> The thing I don't get is why skip the top two entries in the first place? Is it because
> _gp=ALIGN(16) ? Maybe Robert has a point:
>
> http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/25533
Yes, Roberts patch sent 12/15/06 09:53 worked for me when my command
table suddenly got corrupted.
It is still not applied to sources.
Is it rejected/pending/forgotten?
/Thomas
More information about the U-Boot
mailing list