aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2010-03-18 15:34:47 +0000
committerDaniel Jacobowitz <drow@false.org>2010-03-18 15:34:47 +0000
commita5b82cbeafb7402d544dea4eb421d0e305ce7add (patch)
treeee81c283c6bee96b31b282b9c9326cce9f4dee1f /gas
parente1dcda2d90549601060df94abc820df77a28b838 (diff)
downloadgdb-a5b82cbeafb7402d544dea4eb421d0e305ce7add.zip
gdb-a5b82cbeafb7402d544dea4eb421d0e305ce7add.tar.gz
gdb-a5b82cbeafb7402d544dea4eb421d0e305ce7add.tar.bz2
* doc/c-arm.texi (.setfp): Correct example.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/doc/c-arm.texi4
2 files changed, 6 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 929cb7b..4736a3a 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2010-03-18 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * doc/c-arm.texi (.setfp): Correct example.
+
2010-03-18 Wei Guozhi <carrot@google.com>
PR gas/11323
diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi
index 60a4557..60b453f 100644
--- a/gas/doc/c-arm.texi
+++ b/gas/doc/c-arm.texi
@@ -770,7 +770,7 @@ or
Make all unwinder annotations relative to a frame pointer. Without this
the unwinder will use offsets from the stack pointer.
-The syntax of this directive is the same as the @code{sub} or @code{mov}
+The syntax of this directive is the same as the @code{add} or @code{mov}
instruction used to set the frame pointer. @var{spreg} must be either
@code{sp} or mentioned in a previous @code{.movsp} directive.
@@ -779,7 +779,7 @@ instruction used to set the frame pointer. @var{spreg} must be either
mov ip, sp
@dots{}
.setfp fp, ip, #4
-sub fp, ip, #4
+add fp, ip, #4
@end smallexample
@cindex @code{.secrel32} directive, ARM