diff options
Diffstat (limited to 'sysdeps/generic/machine-sp.h')
-rw-r--r-- | sysdeps/generic/machine-sp.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/generic/machine-sp.h b/sysdeps/generic/machine-sp.h index 4fe208cc91..e76d382fc4 100644 --- a/sysdeps/generic/machine-sp.h +++ b/sysdeps/generic/machine-sp.h @@ -1,5 +1,5 @@ /* Machine-specific function to return the stack pointer. Stub version. - Copyright (C) 1994-2013 Free Software Foundation, Inc. + Copyright (C) 1994-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -25,11 +25,15 @@ #define _EXTERN_INLINE __extern_inline #endif +void * __thread_stack_pointer (void); + +#ifdef __USE_EXTERN_INLINES _EXTERN_INLINE void * __thread_stack_pointer (void) { register void *__sp__ ("{STACK-POINTER}"); return __sp__; } +#endif #endif /* machine-sp.h */ |