diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-06-18 18:31:14 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-06-18 18:31:14 +0000 |
commit | 3e690ac60d1d525e54f80cc6ece4d16e2cd9009f (patch) | |
tree | 0e64defc1ba5c6c3cf871aaaa8952961fa69bb10 /firmware/target/arm/crt0.S | |
parent | b3e27a80e3d7c4124b4767578d17e84e83acd3ad (diff) |
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
Diffstat (limited to 'firmware/target/arm/crt0.S')
-rw-r--r-- | firmware/target/arm/crt0.S | 7 |
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 @@ .global start start: /* Exception vectors */ + + /* + * reset vector *MUST* use relative-addressing only + * the MMU might not be enabled yet, and the PC might point to + * a memory region not present in the linked binary + */ + b newstart b undef_instr_handler b software_int_handler |