Created
          September 29, 2018 06:03 
        
      - 
      
 - 
        
Save k3170makan/6fc9bec56bec621cf27b5ff979e4dddf to your computer and use it in GitHub Desktop.  
    dl-load.c handling the gnu note section fields. 
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | 1738 abi_note = (void *) abi_note + note_size; | |
| 1739 } | |
| 1740 | |
| 1741 if (size == 0) | |
| 1742 continue; | |
| 1743 | |
| 1744 osversion = (abi_note[5] & 0xff) * 65536 | |
| 1745 + (abi_note[6] & 0xff) * 256 | |
| 1746 + (abi_note[7] & 0xff); | |
| 1747 if (abi_note[4] != __ABI_TAG_O | |
| 1748 || (GLRO(dl_osversion) && GLRO(dl_osversion) < osversion)) | |
| 1749 { | |
| 1750 close_and_out: | |
| 1751 __close_nocancel (fd); | |
| 1752 __set_errno (ENOENT); | |
| 1753 fd = -1; | |
| 1754 } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment