From e053e8c1e5e527e270b24ae8cfe2bc1c72d07681 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 11 Mar 1997 20:10:20 +0000 Subject: [PATCH] * 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. --- gas/ChangeLog | 6 +++++- gas/config/tc-m88k.c | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 505cb941b30..d0edc33a7e2 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,9 @@ Tue Mar 11 01:13:31 1997 Ian Lance Taylor + * 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 end-sanitize-tic80 Thu Feb 27 13:29:04 1997 Ian Lance Taylor - * 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 47b154d48de..ae55fedb7eb 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 }; -- 2.30.2