diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e812e5943866c68a8633d43e0cd80cdc20e95e60..1f594a335e3da2a2847aa232b2cad2fe48130e9f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2002-04-07  David S. Miller  <davem@redhat.com>
+
+	* config.gcc (sparc64-*-linux*): Add t-crtfm to tmake_file.
+
 2002-04-07  John David Anglin  <dave@hiauly1.hia.nrc.ca>
 
 	PR 5933
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 1e3b3553203316663a2ab0b9a6761862c5977c4d..360049fc3c2599a3fcab6912e89920a4f1687c5e 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -3243,7 +3243,7 @@ sparc64-*-freebsd*|ultrasparc-*-freebsd*)
 	esac
 	;;
 sparc64-*-linux*)		# 64-bit Sparc's running GNU/Linux
-	tmake_file="t-slibgcc-elf-ver t-linux sparc/t-linux64"
+	tmake_file="t-slibgcc-elf-ver t-linux sparc/t-linux64 sparc/t-crtfm"
 	tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/linux64.h"
 	extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
 	gnu_ld=yes