[ECOS] linking question

Will Wagner will_wagner@carallon.com
Mon Feb 23 13:55:00 GMT 2009

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?


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

More information about the Ecos-discuss mailing list