Commit Graph

81 Commits

Author SHA1 Message Date
Alexandre Julliard 86ab2c9693 Removed sysi86 prototype that is causing conflicts. 2005-09-19 14:45:15 +00:00
Alexandre Julliard 80083b18f8 Store RVAs instead of pointers wherever possible in the generated NT
header and directories.
2005-09-17 14:39:51 +00:00
Alexandre Julliard 0799e8403b Use the NT descriptor address as start of the data section, since the
BaseOfData field isn't present in Win64.
2005-09-15 15:09:12 +00:00
Alexandre Julliard 7e4c88c6d9 Avoid some warnings on 64-bit platforms. 2005-09-13 11:07:14 +00:00
Alexandre Julliard 6153b1f927 Only add the default dlldir to the search path if that's where ntdll
is found.
2005-09-12 11:20:31 +00:00
Alexandre Julliard ee7d27a7bf Implemented wine_switch_to_stack for x86_64. 2005-09-08 19:16:12 +00:00
Alexandre Julliard 883d3c52d3 Use explicit function pointers for pthread support instead of relying
on ELF symbol overriding.
2005-09-03 15:11:29 +00:00
Alexandre Julliard c486949985 Implemented wine_ldt_alloc_fs and wine_ldt_init_fs for Mac OS. 2005-08-29 10:56:54 +00:00
Alexandre Julliard 87b297ebc2 Use the correct ordinal flag for Win64 support. 2005-08-29 09:49:47 +00:00
Marcus Meissner 2d7e976eed Fixed signedness warnings. 2005-07-10 17:45:53 +00:00
Alexandre Julliard 84f9d13664 Added error message for missing LDT support on i386. 2005-07-03 11:26:13 +00:00
Wolfgang Thaller 4c5f9c091b Implement try_mmap_fixed for Darwin. 2005-06-20 11:43:47 +00:00
Robert Lunnon d7272dedc7 Add RTLD_FIRST flag to dlopen calls. 2005-05-10 15:13:20 +00:00
Alexandre Julliard 240d4ee9e1 Remove a few more instances of strncpy. 2005-04-25 15:51:45 +00:00
Francois Gouget 93416cdaf7 Assorted spelling fixes. 2005-03-23 13:15:18 +00:00
Alexandre Julliard 6c1494b19c Fix long standing regression in the building of the server directory
name (found by Nigel Rowe).
2004-12-20 18:55:18 +00:00
Gerald Pfeifer e5f6637eec Make us work on FreeBSD again by working around their different mmap()
implementation.
2004-12-15 10:51:51 +00:00
Peter Chapman 505dfdefb5 Fix up several inline assembler blocks so that they produce correct
code with the -fomit-frame-pointer gcc flag.
2004-12-02 18:19:25 +00:00
Eric Frias 7933014d01 Export wine_pthread_get_current_teb. 2004-11-22 19:51:46 +00:00
Eric Frias 575042e718 Fix Sparc assembly code in wine_switch_to_stack. 2004-11-22 19:50:38 +00:00
Gerald Pfeifer ac815f5a6a Disable memory reservation code on FreeBSD, where it just doesn't
work.
2004-11-04 04:52:48 +00:00
Vincent Béron e5fdc454a4 Implement interlocked* and wine_switch_to_stack for Alpha. 2004-10-11 19:50:52 +00:00
Steven Edwards e7c3ab1874 Check for getuid and avoid the use of it in libwine if we don't have
it.
2004-10-04 20:45:49 +00:00
Alexandre Julliard 531dbbd8e7 Base the server directory name on the uid, not the username. 2004-09-27 20:50:37 +00:00
Hans Leidekker 719a789792 Fix signed/unsigned comparison warnings. 2004-09-22 02:46:38 +00:00
Mike McCormack d45e12a966 Fill in the MZ header in builtin PE DLLs. 2004-09-03 17:28:39 +00:00
Alexandre Julliard d0e5b8e2ee Reserve the DOS area in mmap_init if it wasn't already done by the
preloader.
2004-07-24 02:30:09 +00:00
Emmanuel Maillard 46718f8720 Set segment address of wine executable and libwine.dylib on Darwin. 2004-07-22 19:48:41 +00:00
Alexandre Julliard c3193925d8 Add the preloader itself as argv[0] and remove it again before running
the real loader, this way the ps output makes more sense.
2004-06-15 20:31:06 +00:00
Alexandre Julliard 9af2bd4803 Yet another fix for the MacOS X environ brain damage. 2004-06-14 17:07:30 +00:00
Alexandre Julliard 7d2f5a7b15 Avoid zero size allocations. 2004-06-04 01:01:17 +00:00
Alexandre Julliard fa3544bbdf Check for existing reserved areas in mmap_init to avoid doing
duplicate work.
2004-06-03 00:44:50 +00:00
Christian Costa 4b588d132d Fixed preloader_exec. 2004-05-30 03:10:15 +00:00
Alexandre Julliard 910234eafb Pass the environ variable from main to try to avoid Darwin's
_NSGetEnviron() ugliness.
2004-05-29 00:26:03 +00:00
Alexandre Julliard b1abca8a5d Initial version of the Wine preloader, used to reserve memory
areas at startup. Based on the work of Mike McCormack.
2004-05-28 20:59:22 +00:00
Alexandre Julliard dc4d05690e Don't rely on the reserved area list being empty in reserve_area,
since the preloader will need to add things to the list before
startup.
2004-05-28 03:48:09 +00:00
Kevin Koltzau 96b215ff10 Fixed last mmap issue with mingw windows build. 2004-05-27 01:55:20 +00:00
Alexandre Julliard d3239b677f Portability fix. 2004-05-25 18:55:20 +00:00
Alexandre Julliard 2dff1fe1e5 Moved environ definition to port.h. 2004-05-25 18:05:39 +00:00
Emmanuel Maillard 7ee8adfd39 Added environ support for Darwin. 2004-05-25 04:50:08 +00:00
Emmanuel Maillard 1a9ab88fe3 Adjust stack pointer in wine_switch_to_stack to prevent segmentation
fault on darwin/ppc.
2004-05-25 04:03:05 +00:00
Alexandre Julliard 94d74b5fed Added support for managing reserved memory areas in libwine and ntdll.
Try to reserve everything above 0x80000000 on startup.
2004-05-25 01:29:24 +00:00
Alexandre Julliard 04869eb658 Initial support for automatically creating the ~/.wine directory on
startup.
2004-05-11 04:29:18 +00:00
Alexandre Julliard 440ff6db12 Added version scripts for libwine and libwine_unicode. 2004-02-12 22:54:00 +00:00
Alexandre Julliard 4fac95df3d Fixed a couple of race conditions in the wine_pthread routines at
thread startup and exit.
2004-02-05 02:01:35 +00:00
Dmitry Timoshkov c660117622 Fixed some problems found while compiling and linking Wine under
Cygwin.
2004-01-20 22:35:34 +00:00
Alexandre Julliard 7984ded712 Added wine_dll_get_owner function that retrieves the 32-bit dll
containing a given 16-bit dll by reading the symlink, so that we don't
need to dlopen it.
2004-01-02 21:08:05 +00:00
Alexandre Julliard 9f50af251d Avoid common symbols on Darwin/Mac OS X. 2003-12-13 01:37:38 +00:00
Alexandre Julliard bb4ddfec28 Added a WINEDEBUG environment variable that allows turning on debug
output as early as possible during startup.
2003-12-05 00:17:41 +00:00
Alexandre Julliard 402b79a1e8 Porting fixes. 2003-11-27 00:59:36 +00:00