blob: 97df880684060a6849c13c54baa2810864867c63 [file] [log] [blame]
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=i686-unknown-linux /dev/null -o %t.o
# RUN: llvm-mc -filetype=obj -triple=i686-unknown-linux %p/../Inputs/shared.s -o %t2.o
# RUN: ld.lld -shared %t2.o -o %t2.so
# RUN: ld.lld -dynamic-linker foo -rpath bar -rpath baz --script %s --export-dynamic %t.o %t2.so -o %t
# RUN: llvm-readobj -S %t | FileCheck %s
# CHECK-NOT: Name: .interp
PHDRS { text PT_LOAD FILEHDR PHDRS; }
SECTIONS {
. = SIZEOF_HEADERS;
.text : { *(.text) } : text
}