summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-06-18 18:31:14 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-06-18 18:31:14 +0000
commit3e690ac60d1d525e54f80cc6ece4d16e2cd9009f (patch)
tree0e64defc1ba5c6c3cf871aaaa8952961fa69bb10
parentb3e27a80e3d7c4124b4767578d17e84e83acd3ad (diff)
downloadrockbox-3e690ac60d1d525e54f80cc6ece4d16e2cd9009f.tar.gz
rockbox-3e690ac60d1d525e54f80cc6ece4d16e2cd9009f.zip
arm/crt0.S: comment why the reset vector doesn't use absolute addressing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26929 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/arm/crt0.S7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/target/arm/crt0.S b/firmware/target/arm/crt0.S
index f52056617a..3765df9ffc 100644
--- a/firmware/target/arm/crt0.S
+++ b/firmware/target/arm/crt0.S
@@ -26,6 +26,13 @@
26 .global start 26 .global start
27start: 27start:
28 /* Exception vectors */ 28 /* Exception vectors */
29
30 /*
31 * reset vector *MUST* use relative-addressing only
32 * the MMU might not be enabled yet, and the PC might point to
33 * a memory region not present in the linked binary
34 */
35
29 b newstart 36 b newstart
30 b undef_instr_handler 37 b undef_instr_handler
31 b software_int_handler 38 b software_int_handler