[clang-tidy][modernize-use-starts-ends-with] Fix operator rewriting false negative...
[llvm-project.git] / lld / test / ELF / bss-start-common.s
blob7bbab83df033c9ff508e0511ad803ead5f28cf24
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
3 # RUN: ld.lld %t -o %t2
4 # RUN: llvm-objdump -t --section-headers %t2 | FileCheck %s
6 ## Test __bss_start is defined at the start of .bss
8 # CHECK: Sections:
9 # CHECK: Idx Name Size VMA Type
10 # CHECK: 2 .bss 00000004 [[ADDR:[0-za-f]+]] BSS
11 # CHECK: SYMBOL TABLE:
12 # CHECK: [[ADDR]] g .bss 0000000000000000 __bss_start
14 .global __bss_start
15 .text
16 _start:
17 .comm sym1,4,4