Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update.
2003-09-17  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/i386/Makefile (stack-align-test-flags): Add
	-malign-double -mpreferred-stack-boundary=4.
  • Loading branch information
Ulrich Drepper committed Sep 17, 2003
1 parent 3402852 commit 65af7e6
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 5 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
@@ -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.
Expand Down
9 changes: 9 additions & 0 deletions linuxthreads/ChangeLog
@@ -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,
Expand Down
2 changes: 1 addition & 1 deletion linuxthreads/descr.h
Expand Up @@ -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). */
Expand Down
2 changes: 1 addition & 1 deletion linuxthreads/internals.h
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion linuxthreads/pthread.c
Expand Up @@ -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

Expand Down
5 changes: 5 additions & 0 deletions localedata/ChangeLog
@@ -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
Expand Down
4 changes: 4 additions & 0 deletions nptl/ChangeLog
@@ -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,
Expand Down
2 changes: 0 additions & 2 deletions nptl/sysdeps/i386/Makefile
Expand Up @@ -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
2 changes: 2 additions & 0 deletions sysdeps/i386/Makefile
Expand Up @@ -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

Expand Down

0 comments on commit 65af7e6

Please sign in to comment.