about summary refs log tree commit diff
path: root/stdlib/tst-setcontext.c
Commit message (Collapse)AuthorAgeFilesLines
* * stdlib/tst-setcontext.c: Set back_in_main before exit ifUlrich Drepper2008-06-251-1/+4
| | | | getcontext returns ENOSYS.
* * stdlib/tst-setcontext.c: Include unistd.h.Jakub Jelinek2008-04-301-1/+2
| | | | | | 2008-04-30 Jakub Jelinek <jakub@redhat.com> * stdlib/tst-setcontext.c: Include unistd.h.
* * stdlib/tst-setcontext.c: Catch the case where the links getsUlrich Drepper2007-12-031-0/+18
| | | | messed up and we do not reach main again.
* [BZ #2414]Roland McGrath2006-03-031-3/+3
| | | | | | 2006-03-03 Roland McGrath <roland@redhat.com> [BZ #2414] * stdlib/tst-setcontext.c (f1): Take arguments of type int.
* (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.Ulrich Drepper2004-12-221-3/+3
|
* 2.5-18.1Jakub Jelinek2007-07-121-3/+3
|
* Enlarge st1 and st2 arrays.Ulrich Drepper2004-12-171-11/+11
|
* [BZ #357]Ulrich Drepper2004-09-021-0/+51
| | | | | | | | | | | | | | Update. 2004-09-02 Steven Munroe <sjmunroe@us.ibm.com> [BZ #357] * stdlib/tst-setcontext.c (test_stack): Added test for stack clobber. (main): Call test_stack. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S (__getcontext): Push stack frame then save parms in local frame. Improve instruction scheduling. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S (__swapcontext): Likewise.
* * stdlib/tst-setcontext.c (main): If makecontext does nothing,Roland McGrath2002-08-311-2/+13
| | | | presume it's the stub and bail without error.
* Update to LGPL v2.1.Andreas Jaeger2001-07-061-8/+8
| | | | | | | | | | | | | | 2001-07-06 Paul Eggert <eggert@twinsun.com> * manual/argp.texi: Remove ignored LGPL copyright notice; it's not appropriate for documentation anyway. * manual/libc-texinfo.sh: "Library General Public License" -> "Lesser General Public License". 2001-07-06 Andreas Jaeger <aj@suse.de> * All files under GPL/LGPL version 2: Place under LGPL version 2.1.
* Update.Ulrich Drepper2001-04-071-0/+16
| | | | * stdlib/tst-setcontext.c (main): Add a test for setcontext.
* Update.Ulrich Drepper2001-04-061-1/+12
| | | | | | | | | | 2001-04-06 David Mosberger <davidm@hpl.hp.com> * stdlib/tst-setcontext.c: Move st2[] to global scope. (f2): Verify that stack pointer is inside st2[]. * sysdeps/unix/sysv/linux/ia64/getcontext.S: It helps to save r12. * sysdeps/unix/sysv/linux/ia64/setcontext.S: It helps to restore r12.
* Update.Ulrich Drepper2001-03-161-0/+113
2001-03-16 David Mosberger <davidm@hpl.hp.com> * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext): Drop hack that was needed for 2.1.1 kernel headers. * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file. * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it overlay with kernel's "struct sigcontext". * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add sys/rse.h for "misc" subdir. (sysdep_routines): Add __start_context for "stdlib" subdir. * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on kernel file of the same name). * stdlib/Makefile (tests): Add tst-setcontext. * stdlib/tst-setcontext.c: New file (based on a sample program by Uli Drepper). * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file. * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file. * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file. * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file. * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u instead of shift & and.