]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sh: import missing private libraries from Linux 3.19
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Tue, 10 Feb 2015 12:37:01 +0000 (21:37 +0900)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:05:50 +0000 (14:05 +0200)
commit224db444a2a50f6c7d3727c6e4df4450770213ce
tree3448875ebb00ac39f5976818b975dc1159b7b4d3
parent63605c40c0d3f8e2cacc3587c212ea81de8e4a6f
sh: import missing private libraries from Linux 3.19

SuperH is supposed to support the Private Library feature, but it is
actually not working.

If CONFIG_USE_PRIVATE_LIBGCC is enabled, the build fails for the
undefined references to '__sdivsi3_i4i' and '__udivsi3_i4i'.

To fix this error, import missing libraries from Linux 3.19
and adjust them for U-Boot:
  - Remove "#include <linux/module.h>" and "EXPORT_SYMBOL(...)"
  - Use SPDX-License-Identifier
  - Remove white space

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
arch/sh/lib/Makefile
arch/sh/lib/ashrdi3.c [new file with mode: 0644]
arch/sh/lib/udiv_qrnnd.S [new file with mode: 0644]
arch/sh/lib/udivsi3.S [new file with mode: 0644]
arch/sh/lib/udivsi3_i4i-Os.S [new file with mode: 0644]
arch/sh/lib/udivsi3_i4i.S [new file with mode: 0644]