x86: Display -msse-check= default as none

Message ID 20240215230421.2032627-1-hjl.tools@gmail.com
State Accepted
Headers
Series x86: Display -msse-check= default as none |

Checks

Context Check Description
snail/binutils-gdb-check success Github commit url

Commit Message

H.J. Lu Feb. 15, 2024, 11:04 p.m. UTC
  Display -msse-check= default as none for "as --help" since its default
is none, not warning.

	PR gas/31389
	* config/tc-i386.c (md_show_usage): Change -msse-check= default
	to none.
---
 gas/config/tc-i386.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 925986f7fce..ed7c4a5ea03 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -16847,7 +16847,7 @@  md_show_usage (FILE *stream)
   -muse-unaligned-vector-move\n\
                           encode aligned vector move as unaligned vector move\n"));
   fprintf (stream, _("\
-  -msse-check=[none|error|warning] (default: warning)\n\
+  -msse-check=[none|error|warning] (default: none)\n\
                           check SSE instructions\n"));
   fprintf (stream, _("\
   -moperand-check=[none|error|warning] (default: warning)\n\