* config/tc-m88k.c (m88k_do_align): Correct check for whether fill

pattern is zero.  From Manfred Hollstein.
This commit is contained in:
Ian Lance Taylor 1995-12-01 15:56:25 +00:00
parent 695b028f51
commit d4c8a45ee7
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Fri Dec 1 10:59:25 1995 Ian Lance Taylor <ian@cygnus.com>
* 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 <krk@cygnus.com>
* config/tc-ppc.c (ppc_pe_section): To get the alignment right for

View File

@ -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 };