diff --git a/src/cmd/5c/txt.c b/src/cmd/5c/txt.c
index 536b810302a7b3c307180e9e9927fb31c0dd6c99..a753510caa966dd5e7d5dcf5fdc885fddfae2d58 100644
--- a/src/cmd/5c/txt.c
+++ b/src/cmd/5c/txt.c
@@ -31,11 +31,17 @@
 
 #include "gc.h"
 
-LinkArch	*thelinkarch = &linkarm;
 
 int thechar = '5';
 char *thestring = "arm";
 
+LinkArch	*thelinkarch = &linkarm;
+
+void
+linkarchinit(void)
+{
+}
+
 void
 ginit(void)
 {