Commit Graph

183 Commits

Author SHA1 Message Date
Alexandre Julliard 75a830e8e1 winebuild: Put the thunk hint/name in FirstThunk too instead of zero.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-18 15:35:20 +02:00
André Hentschel db848fa767 winebuild: Improved position independent code generation.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-08 20:02:33 +09:00
Alexandre Julliard c52e4b6551 winebuild: Mark the stack non-executable in static import libraries.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-05 00:06:41 +09:00
Alexandre Julliard 13fe69714b winebuild: Add support for linking to static import libraries.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-25 15:35:18 +09:00
Alexandre Julliard aac69889bf winebuild: Add support for creating static import libraries.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-25 15:35:17 +09:00
Alexandre Julliard 59b5c52f1d winebuild: Add a common helper to find an imported dll.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-23 22:55:46 +09:00
Alexandre Julliard ebb9c5e246 winebuild: Use a global flag to determine when to generate the get_pc thunk.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 18:12:28 +09:00
Alexandre Julliard 77a13f69b4 winebuild: Add a separate structure to store the data of imported functions.
We only need the name and ordinal.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 16:34:35 +09:00
Alexandre Julliard 68614d5db2 winebuild: Store delayed imports in a separate list.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 16:16:58 +09:00
Alexandre Julliard 9b70b6bd13 winebuild: Store dll imports in a list instead of an array.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 16:15:01 +09:00
Alexandre Julliard 05399ad711 winebuild: Store a C-compatible version of the dll name.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 15:20:38 +09:00
Alexandre Julliard 8e10ae6705 winebuild: Don't store the full spec for an imported dll.
We only need the dll name.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 15:16:59 +09:00
Alexandre Julliard d65446af3d winebuild: Use strarray objects for a few more string arrays.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-21 15:26:24 +09:00
Alexandre Julliard 8baaf5349f winebuild: Use strarray objects instead of pointers where possible.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-19 13:14:41 +09:00
Charles Davis 2ea17846b8 winebuild: When building implibs, invoke dlltool with a machine type.
Signed-off-by: Charles Davis <cdavis5x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 20:26:10 +09:00
André Hentschel d1f9067cf5 winebuild: Create stubs for ARM64. 2015-06-15 15:29:03 +09:00
Gerald Pfeifer 4a8d186bbc winebuild: Remove unused empty_name_table. 2014-07-28 17:21:58 -05:00
Alexandre Julliard 4e4acd5f70 winebuild: Generate position-independent code for ARM. 2014-02-12 19:15:02 +01:00
Alexandre Julliard f7272176d9 winebuild: Split the names of the as and ld commands to allow arguments. 2013-06-10 13:17:21 +02:00
Alexandre Julliard 2467c06a30 winebuild: Check for delayed import before the library is parsed, in case the real module name is different. 2013-04-01 14:32:36 +02:00
André Hentschel 4f1beed106 winebuild: Remove get_asm_short_keyword. 2013-03-11 11:44:57 +01:00
André Hentschel 0ee8e2b5b1 winebuild: Remove SPARC support. 2013-03-11 10:50:12 +01:00
André Hentschel 3f393a6552 winebuild: Add ARM64 support. 2013-01-16 12:37:39 +01:00
André Hentschel 220aeda3a0 winebuild: Create stubs for ARM. 2012-03-28 11:47:22 +02:00
André Hentschel c50f25e91b winebuild: Fill the delay slot on Sparc. 2011-12-02 12:15:31 +01:00
André Hentschel ac90c1bd18 winebuild: Simplify the ARM part of output_import_thunk. 2011-06-17 19:30:46 +02:00
André Hentschel cd9ff09d8e winebuild: get_asm_ptr_keyword is not needed for ARM. 2011-06-17 11:01:59 +02:00
André Hentschel 46f52f77dc winebuild: Remove Alpha support. 2011-04-20 13:11:27 +02:00
André Hentschel f901fa9769 build-env: Don't use 'exchange instruction set' instructions on ARM to fix build on ARMv6 e.g. Nokia N810. 2010-09-21 14:17:37 +02:00
André Hentschel bbfc0d1d64 winebuild: Fix ARM support. 2010-09-20 12:55:24 +02:00
Alexandre Julliard b116040771 winebuild: Add support for specifying thiscall calling convention. 2010-08-24 16:23:20 +02:00
Alexandre Julliard 4bfdad159b winebuild: Get rid of the ignored symbol support. 2010-08-02 12:55:19 +02:00
Alexandre Julliard b03059cbda winebuild: Add a spawn() helper function to avoid starting a shell where possible. 2010-08-02 12:55:12 +02:00
Alexandre Julliard 84f4046481 winebuild: Copy the strmake function from winegcc to simplify string formatting. 2010-08-02 10:11:23 +02:00
Alexandre Julliard eba56752fd winebuild: Add cfi annotations to the import thunk for i386. 2010-04-12 12:04:50 +02:00
Alexandre Julliard e550e8a100 winebuild: Add a wrapper function to output cfi directives. 2010-04-11 12:49:00 +02:00
Alexandre Julliard 10e4a55b6c winebuild: Output the asm relay functions as needed and get rid of --relay32 mode. 2010-01-16 15:50:27 +01:00
Alexandre Julliard b4c6433063 winebuild: Do not output an undefined symbol reference for variables. 2010-01-11 13:54:16 -06:00
Alexandre Julliard 054406f78c winebuild: Don't output private symbols at all when building an import library. 2009-12-30 12:50:17 +01:00
Alexandre Julliard 2fda3d6a17 winebuild: Add support for building Windows import libraries. 2009-12-30 12:49:19 +01:00
Alexandre Julliard c4c6fcaff7 winebuild: Don't check variables for undefined exports. 2009-12-29 16:09:34 +01:00
André Hentschel 27fb36b39e winebuild: Add ARM support. 2009-11-18 11:14:30 +01:00
Alexandre Julliard 873e027e01 winebuild: Add unwind annotations to all the generated functions for x86_64. 2009-06-16 14:26:51 +02:00
Alexandre Julliard b374e7e36e winebuild: Don't include any Windows header to avoid data types dependencies. 2009-04-09 20:58:43 +02:00
Alexandre Julliard cdad788d33 winebuild: Skip non-functions when building the undefined exports file. 2009-03-25 13:27:27 +01:00
Alexandre Julliard 49d2c208d8 winebuild: Ignore 16-bit absolute exports when checking for undefined symbols. 2009-03-04 14:08:35 +01:00
Alexandre Julliard 5599ac22c7 winebuild: Add support for generating stand-alone 16-bit modules.
This is done by wrapping them inside an empty 32-bit module.
2009-02-26 13:22:47 +01:00
Alexandre Julliard d07f67acbc winebuild: Determine the appropriate as/ld/nm commands at the time they are needed. 2009-02-04 19:31:54 +01:00
Alexandre Julliard 913354e75b winebuild: Fix delay load code to preserve stack alignment and save the correct registers. 2008-12-27 19:58:42 +01:00
Alexandre Julliard ce63574425 winebuild: Generate stub entry points for x86_64. 2008-12-16 12:20:30 +01:00