OSDN Git Service

* doc/as.texinfo: Add Blackfin options.
authorjiez <jiez>
Wed, 10 Mar 2010 03:57:00 +0000 (03:57 +0000)
committerjiez <jiez>
Wed, 10 Mar 2010 03:57:00 +0000 (03:57 +0000)
* doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
* config/tc-bfin.c (md_show_usage): Show usage for all
Blackfin specific options.

gas/ChangeLog
gas/config/tc-bfin.c
gas/doc/as.texinfo
gas/doc/c-bfin.texi

index a4f7300..9811499 100644 (file)
@@ -1,3 +1,10 @@
+2010-03-10  Jie Zhang  <jie@codesourcery.com>
+
+       * doc/as.texinfo: Add Blackfin options.
+       * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
+       * config/tc-bfin.c (md_show_usage): Show usage for all
+       Blackfin specific options.
+
 2010-03-09  Alan Modra  <amodra@gmail.com>
 
        PR gas/11356
index d988890..6680f22 100644 (file)
@@ -418,9 +418,12 @@ md_parse_option (int c ATTRIBUTE_UNUSED, char *arg ATTRIBUTE_UNUSED)
 }
 
 void
-md_show_usage (FILE * stream ATTRIBUTE_UNUSED)
+md_show_usage (FILE * stream)
 {
-  fprintf (stream, _(" BFIN specific command line options:\n"));
+  fprintf (stream, _(" Blackfin specific assembler options:\n"));
+  fprintf (stream, _("  -mcpu=<cpu[-sirevision]> specify the name of the target CPU\n"));
+  fprintf (stream, _("  -mfdpic                  assemble for the FDPIC ABI\n"));
+  fprintf (stream, _("  -mno-fdpic/-mnopic       disable -mfdpic\n"));
 }
 
 /* Perform machine-specific initializations.  */
index 471b545..f127a3f 100644 (file)
@@ -39,6 +39,9 @@
 @ifset ARM/Thumb
 @set ARM
 @end ifset
+@ifset Blackfin
+@set Blackfin
+@end ifset
 @ifset BOUT
 @set aout-bout
 @end ifset
@@ -273,6 +276,14 @@ gcc(1), ld(1), and the Info entries for @file{binutils} and @file{ld}.
     @b{-mapcs-reentrant}]
    [@b{-mthumb-interwork}] [@b{-k}]
 @end ifset
+@ifset Blackfin
+
+@emph{Target Blackfin options:}
+   [@b{-mcpu}=@var{processor}[-@var{sirevision}]]
+   [@b{-mfdpic}]
+   [@b{-mno-fdpic}]
+   [@b{-mnopic}]
+@end ifset
 @ifset CRIS
 
 @emph{Target CRIS options:}
@@ -715,6 +726,21 @@ Specify that PIC code has been generated.
 @end table
 @end ifset
 
+@ifset Blackfin
+The following options are available when @value{AS} is configured for
+the Blackfin processor family.
+
+@table @gcctabopt
+@item -mcpu=@var{processor}@r{[}-@var{sirevision}@r{]}
+This option specifies the target processor.  The optional @var{sirevision}
+is not used in assembler.
+@item -mfdpic
+Assemble for the FDPIC ABI.
+@item -mno-fdpic/-mnopic
+Disable -mfdpic.
+@end table
+@end ifset
+
 @ifset CRIS
 See the info pages for documentation of the CRIS-specific options.
 @end ifset
index aab4bcc..e2749d3 100644 (file)
@@ -66,6 +66,14 @@ recognized:
 and
 @code{bf561}.
 
+@cindex @code{-mfdpic} command line option, Blackfin
+@item -mfdpic
+Assemble for the FDPIC ABI.
+
+@cindex @code{-mno-fdpic} command line option, Blackfin
+@cindex @code{-mnopic} command line option, Blackfin
+@item -mno-fdpic/-mnopic
+Disable -mfdpic.
 @end table
 
 @node Blackfin Syntax