ld testsuite use of notarget
[external/binutils.git] / ld / testsuite / ld-scripts / fill.d
1 #source: fill_0.s
2 #source: fill_1.s
3 #source: fill_2.s
4 #ld: -T fill.t
5 #objdump: -s -j .text
6 #xfail: alpha*-*-*ecoff ia64-*-* m32c-*-* mips*-*-freebsd* mips*-*-gnu*
7 #xfail: mips*-*-irix* mips*-*-kfreebsd* mips*-*-linux* mips*-*-netbsd*
8 #xfail: mips*-*-openbsd* mips*-*-sysv4* sh-*-pe sparc*-*-coff
9 #xfail: tic30-*-coff tic4x-*-* tic54x-*-* tilegx*-*-* tilepro-*-*
10 #xfail: x86_64-*-cygwin x86_64-*-mingw* x86_64-*-pe* z8k-*-*
11 #
12 # See also fill16.d.  We use `notarget' for configurations unsupported
13 # here that are covered there, and `xfail' for configurations that work
14 # in neither place.  See below for details as to why individual
15 # configurations are listed above.
16 #
17 # alpha-linuxecoff pads out code to 16 bytes.
18 # ia64 aligns code to minimum 16 bytes.
19 # m32c pads out code sections with 4 NOPs (see `m32c_md_end').
20 # mips aligns to minimum 16 bytes (except for bare-metal ELF and VxWorks).
21 # sh-pe pads out code sections to 16 bytes
22 # sparc-coff aligns to 8 bytes
23 # tic30-coff aligns to 2 bytes
24 # tic4x has 4 octet bytes
25 # tic54x doesn't support .p2align
26 # tilegx aligns code to minimum 8 bytes.
27 # tilepro aligns code to minimum 8 bytes.
28 # x86_64-pe aligns to 16 bytes
29 # z8k-coff aligns to 2 bytes
30
31 .*:     file format .*
32
33 Contents of section .text:
34  [0-9a-f]+ cafebabe 01010101 02020202 12232323 .*
35  [0-9a-f]+ 03030303 00345600 00004567 000089ab .*
36  [0-9a-f]+ (deadbeef|efbeadde) 00004567 000089ab 0000cdef .*
37  [0-9a-f]+ 00004567 000089ab 0000cdef 00000123 .*