Index: gdb/testsuite/gdb.base/solib-symbol.exp |
diff --git a/gdb/testsuite/gdb.base/solib-symbol.exp b/gdb/testsuite/gdb.base/solib-symbol.exp |
index 1adb16f5335a76045b5f732a5649f0cfdafb99ca..9ffe7febd4c718d79fe3759d12ea2401f6123db4 100644 |
--- a/gdb/testsuite/gdb.base/solib-symbol.exp |
+++ b/gdb/testsuite/gdb.base/solib-symbol.exp |
@@ -1,4 +1,4 @@ |
-# Copyright 2007-2012 Free Software Foundation, Inc. |
+# Copyright 2007-2013 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 |
# the Free Software Foundation; either version 3 of the License, or |
@@ -22,12 +22,12 @@ if {[skip_shlib_tests]} { |
# Library file. |
set libname "solib-symbol-lib" |
set srcfile_lib ${srcdir}/${subdir}/${libname}.c |
-set binfile_lib ${objdir}/${subdir}/${libname}.so |
+set binfile_lib [standard_output_file ${libname}.so] |
set lib_flags [list debug ldflags=-Wl,-Bsymbolic] |
# Binary file. |
set testfile "solib-symbol-main" |
set srcfile ${srcdir}/${subdir}/${testfile}.c |
-set binfile ${objdir}/${subdir}/${testfile} |
+set binfile [standard_output_file ${testfile}] |
set bin_flags [list debug shlib=${binfile_lib}] |
if [get_compiler_info] { |