Global Offset Table usage on powerpc ?

Sebastien DOUHERET
Fri Oct 14 07:46:00 GMT 2005

I try to use -fPIC -ffixed-r14 to use Global Offset Table on a powerpc target (MPC8247), but i don't know how GOT works ;-(
I would like to compile a tiny boot and application that run in Flash area (Read-Only).
I think to lock stack in Data cache, and use internals DPRAMs of MPC8247 (4KB x 2) for .sdata, .sdata2, .data, .bss and .sbss sections.
Does anyone have a good web link or simple example about GOT usage (initialization, relocation, ...) with a powerpc ?


Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list