diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-05-10 14:51:22 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2012-05-10 15:57:24 -0700 |
commit | 5d5722e8ac22253bdc819da2d676d9900da0c533 (patch) | |
tree | 5da1821658c8038709f264e4d6b7e096e80bb7eb /sysdeps/mach/hurd/i386 | |
parent | be971a2b1c7828d94c41edd5cd22c1d9dcef1b6e (diff) | |
download | glibc-5d5722e8ac22253bdc819da2d676d9900da0c533.tar.gz glibc-5d5722e8ac22253bdc819da2d676d9900da0c533.tar.xz glibc-5d5722e8ac22253bdc819da2d676d9900da0c533.zip |
Hurd: Fix value of __libc_stack_end
Diffstat (limited to 'sysdeps/mach/hurd/i386')
-rw-r--r-- | sysdeps/mach/hurd/i386/init-first.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/i386/init-first.c b/sysdeps/mach/hurd/i386/init-first.c index f4bf624680..fa4e3d9f6e 100644 --- a/sysdeps/mach/hurd/i386/init-first.c +++ b/sysdeps/mach/hurd/i386/init-first.c @@ -214,6 +214,8 @@ init (int *data) void switch_stacks (void); + __libc_stack_end = newsp; + /* Copy per-thread variables from that temporary area onto the new cthread stack. */ memcpy (__hurd_threadvar_location_from_sp (0, newsp), |