Skip to contentSkip to conversation

GOT and adresses

U-Boot-Users Federico Lucifredi 2 participants 2 messages Dec 3, 2004 – Dec 4, 2004

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 3 lines · 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

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Any technology distinguishable from magic is insufficiently advanced.