summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/ascii.d
blob: ff3bd328c15893174c952f1b14076cc63a630aab (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
#source: ascii.s
#ld: -T ascii.t
#objdump: -s -j .header
#target: [is_elf_format] [is_coff_format]
#notarget: tic4x-*-* tic54x-*-*

.*:     file format .*

Contents of section .header:
 .... 70726f67 72616d20 6e616d65 00000000  program name....
 .... 656d7074 79000000 00000000 00000000  empty...........
 .... 00000000 00000000 00000000 00000000  ................
 .... 00000000 00000000 00000000 00000000  ................
 .... 00000000 00000000 00000000 00000000  ................
 .... 636f6d6d 656e7420 310a0000 00000000  comment 1.......
 .... 00000000 00000000 00000000 00000000  ................
 .... 636f6d6d 656e7420 320a0000 00000000  comment 2.......
 .... 00000000 00000000 00000000 00000000  ................
 .... 636f6d6d 656e7420 330a0000 00000000  comment 3.......
 .... 00000000 00000000 00000000 00000000  ................
 .... 636f6d6d 656e7420 340a0000 00000000  comment 4.......
 .... 00000000 00000000 49206d65 616e7420  ........I meant 
 .... 746f2073 61793a20 54686973 20697320  to say: This is 
 .... 77617920 746f6f20 6c6f6e67 00000000  way too long....
#pass