From 76d463310787c8c7fd0c55cf88031b240311ab68 Mon Sep 17 00:00:00 2001 From: Kwok Cheung Yeung Date: Tue, 25 Jun 2019 11:41:29 +0000 Subject: Create GCN-specific gthreads 2019-06-25 Kwok Cheung Yeung Andrew Stubbs 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 From-SVN: r272647 --- libgcc/configure | 1 + 1 file changed, 1 insertion(+) (limited to 'libgcc/configure') 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 ;; -- cgit v1.1