aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2024-08-09 11:49:04 +0200
committerJan Beulich <jbeulich@suse.com>2024-08-09 11:49:04 +0200
commiteb3cc508ee4a95116c4e0e3d288241eeafb18096 (patch)
tree7c2fcc201fd8b1a0f786347d62cd41a24c2e2834
parentd5de496c0eda2a7f47a183362e3108920d44d8d5 (diff)
downloadgdb-eb3cc508ee4a95116c4e0e3d288241eeafb18096.zip
gdb-eb3cc508ee4a95116c4e0e3d288241eeafb18096.tar.gz
gdb-eb3cc508ee4a95116c4e0e3d288241eeafb18096.tar.bz2
Arm: respect line separators for .symver scrubber special case
Directives end at "line" (really: statement) separators, not just at new-line chars.
-rw-r--r--gas/app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/app.c b/gas/app.c
index a45c03f..ddfff71 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;
}
}