From 0e25bcb440a877010123d832576e3290bcef2242 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Tue, 15 May 2012 03:04:47 +0000 Subject: * 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. --- gas/doc/c-rx.texi | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'gas/doc') 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 -- cgit v1.1