diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-11-24 08:57:19 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-11-24 08:57:19 +0000 |
commit | e12692b914e21d9628fd967c743b5eb5c4809212 (patch) | |
tree | 28d3c4ab6b1ebacf0d03dc03bdae83cf0dcecea0 /os/common/ports/e200/compilers | |
parent | 715d641750fa46a75607c9339078e4ff256b17af (diff) | |
download | ChibiOS-e12692b914e21d9628fd967c743b5eb5c4809212.tar.gz ChibiOS-e12692b914e21d9628fd967c743b5eb5c4809212.tar.bz2 ChibiOS-e12692b914e21d9628fd967c743b5eb5c4809212.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8523 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/common/ports/e200/compilers')
-rw-r--r-- | os/common/ports/e200/compilers/CW/unhandled.s | 2 | ||||
-rw-r--r-- | os/common/ports/e200/compilers/GCC/crt0.s | 3 | ||||
-rw-r--r-- | os/common/ports/e200/compilers/GCC/vectors.s | 19 |
3 files changed, 20 insertions, 4 deletions
diff --git a/os/common/ports/e200/compilers/CW/unhandled.s b/os/common/ports/e200/compilers/CW/unhandled.s index 8efb51dac..c129a92ed 100644 --- a/os/common/ports/e200/compilers/CW/unhandled.s +++ b/os/common/ports/e200/compilers/CW/unhandled.s @@ -56,7 +56,7 @@ _IVOR12: _IVOR13:
_IVOR14:
_IVOR15:
- .global _unhandled_irq
+ .global _unhandled_exception
_unhandled_exception:
se_b _unhandled_exception
diff --git a/os/common/ports/e200/compilers/GCC/crt0.s b/os/common/ports/e200/compilers/GCC/crt0.s index d035e4660..92a8642cb 100644 --- a/os/common/ports/e200/compilers/GCC/crt0.s +++ b/os/common/ports/e200/compilers/GCC/crt0.s @@ -224,21 +224,18 @@ _boot_address: /* Default main exit code, infinite loop.*/
.weak __default_exit
- .globl __default_exit
.type __default_exit, @function
__default_exit:
b __default_exit
/* Default early initialization code, none.*/
.weak __early_init
- .globl __early_init
.type __early_init, @function
__early_init:
blr
/* Default late initialization code, none.*/
.weak __late_init
- .globl __late_init
.type __late_init, @function
__late_init:
blr
diff --git a/os/common/ports/e200/compilers/GCC/vectors.s b/os/common/ports/e200/compilers/GCC/vectors.s index d04c42c0c..e142f1150 100644 --- a/os/common/ports/e200/compilers/GCC/vectors.s +++ b/os/common/ports/e200/compilers/GCC/vectors.s @@ -799,6 +799,15 @@ _vectors: #if PPC_NUM_VECTORS > 1008
.long vector1008, vector1009, vector1010, vector1011
#endif
+#if PPC_NUM_VECTORS > 1012
+ .long vector1012, vector1013, vector1014, vector1015
+#endif
+#if PPC_NUM_VECTORS > 1016
+ .long vector1016, vector1017, vector1018, vector1019
+#endif
+#if PPC_NUM_VECTORS > 1020
+ .long vector1020, vector1021, vector1022, vector1023
+#endif
.text
.align 2
@@ -1560,6 +1569,15 @@ _vectors: #if PPC_NUM_VECTORS > 1008
.weak vector1008, vector1009, vector1010, vector1011
#endif
+#if PPC_NUM_VECTORS > 1012
+ .weak vector1012, vector1013, vector1014, vector1015
+#endif
+#if PPC_NUM_VECTORS > 1016
+ .weak vector1016, vector1017, vector1018, vector1019
+#endif
+#if PPC_NUM_VECTORS > 1020
+ .weak vector1020, vector1021, vector1022, vector1023
+#endif
vector0:
vector1:
@@ -2585,6 +2603,7 @@ vector1020: vector1021:
vector1022:
vector1023:
+ b _unhandled_irq
.weak _unhandled_irq
.type _unhandled_irq, @function
|