summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/linkerscript/discard-interp.test
blob: 97df880684060a6849c13c54baa2810864867c63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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
}
OpenPOWER on IntegriCloud