2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux /dev/null -o %t
4 # Test that with linker scripts we don't create a RO PT_LOAD.
6 # RUN: ld.lld -o %t1 --script %s %t -shared
7 # RUN: llvm-readobj -l %t1 | FileCheck %s
12 # CHECK-NOT: Type: PT_LOAD
14 # CHECK: Type: PT_LOAD
20 # CHECK: Type: PT_LOAD
26 # CHECK-NOT: Type: PT_LOAD