[ion] Discard un-needed sections in DFU linker script.

Change-Id: I1c1c44675a5c1849dc4270673d305abc82d29c48
This commit is contained in:
Léa Saviot
2018-04-04 18:03:05 +02:00
parent 24dd554aee
commit cf1907ca5e

View File

@@ -38,5 +38,13 @@ SECTIONS {
*(.rodata.*)
} >RAM_BUFFER
/* For now, we do not need .bss and .data sections. */
/DISCARD/ : {
/* For now, we do not need .bss and .data sections. This allows us to simply
* skip any rt0-style initialization and jump straight into the PollAndReset
* routine. */
*(.bss)
*(.bss.*)
*(.data)
*(.data.*)
}
}