aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2014-03-13 12:47:05 +0000
committerNick Clifton <nickc@redhat.com>2014-03-13 12:47:05 +0000
commitc307e84195f4cc97bf73fcefcb947f73a17b1141 (patch)
tree96260445ec1ab7d34513d233723137296c153d47 /gas
parenta69900ae4ef5a53f7709c15a4aead39417196dce (diff)
downloadgdb-c307e84195f4cc97bf73fcefcb947f73a17b1141.zip
gdb-c307e84195f4cc97bf73fcefcb947f73a17b1141.tar.gz
gdb-c307e84195f4cc97bf73fcefcb947f73a17b1141.tar.bz2
Make the new aarch64 bignum test endian agnostic.
* gas/aarch64/litpool.s: Make the test endian agnostic. * gas/aarch64/litpool.d: Update expected disassembly.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/aarch64/litpool.d4
-rw-r--r--gas/testsuite/gas/aarch64/litpool.s4
3 files changed, 9 insertions, 4 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 161d49e..293628b 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2014-03-13 Nick Clifton <nickc@redhat.com>
+
+ * gas/aarch64/litpool.s: Make the test endian agnostic.
+ * gas/aarch64/litpool.d: Update expected disassembly.
+
2014-03-13 Tristan Gingold <gingold@adacore.com>
* gas/pe/big-obj.d, gas/pe/big-obj.s: Add test.
diff --git a/gas/testsuite/gas/aarch64/litpool.d b/gas/testsuite/gas/aarch64/litpool.d
index bc5f6c0..15edbc0 100644
--- a/gas/testsuite/gas/aarch64/litpool.d
+++ b/gas/testsuite/gas/aarch64/litpool.d
@@ -12,7 +12,7 @@ Disassembly of section \.text:
4: 9c0000e1 ldr q1, 20 <\.text\+0x20>
8: 9c000142 ldr q2, 30 <\.text\+0x30>
c: 9c0001a3 ldr q3, 40 <\.text\+0x40>
- 10: 00000000 .word 0x00000000
+ 10: 5a827999 .word 0x5a827999
14: 5a827999 .word 0x5a827999
18: 5a827999 .word 0x5a827999
1c: 5a827999 .word 0x5a827999
@@ -20,7 +20,7 @@ Disassembly of section \.text:
24: 6ed9eba1 .word 0x6ed9eba1
28: 6ed9eba1 .word 0x6ed9eba1
2c: 6ed9eba1 .word 0x6ed9eba1
- 30: 11223344 .word 0x11223344
+ 30: 8f1bbcdc .word 0x8f1bbcdc
34: 8f1bbcdc .word 0x8f1bbcdc
38: 8f1bbcdc .word 0x8f1bbcdc
3c: 8f1bbcdc .word 0x8f1bbcdc
diff --git a/gas/testsuite/gas/aarch64/litpool.s b/gas/testsuite/gas/aarch64/litpool.s
index d13e91f..83c6f4e 100644
--- a/gas/testsuite/gas/aarch64/litpool.s
+++ b/gas/testsuite/gas/aarch64/litpool.s
@@ -1,7 +1,7 @@
# Based on PR 16688 this test checks that bignums are correctly added to the literal pool
.text
- ldr q0, =0x5a8279995a8279995a82799900000000
+ ldr q0, =0x5a8279995a8279995a8279995a827999
ldr q1, =0x6ed9eba16ed9eba16ed9eba16ed9eba1
- ldr q2, =0x8f1bbcdc8f1bbcdc8f1bbcdc11223344
+ ldr q2, =0x8f1bbcdc8f1bbcdc8f1bbcdc8f1bbcdc
ldr q3, =0xca62c1d6ca62c1d6ca62c1d6ca62c1d6