Re: [PATCH] Add stub for getentropy
Corinna Vinschen <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
On Aug 8 18:09, Torbjörn SVENSSON wrote: > Example test case that fails with undefined reference to getentropy: > [...] > Contributed by STMicroelectronics > > Signed-off-by: Torbjörn SVENSSON <[email protected]> > --- > libgloss/Makefile.in | 5 + > libgloss/libnosys/Makefile.inc | 1 + > libgloss/libnosys/getentropy.c | 22 ++++ > newlib/Makefile.in | 147 +++++++++++++++++---------- > newlib/libc/include/_syslist.h | 1 + > newlib/libc/include/reent.h | 2 + > newlib/libc/reent/Makefile.inc | 2 + > newlib/libc/reent/getentropyr.c | 53 ++++++++++ > newlib/libc/syscalls/Makefile.inc | 1 + > newlib/libc/syscalls/sysgetentropy.c | 12 +++ > 10 files changed, 192 insertions(+), 54 deletions(-) > create mode 100644 libgloss/libnosys/getentropy.c > create mode 100644 newlib/libc/reent/getentropyr.c > create mode 100644 newlib/libc/syscalls/sysgetentropy.c Pushed. Thanks, Corinna