17 lines · plain
1// REQUIRES: x862// Should preserve the value of the "end" symbol if it is defined.3 4// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o5// RUN: ld.lld %t.o -o %t6// RUN: llvm-nm %t | FileCheck %s7 8// CHECK: 0000000000000005 A end9 10.global _start,end11end = 512.text13_start:14 nop15.bss16 .space 617