Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / ELF / linkerscript / ehdr_start.s
blob0b7f529c50b31420d8b363097330b8befd2844fa
1 # REQUIRES: x86
3 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
4 # RUN: echo "SECTIONS { }" > %t.script
5 # RUN: ld.lld %t.o -script %t.script -o %t
6 # RUN: llvm-readobj --symbols %t | FileCheck %s
7 # CHECK: Name: __ehdr_start (1)
8 # CHECK-NEXT: Value: 0x0
9 # CHECK-NEXT: Size: 0
10 # CHECK-NEXT: Binding: Local (0x0)
11 # CHECK-NEXT: Type: None (0x0)
12 # CHECK-NEXT: Other [ (0x2)
13 # CHECK-NEXT: STV_HIDDEN (0x2)
14 # CHECK-NEXT: ]
15 # CHECK-NEXT: Section: .text (0x1)
17 .text
18 .global __ehdr_start, _start
19 _start:
20 .quad __ehdr_start