This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
linking question
- From: Will Wagner <will_wagner at carallon dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Mon, 23 Feb 2009 13:53:41 +0000
- Subject: [ECOS] linking question
Hi All,
I'm interested in changing how my app links so that all the ecos functions come before my
app functions. I assume to do this I need to shift my app code into different sections ie
.text.app and .gnu.linkonce.app and then change the linker script file.
Would that work?
My next question is how to specify that I want my code in a different section. I know how
to do it by adding declarations to the source code but would like to not have to do that.
Is there an easy way of changing the sections for a file or archive?
Thanks.
Will
--
------------------------------------------------------------------------
Will Wagner will_wagner@carallon.com
Development Manager Office Tel: +44 (0)20 7371 2032
Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
------------------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss