> Peter> I don't think it's right either, but ... where would *you*
> Peter> suggest finding a __divdi3 function? In a sense libgcc is not
> Peter> really an external library, since it is part of gcc itself. I
> Peter> guess the alternative for the kernel is just not to use any
> Peter> functionality that gcc needs libgcc math functions for.
> Then you extract that single function from libgcc and put it in the
> kernel instead of linking in the entire libgcc.a
That is ld(1)'s job.
-- Dr. Horst H. von Brand mailto:firstname.lastname@example.org Departamento de Informatica Fono: +56 32 654431 Universidad Tecnica Federico Santa Maria +56 32 654239 Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to email@example.com Please read the FAQ at http://www.tux.org/lkml/