[PATCH]: Update gcc.1 man page for 68HCx port.

Stephane Carrez Stephane.Carrez@worldnet.fr
Sun Aug 6 07:20:00 GMT 2000


Hi!

The following patch updates the manual page to document the 68hc11 options.

Can you integrate it?

Thanks,
	Stephane

ChangeLog for gcc/ChangeLog

2000-08-06  Stephane Carrez  <Stephane.Carrez@worldnet.fr>

	* gcc.1: Document 68hc11 specific options.
diff -Nrup --exclude-from=gcc-exclude.lst /src/gnu/cygnus/gcc/gcc/gcc.1 gcc/gcc/gcc.1
--- /src/gnu/cygnus/gcc/gcc/gcc.1	Wed May 17 10:15:25 2000
+++ gcc/gcc/gcc.1	Sun Jun 11 19:50:52 2000
@@ -330,6 +330,14 @@ in the following sections.
 \-mshort
 \-msoft\-float
 .Sp
+.I M68hc1x\ Options
+.br
+\-m68hc11
+\-m68hc12
+\-mshort
+\-msoft\-reg\-count \fInum\fP
+\-mauto-incdec
+.Sp
 .I VAX Options
 .br
 \-mg
@@ -2874,6 +2882,35 @@ The \c
 .B rtd\c
 \& instruction is supported by the 68010 and 68020
 processors, but not by the 68000.
+.PP
+These `\|\c
+.B \-m\c
+\&\|' options are defined for the Motorola 68HC11 and 68HC12:
+.TP
+.B \-m68hc11
+Generate output for a 68HC11.  This is the default when the compiler
+is configured for a 68HC11-based target.
+.TP
+.B \-m68hc12
+Generate output for a 68HC12.  This is the default when the compiler
+is configured for a 68HC12-based target.
+.TP
+.B \-mshort
+Consider type \c
+.B int\c
+\& to be 16 bits wide, like \c
+.B short int\c
+\&.
+.TP
+.B \-msoft-reg-count=\fInum\fP
+Specify the number of pseudo-soft registers which are used for the
+code generation.  The maximum number is 32.  Using more pseudo-soft
+register may or may not result in better code depending on the program.
+The default is 4 for 68HC11 and 2 for 68HC12.
+.TP
+.B \-mauto-incdec
+Enable the use of 68HC12 pre and post auto-increment and auto-decrement
+addressing modes.
 .PP
 These `\|\c
 .B \-m\c


More information about the Gcc-patches mailing list