133 Commits

Author SHA1 Message Date
Patrik Stridvall
a831f2a1e7 Fixed some warnings. 2000-06-11 20:03:17 +00:00
Ulrich Weigand
9299890257 Fixed size of pe_header on machines with non-4K pages. 2000-06-07 02:02:25 +00:00
Ulrich Weigand
7e85ea7c86 Moved stack switch handling (large stack) to sysdeps.c
Enable exception dispatch while on large stack.
2000-06-04 01:35:43 +00:00
Alexandre Julliard
246c360631 Reserve space for the PE header at the start of the .so file.
Store the export table inside the data section so that sections can be
properly aligned.
Build the relay function table directly in the .spec.c file.
Moved relay debugging functions to relay386.c.
2000-05-10 03:48:00 +00:00
Eric Pouech
ec4f57bec1 Fixed argv handling for cuiexe winelib programs. 2000-04-29 14:18:34 +00:00
Alexandre Julliard
b44595283f Improved Winelib apps initialisation code. No longer need to link
winestub.o with Winelib apps.
2000-04-15 21:00:55 +00:00
Francois Gouget
6d77d3a1df Use min/max instead of MIN/MAX. 2000-03-25 21:44:35 +00:00
Patrik Stridvall
89cf0ae158 - Fixed some Solaris specific assembler problems
- Fixed some missing .type @function (helps debugging with dbx)
- Fixed code needing __attribute__((constructor))__ for non-GCC ELF compilers
- Fixed use of zero width arrays (ANSI C violation)
- @GOTOFF on Solaris doesn't work - use @GOT and redirection instead
2000-02-27 17:02:03 +00:00
Alexandre Julliard
916f975624 Improved the selector get/set functions.
Support ANSI-compatible inline asm (with the help of Patrik Stridvall).
2000-02-26 16:51:13 +00:00
James Abbatiello
1758f2d81a Misc. fixes for compiler warnings. 2000-02-25 21:01:50 +00:00
Ulrich Weigand
9ffd403001 Added .spec keyword 'mode' to allow creating built-in EXE modules.
Use built-in EXE modules for WineLib apps (instead of ELF modules).
Removed dummy ELF module creation.
Removed LIBRES handling.
2000-02-03 01:33:48 +00:00
Alexandre Julliard
112d30781f Added automatic registration of built-in DLLs. 2000-01-16 03:37:05 +00:00
Ulrich Weigand
602306ebdf Fix (harmless) assembler warnings. 2000-01-12 04:57:03 +00:00
Alexandre Julliard
74e4a28a34 Built-in DLLs resources are now specified in spec file.
Removed unnecessary flags in built-in DLLs tables.
2000-01-09 04:20:31 +00:00
Alexandre Julliard
5919ae42cb Added support for automatic ordinal allocation.
Output list of function names in sorted order.
Added support for nameless (ordinal-only) entry points.
Cleaned up error handling.
1999-12-26 23:11:58 +00:00
Ulrich Weigand
9b233bdb8a Modified Win32 register function handling. 1999-11-13 23:51:13 +00:00
Ulrich Weigand
e7957d6b48 Determine expected_version of PE buddies from the SubsystemVersion. 1999-11-10 19:45:56 +00:00
Patrik Stridvall
96336324cf - Added missing configuration #if:s and #includes:s.
- Minor configuration related changes.
1999-10-24 22:13:47 +00:00
Eric Pouech
117f9f9713 Added filename to 32 bit builtin module descriptors. 1999-10-13 16:00:18 +00:00
Patrik Stridvall
e216de9794 Fixed some of the issues reported by winapi-check, by adding arguments
to varargs.
1999-09-29 10:27:00 +00:00
Patrik Stridvall
e92331ffd0 Fixed ANSI C violations. 1999-09-20 18:52:06 +00:00
Ulrich Weigand
a3d14f884e Use typedef to work around egcs problem. 1999-08-18 18:40:52 +00:00
Ulrich Weigand
0007842ed8 Bugfix: EFlags were passed incorrectly by CallFrom16Register. 1999-08-18 18:25:00 +00:00
James Juran
c4c129dc50 Document use of "init" in build-spec.txt, and make build.c print a
warning if someone tries to use "init" in a Win16 spec file.
1999-08-15 14:17:50 +00:00
Ulrich Weigand
6ab0fb18b0 CallTo16... / CallFrom16... Wine thunks reorganized:
- Cleaner separation between core and glue code.
- Argument conversion glue code now in C.
- Glue code needed for 16-bit .spec files inlined.
1999-08-15 12:43:17 +00:00
Ulrich Weigand
b5151d003d Relay code for Win16 register functions converts arguments.
New 'interrupt' keyword added (for Win16 interrupt handlers).
Adapted .spec files and implementations of register routines.
1999-07-25 11:27:36 +00:00
Ulrich Weigand
22d2c527b8 Bugfix: Reverted CallTo16 routines to STDCALL convention. 1999-07-23 19:27:36 +00:00
Ulrich Weigand
4b32fd0d43 Use position-independent code in assembly glue when building .so.
Include if1632/ and graphics/win16drv/ into WineLib.
Move miscemu/emulate.c into dlls/win87em/.
1999-07-15 14:51:40 +00:00
Alexandre Julliard
4220b29be9 Take advantage of the new registers saved in the STACK16FRAME to turn
some 'register' functions into normal functions.
Removed the few remaining 'return' functions to simplify relay
handling.
1999-07-11 17:20:01 +00:00
Ulrich Weigand
3dff7bb842 Modularized CallFrom/To16 routines. Adapted dependent routines,
16-bit snoop/relay debugging, and make rules.
1999-07-11 13:58:31 +00:00
Alexandre Julliard
617955db88 Changed CONTEXT into CONTEXT86 everywhere we really want an i386
context.
Added #ifdef __i386__ around accesses to 386 registers in the generic
CONTEXT structure.
1999-06-26 18:40:24 +00:00
Patrik Stridvall
1ed4ecffa8 ANSI C fixes.
Removed warnings.
Made the include files self-sufficient.
Some Solaris fixes.
1999-06-26 14:58:24 +00:00
Alexandre Julliard
0a860a01f9 Merged THDB and TEB structures.
Made SetLastError(), GetCurrentThreadId() and PROCESS_Current() inline.
1999-06-22 11:43:42 +00:00
Ove Kaaven
d2ca108b34 Clear high word of %esp when returning from CallFrom16. 1999-06-12 06:44:56 +00:00
Ulrich Weigand
bba76eed9c Switch stacks in CALL32_Init(). 1999-06-06 14:49:55 +00:00
Ulrich Weigand
eec4c25468 Set %ebx to point to real 16-bit stack in CBClientThunkSL.
Pass %esi back-and-forth in CBClientThunkSL(Ex).
Copy modified buffers back after return from FT_Thunk.
Fix broken recognition of LS thunklets.
1999-05-22 11:24:46 +00:00
Alexandre Julliard
06b978991b Win32 register functions can now have arguments.
Simplified relay debugging for register functions.
1999-05-13 16:13:17 +00:00
Alexandre Julliard
e4177e67cf Added import declaration for Win32 built-ins. 1999-05-12 09:57:37 +00:00
Alexandre Julliard
3eb441c7c4 Added support for forwarded ordinals in built-in dlls. 1999-05-10 14:44:47 +00:00
Patrik Stridvall
1bb9403938 ANSI C fixes. 1999-05-08 15:47:44 +00:00
Jim Aston
10141fec52 Added some missing #defines I've run across. 1999-04-25 12:31:20 +00:00
Ulrich Weigand
b8cde48f92 Bugfix: Internal NE entry point tables were bad (one huge bundle). 1999-04-22 09:07:09 +00:00
Andreas Mohr
dca5e56b90 - Implemented proper ("real", compressed) Win16 entry tables.
- Fixed MyAlloc (AKA NE_AllocateSegment).
- Implemented PatchCodeHandle16.
1999-04-16 08:17:17 +00:00
Alexandre Julliard
a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Marcus Meissner
219cfd8387 Optimized away more includes, readded some #includes for necessary
prototypes.
1999-02-24 13:05:13 +00:00
Ulrich Weigand
9cf066e32c Implemented KERNEL.621 (CBClientThunkSLEx). 1999-01-24 09:43:08 +00:00
Alexandre Julliard
3f11e9eba3 Removed extra output. 1998-12-10 16:04:51 +00:00
Ulrich Weigand
75de18d807 Allow recursively reentering CALL32_LargeStack. 1998-12-07 10:23:10 +00:00
Marcus Meissner
735bec0f2f Clean invalid selectors on the pop %xs from the STACKFRAME itself
instead of using linked list hack.
1998-11-15 11:34:10 +00:00
Ulrich Weigand
5efaf50ed5 Implemented (partially) the KERNEL Thunklet API and Callback Client
API (KERNEL.560-568,604-612,619-622).
Added stubs for K228, K237, KERNEL.365, KERNEL.447.
1998-10-11 19:26:00 +00:00