[git commit] libc: add {get, set, swap, make}context user context manipulation functions

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Thu Jan 10 09:56:19 UTC 2013


commit: http://git.uclibc.org/uClibc/commit/?id=a8dc90eaaa5e6474beac828558d969b1aafee4af
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

Add the obsolescent SUSv3 family of user context manipulating functions
for arm, i386, mips, x86_64.

Signed-off-by: Timon ter Braak <timonterbraak at gmail.com>
Signed-off-by: Florian Fainelli <florian at openwrt.org>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
Signed-off-by: Natanael Copa <ncopa at alpinelinux.org>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 Rules.mak                                          |    2 +
 extra/Configs/Config.arm                           |    1 +
 extra/Configs/Config.i386                          |    1 +
 extra/Configs/Config.in                            |   16 ++
 extra/Configs/Config.mips                          |    1 +
 extra/Configs/Config.x86_64                        |    1 +
 include/ucontext.h                                 |   32 +++-
 libc/.gitignore                                    |    1 +
 libc/sysdeps/linux/Makefile.commonarch             |   20 ++-
 libc/sysdeps/linux/arm/Makefile.arch               |    5 +
 libc/sysdeps/linux/arm/getcontext.S                |   80 ++++++++
 libc/sysdeps/linux/arm/makecontext.c               |   73 +++++++
 libc/sysdeps/linux/arm/setcontext.S                |   76 +++++++
 libc/sysdeps/linux/arm/swapcontext.S               |   63 ++++++
 libc/sysdeps/linux/arm/ucontext_i.sym              |   30 +++
 libc/sysdeps/linux/i386/Makefile.arch              |    4 +
 libc/sysdeps/linux/i386/getcontext.S               |   84 ++++++++
 libc/sysdeps/linux/i386/makecontext.S              |  123 ++++++++++++
 libc/sysdeps/linux/i386/setcontext.S               |   96 +++++++++
 libc/sysdeps/linux/i386/swapcontext.S              |  110 ++++++++++
 libc/sysdeps/linux/i386/ucontext_i.sym             |   30 +++
 libc/sysdeps/linux/mips/Makefile.arch              |    4 +
 libc/sysdeps/linux/mips/getcontext.S               |  148 ++++++++++++++
 libc/sysdeps/linux/mips/kernel_rt_sigframe.h       |   10 +
 libc/sysdeps/linux/mips/makecontext.S              |  188 +++++++++++++++++
 libc/sysdeps/linux/mips/setcontext.S               |  191 ++++++++++++++++++
 libc/sysdeps/linux/mips/swapcontext.S              |  211 ++++++++++++++++++++
 libc/sysdeps/linux/mips/ucontext_i.sym             |   52 +++++
 libc/sysdeps/linux/x86_64/Makefile.arch            |    5 +
 libc/sysdeps/linux/x86_64/__start_context.S        |   49 +++++
 libc/sysdeps/linux/x86_64/getcontext.S             |   88 ++++++++
 libc/sysdeps/linux/x86_64/makecontext.c            |  121 +++++++++++
 libc/sysdeps/linux/x86_64/setcontext.S             |  103 ++++++++++
 libc/sysdeps/linux/x86_64/swapcontext.S            |  121 +++++++++++
 libc/sysdeps/linux/x86_64/ucontext_i.sym           |   37 ++++
 libpthread/nptl/sysdeps/Makefile.commonarch        |    3 +-
 .../sysdeps/unix/sysv/linux/Makefile.commonarch    |    2 -
 37 files changed, 2174 insertions(+), 8 deletions(-)

Patch is too large, so refusing to show it


More information about the uClibc-cvs mailing list