summaryrefslogtreecommitdiff
path: root/core/nds32/ec.lds.S
diff options
context:
space:
mode:
Diffstat (limited to 'core/nds32/ec.lds.S')
-rw-r--r--core/nds32/ec.lds.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/nds32/ec.lds.S b/core/nds32/ec.lds.S
index 84e08d34bc..f66412cd6d 100644
--- a/core/nds32/ec.lds.S
+++ b/core/nds32/ec.lds.S
@@ -22,7 +22,7 @@ MEMORY
SECTIONS
{
.text : {
- OUTDIR/core/CORE/init.o (.text.vecttable)
+ KEEP(OUTDIR/core/CORE/init.o (.text.vecttable))
. = ALIGN(4);
__version_struct_offset = .;
KEEP(*(.rodata.ver))
@@ -31,8 +31,8 @@ SECTIONS
#else
. = ALIGN(4);
#endif
- OUTDIR/core/CORE/init.o (.text.vectirq)
- OUTDIR/core/CORE/init.o (.text)
+ KEEP(OUTDIR/core/CORE/init.o (.text.vectirq))
+ KEEP(OUTDIR/core/CORE/init.o (.text))
*(.text*)
#ifdef COMPILE_FOR_RAM
} > IRAM
@@ -48,7 +48,7 @@ SECTIONS
. = ALIGN(4);
__irqhandler = .;
- OUTDIR/core/CORE/init.o (.rodata.vecthandlers)
+ KEEP(OUTDIR/core/CORE/init.o (.rodata.vecthandlers))
. = ALIGN(4);
__cmds = .;