2013-07-20 08:45:00 +08:00
|
|
|
# RUN: yaml2obj %p/Inputs/nop.obj.yaml > %t.obj
|
|
|
|
#
|
2013-08-27 13:15:20 +08:00
|
|
|
# RUN: lld -flavor link /out:%t1 /opt:noref -- %t.obj \
|
2013-07-20 08:45:00 +08:00
|
|
|
# RUN: && llvm-readobj -file-headers %t1 | FileCheck -check-prefix=DEFAULT %s
|
|
|
|
#
|
2013-08-27 13:15:20 +08:00
|
|
|
# RUN: lld -flavor link /out:%t1 /opt:noref /base:8388608 -- %t.obj \
|
2013-07-20 08:45:00 +08:00
|
|
|
# RUN: && llvm-readobj -file-headers %t1 | FileCheck -check-prefix=BASE %s
|
|
|
|
|
|
|
|
DEFAULT: ImageBase: 0x400000
|
|
|
|
|
|
|
|
BASE: ImageBase: 0x800000
|