Commit Graph

150 Commits

Author SHA1 Message Date
Andrew Talbot 0108667754 ntdll: Replace inline static with static inline. 2007-03-17 20:03:57 +01:00
Dmitry Timoshkov e8bba26c80 ntdll: Catch the exceptions in the TLS callback like Windows does. 2007-03-13 12:47:38 +01:00
Alexandre Julliard 8891d6de48 ntdll: Block async signals during process init and thread creation. 2007-01-18 12:23:04 +01:00
Joel Parker 2319999a05 Remove redundant semicolons for ANSI compatibility. 2007-01-17 11:58:15 +01:00
Alexandre Julliard 5bd513640b ntdll: Moved the check for removable file in load_dll to the server. 2007-01-12 14:42:43 +01:00
Alexandre Julliard 2a1dc15790 ntdll: Fix the libdl refcount when loading the same builtin twice. 2006-12-20 15:54:27 +01:00
Alexandre Julliard 7ae1b2897e ntdll: Check the NX compatibility flag for every loaded module. 2006-12-07 20:52:16 +01:00
Alexandre Julliard 822be6c90f ntdll: Force exec permissions on all mmaps unless the app is marked NX-compatible. 2006-12-05 15:42:29 +01:00
Alexandre Julliard 84fb1e1f3f ntdll: Allow module with extensions in forward specifications. 2006-12-04 13:37:32 +01:00
Alexandre Julliard bda2832d8d ntdll: Moved command-line help to the loader binary. 2006-11-06 13:04:56 +01:00
Alexandre Julliard c9b5569bc2 ntdll: Added implementation of RtlDllShutdownInProgress. 2006-11-03 13:52:02 +01:00
Hans Leidekker f7b0ba7aa7 ntdll: Win64 printf format warning fixes. 2006-10-18 12:35:26 +02:00
Alexandre Julliard 6f7b1f6463 ntdll: Move the calling of the process entry point back to kernel32.
Apparently some copy protection stuff relies on that.
This reverts commit 50fca716fd.
2006-07-31 21:25:29 +02:00
Alexandre Julliard d16c7f96c9 ntdll: Set initial module refcount to 1 to avoid unloading during imports fixup. 2006-07-31 21:03:01 +02:00
Alexandre Julliard 50fca716fd ntdll: Moved the calling of the process entry point to LdrInitializeThunk. 2006-07-13 14:58:04 +02:00
Eric Pouech 201f469512 ntdll: Free TLS pointers when exiting thread. 2006-05-27 13:00:33 +02:00
Alexandre Julliard 9769806c3a ntdll: Implemented RtlPcToFileHeader. 2006-05-27 10:55:48 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard f5d3adaf59 ntdll: Process --help and --version args earlier on during startup. 2006-04-03 12:07:20 +02:00
Alexandre Julliard c307f4990f ntdll: Added a DLL_WINE_PREATTACH call to DllMain for builtins.
By returning FALSE from this call, a builtin dll can specify that we
should try to load the native one instead.
2006-03-21 15:10:22 +01:00
Alexandre Julliard 2f2819466b ntdll: Detect the fake dlls created by setupapi and refuse to load them. 2006-03-21 11:31:23 +01:00
Alexandre Julliard ac60251312 ntdll: In MODULE_FlushModrefs, also free dlls that haven't been initialized yet. 2006-03-18 18:41:21 +01:00
Alexandre Julliard 0335a4b910 ntdll: Don't reset the load count when reusing a builtin modref. 2006-02-28 12:41:25 +01:00
Alexandre Julliard 4107751dd3 ntdll: Simplify loadorder code by using an enum instead of an array
to represent load order values.
Added a special value for default load order so that we can handle it
differently later on.
2006-02-22 16:30:05 +01:00
Alexandre Julliard 477b3bf566 kernel: Moved the get_startup_info call to ntdll. 2006-02-22 09:57:19 +01:00
Alexandre Julliard e27358ea5c server: Remove no longer needed fields in the init_process_done request. 2006-02-21 20:08:19 +01:00
Alexandre Julliard 2df3ad64eb kernel: Use LoadLibrary to load the main exe in all cases. 2006-02-21 19:48:18 +01:00
Alexandre Julliard ca311b3f4c ntdll: Support loading a builtin under a different name.
Find the proper modref in that case based on the dlopen handle.
2006-02-21 19:43:22 +01:00
Alexandre Julliard fa5b5102d7 ntdll: Moved LDR_DONT_RESOLVE_REFS handling into fixup_imports.
This ensures that we never fixup imports twice on the same dll.
2006-02-21 19:32:26 +01:00
Alexandre Julliard 68ea200f32 ntdll: Support loading builtin dlls with an explicit path name also
when loadorder is set to builtin only.
2006-02-21 11:56:16 +01:00
Uwe Bonnes 19e29d6035 ntdll: Remove spaces at end of name in import_dll. 2006-02-21 11:50:23 +01:00
Alexandre Julliard 69089152d1 ntdll: Better handling of errors when loading a builtin dll from an
existing file.
2006-02-09 12:15:57 +01:00
Alexandre Julliard 9669ff8de4 ntdll: Get rid of the main_file argument in LdrInitializeThunk. 2006-02-08 15:22:24 +01:00
Alexandre Julliard 1d23e7fee2 ntdll: Check for existing modref for the main exe before creating it
in LdrInitializeThunk.
2006-02-08 15:10:56 +01:00
Alexandre Julliard a458f3e538 ntdll: Support loading a builtin dll by specifying an explicit path to
the .so file.
2006-02-07 21:16:25 +01:00
Eric Pouech e66e227dbe Fixes for missing prototypes warnings. 2006-02-06 13:13:28 +01:00
Robert Shearman 2d08465b81 ntdll: Loader optimization.
Optimize for the case where a DLL with no path is requested and it is
already loaded.
2006-01-18 14:22:19 +01:00
Alexandre Julliard 45a4e5439b Set refcount to -1 on implicitly loaded dlls to avoid unloading them
(suggested by Michael Ost).
2006-01-04 14:55:33 +01:00
Alexandre Julliard 5dc6d95952 ntdll: New implementation of relay thunks.
New implementation of relay thunks that doesn't require modifying code
on the fly, so that the thunks can be put in the text section.
Some performance improvements.
2005-12-18 10:45:01 +01:00
Alexandre Julliard ae964ac801 Take advantage of the __EXCEPT_PAGE_FAULT macro. 2005-12-16 17:17:57 +01:00
Alexandre Julliard 4cbf118d88 Check for a valid module before attempting to read the export
directory in LdrGetProcedureAddress.
2005-11-29 17:10:30 +01:00
Ge van Geldorp 1a1583a364 Match PSDK STATUS_* definitions. 2005-11-28 17:32:54 +01:00
Alexandre Julliard cc01e8ff05 Preserve 16-byte stack alignment in the various assembly
functions. Needed for MacOSX.
2005-11-23 19:55:06 +01:00
Alexandre Julliard cb443bdb04 Attach to implicitly loaded builtin dlls on process startup. 2005-10-26 12:12:44 +00:00
Alexandre Julliard c2bb910877 Ignore the size of the import directory, process imports until we find
a null entry.
2005-10-04 15:54:55 +00:00
Alexandre Julliard 884599112e Use SIZE_T instead of ULONG for the size arguments of the virtual
memory functions.
2005-09-12 10:36:06 +00:00
Alexandre Julliard 20a1a203c6 Use a more portable scheme for storing the name of a critical
section.
2005-09-09 10:19:44 +00:00
Mike McCormack b5bd4a101a Fix gcc 4.0 warnings. 2005-09-02 14:47:36 +00:00
Alexandre Julliard bba5423d0f Uncomment out DisableThreadLibraryCalls in DllMain and add the
kernel32 imports that it requires.
2005-08-29 15:11:37 +00:00
Alexandre Julliard b480a3c544 Removed a redundant and possibly wrong warning. 2005-08-12 16:02:42 +00:00