diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2013-07-29 18:57:16 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2013-07-29 18:57:16 +0000 |
commit | 7e20c854cf76466058300e0e9b0a77a7354c7408 (patch) | |
tree | f15f8473a6f450f3dfe7602ca42dc87f20ba132e /winsup/lsaauth | |
parent | 033fe7d87f571555894c8d92a2c1f25c58c04c52 (diff) | |
download | newlib-7e20c854cf76466058300e0e9b0a77a7354c7408.zip newlib-7e20c854cf76466058300e0e9b0a77a7354c7408.tar.gz newlib-7e20c854cf76466058300e0e9b0a77a7354c7408.tar.bz2 |
* Makefile.in (cyglsa.dll): Explicitely specify DLL entry point to
harden against gcc function and block reordering optimizations.
(cyglsa64.dll): Ditto.
Diffstat (limited to 'winsup/lsaauth')
-rw-r--r-- | winsup/lsaauth/ChangeLog | 6 | ||||
-rw-r--r-- | winsup/lsaauth/Makefile.in | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/winsup/lsaauth/ChangeLog b/winsup/lsaauth/ChangeLog index bd0ecbd..0056d2b 100644 --- a/winsup/lsaauth/ChangeLog +++ b/winsup/lsaauth/ChangeLog @@ -1,3 +1,9 @@ +2013-07-29 Corinna Vinschen <corinna@vinschen.de> + + * Makefile.in (cyglsa.dll): Explicitely specify DLL entry point to + harden against gcc function and block reordering optimizations. + (cyglsa64.dll): Ditto. + 2013-04-23 Corinna Vinschen <corinna@vinschen.de> * Merge in cygwin-64bit-branch. See ChangeLog.64bit for details. diff --git a/winsup/lsaauth/Makefile.in b/winsup/lsaauth/Makefile.in index 162e5aa..53e91c4 100644 --- a/winsup/lsaauth/Makefile.in +++ b/winsup/lsaauth/Makefile.in @@ -67,13 +67,13 @@ $(DEF32): cyglsa.din config.status $(SHELL) config.status $(DLL32): $(OBJ32) $(DEF32) - $(MINGW32_CC) -s $(WIN32_LDFLAGS) -o $@ $^ $(LIBS) + $(MINGW32_CC) -s $(WIN32_LDFLAGS) -e _DllMain@12 -o $@ $^ $(LIBS) $(OBJ32): cyglsa.c $(MINGW32_CC) $(WIN32_CFLAGS) -c -o $@ $< $(DLL64): $(OBJ64) $(DEF64) - $(MINGW64_CC) -s $(WIN32_LDFLAGS) -o $@ $^ $(LIBS) + $(MINGW64_CC) -s $(WIN32_LDFLAGS) -e DllMain -o $@ $^ $(LIBS) $(OBJ64): cyglsa.c $(MINGW64_CC) $(WIN32_CFLAGS) -c -o $@ $< |