aboutsummaryrefslogtreecommitdiff
path: root/gas/doc
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2012-05-15 03:04:47 +0000
committerDJ Delorie <dj@redhat.com>2012-05-15 03:04:47 +0000
commit0e25bcb440a877010123d832576e3290bcef2242 (patch)
treea2e1a5827cc061d0e4d7b331f3902c39e4000edf /gas/doc
parentd051b294b998b68119ed6866459a47be0995d9cd (diff)
downloadgdb-0e25bcb440a877010123d832576e3290bcef2242.zip
gdb-0e25bcb440a877010123d832576e3290bcef2242.tar.gz
gdb-0e25bcb440a877010123d832576e3290bcef2242.tar.bz2
* 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 cb89bd6..5f9239b 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