summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-09-17 09:18:37 +0000
committerUlrich Drepper <drepper@redhat.com>2003-09-17 09:18:37 +0000
commit3402852c2c478213b086648eab9848a35b7f5dbf (patch)
treebf17d7bffb3e9c0c0dd227df67e3f1e49d7d0476
parenta4db3439f1177cf5c5ceb80bfa3f3a2cef00fc0e (diff)
downloadglibc-3402852c2c478213b086648eab9848a35b7f5dbf.tar.gz
glibc-3402852c2c478213b086648eab9848a35b7f5dbf.tar.xz
glibc-3402852c2c478213b086648eab9848a35b7f5dbf.zip
Update.
2003-09-17  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/posix/utimes.c (__utimes): Truncate instead of round.
	* sysdeps/unix/sysv/linux/utimes.c (__utimes): Likewise.
-rw-r--r--ChangeLog5
-rw-r--r--linuxthreads/ChangeLog6
-rw-r--r--linuxthreads/sysdeps/i386/Makefile8
-rw-r--r--localedata/locales/lo_LA25
-rw-r--r--nptl/ChangeLog5
-rw-r--r--nptl/sysdeps/i386/Makefile2
-rw-r--r--sysdeps/posix/utimes.c4
-rw-r--r--sysdeps/unix/sysv/linux/utimes.c4
8 files changed, 36 insertions, 23 deletions
diff --git a/ChangeLog b/ChangeLog
index 1c28bf2477..2c911e0734 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-09-17  Ulrich Drepper  <drepper@redhat.com>
+
+	* sysdeps/posix/utimes.c (__utimes): Truncate instead of round.
+	* sysdeps/unix/sysv/linux/utimes.c (__utimes): Likewise.
+
 2003-09-15  Jakub Jelinek  <jakub@redhat.com>
 
 	* sysdeps/i386/Makefile (sysdep-CFLAGS): If not in math or csu
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index a9d73fd655..ed71daa201 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,9 @@
+2003-09-15  Jakub Jelinek  <jakub@redhat.com>
+
+	* sysdeps/i386/Makefile (CFLAGS-cancel.c, CFLAGS-manager.c,
+	CFLAGS-pthread.c, CFLAGS-sighandler.c): Add
+	-mpreferred-stack-boundary=4.
+
 2003-09-16  Ulrich Drepper  <drepper@redhat.com>
 
 	* attr.c (pthread_getattr_np): Correctly fill in the stack-related
diff --git a/linuxthreads/sysdeps/i386/Makefile b/linuxthreads/sysdeps/i386/Makefile
index b0051fbdd7..45183d1cd3 100644
--- a/linuxthreads/sysdeps/i386/Makefile
+++ b/linuxthreads/sysdeps/i386/Makefile
@@ -6,15 +6,15 @@ CFLAGS-pt-initfini.s += -march=i386 -mcpu=i386
 # Most files must not be compiled without frame pointer since we need
 # the frame base address which is stored in %ebp unless the frame pointer
 # is optimized out.
-CFLAGS-cancel.c += -fno-omit-frame-pointer
+CFLAGS-cancel.c += -fno-omit-frame-pointer -mpreferred-stack-boundary=4
 CFLAGS-condvar.c += -fno-omit-frame-pointer
 CFLAGS-join.c += -fno-omit-frame-pointer
-CFLAGS-manager.c += -fno-omit-frame-pointer
+CFLAGS-manager.c += -fno-omit-frame-pointer -mpreferred-stack-boundary=4
 CFLAGS-oldsemaphore.c += -fno-omit-frame-pointer
-CFLAGS-pthread.c += -fno-omit-frame-pointer
+CFLAGS-pthread.c += -fno-omit-frame-pointer -mpreferred-stack-boundary=4
 CFLAGS-ptlongjmp.c += -fno-omit-frame-pointer
 CFLAGS-semaphore.c += -fno-omit-frame-pointer
-CFLAGS-sighandler.c += -fno-omit-frame-pointer
+CFLAGS-sighandler.c += -fno-omit-frame-pointer -mpreferred-stack-boundary=4
 endif
 
 ifeq ($(subdir),csu)
diff --git a/localedata/locales/lo_LA b/localedata/locales/lo_LA
index 926d60e532..027aade7dc 100644
--- a/localedata/locales/lo_LA
+++ b/localedata/locales/lo_LA
@@ -6,18 +6,18 @@ comment_char %
 %
 % Name:         lo_LA
 % Author:       Anousak Souphavanh
-% Contact:   
+% Contact:
 % E-mail:       Anousak@muanglao.com
 % Language:     Lao
 % Territory:    Laos
 % Charset:      UTF-8
-% Revision:     1.1
-% Date:         2003-02-06
+% Revision:     1.2
+% Date:         2003-15-09
 %
 
 %
 % Copyright (C) 2002 Anousak Souphavanh
-   
+
 %
 % Permission is hereby granted, free of charge, to any person obtaining
 % a copy of this software and associated documentation files (the "Software"),
@@ -283,7 +283,6 @@ UNDEFINED      IGNORE;IGNORE;IGNORE;IGNORE
 <U002F>        IGNORE;IGNORE;<U002F>;IGNORE          % SOLIDUS
 <U002E>       IGNORE;IGNORE;<U002E>;IGNORE         % FULL STOP
 <U0EAF>        IGNORE;IGNORE;<U0EAF>;IGNORE          % Lao CHARACTER Lao Ellipse
-<U0EC6>        IGNORE;IGNORE;<U0EC6>;IGNORE          % Lao CHARACTER mAI ko La
 <U0060> IGNORE;IGNORE;<U0060>;IGNORE   % GRAVE ACCENT
 <U005E>   IGNORE;IGNORE;<U005E>;IGNORE     % CIRCUMFLEX
 <U007E>        IGNORE;IGNORE;<U007E>;IGNORE          % TILDE
@@ -402,7 +401,7 @@ UNDEFINED      IGNORE;IGNORE;IGNORE;IGNORE
 %
 % Lao consonants, with leading vowels rearrangement
 %
-<U0E81>        <U0E81>;<BLANK>;<BLANK>;<BLANK> % Lao CHARACTER KO 
+<U0E81>        <U0E81>;<BLANK>;<BLANK>;<BLANK> % Lao CHARACTER KO
 <ko-e>           "<U0E81><U0EC0>";<BLANK>;<BLANK>;<BLANK>
 <ko-ae>          "<U0E81><U0EC1>";<BLANK>;<BLANK>;<BLANK>
 <ko-o>           "<U0E81><U0EC2>";<BLANK>;<BLANK>;<BLANK>
@@ -423,14 +422,14 @@ UNDEFINED      IGNORE;IGNORE;IGNORE;IGNORE
 <kho-tam-ai-maimuan>  "<U0E84><U0EC3>";<BLANK>;<BLANK>;<BLANK>
 <kho-tam-ai-maimalai> "<U0E84><U0EC4>";<BLANK>;<BLANK>;<BLANK>
 
-<U0E87>        <U0E87>;<BLANK>;<BLANK>;<BLANK> % Lao CHARACTER NGO 
+<U0E87>        <U0E87>;<BLANK>;<BLANK>;<BLANK> % Lao CHARACTER NGO
 <ngo-e>           "<U0E87><U0EC0>";<BLANK>;<BLANK>;<BLANK>
 <ngo-ae>          "<U0E87><U0EC1>";<BLANK>;<BLANK>;<BLANK>
 <ngo-o>           "<U0E87><U0EC2>";<BLANK>;<BLANK>;<BLANK>
 <ngo-ai-maimuan>  "<U0E87><U0EC3>";<BLANK>;<BLANK>;<BLANK>
 <ngo-ai-maimalai> "<U0E87><U0EC4>";<BLANK>;<BLANK>;<BLANK>
 
-<U0E88>        <U0E88>;<BLANK>;<BLANK>;<BLANK> % Lao CHARACTER CHO 
+<U0E88>        <U0E88>;<BLANK>;<BLANK>;<BLANK> % Lao CHARACTER CHO
 <cho-e>           "<U0E88><U0EC0>";<BLANK>;<BLANK>;<BLANK>
 <cho-ae>          "<U0E88><U0EC1>";<BLANK>;<BLANK>;<BLANK>
 <cho-o>           "<U0E88><U0EC2>";<BLANK>;<BLANK>;<BLANK>
@@ -458,7 +457,7 @@ UNDEFINED      IGNORE;IGNORE;IGNORE;IGNORE
 <do-ai-maimuan>  "<U0E94><U0EC3>";<BLANK>;<BLANK>;<BLANK>
 <do-ai-maimalai> "<U0E94><U0EC4>";<BLANK>;<BLANK>;<BLANK>
 
-<U0E95>        <U0E95>;<BLANK>;<BLANK>;<BLANK> % Lao CHARACTER TO 
+<U0E95>        <U0E95>;<BLANK>;<BLANK>;<BLANK> % Lao CHARACTER TO
 <to-e>           "<U0E95><U0EC0>";<BLANK>;<BLANK>;<BLANK>
 <to-ae>          "<U0E95><U0EC1>";<BLANK>;<BLANK>;<BLANK>
 <to-o>           "<U0E95><U0EC2>";<BLANK>;<BLANK>;<BLANK>
@@ -607,8 +606,6 @@ UNDEFINED      IGNORE;IGNORE;IGNORE;IGNORE
 <mor-ai-maimuan>  "<U0EDD><U0EC3>";<BLANK>;<BLANK>;<BLANK>
 <mor-ai-maimalai> "<U0EDD><U0EC4>";<BLANK>;<BLANK>;<BLANK>
 
-<U0EAF> <U0EAF>;<BLANK>;<BLANK>;<BLANK>  % Lao CHARACTER Ellipsis
-
 
 % order of Lao vowels
 <U0EB0> <U0EB0>;<BLANK>;<BLANK>;<BLANK>  % Lao CHARACTER SAlA A
@@ -724,9 +721,9 @@ END LC_TIME
 
 LC_MESSAGES
 
-% yesexpr : begins with "y", "Y", or mo 
+% yesexpr : begins with "y", "Y", or mo
 % noexpr : begins with "n", "N", or Bo
-% yesstr = "men" = Sala ae + Mo + MAI EK + No 
+% yesstr = "men" = Sala ae + Mo + MAI EK + No
 % nostr = "Bo Men" = Letter Bo +salo Or+ MAI EK + mo+ Ma Ek+ No
 
 yesexpr "<U005E><U005B><U0079><U0059><U0EA1><U005D>"
@@ -783,5 +780,3 @@ lang_ab       "<U006C><U006F>"
 lang_term     "<U006c><U0061><U006F>"
 lang_lib      "<U006C><U0061><U006F>"
 END LC_ADDRESS
-
-
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 0983e0be21..90c7b26e6d 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,8 @@
+2003-09-15  Jakub Jelinek  <jakub@redhat.com>
+
+	* sysdeps/i386/Makefile (CFLAGS-pthread_create.c,
+	CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.
+
 2003-09-17  Jakub Jelinek  <jakub@redhat.com>
 
 	* Makefile (CFLAGS-tst-align.c): Add $(stack-align-test-flags).
diff --git a/nptl/sysdeps/i386/Makefile b/nptl/sysdeps/i386/Makefile
index a18c1bc8f1..fac6d8db50 100644
--- a/nptl/sysdeps/i386/Makefile
+++ b/nptl/sysdeps/i386/Makefile
@@ -22,4 +22,6 @@ 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
diff --git a/sysdeps/posix/utimes.c b/sysdeps/posix/utimes.c
index 21da94751b..d0381a5b68 100644
--- a/sysdeps/posix/utimes.c
+++ b/sysdeps/posix/utimes.c
@@ -31,8 +31,8 @@ __utimes (const char *file, const struct timeval tvp[2])
   if (tvp)
     {
       times = &buf;
-      buf.actime = tvp[0].tv_sec + (tvp[0].tv_usec + 500000) / 1000000;
-      buf.modtime = tvp[1].tv_sec + (tvp[1].tv_usec + 500000) / 1000000;
+      buf.actime = tvp[0].tv_sec + tvp[0].tv_usec / 1000000;
+      buf.modtime = tvp[1].tv_sec + tvp[1].tv_usec / 1000000;
     }
   else
     times = NULL;
diff --git a/sysdeps/unix/sysv/linux/utimes.c b/sysdeps/unix/sysv/linux/utimes.c
index e4798ce83c..d777672125 100644
--- a/sysdeps/unix/sysv/linux/utimes.c
+++ b/sysdeps/unix/sysv/linux/utimes.c
@@ -47,8 +47,8 @@ __utimes (const char *file, const struct timeval tvp[2])
   if (tvp != NULL)
     {
       times = &buf;
-      buf.actime = tvp[0].tv_sec + (tvp[0].tv_usec + 500000) / 1000000;
-      buf.modtime = tvp[1].tv_sec + (tvp[1].tv_usec + 500000) / 1000000;
+      buf.actime = tvp[0].tv_sec + tvp[0].tv_usec / 1000000;
+      buf.modtime = tvp[1].tv_sec + tvp[1].tv_usec / 1000000;
     }
   else
     times = NULL;