freebsd-dev/gnu
Peter Wemm a96996a182 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
2003-06-13 22:25:41 +00:00
..
lib Build/install the PIC version of libgcc (libcc_pic.a) for use by shared 2003-06-13 22:07:39 +00:00
usr.bin When building a shared library, link it against libgcc_pic.a instead of the 2003-06-13 22:25:41 +00:00
COPYING
COPYING.LIB
Makefile We haven't used this libg++ header since 1999/04/05 05:36:37. 2002-06-05 17:02:37 +00:00
Makefile.inc Avoid linting GNU contrib'ed stuff, even if the build engineer asked 2002-09-25 09:55:20 +00:00