mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
* sysdeps/x86_64/pt-machine.h (INIT_THREAD_SELF): Avoid warning.
2002-01-14 Andreas Jaeger <aj@suse.de> * sysdeps/x86_64/pt-machine.h (INIT_THREAD_SELF): Avoid warning.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2002-01-14 Andreas Jaeger <aj@suse.de>
|
||||||
|
|
||||||
|
* sysdeps/x86_64/pt-machine.h (INIT_THREAD_SELF): Avoid warning.
|
||||||
|
|
||||||
2002-01-11 Andreas Schwab <schwab@suse.de>
|
2002-01-11 Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
* signals.c (sighandler): Initialize all elements to SIG_ERR.
|
* signals.c (sighandler): Initialize all elements to SIG_ERR.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/* Machine-dependent pthreads configuration and inline functions.
|
/* Machine-dependent pthreads configuration and inline functions.
|
||||||
x86-64 version.
|
x86-64 version.
|
||||||
Copyright (C) 2001 Free Software Foundation, Inc.
|
Copyright (C) 2001, 2002 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -87,7 +87,7 @@ extern int __arch_prctl (int __code, unsigned long __addr);
|
|||||||
/* Initialize the thread-unique value. */
|
/* Initialize the thread-unique value. */
|
||||||
#define INIT_THREAD_SELF(descr, nr) \
|
#define INIT_THREAD_SELF(descr, nr) \
|
||||||
{ \
|
{ \
|
||||||
if (__arch_prctl (ARCH_SET_GS, descr) != 0) \
|
if (__arch_prctl (ARCH_SET_GS, (unsigned long)descr) != 0) \
|
||||||
abort (); \
|
abort (); \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user