Commit graph

815 commits

Author SHA1 Message Date
Brendan Shanks
1d8ef42a75 winebuild: Replace sprintf with snprintf to avoid deprecation warnings on macOS. 2024-09-19 21:39:33 +02:00
Jacek Caban
62d49fd48c tools: Use GetModuleFileNameA in get_bindir on Windows targets. 2024-09-16 23:07:49 +02:00
Jacek Caban
ab9201be5c winebuild: Use .drectve section for exports on ARM64EC. 2024-05-14 21:03:58 +02:00
Jacek Caban
4243befce5 winebuild: Add -marm64x option for generating hybrid ARM64X import libraries. 2024-04-09 12:07:26 -05:00
Alexandre Julliard
e1d624a06f ntdll: Export longjmp. 2024-03-07 12:38:05 +01:00
Jacek Caban
7a66313cfb winebuild: Output load config on PE targets. 2024-02-29 08:39:30 +01:00
Alexandre Julliard
4e25c07689 winebuild: Remove some no longer used support for ELF ARM platforms. 2024-02-27 13:01:57 +01:00
Alexandre Julliard
af64a8bb5c winebuild: Remove ARM code generation option.
They are not needed for PE builds.
2024-02-23 12:02:17 +01:00
Jacek Caban
3f421410c1 winebuild: Move target filtering to assign_exports. 2024-02-15 11:23:52 +01:00
Jacek Caban
3c9ede8abc winebuild: Use exports struct in assign_names. 2024-02-15 11:23:51 +01:00
Jacek Caban
1bc06138f4 winebuild: Use exports struct in assign_ordinals. 2024-02-15 11:23:51 +01:00
Jacek Caban
f5ed0de392 winebuild: Use exports struct for exports handling. 2024-02-15 11:23:51 +01:00
Jacek Caban
6ee0583546 winebuild: Use exports struct for 16-bit modules handlign. 2024-02-15 11:23:51 +01:00
Jacek Caban
499c6be734 winebuild: Use exports struct for imports handling. 2024-02-15 11:23:51 +01:00
Jacek Caban
73f0bbc731 winebuild: Introduce exports struct. 2024-02-15 11:23:49 +01:00
Alexandre Julliard
7c7544aba1 winebuild: Add .seh annotations on ARM. 2024-02-05 21:45:19 +01:00
Alexandre Julliard
e25b1ab7e9 winebuild: Remove some no longer used code for ARM platforms. 2024-02-05 21:06:00 +01:00
Brendan Shanks
f5c00e3870 winebuild: As a last resort, search for tools un-prefixed using clang. 2024-02-01 21:47:17 +01:00
Brendan Shanks
d292c7ec74 winebuild: Refactor find_tool(). 2024-02-01 21:47:17 +01:00
Alexandre Julliard
b1ab51b508 winebuild: Default to plain "clang" in find_clang_tool(). 2024-02-01 21:47:17 +01:00
Alexandre Julliard
a255dd1f3c winebuild: Stop generating syscall entry points. 2023-11-20 18:27:48 +01:00
Alexandre Julliard
48a5459827 ntdll: Generate syscall entry points from the C code with asm macros. 2023-11-20 18:08:27 +01:00
Alexandre Julliard
e9afc9bf8f winebuild: Stop generating the syscall argument array and related data. 2023-11-17 10:17:50 +01:00
Alexandre Julliard
b3895f5519 winebuild: Include x86-64 entry points in ARM64EC builds. 2023-11-13 11:36:34 +01:00
Alexandre Julliard
955664c80f winebuild: Add a helper to build an ARM64EC function name. 2023-11-13 11:36:34 +01:00
Jacek Caban
7b216b69c7 winebuild: Use COMDAT sections for ARM64EC functions. 2023-11-13 11:36:12 +01:00
Jacek Caban
a0a2ef5a2b tools: Initial ARM64EC target support. 2023-11-13 11:36:12 +01:00
Alexandre Julliard
9a4e41c45d winebuild: Always use .balign for alignment.
It seems to be portable enough nowadays.
2023-10-20 11:59:26 +02:00
Alexandre Julliard
4e9f1a41b9 makefiles: Always use the global SOURCES variable for .man.in files. 2023-10-14 13:44:07 +02:00
Alexandre Julliard
945883438a winebuild: Add a helper to output an asm function header. 2023-10-10 23:15:05 +02:00
Alexandre Julliard
518e394794 winebuild: Set ASLR-related dll flags by default. 2023-09-25 22:47:03 +02:00
Alexandre Julliard
cfaf09940a winebuild: Make the syscall thunks position-independent on ARM64. 2023-09-19 16:59:45 +02:00
Alexandre Julliard
40c1c498a9 winebuild: Add a few more SEH annotations. 2023-09-19 16:59:45 +02:00
Alexandre Julliard
e3aa775a63 winebuild: Remove unnecessary .cfi_startproc/endproc annotations. 2023-09-19 14:27:17 +02:00
Alexandre Julliard
6828fc8b3a winebuild: Add a separate helper for .seh annotations. 2023-09-19 14:27:17 +02:00
Alexandre Julliard
04a74bdb50 winebuild: Add SEH information to relay entry points on ARM64. 2023-09-07 17:12:55 +02:00
Alexandre Julliard
afb8d94e2f winebuild: Ignore syscalls that point to an alias. 2023-08-28 21:56:12 +02:00
Alexandre Julliard
7ee9c19687 ntdll: Also store syscall id and names following the syscall dispatcher pointer. 2023-08-25 22:52:45 +02:00
Alexandre Julliard
bc2e4ea7e2 winebuild: Update target-dependent characteristics after option parsing. 2023-06-09 23:37:14 +02:00
Alexandre Julliard
320acdad05 winebuild: Set a 64-bit base address for generated 64-bit dlls. 2023-06-09 23:37:14 +02:00
Zebediah Figura
6bcfab4ca6 winebuild: Use the lretw mnemonic in wine_call_to_16().
We already use it in the __wine_spec_callfrom16_* functions.
2023-06-02 09:32:23 +02:00
Zebediah Figura
63a6f01a70 winebuild: Use segment prefixes in 16-bit stack switching code instead of writing out byte values.
Presumably at one point there were assemblers that choked on
these. However, currently we use segment prefixes elsewhere in
wine (namely, in the syscall dispatcher), and it seems fair to assume
that a sane compiler should support them.
2023-06-02 09:32:23 +02:00
Alexandre Julliard
fddd7aab7c winebuild: Disallow floating point arguments in syscall functions. 2023-05-12 11:39:10 +02:00
Alexandre Julliard
921367fc57 winebuild: Only allow the stdcall calling convention for system calls. 2023-02-27 11:02:14 +01:00
Rémi Bernon
0b3f90ab14 winebuild: Use .incbin instead of printf for resource data. 2023-02-13 17:03:02 +01:00
Alexandre Julliard
8772b38494 tools: Make sure that config.h is included. 2023-01-30 09:31:32 +01:00
Huw Davies
38a7145731 winebuild: Reorder the includes to avoid a build error on macOS.
"build.h" eventually includes <sys/queue.h> which contains a conflicting
definition of LIST_INIT.
2023-01-26 22:05:13 +01:00
Alexandre Julliard
ae8797c8e3 tools: Add a common helper to setup signal handlers. 2023-01-25 11:47:51 +01:00
Alexandre Julliard
ca398e2762 tools: Add a common helper to cleanup temp files. 2023-01-25 11:47:51 +01:00
Fan WenJie
7f62f7be87 winebuild: Only set thumb_mode on ARM targets.
Signed-off-by: Fan WenJie <fanwj@mail.ustc.edu.cn>
2023-01-20 15:59:09 +01:00