In view of the other patch submitted to support init/fini functions for
shared libraries, I'm inclined to change this one to depend on that;
in particular it seems like we could eliminate the necessity for users
to specify the correct setup-function names. Thoughts?
I think that would be great. Can you point me to the patch you're referring to? I can convert my patch if you prefer.