[committed] MIPS/LD/testsuite: Rename `unaligned-syms' to `unaligned-data'

Maciej W. Rozycki macro@imgtec.com
Sat May 28 10:02:00 GMT 2016


	ld/
	* testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
	* testsuite/ld-mips-elf/unaligned-data.s: ... this.
	* testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
	* testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
	* testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
	* testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
---
 I have committed this change in preparation for upcoming test suite 
updates.

  Maciej

binutils-mips-ld-test-unaligned-data.diff
Index: binutils/ld/testsuite/ld-mips-elf/unaligned-data.s
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ binutils/ld/testsuite/ld-mips-elf/unaligned-data.s	2016-05-27 12:11:35.018649285 +0100
@@ -0,0 +1,15 @@
+	.macro	sym n:req
+	.if	\n
+	.globl	bar\@
+	.type	bar\@, @object
+bar\@ :
+	.byte	0
+	.size	bar\@, . - bar\@
+	sym	\n - 1
+	.endif
+	.endm
+
+	.data
+	.align	4
+	.space	32
+	sym	16
Index: binutils/ld/testsuite/ld-mips-elf/unaligned-ldpc-0.d
===================================================================
--- binutils.orig/ld/testsuite/ld-mips-elf/unaligned-ldpc-0.d	2016-05-26 12:32:39.000000000 +0100
+++ binutils/ld/testsuite/ld-mips-elf/unaligned-ldpc-0.d	2016-05-27 12:13:16.949836211 +0100
@@ -1,6 +1,6 @@
 #name: MIPS LDPC from unaligned symbol 0
 #source: unaligned-ldpc-0.s
-#source: unaligned-syms.s
+#source: unaligned-data.s
 #as: -EB -32 -mips64r6
 #ld: -EB -Ttext 0x1c000000 -Tdata 0x1c080000 -e 0x1c000000
 #objdump: -dr --prefix-addresses --show-raw-insn
Index: binutils/ld/testsuite/ld-mips-elf/unaligned-ldpc-1.d
===================================================================
--- binutils.orig/ld/testsuite/ld-mips-elf/unaligned-ldpc-1.d	2016-05-27 09:44:31.000000000 +0100
+++ binutils/ld/testsuite/ld-mips-elf/unaligned-ldpc-1.d	2016-05-27 12:13:22.739381428 +0100
@@ -1,6 +1,6 @@
 #name: MIPS LDPC from unaligned symbol 1
 #source: unaligned-ldpc-1.s
-#source: unaligned-syms.s
+#source: unaligned-data.s
 #as: -EB -32 -mips64r6
 #ld: -EB -Ttext 0x1c000000 -Tdata 0x1c080000 -e 0x1c000000
 #error: \A[^\n]*: In function `foo':\n
Index: binutils/ld/testsuite/ld-mips-elf/unaligned-lwpc-0.d
===================================================================
--- binutils.orig/ld/testsuite/ld-mips-elf/unaligned-lwpc-0.d	2016-05-26 12:32:39.000000000 +0100
+++ binutils/ld/testsuite/ld-mips-elf/unaligned-lwpc-0.d	2016-05-27 12:13:28.920458174 +0100
@@ -1,6 +1,6 @@
 #name: MIPS LWPC from unaligned symbol 0
 #source: unaligned-lwpc-0.s
-#source: unaligned-syms.s
+#source: unaligned-data.s
 #as: -EB -32 -mips32r6
 #ld: -EB -Ttext 0x1c000000 -Tdata 0x1c080000 -e 0x1c000000
 #objdump: -dr --prefix-addresses --show-raw-insn
Index: binutils/ld/testsuite/ld-mips-elf/unaligned-lwpc-1.d
===================================================================
--- binutils.orig/ld/testsuite/ld-mips-elf/unaligned-lwpc-1.d	2016-05-27 09:44:31.000000000 +0100
+++ binutils/ld/testsuite/ld-mips-elf/unaligned-lwpc-1.d	2016-05-27 12:13:34.212464264 +0100
@@ -1,6 +1,6 @@
 #name: MIPS LWPC from unaligned symbol 1
 #source: unaligned-lwpc-1.s
-#source: unaligned-syms.s
+#source: unaligned-data.s
 #as: -EB -32 -mips32r6
 #ld: -EB -Ttext 0x1c000000 -Tdata 0x1c080000 -e 0x1c000000
 #error: \A[^\n]*: In function `foo':\n
Index: binutils/ld/testsuite/ld-mips-elf/unaligned-syms.s
===================================================================
--- binutils.orig/ld/testsuite/ld-mips-elf/unaligned-syms.s	2016-05-26 01:05:01.000000000 +0100
+++ /dev/null	1970-01-01 00:00:00.000000000 +0000
@@ -1,15 +0,0 @@
-	.macro	sym n:req
-	.if	\n
-	.globl	bar\@
-	.type	bar\@, @object
-bar\@ :
-	.byte	0
-	.size	bar\@, . - bar\@
-	sym	\n - 1
-	.endif
-	.endm
-
-	.data
-	.align	4
-	.space	32
-	sym	16



More information about the Binutils mailing list