mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-30 17:41:16 +03:00
* sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Define this
as a macro, not an extern inline function. * hurd/Versions (GLIBC_2.2.5): New set, define __hurd_fail here. * Versions.def (libc): Add GLIBC_2.2.5 set. * hurd/hurd.h (_HURD_H_EXTERN_INLINE): New macro. (__hurd_fail): Use that instead of _EXTERN_INLINE in decl. 2001-08-20 Roland McGrath <roland@frob.com> * hurd/hurdlookup.c (__hurd_file_name_lookup): Fail with ENOENT for "". (__hurd_file_name_split, __hurd_directory_name_split): Likewise.
This commit is contained in:
15
ChangeLog
15
ChangeLog
@@ -1,3 +1,18 @@
|
|||||||
|
2001-08-21 Roland McGrath <roland@frob.com>
|
||||||
|
|
||||||
|
* sysdeps/mach/i386/machine-sp.h (__thread_stack_pointer): Define this
|
||||||
|
as a macro, not an extern inline function.
|
||||||
|
|
||||||
|
* hurd/Versions (GLIBC_2.2.5): New set, define __hurd_fail here.
|
||||||
|
* Versions.def (libc): Add GLIBC_2.2.5 set.
|
||||||
|
* hurd/hurd.h (_HURD_H_EXTERN_INLINE): New macro.
|
||||||
|
(__hurd_fail): Use that instead of _EXTERN_INLINE in decl.
|
||||||
|
|
||||||
|
2001-08-20 Roland McGrath <roland@frob.com>
|
||||||
|
|
||||||
|
* hurd/hurdlookup.c (__hurd_file_name_lookup): Fail with ENOENT for "".
|
||||||
|
(__hurd_file_name_split, __hurd_directory_name_split): Likewise.
|
||||||
|
|
||||||
2001-08-21 Ulrich Drepper <drepper@redhat.com>
|
2001-08-21 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* string/bits/string2.h: Remove strnlen optimization here.
|
* string/bits/string2.h: Remove strnlen optimization here.
|
||||||
|
@@ -22,17 +22,10 @@
|
|||||||
|
|
||||||
/* Return the current stack pointer. */
|
/* Return the current stack pointer. */
|
||||||
|
|
||||||
#ifndef _EXTERN_INLINE
|
#define __thread_stack_pointer() ({ \
|
||||||
#define _EXTERN_INLINE extern __inline
|
void *__sp__; \
|
||||||
#endif
|
__asm__ ("movl %%esp, %0" : "=r" (__sp__)); \
|
||||||
|
__sp__; \
|
||||||
extern void *__thread_stack_pointer (void);
|
})
|
||||||
_EXTERN_INLINE void *
|
|
||||||
__thread_stack_pointer (void)
|
|
||||||
{
|
|
||||||
void *__sp__;
|
|
||||||
__asm__ ("movl %%esp, %0" : "=r" (__sp__));
|
|
||||||
return __sp__;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif /* machine-sp.h */
|
#endif /* machine-sp.h */
|
||||||
|
Reference in New Issue
Block a user