Lines Matching full:script
5 # RUN: echo "SECTIONS { .mysec : { *(.mysec*) } =0x1122 }" > %t.script
6 # RUN: ld.lld -o %t.out --script %t.script %t
10 # RUN: echo "SECTIONS { .mysec : { *(.mysec*) } =(0x1100+0x22) }" > %t.script
11 # RUN: ld.lld -o %t.out --script %t.script %t
16 # RUN: echo "SECTIONS { .mysec : { *(.mysec*) } =0x99887766 }" > %t.script
17 # RUN: ld.lld -o %t.out --script %t.script %t
22 # RUN: echo "SECTIONS { .mysec : { *(.mysec*) } }" > %t.script
23 # RUN: ld.lld -o %t.out --script %t.script %t
28 # RUN: echo "SECTIONS { .mysec : { *(.mysec*) } =777 }" > %t.script
29 # RUN: ld.lld -o %t.out --script %t.script %t
34 # RUN: echo "SECTIONS { .mysec : { *(.mysec*) } =0x99XX }" > %t.script
35 # RUN: not ld.lld -o /dev/null --script %t.script %t 2>&1 \
37 # ERR2: error: {{.*}}.script:1: malformed number: 0x99XX
41 # ERR2-NEXT: error: {{.*}}.script:1: symbol not found: 0x99XX
44 # RUN: echo "SECTIONS { .mysec : { *(.mysec*) } = 0x1122 }" > %t.script
45 # RUN: ld.lld -o %t.out --script %t.script %t
49 # RUN: echo "SECTIONS { .mysec : { *(.mysec*) } =0x1122, .a : { *(.a*) } }" > %t.script
50 # RUN: ld.lld -o %t.out --script %t.script %t
54 # RUN: echo "SECTIONS { .mysec : { *(.mysec*) } = ((0x11<<8) | 0x22) }" > %t.script
55 # RUN: ld.lld -o %t.out --script %t.script %t
59 # RUN: echo "SECTIONS { .mysec : { *(.mysec*) } =((0x11 << 8) | 0x22) }" > %t.script
60 # RUN: ld.lld -o %t.out --script %t.script %t
64 # RUN: echo "SECTIONS { .mysec : { *(.mysec*) } =(0x11 << 32) }" > %t.script
65 # RUN: not ld.lld -o /dev/null --script %t.script %t 2>&1 | FileCheck --check-prefix=ERR3 %s --impl…
66 # ERR3: error: {{.*}}.script:1: filler expression result does not fit 32-bit: 0x1100000000
69 # RUN: echo "SECTIONS { foo = 0x11; .mysec : { *(.mysec*) } = foo }" > %t.script
70 # RUN: not ld.lld -o /dev/null %t --script %t.script 2>&1 | FileCheck --check-prefix=ERR4 %s --impl…
71 # ERR4: error: {{.*}}.script:1: symbol not found: foo
74 # RUN: echo "SECTIONS { .mysec : { *(.mysec*) } =0x1122 /DISCARD/ : { *(.text) } }" > %t.script
75 # RUN: ld.lld -o %t.out --script %t.script %t