I've been working on fixing ld's --gc-sections, and I think you could enable "Joy and bunny rabbits!" in libstdc++-v3/acinclude.m4. Also, if there are further problems with ld --gc-sections, I'd like to hear about them.. -- Alan Modra IBM OzLabs - Linux Technology Centre