diff options
author | Martin Storsjo <martin@martin.st> | 2017-12-15 20:53:10 +0000 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2017-12-15 20:53:10 +0000 |
commit | d70a7387037762c74d679bd70ac5fb6dae2285a9 (patch) | |
tree | be772ac77af9ea9861ea6fe0ce46dcde43b0b5d2 /MinGW | |
parent | 3262c2ace5d6dd85c908ac470a3bc9a7bef1e4c3 (diff) |
[MinGW] Ignore the --no-seh flag
The COFF linker automatically sets the IMAGE_DLL_CHARACTERISTICS_NO_SEH
when suitable, similarly to link.exe.
Differential Revision: https://reviews.llvm.org/D41275
git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@320861 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'MinGW')
-rw-r--r-- | MinGW/Options.td | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MinGW/Options.td b/MinGW/Options.td index c71fe96c3..f3bf25a22 100644 --- a/MinGW/Options.td +++ b/MinGW/Options.td @@ -55,6 +55,7 @@ def full_shutdown: Flag<["--"], "full-shutdown">; def high_entropy_va: F<"high-entropy-va">, HelpText<"Enable 64-bit ASLR">; def major_image_version: S<"major-image-version">; def minor_image_version: S<"minor-image-version">; +def no_seh: F<"no-seh">; def nxcompat: F<"nxcompat">, HelpText<"Enable data execution prevention">; def pic_executable: F<"pic-executable">; def sysroot: J<"sysroot">, HelpText<"Sysroot">; |