371f38e785c40928ba551871f8276a4f7a681e3c
[binutils-gdb.git] / ld / testsuite / ld-scripts / fill16.d
1 #source: fill16_0.s
2 #source: fill16_1.s
3 #source: fill16_2.s
4 #ld: -T fill.t
5 #objdump: -s -j .text
6 #xfail: alpha*-*-*ecoff arm-*-coff i[3-7]86-*-coff m32c-*-* sh-*-pe
7 #xfail: sparc*-*-coff tic30-*-coff tic4x-*-* tic54x-*-* z8k-*-*
8 #
9 # See also fill.d. We use `notarget' for configurations unsupported
10 # here that are covered there, and `xfail' for configurations that work
11 # with neither place. See below for details as to why individual
12 # configurations are listed above.
13 #
14 # alpha-linuxecoff pads out code to 16 bytes.
15 # arm-coff always aligns code to 4 bytes.
16 # i386-coff always aligns code to 4 bytes.
17 # m32c pads out code sections with 4 NOPs (see `m32c_md_end').
18 # sh-pe pads out code sections to 16 bytes
19 # sparc-coff aligns to 8 bytes
20 # tic30-coff aligns to 2 bytes
21 # tic4x has 4 octet bytes
22 # tic54x doesn't support .p2align
23 # z8k-coff aligns to 2 bytes
24
25 .*: file format .*
26
27 Contents of section .text:
28 [0-9a-f]+ cafebabe cafebabe cafebabe cafebabe .*
29 [0-9a-f]+ 01010101 01010101 01010101 01010101 .*
30 [0-9a-f]+ 02020202 02020202 02020202 02020202 .*
31 [0-9a-f]+ 12232323 23232323 23232323 23232323 .*
32 [0-9a-f]+ 03030303 03030303 03030303 03030303 .*
33 [0-9a-f]+ 00345600 00004567 000089ab (deadbeef|efbeadde) .*
34 [0-9a-f]+ 00004567 000089ab 0000cdef 00004567 .*
35 [0-9a-f]+ 000089ab 0000cdef 00000123 .*