elf2flt: provide symbols around .init and .fini sections

This commit is contained in:
Wolfgang Thaller 2012-03-29 10:27:48 +02:00
parent fbdcbaaaf9
commit dbff29bd61

View File

@ -24,8 +24,12 @@ SECTIONS {
*(.glue_7t)
*(.glue_7)
*(.jcr)
@SYMBOL_PREFIX@__init_section = . ;
KEEP (*(.init))
@SYMBOL_PREFIX@__init_section_end = . ;
@SYMBOL_PREFIX@__fini_section = . ;
KEEP (*(.fini))
@SYMBOL_PREFIX@__fini_section_end = . ;
W_RODAT *(.rodata)
W_RODAT *(.rodata1)