Why is all of libc_nonshared.a included with --whole-archive into every .so linked? Shouldn't it come after --no-whole-archive and link in only the modules needed by that .so? It seems pretty wrong that e.g. libm.so has a local definition of __mknod and an undefined dynamic symbol reference for __xmknod.