Move gas/all/rept.[ds] to gas/i386
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 7 Jun 2012 14:52:42 +0000 (14:52 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 7 Jun 2012 14:52:42 +0000 (14:52 +0000)
* gas/all/gas.exp: Don't run rept.

* gas/all/rept.d: Moved to ...
* gas/i386/rept.d: Here.
* gas/all/rept.s: Moved to ...
* gas/i386/rept.s: Here.

* gas/i386/i386.exp: Run rept.

gas/testsuite/ChangeLog
gas/testsuite/gas/all/gas.exp
gas/testsuite/gas/all/rept.d [deleted file]
gas/testsuite/gas/all/rept.s [deleted file]
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/rept.d [new file with mode: 0644]
gas/testsuite/gas/i386/rept.s [new file with mode: 0644]

index 0cd8df59bf3749d248ce8f4c4fe33b619c517cad..9b3c6d30cec736282d99d729162a2b7832c16fb2 100644 (file)
@@ -1,3 +1,14 @@
+2012-06-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gas/all/gas.exp: Don't run rept.
+
+       * gas/all/rept.d: Moved to ...
+       * gas/i386/rept.d: Here.
+       * gas/all/rept.s: Moved to ...
+       * gas/i386/rept.s: Here.
+
+       * gas/i386/i386.exp: Run rept.
+
 2012-06-07  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR gas/14201
index 079b74613fab6e0cb0018ce4e3e3e4fd3a94b64d..2cef5ddd594bc33bf9755b842e8c9df0dedb4b33 100644 (file)
@@ -400,7 +400,6 @@ gas_test_error "weakref3.s" "" "a: would close weakref loop: a => b => c => d =>
 gas_test_error "weakref4.s" "" "is already defined"
 
 run_dump_test string
-run_dump_test rept
 
 load_lib gas-dg.exp
 dg-init
diff --git a/gas/testsuite/gas/all/rept.d b/gas/testsuite/gas/all/rept.d
deleted file mode 100644 (file)
index 6e63f22..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-#nm: --extern-only
-
-# Test the .rept pseudo-op.
-
-0+0 D _pad_data
diff --git a/gas/testsuite/gas/all/rept.s b/gas/testsuite/gas/all/rept.s
deleted file mode 100644 (file)
index 318f44e..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-        .data
-        .global _pad_data
-_pad_data:
-        .rept (0x40000*210) 
-        .byte 0
-        .endr
index fc67db08e6995149661a23ef2390b6c1b04aa9e4..89adf696a00ff5c844c9f1df7fe97b761892f3ba 100644 (file)
@@ -274,6 +274,7 @@ if [expr [istarget "i*86-*-*"] || [istarget "x86_64-*-*"]] then {
     run_dump_test "string-ok"
     run_list_test "string-bad" ""
     run_list_test "space1" "-al"
+    run_dump_test rept
     if [is_elf_format] then {
        run_list_test_stdin "list-1" "-al"
        run_list_test_stdin "list-2" "-al"
diff --git a/gas/testsuite/gas/i386/rept.d b/gas/testsuite/gas/i386/rept.d
new file mode 100644 (file)
index 0000000..6e63f22
--- /dev/null
@@ -0,0 +1,5 @@
+#nm: --extern-only
+
+# Test the .rept pseudo-op.
+
+0+0 D _pad_data
diff --git a/gas/testsuite/gas/i386/rept.s b/gas/testsuite/gas/i386/rept.s
new file mode 100644 (file)
index 0000000..318f44e
--- /dev/null
@@ -0,0 +1,6 @@
+        .data
+        .global _pad_data
+_pad_data:
+        .rept (0x40000*210) 
+        .byte 0
+        .endr