sh: gcc4 support.
authorStuart Menefy <stuart.menefy@st.com>
Tue, 21 Nov 2006 02:16:57 +0000 (11:16 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 6 Dec 2006 01:45:38 +0000 (10:45 +0900)
commitf0bc814cfbc212683c882e58b3d1afec6b3e3aa3
tree8ad669003716a3c22fb43e9c2066dcc5e5e0ad2d
parent53644087a607040a56d883df612b588814a56f11
sh: gcc4 support.

This fixes up the kernel for gcc4. The existing exception handlers
needed some wrapping for pt_regs access, acessing the registers
via a RELOC_HIDE() pointer.

The strcpy() issues popped up here too, so add -ffreestanding and
kill off the symbol export.

Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Makefile
arch/sh/kernel/cpu/sh4/fpu.c
arch/sh/kernel/irq.c
arch/sh/kernel/process.c
arch/sh/kernel/sh_ksyms.c
arch/sh/kernel/signal.c
arch/sh/kernel/sys_sh.c
arch/sh/kernel/traps.c