mbox series

[uclibc-ng-devel,0/4] Use varargs for common syscall() implementation

Message ID 20171214062909.8602-1-shorne@gmail.com
Headers show
Series Use varargs for common syscall() implementation | expand

Message

Stafford Horne Dec. 14, 2017, 6:29 a.m. UTC
Hello,

This is a followup to the ("f764bcffe" or1k: syscall: Pass arguments on the
stack) patch which fixes the issue where the definition of syscall() in unistd.h
and the common implementation in uclibc-ng don't match.

This series allows the implementation to match the definition and then goes on
to remove generic implementations used by or1k, nds32 and arc.

-Stafford

Stafford Horne (4):
  syscall: Make common implementation match unistd.h
  or1k: Use new common syscall() implementation
  nds32: Use new common syscall() implementation
  arc: Use new common syscall() implementation

 libc/sysdeps/linux/arc/Makefile.arch   |  2 +-
 libc/sysdeps/linux/arc/syscall.c       | 17 -----------------
 libc/sysdeps/linux/common/syscall.c    | 18 +++++++++++++++++-
 libc/sysdeps/linux/nds32/Makefile.arch |  4 ++--
 libc/sysdeps/linux/nds32/syscall.c     | 28 ----------------------------
 libc/sysdeps/linux/or1k/Makefile.arch  |  2 +-
 libc/sysdeps/linux/or1k/syscall.c      | 32 --------------------------------
 7 files changed, 21 insertions(+), 82 deletions(-)
 delete mode 100644 libc/sysdeps/linux/arc/syscall.c
 delete mode 100644 libc/sysdeps/linux/nds32/syscall.c
 delete mode 100644 libc/sysdeps/linux/or1k/syscall.c

Comments

Waldemar Brodkorb Jan. 15, 2018, 8:09 p.m. UTC | #1
Hi Stafford,
Stafford Horne wrote,

> Hello,
> 
> This is a followup to the ("f764bcffe" or1k: syscall: Pass arguments on the
> stack) patch which fixes the issue where the definition of syscall() in unistd.h
> and the common implementation in uclibc-ng don't match.
> 
> This series allows the implementation to match the definition and then goes on
> to remove generic implementations used by or1k, nds32 and arc.

Finally applied and pushed the or1k and nds32 patches. Arc patches
are dropped as suggested by Vineet. The nds32 patchset was fixed up
a little before pushing. No regressions found by running the
uClibc-ng testsuite.

Thanks a lot,
 Waldemar