PR 994
authorNick Clifton <nickc@redhat.com>
Wed, 8 Jun 2005 15:47:45 +0000 (15:47 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 8 Jun 2005 15:47:45 +0000 (15:47 +0000)
* config/tc-ia64.c (slot_index): Check for a NULL first_frag.

gas/ChangeLog
gas/config/tc-ia64.c

index 4d2c48f2ececf6111afdea9a75db87ede10674c5..9bb49febc47409b0f70d222c7ccfea948fdee519 100644 (file)
@@ -1,3 +1,8 @@
+2005-06-08  Nick Clifton  <nickc@redhat.com>
+
+       PR 994
+       * config/tc-ia64.c (slot_index): Check for a NULL first_frag.
+
 2005-06-08  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
 
        * config/tc-m32r.c (use_parallel): Change default value from 1 to 0.
index c84b4ef49543563f14feef7bc9926e042cd3961b..b6eb6bbe89e4b5c12288b2f14f8a8033c7256061 100644 (file)
@@ -2655,7 +2655,7 @@ slot_index (slot_addr, slot_frag, first_addr, first_frag, before_relax)
   /* If the two addresses are in different frags, then we need to add in
      the remaining size of this frag, and then the entire size of intermediate
      frags.  */
-  while (slot_frag != first_frag)
+  while (first_frag != NULL && slot_frag != first_frag)
     {
       unsigned long start_addr = (unsigned long) &first_frag->fr_literal;
 
This page took 0.032082 seconds and 4 git commands to generate.