From 007bc1923c505f18dce5949b57a849640f25b15c Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Fri, 7 Jun 2019 13:55:43 -0400 Subject: Add gfortran support for AMD GCN From: Kwok Cheung Yeung 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. --- newlib/configure.host | 1 + 1 file changed, 1 insertion(+) (limited to 'newlib/configure.host') 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 -- cgit v1.2.3