aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2003-11-22 06:14:48 +0000
committerAlan Modra <amodra@gmail.com>2003-11-22 06:14:48 +0000
commitf22b3cafc9a10cda728946d2fa7cc37ff905136f (patch)
tree552f0cbee7c6e8f1b57200fc3e5bbba12766ca14
parentbd55cd2b21b8b57a67786c7b5b67f188761fc35c (diff)
downloadgdb-f22b3cafc9a10cda728946d2fa7cc37ff905136f.zip
gdb-f22b3cafc9a10cda728946d2fa7cc37ff905136f.tar.gz
gdb-f22b3cafc9a10cda728946d2fa7cc37ff905136f.tar.bz2
* doc/c-ppc.texi (PowerPC-Pseudo): Add section.
-rw-r--r--gas/ChangeLog2
-rw-r--r--gas/doc/c-ppc.texi19
2 files changed, 21 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 2ae3c1d..d2ed7ff 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,7 @@
2003-11-22 Alan Modra <amodra@bigpond.net.au>
+ * doc/c-ppc.texi (PowerPC-Pseudo): Add section.
+
* app.c (do_scrub_chars): Revert 2003-04-23 and 2003-04-22.
2003-11-21 Kazu Hirata <kazu@cs.umass.edu>
diff --git a/gas/doc/c-ppc.texi b/gas/doc/c-ppc.texi
index 553204a..be90e33 100644
--- a/gas/doc/c-ppc.texi
+++ b/gas/doc/c-ppc.texi
@@ -15,6 +15,7 @@
@cindex PowerPC support
@menu
* PowerPC-Opts:: Options
+* PowerPC-Pseudo:: PowerPC Assembler Directives
@end menu
@node PowerPC-Opts
@@ -105,3 +106,21 @@ 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