Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / ELF / linkerscript / phdr-check.s
blob63fdec7b6a8bc8f1b310e71f2a920d99ea260458
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
4 # RUN: echo "SECTIONS { . = 0x10000000 + SIZEOF_HEADERS; .text : {*(.text.*)} }" > %t.script
5 # RUN: ld.lld -o %t1 --script %t.script %t
6 # RUN: llvm-readobj -l %t1 | FileCheck %s
7 # CHECK: ProgramHeaders [
8 # CHECK-NEXT: ProgramHeader {
9 # CHECK-NEXT: Type: PT_PHDR (0x6)
10 # CHECK-NEXT: Offset: 0x40
11 # CHECK-NEXT: VirtualAddress: 0x10000040
13 .global _start
14 _start:
15 nop