mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
* 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.
This commit is contained in:
parent
7906dd5626
commit
21496a85f9
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
||||
2004-04-09 Steven Munroe <sjmunroe@us.ibm.com>
|
||||
|
||||
* sysdeps/powerpc/tls.h (TLS_INIT_TP): Eliminate lvalue cast from
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user