Commit: GAS: Add option to warn about multibyte characters

Alan Modra amodra@gmail.com
Fri Nov 19 05:57:15 GMT 2021


On hppa*-hp-hpux* run_dump_test edits the test file, adjusting .comm
directives to suit those target's unusual syntax.  Thus gas is passed
a temporary file name.

	* testsuite/gas/all/multibyte1.l: Ignore file name.

diff --git a/gas/testsuite/gas/all/multibyte1.l b/gas/testsuite/gas/all/multibyte1.l
index a592c17055b..96b797e7db4 100644
--- a/gas/testsuite/gas/all/multibyte1.l
+++ b/gas/testsuite/gas/all/multibyte1.l
@@ -1,12 +1,12 @@
 [^:]*: Assembler messages:
-[^:]*: Warning: multibyte character \(0xe2\) encountered in .*multibyte.s
-[^:]*: Warning: multibyte character \(0x80\) encountered in .*multibyte.s
-[^:]*: Warning: multibyte character \(0xae\) encountered in .*multibyte.s
-[^:]*: Warning: multibyte character \(0xe2\) encountered in .*multibyte.s
-[^:]*: Warning: multibyte character \(0x80\) encountered in .*multibyte.s
-[^:]*: Warning: multibyte character \(0xac\) encountered in .*multibyte.s
-[^:]*: Warning: multibyte character \(0xe2\) encountered in .*multibyte.s
-[^:]*: Warning: multibyte character \(0x80\) encountered in .*multibyte.s
-[^:]*: Warning: multibyte character \(0xae\) encountered in .*multibyte.s
-[^:]*: Warning: multibyte character \(0xe2\) encountered in .*multibyte.s
+[^:]*: Warning: multibyte character \(0xe2\) encountered in .*
+[^:]*: Warning: multibyte character \(0x80\) encountered in .*
+[^:]*: Warning: multibyte character \(0xae\) encountered in .*
+[^:]*: Warning: multibyte character \(0xe2\) encountered in .*
+[^:]*: Warning: multibyte character \(0x80\) encountered in .*
+[^:]*: Warning: multibyte character \(0xac\) encountered in .*
+[^:]*: Warning: multibyte character \(0xe2\) encountered in .*
+[^:]*: Warning: multibyte character \(0x80\) encountered in .*
+[^:]*: Warning: multibyte character \(0xae\) encountered in .*
+[^:]*: Warning: multibyte character \(0xe2\) encountered in .*
 [^:]*: Warning: further multibyte character warnings suppressed

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list