[patch] document Blackfin-specific gas options

Mike Frysinger vapier@gentoo.org
Wed Mar 10 01:58:00 GMT 2010


here's an old Blackfin patch

2009-07-13  Jie Zhang  <jie.zhang@analog.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.

--- config/tc-bfin.c	11 Dec 2009 13:42:10 -0000	1.32
+++ config/tc-bfin.c	10 Mar 2010 01:53:11 -0000
@@ -418,9 +418,12 @@ md_parse_option (int c 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.  */
--- doc/as.texinfo	27 Jan 2010 22:01:37 -0000	1.215
+++ doc/as.texinfo	10 Mar 2010 01:53:11 -0000
@@ -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 
     @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:}
--- doc/c-bfin.texi	4 Sep 2009 02:31:44 -0000	1.5
+++ doc/c-bfin.texi	10 Mar 2010 01:53:11 -0000
@@ -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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <https://sourceware.org/pipermail/binutils/attachments/20100310/54de1bee/attachment.sig>


More information about the Binutils mailing list