OSDN Git Service

* configure.host (abi_baseline_subdir_switch): Describe.
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / libstdc++-abi / abi.exp
index fd892a0..eea39cf 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2005, 2009 Free Software Foundation, Inc.
+# Copyright (C) 2005, 2009, 2010, 2011 Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -24,7 +24,7 @@ if { [string match "*-*-darwin*" $target_triplet] } {
     set lib $blddir/src/.libs/libstdc++.so
 }
 
-set baseline_subdir "[eval exec $cxx --print-multi-dir]"
+set baseline_subdir "[eval exec $cxx $baseline_subdir_switch]"
 
 # Build the support objects.
 v3-build_support
@@ -47,7 +47,7 @@ if ![file exists $baseline_file] {
 send_log "Checking $lib against $baseline_file\n"
 
 # Figure out what symbols are defined by the active build of the library.
-remote_exec "build" "$srcdir/../scripts/extract_symvers" \
+remote_exec "build" "$objdir/../scripts/extract_symvers" \
     [list $lib "current_symbols.txt"]
 
 # Build the abi_check program.
@@ -61,4 +61,4 @@ remote_download "target" "current_symbols.txt" "current_symbols.txt"
 set result [${tool}_load "./abi_check" \
                [list "--check-verbose" "current_symbols.txt" \
                     "baseline_symbols.txt"]]
-[lindex $result 0] "abi_check"
+[lindex $result 0] "libstdc++-abi/abi_check"