Commit Graph

59 Commits

Author SHA1 Message Date
Alexandre Julliard f2a7405a09 winecrt0: Make the main() and wmain() entry points cdecl.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-30 15:04:06 +02:00
Alexandre Julliard 60df3b14b5 include: Make the Wine exception handlers cdecl.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-30 15:04:06 +02:00
Alexandre Julliard c4e0b9d092 makefiles: Support cross-compilation of 16-bit libraries.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-20 10:15:17 +02:00
Alexandre Julliard 1f6681f474 winebuild: Use cdecl calling convention for stub exceptions.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47226
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-20 10:15:17 +02:00
Alexandre Julliard 170bd8f361 include: Pass function name directly to the __ASM_STDCALL macro.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 19:00:10 +02:00
Alexandre Julliard ce09e564d7 configure: Don't allow using config.h when cross-compiling.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-14 20:13:53 +02:00
Alexandre Julliard 3346132a0b winecrt0: Don't build unneeded code for Windows platforms.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-14 17:19:45 +02:00
Alexandre Julliard 351bd33069 winecrt0: Reimplement __wine_rtl_unwind() as a proper asm function.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-14 17:19:45 +02:00
Alexandre Julliard 9177a75acc winecrt0: Store the appropriate longjmp() function in the exception frame.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-14 17:19:45 +02:00
Alexandre Julliard d5a372abbb include: Move inline assembly definitions to a new wine/asm.h header.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-14 13:45:07 +02:00
Alexandre Julliard e78ee4f436 winecrt0: Avoid using wine/port.h.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-05 22:16:30 +02:00
Alistair Leslie-Hughes ab7d86552d winecrt0: Correct compile error with older gcc.
Using gcc version 4.8.4.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-04 16:58:54 +02:00
Alexandre Julliard 93a9d85488 winecrt0: Add a fallback implementation of __wine_dbg_header().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-03 19:28:19 +02:00
Alexandre Julliard b0ecbe0bae winecrt0: Add a fallback implementation of __wine_dbg_get_channel_flags().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-03 19:28:19 +02:00
Alexandre Julliard 0ad86465ae winecrt0: Add a fallback implementation of __wine_dbg_output().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-03 19:28:19 +02:00
Alexandre Julliard d6060b7cf7 winecrt0: Add a fallback implementation of __wine_dbg_strdup().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-03 19:28:19 +02:00
Piotr Caban 3eae4807dc include: Add __EXCEPT_CTX/__FINALLY_CTX macros.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-05 11:26:30 +02:00
Alexandre Julliard af6db67d6f makefiles: Get rid of the MAKE_IMPLIB_RULES variable. 2014-01-02 12:12:59 +01:00
Alexandre Julliard 1cd2786f92 makefiles: Generate cross-compile rules automatically when supported. 2014-01-01 21:28:28 +01:00
Frédéric Delanoy 299edf3217 winecrt0: Use BOOL type where appropriate. 2013-11-28 11:17:29 +01:00
Alexandre Julliard e318b4a59c makefiles: Move the static library rules to the global Make.rules file. 2013-10-09 11:25:04 +02:00
André Hentschel e0f3e6bcf2 winecrt0: Android NDK doesn't have _init and _fini. 2013-03-11 11:44:23 +01:00
Jacek Caban eb51602304 winecrt0: Use atl100.dll directly to create a registrar instance. 2012-11-21 13:37:06 +01:00
Alexandre Julliard b56dc9a6f7 winecrt0: Remove the clsid parameter in __wine_(un)register_resources. 2011-08-02 20:47:49 +02:00
Alexandre Julliard e76db63c02 winecrt0: No longer register typelibs, they use IRegistrar scripts now. 2011-08-02 20:47:49 +02:00
Alexandre Julliard db7f8e5749 makefiles: Make MODULE contain the full module name also for static libraries. 2011-07-09 21:13:36 +02:00
Alexandre Julliard a54692834a winecrt0: Automatically register typelib resources too. 2010-12-08 16:10:44 +01:00
Alexandre Julliard 4d966be69c winecrt0: Add a generic mechanism for dll registration through IRegistrar. 2010-11-24 17:59:41 +01:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard 772112cfcb winecrt0: Add a trampoline function to align the stack on x86_64 before continuing an exception. 2010-04-08 17:34:17 +02:00
Alexandre Julliard 655292ae00 include: Move the exception handling support functions to winecrt0 instead of having them inline. 2010-04-08 17:34:17 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 62e0de5f73 Avoid using wine/port.h in static libraries. 2010-01-23 20:51:27 +01:00
Alexandre Julliard b2d35c3620 winecrt0: Disable the delay import destructor on Mac OS, it cannot be made to work. 2009-04-01 18:13:42 +02:00
Alexandre Julliard 2ef9411434 winecrt0: Don't bother passing the environment to the _init function.
We'd have to use the Windows environment anyway, not the Unix one.
2009-03-31 16:06:11 +02:00
Alexandre Julliard af2e40ea26 winecrt0: Add entry point code for stand-alone 16-bit executables. 2009-02-26 13:23:00 +01:00
Alexandre Julliard d75b0ce452 ntdll: Make sure we don't return from a stub exception. 2008-12-29 12:43:59 +01:00
Alexandre Julliard d230e713b9 winecrt0: Add missing WINAPI on driver entry point. 2008-10-18 12:12:05 +02:00
Rob Shearman 4500836635 makefiles: Simplify the use of the MODULE variable in static import libraries.
Don't include platform-specific information when declaring the name of
the static import libary to build. Instead, add this information in
Makeimplib.rules.in.
2008-03-10 19:12:54 +01:00
Alexandre Julliard b601206129 winecrt0: DriverEntry is a WINAPI function. 2007-12-12 14:39:08 +01:00
Rob Shearman 9f8d379fb3 include: Move Wine-specific EH_* defines from winnt.h to include/wine/exception.h. 2007-12-03 11:54:10 +01:00
Alexandre Julliard fd15a1d4be winecrt0: Fix delay load structure types for Win64. 2006-10-30 17:43:03 +01:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard be22a96847 Include wine/port.h in files that use exceptions. 2006-02-07 16:31:21 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Alexandre Julliard 220f2ce9fb Make all winecrt0 functions and variables hidden. 2005-10-30 19:10:35 +00:00
Alexandre Julliard 8a5f893712 Make sure to always call the destructors when the constructors have
been called from the dll entry point.
2005-09-03 15:04:33 +00:00
Alexandre Julliard e4a20a4bb9 There's no way to properly unload a driver, so don't try. 2005-09-03 09:38:22 +00:00