binutils/ChangeLog
commit33069c3981eca4473a9f194852d8b7551e059829
authorDave Korn <dave.korn@artimi.com>
Wed, 1 Apr 2009 17:20:19 +0000 (1 17:20 +0000)
committerDave Korn <dave.korn@artimi.com>
Wed, 1 Apr 2009 17:20:19 +0000 (1 17:20 +0000)
tree7e9206f395f27d76816f2fabc548e22c62b621b3
parent393432940c5fe42663f64efbd6a23f9ce5bcd96f
binutils/ChangeLog

* dlltool.c (set_dll_name_from_def):  Accept new second arg that
indicates if we are building DLL or EXE, and use it to add a
default suffix to the output filename when none is already present.
(def_name):  Indicate we are building an EXE when calling it.
(def_library):  Indicate we are building a DLL when calling it.

ld/testsuite/ChangeLog

* ld-cygwin/exe-export.exp:  Add "-lkernel32" when linking test exe.
* ld-cygwin/testexe.c (testexe_main):  Indicate whether global_a
was set to correct final value using error return status.
(testexe_dummy):  Dummy function calls an import from kernel32.dll
to ensure it is mapped into the process space at runtime.
binutils/ChangeLog
binutils/dlltool.c
ld/testsuite/ChangeLog
ld/testsuite/ld-cygwin/exe-export.exp
ld/testsuite/ld-cygwin/testexe.c