diff options
author | Maciej W. Rozycki <macro@imgtec.com> | 2017-05-15 12:47:26 +0100 |
---|---|---|
committer | Maciej W. Rozycki <macro@imgtec.com> | 2017-05-15 13:57:06 +0100 |
commit | 32035f5151b6ec76af0b62d9db8774b76eddc091 (patch) | |
tree | 68d13421b43916ac2012a13c60033b00542ea196 | |
parent | 5f2ad7a3c73fcec0a7891794eb5aade73bac8523 (diff) | |
download | gdb-32035f5151b6ec76af0b62d9db8774b76eddc091.zip gdb-32035f5151b6ec76af0b62d9db8774b76eddc091.tar.gz gdb-32035f5151b6ec76af0b62d9db8774b76eddc091.tar.bz2 |
MIPS/GAS/doc: Refer to `.module' rather than `.set'
Complement commit 919731affbef ("Add MIPS .module directive") and update
the GAS manual to refer to the `.module' rather than `.set' directive in
command-line option descriptions, following an observation that unlike
`.set' and like the respective command-line option the use of the
`.module' directive affects the ISA and ASE flags recorded in the object
file produced, and therefore it is `.module' rather than `.set' that
corresponds to the respective command-line option.
gas/
* doc/as.texinfo (-mips16, -no-mips16): Refer to `.module
mips16' rather than `.set mips16'.
(-mmicromips, -mno-micromips): Refer to `.module micromips' and
`.module nomicromips' rather than `.set micromips' and `.set
nomicromips'.
(-msmartmips, -mno-smartmips): Refer to `.module smartmips'
rather than `.set smartmips'.
* doc/c-mips.texi (MIPS Options): Refer to `.module mips16',
`.module micromips', `.module nomicromips' and `.module
smartmips' rather than `.set mips16', `.set micromips', `.set
nomicromips' and `.set smartmips' respectively.
-rw-r--r-- | gas/ChangeLog | 14 | ||||
-rw-r--r-- | gas/doc/as.texinfo | 14 | ||||
-rw-r--r-- | gas/doc/c-mips.texi | 10 |
3 files changed, 26 insertions, 12 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 865142e..1c86bf1 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,17 @@ +2017-05-15 Maciej W. Rozycki <macro@imgtec.com> + + * doc/as.texinfo (-mips16, -no-mips16): Refer to `.module + mips16' rather than `.set mips16'. + (-mmicromips, -mno-micromips): Refer to `.module micromips' and + `.module nomicromips' rather than `.set micromips' and `.set + nomicromips'. + (-msmartmips, -mno-smartmips): Refer to `.module smartmips' + rather than `.set smartmips'. + * doc/c-mips.texi (MIPS Options): Refer to `.module mips16', + `.module micromips', `.module nomicromips' and `.module + smartmips' rather than `.set mips16', `.set micromips', `.set + nomicromips' and `.set smartmips' respectively. + 2017-05-12 Maciej W. Rozycki <macro@imgtec.com> Matthew Fortune <matthew.fortune@imgtec.com> diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo index a5cff3d..27d0c68 100644 --- a/gas/doc/as.texinfo +++ b/gas/doc/as.texinfo @@ -1452,21 +1452,21 @@ registers when supported by the ISA. @samp{-mfpxx} implies @item -mips16 @itemx -no-mips16 Generate code for the MIPS 16 processor. This is equivalent to putting -@code{.set mips16} at the start of the assembly file. @samp{-no-mips16} +@code{.module mips16} at the start of the assembly file. @samp{-no-mips16} turns off this option. @item -mmicromips @itemx -mno-micromips Generate code for the microMIPS processor. This is equivalent to putting -@code{.set micromips} at the start of the assembly file. @samp{-mno-micromips} -turns off this option. This is equivalent to putting @code{.set nomicromips} -at the start of the assembly file. +@code{.module micromips} at the start of the assembly file. +@samp{-mno-micromips} turns off this option. This is equivalent to putting +@code{.module nomicromips} at the start of the assembly file. @item -msmartmips @itemx -mno-smartmips -Enables the SmartMIPS extension to the MIPS32 instruction set. This is -equivalent to putting @code{.set smartmips} at the start of the assembly file. -@samp{-mno-smartmips} turns off this option. +Enables the SmartMIPS extension to the MIPS32 instruction set. This is +equivalent to putting @code{.module smartmips} at the start of the assembly +file. @samp{-mno-smartmips} turns off this option. @item -mips3d @itemx -no-mips3d diff --git a/gas/doc/c-mips.texi b/gas/doc/c-mips.texi index d9a09f1..e5d00b2 100644 --- a/gas/doc/c-mips.texi +++ b/gas/doc/c-mips.texi @@ -148,22 +148,22 @@ registers when supported by the ISA. @samp{-mfpxx} implies @item -mips16 @itemx -no-mips16 Generate code for the MIPS 16 processor. This is equivalent to putting -@code{.set mips16} at the start of the assembly file. @samp{-no-mips16} +@code{.module mips16} at the start of the assembly file. @samp{-no-mips16} turns off this option. @item -mmicromips @itemx -mno-micromips Generate code for the microMIPS processor. This is equivalent to putting -@code{.set micromips} at the start of the assembly file. @samp{-mno-micromips} -turns off this option. This is equivalent to putting @code{.set nomicromips} -at the start of the assembly file. +@code{.module micromips} at the start of the assembly file. +@samp{-mno-micromips} turns off this option. This is equivalent to putting +@code{.module nomicromips} at the start of the assembly file. @item -msmartmips @itemx -mno-smartmips Enables the SmartMIPS extensions to the MIPS32 instruction set, which provides a number of new instructions which target smartcard and cryptographic applications. This is equivalent to putting -@code{.set smartmips} at the start of the assembly file. +@code{.module smartmips} at the start of the assembly file. @samp{-mno-smartmips} turns off this option. @item -mips3d |