Skip to contentSkip to conversation

TOC

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

lore
Share & tools
lore
#0 lore raw

Hello WD,

Quoted 4 lines
Quoted 1 line

Can someone shine some light on the TOC pointer's purpose and use in U-boot code?

Yes, we can. But we won't. You will not receive any helpo from me this time because you are violating too many basic netiquette rules:

I am sorry, but to my credit, I did apologize to the list for the mistake 2 minutes later (I got interrupted while I was writing the e-mail and forgot to clip it and set the Subj, which I usually do at the beginning).

So, I'll give it another try:
------8<----------------

Hello WD,
just a quick one. I am new to PPC and this TOC "thing" that we keep in r2. How is that used? what is it for? there seems to be extremely little mention of it online.

My understanding is that the linker uses it to resolve references (of what kind ? constants only or func calls? exceptions?) between different object files, but as u-boot runs without a loader, what is the meaning of this?

Is there any documentation on the EABI relevant to gcc for ppc?

Best - Federico

_________________________________________
-- "'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 2 lines · In message <W229256778168631102023205@webmail3> you wrote:

I am sorry, but to my credit, I did apologize to the list for the mistake 2 minutes later (I got interrupted while I was writing the e-mail and forgot to clip it and set the Subj, which I usually do at the beginning).

Yes, you apologized, but the damage was done.

And again you violate the netiquette by using a linelength of > 200 instead of the recommended maximum of 70 or so.

Quoted 1 line

just a quick one. I am new to PPC and this TOC "thing" that we keep in r2. How is that used? what is it for? there seems to be extremely little mention of it online.

I'm afraid I have to tell you that this is actually off topic here.

Quoted 1 line

Is there any documentation on the EABI relevant to gcc for ppc?

See http://www.denx.de/twiki/bin/view/Training/MoreInformationMoreLinks

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Without followers, evil cannot spread.
	-- Spock, "And The Children Shall Lead", stardate 5029.5