[v3,3/9] Arm: respect line separators for .symver scrubber special case

Message ID 1cd82183-9300-4855-972f-f8a807089342@suse.com
State New
Headers
Series gas: scrubber adjustments |

Commit Message

Jan Beulich July 31, 2024, 11:56 a.m. UTC
  Directives end at "line" (really: statement) separators, not just at
new-line chars.
---
v3: New.
  

Patch

--- a/gas/app.c
+++ b/gas/app.c
@@ -831,7 +831,7 @@  do_scrub_chars (size_t (*get) (char *, s
 	    {
 	      /* 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;
 	    }
 	}