This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Linker script question (arm-elf)
- From: "Michael Anburaj" <embeddedeng at hotmail dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Sat, 15 May 2004 05:59:04 +0000
- Subject: [ECOS] Linker script question (arm-elf)
- Bcc:
Hi,
I have requirement in my project where I have to specify an object file
contained in a library file in my linker script.
Something like this:
MySection 0x1000 :
{
myobj.o of mylib.a (.bss, COMMON)
}
In ADS scatter map its enough to specify just the object files name. And the
linker would pull it from the linked-in libraries. I tried the same with GCC
(with it,s linker script), something like this,
ZeroISection 0x1000 :
{
myobj.o (.bss, COMMON)
}
Does not work. Even thought the linker was supplied with mylib.a, which
contains myobj.o; it still gives errors ?myobj.o not found?.
Please help me with this.
Thanks a lot,
-Mike.
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar ? get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss