From 3e690ac60d1d525e54f80cc6ece4d16e2cd9009f Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Fri, 18 Jun 2010 18:31:14 +0000 Subject: 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 --- firmware/target/arm/crt0.S | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'firmware') 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 -- cgit v1.2.3