[PATCH] D56554: [ELF] Add '-z nognustack' opt to suppress emitting PT_GNU_STACK
    Fangrui Song via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Jan 30 00:22:24 PST 2019
    
    
  
MaskRay added a comment.
> This segment is not supported at all on NetBSD (stack is always non-executable), and the option is meant to be used to disable emitting it.
The string `.note.GNU-stack` takes only a few bytes in `.shstrtab` and a few for an `Elf64_Shdr` instance. Are there any tools warning about unknown section `.note.GNU-stack` on NetBSD?
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56554/new/
https://reviews.llvm.org/D56554
    
    
More information about the llvm-commits
mailing list