From: Jan Beulich Date: Fri, 9 Aug 2024 09:49:04 +0000 (+0200) Subject: Arm: respect line separators for .symver scrubber special case X-Git-Tag: gdb-16-branchpoint~1202 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eb3cc508ee4a95116c4e0e3d288241eeafb18096;p=thirdparty%2Fbinutils-gdb.git Arm: respect line separators for .symver scrubber special case Directives end at "line" (really: statement) separators, not just at new-line chars. --- diff --git a/gas/app.c b/gas/app.c index a45c03f8384..ddfff71601f 100644 --- a/gas/app.c +++ b/gas/app.c @@ -826,7 +826,7 @@ do_scrub_chars (size_t (*get) (char *, size_t), char *tostart, size_t tolen, { /* We've read the entire pseudo-op. If this is the end of the line, go back to the beginning. */ - if (IS_NEWLINE (ch)) + if (IS_NEWLINE (ch) || IS_LINE_SEPARATOR (ch)) symver_state = NULL; } }