brintos

brintos / llvm-project-archived public Read only

0
0
Text · 604 B · c15cf4c Raw
24 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o3# RUN: echo "SECTIONS { }" > %t.script4# RUN: not ld.lld %t.o -script %t.script -o /dev/null 2>&1 | FileCheck %s5# CHECK: error: undefined symbol: _edata6# CHECK: >>> referenced by {{.*}}:(.text+0x0)7# CHECK: error: undefined symbol: _etext8# CHECK: >>> referenced by {{.*}}:(.text+0x8)9# CHECK: error: undefined symbol: _end10# CHECK: >>> referenced by {{.*}}:(.text+0x10)11 12.global _start,_end,_etext,_edata13.text14_start:15 .quad _edata + 0x116 .quad _etext + 0x117 .quad _end + 0x118 19.data20  .word 121.bss22  .align 423  .space 624