mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 02:50:08 +08:00
* config/tc-sh.c (sh_do_align): Align to a 2 byte boundary before
inserting nop instructions. PR 8974.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
Mon Feb 12 00:12:13 1996 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
|
* config/tc-sh.c (sh_do_align): Align to a 2 byte boundary before
|
||||||
|
inserting nop instructions.
|
||||||
|
|
||||||
Fri Feb 9 10:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
|
Fri Feb 9 10:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
* config/te-aux.h: Change include of aux.h to aux-coff.h.
|
* config/te-aux.h: Change include of aux.h to aux-coff.h.
|
||||||
|
@ -1712,6 +1712,9 @@ sh_do_align (n, fill, len)
|
|||||||
static const unsigned char big_nop_pattern[] = { 0x00, 0x09 };
|
static const unsigned char big_nop_pattern[] = { 0x00, 0x09 };
|
||||||
static const unsigned char little_nop_pattern[] = { 0x09, 0x00 };
|
static const unsigned char little_nop_pattern[] = { 0x09, 0x00 };
|
||||||
|
|
||||||
|
/* First align to a 2 byte boundary, in case there is an odd
|
||||||
|
.byte. */
|
||||||
|
frag_align (2, 0);
|
||||||
if (target_big_endian)
|
if (target_big_endian)
|
||||||
frag_align_pattern (n, big_nop_pattern, sizeof big_nop_pattern);
|
frag_align_pattern (n, big_nop_pattern, sizeof big_nop_pattern);
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user