This is the mail archive of the binutils@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]

PATCH: Rename OPTION_omit_lock_prefix to OPTION_OMIT_LOCK_PREFIX


Hi,

I checked in this patch to rename OPTION_omit_lock_prefix to
OPTION_OMIT_LOCK_PREFIX.


H.J.
--
    	* config/tc-i386.c (OPTION_omit_lock_prefix): Renamed to ...
    	(OPTION_OMIT_LOCK_PREFIX): This.
    	(md_longopts): Updated.
    	(md_parse_option): Likewise.

diff --git a/gas/ChangeLog b/gas/ChangeLog
index 3f499cc..0cbfb40 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,10 @@
+2014-09-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* config/tc-i386.c (OPTION_omit_lock_prefix): Renamed to ...
+	(OPTION_OMIT_LOCK_PREFIX): This.
+	(md_longopts): Updated.
+	(md_parse_option): Likewise.
+
 2014-09-15  Andrew Bennett  <andrew.bennett@imgtec.com>
 	    Matthew Fortune  <matthew.fortune@imgtec.com>
 
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 5da257f..39581f1 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -9545,7 +9545,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_OMIT_LOCK_PREFIX (OPTION_MD_BASE + 19)
 
 struct option md_longopts[] =
 {
@@ -9575,7 +9575,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_OMIT_LOCK_PREFIX},
   {NULL, no_argument, NULL, 0}
 };
 size_t md_longopts_size = sizeof (md_longopts);
@@ -9863,7 +9863,7 @@ md_parse_option (int c, char *arg)
       break;
 #endif
 
-    case OPTION_omit_lock_prefix:
+    case OPTION_OMIT_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]