ldascript

3 views
Skip to first unread message

James

unread,
May 3, 2008, 4:57:43 AM5/3/08
to Virtual Cogs
Hi,

I am having trouble declaring some buffers that are largish, coulpe
hundred K. The camera application stops working and then if I remove
the declaration it works again.

I assume I have to modify the ldascript in some way. I am looking for
docs on that

This link was posted on this list but I get an invalid link from it.
http://www.gnu.org/software/binutils/manual/ld-2.9.1/html_mono/ld.html

How do I increase the available space for my application and where do
I find info on the ldascript.

Thanks,
James


Dan Foisy

unread,
May 3, 2008, 8:36:46 PM5/3/08
to virtu...@googlegroups.com
James,

Some of this was answered in my response to your previous question.
More info on linker scripts can be found at
http://sourceware.org/binutils/docs-2.18/ld/index.html

Note: any space not being used by your program code, static variables,
stack, etc can be used for your purposes - no need to tell the linker
(though you certainly can if you want to - has some advantages in that
the linker can verify that your buffers and your code have enough space
to coexist in RAM, but again, not essential to do).

Dan

--
Daniel Foisy
Virtual Cogs Embedded Systems Inc.
Unit 4, 5694 Highway 7 East, Suite 311
Markham, Ontario, Canada L3P 1B4
www.virtualcogs.com
416-238-2231

"Your future is modular"

Reply all
Reply to author
Forward
0 new messages