aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-11-02 15:17:39 +1030
committerAlan Modra <amodra@gmail.com>2013-11-02 15:17:39 +1030
commit5b0ad99a826dfe3f3e9e31efe3590fae68a54918 (patch)
tree74d4a4b6f2dce3000da7fe90476872da9cea5f35
parent8b974ba3e8216b7f6659d2803444e0ddceaeded7 (diff)
downloadgdb-5b0ad99a826dfe3f3e9e31efe3590fae68a54918.zip
gdb-5b0ad99a826dfe3f3e9e31efe3590fae68a54918.tar.gz
gdb-5b0ad99a826dfe3f3e9e31efe3590fae68a54918.tar.bz2
Testsuite fix for targets where .int isn't 4 bytes
* binutils-all/dw2-1.S: Use .4byte rather than .int. * binutils-all/dw2-2.S: Likewise.
-rw-r--r--binutils/testsuite/ChangeLog5
-rw-r--r--binutils/testsuite/binutils-all/dw2-1.S4
-rw-r--r--binutils/testsuite/binutils-all/dw2-2.S2
3 files changed, 8 insertions, 3 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index 35e3284..e11fbe1 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2013-11-02 Alan Modra <amodra@gmail.com>
+
+ * binutils-all/dw2-1.S: Use .4byte rather than .int.
+ * binutils-all/dw2-2.S: Likewise.
+
2013-10-24 Nick Clifton <nickc@redhat.com>
* binutils-all/objdump.exp (cps_expected): Add MSP430 to list.
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: