summaryrefslogtreecommitdiff
path: root/gas/doc
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2012-05-15 03:04:46 +0000
committerDJ Delorie <dj@delorie.com>2012-05-15 03:04:46 +0000
commitf758a6b64ea51327a53d20b5695c72957591ff8c (patch)
tree347874654e4faa1fb79a39f11974b32fe66f1e38 /gas/doc
parent140ed92c7bf3de63022dbc1a280debda6f23eece (diff)
downloadbinutils-redhat-f758a6b64ea51327a53d20b5695c72957591ff8c.tar.gz
* config/tc-rx.c (rx_fetchalign): Declare.
(md_pseudo_table): Add .fetchalign. (RX_NBASE_FETCHALIGN): New. (fetchalign_bytes): New. (rx_fetchalign): New. (rx_frag_init): If a "magic" value is found, also init the machine-specific data. (md_assemble): Note following opcode size if called for. (rx_next_opcode): New. (rx_relax_frag): Support .fetchalign. (md_convert_frag): Likewise. * doc/c-rx.texi (RX-Directives): Add .fetchalign.
Diffstat (limited to 'gas/doc')
-rw-r--r--gas/doc/c-rx.texi10
1 files changed, 10 insertions, 0 deletions
diff --git a/gas/doc/c-rx.texi b/gas/doc/c-rx.texi
index cb89bd66c2..5f9239b5ab 100644
--- a/gas/doc/c-rx.texi
+++ b/gas/doc/c-rx.texi
@@ -155,6 +155,16 @@ assembler directives:
@cindex RX assembler directive .3byte
Inserts a 3-byte value into the output file at the current location.
+@item .fetchalign
+@cindex assembler directive .fetchalign, RX
+@cindex RX assembler directive .fetchalign
+If the next opcode following this directive spans a fetch line
+boundary (8 byte boundary), the opcode is aligned to that boundary.
+If the next opcode does not span a fetch line, this directive has no
+effect. Note that one or more labels may be between this directive
+and the opcode; those labels are aligned as well. Any inserted bytes
+due to alignment will form a NOP opcode.
+
@end table
@node RX-Float