diff options
author | Nick Clifton <nickc@redhat.com> | 2002-01-02 17:19:07 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2002-01-02 17:19:07 +0000 |
commit | 23b7f870fb76af586dc3a62b64b6e2368b42d64d (patch) | |
tree | 9dc1a3f88a2d57d323f66e28adb4dd7a3a6bc98c /gas | |
parent | 07f7c046a86eb008891f453bacf59cf8b8824ce0 (diff) | |
download | fsf-binutils-gdb-23b7f870fb76af586dc3a62b64b6e2368b42d64d.zip fsf-binutils-gdb-23b7f870fb76af586dc3a62b64b6e2368b42d64d.tar.gz fsf-binutils-gdb-23b7f870fb76af586dc3a62b64b6e2368b42d64d.tar.bz2 |
Test for a NULL frag link.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 7 | ||||
-rw-r--r-- | gas/config/tc-m68k.c | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index b997270..c134cd1 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2002-01-02 Nick Clifton <nickc@cambridge.redhat.com> + + * config/tc-m68k.c (md_estimate_size_before_relax): Test for a + NULL frag link. + 2001-12-31 Richard Henderson <rth@redhat.com> * config/tc-ia64.c (errata_nop_necessary_p): Prototype. @@ -6,7 +11,7 @@ * config/tc-ia64.c (has_suffix_p): New. (note_register_values): Use it instead of strstr. -Mon Dec 31 16:48:07 2001 Jeffrey A Law (law@redhat.com) +2001-12-31 Jeffrey A Law (law@redhat.com) * config/tc-hppa.c (pa_ip): Handle new 'c' mode completers, 'X', 'M', and 'A'. 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) |