* frags.c (frag_init): Call obstack_begin on `frags'.
[deliverable/binutils-gdb.git] / gas / config / tc-mips.c
index ca7024bd5f09c78b51e0a41de4ef44b153835437..f377859aa12c5d71dccb26e7fd6cf3b6a77247c8 100644 (file)
@@ -6861,7 +6861,7 @@ s_loc (x)
   assert (now_seg == text_section);
 
   lineno = get_number ();
-  addroff = obstack_next_free (&frags) - frag_now->fr_literal;
+  addroff = frag_now_fix ();
 
   symbolP = symbol_new ("", N_SLINE, addroff, frag_now);
   S_SET_TYPE (symbolP, N_SLINE);
This page took 0.027964 seconds and 4 git commands to generate.