18 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t3# RUN: ld.lld %t -o %t24# RUN: llvm-objdump -t --section-headers %t2 | FileCheck %s5 6## Test __bss_start is defined at the start of .bss7 8# CHECK: Sections:9# CHECK: Idx Name Size VMA Type10# CHECK: 2 .bss 00000004 [[ADDR:[0-za-f]+]] BSS11# CHECK: SYMBOL TABLE:12# CHECK: [[ADDR]] g .bss 0000000000000000 __bss_start13 14.global __bss_start15.text16_start:17.comm sym1,4,418