From: Ian Lance Taylor Date: Fri, 1 Dec 1995 15:56:25 +0000 (+0000) Subject: * config/tc-m88k.c (m88k_do_align): Correct check for whether fill X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d4c8a45ee7c4779480dfe1e3e395367c90cb6513;p=binutils-gdb.git * config/tc-m88k.c (m88k_do_align): Correct check for whether fill pattern is zero. From Manfred Hollstein. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index b925148153b..c5416749ff5 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +Fri Dec 1 10:59:25 1995 Ian Lance Taylor + + * config/tc-m88k.c (m88k_do_align): Correct check for whether fill + pattern is zero. From Manfred Hollstein. + Thu Nov 30 13:25:49 1995 Kim Knuttila * config/tc-ppc.c (ppc_pe_section): To get the alignment right for diff --git a/gas/config/tc-m88k.c b/gas/config/tc-m88k.c index e9b22738e72..10c26e68d69 100644 --- a/gas/config/tc-m88k.c +++ b/gas/config/tc-m88k.c @@ -1436,7 +1436,7 @@ m88k_do_align (n, fill) int n; const char *fill; { - if (!fill + if ((fill == NULL || *fill == 0) && strcmp (obj_segment_name (now_seg), ".init") == 0) { static const unsigned char nop_pattern[] = { 0xf4, 0x00, 0x58, 0x00 };