aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorLIU Hao <lh_mouse@126.com>2023-08-07 13:07:22 +0200
committerAlan Modra <amodra@gmail.com>2023-08-12 10:24:26 +0930
commit3a712247e2c3fee69e682b2bea336df1b9649e60 (patch)
treefffa3fa781a5e3e26753696f5d4bf5d894de6c0d /config
parent9f2c14223f04597b29bbaeab961aedfceacc52c3 (diff)
downloadgdb-3a712247e2c3fee69e682b2bea336df1b9649e60.zip
gdb-3a712247e2c3fee69e682b2bea336df1b9649e60.tar.gz
gdb-3a712247e2c3fee69e682b2bea336df1b9649e60.tar.bz2
gcc: Add 'mcf' thread model support from mcfgthread
This patch adds the new thread model `mcf`, which implements mutexes and condition variables with the mcfgthread library. Source code for mcfgthread is available at <https://github.com/lhmouse/mcfgthread>. config/ * gthr.m4 (GCC_AC_THREAD_HEADER): Add new case for `mcf` thread model
Diffstat (limited to 'config')
-rw-r--r--config/gthr.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/config/gthr.m4 b/config/gthr.m4
index 4b93730..1199624 100644
--- a/config/gthr.m4
+++ b/config/gthr.m4
@@ -22,6 +22,7 @@ case $1 in
tpf) thread_header=config/s390/gthr-tpf.h ;;
vxworks) thread_header=config/gthr-vxworks.h ;;
win32) thread_header=config/i386/gthr-win32.h ;;
+ mcf) thread_header=config/i386/gthr-mcf.h ;;
esac
AC_SUBST(thread_header)
])