1# REQUIRES: x86
2# RUN: llvm-mc -filetype=obj -triple=i686-unknown-linux /dev/null -o %t.o
3# RUN: llvm-mc -filetype=obj -triple=i686-unknown-linux %p/../Inputs/shared.s -o %t2.o
4# RUN: ld.lld -shared %t2.o -o %t2.so
5# RUN: ld.lld -dynamic-linker foo -rpath bar -rpath baz --script %s --export-dynamic %t.o %t2.so -o %t
6# RUN: llvm-readobj -S %t | FileCheck %s
7
8# CHECK-NOT:        Name: .interp
9
10PHDRS { text PT_LOAD FILEHDR PHDRS; }
11SECTIONS {
12  . = SIZEOF_HEADERS;
13  .text : { *(.text) } : text
14}
15