PPC EABI linker script

Eric Devolder ra3677@email.sps.mot.com
Mon Jun 1 11:11:00 GMT 1998


Could somebody who is using GCC configured for powerpc-eabi please share
with me their linker script? I'm coming from the 68k world where I have
the usual .test, .data and .bss; but powerpc-eabi needs other sections
for .sdata, .sbss, .sdata2, .sbss2, .got, .got2, .rodata and others.

I'd like an example of how to correctly locate these sections in the
linker file. I've seen the examples in ldscripts/elf32ppc.* but they
seem to not be appropriate for an embedded application?

Thanks in advance,

More information about the crossgcc mailing list