Skip to content
  • George Rimar's avatar
    [ELF] - Implemented -z wxneeded. · cc6e567c
    George Rimar authored
    -z wxneeded creates a PHDR PT_OPENBSD_WXNEEDED.
    
    PT_OPENBSD_WXNEEDED
    The array element specifies that a process executing this file may need to be able to map or protect memory regions as simultaneously executable and writable. If the system is unable or unwilling to permit that for this executable then it may fail immediately. This segment type is meaningful only for executable files and is ignored in other objects.
    
    http://man.openbsd.org/OpenBSD-current/man5/elf.5
    
    Differential revision: https://reviews.llvm.org/D25472
    
    llvm-svn: 284226
    cc6e567c
Loading