This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: .machine pseudo op for ppc


On Sat, Nov 22, 2003 at 10:58:11AM +1030, Alan Modra wrote:
> On Fri, Nov 21, 2003 at 11:32:00AM -0800, Geoff Keating wrote:
> > Shouldn't there be documentation for the new directive somewhere?
> 
> Yes.  I'll write something.

	* doc/c-ppc.texi (PowerPC-Pseudo): Add section.

Index: gas/doc/c-ppc.texi
===================================================================
RCS file: /cvs/src/src/gas/doc/c-ppc.texi,v
retrieving revision 1.3
diff -u -p -r1.3 c-ppc.texi
--- gas/doc/c-ppc.texi	19 Aug 2003 07:09:44 -0000	1.3
+++ gas/doc/c-ppc.texi	22 Nov 2003 06:12:44 -0000
@@ -15,6 +15,7 @@
 @cindex PowerPC support
 @menu
 * PowerPC-Opts::                Options
+* PowerPC-Pseudo::              PowerPC Assembler Directives
 @end menu
 
 @node PowerPC-Opts
@@ -104,4 +105,22 @@ Generate code for Solaris.
 
 @item -mno-solaris
 Do not generate code for Solaris.
+@end table
+
+
+@node PowerPC-Pseudo
+@section PowerPC Assembler Directives
+
+@cindex directives for PowerPC
+@cindex PowerPC directives
+A number of assembler directives are available for PowerPC.  The
+following table is far from complete.
+
+@table @code
+@item .machine "string"
+This directive allows you to change the machine for which code is
+generated.  @code{"string"} may be any of the -m cpu selection options
+(without the -m) enclosed in double quotes, @code{"push"}, or
+@code{"pop"}.  @code{.machine "push"} saves the currently selected
+cpu, which may be restored with @code{.machine "pop"}.
 @end table

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]