http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54601
--- Comment #10 from Perry Smith <pedzsan at gmail dot com> 2013-01-31 05:50:00 UTC --- Can you keep the libraries like you have them with the functions and private structures for the functions coming from the library but just put the definition of __dso_handle in crt?