public inbox for [email protected]
 help / color / mirror / Atom feed
From: "Paul E. McKenney" <[email protected]>
To: [email protected]
Cc: [email protected], [email protected],
	[email protected], [email protected], [email protected]
Subject: [GIT PULL] nolibc changes for v5.19
Date: Fri, 20 May 2022 11:24:28 -0700	[thread overview]
Message-ID: <20220520182428.GA3791250@paulmck-ThinkPad-P17-Gen-1> (raw)

Hello, Linus,

Once the merge window opens, please pull the latest nolibc changes from:

  git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git tags/nolibc.2022.05.20a
  # HEAD 11dbdaeff41d9ec9376476889651fac4838bff99 tools/nolibc/string: Implement `strdup()` and `strndup()`

----------------------------------------------------------------
Pull request for nolibc library for v5.19

This pull request adds a number of library functions and splits this
library into multiple files.

----------------------------------------------------------------
Ammar Faizi (9):
      tools/nolibc: x86-64: Update System V ABI document link
      tools/nolibc: Replace `asm` with `__asm__`
      tools/nolibc: Remove .global _start from the entry point code
      tools/nolibc: i386: Implement syscall with 6 arguments
      tools/nolibc/sys: Implement `mmap()` and `munmap()`
      tools/nolibc/types: Implement `offsetof()` and `container_of()` macro
      tools/nolibc/stdlib: Implement `malloc()`, `calloc()`, `realloc()` and `free()`
      tools/nolibc/string: Implement `strnlen()`
      tools/nolibc/string: Implement `strdup()` and `strndup()`

Willy Tarreau (52):
      tools/nolibc: use pselect6 on RISCV
      tools/nolibc: guard the main file against multiple inclusion
      tools/nolibc/std: move the standard type definitions to std.h
      tools/nolibc/types: split syscall-specific definitions into their own files
      tools/nolibc/arch: split arch-specific code into individual files
      tools/nolibc/sys: split the syscall definitions into their own file
      tools/nolibc/stdlib: extract the stdlib-specific functions to their own file
      tools/nolibc/string: split the string functions into string.h
      tools/nolibc/ctype: split the is* functions to ctype.h
      tools/nolibc/ctype: add the missing is* functions
      tools/nolibc/types: move the FD_* functions to macros in types.h
      tools/nolibc/types: make FD_SETSIZE configurable
      tools/nolibc/types: move makedev to types.h and make it a macro
      tools/nolibc/stdlib: move ltoa() to stdlib.h
      tools/nolibc/stdlib: replace the ltoa() function with more efficient ones
      tools/nolibc/stdlib: add i64toa() and u64toa()
      tools/nolibc/stdlib: add utoh() and u64toh()
      tools/nolibc/stdio: add a minimal set of stdio functions
      tools/nolibc/stdio: add stdin/stdout/stderr and fget*/fput* functions
      tools/nolibc/stdio: add fwrite() to stdio
      tools/nolibc/stdio: add a minimal [vf]printf() implementation
      tools/nolibc/types: define EXIT_SUCCESS and EXIT_FAILURE
      tools/nolibc/stdio: add perror() to report the errno value
      tools/nolibc/sys: make open() take a vararg on the 3rd argument
      tools/nolibc/stdlib: avoid a 64-bit shift in u64toh_r()
      tools/nolibc/stdlib: make raise() use the lower level syscalls only
      tools/nolibc/sys: make getpgrp(), getpid(), gettid() not set errno
      tools/nolibc/string: use unidirectional variants for memcpy()
      tools/nolibc/string: slightly simplify memmove()
      tools/nolibc/string: add strncpy() and strlcpy()
      tools/nolibc/string: add tiny versions of strncat() and strlcat()
      tools/nolibc: move exported functions to their own section
      tools/nolibc/arch: mark the _start symbol as weak
      tools/nolibc/types: define PATH_MAX and MAXPATHLEN
      tools/nolibc/string: export memset() and memmove()
      tools/nolibc/errno: extract errno.h from sys.h
      tools/nolibc/unistd: extract msleep(), sleep(), tcsetpgrp() to unistd.h
      tools/nolibc/unistd: add usleep()
      tools/nolibc/signal: move raise() to signal.h
      tools/nolibc/time: create time.h with time()
      tools/nolibc: also mention how to build by just setting the include path
      tools/nolibc/stdlib: implement abort()
      tools/nolibc/stdio: make printf(%s) accept NULL
      tools/nolibc/stdlib: add a simple getenv() implementation
      tools/nolibc/stdio: add support for '%p' to vfprintf()
      tools/nolibc/string: add strcmp() and strncmp()
      tools/nolibc/sys: add syscall definition for getppid()
      tools/nolibc/types: add poll() and waitpid() flag definitions
      tools/nolibc: add a makefile to install headers
      tools/nolibc: add the nolibc subdir to the common Makefile
      tools/nolibc/string: do not use __builtin_strlen() at -O0
      tools/nolibc/stdlib: only reference the external environ when inlined

 tools/Makefile                      |    4 +
 tools/include/nolibc/Makefile       |   42 +
 tools/include/nolibc/arch-aarch64.h |  199 +++
 tools/include/nolibc/arch-arm.h     |  204 +++
 tools/include/nolibc/arch-i386.h    |  219 +++
 tools/include/nolibc/arch-mips.h    |  215 +++
 tools/include/nolibc/arch-riscv.h   |  204 +++
 tools/include/nolibc/arch-x86_64.h  |  215 +++
 tools/include/nolibc/arch.h         |   32 +
 tools/include/nolibc/ctype.h        |   99 ++
 tools/include/nolibc/errno.h        |   27 +
 tools/include/nolibc/nolibc.h       | 2540 +----------------------------------
 tools/include/nolibc/signal.h       |   22 +
 tools/include/nolibc/std.h          |   49 +
 tools/include/nolibc/stdio.h        |  306 +++++
 tools/include/nolibc/stdlib.h       |  423 ++++++
 tools/include/nolibc/string.h       |  285 ++++
 tools/include/nolibc/sys.h          | 1247 +++++++++++++++++
 tools/include/nolibc/time.h         |   28 +
 tools/include/nolibc/types.h        |  205 +++
 tools/include/nolibc/unistd.h       |   54 +
 21 files changed, 4114 insertions(+), 2505 deletions(-)
 create mode 100644 tools/include/nolibc/Makefile
 create mode 100644 tools/include/nolibc/arch-aarch64.h
 create mode 100644 tools/include/nolibc/arch-arm.h
 create mode 100644 tools/include/nolibc/arch-i386.h
 create mode 100644 tools/include/nolibc/arch-mips.h
 create mode 100644 tools/include/nolibc/arch-riscv.h
 create mode 100644 tools/include/nolibc/arch-x86_64.h
 create mode 100644 tools/include/nolibc/arch.h
 create mode 100644 tools/include/nolibc/ctype.h
 create mode 100644 tools/include/nolibc/errno.h
 create mode 100644 tools/include/nolibc/signal.h
 create mode 100644 tools/include/nolibc/std.h
 create mode 100644 tools/include/nolibc/stdio.h
 create mode 100644 tools/include/nolibc/stdlib.h
 create mode 100644 tools/include/nolibc/string.h
 create mode 100644 tools/include/nolibc/sys.h
 create mode 100644 tools/include/nolibc/time.h
 create mode 100644 tools/include/nolibc/types.h
 create mode 100644 tools/include/nolibc/unistd.h


             reply	other threads:[~2022-05-20 18:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-20 18:24 Paul E. McKenney [this message]
2022-05-23 18:42 ` [GIT PULL] nolibc changes for v5.19 Linus Torvalds
2022-05-23 19:56   ` Willy Tarreau
2022-05-23 20:23     ` Willy Tarreau
2022-05-23 20:30       ` Linus Torvalds
2022-05-23 20:50         ` Willy Tarreau
2022-05-23 21:04           ` Willy Tarreau
2022-05-23 21:13             ` Linus Torvalds
2022-05-23 22:01               ` Willy Tarreau
2022-05-23 19:20 ` pr-tracker-bot

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=20220520182428.GA3791250@paulmck-ThinkPad-P17-Gen-1 \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    /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