about summary refs log tree commit diff
path: root/linuxthreads/sysdeps
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2004-04-11 06:13:09 +0000
committerAndreas Jaeger <aj@suse.de>2004-04-11 06:13:09 +0000
commit21496a85f9785431c8dac055a1102e6c339146a2 (patch)
treeae73c3693847661c8d6950aaac41d8c036296d4d /linuxthreads/sysdeps
parent7906dd56260fd980f50bb8a64e877fcf75a72cde (diff)
downloadglibc-21496a85f9785431c8dac055a1102e6c339146a2.tar.gz
glibc-21496a85f9785431c8dac055a1102e6c339146a2.tar.xz
glibc-21496a85f9785431c8dac055a1102e6c339146a2.zip
* sysdeps/x86_64/pt-machine.h: Add used attribute to stack_pointer
to avoid warnings with GCC 3.5.
2004-04-10  Andreas Jaeger  <aj@suse.de>

	* sysdeps/x86_64/pt-machine.h: Add used attribute to stack_pointer
	to avoid warnings with GCC 3.5.
Diffstat (limited to 'linuxthreads/sysdeps')
-rw-r--r--linuxthreads/sysdeps/x86_64/pt-machine.h2
1 files changed, 1 insertions, 1 deletions
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.  */