mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
gas: tweak .irp and alike file/line handling for M68K/MRI
In commit 2ee1792bec ("gas: further adjust file/line handling for .irp
and alike") I neglected the need to omit the leading . in M68K/MRI mode.
This commit is contained in:
@@ -136,7 +136,10 @@ buffer_and_nest (const char *from, const char *to, sb *ptr,
|
||||
char *linefile;
|
||||
|
||||
as_where (&line);
|
||||
linefile = xasprintf ("\t.linefile %u .\n", line);
|
||||
if (!flag_m68k_mri)
|
||||
linefile = xasprintf ("\t.linefile %u .\n", line);
|
||||
else
|
||||
linefile = xasprintf ("\tlinefile %u .\n", line);
|
||||
sb_add_buffer (ptr, linefile, strlen (linefile));
|
||||
xfree (linefile);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user