From: "Maciej W. Rozycki" <macro@imgtec.com>
To: <binutils@sourceware.org>
Subject: [committed] MIPS/LD/testsuite: Rename `unaligned-syms' to `unaligned-data'
Date: Sat, 28 May 2016 10:02:00 -0000 [thread overview]
Message-ID: <alpine.DEB.2.00.1605281023580.9344@tp.orcam.me.uk> (raw)
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
reply other threads:[~2016-05-28 10:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.00.1605281023580.9344@tp.orcam.me.uk \
--to=macro@imgtec.com \
--cc=binutils@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).