Testsuite fix for targets where .int isn't 4 bytes

Alan Modra amodra@gmail.com
Sat Nov 2 04:50:00 GMT 2013


	* binutils-all/dw2-1.S: Use .4byte rather than .int.
	* binutils-all/dw2-2.S: Likewise.

diff --git a/binutils/testsuite/binutils-all/dw2-1.S b/binutils/testsuite/binutils-all/dw2-1.S
index ab12be6..ed46cd0 100644
--- a/binutils/testsuite/binutils-all/dw2-1.S
+++ b/binutils/testsuite/binutils-all/dw2-1.S
@@ -20,13 +20,13 @@
 	.text
 	.globl _start
 _start:
-	.int 0
+	.4byte 0
 .Lbegin_text1:
 	.globl func_cu1
 	.type func_cu1, %function
 func_cu1:
 .Lbegin_func_cu1:
-	.int 0
+	.4byte 0
 .Lend_func_cu1:
 	.size func_cu1, .-func_cu1
 .Lend_text1:
diff --git a/binutils/testsuite/binutils-all/dw2-2.S b/binutils/testsuite/binutils-all/dw2-2.S
index 43b5355..d9046a9 100644
--- a/binutils/testsuite/binutils-all/dw2-2.S
+++ b/binutils/testsuite/binutils-all/dw2-2.S
@@ -23,7 +23,7 @@
 	.type func_cu2, %function
 func_cu2:
 .Lbegin_func_cu2:
-	.int 0
+	.4byte 0
 .Lend_func_cu2:
 	.size func_cu2, .-func_cu2
 .Lend_text1:

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list