Arm: respect line separators for .symver scrubber special case

Directives end at "line" (really: statement) separators, not just at
new-line chars.
This commit is contained in:
Jan Beulich
2024-08-09 11:49:04 +02:00
parent d5de496c0e
commit eb3cc508ee

View File

@@ -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;
}
}