about summary refs log tree commit diff
path: root/linuxthreads/sysdeps/i386/i686/pt-machine.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-02-26 00:01:15 +0000
committerRoland McGrath <roland@gnu.org>2003-02-26 00:01:15 +0000
commit4e5b051fad8e6707736d3ddc4819ab797d23cd91 (patch)
tree62562086317b2efeee225689d548ef0990381cf3 /linuxthreads/sysdeps/i386/i686/pt-machine.h
parent1d02f71fe4046c1cd17ff6b6687a89932797cb3b (diff)
downloadglibc-4e5b051fad8e6707736d3ddc4819ab797d23cd91.tar.gz
glibc-4e5b051fad8e6707736d3ddc4819ab797d23cd91.tar.xz
glibc-4e5b051fad8e6707736d3ddc4819ab797d23cd91.zip
Revert unintentional commits.
Diffstat (limited to 'linuxthreads/sysdeps/i386/i686/pt-machine.h')
-rw-r--r--linuxthreads/sysdeps/i386/i686/pt-machine.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/linuxthreads/sysdeps/i386/i686/pt-machine.h b/linuxthreads/sysdeps/i386/i686/pt-machine.h
index 2368c29098..3c28118f2e 100644
--- a/linuxthreads/sysdeps/i386/i686/pt-machine.h
+++ b/linuxthreads/sysdeps/i386/i686/pt-machine.h
@@ -33,8 +33,7 @@ extern int __compare_and_swap (long int *p, long int oldval, long int newval);
 
 /* Get some notion of the current stack.  Need not be exactly the top
    of the stack, just something somewhere in the current frame.  */
-#define CURRENT_STACK_FRAME  __stack_pointer_register__
-register char *__stack_pointer_register__ __asm__ ("%esp");
+#define CURRENT_STACK_FRAME  __builtin_frame_address (0)
 
 
 /* Spinlock implementation; required.  */