aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/ports/e200/compilers/CW
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-11-20 16:13:18 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-11-20 16:13:18 +0000
commit4d483752a84dd9bc75b7a2624b6cdfb2c401b143 (patch)
treeb04d31d3eb4a2e60f7b6a5ff1cb74fed4cdf2493 /os/common/ports/e200/compilers/CW
parentf3e3f97c9326604a6bb1b2bd4a8661a54f1f1461 (diff)
downloadChibiOS-4d483752a84dd9bc75b7a2624b6cdfb2c401b143.tar.gz
ChibiOS-4d483752a84dd9bc75b7a2624b6cdfb2c401b143.tar.bz2
ChibiOS-4d483752a84dd9bc75b7a2624b6cdfb2c401b143.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8515 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/common/ports/e200/compilers/CW')
-rw-r--r--os/common/ports/e200/compilers/CW/crt0.s4
-rw-r--r--os/common/ports/e200/compilers/CW/vectors.s5
2 files changed, 4 insertions, 5 deletions
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