diff options
author | Kwok Cheung Yeung <kcy@codesourcery.com> | 2019-06-25 11:41:29 +0000 |
---|---|---|
committer | Andrew Stubbs <ams@gcc.gnu.org> | 2019-06-25 11:41:29 +0000 |
commit | 76d463310787c8c7fd0c55cf88031b240311ab68 (patch) | |
tree | ea65a788c13aa021cc2d12ac76da8ce9baa14334 /gcc/config.gcc | |
parent | 4c3d876014207c013566132a93cb9d29f0c96a7b (diff) | |
download | gcc-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 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index 8488ab6..bfe27ad 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -1462,6 +1462,7 @@ amdgcn-*-amdhsa) fi # Force .init_array support. gcc_cv_initfini_array=yes + thread_file=gcn ;; moxie-*-elf) gas=yes |