[all-commits] [llvm/llvm-project] 2a0fca: [lld] [ELF] Add '-z nognustack' opt to suppress em...

Michał Górny via All-commits all-commits at lists.llvm.org
Tue Oct 29 09:54:41 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a0fcae3d4d1fd85d6ae8378d7c6f12430c0087d
      https://github.com/llvm/llvm-project/commit/2a0fcae3d4d1fd85d6ae8378d7c6f12430c0087d
  Author: Michał Górny <mgorny at gentoo.org>
  Date:   2019-10-29 (Tue, 29 Oct 2019)

  Changed paths:
    M lld/ELF/Config.h
    M lld/ELF/Driver.cpp
    M lld/ELF/Writer.cpp
    M lld/docs/ld.lld.1
    M lld/test/ELF/gnustack.s

  Log Message:
  -----------
  [lld] [ELF] Add '-z nognustack' opt to suppress emitting PT_GNU_STACK

Add a new '-z nognustack' option that suppresses emitting PT_GNU_STACK
segment.  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.

Differential Revision: https://reviews.llvm.org/D56554




More information about the All-commits mailing list