> I don't want the dependency on libiberty in libbfd.so. You'll have to explain this better. > Here is a hack I come up with. Definitely a hack. > It works with and without shared library enabled. Any comments? It looks extremely fragile and platform-dependent to me.