brintos

brintos / llvm-project-archived public Read only

0
0
Text · 356 B · 1fece28 Raw
14 lines · plain
1# REQUIRES: x862## Create a readonly PT_LOAD in the absence of PHDRS.3 4# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux /dev/null -o %t5# RUN: ld.lld -o %t1 --script %s %t -shared6# RUN: llvm-readelf -l %t1 | FileCheck %s7 8SECTIONS {9}10 11# CHECK:      Type {{.*}} Flg Align12# CHECK-NEXT: LOAD {{.*}} R   0x100013# CHECK-NEXT: LOAD {{.*}} RW  0x100014