nios2: linker.ld: ensure reset code isn't discarded

This isn't directly referenced by other code in the binary,
it just sits at a magic memory address. Make sure gc-sections
doesn't throw it away.

Change-Id: I1c00a163dbf2eb4866ebadc7f1d70bcc6845b8d1
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2016-06-17 11:44:51 -07:00 committed by Inaky Perez-Gonzalez
commit 5c586ee6b2

View file

@ -89,7 +89,7 @@ SECTIONS
SECTION_PROLOGUE(_RESET_SECTION_NAME,,)
{
*(.reset.*)
KEEP(*(.reset.*))
} GROUP_LINK_IN(RESET)
SECTION_PROLOGUE(_TEXT_SECTION_NAME,,)