aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/startup/e200/compilers/GCC/ld/rules_z4.ld
diff options
context:
space:
mode:
Diffstat (limited to 'os/common/startup/e200/compilers/GCC/ld/rules_z4.ld')
-rw-r--r--os/common/startup/e200/compilers/GCC/ld/rules_z4.ld24
1 files changed, 12 insertions, 12 deletions
diff --git a/os/common/startup/e200/compilers/GCC/ld/rules_z4.ld b/os/common/startup/e200/compilers/GCC/ld/rules_z4.ld
index bb4c6ecb3..cda44ab1d 100644
--- a/os/common/startup/e200/compilers/GCC/ld/rules_z4.ld
+++ b/os/common/startup/e200/compilers/GCC/ld/rules_z4.ld
@@ -23,13 +23,13 @@ ENTRY(_reset_address)
SECTIONS
{
. = ORIGIN(flash);
- .boot0 : ALIGN(16) SUBALIGN(16)
+ .boot0 : ALIGN(16)
{
__ivpr_base__ = .;
KEEP(*(.boot))
} > flash
- .boot1 : ALIGN(16) SUBALIGN(16)
+ .boot1 : ALIGN(16)
{
KEEP(*(.handlers))
KEEP(*(.crt0))
@@ -38,7 +38,7 @@ SECTIONS
KEEP(*(.vectors))
} > flash
- constructors : ALIGN(4) SUBALIGN(4)
+ constructors : ALIGN(4)
{
PROVIDE(__init_array_start = .);
KEEP(*(SORT(.init_array.*)))
@@ -46,7 +46,7 @@ SECTIONS
PROVIDE(__init_array_end = .);
} > flash
- destructors : ALIGN(4) SUBALIGN(4)
+ destructors : ALIGN(4)
{
PROVIDE(__fini_array_start = .);
KEEP(*(.fini_array))
@@ -54,21 +54,21 @@ SECTIONS
PROVIDE(__fini_array_end = .);
} > flash
- .text_vle : ALIGN(16) SUBALIGN(16)
+ .text_vle : ALIGN(16)
{
*(.text_vle)
*(.text_vle.*)
*(.gnu.linkonce.t_vle.*)
} > flash
- .text : ALIGN(16) SUBALIGN(16)
+ .text : ALIGN(16)
{
*(.text)
*(.text.*)
*(.gnu.linkonce.t.*)
} > flash
- .rodata : ALIGN(16) SUBALIGN(16)
+ .rodata : ALIGN(16)
{
*(.glue_7t)
*(.glue_7)
@@ -78,7 +78,7 @@ SECTIONS
*(.rodata1)
} > flash
- .sdata2 : ALIGN(16) SUBALIGN(16)
+ .sdata2 : ALIGN(16)
{
__sdata2_start__ = . + 0x8000;
*(.sdata2)
@@ -99,12 +99,12 @@ SECTIONS
*(.eh_frame)
} > flash
- .romdata : ALIGN(16) SUBALIGN(16)
+ .romdata : ALIGN(16)
{
__romdata_start__ = .;
} > flash
- .stacks : ALIGN(16) SUBALIGN(16)
+ .stacks (NOLOAD) : ALIGN(16)
{
. = ALIGN(8);
__irq_stack_base__ = .;
@@ -133,7 +133,7 @@ SECTIONS
__data_end__ = .;
} > ram
- .sbss :
+ .sbss (NOLOAD) :
{
__bss_start__ = .;
*(.sbss)
@@ -142,7 +142,7 @@ SECTIONS
*(.scommon)
} > ram
- .bss :
+ .bss (NOLOAD) :
{
*(.bss)
*(.bss.*)