elf2flt: provide symbols around .init and .fini sections
This commit is contained in:
parent
fbdcbaaaf9
commit
dbff29bd61
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue