From 9982501a0db5863d24507f0e3de0cdd86da3a9b3 Mon Sep 17 00:00:00 2001 From: Jie Zhang Date: Wed, 10 Mar 2010 03:57:00 +0000 Subject: [PATCH] * 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. --- gas/ChangeLog | 7 +++++++ gas/config/tc-bfin.c | 7 +++++-- gas/doc/as.texinfo | 26 ++++++++++++++++++++++++++ gas/doc/c-bfin.texi | 8 ++++++++ 4 files changed, 46 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index a4f73008b0d..981149990e8 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,10 @@ +2010-03-10 Jie Zhang + + * 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 PR gas/11356 diff --git a/gas/config/tc-bfin.c b/gas/config/tc-bfin.c index d9888907d0a..6680f22361a 100644 --- a/gas/config/tc-bfin.c +++ b/gas/config/tc-bfin.c @@ -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= 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. */ diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo index 471b5452d30..f127a3fc3a2 100644 --- a/gas/doc/as.texinfo +++ b/gas/doc/as.texinfo @@ -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 diff --git a/gas/doc/c-bfin.texi b/gas/doc/c-bfin.texi index aab4bccf532..e2749d38752 100644 --- a/gas/doc/c-bfin.texi +++ b/gas/doc/c-bfin.texi @@ -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 -- 2.30.2