This is the mail archive of the
ecos-maintainers@sourceware.org
mailing list for the eCos project.
Re: eCos with arm eabi compiler
taiyun@sunnorth.com.cn wrote:
arm-eabi compiler's linker script has different sections from arm-elf
compiler's, e.g: .ARM.extab, .ARM.exidx and .ARM.attributes 0, these 3
sections are own in arm-eabi compiler. These sections should be added to
arm.ld, aren't they?
Yes they would want to be added.
If so, there are 2 ways to achieve this goal. One is
making direct changes to arm.ld and adding corresponding sections'
definitions. The other is setting up a new arch-eabi directory in hal/arm,
which is only for arm-eabi compiler. Which is the best?
Definitely the first is best, from what you describe. The changes are
relatively small, so a whole new package is not required.
Obviously care will be required to preserve the behaviour of existing
arm-elf toolchains.
Jifl
--
eCosCentric Limited http://www.eCosCentric.com/ The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
>>>> Visit us on stand 810 at The Embedded Systems Show 2007, NEC <<<<
>>>> Oct 17-18 Birmingham, UK http://www.edaexhibitions.com/ess/ <<<<
------["The best things in life aren't things."]------ Opinions==mine