From: Maciej W. Rozycki Date: Sat, 28 May 2016 09:28:05 +0000 (+0100) Subject: MIPS/LD/testsuite: Rename `unaligned-syms' to `unaligned-data' X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3b4412a0419d0faa42432df1e4faab880fe43b35;p=binutils-gdb.git MIPS/LD/testsuite: Rename `unaligned-syms' to `unaligned-data' 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. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 13fb7459a71..238b25f866f 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,12 @@ +2016-05-28 Maciej W. Rozycki + + * 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. + 2016-05-28 Maciej W. Rozycki * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test. diff --git a/ld/testsuite/ld-mips-elf/unaligned-data.s b/ld/testsuite/ld-mips-elf/unaligned-data.s new file mode 100644 index 00000000000..e865a131230 --- /dev/null +++ b/ld/testsuite/ld-mips-elf/unaligned-data.s @@ -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 diff --git a/ld/testsuite/ld-mips-elf/unaligned-ldpc-0.d b/ld/testsuite/ld-mips-elf/unaligned-ldpc-0.d index 84b356c050a..b5e909a022a 100644 --- a/ld/testsuite/ld-mips-elf/unaligned-ldpc-0.d +++ b/ld/testsuite/ld-mips-elf/unaligned-ldpc-0.d @@ -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 diff --git a/ld/testsuite/ld-mips-elf/unaligned-ldpc-1.d b/ld/testsuite/ld-mips-elf/unaligned-ldpc-1.d index ca20d61b383..8287dac5ae3 100644 --- a/ld/testsuite/ld-mips-elf/unaligned-ldpc-1.d +++ b/ld/testsuite/ld-mips-elf/unaligned-ldpc-1.d @@ -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 diff --git a/ld/testsuite/ld-mips-elf/unaligned-lwpc-0.d b/ld/testsuite/ld-mips-elf/unaligned-lwpc-0.d index b7b2946f973..e7db4948203 100644 --- a/ld/testsuite/ld-mips-elf/unaligned-lwpc-0.d +++ b/ld/testsuite/ld-mips-elf/unaligned-lwpc-0.d @@ -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 diff --git a/ld/testsuite/ld-mips-elf/unaligned-lwpc-1.d b/ld/testsuite/ld-mips-elf/unaligned-lwpc-1.d index 39f03c3dc95..0c207024a5f 100644 --- a/ld/testsuite/ld-mips-elf/unaligned-lwpc-1.d +++ b/ld/testsuite/ld-mips-elf/unaligned-lwpc-1.d @@ -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 diff --git a/ld/testsuite/ld-mips-elf/unaligned-syms.s b/ld/testsuite/ld-mips-elf/unaligned-syms.s deleted file mode 100644 index e865a131230..00000000000 --- a/ld/testsuite/ld-mips-elf/unaligned-syms.s +++ /dev/null @@ -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