diff options
author | Ian Lance Taylor <ian@airs.com> | 1997-03-11 20:10:20 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1997-03-11 20:10:20 +0000 |
commit | e053e8c1e5e527e270b24ae8cfe2bc1c72d07681 (patch) | |
tree | ccb9e223f7e112bae6588b6e00ae08318552d7b2 /gas | |
parent | 5834946d5aa016e681329fb5825b6e67b4da0b26 (diff) | |
download | gdb-e053e8c1e5e527e270b24ae8cfe2bc1c72d07681.zip gdb-e053e8c1e5e527e270b24ae8cfe2bc1c72d07681.tar.gz gdb-e053e8c1e5e527e270b24ae8cfe2bc1c72d07681.tar.bz2 |
* config/tc-m88k.c (m88k_do_align): Don't use a special nop
alignment if a zero fill pattern was explicitly specified.
* config/tc-sh.c (sh_do_align): Likewise.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/tc-m88k.c | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 505cb94..d0edc33 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,9 @@ Tue Mar 11 01:13:31 1997 Ian Lance Taylor <ian@cygnus.com> + * config/tc-m88k.c (m88k_do_align): Don't use a special nop + alignment if a zero fill pattern was explicitly specified. + * config/tc-sh.c (sh_do_align): Likewise. + * read.c (equals): Always permit register names to be redefined. * config/tc-mips.c (mips_fix_adjustable): Permit a reloc against a @@ -88,7 +92,7 @@ Thu Feb 27 15:39:16 1997 Fred Fish <fnf@cygnus.com> end-sanitize-tic80 Thu Feb 27 13:29:04 1997 Ian Lance Taylor <ian@cygnus.com> - * config/tc-m68k.c (md_assemble): Handle a reloc width of 'W'.n + * config/tc-m68k.c (md_assemble): Handle a reloc width of 'W'. * gasp.c (hash_add_to_string_table): Correct misspelling in error message, and add newline. diff --git a/gas/config/tc-m88k.c b/gas/config/tc-m88k.c index 47b154d..ae55fed 100644 --- a/gas/config/tc-m88k.c +++ b/gas/config/tc-m88k.c @@ -1440,7 +1440,7 @@ m88k_do_align (n, fill, max, len) int len; int max; { - if ((fill == NULL || (*fill == 0 && len == 1)) + if (fill == NULL && strcmp (obj_segment_name (now_seg), ".init") == 0) { static const unsigned char nop_pattern[] = { 0xf4, 0x00, 0x58, 0x00 }; |