LD/testsuite: Add 2**4 section alignment FILL script statement test
[deliverable/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 #notarget: arm-*-coff
7 #notarget: i[3-7]86-*-coff
8 #xfail: alpha*-*-*ecoff
9 #xfail: arm-epoc-pe
10 #xfail: m32c-*-*
11 #xfail: sh-*-pe
12 #xfail: sparc*-*-coff
13 #xfail: tic30-*-coff tic4x-*-* tic54x-*-*
14 #xfail: z8k-*-*
15 #
16 # See also fill.d. We use `notarget' for configurations unsupported
17 # here that are covered there, and `xfail' for configurations that work
18 # with neither place. See below for details as to why individual
19 # configurations are listed above.
20 #
21 # alpha-linuxecoff pads out code to 16 bytes.
22 # arm-epoc-pe always pads out code to 512 bytes.
23 # arm-coff always aligns code to 4 bytes.
24 # i386-coff always aligns code to 4 bytes.
25 # m32c pads out code sections with 4 NOPs (see `m32c_md_end').
26 # sh-pe pads out code sections to 16 bytes
27 # sparc-coff aligns to 8 bytes
28 # tic30-coff aligns to 2 bytes
29 # tic4x has 4 octet bytes
30 # tic54x doesn't support .p2align
31 # z8k-coff aligns to 2 bytes
32
33 .*: file format .*
34
35 Contents of section .text:
36 [0-9a-f]+ cafebabe cafebabe cafebabe cafebabe .*
37 [0-9a-f]+ 01010101 01010101 01010101 01010101 .*
38 [0-9a-f]+ 02020202 02020202 02020202 02020202 .*
39 [0-9a-f]+ 12232323 23232323 23232323 23232323 .*
40 [0-9a-f]+ 03030303 03030303 03030303 03030303 .*
41 [0-9a-f]+ 00345600 00004567 000089ab (deadbeef|efbeadde) .*
42 [0-9a-f]+ 00004567 000089ab 0000cdef 00004567 .*
43 [0-9a-f]+ 000089ab 0000cdef 00000123 .*
This page took 0.031812 seconds and 5 git commands to generate.