aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2011-01-14 23:07:11 +0000
committerH.J. Lu <hjl.tools@gmail.com>2011-01-14 23:07:11 +0000
commit570561f71ad8fbbb0b964b40ebce158ff6764a05 (patch)
treedc3afa14f317b90a286d01331da0440683612701 /gas/config
parentfeeb563187a2f7d1330ca134e5772969ddfecd67 (diff)
downloadgdb-570561f71ad8fbbb0b964b40ebce158ff6764a05.zip
gdb-570561f71ad8fbbb0b964b40ebce158ff6764a05.tar.gz
gdb-570561f71ad8fbbb0b964b40ebce158ff6764a05.tar.bz2
Rename --n32 to --x32.
gas/ 2011-01-14 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (OPTION_N32): Renamed to ... (OPTION_X32): This. (md_longopts): Replace n32 with x32. (md_parse_option): Updated. (md_show_usage): Likewise. * doc/c-i386.texi: Replace n32 with x32. gas/testsuite/ 2011-01-14 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/ilp32/cfi/ilp32.exp: Replace --n32 with --x32. * gas/i386/ilp32/elf/ilp32.exp: Likewise. * gas/i386/ilp32/ilp32.exp: Likewise. * gas/i386/ilp32/lns/ilp32.exp: Likewise. ld/testsuite/ 2011-01-14 H.J. Lu <hongjiu.lu@intel.com> * ld-x86-64/ilp32-1.d: Replace --n32 with --x32. * ld-x86-64/ilp32-2.d: Likewise. * ld-x86-64/ilp32-3.d: Likewise. * ld-x86-64/ilp32-4.d: Likewise. * ld-x86-64/ilp32-5.d: Likewise. * ld-x86-64/x86-64.exp: Likewise.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-i386.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index a5f9c49..5c880b7 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -8152,7 +8152,7 @@ const char *md_shortopts = "qn";
#define OPTION_MSSE2AVX (OPTION_MD_BASE + 10)
#define OPTION_MSSE_CHECK (OPTION_MD_BASE + 11)
#define OPTION_MAVXSCALAR (OPTION_MD_BASE + 12)
-#define OPTION_N32 (OPTION_MD_BASE + 13)
+#define OPTION_X32 (OPTION_MD_BASE + 13)
struct option md_longopts[] =
{
@@ -8162,7 +8162,7 @@ struct option md_longopts[] =
{"64", no_argument, NULL, OPTION_64},
#endif
#if defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)
- {"n32", no_argument, NULL, OPTION_N32},
+ {"x32", no_argument, NULL, OPTION_X32},
#endif
{"divide", no_argument, NULL, OPTION_DIVIDE},
{"march", required_argument, NULL, OPTION_MARCH},
@@ -8239,7 +8239,7 @@ md_parse_option (int c, char *arg)
#endif
#if defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)
- case OPTION_N32:
+ case OPTION_X32:
if (IS_ELF)
{
const char **list, **l;
@@ -8523,7 +8523,7 @@ md_show_usage (FILE *stream)
#if (defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF) \
|| defined (TE_PE) || defined (TE_PEP))
fprintf (stream, _("\
- --32/--64/--n32 generate 32bit/64bit/n32bit code\n"));
+ --32/--64/--x32 generate 32bit/64bit/x32 code\n"));
#endif
#ifdef SVR4_COMMENT_CHARS
fprintf (stream, _("\