summary refs log tree commit diff
path: root/stdlib/tst-makecontext.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-04-10 05:59:13 +0000
committerUlrich Drepper <drepper@redhat.com>2008-04-10 05:59:13 +0000
commit3b32d8a25908459411ee77761ccf57ac3f8b4343 (patch)
treef9f0fff8ed8892f4baa2d663a011cc4edbb544f5 /stdlib/tst-makecontext.c
parent9fb11d4c6e3352db2ab019133d5de35da057d2f9 (diff)
downloadglibc-3b32d8a25908459411ee77761ccf57ac3f8b4343.tar.gz
glibc-3b32d8a25908459411ee77761ccf57ac3f8b4343.tar.xz
glibc-3b32d8a25908459411ee77761ccf57ac3f8b4343.zip
* sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: New file.
	* sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: New file.
	* sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: New file.
	* sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: New file.
	* sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: New file.
	* sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: New file.
	* sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: New file.
Diffstat (limited to 'stdlib/tst-makecontext.c')
-rw-r--r--stdlib/tst-makecontext.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/stdlib/tst-makecontext.c b/stdlib/tst-makecontext.c
index eae5fc1c62..5fe66f6fc1 100644
--- a/stdlib/tst-makecontext.c
+++ b/stdlib/tst-makecontext.c
@@ -25,6 +25,8 @@ ucontext_t ucp;
 char st1[8192];
 __thread int thr;
 
+int somevar = -76;
+
 void
 cf (int i)
 {
@@ -54,7 +56,7 @@ do_test (void)
   ucp.uc_link = NULL;
   ucp.uc_stack.ss_sp = st1;
   ucp.uc_stack.ss_size = sizeof st1;
-  makecontext (&ucp, (void (*) (void)) cf, 1, -78);
+  makecontext (&ucp, (void (*) (void)) cf, 1, somevar - 2);
   if (setcontext (&ucp) != 0)
     {
       puts ("setcontext failed");