]> git.baikalelectronics.ru Git - kernel.git/commit
sh: fix LIBGCC
authorAdrian Bunk <bunk@kernel.org>
Fri, 1 Aug 2008 22:13:44 +0000 (01:13 +0300)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 1 Aug 2008 22:23:31 +0000 (07:23 +0900)
commit278f112ca4003c086ddc3d2b590d3daa32a39827
tree778101ba20e410c4d2c1b98e6a1c332a71d7b768
parent8a55a21579e3da758c8b9d6eabc2009558e5fa20
sh: fix LIBGCC

Commit a986d13cf90aef6ac9c720a018cf639ca0d9572b
(sh: migrate to arch/sh/include/) moved KBUILD_CFLAGS
(which is used by LIBGCC) below LIBGCC, causing build
errors like the following:

<--  snip  -->

...
  LD      .tmp_vmlinux1
arch/sh/kernel/built-in.o: In function `module_clk_recalc':
clock-sh4.c:(.text+0x80f0): undefined reference to `__udivsi3_i4i'
...
make[1]: *** [.tmp_vmlinux1] Error 1

<--  snip  -->

Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Makefile