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 | d4eb138eddb1fb23c1d1d921de1f521fe95f9f62 (patch) | |
tree | 4b26a0fb77756a1ac1f039e04fbfd75d43b68a84 /lld/MinGW | |
parent | c4dd00b3b7f0924551f2f3761ff3ae73b83d91c4 (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
Diffstat (limited to 'lld/MinGW')
-rw-r--r-- | lld/MinGW/Options.td | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lld/MinGW/Options.td b/lld/MinGW/Options.td index c71fe96c3e8..f3bf25a2258 100644 --- a/lld/MinGW/Options.td +++ b/lld/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">; |