code: plan9front

Download patch

ref: e93625550dc0beb8b455246e20690ba90d2bbd04
parent: de727cdb3b617b44ec223261044b9046350e0e61
author: rodri <rgl@antares-labs.eu>
date: Sat Apr 22 16:45:41 EDT 2023

2c(1), 2l(1), tl: add thumb to the list. fix thechar: '5' → 't'

--- a/sys/man/1/2c
+++ b/sys/man/1/2c
@@ -1,6 +1,6 @@
 .TH 2C 1
 .SH NAME
-0c, 1c, 2c, 5c, 6c, 7c, 8c, kc, qc, vc \- C compilers
+0c, 1c, 2c, 5c, 6c, 7c, 8c, kc, qc, tc, vc \- C compilers
 .SH SYNOPSIS
 .B 2c
 [
@@ -53,6 +53,9 @@
 .B "qc power
 Power PC
 .TP
+.B "tc thumb
+ARM Thumb
+.TP
 .B "vc mips
 big-endian MIPS 3000 family
 .PP
@@ -72,6 +75,7 @@
 .BR 8 ,
 .BR k ,
 .BR q ,
+.BR t ,
 or
 .BR v .
 The output object files end in
--- a/sys/man/1/2l
+++ b/sys/man/1/2l
@@ -1,6 +1,6 @@
 .TH 2L 1 
 .SH NAME
-0l, 1l, 2l, 5l, 6l, 8l, kl, ql, vl \- loaders
+0l, 1l, 2l, 5l, 6l, 8l, kl, ql, tl, vl \- loaders
 .SH SYNOPSIS
 .B 2l
 [
--- a/sys/src/cmd/tl/obj.c
+++ b/sys/src/cmd/tl/obj.c
@@ -8,7 +8,7 @@
 
 char	*noname		= "<none>";
 char	symname[]	= SYMDEF;
-char	thechar		= '5';
+char	thechar		= 't';
 char	*thestring 	= "arm";
 
 /*
@@ -111,7 +111,7 @@
 	USED(argc);
 
 	if(*argv == 0) {
-		diag("usage: 5l [-options] objects");
+		diag("usage: tl [-options] objects");
 		errorexit();
 	}
 	if(!debug['9'] && !debug['U'] && !debug['B'])