re PR target/5362 (Undocumented target options)
authorNick Clifton <nickc@redhat.com>
Wed, 11 Mar 2009 16:08:41 +0000 (16:08 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Wed, 11 Mar 2009 16:08:41 +0000 (16:08 +0000)
        PR target/5362
        * config/fr30/fr30.opt: Document the -mno-lsim option.
        * doc/invoke.texi: Add descriptions of the FR30's -msmall-model
        and -mno-lsim options.

From-SVN: r144780

gcc/ChangeLog
gcc/config/fr30/fr30.opt
gcc/doc/invoke.texi

index 1241708..de7cae4 100644 (file)
@@ -1,3 +1,10 @@
+2009-03-11  Nick Clifton  <nickc@redhat.com>
+
+       PR target/5362
+       * config/fr30/fr30.opt: Document the -mno-lsim option.
+       * doc/invoke.texi: Add descriptions of the FR30's -msmall-model
+       and -mno-lsim options.
+
 2009-03-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
 
        * fold-const.c (fold_comparison): Only call fold_inf_compare
index ac8567d..da6148a 100644 (file)
@@ -1,6 +1,6 @@
 ; Options for the FR30 port of the compiler.
 
-; Copyright (C) 2005, 2007 Free Software Foundation, Inc.
+; Copyright (C) 2005, 2007, 2009 Free Software Foundation, Inc.
 ;
 ; This file is part of GCC.
 ;
@@ -23,4 +23,5 @@ Target Report Mask(SMALL_MODEL)
 Assume small address space
 
 mno-lsim
-Target RejectNegative Undocumented
+Target RejectNegative
+Assume that run-time support has been provided, so omit -lsim from the linker command line
index 043cc98..7f9229d 100644 (file)
@@ -525,6 +525,9 @@ Objective-C and Objective-C++ Dialects}.
 @emph{DEC Alpha/VMS Options}
 @gccoptlist{-mvms-return-codes}
 
+@emph{FR30 Options}
+@gccoptlist{-msmall-model -mno-lsim}
+
 @emph{FRV Options}
 @gccoptlist{-mgpr-32  -mgpr-64  -mfpr-32  -mfpr-64 @gol
 -mhard-float  -msoft-float @gol
@@ -8818,6 +8821,7 @@ platform.
 * Darwin Options::
 * DEC Alpha Options::
 * DEC Alpha/VMS Options::
+* FR30 Options::
 * FRV Options::
 * GNU/Linux Options::
 * H8/300 Options::
@@ -10250,6 +10254,28 @@ Return VMS condition codes from main.  The default is to return POSIX
 style condition (e.g.@: error) codes.
 @end table
 
+@node FR30 Options
+@subsection FR30 Options
+@cindex FR30 Options
+
+These options are defined specifically for the FR30 port.
+
+@table @gcctabopt
+
+@item -msmall-model
+@opindex msmall-model
+Use the small address space model.  This can produce smaller code, but
+it does assume that all symbolic values and addresses will fit into a
+20-bit range.
+
+@item -mno-lsim
+@opindex mno-lsim
+Assume that run-time support has been provided and so there is no need
+to include the simulator library (@file{libsim.a}) on the linker
+command line.
+
+@end table
+
 @node FRV Options
 @subsection FRV Options
 @cindex FRV Options