gcc/libgcc/config/i386
Eric Botcazou 5c82694319 Fix implementation of Win32 thread model for C++ modules
This applies the same magic to config/i386/gthr-win32.h that was applied
to gthr-posix.h (https://gcc.gnu.org/cgit/gcc/commit/?id=6a4d1c374eed17)
for the sake of C++ modules.

libgcc/
	PR target/119673
	* config/i386/gthr-win32.h (__GTHREAD_ALWAYS_INLINE): New macro.
	(__GTHREAD_INLINE): Likewise.
	(__GTHR_W32_InterlockedCompareExchange): Delete.
	(__gthread_active_p): Mark as __GTHREAD_INLINE instead of
	static inline.
	(__gthread_create): Likewise.
	(__gthread_join): Likewise.
	(__gthread_self): Likewise.
	(__gthread_detach): Likewise.
	(__gthread_equal): Likewise.
	(__gthread_yield): Likewise.
	(__gthread_once): Likewise.
	(__gthread_key_create): Likewise.
	(__gthread_key_delete): Likewise.
	(__gthread_getspecific): Likewise.
	(__gthread_setspecific): Likewise.
	(__gthread_mutex_init_function): Likewise.
	(__gthread_mutex_destroy): Likewise.
	(__gthread_mutex_lock): Likewise.
	(__gthread_mutex_trylock): Likewise.
	(__gthread_mutex_timedlock): Likewise.
	(__gthread_mutex_unlock): Likewise.
	(__gthread_recursive_mutex_trylock): Likewise.
	(__gthread_cond_init_function): Likewise.
	(__gthread_cond_broadcast): Likewise.
	(__gthread_cond_signal): Likewise.
	(__gthread_cond_wait): Likewise.
	(__gthread_cond_timedwait): Likewise.
	(__GTHREAD_WIN32_INLINE): Likewise.
	(__GTHREAD_WIN32_COND_INLINE): Likewise.
	(__gthread_recursive_mutex_init_function): Likewise.
	(__gthread_recursive_mutex_destroy): Likewise.
	(__gthread_recursive_mutex_lock): Likewise.
	(__gthread_recursive_mutex_unlock): Likewise.
	(__gthread_cond_destroy): Likewise.
	(__gthread_cond_wait_recursive): Likewise.
2025-04-14 09:37:51 +02:00
..
32 Update copyright years. 2025-01-02 11:59:57 +01:00
64 libgcc _BitInt support [PR102989] 2023-09-06 17:33:05 +02:00
_divhc3.c
_mulhc3.c
avx_resms64.S
avx_resms64f.S
avx_resms64fx.S
avx_resms64x.S
avx_savms64.S
avx_savms64f.S
cpuinfo.c Update copyright years. 2025-01-02 11:59:57 +01:00
crtfastmath.c Update copyright years. 2025-01-02 11:59:57 +01:00
crti.S Update copyright years. 2025-01-02 11:59:57 +01:00
crtn.S Update copyright years. 2025-01-02 11:59:57 +01:00
crtprec.c Update copyright years. 2025-01-02 11:59:57 +01:00
cygming-crtbegin.c Update copyright years. 2025-01-02 11:59:57 +01:00
cygming-crtend.c Update copyright years. 2025-01-02 11:59:57 +01:00
cygwin.S Update copyright years. 2025-01-02 11:59:57 +01:00
darwin-lib.h Update copyright years. 2025-01-02 11:59:57 +01:00
dragonfly-unwind.h Update copyright years. 2025-01-02 11:59:57 +01:00
elf-lib.h Update copyright years. 2025-01-02 11:59:57 +01:00
enable-execute-stack-mingw32.c Update copyright years. 2025-01-02 11:59:57 +01:00
freebsd-unwind.h Update copyright years. 2025-01-02 11:59:57 +01:00
gnu-unwind.h Update copyright years. 2025-01-02 11:59:57 +01:00
gthr-mcf.h Update copyright years. 2025-01-02 11:59:57 +01:00
gthr-win32-cond.c Update copyright years. 2025-01-02 11:59:57 +01:00
gthr-win32-thread.c Update copyright years. 2025-01-02 11:59:57 +01:00
gthr-win32.c Update copyright years. 2025-01-02 11:59:57 +01:00
gthr-win32.h Fix implementation of Win32 thread model for C++ modules 2025-04-14 09:37:51 +02:00
heap-trampoline.c x86: Support x32 and IBT in heap trampoline 2024-02-14 11:56:26 -08:00
i386-asm.h Update copyright years. 2025-01-02 11:59:57 +01:00
libgcc-bsd.ver Update copyright years. 2025-01-02 11:59:57 +01:00
libgcc-cygming.ver Update copyright years. 2025-01-02 11:59:57 +01:00
libgcc-darwin.ver libgcc, Darwin: Update symbol exports to include bitint and bf. 2024-02-09 10:23:21 +00:00
libgcc-glibc.ver Update copyright years. 2025-01-02 11:59:57 +01:00
libgcc-mingw.ver Update copyright years. 2025-01-02 11:59:57 +01:00
libgcc-sol2.ver Update copyright years. 2025-01-02 11:59:57 +01:00
linux-unwind.h libgcc: i386/linux-unwind.h: always rely on sys/ucontext.h 2025-02-18 20:35:42 +01:00
morestack.S Update copyright years. 2025-01-02 11:59:57 +01:00
resms64.h Update copyright years. 2025-01-02 11:59:57 +01:00
resms64f.h Update copyright years. 2025-01-02 11:59:57 +01:00
resms64fx.h Update copyright years. 2025-01-02 11:59:57 +01:00
resms64x.h Update copyright years. 2025-01-02 11:59:57 +01:00
savms64.h Update copyright years. 2025-01-02 11:59:57 +01:00
savms64f.h Update copyright years. 2025-01-02 11:59:57 +01:00
sfp-exceptions.c Update copyright years. 2025-01-02 11:59:57 +01:00
sfp-machine.h
shadow-stack-unwind.h Update copyright years. 2025-01-02 11:59:57 +01:00
sol2-unwind.h Update copyright years. 2025-01-02 11:59:57 +01:00
sse_resms64.S
sse_resms64f.S
sse_resms64fx.S
sse_resms64x.S
sse_savms64.S
sse_savms64f.S
t-chkstk
t-cpuinfo
t-cpuinfo-static
t-crtpc
t-crtstuff
t-cygming
t-cygwin
t-darwin libgcc, Darwin: Drop the legacy library build for macOS >= 15 [PR116809]. 2024-09-24 19:23:02 +01:00
t-dlldir
t-dlldir-x
t-dragonfly
t-dw2-eh
t-freebsd
t-heap-trampoline libgcc: Fix up i386/t-heap-trampoline [PR113403] 2024-02-01 21:10:02 +01:00
t-linux
t-mingw-mcfgthread
t-mingw32
t-msabi
t-nto
t-seh-eh
t-sjlj-eh
t-slibgcc-cygming
t-slibgcc-mingw
t-softfp libgcc _BitInt support [PR102989] 2023-09-06 17:33:05 +02:00
t-sol2
t-stack-i386
value-unwind.h Update copyright years. 2025-01-02 11:59:57 +01:00
w32-unwind.h Update copyright years. 2025-01-02 11:59:57 +01:00