public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] gas: blackfin: docs: typo fixes and fill out directive info
@ 2011-02-11  4:46 Mike Frysinger
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2011-02-11  4:46 UTC (permalink / raw)
  To: binutils; +Cc: toolchain-devel

A bunch of Blackfin-specific directives were lacking info on what they
actually do, so fill in the blanks.  Further, the byte2/byte4 descriptions
were swapped.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>

2011-02-08  Mike Frysinger  <vapier@gentoo.org>

	* doc/c-bfin.texi (Instruction Delimiting): Fix occur typo.
	(Modify Registers): Fix subtracted typo.
	(.byte2): Extend and swap descriptions with .byte4.
	(.byte4): Extend and swap descriptions with .byte2.
	(.db, .dw, .dd): Document behavior.
---
 gas/doc/c-bfin.texi |   26 ++++++++++++++++++--------
 1 files changed, 18 insertions(+), 8 deletions(-)

diff --git a/gas/doc/c-bfin.texi b/gas/doc/c-bfin.texi
index 83d07ca..31273e6 100644
--- a/gas/doc/c-bfin.texi
+++ b/gas/doc/c-bfin.texi
@@ -125,7 +125,7 @@ set off by a "||" token.
 a0 = r3.h * r2.l || r1 = [p3++] || r4 = [i2++];
 @end smallexample
 
-Multiple instructions can occour on the same line.  Each must be
+Multiple instructions can occur on the same line.  Each must be
 terminated by a semicolon character.
 
 @item Register Names
@@ -218,7 +218,7 @@ addresses of data structures.  Abbreviated I-register or Ireg.
 
 @item Modify Registers
 The set of 32-bit registers (M0, M1, M2, M3) that normally contain
-offset values that are added and subracted to one of the index
+offset values that are added and subtracted to one of the index
 registers.  Abbreviated as Mreg.
 
 @item Length Registers
@@ -250,15 +250,25 @@ The following directives are provided for compatibility with the VDSP assembler.
 
 @table @code
 @item .byte2
-Initializes a four byte data object.
-@item .byte4
 Initializes a two byte data object.
+
+This maps to the @code{.short} directive.
+@item .byte4
+Initializes a four byte data object.
+
+This maps to the @code{.int} directive.
 @item .db
-TBD
-@item .dd
-TBD
+Initializes a single byte data object.
+
+This directive is a synonym for @code{.byte}.
 @item .dw
-TBD
+Initializes a two byte data object.
+
+This directive is a synonym for @code{.byte2}.
+@item .dd
+Initializes a four byte data object.
+
+This directive is a synonym for @code{.byte4}.
 @item .var
 Define and initialize a 32 bit data object.
 @end table
-- 
1.7.4

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-02-11  4:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-11  4:46 [PATCH] gas: blackfin: docs: typo fixes and fill out directive info Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).