title: Android N Preview dlopen() "has no section headers" Error
body: <p>I compressed my Android APP's libs with UPX. When run at Android N Priview5 devices, there's an error : " dlopen failed: xxx.so has no section headers".</p>
  
  <p>I find a changelog of Android Linker :
  <a href="http://android-developers.blogspot.com/2016/06/android-changes-for-ndk-developers.html" rel="nofollow">http://android-developers.blogspot.com/2016/06/android-changes-for-ndk-developers.html</a></p>
  
  <p>It says "Each ELF file has additional information contained in the section headers. These headers must be present now, because the dynamic linker uses them for sanity checking. "</p>
  
  <p>But after compressed whit UPX, the ELF's section headers is missing, how can I solve this problem.</p>
  
  <blockquote>
    <p>ELF Header:</p>
    
    <p>Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 </p>
    
    <p>Class:                             ELF32</p>
    
    <p>Data:                              2's complement, little endian</p>
    
    <p>Version:                           1 (current)</p>
    
    <p>OS/ABI:                            UNIX - System V</p>
    
    <p>ABI Version:                       0</p>
    
    <p>Type:                              DYN (Shared object file)</p>
    
    <p>Machine:                           ARM</p>
    
    <p>Version:                           0x1</p>
    
    <p>Entry point address:               0x0</p>
    
    <p>Start of program headers:          52 (bytes into file)</p>
    
    <p>Start of section headers:          0 (bytes into file)</p>
    
    <p>Flags:                             0x5000000, Version5 EABI</p>
    
    <p>Size of this header:               52 (bytes)</p>
    
    <p>Size of program headers:           32 (bytes)</p>
    
    <p>Number of program headers:         7</p>
    
    <p>Size of section headers:           0 (bytes)</p>
    
    <p>Number of section headers:         0</p>
    
    <p>Section header string table index: 0</p>
  </blockquote>