PR16688 patch applied test case fails BE.

Nicholas Clifton nickc@redhat.com
Thu Mar 13 15:20:00 GMT 2014


Hi Richard,

> And the patch(es)?

Doh....

gas/testsuite/ChangeLog
2014-03-13  Nick Clifton  <nickc@redhat.com>

	* gas/aarch64/litpool.s: Make the test endian agnostic.
	* gas/aarch64/litpool.d: Update expected disassembly.

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



More information about the Binutils mailing list