aboutsummaryrefslogtreecommitdiff
path: root/libgcc/configure
diff options
context:
space:
mode:
authorKwok Cheung Yeung <kcy@codesourcery.com>2019-06-25 11:41:29 +0000
committerAndrew Stubbs <ams@gcc.gnu.org>2019-06-25 11:41:29 +0000
commit76d463310787c8c7fd0c55cf88031b240311ab68 (patch)
treeea65a788c13aa021cc2d12ac76da8ce9baa14334 /libgcc/configure
parent4c3d876014207c013566132a93cb9d29f0c96a7b (diff)
downloadgcc-76d463310787c8c7fd0c55cf88031b240311ab68.zip
gcc-76d463310787c8c7fd0c55cf88031b240311ab68.tar.gz
gcc-76d463310787c8c7fd0c55cf88031b240311ab68.tar.bz2
Create GCN-specific gthreads
2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com> Andrew Stubbs <ams@codesourcery.com> gcc/ * config.gcc (thread_file): Set to gcn for AMD GCN. * config/gcn/gcn.c (gcn_emutls_var_init): New function. (TARGET_EMUTLS_VAR_INIT): New hook. config/ * gthr.m4 (GCC_AC_THREAD_HEADER): Add case for gcn. libgcc/ * configure: Regenerate. * config/gcn/gthr-gcn.h: New. Co-Authored-By: Andrew Stubbs <ams@codesourcery.com> From-SVN: r272647
Diffstat (limited to 'libgcc/configure')
-rw-r--r--libgcc/configure1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgcc/configure b/libgcc/configure
index b2914de..af910b6 100644
--- a/libgcc/configure
+++ b/libgcc/configure
@@ -5542,6 +5542,7 @@ tm_file="${tm_file_}"
case $target_thread_file in
aix) thread_header=config/rs6000/gthr-aix.h ;;
dce) thread_header=config/pa/gthr-dce.h ;;
+ gcn) thread_header=config/gcn/gthr-gcn.h ;;
lynx) thread_header=config/gthr-lynx.h ;;
mipssde) thread_header=config/mips/gthr-mipssde.h ;;
posix) thread_header=gthr-posix.h ;;