2003-09-17  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/i386/Makefile (stack-align-test-flags): Add
	-malign-double -mpreferred-stack-boundary=4.
This commit is contained in:
Ulrich Drepper 2003-09-17 09:39:59 +00:00
parent 3402852c2c
commit 65af7e6142
9 changed files with 29 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2003-09-17 Jakub Jelinek <jakub@redhat.com>
* sysdeps/i386/Makefile (stack-align-test-flags): Add
-malign-double -mpreferred-stack-boundary=4.
2003-09-17 Ulrich Drepper <drepper@redhat.com>
* sysdeps/posix/utimes.c (__utimes): Truncate instead of round.

View File

@ -1,3 +1,12 @@
2003-09-17 Jakub Jelinek <jakub@redhat.com>
* descr.h (manager_thread): Rename to...
(__pthread_manager_threadp): ... this.
* pthread.c (manager_thread): Define to __pthread_manager_threadp.
(__pthread_manager_threadp): New variable.
* internals.h (__manager_thread): Define to
__pthread_manager_threadp if USE_TLS.
2003-09-15 Jakub Jelinek <jakub@redhat.com>
* sysdeps/i386/Makefile (CFLAGS-cancel.c, CFLAGS-manager.c,

View File

@ -217,7 +217,7 @@ extern char *__pthread_manager_thread_tos;
/* Descriptor of the manager thread */
extern struct _pthread_descr_struct __pthread_manager_thread;
extern pthread_descr manager_thread attribute_hidden;
extern pthread_descr __pthread_manager_threadp attribute_hidden;
/* Indicate whether at least one thread has a user-defined stack (if 1),
or all threads have stacks supplied by LinuxThreads (if 0). */

View File

@ -526,7 +526,7 @@ weak_extern (__pthread_thread_self)
#ifndef USE_TLS
# define __manager_thread (&__pthread_manager_thread)
#else
# define __manager_thread manager_thread
# define __manager_thread __pthread_manager_threadp
#endif
extern inline __attribute__((always_inline)) pthread_descr

View File

@ -55,7 +55,8 @@ extern struct __res_state _res;
#ifdef USE_TLS
/* We need only a few variables. */
pthread_descr manager_thread attribute_hidden;
#define manager_thread __pthread_manager_threadp
pthread_descr __pthread_manager_threadp attribute_hidden;
#else

View File

@ -1,3 +1,8 @@
2003-09-17 Ulrich Drepper <drepper@redhat.com>
* locales/lo_LA: Fix duplicated collation entries.
Patch by Anousak Souphavanh <anousak@muanglao.com>.
2003-09-01 Petter Reinholdtsen <pere@hungry.com>
* locales/iw_IL: Add comment stating why there are two locales for

View File

@ -1,3 +1,7 @@
2003-09-17 Jakub Jelinek <jakub@redhat.com>
* sysdeps/i386/Makefile (CFLAGS-tst-align.c): Remove.
2003-09-15 Jakub Jelinek <jakub@redhat.com>
* sysdeps/i386/Makefile (CFLAGS-pthread_create.c,

View File

@ -21,7 +21,5 @@ gen-as-const-headers += tcb-offsets.sym
endif
ifeq ($(subdir),nptl)
CFLAGS-tst-align.c += -malign-double
CFLAGS-pthread_create.c += -mpreferred-stack-boundary=4
CFLAGS-tst-align.c += -mpreferred-stack-boundary=4
endif

View File

@ -35,6 +35,8 @@ else
sysdep-CFLAGS += -mpreferred-stack-boundary=2
# Likewise, any function which calls user callbacks
uses-callbacks += -mpreferred-stack-boundary=4
# Likewise, any stack alignment tests
stack-align-test-flags += -malign-double -mpreferred-stack-boundary=4
endif
endif