From 21496a85f9785431c8dac055a1102e6c339146a2 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sun, 11 Apr 2004 06:13:09 +0000 Subject: * sysdeps/x86_64/pt-machine.h: Add used attribute to stack_pointer to avoid warnings with GCC 3.5. 2004-04-10 Andreas Jaeger * sysdeps/x86_64/pt-machine.h: Add used attribute to stack_pointer to avoid warnings with GCC 3.5. --- linuxthreads/sysdeps/x86_64/pt-machine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linuxthreads/sysdeps') diff --git a/linuxthreads/sysdeps/x86_64/pt-machine.h b/linuxthreads/sysdeps/x86_64/pt-machine.h index 68baac7d03..df187a7c03 100644 --- a/linuxthreads/sysdeps/x86_64/pt-machine.h +++ b/linuxthreads/sysdeps/x86_64/pt-machine.h @@ -37,7 +37,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 char * stack_pointer __asm__ ("%rsp"); +register char * stack_pointer __asm__ ("%rsp") __attribute_used__; /* Spinlock implementation; required. */ -- cgit v1.2.3