diff options
author | peter <peter@FreeBSD.org> | 2003-06-13 22:25:41 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-06-13 22:25:41 +0000 |
commit | baa705794e637c095aba62373f694cbe56dc57bd (patch) | |
tree | c740315b84d7cde30df306e2b7a8814753a25673 /UPDATING | |
parent | 50a7b0b9b40d5ba0fbc3dd204728fcdb984fe27b (diff) | |
download | FreeBSD-src-baa705794e637c095aba62373f694cbe56dc57bd.zip FreeBSD-src-baa705794e637c095aba62373f694cbe56dc57bd.tar.gz |
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
Diffstat (limited to 'UPDATING')
0 files changed, 0 insertions, 0 deletions