aboutsummaryrefslogtreecommitdiff
path: root/gas
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
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')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-m88k.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index b925148..c541674 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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
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 };