Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Linker script question (arm-elf)

2004-05-15 by Michael Anburaj

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 \ufffdmyobj.o not found\ufffd.


Please help me with this.

Thanks a lot,
-Mike.





	
		
__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.