aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/fill16.d
blob: e5819df79a8aab8a82eaec10bfb00c5a678ad381 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#source: fill16_0.s
#source: fill16_1.s
#source: fill16_2.s
#ld: -T fill.t
#objdump: -s -j .text
#notarget: [is_aout_format]
#skip: arm-*-coff i[3-7]86-*-coff [is_xcoff_format]
#xfail: alpha*-*-*ecoff sparc*-*-coff
#xfail: tic30-*-coff tic4x-*-* tic54x-*-* z8k-*-*
#xfail: z80-*-coff
#
# See also fill.d.  We use `skip' for configurations unsupported
# here that are covered there, and `xfail' for configurations that work
# with neither place.  See below for details as to why individual
# configurations are listed above.
#
# alpha-linuxecoff pads out code to 16 bytes.
# arm-coff always aligns code to 4 bytes.
# i386-coff always aligns code to 4 bytes.
# sh-pe pads out code sections to 16 bytes
# sparc-coff aligns to 8 bytes
# tic30-coff aligns to 2 bytes
# tic4x has 4 octet bytes
# tic54x doesn't support .p2align
# z8k-coff aligns to 2 bytes
# z80-coff aligns to 2 bytes

.*:     file format .*

Contents of section .text:
 [0-9a-f]+ cafebabe cafebabe cafebabe cafebabe .*
 [0-9a-f]+ 01010101 01010101 01010101 01010101 .*
 [0-9a-f]+ 02020202 02020202 02020202 02020202 .*
 [0-9a-f]+ 12232323 23232323 23232323 23232323 .*
 [0-9a-f]+ 03030303 03030303 03030303 03030303 .*
 [0-9a-f]+ 00345600 00004567 000089ab (deadbeef|efbeadde) .*
 [0-9a-f]+ 00004567 000089ab 0000cdef 00004567 .*
 [0-9a-f]+ 000089ab 0000cdef 00000123          .*