[PATCH] [lld] [ELF] Never mark the dynamic linker as DT_NEEDED

Rafael Auler rafaelauler at gmail.com
Wed Oct 1 20:01:40 PDT 2014


Hi Bigcheese, shankarke,

This patch adds logic to avoid putting the dynamic linker library (ld.so) as a
DT_NEEDED entry in the dynamic table. It should only appear in PT_INTERP.

This patch fixes SPEC programs 433, 445, 450, 453, 456, 462 when running on
Ubuntu Linux x86_64 and when linking SPEC programs with LLD and glibc 2.19.

http://reviews.llvm.org/D5573

Files:
  lib/ReaderWriter/ELF/OutputELFWriter.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5573.14309.patch
Type: text/x-patch
Size: 817 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141002/c8680d79/attachment.bin>


More information about the llvm-commits mailing list