[PATCH] Add amdgcn support for libgfortran.
Jeff Johnston
jjohnstn@redhat.com
Fri Jun 7 17:57:00 GMT 2019
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
>
>
More information about the Newlib
mailing list