* NEWS: Updated for the new -n option for the MIPS assembler.
* config/tc-mips.c (md_show_usage): Add -n.
* doc/as.texinfo: Document the new -n option.
* doc/c-mips.texi: Likewise.
* doc/as.1: Regenerated.
+2001-06-11 H.J. Lu <hjl@gnu.org>
+
+ * NEWS: Updated for the new -n option for the MIPS assembler.
+
+ * config/tc-mips.c (md_show_usage): Add -n.
+
+ * doc/as.texinfo: Document the new -n option.
+ * doc/c-mips.texi: Likewise.
+ * doc/as.1: Regenerated.
+
2001-06-10 Alan Modra <amodra@bigpond.net.au>
* config/obj-coff.c (obj_coff_section): Formatting fix.
-*- text -*-
+The MIPS assembler no longer issues a warning by default when it
+generates a nop instruction from a macro. The new command line option
+-n will turn on the warning.
+
Changes in 2.11:
x86 gas now supports the full Pentium4 instruction set.
fprintf (stream, _("\
-O0 remove unneeded NOPs, do not swap branches\n\
-O remove unneeded NOPs and swap branches\n\
+-n warn about NOPs generated from macros\n\
--[no-]construct-floats [dis]allow floating point values to be constructed\n\
--trap, --no-break trap exception on div by 0 and mult overflow\n\
--break, --no-trap break exception on div by 0 and mult overflow\n"));
.\" Automatically generated by Pod::Man version 1.02
-.\" Fri Apr 13 11:27:39 2001
+.\" Mon Jun 11 09:28:09 2001
.\"
.\" Standard preamble:
.\" ======================================================================
.\" ======================================================================
.\"
.IX Title "AS 1"
-.TH AS 1 "binutils-2.11.90" "2001-04-13" "GNU"
+.TH AS 1 "binutils-2.11.90" "2001-06-11" "GNU"
.UC
.SH "NAME"
\&\s-1AS\s0 \- the portable \s-1GNU\s0 assembler.
[ \-mips1 ] [ \-mips2 ] [ \-mips3 ] [ \-mips4 ] [ \-mips5 ]
[ \-mips32 ] [ \-mips64 ]
[ \-m4650 ] [ \-no-m4650 ]
- [ \-\-trap ] [ \-\-break ]
+ [ \-\-trap ] [ \-\-break ] [ \-n ]
[ \-\-emulation=\fIname\fR ]
[ \*(-- | \fIfiles\fR ... ]
.SH "DESCRIPTION"
(and only work for Instruction Set Architecture level 2 and higher);
\&\fB\*(--break\fR or \fB\*(--no-trap\fR (also synonyms, and the default) take a
break exception.
+.Ip "\f(CW\*(C`\-n\*(C'\fR" 4
+.IX Item "-n"
+When this option is used, \f(CW\*(C`as\*(C'\fR will issue a warning every
+time it generates a nop instruction from a macro.
.PP
The following options are available when as is configured for
an MCore processor.
[ -mips1 ] [ -mips2 ] [ -mips3 ] [ -mips4 ] [ -mips5 ]
[ -mips32 ] [ -mips64 ]
[ -m4650 ] [ -no-m4650 ]
- [ --trap ] [ --break ]
+ [ --trap ] [ --break ] [ -n ]
[ --emulation=@var{name} ]
@end ifset
[ -- | @var{files} @dots{} ]
(and only work for Instruction Set Architecture level 2 and higher);
@samp{--break} or @samp{--no-trap} (also synonyms, and the default) take a
break exception.
+
+@item -n
+When this option is used, @code{@value{AS}} will issue a warning every
+time it generates a nop instruction from a macro.
@end table
@end ifset
@itemx --no-trap
Generate code to take a break exception rather than a trap exception when an
error is detected. This is the default.
+
+@item -n
+When this option is used, @code{@value{AS}} will issue a warning every
+time it generates a nop instruction from a macro.
@end table
@node MIPS Object