[PATCH 1/7] gas/Dwarf: special-case .linefile only for macros
Andreas Schwab
schwab@linux-m68k.org
Mon Mar 28 09:16:03 GMT 2022
More information about the Binutils mailing list
Mon Mar 28 09:16:03 GMT 2022
- Previous message (by thread): [PATCH 1/7] gas/Dwarf: special-case .linefile only for macros
- Next message (by thread): [PATCH 1/7] gas/Dwarf: special-case .linefile only for macros
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mär 28 2022, Jan Beulich via Binutils wrote: > --- a/gas/macro.c > +++ b/gas/macro.c > @@ -233,7 +233,8 @@ buffer_and_nest (const char *from, const > number when expanding the macro), and since for short > macros we clearly prefer reporting the point of expansion > anyway, there's not an obviously better fix here. */ > - if (strncasecmp (ptr->ptr + i, "linefile", 8) == 0) > + if (from != NULL && strcasecmp (from, "MACRO") == 0 > + && strncasecmp (ptr->ptr + i, "linefile", 8) == 0) That's relative to an old version of the file. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."
- Previous message (by thread): [PATCH 1/7] gas/Dwarf: special-case .linefile only for macros
- Next message (by thread): [PATCH 1/7] gas/Dwarf: special-case .linefile only for macros
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list