diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2019-06-07 20:55:43 +0300 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2019-06-07 20:55:43 +0300 |
commit | 007bc1923c505f18dce5949b57a849640f25b15c (patch) | |
tree | 27afc64d906f9744f8dd1410b2c004f285576a32 /newlib/configure.host | |
parent | 4feb21d705f09263cd867f4787a0d24360810577 (diff) |
Add gfortran support for AMD GCN
From: Kwok Cheung Yeung <kcy@codesourcery.com>
This patch adds enough support for constructors/destructors and OS functions
to be able to link and run gfortran programs on AMD GCN.
There's no actual ability to do I/O operations on this targets, besides
"write" to stdout and stderr, so most of the functions are just stubs.
Diffstat (limited to 'newlib/configure.host')
-rw-r--r-- | newlib/configure.host | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/configure.host b/newlib/configure.host index fa805d61a..87bf78a3a 100644 --- a/newlib/configure.host +++ b/newlib/configure.host @@ -121,6 +121,7 @@ case "${host_cpu}" in amdgcn*) newlib_cflags="${newlib_cflags} -D__DYNAMIC_REENT__" machine_dir=amdgcn + libc_cv_initfinit_array=yes ;; arc*) machine_dir=arc |