More test case alignments.

This commit is contained in:
Nick Clifton 2000-12-03 20:57:19 +00:00
parent 9abcc8f09d
commit b6426432a0
6 changed files with 34 additions and 5 deletions

View file

@ -20,6 +20,14 @@
* gas/mips/sync.d: Expect "..." at end of objdump output
because of zero bytes at end of section.
* gas/mips/empic.d: Pad sections out to 16 bytes, to avoid
alignment issues so tests are useful on multiple targets.
* gas/mips/empic.s: Likewise.
* gas/mips/mips16-e.d: Likewise.
* gas/mips/mips16-e.s: Likewise.
* gas/mips/mips16-f.d: Likewise.
* gas/mips/mips16-f.s: Likewise.
2000-12-01 Chris Demetriou <cgd@sibyte.com>
* gas/mips/mips16.d: Expect mips16 nops to be used for padding

View file

@ -124,7 +124,7 @@ Contents of section \.text:
00c0 00000000 00000034 00000000 10000032 .*
00d0 10000033 24030034 2403003c 000000cc .*
00e0 00000034 00000000 00000000 000000cc .*
00f0 00000000 00000034 .*
00f0 00000000 00000034 00000000 00000000 .*
Contents of section \.data:
Contents of section \.reginfo:
0000 80000008 00000000 00000000 00000000 .*
@ -148,4 +148,5 @@ Contents of section \.foo:
00d0 00000000 00000004 00000000 00000104 .*
00e0 00000000 00000008 00000000 000000e8 .*
00f0 00000000 00000100 00000000 000000fc .*
0100 00000000 .*
0100 00000000 00000000 00000000 00000000 .*

View file

@ -60,7 +60,10 @@ l5:
nop
.dword 2b # R_MIPS_64 .text CC
.dword 2b-l5 # R_MIPS_PC64 .text 98 or 34
# align section end to 16-byte boundary for easier testing on multiple targets
.p2align 4
.section ".foo","ax",@progbits
nop
l4:
@ -109,3 +112,6 @@ l4:
l1:
nop
# align section end to 16-byte boundary for easier testing on multiple targets
.p2align 4

View file

@ -29,7 +29,7 @@ OFFSET TYPE VALUE
Contents of section \.text:
0000 65006500 65006500 .*
0000 65006500 65006500 65006500 65006500 .*
Contents of section \.data:
Contents of section \.reginfo:
0000 00000001 00000000 00000000 00000000 .*
@ -38,4 +38,4 @@ Contents of section \.mdebug:
#...
Contents of section foo:
0000 00000000 00000008 00000000 00000003 .*
0010 00000000 00000008 .*
0010 00000000 00000008 00000000 00000000 .*

View file

@ -4,6 +4,10 @@
l1: nop
1: nop
nop
# align section end to 16-byte boundary for easier testing on multiple targets
.p2align 4
.section "foo"
.word l1
.word l1+8
@ -11,3 +15,6 @@ l1: nop
.word 1b+3
.word g1
.word g1+8
# align section end to 16-byte boundary for easier testing on multiple targets
.p2align 4

View file

@ -2,5 +2,12 @@
.text
nop
l1: nop
# align section end to 16-byte boundary for easier testing on multiple targets
.p2align 4
.section "foo"
.word l1+3
# align section end to 16-byte boundary for easier testing on multiple targets
.p2align 4