FFmpeg/compat
Harishmcw 5946d2eadc compat: Fix .def file generation for ARM64EC builds on Windows
When building DLLs on ARM64EC, the default use of `dumpbin
-linkermember:1` fails because ARM64EC static libraries use a
different linker member format. Use `-linkermember:32` for ARM64EC
to correctly extract symbols.

Additionally, MSVC inserts $exit_thunk and $entry_thunk symbols
for ARM64EC to handle x64 ↔ ARM64 transitions. These are internal
thunks and must not be exported. Filter them out when generating
the .def file to avoid unresolved symbols or invalid exports.

Trim out the leading '#' on ARM64EC function symbols. This is only
relevant on ARM64EC, but it is benign to do that filtering on
all architectures (such symbols aren't expected on other
architectures).

Simplify the sed command by removing the symbol address with a
sed expression instead of a later "cut" command.

This ensures correct symbol extraction and stable DLL generation
on ARM64EC targets, while keeping behavior unchanged for other
Windows architectures.
2025-12-19 10:01:16 +00:00
..
aix
android fftools: Fix MediaCodec on Android15+ 2025-11-23 12:53:43 +00:00
atomics compat: drop gcc, suncc, and pthreads stdatomic emulation 2024-09-23 17:08:46 +02:00
cuda compat/cuda: add device side printf function 2025-05-14 22:08:33 +02:00
dispatch_semaphore
djgpp additional math.h functions for djgpp 2018-11-28 22:16:07 +11:00
float
msvcrt fix broken links to msdn documentation 2021-05-13 09:13:03 +10:00
solaris all: fix typos found by codespell 2025-08-03 13:48:47 +02:00
stdbit compat: Fix the fallback definition of stdc_trailing_zeros 2024-09-24 14:00:27 +03:00
windows compat: Fix .def file generation for ARM64EC builds on Windows 2025-12-19 10:01:16 +00:00
getopt.c compat/getopt: constify opts 2025-08-14 00:08:10 +00:00
os2threads.h compat/os2threads: define INCL_DOSERRORS 2020-02-15 18:25:51 +01:00
strtod.c compat/strtod: Add missing const qualifiers. 2017-05-04 23:17:20 +02:00
va_copy.h
w32dlfcn.h avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
w32pthreads.h ALL: move av_unused to conform with standard requirement 2025-09-26 16:15:46 +00:00