]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Rename --n32 to --x32.
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 14 Jan 2011 23:07:11 +0000 (23:07 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 14 Jan 2011 23:07:11 +0000 (23:07 +0000)
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.

15 files changed:
gas/ChangeLog
gas/config/tc-i386.c
gas/doc/c-i386.texi
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/ilp32/cfi/ilp32.exp
gas/testsuite/gas/i386/ilp32/elf/ilp32.exp
gas/testsuite/gas/i386/ilp32/ilp32.exp
gas/testsuite/gas/i386/ilp32/lns/ilp32.exp
ld/testsuite/ChangeLog
ld/testsuite/ld-x86-64/ilp32-1.d
ld/testsuite/ld-x86-64/ilp32-2.d
ld/testsuite/ld-x86-64/ilp32-3.d
ld/testsuite/ld-x86-64/ilp32-4.d
ld/testsuite/ld-x86-64/ilp32-5.d
ld/testsuite/ld-x86-64/x86-64.exp

index 449aa73ebafc9afd1bad20803e4de0b23cd6be88..33cf24c90e62b59d2e6be8904736ddf6cce0368a 100644 (file)
@@ -1,3 +1,13 @@
+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.
+
 2011-01-11  Mingjie Xing  <mingjie.xing@gmail.com>
 
        * config/tc-mips.c (mips_ip): Update error messages.  Take an
index a5f9c49102b52764e4c75e6a33b56c0ef1eead3c..5c880b7c0334ffbe888b54569a9c342d597d1434 100644 (file)
@@ -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, _("\
index 4ea33f6db513c05c267f7499716d28de273f28b4..d330f8604cae8af6da7827fa16524b8ba4975c6b 100644 (file)
@@ -57,13 +57,13 @@ dependent options:
 @table @gcctabopt
 @cindex @samp{--32} option, i386
 @cindex @samp{--32} option, x86-64
-@cindex @samp{--n32} option, i386
-@cindex @samp{--n32} option, x86-64
+@cindex @samp{--x32} option, i386
+@cindex @samp{--x32} option, x86-64
 @cindex @samp{--64} option, i386
 @cindex @samp{--64} option, x86-64
-@item --32 | --n32 | --64
+@item --32 | --x32 | --64
 Select the word size, either 32 bits or 64 bits.  @samp{--32}
-implies Intel i386 architecture, while @samp{--n32} and @samp{--64}
+implies Intel i386 architecture, while @samp{--x32} and @samp{--64}
 imply AMD x86-64 architecture with 32-bit or 64-bit word-size
 respectively.
 
index e63bd6565e1364ba53ca82cf16cc72705478bd2b..21621019e00b1e95df7f201346a01852ebb32acc 100644 (file)
@@ -1,3 +1,10 @@
+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.
+
 2011-01-11  Mingjie Xing  <mingjie.xing@gmail.com>
 
        * mips/loongson-3a-2.s, mips/loongson-3a-2.d: Use the real offset
index 5ec1dfdd6d7cb12eb7f7efc80be0bb7771f58508..9593720accfded76a66f96449f0373a8b826b873 100644 (file)
@@ -13,7 +13,7 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_64_check] &&
 
     global ASFLAGS
     set old_ASFLAGS "$ASFLAGS"
-    set ASFLAGS "$ASFLAGS --n32"
+    set ASFLAGS "$ASFLAGS --x32"
 
     foreach test [lsort [glob -nocomplain $srcdir/$subdir/*.d]] {
        if { [runtest_file_p $runtests $test] } {
index 5ec1dfdd6d7cb12eb7f7efc80be0bb7771f58508..9593720accfded76a66f96449f0373a8b826b873 100644 (file)
@@ -13,7 +13,7 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_64_check] &&
 
     global ASFLAGS
     set old_ASFLAGS "$ASFLAGS"
-    set ASFLAGS "$ASFLAGS --n32"
+    set ASFLAGS "$ASFLAGS --x32"
 
     foreach test [lsort [glob -nocomplain $srcdir/$subdir/*.d]] {
        if { [runtest_file_p $runtests $test] } {
index 5ec1dfdd6d7cb12eb7f7efc80be0bb7771f58508..9593720accfded76a66f96449f0373a8b826b873 100644 (file)
@@ -13,7 +13,7 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_64_check] &&
 
     global ASFLAGS
     set old_ASFLAGS "$ASFLAGS"
-    set ASFLAGS "$ASFLAGS --n32"
+    set ASFLAGS "$ASFLAGS --x32"
 
     foreach test [lsort [glob -nocomplain $srcdir/$subdir/*.d]] {
        if { [runtest_file_p $runtests $test] } {
index 5ec1dfdd6d7cb12eb7f7efc80be0bb7771f58508..9593720accfded76a66f96449f0373a8b826b873 100644 (file)
@@ -13,7 +13,7 @@ if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_64_check] &&
 
     global ASFLAGS
     set old_ASFLAGS "$ASFLAGS"
-    set ASFLAGS "$ASFLAGS --n32"
+    set ASFLAGS "$ASFLAGS --x32"
 
     foreach test [lsort [glob -nocomplain $srcdir/$subdir/*.d]] {
        if { [runtest_file_p $runtests $test] } {
index 897e3db8f0404754368fc931c97f06cb40cb15ec..498de823ec7e3066bd9a5ea2137983f2fd811b78 100644 (file)
@@ -1,3 +1,12 @@
+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.
+
 2011-01-14  H.J. Lu  <hongjiu.lu@intel.com>
 
        * ld-x86-64/ilp32-5.d: New.
index 394d051beee3c68c094d3d4bd04de1aacd0361de..aa3b934e4744cbcf87e8717116f85f9829b6dabf 100644 (file)
@@ -1,6 +1,6 @@
 #source: dummy.s
-#as: --n32
-#ld: -m elf32_x86_64 tmpdir/startn32.o tmpdir/foon32.o
+#as: --x32
+#ld: -m elf32_x86_64 tmpdir/startx32.o tmpdir/foox32.o
 #readelf: -h
 
 ELF Header:
index 405d509a9a34a18a44d35bbecf946c27e8c1e2a6..19fc671bbc1ea02dd5b053de5ddb40ae558603db 100644 (file)
@@ -1,4 +1,4 @@
 #source: dummy.s
-#as: --n32
-#ld: -m elf32_x86_64 tmpdir/startn32.o tmpdir/foo32.o
+#as: --x32
+#ld: -m elf32_x86_64 tmpdir/startx32.o tmpdir/foo32.o
 #error: .*i386 architecture of input file `tmpdir/foo32.o' is incompatible with i386:x64-32 output
index d61118147b4b05242a8d2c819269e17704ce7d3c..fdd906527fb6f81caada0ccfb05769233fdda120 100644 (file)
@@ -1,4 +1,4 @@
 #source: dummy.s
-#as: --n32
-#ld: -m elf32_x86_64 tmpdir/startn32.o tmpdir/foo64.o
+#as: --x32
+#ld: -m elf32_x86_64 tmpdir/startx32.o tmpdir/foo64.o
 #error: .*i386:x86-64 architecture of input file `tmpdir/foo64.o' is incompatible with i386:x64-32 output
index 24fe4c53ba3d349ea229b39a1a4fdcb2c57388e0..e7bfe4e2fcce4c326cdc753a87864a3ddf633e02 100644 (file)
@@ -1,5 +1,5 @@
 #source: start.s
-#as: --n32
+#as: --x32
 #ld: -m elf32_x86_64 -shared
 #readelf: -d -S --wide
 
index 8f5025ebe90a1598f87148de4c8e27be00fc7866..e4673e52b26943d87a00a83103a27759b5b8490c 100644 (file)
@@ -1,4 +1,4 @@
-#as: --n32
+#as: --x32
 #ld: -m elf32_x86_64 -shared
 #readelf: -r --wide
 
index e69ade6c42e0bcdcbc8df19613214036428f9862..a82a56fb3cbf16acc0d063770f4064487a76833d 100644 (file)
@@ -141,7 +141,7 @@ if { ![istarget "x86_64-*-linux*"] } {
     return
 }
 
-if ![ld_assemble $as "--n32 $srcdir/$subdir/start.s" tmpdir/startn32.o] { 
+if ![ld_assemble $as "--x32 $srcdir/$subdir/start.s" tmpdir/startx32.o] { 
     unresolved "Build ILP32 start.o"
     return
 }
@@ -156,7 +156,7 @@ if ![ld_assemble $as "--64 $srcdir/$subdir/start.s" tmpdir/start64.o] {
     return
 }
 
-if ![ld_assemble $as "--n32 $srcdir/$subdir/foo.s" tmpdir/foon32.o] { 
+if ![ld_assemble $as "--x32 $srcdir/$subdir/foo.s" tmpdir/foox32.o] { 
     unresolved "Build ILP32 foo.o"
     return
 }