From 5dec7af1ecf5c0d483d13c8ad9cc0a13868a7c16 Mon Sep 17 00:00:00 2001 From: Marcin Bukat Date: Wed, 24 Oct 2012 14:05:39 +0200 Subject: Revert "SH gcc 4.6.3 with link-time optimization, for Archos targets" This was commited by accident, sorry. --- firmware/target/sh/system-sh.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'firmware/target/sh/system-sh.c') diff --git a/firmware/target/sh/system-sh.c b/firmware/target/sh/system-sh.c index 921d08f7b4..e054801b57 100644 --- a/firmware/target/sh/system-sh.c +++ b/firmware/target/sh/system-sh.c @@ -180,7 +180,6 @@ asm ( * Must go into the same section as the UIE() handler */ "\t.text\n" - ".global\t_UIE4\n" "_UIE4:\tbsr\t_UIE\n\tmov.l\t@r15+,r4\n" "_UIE5:\tbsr\t_UIE\n\tmov.l\t@r15+,r4\n" "_UIE6:\tbsr\t_UIE\n\tmov.l\t@r15+,r4\n" @@ -287,17 +286,13 @@ asm ( "_UIE107:\tbsr\t_UIE\n\tmov.l\t@r15+,r4\n" "_UIE108:\tbsr\t_UIE\n\tmov.l\t@r15+,r4\n" "_UIE109:\tbsr\t_UIE\n\tmov.l\t@r15+,r4\n" - "_UIE:\tmov.l\t__UIE_k,r0\n" - "jmp\t@r0\n" - "nop\n" - ".align\t4\n" - "__UIE_k:\t.long\t__UIE\n" + ); extern void UIE4(void); /* needed for calculating the UIE number */ -void _UIE (unsigned int pc) __attribute__((section(".text"))) USED_ATTR; -void _UIE (unsigned int pc) /* Unexpected Interrupt or Exception */ +void UIE (unsigned int pc) __attribute__((section(".text"))); +void UIE (unsigned int pc) /* Unexpected Interrupt or Exception */ { unsigned int n; -- cgit v1.2.3