Home | History | Annotate | Download | only in ld-scripts
      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: ia64-*-* alpha-*-*ecoff m32c-*-* mips*-*-* sh-*-pe sparc*-*-coff
      7 #xfail: tic30-*-coff tic4x-*-* tic54x-*-*
      8 #xfail: x86_64-*-pe* x86_64-*-mingw* x86_64-*-cygwin z8k-*-*
      9 # Breaks on ia64 due to minimum alignment of code.  The section alignment
     10 # could be increased to suit ia64 but then we'd break many coff targets
     11 # that don't support alignment other than 4 bytes.
     12 # alpha-linuxecoff always aligns code to 16 bytes.
     13 # m32c pads out code sections to 8 bytes.
     14 # mips aligns to 16 bytes
     15 # sh-pe pads out code sections to 16 bytes
     16 # sparc-coff aligns to 8 bytes
     17 # tic30-coff aligns to 2 bytes
     18 # tic4x has 4 octet bytes
     19 # tic54x doesn't support .p2align
     20 # x86_64-pe aligns to 16 bytes
     21 # z8k-coff aligns to 2 bytes
     22 
     23 .*:     file format .*
     24 
     25 Contents of section .text:
     26  [0-9a-f]+ cafebabe 01010101 02020202 12232323 .*
     27  [0-9a-f]+ 03030303 00345600 00004567 000089ab .*
     28  [0-9a-f]+ (deadbeef|efbeadde) 00004567 000089ab 0000cdef .*
     29  [0-9a-f]+ 00004567 000089ab 0000cdef 00000123 .*
     30