aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-01-25 17:01:11 -0800
committerH.J. Lu <hjl.tools@gmail.com>2016-01-25 17:01:11 -0800
commitd1982f935ef015f15f86d0aa5c64b6a4750b25ed (patch)
tree89ccaa22be5fe71e3f946561f1a790c45fafde7e /gas
parent29d539288a13b6542f1fbabc11d1e42de8403f8f (diff)
downloadgdb-d1982f935ef015f15f86d0aa5c64b6a4750b25ed.zip
gdb-d1982f935ef015f15f86d0aa5c64b6a4750b25ed.tar.gz
gdb-d1982f935ef015f15f86d0aa5c64b6a4750b25ed.tar.bz2
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.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog7
-rw-r--r--gas/config/tc-i386.c6
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)