From 1d02f71fe4046c1cd17ff6b6687a89932797cb3b Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 25 Feb 2003 23:45:16 +0000 Subject: linuxthreads/ChangeLog 2003-02-25 Roland McGrath * sysdeps/powerpc/powerpc64/dl-machine.h: Support new TLS relocs. * sysdeps/powerpc/powerpc64/dl-tls.h: New file. --- linuxthreads/sysdeps/i386/i686/pt-machine.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'linuxthreads/sysdeps/i386/i686') diff --git a/linuxthreads/sysdeps/i386/i686/pt-machine.h b/linuxthreads/sysdeps/i386/i686/pt-machine.h index 3c28118f2e..2368c29098 100644 --- a/linuxthreads/sysdeps/i386/i686/pt-machine.h +++ b/linuxthreads/sysdeps/i386/i686/pt-machine.h @@ -33,7 +33,8 @@ 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 __builtin_frame_address (0) +#define CURRENT_STACK_FRAME __stack_pointer_register__ +register char *__stack_pointer_register__ __asm__ ("%esp"); /* Spinlock implementation; required. */ -- cgit v1.2.1