diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-04-02 09:02:40 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-04-02 09:02:40 +0000 |
commit | 8813e1654c45a24c07bb756b4565d96132075262 (patch) | |
tree | b70ef493bd2a31efaac852d2272ed1408bd32e31 /os/ports/GCC/PPC/SPC560BCxx | |
parent | 356fb1a2a03fa00622580077007622d5c5e62555 (diff) | |
download | ChibiOS-8813e1654c45a24c07bb756b4565d96132075262.tar.gz ChibiOS-8813e1654c45a24c07bb756b4565d96132075262.tar.bz2 ChibiOS-8813e1654c45a24c07bb756b4565d96132075262.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5527 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/ports/GCC/PPC/SPC560BCxx')
-rw-r--r-- | os/ports/GCC/PPC/SPC560BCxx/bam.s | 7 | ||||
-rw-r--r-- | os/ports/GCC/PPC/SPC560BCxx/ld/SPC560B44.ld | 2 | ||||
-rw-r--r-- | os/ports/GCC/PPC/SPC560BCxx/ld/SPC560B50.ld | 2 |
3 files changed, 9 insertions, 2 deletions
diff --git a/os/ports/GCC/PPC/SPC560BCxx/bam.s b/os/ports/GCC/PPC/SPC560BCxx/bam.s index e37cfaa0c..f62c854dd 100644 --- a/os/ports/GCC/PPC/SPC560BCxx/bam.s +++ b/os/ports/GCC/PPC/SPC560BCxx/bam.s @@ -31,9 +31,12 @@ /* BAM record.*/
.section .bam, "ax"
.long 0x015A0000
- .long .init
+ .long _reset_address
-.init:
+ .align 2
+ .globl _reset_address
+ .type _reset_address, @function
+_reset_address:
bl _coreinit
bl _ivinit
diff --git a/os/ports/GCC/PPC/SPC560BCxx/ld/SPC560B44.ld b/os/ports/GCC/PPC/SPC560BCxx/ld/SPC560B44.ld index 73b25bb09..2b81984d1 100644 --- a/os/ports/GCC/PPC/SPC560BCxx/ld/SPC560B44.ld +++ b/os/ports/GCC/PPC/SPC560BCxx/ld/SPC560B44.ld @@ -31,6 +31,8 @@ MEMORY ram : org = 0x40000000, len = 28k
}
+ENTRY(_reset_address)
+
/*
* Derived constants.
*/
diff --git a/os/ports/GCC/PPC/SPC560BCxx/ld/SPC560B50.ld b/os/ports/GCC/PPC/SPC560BCxx/ld/SPC560B50.ld index 56b83cfe1..7ccede017 100644 --- a/os/ports/GCC/PPC/SPC560BCxx/ld/SPC560B50.ld +++ b/os/ports/GCC/PPC/SPC560BCxx/ld/SPC560B50.ld @@ -31,6 +31,8 @@ MEMORY ram : org = 0x40000000, len = 32k
}
+ENTRY(_reset_address)
+
/*
* Derived constants.
*/
|