* config/tc-m68k.c (m68k_ip): Call frag_grow before adding a
[deliverable/binutils-gdb.git] / gas / config / tc-m68k.c
index 7204ec31a6d4ae163dac371e2caaaef1ee951dd6..36c1f006f5e10219dd93b2d5d8233c511f9fd892 100644 (file)
@@ -2081,6 +2081,12 @@ m68k_ip (instring)
 #endif
                               )
                        {
+                         /* The code in md_convert_frag_1 needs to be
+                             able to adjust nextword.  Call frag_grow
+                             to ensure that we have enough space in
+                             the frag obstack to make all the bytes
+                             contiguous.  */
+                         frag_grow (14);
                          nextword += baseo & 0xff;
                          addword (nextword);
                          add_frag (adds (&opP->disp), offs (&opP->disp),
This page took 0.046571 seconds and 4 git commands to generate.