libstdc++.exp: Use gcc wrapper.exp and call libstdc++_maybe_build_wrapper instead of using...

* testsuite/lib/libstdc++.exp: Use gcc wrapper.exp and call
	libstdc++_maybe_build_wrapper instead of using local code.

From-SVN: r87452
This commit is contained in:
Hans-Peter Nilsson 2004-09-13 22:03:02 +00:00 committed by Hans-Peter Nilsson
parent 8800e5337a
commit 90c609e51a
2 changed files with 7 additions and 11 deletions

View File

@ -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.

View File

@ -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.