forked from OSchip/llvm-project
14 lines
523 B
Plaintext
14 lines
523 B
Plaintext
# RUN: yaml2obj %p/Inputs/imagebase.obj.yaml > %t.obj
|
|
#
|
|
# RUN: lld -flavor link /out:%t1 /subsystem:console /entry:_start /opt:noref \
|
|
# RUN: -- %t.obj \
|
|
# RUN: && llvm-objdump -disassemble %t1 | FileCheck -check-prefix=DEFAULT %s
|
|
#
|
|
# RUN: lld -flavor link /out:%t1 /subsystem:console /entry:_start /base:65536 \
|
|
# RUN: /opt:noref -- %t.obj \
|
|
# RUN: && llvm-objdump -disassemble %t1 | FileCheck -check-prefix=BASE %s
|
|
|
|
DEFAULT: a1 00 00 40 00 movl 4194304, %eax
|
|
|
|
BASE: a1 00 00 01 00 movl 65536, %eax
|