This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| 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? You should be able to use the standard ldscripts. Note, the embedded powerpc by does not link in any libraries, so you either need to use -m options for your bsp, or add the appropriate libraries/crt0 yourself.