aboutsummaryrefslogtreecommitdiff
path: root/stdlib/tst-setcontext.c
AgeCommit message (Collapse)Author
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert
2009-12-24Additional setcontext(), etc. conformance tests.Maciej W. Rozycki
2008-06-25* stdlib/tst-setcontext.c: Set back_in_main before exit ifUlrich Drepper
getcontext returns ENOSYS.
2008-04-30* stdlib/tst-setcontext.c: Include unistd.h.Jakub Jelinek
2008-04-30 Jakub Jelinek <jakub@redhat.com> * stdlib/tst-setcontext.c: Include unistd.h.
2007-12-03* stdlib/tst-setcontext.c: Catch the case where the links getsUlrich Drepper
messed up and we do not reach main again.
2006-03-03[BZ #2414]Roland McGrath
2006-03-03 Roland McGrath <roland@redhat.com> [BZ #2414] * stdlib/tst-setcontext.c (f1): Take arguments of type int.
2004-12-22(CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.Ulrich Drepper
2007-07-122.5-18.1Jakub Jelinek
2004-12-17Enlarge st1 and st2 arrays.Ulrich Drepper
2004-09-02[BZ #357]Ulrich Drepper
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.
2002-08-31* stdlib/tst-setcontext.c (main): If makecontext does nothing,Roland McGrath
presume it's the stub and bail without error.
2001-07-06Update to LGPL v2.1.Andreas Jaeger
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.
2001-04-07Update.Ulrich Drepper
* stdlib/tst-setcontext.c (main): Add a test for setcontext.
2001-04-06Update.Ulrich Drepper
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.
2001-03-16Update.Ulrich Drepper
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.