[PATCH] D35352: [ELF] - Implement filter library support (-F / --filter)
    Ed Maste via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sun Jul 16 10:27:33 PDT 2017
    
    
  
emaste added a comment.
One note, the ordering of the value tags differs wrt GNU ld. It shouldn't matter, just something I noticed.
GNU ld.bfd 2.17.50
    Tag        Type                         Name/Value
   0x0000000000000001 (NEEDED)             Shared library: [libc.so.7]
   0x000000000000000e (SONAME)             Library soname: [libdl.so.1]
   0x000000007fffffff (FILTER)             Filter library: [libc.so.7]
   0x000000000000000c (INIT)               0x738
   0x000000000000000d (FINI)               0xa48
   0x0000000000000004 (HASH)               0x158
  ...
Patched lld
    Tag        Type                         Name/Value
   0x000000007fffffff (FILTER)             Filter library: [libc.so.7]
   0x0000000000000001 (NEEDED)             Shared library: [libc.so.7]
   0x000000000000000e (SONAME)             Library soname: [libdl.so.1]
   0x0000000000000007 (RELA)               0x6c0
   0x0000000000000008 (RELASZ)             96 (bytes)
  ...
(I originally put this comment on https://reviews.llvm.org/D35351 by accident.)
https://reviews.llvm.org/D35352
    
    
More information about the llvm-commits
mailing list