ensure g_dfu is linked to start of RAM when building DFU loader

This commit is contained in:
Harald Welte
2017-02-28 00:50:37 +01:00
parent db30727514
commit 65cca7cccc
4 changed files with 7 additions and 1 deletions

View File

@@ -109,6 +109,8 @@ SECTIONS
{
. = ALIGN(4);
_srelocate = .;
/* we must make sure the .dfudata is linked to start of RAM */
*(.dfudata .dfudata.*);
*(.ramfunc .ramfunc.*);
*(.data .data.*);
. = ALIGN(4);