diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-12-01 15:56:25 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-12-01 15:56:25 +0000 |
commit | d4c8a45ee7c4779480dfe1e3e395367c90cb6513 (patch) | |
tree | e48f1f4617f241e25840a7802459c0d3101d208e /gas | |
parent | 695b028f516b2965a90c274357db049f42d4fd2c (diff) | |
download | gdb-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/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-m88k.c | 2 |
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 }; |