public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Corinna Vinschen <vinschen@redhat.com>
To: "Torbjörn SVENSSON" <torbjorn.svensson@foss.st.com>
Cc: newlib@sourceware.org
Subject: Re: [PATCH] Add stub for getentropy
Date: Wed, 9 Aug 2023 11:42:24 +0200	[thread overview]
Message-ID: <ZNNfgPy3hHiqS6GQ@calimero.vinschen.de> (raw)
In-Reply-To: <20230808160950.2918071-1-torbjorn.svensson@foss.st.com>

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 <torbjorn.svensson@foss.st.com>
> ---
>  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


      reply	other threads:[~2023-08-09  9:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-08 16:09 Torbjörn SVENSSON
2023-08-09  9:42 ` Corinna Vinschen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZNNfgPy3hHiqS6GQ@calimero.vinschen.de \
    --to=vinschen@redhat.com \
    --cc=newlib@sourceware.org \
    --cc=torbjorn.svensson@foss.st.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).