From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Hogan Subject: Re: [PATCH] arch: metag: lib: add "umoddi3.S" file for __umoddi3() Date: Thu, 19 Dec 2013 12:17:31 +0000 Message-ID: <52B2E3DB.7010008@imgtec.com> References: <52B2E0FA.7090805@gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <52B2E0FA.7090805@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Chen Gang Cc: rostedt@goodmis.org, "linux-kernel@vger.kernel.org" , linux-metag@vger.kernel.org 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 . It needs fixing wherever it comes from in drivers/target/target_core_mod.ko. Cheers James