[PATCH] pru: Do not define MISSING_SYSCALL_NAMES for pru

Dimitar Dimitrov <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
The PRU newlib port is supposed to implement case #2 as described in
newlib/libc/include/reent.h .  Thus drop the defining of
MISSING_SYSCALL_NAMES.

Before:
  $ pru-nm libnosys.a | grep getentropy
  00000000 T getentropy

With this patch:
  $ pru-nm libnosys.a | grep getentropy
  00000000 T _getentropy

Ok for master?

ChangeLog:

	* libgloss/configure: Regenerate.
	* libgloss/libnosys/acinclude.m4: Do not define
	MISSING_SYSCALL_NAMES for pru.

Signed-off-by: Dimitar Dimitrov <[email protected]>
---
 libgloss/configure             | 1 +
 libgloss/libnosys/acinclude.m4 | 1 +
 2 files changed, 2 insertions(+)

diff --git a/libgloss/configure b/libgloss/configure
index a49f58638..562f1ffb8 100755
--- a/libgloss/configure
+++ b/libgloss/configure
@@ -5349,6 +5349,7 @@ case "${target}" in
   mn10?00-*-*) ;;
   riscv*-*-*) ;;
   powerpcle-*-pe) ;;
+  pru-*-*) ;;
   sh*-*-*) ;;
   sparc-sun-sunos*) ;;
   sparc64-*-*) ;;
diff --git a/libgloss/libnosys/acinclude.m4 b/libgloss/libnosys/acinclude.m4
index ba293f08a..df7433e70 100644
--- a/libgloss/libnosys/acinclude.m4
+++ b/libgloss/libnosys/acinclude.m4
@@ -16,6 +16,7 @@ case "${target}" in
   mn10?00-*-*) ;;
   riscv*-*-*) ;;
   powerpcle-*-pe) ;;
+  pru-*-*) ;;
   sh*-*-*) ;;
   sparc-sun-sunos*) ;;
   sparc64-*-*) ;;
-- 
2.45.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.