From 104a6a7ccfb7928ca5dc28c8cbe0ea231ffc45ee Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Sat, 10 Dec 2011 16:41:07 +0100 Subject: ARM: Allow to compile in thumb-2 mode This shrinks the resulting binary size by ~25%. Exceptions are still handled in arm mode, so we have to explicitely put .arm directives into the exception code. Thumb-2 mode has been tested on i.MX51 Babbage board. Signed-off-by: Sascha Hauer --- common/misc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common') diff --git a/common/misc.c b/common/misc.c index a0059c1b79..b31a45c1a4 100644 --- a/common/misc.c +++ b/common/misc.c @@ -125,3 +125,6 @@ void perror(const char *s) #endif } EXPORT_SYMBOL(perror); + +void (*do_execute)(void *func, int argc, char *argv[]); +EXPORT_SYMBOL(do_execute); -- cgit v1.2.3