[ECOS] Re: Problems with __attribute__((constructor ())) and gc-sections
Øyvind Harboe
oyvind.harboe@zylin.com
Wed Aug 11 20:17:00 GMT 2010
Hmmm.... I see cortexm stm32 spi is using C global
constructors.
Does this fail too or did I miss something on how to avoid
these fn's from being --gc-sections garbage collected?
static void CYGBLD_ATTRIB_C_INIT_PRI(CYG_INIT_BUS_SPI)
stm32_spi_init(void)
--
Øyvind Harboe
US toll free 1-866-980-3434 / International +47 51 63 25 00
http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
--
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