summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/cortex-m/ec.lds.S4
-rw-r--r--core/cortex-m0/ec.lds.S4
-rw-r--r--core/nds32/ec.lds.S4
3 files changed, 0 insertions, 12 deletions
diff --git a/core/cortex-m/ec.lds.S b/core/cortex-m/ec.lds.S
index 6beb007dba..bdaf382a55 100644
--- a/core/cortex-m/ec.lds.S
+++ b/core/cortex-m/ec.lds.S
@@ -85,11 +85,7 @@ SECTIONS
. = ALIGN(4);
KEEP(*(.rodata.pstate))
-#ifdef SHIFT_CODE_FOR_TEST
- . = ALIGN(256);
-#else
. = ALIGN(4);
-#endif
STRINGIFY(OUTDIR/core/CORE/init.o) (.text)
*(.text*)
#ifdef CONFIG_EXTERNAL_STORAGE
diff --git a/core/cortex-m0/ec.lds.S b/core/cortex-m0/ec.lds.S
index 602374404a..429c52ae34 100644
--- a/core/cortex-m0/ec.lds.S
+++ b/core/cortex-m0/ec.lds.S
@@ -47,11 +47,7 @@ SECTIONS
. = ALIGN(4);
KEEP(*(.rodata.pstate))
-#ifdef SHIFT_CODE_FOR_TEST
- . = ALIGN(256);
-#else
. = ALIGN(4);
-#endif
STRINGIFY(OUTDIR/core/CORE/init.o) (.text)
*(.text*)
} > FLASH
diff --git a/core/nds32/ec.lds.S b/core/nds32/ec.lds.S
index 4f217d66b3..0d91c6d6e4 100644
--- a/core/nds32/ec.lds.S
+++ b/core/nds32/ec.lds.S
@@ -32,11 +32,7 @@ SECTIONS
. = ALIGN(4);
__version_struct_offset = .;
KEEP(*(.rodata.ver))
-#ifdef SHIFT_CODE_FOR_TEST
- . = ALIGN(256);
-#else
. = ALIGN(4);
-#endif
KEEP(STRINGIFY(OUTDIR/core/CORE/init.o) (.text.vectirq))
KEEP(STRINGIFY(OUTDIR/core/CORE/init.o) (.text))
*(.text*)