GOT and adresses
Hello WD,
Quoted 6 lines
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).
Yes, I have read that, but u-boot somehow alters the GOT behavior provided by gcc with macros such as GET_GOT. I am not sure why that is necessary, or, in other words, why the macro is there in the first place.
-F
Quoted 2 lines · In message <W39693260161781102304127@webmail2> you wrote:
Yes, I have read that, but u-boot somehow alters the GOT behavior provided by gcc with macros such as
GET_GOT. I am not sure why that is necessary, or, in other words, why the macro is there in the first place.
Please use a standard line length, i. e. a maximum of 70 characters per line.
We don't "alter GOT behaviour". We just use the GOT to relocate the code to a new address. This is something which has nothing to do with GCC.
Best regards,
Wolfgang Denk
Signature · 5 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de One of the advantages of being a captain is being able to ask for ad- vice without necessarily having to take it. -- Kirk, "Dagger of the Mind", stardate 2715.2