diff options
author | Jie Zhang <jie.zhang@analog.com> | 2010-03-10 03:57:00 +0000 |
---|---|---|
committer | Jie Zhang <jie.zhang@analog.com> | 2010-03-10 03:57:00 +0000 |
commit | 9982501a0db5863d24507f0e3de0cdd86da3a9b3 (patch) | |
tree | a510ece5301d5092d01ce09488eaa144390349c5 /gas | |
parent | d62d0f5fc2156db337ac3cbbc3c05ca76565dbd3 (diff) | |
download | gdb-9982501a0db5863d24507f0e3de0cdd86da3a9b3.zip gdb-9982501a0db5863d24507f0e3de0cdd86da3a9b3.tar.gz gdb-9982501a0db5863d24507f0e3de0cdd86da3a9b3.tar.bz2 |
* 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.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 7 | ||||
-rw-r--r-- | gas/config/tc-bfin.c | 7 | ||||
-rw-r--r-- | gas/doc/as.texinfo | 26 | ||||
-rw-r--r-- | gas/doc/c-bfin.texi | 8 |
4 files changed, 46 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index a4f7300..9811499 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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 diff --git a/gas/config/tc-bfin.c b/gas/config/tc-bfin.c index d988890..6680f22 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=<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. */ diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo index 471b545..f127a3f 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 aab4bcc..e2749d3 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 |