[linux-sh:02780] Where does __sdivsi3_i4 come from?
Tue Jun 10 15:03:00 GMT 2003
On Tue, Jun 10, 2003 at 03:55:19PM +0100, Alex Bennee wrote:
> I'm currently porting the isp1161 usb driver to my SH kernel and I've
> come across a bizare symbol problem.
> When I try to insmod the compiled module I get the following error:
> email@example.com:/test# insmod hc_isp116x.o
> hc_isp116x.o: unresolved symbol __sdivsi3_i4
> I can get the line to disappear by commenting out the function call, but
> I have no idea what causes it as the function is currently NULL and
> called from three other places in the code without causing the failure.
> If looked at the .s output put asside from seeing the function call made
> I can't figure out what line of code is causing this.
> I did some grepping in the kernel and found this
> with the comment that:
> /* These symbols are generated by the compiler itself */
> So far googling hasn't enlightend me. Anyone got any ideas? Appologies
> for the gratuitous cross-posting but I'm unsure if this is a gcc or sh
It comes from libgcc. Current SH kernels (at least in 2.5) export
MontaVista Software Debian GNU/Linux Developer
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to firstname.lastname@example.org
More information about the crossgcc