This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH] Add amdgcn support for libgfortran.
- From: Jeff Johnston <jjohnstn at redhat dot com>
- To: Andrew Stubbs <ams at codesourcery dot com>
- Cc: Newlib <newlib at sourceware dot org>
- Date: Fri, 7 Jun 2019 13:56:48 -0400
- Subject: Re: [PATCH] Add amdgcn support for libgfortran.
- References: <20190607145501.23295-1-ams@codesourcery.com>
Patch applied.
-- Jeff J.
On Fri, Jun 7, 2019 at 10:55 AM Andrew Stubbs <ams@codesourcery.com> wrote:
>
> 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.
> ---
> newlib/configure.host | 1 +
> newlib/libc/sys/amdgcn/Makefile.am | 3 +-
> newlib/libc/sys/amdgcn/Makefile.in | 52 ++++++++++++++++++++++++++++--
> newlib/libc/sys/amdgcn/fcntl.c | 24 ++++++++++++++
> newlib/libc/sys/amdgcn/getpid.c | 20 ++++++++++++
> newlib/libc/sys/amdgcn/kill.c | 23 +++++++++++++
> newlib/libc/sys/amdgcn/open.c | 25 ++++++++++++++
> newlib/libc/sys/amdgcn/raise.c | 20 ++++++++++++
> newlib/libc/sys/amdgcn/stat.c | 24 ++++++++++++++
> newlib/libc/sys/amdgcn/unlink.c | 23 +++++++++++++
> 10 files changed, 212 insertions(+), 3 deletions(-)
> create mode 100644 newlib/libc/sys/amdgcn/fcntl.c
> create mode 100644 newlib/libc/sys/amdgcn/getpid.c
> create mode 100644 newlib/libc/sys/amdgcn/kill.c
> create mode 100644 newlib/libc/sys/amdgcn/open.c
> create mode 100644 newlib/libc/sys/amdgcn/raise.c
> create mode 100644 newlib/libc/sys/amdgcn/stat.c
> create mode 100644 newlib/libc/sys/amdgcn/unlink.c
>
>