diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/macro.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/macro.c b/gas/macro.c index c2a4768..3d5774e 100644 --- a/gas/macro.c +++ b/gas/macro.c @@ -142,10 +142,10 @@ buffer_and_nest (const char *from, const char *to, sb *ptr, as_where (&line); if (!flag_m68k_mri) - linefile = xasprintf ("\t.linefile %u .\n", line); + linefile = xasprintf ("\t.linefile %u .", line + 1); else - linefile = xasprintf ("\tlinefile %u .\n", line); - sb_add_buffer (ptr, linefile, strlen (linefile)); + linefile = xasprintf ("\tlinefile %u .", line + 1); + sb_add_string (ptr, linefile); xfree (linefile); } |