diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 385c982c88dc38c0bf39469d2cbd3eb5c70968e5..ea60d928e8b7027f3d0da233019d65eff7195d34 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,8 @@
 2009-08-18  DJ Delorie  <dj@redhat.com>
 
+	* lib/wrapper.exp: Move load of target-libpath.exp from here...
+	* lib/gcc-defs.exp: ... to here.
+
 	* lib/wrapper.exp (${tool}_maybe_build_wrapper): Set up
 	GCC_EXEC_PREFIX before building the wrapper.
 
diff --git a/gcc/testsuite/lib/gcc-defs.exp b/gcc/testsuite/lib/gcc-defs.exp
index 53926a69a232a0a063d174057c4a6ed7052fa2b3..776456d60926b583e1e2e658af0eb1a21b72dd3c 100644
--- a/gcc/testsuite/lib/gcc-defs.exp
+++ b/gcc/testsuite/lib/gcc-defs.exp
@@ -14,6 +14,8 @@
 # along with GCC; see the file COPYING3.  If not see
 # <http://www.gnu.org/licenses/>.
 
+load_lib target-libpath.exp
+
 load_lib wrapper.exp
 
 #
diff --git a/gcc/testsuite/lib/wrapper.exp b/gcc/testsuite/lib/wrapper.exp
index fba7324ece4d8befe13286cc9a15da99e51254c2..b7f7773aac5a38afca5d0980a29e548d131186ec 100644
--- a/gcc/testsuite/lib/wrapper.exp
+++ b/gcc/testsuite/lib/wrapper.exp
@@ -16,8 +16,6 @@
 
 # This file contains GCC-specifics for status wrappers for test programs.
 
-load_lib target-libpath.exp
-
 # ${tool}_maybe_build_wrapper -- Build wrapper object if the target
 # needs it.  FILENAME is the path to the wrapper file.  If there are
 # additional arguments, they are command-line options to provide to