diff options
Diffstat (limited to 'gas/config/tc-m68k.c')
-rw-r--r-- | gas/config/tc-m68k.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-m68k.c b/gas/config/tc-m68k.c index 20c9c10..ff209a9 100644 --- a/gas/config/tc-m68k.c +++ b/gas/config/tc-m68k.c @@ -4674,7 +4674,7 @@ md_estimate_size_before_relax (fragP, segment) { fragS *l; - for (l = fragP->fr_next; l != sym_frag; l = l->fr_next) + for (l = fragP->fr_next; l && l != sym_frag; l = l->fr_next) if (l->fr_fix != 0) break; if (l == sym_frag) |