aboutsummaryrefslogtreecommitdiff
path: root/gas/doc
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2007-04-02 14:25:27 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2007-04-02 14:25:27 +0000
commit0c000745190c009ceaab0e94ae9692d5a7226e84 (patch)
tree833d5a91d2a789c2a5c64f55de414001f3ba532f /gas/doc
parent2657faa6afea99fad2f1e7297a958e04f2d2010e (diff)
downloadgdb-0c000745190c009ceaab0e94ae9692d5a7226e84.zip
gdb-0c000745190c009ceaab0e94ae9692d5a7226e84.tar.gz
gdb-0c000745190c009ceaab0e94ae9692d5a7226e84.tar.bz2
gas/
* doc/as.texinfo: Add -mvxworks-pic to the list of MIPS options. * doc/c-mips.texi (-KPIC, -mvxworks-pic): Document. * config/tc-mips.c (md_show_usage): Mention -mvxworks-pic.
Diffstat (limited to 'gas/doc')
-rw-r--r--gas/doc/as.texinfo2
-rw-r--r--gas/doc/c-mips.texi12
2 files changed, 13 insertions, 1 deletions
diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo
index 3fcab03..ac61d2b 100644
--- a/gas/doc/as.texinfo
+++ b/gas/doc/as.texinfo
@@ -369,7 +369,7 @@ gcc(1), ld(1), and the Info entries for @file{binutils} and @file{ld}.
@emph{Target MIPS options:}
[@b{-nocpp}] [@b{-EL}] [@b{-EB}] [@b{-O}[@var{optimization level}]]
[@b{-g}[@var{debug level}]] [@b{-G} @var{num}] [@b{-KPIC}] [@b{-call_shared}]
- [@b{-non_shared}] [@b{-xgot}]
+ [@b{-non_shared}] [@b{-xgot} [@b{-mvxworks-pic}]
[@b{-mabi}=@var{ABI}] [@b{-32}] [@b{-n32}] [@b{-64}] [@b{-mfp32}] [@b{-mgp32}]
[@b{-march}=@var{CPU}] [@b{-mtune}=@var{CPU}] [@b{-mips1}] [@b{-mips2}]
[@b{-mips3}] [@b{-mips4}] [@b{-mips5}] [@b{-mips32}] [@b{-mips32r2}]
diff --git a/gas/doc/c-mips.texi b/gas/doc/c-mips.texi
index 8ba8e36..f92cb00 100644
--- a/gas/doc/c-mips.texi
+++ b/gas/doc/c-mips.texi
@@ -60,6 +60,18 @@ little-endian output at run time (unlike the other @sc{gnu} development
tools, which must be configured for one or the other). Use @samp{-EB}
to select big-endian output, and @samp{-EL} for little-endian.
+@item -KPIC
+@cindex PIC selection, MIPS
+@cindex @option{-KPIC} option, MIPS
+Generate SVR4-style PIC. This option tells the assembler to generate
+SVR4-style position-independent macro expansions. It also tells the
+assembler to mark the output file as PIC.
+
+@item -mvxworks-pic
+@cindex @option{-mvxworks-pic} option, MIPS
+Generate VxWorks PIC. This option tells the assembler to generate
+VxWorks-style position-independent macro expansions.
+
@cindex MIPS architecture options
@item -mips1
@itemx -mips2