Re: [PATCH] arch: metag: lib: add "umoddi3.S" file for __umoddi3()

From: James Hogan
Date: Thu Dec 19 2013 - 07:17:40 EST


On 19/12/13 12:05, Chen Gang wrote:
> Use objdump to get "umoddi3.S" for __umoddi3(), the original binary
> file is "gcc-4.2.4-final/gcc/libgcc/umoddi3.o" which is generated by
> "gcc-4.2.4/gcc/libgcc2.c".
>
> The relate error with allmodconfig:
>
> MODPOST 2909 modules
> ERROR: "__umoddi3" [drivers/target/target_core_mod.ko] undefined!

_umoddi3 is a 64bit division, which should be using the proper division
functions provided by the kernel in <linux/math64.h>.

It needs fixing wherever it comes from in drivers/target/target_core_mod.ko.

Cheers
James

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/