[U-Boot-Users] Re: GOT and adresses

Hello All, I am porting U-boot to an MPC8247-based custom board. I Got my arms around the TOC issue (thanks Wolfgang), but I am also trying to look at the GOT: I understand from the documentation that I should not worry/need to touch that, but just in case, I want to make sure I understand what it is doing.
I am having trouble finding documentation on how the .GOT entries are customized in gcc as they are in the u-boot sources... any pointers?
-F _________________________________________ -- "'Problem' is a bleak word for challenge" - Richard Fish
Muad'Dib of Caladan (Federico L. Lucifredi)- Harvard University & BU http://metcs.bu.edu/~lucifred

In message W8483322004145761102085351@webmail2 you wrote:
I am having trouble finding documentation on how the .GOT entries are customized in gcc as they are in the u-boot sources... any pointers?
I'm not sure what you mean by "customized in gcc". The GNU toolchain just uses the standard ABI definitions. See section "5. PROGRAM LOADING AND DYNAMIC LINKING", and especially sub-section "Dynamic Linking - Global Offset Table" in the PowerPC Processor ABI Supplement (see http://www.denx.de/twiki/bin/view/Training/MoreInformationMoreLinks for a link).
Best regards,
Wolfgang Denk
participants (2)
-
Federico Lucifredi
-
Wolfgang Denk