Re: Problems with __attribute__((constructor ())) and gc-sections

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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




[Search]     [Linux Embedded]     [U-Boot V2]     [Linux Kernel]     [Linux MIPS]     [Linux ARM]     [Linux for the Blind]     [Linux Resources]     [Photo]     [Yosemite]     [ISDN Cause Codes]     [ECOS Home]     [Site Home]

Add to Google Powered by Linux