Commit Graph

1112 Commits

Author SHA1 Message Date
Alexandre Julliard 005565d90d makefiles: Make sure to install manpages for the install-lib and install-dev cases. 2013-07-02 19:39:30 +02:00
Austin English f191f26c6a loader: Fix Makefile for BSD make. 2013-06-29 12:45:20 +02:00
Frédéric Delanoy 15171d8d05 loader: Update French translation of wine manpage. 2013-06-19 20:09:54 +02:00
Frédéric Delanoy 2d19782ec5 loader: Remove copy-paste error in BUGS section of wine manpage. 2013-06-19 20:09:54 +02:00
Alexandre Julliard 097867debd loader: Rename the elf_hash function to avoid conflicts. 2013-02-13 17:19:43 +01:00
Alexandre Julliard 3b8ab28c40 loader: Define our own auxv structure. 2013-02-13 17:19:42 +01:00
Alexandre Julliard 6f1932dbca loader: Hardcode Linux syscall numbers. 2013-01-21 16:00:07 +01:00
Ken Thomases c40a72223c loader: On Mac, embed Info.plist in (__TEXT, __info_plist) section. 2013-01-08 16:35:28 +01:00
Charles Davis a6fdf73233 loader: Build with -fno-builtin.
This prevents Clang from optimizing wld_memset() into a memset(3) call.
2012-12-26 18:23:03 +01:00
Charles Davis b51c2ba9f7 loader: On Mac OS with Clang, don't use external symbols for the DOS and shared heap segments. 2012-09-21 11:02:36 +02:00
André Hentschel 1491e7b99c loader: Add check for DragonFly BSD. 2012-05-29 10:46:50 +02:00
Charles Davis ec37157b06 loader: Fix constant address warning on Mac OS. 2011-10-08 19:47:26 +02:00
Łukasz Wojniłowicz 441f735f41 loader: Add Polish translation. 2011-06-06 21:49:24 +02:00
Eric Pouech 7b544af170 loader: Protect preloader against ELF file without loadable segments (clang). 2011-03-28 17:24:53 +02:00
Austin English 534196fba9 loader: Add missing checks for FreeBSD_kernel. 2011-01-17 14:27:44 +01:00
Alexandre Julliard 13eafa047d configure: Get rid of the replacement function for gettid. 2010-12-27 12:08:37 +01:00
Alexandre Julliard 7e112c2917 loader: Setup the TLS register on x86-64 for stack protector checks. 2010-12-21 19:38:27 +01:00
Alexandre Julliard 61d2d80795 loader: Define asm functions instead of inlines for x86-64 syscalls to avoid trouble with register constraints. 2010-12-18 12:33:29 +01:00
Alexandre Julliard 0a0862001b loader: Build the preloader for x86-64. 2010-12-16 17:59:24 +01:00
Alexandre Julliard fe031c937d loader: Use long instead of int in the preloader for anything that can store a pointer. 2010-12-16 16:53:24 +01:00
Alexandre Julliard 144cb78dba loader: Make sure the new stack is 16-byte aligned in the preloader. 2010-12-16 16:52:02 +01:00
Alexandre Julliard 15ccabc9a8 makefiles: Add common rules for installing the main man page. 2010-12-05 16:17:58 +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
Harald Hoyer 2bea45dd0a preloader: Fix moving of auxiliary values. 2010-07-29 17:33:35 +02:00
Alexandre Julliard a49891f1e2 ntdll: Add a WINEARCH environment variable that allows forcing a specific 32- or 64-bit architecture. 2010-06-24 15:10:58 +02:00
André Hentschel 4ae5325016 wine.man: There is no configuration file. 2010-06-01 18:01:11 +02:00
Austin English df9fda760e loader: Remove mapat from map_so_lib, where it is unused. 2010-05-28 12:31:12 +02:00
Alexandre Julliard f3831cf2cb configure: Rename the 64-bit loader to wine64 and keep wine always for the 32-bit loader.
This provides better backwards compatibility when running with a
32-bit prefix.
2010-05-17 12:42:30 +02:00
Frédéric Delanoy 32ceee8bf1 loader: Fix French translation of wine manpage. 2010-04-16 12:10:30 +02:00
Frédéric Delanoy db7928c385 manpages: Fix formatting errors. 2010-04-09 11:47:05 +02:00
André Hentschel 68632904f6 loader/manpages: Replace all occurrence of bugs.sgml. 2010-03-31 16:34:50 +02:00
Alexandre Julliard 50c6ac8324 loader: Rename the 32-bit loader in the build tree too when doing a Wow64 build. 2010-03-29 17:53:30 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Yann Droneaud 23e9104721 loader: Use __asm__ keyword instead of asm. 2009-10-27 10:50:02 +01:00
Alexandre Julliard fa6ffb4d5d Fix empty function prototypes. 2009-10-07 12:24:53 +02:00
Alexandre Julliard b1c235d364 loader: Build the loader with -D__WINESRC__. 2009-10-05 14:55:34 +02:00
Alexandre Julliard 3e6eab3fd9 configure: Rename the main binary to "wine32" for the Wow64 build. 2009-08-14 09:45:30 +02:00
Alexandre Julliard 9064777457 configure: Disable installation of a number of extra files for the Wow64 build. 2009-08-13 20:08:58 +02:00
Alexandre Julliard 4fda657a0a loader: Get rid of the pthread support routines. 2009-07-06 14:35:24 +02:00
Alexandre Julliard 4d35f3f270 preloader: Reserve addresses only up to 0x68000000, that should be enough for ole32. 2009-07-01 16:03:56 +02:00
Alexandre Julliard 1ac7576d47 ntdll: Disable releasing the address space on Mac OS since dyld doesn't support this. 2009-06-29 13:21:37 +02:00
Alexandre Julliard 8d833ee2e7 loader: Reserve some more memory to cover the native ole32 addresses. 2009-06-25 14:34:11 +02:00
Alexandre Julliard 691bdbd123 configure: Rename the shared heap segment to avoid a Mac OS linker bug with 16-char names. 2009-06-23 20:51:37 +02:00
Alexandre Julliard bfeaad0d45 loader: Add missing install dependency for extra binaries. 2009-03-30 15:05:17 +02:00
Alexandre Julliard 17c09347c0 loader: Don't bother checking for pthread.h existence, we require it anyway. 2009-03-30 15:05:07 +02:00
Alexandre Julliard 4aa98e030e include: Get rid of the definitions for the pthread emulation. 2009-03-26 13:26:57 +01:00
Alexandre Julliard 9701da43b0 loader: Fix installation for platforms that don't use extra binaries. 2009-03-23 15:52:18 +01:00
Alexandre Julliard f4a19c8463 loader: Merge the first and second stage loaders into a single wine binary. 2009-03-10 18:22:38 +01:00
Alexandre Julliard 0e446d5912 loader: Get rid of the no longer supported wine-kthread. 2009-03-02 12:29:32 +01:00
Alexandre Julliard 4ccf78fbcd loader: Start phasing out the LinuxThreads support. 2009-02-12 11:42:06 +01:00
Stefan Reimer 3dcd1285f1 loader: Fix build with gcc-4.3 and ssp. 2009-01-04 13:33:01 +01:00
Maarten Lankhorst 0a393d7eb4 loader: Implement setting %gs for amd64. 2008-12-01 14:05:16 +01:00
Alexandre Julliard 17ab587567 loader: Use a hidden function instead of an exported global variable to setup pthread functions. 2008-11-07 11:11:21 +01:00
Alexandre Julliard 912e4d4def loader: Reserve some space for the virtual heap too. 2008-11-07 11:05:38 +01:00
Alexandre Julliard 7f327237bf Convert remaining source files to utf-8. 2008-10-18 19:23:08 +02:00
Alexandre Julliard b3ec2e5f95 makefiles: Recurse into all directories for install-lib and install-dev too. 2008-08-25 14:27:03 +02:00
John Reiser 0a2c94e823 configure: Add check for valgrind/valgrind.h. 2008-07-25 11:43:50 +02:00
Alexandre Julliard 7a4d575029 preloader: Silence the warning for the low 64k. 2008-05-05 19:46:15 +02:00
Alexandre Julliard 679aab877f loader: Add stub versions of the pthread functions. 2008-04-29 20:19:02 +02:00
Alexandre Julliard 195ca1e85f preloader: Reserve low memory areas in separate chunks. 2008-04-14 20:38:17 +02:00
Francois Gouget d8c41a25da Spelling fix in the ldt bitfields. 2008-04-14 12:40:22 +02:00
Alexandre Julliard 8505f1429d libwine: Export functions that return the Wine version number and build id. 2008-03-26 23:38:36 +01:00
Jonathan Ernst ff72b54445 loader: Updated French man page. 2008-01-15 14:35:07 +01:00
Austin English 5e10ef042c loader: Add disabling dlls to wine man page. 2008-01-11 12:47:53 +01:00
Alexandre Julliard c3b0addde6 Spelling fixes in French man pages. 2008-01-11 12:45:50 +01:00
Jonathan Ernst 1c0f2fe16a loader: New French man page for wine. 2008-01-11 12:40:11 +01:00
Eric Pouech aff968fb47 valgrind: Made Wine compliant will latest Valgrind macros (the one removed from 3.3.0 and deprecated since 3.2.0). 2007-12-24 13:30:39 +01:00
Marco Schuster fab0aee388 loader: Added de_DE.UTF-8 translated Wine man page. 2007-12-12 14:32:47 +01:00
Marco Schuster 0bd72d0a58 wine.man: Added small clarification for AppDB. 2007-12-12 14:29:45 +01:00
Vitaliy Margolen b7addaab6a wine.man: Document OSS environment variables. 2007-10-22 13:50:01 +02:00
Alexandre Julliard 1b8d9e03a9 loader: Set the address space limit before starting the preloader. 2007-09-21 10:43:45 +02:00
Tijl Coosemans 9f5c69c96d loader: Introduce FreeBSD loader. 2007-08-27 12:14:41 +02:00
Tijl Coosemans 60833da9f2 loader: Use thr_self syscall to get thread id on FreeBSD. 2007-08-09 15:01:04 +02:00
Alexandre Julliard 1f11333c7b makefiles: Build programs that link against libwine twice with appropriate rpaths.
One rpath is for installing and one is for running inside the build tree.
2007-06-20 20:03:30 +02:00
Andrew Talbot cb5dcc68f8 loader: Replace inline static with static inline. 2007-03-27 12:38:15 +02:00
Joris Huizer e1e54d1ee7 preloader: sign-compare fix. 2007-03-05 15:31:56 +01:00
Alexandre Julliard d62b5c6cd9 loader: Fix git-describe invocation to work with old git versions. 2007-01-15 13:02:00 +01:00
Alexandre Julliard 092ac1fbf5 preloader: Added printf format checking and fix some formats. 2007-01-11 12:46:06 +01:00
Alexandre Julliard 13029a2536 preloader: Remove reserved ranges that we failed to allocate. 2007-01-11 12:35:42 +01:00
Alexandre Julliard 4d9f3dfae1 preloader: Reset both AT_SYSINFO and AT_SYSINFO_EHDR when one of them conflicts. 2007-01-02 12:21:45 +01:00
Alexandre Julliard 150b5dcaef loader: Use the Mach thread port as thread id on Mac OS. 2006-12-29 20:02:02 +01:00
Alexandre Julliard 7035aa5041 make_makefiles: Generate the top-level .gitignore file.
Add a PROGRAMS variable in some makefiles to make things easier.
2006-12-27 21:23:36 +01:00
Alexandre Julliard 959113d270 loader: Try to detect glibc 2.3 without NPTL or TLS and print a warning. 2006-12-20 17:03:23 +01:00
Alexandre Julliard 338fc52491 kthread: Don't make the stack executable by default. 2006-12-05 15:42:53 +01:00
Saulius Krasuckas 06566a5347 loader: Use plain binary name of git-describe to avoid junk in version output. 2006-11-09 18:26:36 +01:00
Alexandre Julliard 5776a72361 loader: Update the reported version from the current git HEAD if available. 2006-11-06 13:33:11 +01:00
Alexandre Julliard bda2832d8d ntdll: Moved command-line help to the loader binary. 2006-11-06 13:04:56 +01:00
Alexandre Julliard 4c4094e86e preloader: Clear %gs again before calling the interpreter entry point. 2006-11-04 20:25:06 +01:00
Alexandre Julliard a68d293bae preloader: Setup a fake thread-local storage block pointed to by %gs. 2006-11-03 13:55:41 +01:00
Alexandre Julliard 181cf8b635 loader: Make sure the reserved area is protected on MacOSX too. 2006-10-12 14:55:52 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Alexandre Julliard 13a93b4a94 configure: Set rpath on all executables that link to libwine.
Also add the -multiply_defined suppress option for executables on MacOS.
2006-08-25 17:23:44 +02:00
Alexandre Julliard 4e4740346d Documentation updates. 2006-08-23 15:59:14 +02:00
Alexandre Julliard dd0340ef0a loader/kthread: Remove some unneeded #ifdefs, other platforms use pthread now. 2006-08-15 12:57:25 +02:00
Alexandre Julliard 5da3e551a2 loader: Exit the whole process when killing the last thread. 2006-08-11 20:12:38 +02:00
Alexandre Julliard 2886e9b0e8 makefiles: Use make dependencies to create installation directories.
This avoids a lot of redundant calls to mkinstalldirs.
2006-08-07 17:48:18 +02:00
Tijl Coosemans fc8172f7ee loader/pthread: Added pthread_attr_get_np support. 2006-08-07 13:51:50 +02:00
Alexandre Julliard 30a3866b78 preloader: Added support for the new style DT_GNU_HASH symbol table. 2006-07-31 21:02:38 +02:00
Alexandre Julliard 51d8482222 preloader: Fixed type checking in symbol lookup. 2006-07-31 17:44:20 +02:00
Alexandre Julliard 8aab67d238 preloader: Properly use the ELF hash table when looking up a symbol. 2006-07-31 17:44:20 +02:00
Alexandre Julliard e325efbd8d preloader: Allocate more space in low memory as well as for top-down allocations. 2006-07-24 15:25:39 +02:00
Alexandre Julliard 875b5db17b preloader: Make sure the WINEPRELOADRESERVE area doesn't overlap the low memory area. 2006-07-19 15:06:16 +02:00
Alexandre Julliard c79cf02fae ntdll: Make sure to not unmap anything from reserved areas
when using NtFreeVirtualMemory with the MEM_SYSTEM flag.
2006-07-13 20:47:07 +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
Alexandre Julliard e040e6c4f8 libwine: Added entry for sigprocmask in the pthread functions table. 2006-06-23 12:27:45 +02:00
Alexandre Julliard c6ad0201f4 wine-pthread: Set thread scope to force using kernel threads on Solaris. 2006-06-23 12:26:23 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard 6f38489f91 loader: Attempt to detect broken vmsplit setups. 2006-04-19 19:28:33 +02:00
Alexandre Julliard 0216c404dc preloader: Workaround for broken no-exec protections.
Add an executable page at the top of the address space to defeat
broken no-exec protections that play with the code selector limit.
2006-04-12 19:53:16 +02:00
Alexandre Julliard c20d6c4095 loader: Hide the preloader from the ps output. 2006-03-31 19:16:22 +02:00
Alexandre Julliard 1fd32cfa13 configure: Use --rpath when linking dlls too. 2006-03-20 22:08:26 +01:00
Alexandre Julliard 5ed59015b2 configure: Use --rpath if supported when building binaries to point to
the relative location of the wine libraries.
2006-02-20 11:20:47 +01:00
Alexandre Julliard 266391744d configure: Default to building wine-pthread on non-x86 platforms. 2006-02-17 14:12:29 +01:00
Alexandre Julliard 9dffd134dd libwine: Try the current load path in priority before the
WINELOADER/WINESERVER environment variables in wine_exec_wine_binary.
2006-02-16 20:26:55 +01:00
Emmanuel Maillard aaae6606cb loader: Reserve memory area on Darwin (based on Steve Zellers patch). 2006-02-15 13:52:02 +01:00
Mike Frysinger 5392844392 Add support for 'make install DESTDIR'. 2006-02-14 13:51:38 +01:00
Eric Pouech 4642e1e441 loader: Added missing attr destroy. 2006-02-14 11:34:58 +01:00
Eric Pouech e66e227dbe Fixes for missing prototypes warnings. 2006-02-06 13:13:28 +01:00
Mike McCormack 7cd9a8f8dc preloader: Allow compiling the preloader with -fstack-protector. 2006-01-26 13:21:54 +01:00
Alexandre Julliard 538cd17859 loader: Detect pthread_get_stackaddr_np returning the top of the stack
instead of the base.
2006-01-24 15:11:58 +01:00
Alexandre Julliard cfe45cc130 Get rid of the no longer needed DECL_GLOBAL_CONSTRUCTOR macro. 2006-01-14 17:08:52 +01:00
Alexandre Julliard 0577113e35 preloader: Reserve some space for the shared user data. 2005-12-14 12:19:18 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +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 12a749984c Put Wine version information in all the man pages. 2005-10-06 16:10:01 +00:00
Alexandre Julliard 664e4106c6 Added global rules for man pages. 2005-10-06 16:06:04 +00:00
Alexandre Julliard 43c6396e94 Use int instead of long in interlocked_* functions for 64-bit
compatibility.
2005-09-26 13:51:58 +00:00
Alexandre Julliard 7e4c88c6d9 Avoid some warnings on 64-bit platforms. 2005-09-13 11:07:14 +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 5729f58b68 Move the loader a bit higher in memory to leave more space for ntdll
and kernel32.
2005-06-17 10:22:46 +00:00
Alexandre Julliard 8dd4ee76c4 Moved the wine manpage to the loader/ directory. 2005-06-15 10:25:40 +00:00
Marcus Meissner 2b6e7dad58 Elf32_auxv_t.a_un.a_ptr no longer exists in HEAD glibc CVS, use
a_val.
2005-06-02 10:30:08 +00:00
Francois Gouget 821d4c4645 Fix nativeapi.pm so it knows about AC_HEADER_STAT().
Make the error message about unexpected '#ifdef HAVE_XXX' clearer.
Protect sys/stat.h #includes with the corresponding '#ifdef HAVE_XXX'
check.
2005-05-06 16:22:54 +00:00
Aaron Arvey a31a75244c Added __bb_init_func for linking purposes. 2005-04-15 16:13:49 +00:00
Mike Hearn fa153c62dd Increase PE reserve area size to 512Mb. 2005-03-22 16:42:25 +00:00
Rémi Assailly 193d527736 char -> const char fixes. 2005-01-28 14:02:52 +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
Hans Leidekker cbaa545fff Protect use of pthread functions with #ifdef HAVE_PTHREAD_H. 2004-10-19 03:57:05 +00:00
Alexandre Julliard ce0e8f2998 Restore lost chunk of previous patch. 2004-10-18 21:43:50 +00:00
Vincent Béron 2c1b35dd17 Add some more Alpha asm code and Alpha-specific parts. 2004-10-18 21:27:52 +00:00
Vincent Béron d17c162c4c Fix the declaration of pthread_mutexattr_gettype(). 2004-10-18 19:33:16 +00:00
Alexandre Julliard e9f2eb5241 Support compiling with -fPIC for people who somehow think this is a
good idea.
2004-09-24 00:25:32 +00:00
Alexandre Julliard 06233cfb47 Avoid some non-portable makefile constructs. 2004-08-11 20:59:09 +00:00
Emmanuel Maillard d110e1f264 wine_pthread_init_thread: retrieve the stack info on Darwin. 2004-07-21 03:06:03 +00:00
Alexandre Julliard 0c8d6908df Avoid using strlen. 2004-07-06 18:46:05 +00:00
Mike McCormack 2113bd43f1 Define AT_SYSINFO_* if it's missing. 2004-06-28 20:28:05 +00:00
Alexandre Julliard f558741fab Remove the AT_SYSINFO and AT_SYSINFO_EHDR values if the sysinfo page
is in one of our reserved ranges.
2004-06-26 00:12:20 +00:00
Alexandre Julliard 9bfe0c4ec4 Use wine_dlsym instead of dlsym to avoid the glibc dlerror bug.
Call dlsym with RTLD_DEFAULT for symbols that we don't redefine to
work around another glibc bug.
2004-06-24 04:07:22 +00:00
Alexandre Julliard bfac60bfeb Do direct Linux system calls in the preloader to avoid trouble with
some broken static libcs.
2004-06-22 02:42:05 +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