diff options
Diffstat (limited to 'arch/sh')
-rw-r--r-- | 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 c1cfcb9f047c..c968dcf09eee 100644 --- a/arch/sh/kernel/sh_ksyms.c +++ b/arch/sh/kernel/sh_ksyms.c | |||
@@ -78,6 +78,16 @@ DECLARE_EXPORT(__movstr); | |||
78 | DECLARE_EXPORT(__movmem_i4_even); | 78 | DECLARE_EXPORT(__movmem_i4_even); |
79 | DECLARE_EXPORT(__movmem_i4_odd); | 79 | DECLARE_EXPORT(__movmem_i4_odd); |
80 | DECLARE_EXPORT(__movmemSI12_i4); | 80 | DECLARE_EXPORT(__movmemSI12_i4); |
81 | |||
82 | #if (__GNUC_MINOR__ == 2 || defined(__GNUC_STM_RELEASE__)) | ||
83 | /* | ||
84 | * GCC 4.2 emits these for division, as do GCC 4.1.x versions of the ST | ||
85 | * compiler which include backported patches. | ||
86 | */ | ||
87 | DECLARE_EXPORT(__sdivsi3_i4i); | ||
88 | DECLARE_EXPORT(__udiv_qrnnd_16); | ||
89 | DECLARE_EXPORT(__udivsi3_i4i); | ||
90 | #endif | ||
81 | #else /* GCC 3.x */ | 91 | #else /* GCC 3.x */ |
82 | DECLARE_EXPORT(__movstr_i4_even); | 92 | DECLARE_EXPORT(__movstr_i4_even); |
83 | DECLARE_EXPORT(__movstr_i4_odd); | 93 | DECLARE_EXPORT(__movstr_i4_odd); |