diff options
author | hp <hp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-13 22:03:02 +0000 |
---|---|---|
committer | hp <hp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-13 22:03:02 +0000 |
commit | 539941347b041263fc8fbf3ec40f59d2666ba87b (patch) | |
tree | 067902f813ce2a89e3d66bdef4e141a78c55c9fc /libstdc++-v3 | |
parent | ac8cb22bc2061f53a338e1fedbf379c155eef558 (diff) | |
download | gcc-539941347b041263fc8fbf3ec40f59d2666ba87b.tar.gz |
* testsuite/lib/libstdc++.exp: Use gcc wrapper.exp and call
libstdc++_maybe_build_wrapper instead of using local code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87452 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/lib/libstdc++.exp | 13 |
2 files changed, 7 insertions, 11 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 83ad43020e8..e75bb689491 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2004-09-14 Hans-Peter Nilsson <hp@bitrange.com> + + * testsuite/lib/libstdc++.exp: Use gcc wrapper.exp and call + libstdc++_maybe_build_wrapper instead of using local code. + 2004-09-08 Benjamin Kosnik <bkoz@redhat.com> * config/linker-map.gnu (GLIBCXX_3.4.3): New, adjust symbol exports. diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp index 4e0d86df74a..0b3b82b887e 100644 --- a/libstdc++-v3/testsuite/lib/libstdc++.exp +++ b/libstdc++-v3/testsuite/lib/libstdc++.exp @@ -50,6 +50,7 @@ load_lib libgloss.exp load_gcc_lib target-supports.exp load_lib prune.exp load_lib dg-options.exp +load_gcc_lib wrapper.exp # Useful for debugging. Pass the name of a variable and the verbosity # threshold (number of -v's on the command line). @@ -208,17 +209,7 @@ proc libstdc++_init { testfile } { } } - if { [target_info needs_status_wrapper]!=""} { - file delete ${objdir}/testglue.o; - set gluefile ${objdir}/testglue.o; - set result [build_wrapper $gluefile]; - if { $result != "" } { - set gluefile [lindex $result 0]; - set wrap_flags [lindex $result 1]; - } else { - unset gluefile - } - } + libstdc++_maybe_build_wrapper "${objdir}/testglue.o" } # Callback from system dg-test. |