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:
parent
a3c2812e37
commit
5c586ee6b2
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ SECTIONS
|
||||||
|
|
||||||
SECTION_PROLOGUE(_RESET_SECTION_NAME,,)
|
SECTION_PROLOGUE(_RESET_SECTION_NAME,,)
|
||||||
{
|
{
|
||||||
*(.reset.*)
|
KEEP(*(.reset.*))
|
||||||
} GROUP_LINK_IN(RESET)
|
} GROUP_LINK_IN(RESET)
|
||||||
|
|
||||||
SECTION_PROLOGUE(_TEXT_SECTION_NAME,,)
|
SECTION_PROLOGUE(_TEXT_SECTION_NAME,,)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue