Lines Matching refs:script
6 # RUN: echo 'MEMORY { ram (rwx) : XYZ = 0x8000 } }' > %t.script
7 # RUN: not ld.lld -o /dev/null -T %t.script %t.o 2>&1 | FileCheck --check-prefix=ERR1 %s
8 # ERR1: {{.*}}.script:1: expected one of: ORIGIN, org, or o
12 # RUN: echo 'MEMORY { ram (rwx) : ORIGIN = 0x8000, XYZ = 256K } }' > %t.script
13 # RUN: not ld.lld -o /dev/null -T %t.script %t.o 2>&1 | FileCheck --check-prefix=ERR2 %s
14 # ERR2: {{.*}}.script:1: expected one of: LENGTH, len, or l
18 # RUN: echo 'MEMORY { ram (rwx) : o = 8, l = 256K ram (rx) : o = 0, l = 256K }' > %t.script
19 # RUN: not ld.lld -o /dev/null -T %t.script %t.o 2>&1 | FileCheck --check-prefix=ERR3 %s
20 # ERR3: {{.*}}.script:1: region 'ram' already defined
28 # RUN: }' > %t.script
29 # RUN: not ld.lld -o /dev/null -T %t.script %t.o 2>&1 | FileCheck --check-prefix=ERR4 %s
34 # RUN: echo 'SECTIONS { .text : { *(.text) } > ram }' > %t.script
35 # RUN: not ld.lld -o /dev/null -T %t.script %t.o 2>&1 | FileCheck --check-prefix=ERR5 %s
44 # RUN: }' > %t.script
45 # RUN: not ld.lld -o /dev/null -T %t.script %t.o 2>&1 | FileCheck --check-prefix=ERR6 %s
50 # RUN: echo "MEMORY { ram (abc) : ORIGIN = 8000, LENGTH = 256K } }" > %t.script
51 # RUN: not ld.lld -o /dev/null -T %t.script %t.o 2>&1 | FileCheck --check-prefix=ERR7 %s
52 # ERR7: {{.*}}.script:1: invalid memory region attribute
55 # RUN: echo 'MEMORY { name : ORIGIN = ., LENGTH = 1 }' > %t.script
56 # RUN: not ld.lld -shared -o /dev/null -T %t.script %t.o 2>&1 | FileCheck --check-prefix=ERR_DOT %s
57 # ERR_DOT: error: {{.*}}.script:1: unable to get location counter value
67 # RUN: }' > %t.script
68 # RUN: not ld.lld -T %t.script %t.o -o /dev/null 2>&1 | FileCheck --check-prefix=ERR_OVERFLOW %s