diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index d9b35f6eed1..2e12b778702 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2002-10-02  Stephen Clarke <stephen.clarke@superh.com>
+	* ld-sh/sh64/cmpct1.sd : Fix linked file name.
+	* ld-sh/sh64/crange3.dd: Likewise.
+	
 2002-10-01  Jakub Jelinek  <jakub@redhat.com>
 
 	* ld-i386/i386.exp: Add tlsindntpoff test.
diff --git a/ld/testsuite/ld-sh/sh64/cmpct1.sd b/ld/testsuite/ld-sh/sh64/cmpct1.sd
index ab6dfb9c95d..45cdfc569c9 100644
--- a/ld/testsuite/ld-sh/sh64/cmpct1.sd
+++ b/ld/testsuite/ld-sh/sh64/cmpct1.sd
@@ -1,5 +1,5 @@
 
-tmpdir/linked:     file format elf32-sh64
+.*:     file format elf32-sh64
 
 Contents of section \.text:
  1000 c7000009 0009ea2a                    .*
diff --git a/ld/testsuite/ld-sh/sh64/crange3.dd b/ld/testsuite/ld-sh/sh64/crange3.dd
index 416ad6ce0c0..135f1c90970 100644
--- a/ld/testsuite/ld-sh/sh64/crange3.dd
+++ b/ld/testsuite/ld-sh/sh64/crange3.dd
@@ -1,5 +1,5 @@
 
-tmpdir/linked:     file format elf32-sh64
+.*:     file format elf32-sh64
 
 Disassembly of section .init: