diff options
| author | tanek liang <[email protected]> | 2017-07-01 15:59:23 +0800 |
|---|---|---|
| committer | tanek liang <[email protected]> | 2017-07-01 15:59:23 +0800 |
| commit | 165868c46cd990078d4f92eb304af1325741dcb4 (patch) | |
| tree | f6166db0b701ddd12f4ab849f708845822a262c4 | |
| parent | a2d56fb5d92a9d23c1818e1af270e5804cf9e8f4 (diff) | |
[bsp] insert keep section .rti_fn* in GCC link file
| -rw-r--r-- | bsp/frdm-k64f/K64FN1M0xxx12.ld | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bsp/frdm-k64f/K64FN1M0xxx12.ld b/bsp/frdm-k64f/K64FN1M0xxx12.ld index 91516c7446..099edca167 100644 --- a/bsp/frdm-k64f/K64FN1M0xxx12.ld +++ b/bsp/frdm-k64f/K64FN1M0xxx12.ld @@ -88,6 +88,13 @@ SECTIONS __vsymtab_end = .; . = ALIGN(4); + /* section information for initial. */ + . = ALIGN(4); + __rt_init_start = .; + KEEP(*(SORT(.rti_fn*))) + __rt_init_end = .; + . = ALIGN(4); + . = ALIGN(4); _etext = .; |
