[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / gc-sections-implicit-addend.s
blob528cb4babf2f93577ab890f752d0d713cc84773d
1 # REQUIRES: x86
3 # RUN: llvm-mc -filetype=obj -triple=i386-unknown-linux %s -o %t.o
4 # RUN: ld.lld %t.o -o %t --gc-sections
5 # RUN: llvm-readobj -S %t | FileCheck %s
6 # RUN: llvm-objdump --no-print-imm-hex -d %t | FileCheck --check-prefix=DISASM %s
8 # CHECK: Name: .foo
9 # CHECK-NEXT: Type: SHT_PROGBITS
10 # CHECK-NEXT: Flags [
11 # CHECK-NEXT: SHF_ALLOC
12 # CHECK-NEXT: SHF_MERGE
13 # CHECK-NEXT: SHF_STRINGS
14 # CHECK-NEXT: ]
15 # CHECK-NEXT: Address: 0x4000B4
17 # 0x4000B4 == 4194484
18 # DISASM: leal 4194484, %eax
20 .section .foo,"aMS",@progbits,1
21 .byte 0
23 .text
24 .global _start
25 _start:
26 leal .foo, %eax