diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2007-01-24 15:03:40 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2007-01-24 15:03:40 +0000 |
commit | 9e4515539baf536a4ed48c453c955cae0e4b0f03 (patch) | |
tree | c35279ea30a247aedbe505156e1d1de4aa065832 /libstdc++-v3 | |
parent | f767122b2eba529a485129386dc41ecfcc07cce4 (diff) | |
download | gcc-9e4515539baf536a4ed48c453c955cae0e4b0f03.zip gcc-9e4515539baf536a4ed48c453c955cae0e4b0f03.tar.gz gcc-9e4515539baf536a4ed48c453c955cae0e4b0f03.tar.bz2 |
PR libstdc++/29722 continued
2007-01-24 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/29722 continued
* testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add
libsupc++ library directory.
* testsuite/abi/cxx_runtime_only_linkage.cc: Remove hard-coded
path specification.
From-SVN: r121117
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 8 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/abi/cxx_runtime_only_linkage.cc | 4 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/lib/libstdc++.exp | 9 |
3 files changed, 18 insertions, 3 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 56f746a..ad5ab8d 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,11 @@ +2007-01-24 Benjamin Kosnik <bkoz@redhat.com> + + PR libstdc++/29722 continued + * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add + libsupc++ library directory. + * testsuite/abi/cxx_runtime_only_linkage.cc: Remove hard-coded + path specification. + 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com> * libsupc++/eh_personality.cc (parse_lsda_header, check_exception_spec, diff --git a/libstdc++-v3/testsuite/abi/cxx_runtime_only_linkage.cc b/libstdc++-v3/testsuite/abi/cxx_runtime_only_linkage.cc index 7e6409b..30e5384 100644 --- a/libstdc++-v3/testsuite/abi/cxx_runtime_only_linkage.cc +++ b/libstdc++-v3/testsuite/abi/cxx_runtime_only_linkage.cc @@ -1,6 +1,6 @@ // { dg-do link } -// { dg-options "-x c -L../libsupc++/.libs -lsupc++" } -// Copyright (C) 2006 Free Software Foundation, Inc. +// { dg-options "-x c -lsupc++" } +// Copyright (C) 2006, 2007 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp index 4030e68..9308fa5 100644 --- a/libstdc++-v3/testsuite/lib/libstdc++.exp +++ b/libstdc++-v3/testsuite/lib/libstdc++.exp @@ -1,6 +1,6 @@ # libstdc++ "tool init file" for DejaGNU -# Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 +# Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 # Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify @@ -359,6 +359,7 @@ proc v3_target_compile_as_c { source dest type options } { global wrap_flags global includes global flags_file + global blddir if { [target_info needs_status_wrapper] != "" && [info exists gluefile] } { lappend options "libs=${gluefile}" @@ -383,8 +384,14 @@ proc v3_target_compile_as_c { source dest type options } { set includesbase "${comp_base_dir}/include/c++/${version}" set includestarget "${includesbase}/${machine}" set cc_final [concat $cc_final "-I$includesbase -I$includestarget"] + + set libsup "${comp_base_dir}/lib" + } else { + set libsup "${blddir}/libsupc++/.libs" } + set cc_final [concat $cc_final "-L$libsup"] + lappend options "compiler=$cc_final" lappend options "timeout=600" |