Commit:     2414b86d21dbacc53826d375c6001d31d8ebbee2
Parent:     8cb661d6a4b69734c393beeb523cbf86c915f374
Author:     Paul Mundt <[EMAIL PROTECTED]>
AuthorDate: Fri Jul 13 09:30:31 2007 +0900
Committer:  Paul Mundt <[EMAIL PROTECTED]>
CommitDate: Fri Jul 13 09:30:31 2007 +0900

    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 <[EMAIL PROTECTED]>
 arch/sh/kernel/sh_ksyms.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/arch/sh/kernel/sh_ksyms.c b/arch/sh/kernel/sh_ksyms.c
index c1cfcb9..c968dcf 100644
--- a/arch/sh/kernel/sh_ksyms.c
+++ b/arch/sh/kernel/sh_ksyms.c
@@ -78,6 +78,16 @@ DECLARE_EXPORT(__movstr);
+#if (__GNUC_MINOR__ == 2 || defined(__GNUC_STM_RELEASE__))
+ * GCC 4.2 emits these for division, as do GCC 4.1.x versions of the ST
+ * compiler which include backported patches.
+ */
 #else /* GCC 3.x */
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to