gas/
authorRichard Sandiford <rdsandiford@googlemail.com>
Mon, 2 Apr 2007 14:25:27 +0000 (14:25 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Mon, 2 Apr 2007 14:25:27 +0000 (14:25 +0000)
* 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.

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

index f29dc6ffd227f25b173286035d7622a5e4344f66..e180209c731dbafad0e5b57213525ca5e60c9c01 100644 (file)
@@ -1,3 +1,9 @@
+2007-04-02  Richard Sandiford  <richard@codesourcery.com>
+
+       * 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.
+
 2007-03-30  Sterling Augustine  <sterling@tensilica.com>
            Bob Wilson  <bob.wilson@acm.org>
 
index 36478d410a160bf596b1718c9ec46cc480116ccd..99b0a132e9f088cad7b7cf438ed6fa43db1c0683 100644 (file)
@@ -14947,6 +14947,7 @@ MIPS options:\n\
 #ifdef OBJ_ELF
   fprintf (stream, _("\
 -KPIC, -call_shared    generate SVR4 position independent code\n\
+-mvxworks-pic          generate VxWorks position independent code\n\
 -non_shared            do not generate position independent code\n\
 -xgot                  assume a 32 bit GOT\n\
 -mpdr, -mno-pdr                enable/disable creation of .pdr sections\n\
index 3fcab03f8e37bc16c562b6236c9a8e235668059b..ac61d2b16d0a678caa95c785ffeec7346f921cfe 100644 (file)
@@ -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}]
index 8ba8e36b0c2b5eab29c6df02bc6410ca2c26301d..f92cb0098d55123c57b1451a75ed70964d290761 100644 (file)
@@ -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
This page took 0.039719 seconds and 4 git commands to generate.