This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Rename OPTION_OMIT_LOCK_PREFIX to OPTION_MOMIT_LOCK_PREFIX


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d1982f935ef015f15f86d0aa5c64b6a4750b25ed

commit d1982f935ef015f15f86d0aa5c64b6a4750b25ed
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Jan 25 17:01:11 2016 -0800

    Rename OPTION_OMIT_LOCK_PREFIX to OPTION_MOMIT_LOCK_PREFIX
    
    Use OPTION_MXXX for -mxxx option in x86 assembler.
    
    	* config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
    	(OPTION_MOMIT_LOCK_PREFIX): This.
    	(md_longopts): Updated.
    	(md_parse_option): Likewise.

Diff:
---
 gas/ChangeLog        | 7 +++++++
 gas/config/tc-i386.c | 6 +++---
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/gas/ChangeLog b/gas/ChangeLog
index 910af9d..eb9fff1 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,10 @@
+2016-01-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* config/tc-i386.c (OPTION_OMIT_LOCK_PREFIX): Renamed to ...
+	(OPTION_MOMIT_LOCK_PREFIX): This.
+	(md_longopts): Updated.
+	(md_parse_option): Likewise.
+
 2016-01-25  Catherine Moore  <clm@codesourcery.com>
 
 	* config/mips/tc-mips.c (md_begin): Avoid gp-relative addressing
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 4354549..62f247c 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -9617,7 +9617,7 @@ const char *md_shortopts = "qn";
 #define OPTION_MEVEXLIG (OPTION_MD_BASE + 16)
 #define OPTION_MEVEXWIG (OPTION_MD_BASE + 17)
 #define OPTION_MBIG_OBJ (OPTION_MD_BASE + 18)
-#define OPTION_OMIT_LOCK_PREFIX (OPTION_MD_BASE + 19)
+#define OPTION_MOMIT_LOCK_PREFIX (OPTION_MD_BASE + 19)
 #define OPTION_MEVEXRCIG (OPTION_MD_BASE + 20)
 #define OPTION_MSHARED (OPTION_MD_BASE + 21)
 #define OPTION_MAMD64 (OPTION_MD_BASE + 22)
@@ -9652,7 +9652,7 @@ struct option md_longopts[] =
 # if defined (TE_PE) || defined (TE_PEP)
   {"mbig-obj", no_argument, NULL, OPTION_MBIG_OBJ},
 #endif
-  {"momit-lock-prefix", required_argument, NULL, OPTION_OMIT_LOCK_PREFIX},
+  {"momit-lock-prefix", required_argument, NULL, OPTION_MOMIT_LOCK_PREFIX},
   {"mevexrcig", required_argument, NULL, OPTION_MEVEXRCIG},
   {"mamd64", no_argument, NULL, OPTION_MAMD64},
   {"mintel64", no_argument, NULL, OPTION_MINTEL64},
@@ -9963,7 +9963,7 @@ md_parse_option (int c, char *arg)
       break;
 #endif
 
-    case OPTION_OMIT_LOCK_PREFIX:
+    case OPTION_MOMIT_LOCK_PREFIX:
       if (strcasecmp (arg, "yes") == 0)
         omit_lock_prefix = 1;
       else if (strcasecmp (arg, "no") == 0)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]