mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-27 13:54:19 +08:00
76d4633107
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
29 lines
1.1 KiB
Plaintext
29 lines
1.1 KiB
Plaintext
dnl Copyright (C) 2012 Free Software Foundation, Inc.
|
|
dnl This file is free software, distributed under the terms of the GNU
|
|
dnl General Public License. As a special exception to the GNU General
|
|
dnl Public License, this file may be distributed as part of a program
|
|
dnl that contains a configuration script generated by Autoconf, under
|
|
dnl the same distribution terms as the rest of that program.
|
|
|
|
dnl Define header location by thread model
|
|
|
|
dnl usage: GCC_AC_THREAD_HEADER([thread_model])
|
|
AC_DEFUN([GCC_AC_THREAD_HEADER],
|
|
[
|
|
case $1 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 ;;
|
|
rtems) thread_header=config/gthr-rtems.h ;;
|
|
single) thread_header=gthr-single.h ;;
|
|
tpf) thread_header=config/s390/gthr-tpf.h ;;
|
|
vxworks) thread_header=config/gthr-vxworks.h ;;
|
|
win32) thread_header=config/i386/gthr-win32.h ;;
|
|
esac
|
|
AC_SUBST(thread_header)
|
|
])
|
|
|