sh: Export div symbols for GCC 4.2 and ST GCC.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 13 Jul 2007 00:30:31 +0000 (09:30 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 13 Jul 2007 00:30:31 +0000 (09:30 +0900)
commit2414b86d21dbacc53826d375c6001d31d8ebbee2
tree3c3f2aaf8faadf5c40fe6ca6396f0564dac101c6
parent8cb661d6a4b69734c393beeb523cbf86c915f374
sh: Export div symbols for GCC 4.2 and ST GCC.

GCC 4.2 can emit integer variants of the FP division routines, so
these need to be exported in order to keep the modules happy.

4.1.x versions of the ST compiler have these things backported,
and so also generate these symbols (whereas vanilla gcc 4.1.x
does not), so handle the __GNUC_STM_RELEASE__ case to accomodate
updated versions of the 4.1.x toolchain.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/sh_ksyms.c