aboutsummaryrefslogtreecommitdiff
path: root/test/elf/linkerscript/valid-script-cli.objtxt
blob: b68d430fd98ed1ff7353d7897c5f880514e2d083 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Check that the linker script inputs are accepted properly.

# RUN: lld -flavor gnu -target x86_64 %p/Inputs/valid.ls -r %s \
# RUN:     --output-filetype=yaml | FileCheck %s

# RUN: lld -flavor gnu -target x86_64 -T %p/Inputs/valid.ls -r %s \
# RUN:     --output-filetype=yaml | FileCheck %s

# RUN: lld -flavor gnu -target x86_64 --script=%p/Inputs/valid.ls -r %s \
# RUN:     --output-filetype=yaml | FileCheck %s

# RUN: lld -flavor gnu -target x86_64 -L%p/Inputs/ -l:valid.ls -r %s \
# RUN:     --output-filetype=yaml | FileCheck %s

defined-atoms:
  - name:            main
    scope:           global
    content:         [ B8, 00, 00, 00, 00, C7, 44, 24, FC, 00, 00, 00, 00, C3 ]
    alignment:       2^4
    section-choice:  custom-required
    section-name:    .text

# CHECK: _entry_point