diff options
author | Jakub Jelinek <jakub@redhat.com> | 2005-01-06 14:57:16 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2005-01-06 14:57:16 +0000 |
commit | 0ecfa2580d1aedb744deb5af1b60f92c69b9e9e0 (patch) | |
tree | 1ef0d0dc09dba23037800d5f3794a77d9b45554f /nptl/sysdeps | |
parent | e4f5d077e9190f57abd49684bd7afcf4325bd348 (diff) | |
download | glibc-0ecfa2580d1aedb744deb5af1b60f92c69b9e9e0.tar glibc-0ecfa2580d1aedb744deb5af1b60f92c69b9e9e0.tar.gz glibc-0ecfa2580d1aedb744deb5af1b60f92c69b9e9e0.tar.bz2 glibc-0ecfa2580d1aedb744deb5af1b60f92c69b9e9e0.zip |
Updated to fedora-glibc-20050106T1443
Diffstat (limited to 'nptl/sysdeps')
-rw-r--r-- | nptl/sysdeps/i386/Makefile | 2 | ||||
-rw-r--r-- | nptl/sysdeps/i386/tls.h | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/nptl/sysdeps/i386/Makefile b/nptl/sysdeps/i386/Makefile index 693fb0569f..2f0d88f303 100644 --- a/nptl/sysdeps/i386/Makefile +++ b/nptl/sysdeps/i386/Makefile @@ -22,4 +22,6 @@ endif ifeq ($(subdir),nptl) CFLAGS-pthread_create.c += -mpreferred-stack-boundary=4 +CFLAGS-tst-align.c += -mpreferred-stack-boundary=4 +CFLAGS-tst-align2.c += -mpreferred-stack-boundary=4 endif diff --git a/nptl/sysdeps/i386/tls.h b/nptl/sysdeps/i386/tls.h index 18b038f93e..945a4c71d6 100644 --- a/nptl/sysdeps/i386/tls.h +++ b/nptl/sysdeps/i386/tls.h @@ -397,9 +397,12 @@ union user_desc_init #define CALL_THREAD_FCT(descr) \ ({ void *__res; \ int __ignore1, __ignore2; \ - asm volatile ("pushl %%gs:%P4\n\t" \ + asm volatile ("pushl %%eax\n\t" \ + "pushl %%eax\n\t" \ + "pushl %%eax\n\t" \ + "pushl %%gs:%P4\n\t" \ "call *%%gs:%P3\n\t" \ - "addl $4, %%esp" \ + "addl $16, %%esp" \ : "=a" (__res), "=c" (__ignore1), "=d" (__ignore2) \ : "i" (offsetof (struct pthread, start_routine)), \ "i" (offsetof (struct pthread, arg))); \ |