bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/19011] Issues with ld on mingw-w64 and bad defaults


From: sourceware-bugzilla at jdrake dot com
Subject: [Bug ld/19011] Issues with ld on mingw-w64 and bad defaults
Date: Fri, 28 Aug 2020 18:27:02 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=19011

--- Comment #25 from sourceware-bugzilla at jdrake dot com ---
(In reply to sourceware-bugzilla from comment #24)

I'm not sure if these are recommending documentation updates or changes to
defaults, but if the latter...

> > +@itemx --disable-tsaware
> > +The image is Terminal Server aware.  This option is disabled by
> > +default.
> >
> > The /TSAWARE option is enabled by default for Windows and console
> > applications.
> > https://docs.microsoft.com/en-us/cpp/build/reference/tsaware-create-terminal-server-aware-application?view=vs-2019

This option only makes sense on executables, not DLLs, so would be a little
more tricky to turn on by default (though it shouldn't hurt DLLs to have it
set).

> > +@itemx --disable-no-seh
> >  The image does not use SEH. No SE handler may be called from
> > -this image.
> > +this image.  This option is disabled by default.
> >
> > This option is mandatory for Windows certification/security.
> > https://code.videolan.org/videolan/vlc-winrt/-/issues/303
> >

Note that WACK is looking for SafeSEH, not necessarily NO SEH.  I do not know
what would be required for SafeSEH, but I'm sure it would be a lot more
involved than just flipping a few bits in an image header.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]