re PR target/42818 (Static C++ linking breakage "undefined reference to ___real__Znwj" and others in libcygwin.a(_cygwin_crt0_common.o))
PR target/42818 * config/i386/cygwin.h (CXX_WRAP_SPEC_LIST): Always apply wrappers, even when linking statically, for now. From-SVN: r156105
This commit is contained in:
parent
d8fe889592
commit
907c6efdbc
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2010-01-21 Dave Korn <dave.korn.cygwin@gmail.com>
|
||||
|
||||
PR target/42818
|
||||
* config/i386/cygwin.h (CXX_WRAP_SPEC_LIST): Always apply wrappers,
|
||||
even when linking statically, for now.
|
||||
|
||||
2010-01-20 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
PR debug/42715
|
||||
|
|
|
@ -87,7 +87,7 @@ along with GCC; see the file COPYING3. If not see
|
|||
|
||||
/* To implement C++ function replacement we always wrap the cxx
|
||||
malloc-like operators. See N2800 #17.6.4.6 [replacement.functions] */
|
||||
#define CXX_WRAP_SPEC_LIST "%{!static: %{!static-libstdc++: \
|
||||
#define CXX_WRAP_SPEC_LIST " \
|
||||
--wrap _Znwj \
|
||||
--wrap _Znaj \
|
||||
--wrap _ZdlPv \
|
||||
|
@ -96,7 +96,7 @@ along with GCC; see the file COPYING3. If not see
|
|||
--wrap _ZnajRKSt9nothrow_t \
|
||||
--wrap _ZdlPvRKSt9nothrow_t \
|
||||
--wrap _ZdaPvRKSt9nothrow_t \
|
||||
}}"
|
||||
"
|
||||
|
||||
#if defined (USE_CYGWIN_LIBSTDCXX_WRAPPERS)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue