]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* doc/c-arm.texi (.setfp): Correct example.
authorDaniel Jacobowitz <drow@false.org>
Thu, 18 Mar 2010 15:34:47 +0000 (15:34 +0000)
committerDaniel Jacobowitz <drow@false.org>
Thu, 18 Mar 2010 15:34:47 +0000 (15:34 +0000)
gas/ChangeLog
gas/doc/c-arm.texi

index 929cb7be05d8d3eebb9a4c9720b412040511f0ab..4736a3a28ce8a0d9928e85b4f51e2a68243d4145 100644 (file)
@@ -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
index 60a455798981ba00f990d9aa81a1ae8865ff34bb..60b453f20dd84bf257d4534ffa0b9cda1dc650fd 100644 (file)
@@ -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