K 10 svn:author V 5 peter K 8 svn:date V 27 2003-06-13T22:25:41.000000Z K 7 svn:log V 505 When building a shared library, link it against libgcc_pic.a instead of the non-PIC libgcc.a. Linking non-pic code into a shared library is not a good thing. It happens to break amd64 at compile time, and the ppc folks want it too. The problem is mainly with C++ code, unwind-dw2.c in particular. Most of the other functions in libgcc.a are self contained so most of the time it isn't a problem. The dwarf2 unwinder is not safe though since it does make global variable references. Reviewed by: kan END