>That's a problem because XFree86 has its own module loader for portability of >the modules. Isn't there a way to force the compiler to include such functions >statically or something?
The compiler can't do this on its own. You could pass the objects through `ld -r' to resolve references to functions in libc and libgcc, I guess. This problem occurs on ARM too, because even integer division involves a call to a function in libgcc. p.