Lines Matching refs:script
4 # RUN: echo "SECTIONS { .aaa : { *(.aaa.*) } }" > %t1.script
5 # RUN: ld.lld -o %t1 --script %t1.script %t1.o
18 # RUN: echo "SECTIONS { .aaa : SUBALIGN(1) { *(.aaa.*) } }" > %t2.script
19 # RUN: ld.lld -o %t2 --script %t2.script %t1.o
28 # RUN: echo "SECTIONS { . = 0x32; .aaa : SUBALIGN(.) { *(.aaa*) } }" > %t3.script
29 # RUN: not ld.lld %t1.o --script %t3.script -o /dev/null 2>&1 | FileCheck --check-prefix=ERR1 %s
30 # ERR1: {{.*}}.script:1: unable to get location counter value
33 # RUN: echo "SECTIONS { .aaa : SUBALIGN(0) { *(.aaa*) } }" > %t4.script
34 # RUN: ld.lld %t1.o --script %t4.script -o %t4
38 # RUN: echo "SECTIONS { .aaa : SUBALIGN(3) { *(.aaa*) } }" > %t5.script
39 # RUN: not ld.lld %t1.o --script %t5.script -o /dev/null 2>&1 | FileCheck --check-prefix=ERR2 %s
40 # ERR2: {{.*}}.script:1: alignment must be power of 2