Re: [PATCH] Add amdgcn support for libgfortran.
Jeff Johnston <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <CAOox84s1vUkp1BWQeetVMAsxiHQWVsG2CT6FM1Q2ojqQv5qV-Q@mail.gmail.com> |
Patch applied. -- Jeff J. On Fri, Jun 7, 2019 at 10:55 AM Andrew Stubbs <[email protected]> wrote: > > From: Kwok Cheung Yeung <[email protected]> > > 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 > >