aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-12-01 15:56:25 +0000
committerIan Lance Taylor <ian@airs.com>1995-12-01 15:56:25 +0000
commitd4c8a45ee7c4779480dfe1e3e395367c90cb6513 (patch)
treee48f1f4617f241e25840a7802459c0d3101d208e /gas/config
parent695b028f516b2965a90c274357db049f42d4fd2c (diff)
downloadgdb-d4c8a45ee7c4779480dfe1e3e395367c90cb6513.zip
gdb-d4c8a45ee7c4779480dfe1e3e395367c90cb6513.tar.gz
gdb-d4c8a45ee7c4779480dfe1e3e395367c90cb6513.tar.bz2
* config/tc-m88k.c (m88k_do_align): Correct check for whether fill
pattern is zero. From Manfred Hollstein.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-m88k.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-m88k.c b/gas/config/tc-m88k.c
index e9b2273..10c26e6 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 };