aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.lcf7
-rw-r--r--demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.mcpbin61981 -> 61981 bytes
-rw-r--r--os/common/ports/e200/compilers/CW/crt0.s4
-rw-r--r--os/common/ports/e200/compilers/CW/vectors.s5
-rw-r--r--os/common/ports/e200/devices/SPC560Dxx/boot_cw.s6
-rw-r--r--os/rt/ports/e200/compilers/CW/ivor.s2
6 files changed, 12 insertions, 12 deletions
diff --git a/demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.lcf b/demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.lcf
index b79240037..298121794 100644
--- a/demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.lcf
+++ b/demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.lcf
@@ -45,16 +45,15 @@ SECTIONS
KEEP(*(.boot))
}
- .handlers ALIGN(4): {
+ .handlers (VLECODE) ALIGN(4): {
KEEP(*(.handlers))
}
- .crt0 ALIGN(4): {
+ .crt0 (VLECODE) ALIGN(4): {
*(.crt0)
}
.init: {}
-
.init_vle (VLECODE) ALIGN(4):
{
*(.init)
@@ -66,7 +65,7 @@ SECTIONS
KEEP(*(.vectors))
}
- .ivors ALIGN(0x1000):
+ .ivors (VLECODE) ALIGN(0x1000):
{
__ivpr_base__ = .;
KEEP(*(.ivors))
diff --git a/demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.mcp b/demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.mcp
index b01513018..b9c560a16 100644
--- a/demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.mcp
+++ b/demos/SPC5/RT-SPC560D-EVB/cw/ch/ch.mcp
Binary files differ
diff --git a/os/common/ports/e200/compilers/CW/crt0.s b/os/common/ports/e200/compilers/CW/crt0.s
index 057bdcd4c..33f6996bb 100644
--- a/os/common/ports/e200/compilers/CW/crt0.s
+++ b/os/common/ports/e200/compilers/CW/crt0.s
@@ -105,8 +105,8 @@
.extern __fini_array_end
.extern main
- .section .crt0, 16
- .align 4
+ .section .crt0, text_vle
+ .align 16
.globl _boot_address
.type _boot_address, @function
_boot_address:
diff --git a/os/common/ports/e200/compilers/CW/vectors.s b/os/common/ports/e200/compilers/CW/vectors.s
index 7d0592f5b..f6c11b576 100644
--- a/os/common/ports/e200/compilers/CW/vectors.s
+++ b/os/common/ports/e200/compilers/CW/vectors.s
@@ -38,8 +38,7 @@
handler only. In order to declare an interrupt handler just create
a function withe the same name of a vector, the symbol will
override the weak symbol declared here.*/
- .section .vectors, 16
- .align 16
+ .section .vectors
.globl _vectors
_vectors:
.long vector0, vector1, vector2, vector3
@@ -800,7 +799,7 @@ _vectors:
.long vector1008, vector1009, vector1010, vector1011
#endif
-/* .section .text, 16*/
+ .section .text_vle
.align 16
.weak vector0, vector1, vector2, vector3
diff --git a/os/common/ports/e200/devices/SPC560Dxx/boot_cw.s b/os/common/ports/e200/devices/SPC560Dxx/boot_cw.s
index a5a8a69ec..888ef3d5c 100644
--- a/os/common/ports/e200/devices/SPC560Dxx/boot_cw.s
+++ b/os/common/ports/e200/devices/SPC560Dxx/boot_cw.s
@@ -154,7 +154,8 @@ _ivinit:
se_blr
- .section .ivors, 16
+ .section .ivors, text_vle
+ .align 16
.globl IVORS
IVORS:
e_b _IVOR0
@@ -189,7 +190,8 @@ IVORS:
.align 16
e_b _IVOR15
- .section .handlers, 16
+ .section .handlers, text_vle
+ .align 16
.weak _IVOR0, _IVOR1, _IVOR2, _IVOR3, _IVOR4, _IVOR5
.weak _IVOR6, _IVOR7, _IVOR8, _IVOR9, _IVOR10, _IVOR11
.weak _IVOR12, _IVOR13, _IVOR14, _IVOR15
diff --git a/os/rt/ports/e200/compilers/CW/ivor.s b/os/rt/ports/e200/compilers/CW/ivor.s
index ce1f79cc1..d7cb9b6da 100644
--- a/os/rt/ports/e200/compilers/CW/ivor.s
+++ b/os/rt/ports/e200/compilers/CW/ivor.s
@@ -58,7 +58,7 @@
.extern chSchDoReschedule
.extern chSysTimerHandlerI
- .section .handlers, 16
+ .section .handlers, text_vle
#if PPC_USE_VLE == TRUE