Fix Wundef warning for WIDE_CHAR_VERSION
[platform/upstream/glibc.git] / ChangeLog
1 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2
3         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
5         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6         it is defined.
7
8         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
9         instead of whether it is defined.
10         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
11         * sysdeps/hppa/dl-machine.h: Likewise.
12         * sysdeps/ia64/dl-machine.h: Likewise.
13         * sysdeps/m68k/dl-machine.h: Likewise.
14         * sysdeps/microblaze/dl-machine.h: Likewise.
15         * sysdeps/mips/dl-machine.: Likewise.
16         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20         * sysdeps/sh/dl-machine.h: Likewise.
21         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23         * sysdeps/tile/dl-machine.h: Likewise.
24         * sysdeps/x86_64/dl-machine.h: Likewise.
25
26         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
27         code.
28         (verify_persistent_db): Likewise.
29
30 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31
32         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
33         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
34         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
35         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
36         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37         Moved ...
38         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
39         ... here.
40         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
41         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
42         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
43         Identical file removed.
44         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
45         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
46         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
47         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
48         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
49         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
50         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
51         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
52         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
53         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
54         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
55         Moved ...
56         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
57         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
58         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
59         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
60         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
61         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
62         Moved ...
63         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
64         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
65         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
66         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
67         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
68         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
69         Identical file removed.
70         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
71         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
72         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
73         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
74         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
75         Moved ...
76         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
77         ... here.
78         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
79         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
80         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
81         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
82         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
83         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
84         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
85         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
86         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
87         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
88         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
89         Moved ...
90         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
91         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
92         Moved ...
93         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
94         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
95         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
96         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
97         Moved ...
98         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
99         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
100         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
101
102         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
103         folded into ...
104         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
105         * sysdeps/unix/sysv/linux/s390/Versions
106         (libpthread: GLIBC_2.19): New version set.
107         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
108         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
109         (librt: GLIBC_2.3.3): New version set.
110         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
111         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
112         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
113         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
114         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
115         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
116         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
117         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
118         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
119         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
120         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
121         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
122         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
123         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
124         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
125         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
126         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
127         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
128         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
129         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
130         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
131         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
132         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
133         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
134         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
135         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
136         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
137         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
138         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
139         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
140         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
141         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
142         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
143         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
144         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
145         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
146         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
147         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
148         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
149         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
150         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
151         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
152         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
153         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
154         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
155
156         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
157         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
158         (__libc_vfork): Define the function under this name.
159         [!NOT_IN_libc] (__vfork): Make this an alias.
160         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
161         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
162         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
163         (__libc_vfork): Define the function under this name.
164         [!NOT_IN_libc] (__vfork): Make this an alias.
165         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
166         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
167         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
168         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
169         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
170         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
171
172         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
173         code that was previously under [RESET_PID].
174         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
175         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
176         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
177
178         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
179         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
180         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
181         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
182         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
183         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
184         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
185         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
186         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
187         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
188         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
189         Moved ...
190         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
191         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
192         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
193         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
194         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
195         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
196         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
197         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
198         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
199         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
200         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
201         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
202         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
203         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
204         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
205         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
206         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
207         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
208         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
209         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
210         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
211         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
212         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
213         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
214         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
215         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
216         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
217         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
218         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
219
220 2014-06-25  Roland McGrath  <roland@hack.frob.com>
221
222         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
223         that was previously under [RESET_PID].
224         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
225
226 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
227
228         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
229         not undefine and redefine.
230         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
231         [O_CLOEXEC]: Make code unconditional.
232         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
233         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
234         <kernel-features.h>.
235         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
236         conditional variable definition.
237         (shm_open) [O_CLOEXEC]: Make code unconditional.
238         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
239         code.
240
241         * configure.ac (USE_REGPARMS): Don't define here.
242         * configure: Regenerated.
243         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
244         * sysdeps/i386/configure: Regenerated.
245
246         * nptl/createthread.c: Don't include kernel-features.h.
247         * nptl/pthread_cancel.c: Likewise.
248         * nptl/pthread_condattr_setclock.c: Likewise.
249         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
250         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
251         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
252         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
253         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
254         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
255         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
256         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
257         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
258         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
259         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
260         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
261         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
262         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
263         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
264         * nscd/gai.c: Likewise.
265         * nss/nss_db/db-open.c: Likewise.
266         * sysdeps/generic/ldsodefs.h: Likewise.
267         * sysdeps/sh/nptl/tls.h: Likewise.
268         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
269         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
270         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
271         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
272         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
273         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
274         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
275         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
276         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
277         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
278         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
279         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
280         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
281         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
282         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
283         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
284         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
285         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
286         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
287         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
288         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
289         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
290         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
291         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
292         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
293         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
294         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
295         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
296         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
297         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
298         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
299         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
300         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
301         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
302         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
303         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
304         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
305         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
306         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
307         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
308         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
309         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
310         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
311         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
312         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
313         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
314         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
315         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
316         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
317         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
318         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
319         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
320         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
321         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
322         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
323         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
324         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
325         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
348         * sysdeps/unix/sysv/linux/pread.c: Likewise.
349         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
350         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
351         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
352         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
353         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
354         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
355         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
356         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
357         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
358         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
359         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
360         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
361         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
362         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
363         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
364         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
365         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
366         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
367         * sysdeps/unix/sysv/linux/system.c: Likewise.
368         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
369         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
370         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
371         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
372         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
373         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
374         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
375
376         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
377         * configure: Regenerated.
378         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
379
380         * configure.ac (base_machine): Do not set specially for particular
381         machines here.
382         * configure: Regenerated.
383         * sysdeps/powerpc/preconfigure: Move machine and base_machine
384         settings from configure.ac.
385         * sysdeps/i386/preconfigure: New file.
386         * sysdeps/s390/preconfigure: Likewise.
387         * sysdeps/sh/preconfigure: Likewise.
388         * sysdeps/sparc/preconfigure: Likewise.
389
390 2014-06-25  Roland McGrath  <roland@hack.frob.com>
391
392         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
393         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
394         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
395         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
396         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
397         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
398         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
399         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
400         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
401         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
402         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
403         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
404         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
405         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
406         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
407         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
408         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
409         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
410         * sysdeps/sparc/sparc64/Makefile: ... appended here.
411
412         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
413         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
414         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
415         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
416         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
417         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
418         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
419         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
420         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
421         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
422         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
423         * sysdeps/sparc/sparc32/sem_post.c: ... here.
424         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
425         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
426         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
427         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
428         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
429         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
430         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
431         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
432         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
433         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
434         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
435         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
436         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
437         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
438         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
439         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
440         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
441         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
442         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
443         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
444         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
445         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
446         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
447         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
448         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
449         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
450
451         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
452         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
453         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
454         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
455         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
456         Moved ...
457         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
458         ... here.
459         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
460         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
461         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
462         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
463         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
464         Moved ...
465         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
466         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
467         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
468         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
469         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
470         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
471         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
472         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
473         Moved ...
474         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
475         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
476         Moved ...
477         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
478         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
479         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
480         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
481         Moved ...
482         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
483         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
484         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
485         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
486         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
487         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
488         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
489         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
490         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
491         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
492         Moved ...
493         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
494         ... here.
495         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
496         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
497         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
498         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
499         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
500         Moved ...
501         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
502         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
503         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
504         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
505         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
506         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
507         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
508         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
509         Moved ...
510         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
511         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
512         Moved ...
513         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
514         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
515         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
516         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
517         Moved ...
518         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
519         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
520         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
521         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
522         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
523
524 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
525
526         * timezone/checktab.awk: Update from tzcode 2014e.
527         * timezone/private.h: Likewise.
528         * timezone/tzfile.h: Likewise.
529         * timezone/zdump.c: Likewise.
530         * timezone/zic.c: Likewise.
531
532         * sysdeps/unix/sysv/linux/kernel-features.h
533         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
534         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
535         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
536         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
537         Remove conditional code.
538
539 2014-06-25  Will Newton  <will.newton@linaro.org>
540
541         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
542         (_dl_arm_cap_flags): Add HWCAP2 values.
543         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
544         (_DL_HWCAP_COUNT): Increase to 37.
545         (_DL_HWCAP_LAST): New define.
546         (_DL_HWCAP2_LAST): New define.
547         (_dl_procinfo): Add support for printing
548         AT_HWCAP2 entries.
549         (_dl_string_hwcap): Use _dl_hwcap_string.
550
551 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
552
553         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
554
555 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
556
557         * README: Do not mention ports directory.
558
559         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
560         Remove macro.
561         * sysdeps/unix/sysv/linux/futimes.c: Do not include
562         <kernel-features.h>.
563         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
564         conditional variable definition.
565         (__futimes): Update comment.
566         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
567         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
568
569         [BZ #16560]
570         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
571         arguments close to 0.
572         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
573         Likewise.
574         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
575         Likewise.
576         * math/auto-libm-test-in: Add more tests of exp10.
577         * math/auto-libm-test-out: Regenerated.
578         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
579
580         * sysdeps/unix/sysv/linux/kernel-features.h
581         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
582         * sysdeps/unix/sysv/linux/readv.c: Do not include
583         <kernel-features.h>.
584         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
585         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
586         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
587         unconditional.
588         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
589         conditional code.
590         * sysdeps/unix/sysv/linux/writev.c: Do not include
591         <kernel-features.h>.
592         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
593         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
594         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
595         unconditional.
596         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
597         conditional code.
598
599 2014-06-25  Will Newton  <will.newton@linaro.org>
600
601         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
602         comment changes throughout the file.  Remove checks
603         for HAVE_*_H definitions that are not required.
604         (__gen_tempname): Call abort if an unknown kind value is
605         passed.
606
607 2014-06-25  Andreas Schwab  <schwab@suse.de>
608
609         [BZ #17086]
610         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
611         scalbln, scalblnf, scalblnl in libc.
612
613 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
614
615         [BZ #17086]
616         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
617         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
618         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
619
620 2014-06-24  Roland McGrath  <roland@hack.frob.com>
621
622         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
623         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
624         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
625         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
626         Update #include.
627         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
628         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
629         Update #include.
630         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
631         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
632         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
633         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
634         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
635         * sysdeps/x86/bits/pthreadtypes.h: ... here.
636         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
637         * sysdeps/x86/bits/semaphore.h: ... here.
638         * sysdeps/x86/nptl/elide.h: Moved ...
639         * sysdeps/x86/elide.h: ... here.
640         * sysdeps/x86_64/nptl/Implies: File removed.
641         * sysdeps/i386/nptl/Implies: File removed.
642
643 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
644
645         [BZ #16539]
646         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
647         return the argument for normal arguments with exponent below -64.
648         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
649         Likewise.
650         * math/auto-libm-test-in: Add another test of expm1.
651         * math/auto-libm-test-out: Regenerated.
652
653         [BZ #16287]
654         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
655         calling __erfcl for arguments at least 16.
656         * math/auto-libm-test-in: Add more tests of erf.
657         * math/auto-libm-test-out: Regenerated.
658
659         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
660         individual architectures.
661         * sysdeps/unix/sysv/linux/configure: Regenerated.
662         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
663         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
664         * sysdeps/unix/sysv/linux/powerpc/configure.ac
665         (ldd_rewrite_script): Define variable.
666         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
668         file.
669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
670         generated file.
671         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
672         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
673         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
674         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
675         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
676         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
677         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
678         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
679
680 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
681
682         [BZ #17084]
683         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
684         Rename member __data.d to __data.__elision_data.
685
686 2014-06-24  Wilco  <wdijkstr@arm.com>
687
688         * NEWS: Add 16918 to fixed bug list.
689
690 2014-06-24  Wilco  <wdijkstr@arm.com>
691
692         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
693
694 2014-06-24  Wilco  <wdijkstr@arm.com>
695
696         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
697         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
698         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
699         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
700         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
701         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
702         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
703         Use _FPU_MASK_RM.
704
705 2014-06-24  Wilco  <wdijkstr@arm.com>
706
707         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
708
709 2014-06-24  Wilco  <wdijkstr@arm.com>
710
711         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
712         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
713         * sysdeps/arm/fesetround.c (fesetround): Remove space.
714         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
715
716 2014-06-24  Wilco  <wdijkstr@arm.com>
717
718         [BZ #16918]
719         * sysdeps/arm/feupdateenv.c (feupdateenv):
720         Rewrite to reduce FPSCR accesses and fix return value.
721
722 2014-06-24  Wilco  <wdijkstr@arm.com>
723
724         * sysdeps/arm/fclrexcpt.c (feclearexcept):
725         Optimize to avoid unnecessary FPSCR writes.
726         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
727         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
728         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
729         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
730
731 2014-06-24  Wilco  <wdijkstr@arm.com>
732
733         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
734         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
735         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
736         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
737         Call libc_fetestexcept_vfp.
738         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
739         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
740         __SOFTFP__ ifdef so that they can be built for softfp.
741
742 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
743
744         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
745         argument type signed char.
746
747         * Makerules (check-abi): Dump diff of symlist if the test
748         fails.
749
750 2014-06-23  Roland McGrath  <roland@hack.frob.com>
751
752         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
753         using abort.
754
755         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
756         Remove unused variable ST.
757
758 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
759
760         [BZ #16354]
761         [BZ #17061]
762         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
763         small arguments before calling __expm1.
764         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
765         small arguments before calling __expm1f.
766         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
767         small arguments before calling __expm1l.
768         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
769         Likewise.
770         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
771         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
772         spurious underflow for some cosh tests.
773         * math/auto-libm-test-out: Regenerated.
774         * sysdeps/i386/fpu/libm-test-ulps: Update.
775
776         [BZ #17050]
777         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
778         (__ieee754_y1): Set errno if return value overflows.
779         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
780         (__ieee754_y1f): Set errno if return value overflows.
781         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
782         (__ieee754_y1l): Set errno if return value overflows.
783         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
784         (__ieee754_y1l): Set errno if return value overflows.
785         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
786         * math/auto-libm-test-out: Regenerated.
787
788         * math/gen-auto-libm-tests.c: Document use of
789         ignore-zero-inf-sign.
790         (input_flag_type): Add value flag_ignore_zero_inf_sign.
791         (input_flags): Add ignore-zero-inf-sign.
792         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
793         * math/gen-libm-test.pl (generate_testfile): Handle
794         ignore-zero-inf-sign.
795         * math/auto-libm-test-in: Mark some cpow tests with
796         ignore-zero-inf-sign and some with xfail-rounding.
797         * math/auto-libm-test-out: Regenerated.
798         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
799         * sysdeps/i386/fpu/libm-test-ulps: Update.
800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
801
802         [BZ #16315]
803         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
804         overflowing or underflowing operations take place with sign of
805         result.
806         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
807         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
808         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
809         (__ieee754_pow): Recompute overflowing and underflowing results in
810         original rounding mode.
811         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
812         (__powl_helper): Allow negative argument X and scale negated value
813         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
814         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
815         overflowing or underflowing operations take place with sign of
816         result.
817         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
818         Include <math.h>.
819         * math/auto-libm-test-in: Add more tests of pow.
820         * math/auto-libm-test-out: Regenerated.
821         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
822         (pow_tonearest_test_data): Remove.
823         (pow_test_tonearest): Likewise.
824         (pow_towardzero_test_data): Likewise.
825         (pow_test_towardzero): Likewise.
826         (pow_downward_test_data): Likewise.
827         (pow_test_downward): Likewise.
828         (pow_upward_test_data): Likewise.
829         (pow_test_upward): Likewise.
830         (main): Don't call removed functions.
831         * sysdeps/i386/fpu/libm-test-ulps: Update.
832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
833
834 2014-06-23  Roland McGrath  <roland@hack.frob.com>
835
836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
837         Moved ...
838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
840         Moved ...
841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
843         Moved ...
844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
846         Moved ...
847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
849         File removed.
850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
851         File removed.
852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
853         File removed.
854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
855         File removed.
856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
857         File removed.
858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
859         File removed.
860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
861         File removed.
862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
863         File removed.
864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
865         File removed.
866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
867         File removed.
868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
869         File removed.
870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
871         File removed.
872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
873         Moved ...
874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
876         Moved ...
877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
878         ... here.
879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
880         Moved ...
881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
883         Moved ...
884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
886         Moved ...
887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
889         Moved ...
890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
892         Moved ...
893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
895         Moved ...
896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
898         Moved ...
899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
902         ... here.
903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
904         Moved ...
905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
907         Moved ...
908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
909         ... here.
910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
911         Moved ...
912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
913         ... here.
914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
915         Moved ...
916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
917         ... here.
918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
919         Moved ...
920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
922         Moved ...
923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
927         Moved ...
928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
929         ... here.
930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
931         Moved ...
932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
933         ... here.
934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
935         Moved ...
936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
938         Moved ...
939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
941         Moved ...
942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
944         Moved ...
945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
947         Moved ...
948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
949         ... here.
950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
951         Moved ...
952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
954         Moved ...
955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
957         Moved ...
958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
960         Moved ...
961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
965         Moved ...
966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
968         Moved ...
969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
971         Moved ...
972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
973         ... here.
974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
975         Moved ...
976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
977         ... here.
978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
979         Moved ...
980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
981         ... here.
982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
983         Moved ...
984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
986         Moved ...
987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
989         Moved ...
990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
992         Moved ...
993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
994         ... here.
995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
996         Moved ...
997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
998         ... here.
999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1000         Moved ...
1001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1002         ... here.
1003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1004         Moved ...
1005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1007         Moved ...
1008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1009
1010 2014-06-23  Will Newton  <will.newton@linaro.org>
1011             Wilco  <wdijkstr@arm.com>
1012
1013         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1014         implementation.  Include get-rounding-mode.h.
1015         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1016         [!libc_feholdsetround_noex_ctx]: Define
1017         libc_feholdsetround_noex_ctx.
1018         [!libc_feholdsetround_noexf_ctx]: Define
1019         libc_feholdsetround_noexf_ctx.
1020         [!libc_feholdsetround_noexl_ctx]: Define
1021         libc_feholdsetround_noexl_ctx.
1022         (libc_feholdsetround_ctx): New function.
1023         (libc_feresetround_ctx): New function.
1024         (libc_feholdsetround_noex_ctx): New function.
1025         (libc_feresetround_noex_ctx): New function.
1026
1027 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1028
1029         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1030         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1031         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1032         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1033         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1034         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1035
1036         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1037         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1038         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1039         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1040         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1041         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1042         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1043         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1044         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1045         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1046         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1047         Moved ...
1048         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1049         ... here.
1050         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1051         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1052         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1053         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1054         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1055         Moved ...
1056         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1057         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1058         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1059         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1060         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1061         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1062         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1063         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1064         Moved ...
1065         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1066         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1067         Moved ...
1068         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1069         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1070         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1071         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1072         Moved ...
1073         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1074         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1075         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1076         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1077         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1078         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1079         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1080         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1081         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1082         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1083         Moved ...
1084         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1085         ... here.
1086         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1087         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1088         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1089         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1090         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1091         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1092         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1093         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1094         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1095         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1096         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1097         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1098         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1099         Moved ...
1100         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1101         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1102         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1103         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1104         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1105         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1106         Moved ...
1107         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1108         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1109         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1110         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1111         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1112
1113         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1114         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1115         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1116         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1117         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1118         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1119         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1120         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1121         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1122         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1123         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1124         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1125         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1126         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1127         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1128         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1129         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1130         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1131         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1132         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1133         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1134         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1135         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1136         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1137         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1138         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1139         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1140         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1141
1142 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1143
1144         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1145         (FALLOC_FL_COLLAPSE_RANGE): New macro.
1146         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1147         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1148         (IPV6_PMTUDISC_INTERFACE): Likewise.
1149         (IPV6_PMTUDISC_OMIT): Likewise.
1150
1151 2014-06-23  Andreas Schwab  <schwab@suse.de>
1152
1153         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1154         Remove unused errout label.
1155
1156 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1157
1158         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1159         macro: hardware supports Vector Crypto instructions.
1160
1161 2014-06-23  Will Newton  <will.newton@linaro.org>
1162
1163         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1164         rather than __builtin_expect.
1165
1166         * elf/dl-lookup.c (undefined_msg): Remove variable.
1167         (_dl_lookup_symbol_x): Replace undefined_msg with string
1168         literal.
1169
1170         * elf/dl-lookup.c (do_lookup_unique): New function.
1171         (do_lookup_x): Move STB_GNU_UNIQUE handling code
1172         to a separate function.
1173
1174 2014-06-23  Andreas Schwab  <schwab@suse.de>
1175
1176         [BZ #17079]
1177         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1178         before reading the next line.
1179
1180 2014-06-23  Will Newton  <will.newton@linaro.org>
1181
1182         * test-skeleton.c (signal_handler): Use printf and %m
1183         rather than perror.  Use printf rather than fprintf to
1184         stderr.  Use puts rather than fputs to stderr.
1185         (main): Likewise.
1186
1187 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
1188
1189         * nscd/nscd.c (thread_info_t): Remove typedef.
1190         (thread_info): Remove variable.
1191
1192 2014-06-21  Allan McRae  <allan@archlinux.org>
1193
1194         * NEWS: Mention CVE-2014-4043.
1195
1196 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1197
1198         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1199         * nptl/smp.h: ... here.
1200
1201         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1202
1203         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1204         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1205         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1206         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1207
1208         * nptl/allocatestack.c: Include <stack-aliasing.h>.
1209         * nptl/stack-aliasing.h: New file.
1210         * sysdeps/i386/i686/stack-aliasing.h: New file.
1211         * sysdeps/i386/i686/nptl/Makefile: File removed.
1212         * sysdeps/x86_64/stack-aliasing.h: New file.
1213         * sysdeps/x86_64/nptl/Makefile
1214         (CFLAGS-pthread_create.c): Variable removed.
1215
1216         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1217         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1218         old file.
1219         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1220         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1221         old file.
1222
1223 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
1224
1225         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1226         (__ASSUME_SIGFRAME_V2): Remove macro.
1227         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1228         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1229         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1230         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1231         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1232         Declare as function.  Remove conditional macro definitions.
1233         (__default_rt_sa_restorer): Likewise.
1234         (__default_sa_restorer_v1): Remove declaration.
1235         (__default_sa_restorer_v2): Likewise.
1236         (__default_rt_sa_restorer_v1): Likewise.
1237         (__default_rt_sa_restorer_v2): Likewise.
1238         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1239         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1240         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1241
1242 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1243
1244         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1245         (libpthread-routines): Add sysdep.
1246         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1247         * sysdeps/unix/sysv/linux/sparc/Versions
1248         (libpthread: GLIBC_2.3.3): New version set.
1249         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1250         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1251         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1252         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1253         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
1254         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1255         Moved ...
1256         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1257         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1258         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1259         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1260         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1261         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1262         * sysdeps/sparc/nptl/sem_init.c: ... here.
1263         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1264         * sysdeps/sparc/nptl/sem_post.c: ... here.
1265         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1266         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1267         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1268         * sysdeps/sparc/nptl/sem_wait.c: ... here.
1269         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1270         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1271         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1272         (libpthread-routines): Add cpu_relax.
1273         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1274         File removed.
1275         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1276         (librt: GLIBC_2.3.3): New version set.
1277         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1278         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1279         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1280         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1281         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1282         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1283         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1284         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1285         Moved ...
1286         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1287         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1288         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1289         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1290         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1291         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1292         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1293         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1294         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1295         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1296         Moved ...
1297         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1298         Update #include.
1299         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1300         Moved ...
1301         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1302         Update #include.
1303         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1304         Moved ...
1305         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1306         Update #include.
1307         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1308         Moved ...
1309         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1310         Update #include.
1311         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1312         Moved ...
1313         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1314         Update #include.
1315         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1316         Moved ...
1317         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1318         Update #include.
1319         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1320         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1321         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1322         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1323         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1324         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1325         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1326         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1327         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1328         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1329         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1330         Moved ...
1331         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1332         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1333         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1334         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1335         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1336
1337 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1338
1339         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1340         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1341         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1342         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1343         * nscd/nscd.c: Likewise.
1344         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1345         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1346         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1347         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1348
1349         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1350         <kernel-features.h>.
1351         (init_mq_netlink): Remove conditional have_sock_cloexec
1352         definitions.  Remove code conditional on have_sock_cloexec < 0.
1353         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1354         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1355         * sysdeps/unix/sysv/linux/opensock.c: Do not include
1356         <kernel-features.h>.
1357         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1358         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1359
1360 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1361
1362         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1363         Add tests for memset_chk and memset.
1364
1365         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1366         with AVX2_Usable.
1367
1368 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1369
1370         [BZ #16046]
1371         * elf/tst-dl-iter-static.c: New file.
1372         * elf/Makefile (tests-static): Add tst-dl-iter-static.
1373
1374         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1375         error.
1376
1377 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1378
1379         * sysdeps/unix/sysv/linux/kernel-features.h
1380         (__ASSUME_F_GETOWN_EX): Remove macro.
1381         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1382         <kernel-features.h>.
1383         (miss_F_GETOWN_EX): Remove variable or macro.
1384         (do_fcntl): Do not check miss_F_GETOWN_EX.
1385         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1386
1387         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1388         Remove macro.
1389         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1390         [!__ASSUME_AT_RANDOM]: Remove conditional code.
1391         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1392
1393         * sysdeps/unix/sysv/linux/kernel-features.h
1394         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1395         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1396         [ADJ_OFFSET_SS_READ]: Make code unconditional.
1397         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1398
1399 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1400
1401         [BZ #17075]
1402         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1403         Fix calculation of the symbol's value.
1404         * sysdeps/arm/tst-armtlsdescloc.c: New file.
1405         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1406         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1407         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1408         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1409         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1410         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1411         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1412         (modules-names): Add `tst-armtlsdescmod',
1413         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1414         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1415         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1416         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1417         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1418         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1419         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1420         ($(objpfx)tst-armtlsdescloc): New dependency.
1421         ($(objpfx)tst-armtlsdescextnow): Likewise.
1422         ($(objpfx)tst-armtlsdescextlazy): Likewise.
1423         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1424         TLS scheme support.
1425         * sysdeps/arm/configure: Regenerate.
1426
1427 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1428
1429         * include/fcntl.h (__atfct_seterrno): Remove prototype.
1430         (__atfct_seterrno_2): Likewise.
1431         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1432         <kernel-features.h>.
1433         (__ASSUME_ATFCTS): Do not undefine and redefine.
1434         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1435         (__have_atfcts): Remove conditional definition.
1436         (__fxstatat([__NR_fstatat64]: Make code unconditional.
1437         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1438         unreachable if [__ASSUME_ATFCTS].
1439         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1440         not undefine and redefine.
1441         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1442         <kernel-features.h>.
1443         (faccessat) [__NR_faccessat]: Make code unconditional.
1444         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1445         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1446         <kernel-features.h>.
1447         (fchmodat) [__NR_fchmodat]: Make code unconditional.
1448         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1449         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1450         <kernel-features.h>.
1451         (fchownat) [__NR_fchownat]: Make code unconditional.
1452         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1453         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1454         <kernel-features.h>.
1455         (futimesat) [__NR_futimesat]: Make code unconditional.
1456         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1457         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1458         <kernel-features.h>.
1459         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1460         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1461         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1462         <kernel-features.h>.
1463         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1464         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1465         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1466         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1467         <kernel-features.h>.
1468         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1469         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1470         * sysdeps/unix/sysv/linux/linkat.c: Do not include
1471         <kernel-features.h>.
1472         (linkat) [__NR_linkat]: Make code unconditional.
1473         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1474         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1475         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1476         <kernel-features.h>.
1477         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1478         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1479         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1480         <kernel-features.h>.
1481         (mkdirat) [__NR_mkdirat]: Make code unconditional.
1482         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1483         * sysdeps/unix/sysv/linux/openat.c: Do not include
1484         <kernel-features.h>.
1485         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1486         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1487         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1488         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1489         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1490         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1491         <kernel-features.h>.
1492         (readlinkat) [__NR_readlinkat]: Make code unconditional.
1493         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
1494         result of INLINE_SYSCALL directly, not via int variable.
1495         * sysdeps/unix/sysv/linux/renameat.c: Do not include
1496         <kernel-features.h>.
1497         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1498         (renameat) [__NR_renameat]: Make code unconditional.
1499         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1500         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1501         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1502         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1503         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1504         (__ASSUME_ATFCTS): Do not undefine and redefine.
1505         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1506         <kernel-features.h>.
1507         (symlinkat) [__NR_symlinkat]: Make code unconditional.
1508         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1509         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1510         <kernel-features.h>.
1511         (unlinkat) [__NR_unlinkat]: Make code unconditional.
1512         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1513         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1514         (__ASSUME_ATFCTS): Do not undefine and redefine.
1515         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1516         <kernel-features.h>.
1517         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1518         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1519         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1520         <kernel-features.h>.
1521         (__xmknodat) [__NR_mknodat]: Make code unconditional.
1522         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1523
1524 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1525
1526         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1527
1528 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
1529
1530         [BZ #17069]
1531         * posix/regcomp.c (parse_reg_exp): Deallocate partially
1532         constructed tree before returning error.
1533         * posix/bug-regexp36.c: Expand test case.
1534
1535 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1536
1537         [BZ #6803]
1538         * math/libm-test.inc (scalbln_test_date):
1539         Add errno expectations.
1540         * math/w_scalblnf.c: New File.
1541         Add wrapper which checks for setting errno to ERANGE.
1542         Add weak_alias for corresponding scalbln function.
1543         * math/w_scalbln.c: Likewise.
1544         * math/w_scalblnl.c: Likewise.
1545         * math/Makefile (libm-calls): Add w_scalbln.
1546         * sysdeps/ieee754/flt-32/s_scalblnf.c:
1547         Remove weak_alias for corresponding scalbln function.
1548         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1549         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1550         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1551         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1552         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1553         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1554         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1555         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1556         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1557         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1558         Remove long_double_symbol for scalblnl function in libm, libc.
1559         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1560         Add wrapper which checks for setting errno to ERANGE.
1561         Add long_double_symbol for scalblnl function in libm, libc.
1562         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1563         Remove long_double_symbol for scalblnl in libm.
1564         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1565         Add wrapper which checks for setting errno to ERANGE.
1566         Add long_double_symbol for scalblnl function in libm.
1567         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1568         Do not use wrapper because of own implementation.
1569
1570 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
1571
1572         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1573         3 bytes for __pad1 for x32.
1574         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1575
1576 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
1577             H.J. Lu  <hongjiu.lu@intel.com>
1578
1579         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1580         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1581         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1582         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1583         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1584
1585 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
1586
1587         [BZ #17069]
1588         * posix/regcomp.c (parse_expression): Deallocate partially
1589         constructed tree before returning error.
1590         * posix/Makefile.c (tests): Add bug-regex36.
1591         (generated): Add bug-regex36.mtrace.
1592         (tests-special): Add $(objpfx)bug-regex36-mem.out
1593         (bug-regex36-ENV): New variable.
1594         ($(objpfx)bug-regex36-mem.out): New rule.
1595         * posix/bug-regex36.c: New file.
1596
1597 2014-06-19  Will Newton  <will.newton@linaro.org>
1598
1599         * malloc/malloc.c (systrim): If extra is zero then return
1600         early.
1601
1602 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1603
1604         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1605
1606 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
1607
1608         * sysdeps/aarch64/strchr.S: New file.
1609
1610 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1611
1612         [BZ #17022]
1613         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1614         from arguments -2 or below.
1615         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1616         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1617
1618 2014-06-18  Andreas Schwab  <schwab@suse.de>
1619
1620         [BZ #17062]
1621         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1622         of a bracket expr not to run off the end of the string.
1623         * posix/Makefile (tests): Add tst-fnmatch3.
1624         * posix/tst-fnmatch3.c: New file.
1625
1626 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1627
1628         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1629         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1630         [$(cross-compiling) = no]: Likewise.
1631         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1632         [$(cross-compiling) = no]: Likewise.
1633
1634 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1635
1636         [BZ #17031]
1637         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1638         double, adjusted for any remainder from the high double.
1639         * math/libm-test.inc (nearbyint): Add tests.
1640         (rint): Likewise.
1641
1642 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1643
1644         * nptl/sysdeps/powerpc/Makefile: Moved ...
1645         * sysdeps/powerpc/nptl/Makefile: ... here.
1646         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1647         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1648         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1649         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1650         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1651         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1652         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1653         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1654         * nptl/sysdeps/powerpc/tls.h: Moved ...
1655         * sysdeps/powerpc/nptl/tls.h: ... here.
1656
1657 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
1658
1659         [BZ #16681]
1660         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1661         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1662         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1663         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1664         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1665         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1666         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1667         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1668         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1669
1670 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
1671
1672         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1673
1674 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
1675
1676         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1677         defined operator.
1678
1679         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1680         $TIMEOUTFACTOR.
1681
1682 2014-06-16  Florian Weimer  <fweimer@redhat.com>
1683
1684         [BZ #17058]
1685         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1686         non-executed part of the test.
1687
1688 2014-06-16  Andreas Schwab  <schwab@suse.de>
1689
1690         * string/bits/string2.h (strdup, strndup): Update feature guard.
1691
1692 2014-06-14  David S. Miller  <davem@davemloft.net>
1693
1694         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1695
1696 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
1697
1698         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1699         that was previously under [RESET_PID].
1700         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1701
1702         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1703         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1704         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1705         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1706         (__libc_vfork): New strong alias.
1707         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1708
1709 2014-06-14 Andi Kleen  <ak@linux.intel.com>
1710
1711         * sysdeps/generic/elide.h: New file.
1712
1713 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1714
1715         * Makefile (installed-headers): Adjust path of pthread.h header.
1716
1717 2014-06-13  Roland McGrath  <roland@hack.frob.com>
1718
1719         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1720         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1721         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1722         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1723
1724         * nptl/sysdeps/s390/Makefile: Moved ...
1725         * sysdeps/s390/nptl/Makefile: ... here.
1726         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1727         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1728         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1729         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1730         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1731         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1732         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1733         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1734         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1735         * sysdeps/s390/nptl/pthreaddef.h: ... here.
1736         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1737         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1738         * nptl/sysdeps/s390/tls.h: Moved ...
1739         * sysdeps/s390/nptl/tls.h: ... here.
1740
1741         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1742         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1743
1744 2014-06-13  David S. Miller  <davem@davemloft.net>
1745
1746         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1747         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1748         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1749         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1750         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1751         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1752         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1753         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1754         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1755         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1756         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1757         Remove RESET_PID cpp guards.
1758         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1759         Remove RESET_PID cpp guards.
1760         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1761
1762 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
1763
1764         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1765         __sp to uintptr_t.
1766
1767 2014-06-13  Andi Kleen  <ak@linux.intel.com>
1768
1769         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1770         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1771         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1772         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1773         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1774         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1775         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1776         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1777         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1778         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1779         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1780         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1781         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1782         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1783         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1784         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1785         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1786         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1787         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1788         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1789
1790         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1791         (pthread_rwlock_rdlock): Add elision.
1792         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1793         (pthread_rwlock_wrlock): Add elision.
1794         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1795         (pthread_rwlock_trywrlock): Add elision.
1796         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1797         (pthread_rwlock_tryrdlock): Add elision.
1798         * nptl/pthread_rwlock_unlock.c: Include elide.h.
1799         (pthread_rwlock_tryrdlock): Add elision unlock.
1800         * nptl/sysdeps/pthread/pthread.h:
1801         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1802         (PTHREAD_RWLOCK_INITIALIZER,
1803         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1804         Handle new elision field.
1805         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1806         * sysdeps/arm/nptl/bits/pthreadtypes.h
1807         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1808         * sysdeps/sh/nptl/bits/pthreadtypes.h
1809         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1810         * sysdeps/tile/nptl/bits/pthreadtypes.h
1811         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1812         * sysdeps/a/nptl/bits/pthreadtypes.h
1813         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1814         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1815         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1816         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1817         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1818         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1819         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1820         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1821         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1822         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1823         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1824         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1825         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1826         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1827         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1828         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1829         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1830         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1831         (elision_init): Set try_xbegin to zero when no RTM.
1832         * sysdeps/x86/nptl/bits/pthreadtypes.h
1833         (pthread_rwlock_t): Change __pad1 to __rwelision.
1834         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1835
1836 2014-06-13  Andi Kleen  <ak@linux.intel.com>
1837
1838         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1839         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1840         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1841         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1842
1843 2014-06-13  Meador Inge  <meadori@codesourcery.com>
1844
1845         [BZ #16996]
1846         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1847         that the cached result has been set before returning it.
1848
1849 2014-06-12  Roland McGrath  <roland@hack.frob.com>
1850
1851         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1852         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1853         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1854         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1855         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1856         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1857
1858         * nptl/sysdeps/sparc/Makefile: Moved ...
1859         * sysdeps/sparc/nptl/Makefile: ... here.
1860         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1861         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1862         * nptl/sysdeps/sparc/tls.h: Moved ...
1863         * sysdeps/sparc/nptl/tls.h: ... here.
1864         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1865         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1866         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1867         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1868         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1869         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1870         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1871         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1872         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1873         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1874         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1875         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1876         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1877         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1878         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1879         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1880         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1881         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1882         Update #include.
1883         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1884         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1885         Update #include.
1886         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1887         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1888         Update #include.
1889         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1890         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1891         Update #include.
1892
1893         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1894
1895         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1896         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1897
1898         * sysdeps/pthread/posix-timer.h: Include <list.h>.
1899         (struct list_links): Type removed.
1900         (struct thread_node, struct timer_node): Replace struct list_links
1901         with struct list_head.
1902         (list_unlink_ip): Likewise.
1903         * sysdeps/pthread/timer_routines.c
1904         (timer_free_list, thread_free_list, thread_active_list): Likewise.
1905         (list_append, list_insbefore): Likewise.
1906         (list_init): Function removed.
1907         (thread_init, init_module): Use INIT_LIST_HEAD instead.
1908         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1909         * sysdeps/pthread/Makefile: ... here, new file.
1910
1911         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1912         * sysdeps/nptl/Implies: ... here.
1913         * sysdeps/unix/sysv/linux/Implies: Add nptl.
1914         * nptl/sysdeps/pthread/list.h: Moved ...
1915         * include/list.h: ... here.
1916         * nptl/sysdeps/pthread/createthread.c: Moved ...
1917         * nptl/createthread.c: ... here.
1918         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1919         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1920         * nptl/pt-longjmp.c: ... here.
1921         * nptl/sysdeps/pthread/Makefile: Moved ...
1922         * sysdeps/nptl/Makefile: ... here.
1923         * nptl/sysdeps/pthread/Subdirs: Moved ...
1924         * sysdeps/nptl/Subdirs: ... here.
1925         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1926         * sysdeps/nptl/aio_misc.h: ... here.
1927         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1928         * sysdeps/nptl/bits/libc-lock.h: ... here.
1929         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1930         * sysdeps/nptl/bits/libc-lockP.h: ... here.
1931         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1932         * sysdeps/nptl/bits/stdio-lock.h: ... here.
1933         * nptl/sysdeps/pthread/configure: Moved ...
1934         * sysdeps/nptl/configure: ... here.
1935         * nptl/sysdeps/pthread/configure.ac: Moved ...
1936         * sysdeps/nptl/configure.ac: ... here.
1937         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1938         * sysdeps/nptl/gai_misc.h: ... here.
1939         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1940         * sysdeps/nptl/librt-cancellation.c: ... here.
1941         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1942         * sysdeps/nptl/malloc-machine.h: ... here.
1943         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1944         * sysdeps/nptl/pthread-functions.h: ... here.
1945         * nptl/sysdeps/pthread/pthread.h: Moved ...
1946         * sysdeps/nptl/pthread.h: ... here.
1947         * nptl/sysdeps/pthread/setxid.h: Moved ...
1948         * sysdeps/nptl/setxid.h: ... here.
1949         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1950         * sysdeps/nptl/sigfillset.c: ... here.
1951         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1952         * sysdeps/nptl/tcb-offsets.h: ... here.
1953         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1954         * sysdeps/nptl/tst-mqueue8x.c: ... here.
1955         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1956         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1957         * nptl/sysdeps/pthread/allocalim.h: Moved ...
1958         * sysdeps/pthread/allocalim.h: ... here.
1959         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1960         * sysdeps/pthread/bits/sigthread.h: ... here.
1961         * nptl/sysdeps/pthread/flockfile.c: Moved ...
1962         * sysdeps/pthread/flockfile.c: ... here.
1963         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1964         * sysdeps/pthread/ftrylockfile.c: ... here.
1965         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1966         * sysdeps/pthread/funlockfile.c: ... here.
1967         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1968         * sysdeps/pthread/posix-timer.h: ... here.
1969         * nptl/sysdeps/pthread/timer_create.c: Moved ...
1970         * sysdeps/pthread/timer_create.c: ... here.
1971         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1972         * sysdeps/pthread/timer_delete.c: ... here.
1973         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1974         * sysdeps/pthread/timer_getoverr.c: ... here.
1975         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1976         * sysdeps/pthread/timer_gettime.c: ... here.
1977         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1978         * sysdeps/pthread/timer_routines.c: ... here.
1979         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1980         * sysdeps/pthread/timer_settime.c: ... here.
1981         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1982         * sysdeps/pthread/tst-timer.c: ... here.
1983         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1984         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1985
1986         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1987         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1988
1989         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1990         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1991         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1992         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1993         Update #include target.
1994         * nptl/sysdeps/i386/i686/Makefile: Moved ...
1995         * sysdeps/i386/i686/nptl/Makefile: ... here.
1996         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1997         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1998         Update #include target.
1999         * nptl/sysdeps/i386/i686/tls.h: Moved ...
2000         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
2001         * nptl/sysdeps/i386/Makefile: Moved ...
2002         * sysdeps/i386/nptl/Makefile: ... here.
2003         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2004         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2005         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2006         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2007         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2008         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2009         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2010         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2011         * sysdeps/i386/nptl/pthreaddef.h: ... here.
2012         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2013         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2014         * nptl/sysdeps/i386/tls.h: Moved ...
2015         * sysdeps/i386/nptl/tls.h: ... here.
2016
2017         * sysdeps/sh/Makefile [$(subdir) = csu]
2018         (gen-as-const-headers): Add tcb-offsets.sym.
2019         * nptl/sysdeps/sh/Makefile: File removed.
2020         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2021         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2022         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2023         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2024         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2025         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2026         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2027         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2028         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2029         * sysdeps/sh/nptl/pthreaddef.h: ... here.
2030         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2031         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2032         * nptl/sysdeps/sh/tls.h: Moved ...
2033         * sysdeps/sh/nptl/tls.h: ... here.
2034         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2035         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2036         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2037         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2038         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2039         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2040         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2041         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2042         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2043         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2044         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2045         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2046         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2047         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2048         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2049         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2050         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2051         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2052         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2053         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2054         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2055         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2056         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2057         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2058         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2059         Moved ...
2060         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2061         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2062         Moved ...
2063         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2064         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2065         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2066         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2067         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2068         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2069         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2070         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2071         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2072         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2073         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2074         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2075         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2076         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2077         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2078         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2079         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2080         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2081         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2082
2083 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2084
2085         * posix/spawn_faction_addopen.c: Include string.h.
2086
2087 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2088
2089         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2090         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2091         * nptl/sysdeps/x86_64/Makefile: Moved ...
2092         * sysdeps/x86_64/nptl/Makefile: ... here.
2093         * nptl/sysdeps/x86_64/configure: Moved ...
2094         * sysdeps/x86_64/nptl/configure: ... here.
2095         * nptl/sysdeps/x86_64/configure.ac: Moved ...
2096         * sysdeps/x86_64/nptl/configure.ac: ... here.
2097         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2098         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2099         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2100         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2101         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2102         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2103         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2104         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2105         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2106         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2107         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2108         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2109         * nptl/sysdeps/x86_64/tls.h: Moved ...
2110         * sysdeps/x86_64/nptl/tls.h: ... here.
2111         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2112         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2113         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2114         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2115
2116         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2117
2118 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2119
2120         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2121
2122 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
2123
2124         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2125         type.
2126         [POSIX] (off_t): Likewise.
2127         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2128         [POSIX] (S_ISBLK): Require macro.
2129         [POSIX] (S_ISCHR): Likewise.
2130         [POSIX] (S_ISDIR): Likewise.
2131         [POSIX] (S_ISFIFO): Likewise.
2132         [POSIX] (S_ISREG): Likewise.
2133         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2134         optional-macro.
2135         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2136         type.
2137         [POSIX] (time_t): Likewise.
2138         [POSIX] (timer_t): Likewise.
2139
2140 2014-06-11  Florian Weimer  <fweimer@redhat.com>
2141
2142         [BZ #17048]
2143         * posix/spawn_int.h (struct __spawn_action): Make the path string
2144         non-const to support deallocation.
2145         * posix/spawn_faction_addopen.c
2146         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2147         * posix/spawn_faction_destroy.c
2148         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
2149         path in all spawn_do_open actions.
2150         * posix/tst-spawn.c (do_test): Exercise the copy operation in
2151         posix_spawn_file_actions_addopen.
2152
2153 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
2154
2155         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2156         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2157         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2158         conditional code always true.
2159         (__libc_vfork): New alias.
2160
2161 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2162
2163         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2164         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2165
2166         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2167
2168         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2169         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2170
2171         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2172         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2173
2174         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2175         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2176
2177 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2178
2179         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2180         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2181         multiarch strcmp for PPC64.
2182         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2183         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2184         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2185         multiarch optimizations.
2186         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2187         (__libc_ifunc_impl_list): Likewise.
2188
2189 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2190
2191         * benchtests/scripts/validate_benchout.py: New script.
2192         * benchtests/Makefile (bench-func): Call it.
2193         * benchtests/scripts/benchout.schema.json: New file.
2194
2195 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
2196
2197         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2198         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2199         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2200         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2201         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2202         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2203         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2204         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2205         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2206         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2207         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2208         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2209         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2210         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2211         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2212         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2213         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2214         Moved ...
2215         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2216         ... here.
2217         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2218         Moved ...
2219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2221         Moved ...
2222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2223         ... here.
2224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2225         Moved ...
2226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2227         ... here.
2228         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2229         Moved ...
2230         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2231         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2232         Moved ...
2233         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2234         ... here.
2235         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2236         Moved ...
2237         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2238         ... here.
2239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2240         Moved ...
2241         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2243         Moved ...
2244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2245         ... here.
2246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2247         Moved ...
2248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2249         ... here.
2250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2251         Moved ...
2252         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2253         ... here.
2254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2255         Moved ...
2256         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2258         Moved ...
2259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2260         ... here.
2261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2262         Moved ...
2263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2264         ... here.
2265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2266         Moved ...
2267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2268         ... here.
2269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2270         Moved ...
2271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2273         Moved ...
2274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2275         ... here.
2276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2277         Moved ...
2278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2279         ... here.
2280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2281         Moved ...
2282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2284         Moved ...
2285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2286         ... here.
2287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2288         Moved ...
2289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2291         Moved ...
2292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2294         Moved ...
2295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2296         ... here.
2297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2298         Moved ...
2299         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2300         ... here.
2301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2302         Moved ...
2303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2304         ... here.
2305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2306         Moved ...
2307         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2309         Moved ...
2310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2311         ... here.
2312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2313         Moved ...
2314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2315         ... here.
2316         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2317         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2318         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2319         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2320         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2321         Moved ...
2322         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2323         ... here.
2324         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2325         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2326         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2327         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2328         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2329         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2330         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2331         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2332         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2333         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2334         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2335         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2336         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2337         Moved ...
2338         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2339         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2340         Moved ...
2341         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2342         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2343         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2344         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2345         Moved ...
2346         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2347         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2348         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2349         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2350         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2351         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2352         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2353
2354 2014-06-10  Wilco  <wdijkstr@arm.com>
2355
2356         * math/test-fenv-return.c: New file.
2357         * math/Makefile: Add new test test-fenv-return.
2358
2359 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
2360
2361         [BZ #17042]
2362         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2363         when x - 1 is zero.
2364         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2365         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2366         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2367         0.0L for an argument of 1.0L.
2368         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2369         Likewise.
2370         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2371         value when x - 1 is zero.
2372         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2373         * sysdeps/i386/fpu/libm-test-ulps: Update.
2374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2375
2376 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
2377
2378         [BZ #15119]
2379         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2380
2381 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2382
2383         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2384         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2385
2386 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2387
2388         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2389         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2390
2391         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2392         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2393
2394         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2395         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2396
2397         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2398         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2399
2400         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2401         if not already defined.
2402         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2403         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2404         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2405         (TLS_INIT_TP): Use it.
2406         (TLS_DEFINE_INIT_TP): New macro.
2407         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2408
2409 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
2410
2411         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2412         constant.
2413         [POSIX] (IXANY): Likewise.
2414         [POSIX] (OLCUC): Likewise.
2415         [POSIX || POSIX2008] (CBAUD): Do not allow.
2416         [POSIX || POSIX2008] (DEFECHO): Likewise.
2417         [POSIX || POSIX2008] (ECHOCTL): Likewise.
2418         [POSIX || POSIX2008] (ECHOKE): Likewise.
2419         [POSIX || POSIX2008] (ECHOPRT): Likewise.
2420         [POSIX || POSIX2008] (EXTA): Likewise.
2421         [POSIX || POSIX2008] (EXTB): Likewise.
2422         [POSIX || POSIX2008] (FLUSHO): Likewise.
2423         [POSIX || POSIX2008] (LOBLK): Likewise.
2424         [POSIX || POSIX2008] (PENDIN): Likewise.
2425         [POSIX || POSIX2008] (SWTCH): Likewise.
2426         [POSIX || POSIX2008] (VDISCARD): Likewise.
2427         [POSIX || POSIX2008] (VDSUSP): Likewise.
2428         [POSIX || POSIX2008] (VLNEXT): Likewise.
2429         [POSIX || POSIX2008] (VREPRINT): Likewise.
2430         [POSIX || POSIX2008] (VSTATUS): Likewise.
2431         [POSIX || POSIX2008] (VWERASE): Likewise.
2432         (B*): Change to B[0123456789]*.
2433         * conform/data/time.h-data [POSIX || UNIX98]
2434         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2435         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2436         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2437         [POSIX] (tm_*): Do not allow.
2438
2439 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
2440
2441         * Makefile (install): Don't set LANGUAGE.
2442         * Makefile.in (install): Likewise.
2443         * assert/Makefile (test-assert-ENV): Remove variable.
2444         (test-assert-perr-ENV): Likewise.
2445         * elf/Makefile (neededtest4-ENV): Likewise.
2446         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2447         [$(cross-compiling) = no]: Don't set LANGUAGE.
2448         * io/ftwtest-sh (LANG): Remove variable.
2449         * libio/Makefile (tst-widetext-ENV): Likewise.
2450         * manual/install.texi (Running make install): Don't refer to
2451         environment settings for make install.
2452         * INSTALL: Regenerated.
2453         * nptl/tst-tls6.sh: Don't set LANG.
2454         * posix/globtest.sh (LANG): Remove variable.
2455         * string/Makefile (tester-ENV): Likewise.
2456         (inl-tester-ENV): Likewise.
2457         (noinl-tester-ENV): Likewise.
2458         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2459         [$(cross-compiling) = no]: Don't set LANGUAGE.
2460         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2461         without explicit environment settings.
2462
2463 2014-06-06  Roland McGrath  <roland@hack.frob.com>
2464
2465         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2466         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2467         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2468         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2469
2470 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
2471
2472         * crypt/crypt-private.h [DOS]: Add some includes taken from the
2473         other files in the crypt directory.
2474         * crypt/crypt.c: Remove duplicate includes.
2475         * crypt/crypt-entry.c: Likewise.
2476         * crypt/crypt_util.c: Likewise.
2477
2478 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
2479
2480         * Makeconfig (run-program-env): New variable.
2481         (run-program-prefix-before-env): Likewise.
2482         (run-program-prefix-after-env): Likewise.
2483         (run-program-prefix): Define in terms of new variables.
2484         (built-program-cmd-before-env): New variable.
2485         (built-program-cmd-after-env): Likewise.
2486         (built-program-cmd): Define in terms of new variables.
2487         (test-program-prefix-before-env): New variable.
2488         (test-program-prefix-after-env): Likewise.
2489         (test-program-prefix): Define in terms of new variables.
2490         (test-program-cmd-before-env): New variable.
2491         (test-program-cmd-after-env): Likewise.
2492         (test-program-cmd): Define in terms of new variables.
2493         * Rules (make-test-out): Use $(run-program-env).
2494         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2495         (help): Do not mention environment variables.  Mention
2496         --timeoutfactor option.
2497         (timeoutfactor): New variable.
2498         (blacklist_exports): Remove function.
2499         (exports): Remove variable.
2500         (command): Do not include ${exports}.
2501         * manual/install.texi (Configuring and compiling): Do not mention
2502         test wrappers preserving environment variables.  Mention that last
2503         assignment to a variable must take precedence.
2504         * INSTALL: Regenerated.
2505         * benchtests/Makefile (run-bench): Use $(run-program-env).
2506         * catgets/Makefile ($(objpfx)test1.cat): Use
2507         $(built-program-cmd-before-env), $(run-program-env) and
2508         $(built-program-cmd-after-env).
2509         ($(objpfx)test2.cat): Do not specify environment variables
2510         explicitly.
2511         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2512         $(run-program-env) and $(built-program-cmd-after-env).
2513         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2514         $(run-program-env) and $(test-program-cmd-after-env).
2515         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2516         explicitly.
2517         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2518         run_program_env and test_program_cmd_after_env arguments.
2519         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2520         * elf/tst-pathopt.sh: Use run_program_env argument.
2521         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2522         $(test-wrapper-env) and $(run-program-env).
2523         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2524         run_program_env arguments.
2525         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2526         * intl/Makefile ($(objpfx)tst-gettext.out): Use
2527         $(test-program-prefix-before-env), $(run-program-env) and
2528         $(test-program-prefix-after-env).
2529         ($(objpfx)tst-gettext2.out): Likewise.
2530         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2531         run_program_env and test_program_prefix_after_env arguments.
2532         * intl/tst-gettext2.sh: Likewise.
2533         * intl/tst-gettext4.sh: Do not set environment variables
2534         explicitly.
2535         * intl/tst-gettext6.sh: Likewise.
2536         * intl/tst-translit.sh: Likewise.
2537         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2538         $(test-program-prefix-before-env), $(run-program-env) and
2539         $(test-program-prefix-after-env).
2540         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2541         run_program_env and test_program_prefix_after_env arguments.
2542         * math/Makefile (run-regen-ulps): Use $(run-program-env).
2543         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2544         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
2545         explicitly with each use of ${test_wrapper_env}.
2546         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2547         $(test-program-prefix-before-env), $(run-program-env) and
2548         $(test-program-prefix-after-env).
2549         * posix/tst-getconf.sh: Do not set environment variables
2550         explicitly.
2551         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2552         run_program_env and test_program_prefix_after_env arguments.
2553         * stdio-common/tst-printf.sh: Do not set environment variables
2554         explicitly.
2555         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2556         $(test-program-prefix-before-env), $(run-program-env) and
2557         $(test-program-prefix-after-env).
2558         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2559         run_program_env and test_program_prefix_after_env arguments.
2560         Split $test calls into $test_pre and $test.
2561         * timezone/Makefile (build-testdata): Use
2562         $(built-program-cmd-before-env), $(run-program-env) and
2563         $(built-program-cmd-after-env).
2564
2565 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2566
2567         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2568         strlen for non SHARED builds.
2569
2570 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2571
2572         * nptl/allocatestack.c (check_list): Inlined function...
2573         (__reclaim_stacks): ... here.
2574
2575 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
2576
2577         [BZ #15698]
2578         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2579         memory overrun.
2580
2581 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
2582
2583         * Rules (make-test-out): Include
2584         LOCPATH=$(common-objpfx)localedata in default environment.
2585         * debug/Makefile (tst-chk1-ENV): Remove variable.
2586         (tst-chk2-ENV): Likewise.
2587         (tst-chk3-ENV): Likewise.
2588         (tst-chk4-ENV): Likewise.
2589         (tst-chk5-ENV): Likewise.
2590         (tst-chk6-ENV): Likewise.
2591         (tst-lfschk1-ENV): Likewise.
2592         (tst-lfschk2-ENV): Likewise.
2593         (tst-lfschk3-ENV): Likewise.
2594         (tst-lfschk4-ENV): Likewise.
2595         (tst-lfschk5-ENV): Likewise.
2596         (tst-lfschk6-ENV): Likewise.
2597         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2598         (tst-iconv7-ENV): Likewise.
2599         * intl/Makefile (LOCPATH-ENV): Likewise.
2600         (tst-codeset-ENV): Likewise.
2601         (tst-gettext3-ENV): Likewise.
2602         (tst-gettext5-ENV): Likewise.
2603         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2604         (tst-fopenloc-ENV): Likewise.
2605         (tst-fgetws-ENV): Remove variable.
2606         (tst-ungetwc1-ENV): Likewise.
2607         (tst-ungetwc2-ENV): Likewise.
2608         (bug-ungetwc2-ENV): Likewise.
2609         (tst-swscanf-ENV): Likewise.
2610         (bug-ftell-ENV): Likewise.
2611         (tst-fgetwc-ENV): Likewise.
2612         (tst-fseek-ENV): Likewise.
2613         (tst-ftell-partial-wide-ENV): Likewise.
2614         (tst-ftell-active-handler-ENV): Likewise.
2615         (tst-ftell-append-ENV): Likewise.
2616         * posix/Makefile (tst-fnmatch-ENV): Likewise.
2617         (tst-regexloc-ENV): Likewise.
2618         (bug-regex1-ENV): Likewise.
2619         (tst-regex-ENV): Likewise.
2620         (tst-regex2-ENV): Likewise.
2621         (bug-regex5-ENV): Likewise.
2622         (bug-regex6-ENV): Likewise.
2623         (bug-regex17-ENV): Likewise.
2624         (bug-regex18-ENV): Likewise.
2625         (bug-regex19-ENV): Likewise.
2626         (bug-regex20-ENV): Likewise.
2627         (bug-regex22-ENV): Likewise.
2628         (bug-regex23-ENV): Likewise.
2629         (bug-regex25-ENV): Likewise.
2630         (bug-regex26-ENV): Likewise.
2631         (bug-regex30-ENV): Likewise.
2632         (bug-regex32-ENV): Likewise.
2633         (bug-regex33-ENV): Likewise.
2634         (bug-regex34-ENV): Likewise.
2635         (bug-regex35-ENV): Likewise.
2636         (tst-rxspencer-ENV): Likewise.
2637         (tst-rxspencer-no-utf8-ENV): Likewise.
2638         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2639         (tst-sscanf-ENV): Likewise.
2640         (tst-swprintf-ENV): Likewise.
2641         (tst-swscanf-ENV): Likewise.
2642         (test-vfprintf-ENV): Likewise.
2643         (scanf13-ENV): Likewise.
2644         (bug14-ENV): Likewise.
2645         (tst-grouping-ENV): Likewise.
2646         * stdlib/Makefile (tst-strtod-ENV): Likewise.
2647         (tst-strtod3-ENV): Likewise.
2648         (tst-strtod4-ENV): Likewise.
2649         (tst-strtod5-ENV): Likewise.
2650         (testmb2-ENV): Likewise./
2651         * string/Makefile (tst-strxfrm-ENV): Likewise.
2652         (tst-strxfrm2-ENV): Likewise.
2653         (bug-strcoll1-ENV): Likewise.
2654         (test-strcasecmp-ENV): Likewise.
2655         (test-strncasecmp-ENV): Likewise.
2656         * time/Makefile (tst-strptime-ENV): Likewise.
2657         (tst-ftime_l-ENV): Likewise.
2658         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2659         (tst-mbrtowc-ENV): Likewise.
2660         (tst-wcrtomb-ENV): Likewise.
2661         (tst-mbrtowc2-ENV): Likewise.
2662         (tst-c16c32-1-ENV): Likewise.
2663         (tst-mbsnrtowcs-ENV): Likewise.
2664
2665 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
2666
2667         * manual/resource.texi (How to get information about the memory
2668         subsystem?): Fix typo.
2669         Reported by Peon de la Parra Ivan <peon@keba.com>
2670
2671 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
2672
2673         [BZ #16882]
2674         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2675         (pthread_spin_lock): Branch out of spin loop to proper location.
2676         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2677         (pthread_spin_lock): Likewise.
2678
2679         * nptl/tst-spin4.c: New test.
2680         * nptl/Makefile (tests): Add tst-spin4.
2681
2682 2014-06-03  Andreas Schwab  <schwab@suse.de>
2683
2684         [BZ #15946]
2685         * resolv/res_send.c (send_dg): Reload file descriptor after
2686         calling reopen.
2687
2688 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
2689
2690         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2691
2692 2014-06-03  Richard Henderson  <rth@redhat.com>
2693
2694         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2695         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2696         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2697         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
2698         in the SAVE_PID block.
2699         (__libc_vfork): New alias.
2700         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2701
2702         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2703         child in registers, not on the stack.  Remove RESET_PID conditionals.
2704         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2705
2706 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2707
2708         * sysdeps/aarch64/libm-test-ulps: Regenerate.
2709
2710 2014-06-03  Wilco  <wdijkstr@arm.com>
2711
2712         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2713         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2714         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2715         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2716         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2717         Likewise.
2718
2719 2014-06-03  Wilco  <wdijkstr@arm.com>
2720
2721         * sysdeps/aarch64/fpu/math_private.h
2722         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2723         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2724         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2725         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2726         Fix declarations.
2727
2728 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2729
2730         * crypt/crypt-private.h: Include ufc-crypt.h.
2731         (__b64_from_24bit): Declare extern.
2732         * crypt/crypt_util.c(__b64_from_24bit): New function.
2733         (b64t): New static const variable.
2734         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2735         (b64t): Remove variable.
2736         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2737         * crypt/sha256-crypt.c: Include crypt-private.h.
2738         (b64t): Remove variable.
2739         (__sha256_crypt_r): Remove b64_from_24bit and replace
2740         with __b64_from_24bit.
2741         * crypt/sha512-crypt.c: Likewise.
2742
2743 2014-06-02  Roland McGrath  <roland@hack.frob.com>
2744
2745         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2746         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2747         Label the code __libc_vfork rather than __vfork.
2748         [!NOT_IN_libc] (vfork): Define as weak alias.
2749         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2750         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2751         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2752
2753 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2754
2755         * malloc/malloc.c (malloc_info): Fix format specifier for
2756         n_mmaps.
2757
2758 2014-06-02  Wilco  <wdijkstr@arm.com>
2759
2760         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2761         FPCR write.
2762
2763 2014-06-02  Wilco  <wdijkstr@arm.com>
2764
2765         [BZ #17009]
2766         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2767         Rewrite to reduce FPCR/FPSR accesses.
2768
2769 2014-06-01  David S. Miller  <davem@davemloft.net>
2770
2771         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2772
2773 2014-05-31  David S. Miller  <davem@davemloft.net>
2774
2775         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2776         to occur in round to nearest mode when |x| >= 2.0
2777
2778 2014-05-30  Richard Henderson  <rth@twiddle.net>
2779
2780         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2781         (PSEUDO_RET_NOERRNO): Remove.
2782         (ret): Don't redefine.
2783         (ret_NOERRNO): Define in terms of ret.
2784         (ret_ERRVAL): Likewise.
2785
2786         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2787         use of PSEUDO_RET; perform the error check directly.
2788
2789 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
2790
2791         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2792         with __int128_t.
2793
2794 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2795
2796         * malloc/malloc (malloc_info): Fix formatting.
2797
2798 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2799             Roland McGrath  <roland@hack.frob.com>
2800
2801         * malloc/malloc (malloc_info): Also print mmapped statistics.
2802
2803 2014-05-30  Roland McGrath  <roland@hack.frob.com>
2804
2805         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2806         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2807
2808 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
2809
2810         * malloc/malloc.c (malloc_info): Inline mi_arena.
2811
2812 2014-05-29  Richard Henderson  <rth@twiddle.net>
2813
2814         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2815         Remove comma before expanding ASM_ARGS_##nr.
2816         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2817         Make _x0 a strict output; make _x8 a strict input; adjust expansion
2818         of ASM_ARGS_##nr.
2819         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2820         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2821         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2822         (ASM_ARGS_1): Add leading comma.
2823
2824         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2825         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2826         to __errno_location.
2827         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2828         Remove the expected plt for __errno_location.
2829
2830         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2831         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2832         call to __read_tp.
2833
2834         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2835         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
2836         it and break it down.
2837         (DOCARGS_0, DOCARGS_1): Do nothing.
2838         (DOCARGS_2): Update to store into the new stack frame.
2839         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2840         (UNDOCARGS_1): Update to restore from the new stack frame.
2841         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2842         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2843
2844         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2845         (SINGLE_THREAD_P): New parameter for result regno.
2846         (PSEUDO): Update to match; use cbz instead of beq.
2847
2848         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2849         Use ENTRY to define the _nocancel entry point.  Share the syscall
2850         and syscall error check paths with the cancel path.
2851         (PSEUDO_END): New.
2852
2853         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2854         whitespace; tabs before and after asm mnemonics.
2855
2856 2014-05-29  Eric Wong  <normalperson@yhbt.net>
2857
2858         [BZ #15132]
2859         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2860         Call fstat64 or stat64 internally, depending on arguments passed.
2861         Replace stat buffer argument with file descriptor argument.
2862         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2863         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2864         Pass fd to __internal_statvfs instead of calling fstat64.
2865         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2866         Pass fd to __internal_statvfs64 instead of calling fstat64.
2867         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2868         Pass -1 to __internal_statvfs instead of calling stat64.
2869         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2870         Pass -1 to __internal_statvfs64 instead of calling stat64.
2871
2872 2014-05-28  Roland McGrath  <roland@hack.frob.com>
2873
2874         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2875         that was previously under [RESET_PID].
2876         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2877
2878         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2879         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2880
2881 2014-05-27  Roland McGrath  <roland@hack.frob.com>
2882
2883         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2884
2885         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2886         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2887
2888 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
2889
2890         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2891
2892 2014-05-27  Andreas Schwab  <schwab@suse.de>
2893
2894         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2895         TLS_INIT_TP macro.
2896         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2897         * elf/rtld.c (init_tls, dl_main): Likewise.
2898         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2899         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2900         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2901         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2902         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2903         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2904         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2905         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2906         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2907         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2908         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2909         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2910         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2911         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2912         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2913         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2914         * sysdeps/generic/tls.h: Update description.
2915
2916 2014-05-27  Will Newton  <will.newton@linaro.org>
2917
2918         [BZ #16990]
2919         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2920         and restore r2 rather than just restoring.
2921
2922 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2923
2924         [BZ #16724]
2925         * libio/tst-ftell-append.c: New test case.
2926         * libio/Makefile (tests): Add test case.
2927         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2928         append mode.
2929         * libio/wfileops.c (do_ftell_wide): Likewise.
2930
2931 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2932
2933         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2934
2935         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2936         ...
2937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2939         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2940         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2941         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2942         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2943         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2944         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2945         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2946         Moved ...
2947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2948         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2949         Moved ...
2950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2951         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2952         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2953         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2954         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2955         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2956         ...
2957         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2958         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2959         Moved ...
2960         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2961         here.
2962         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2963         ...
2964         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2965         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2966         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2967
2968         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2969         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2970         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2971         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2972
2973         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2974         merge into ...
2975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2976         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2977         ...
2978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2979         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2980         ...
2981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2982         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2983         Moved ...
2984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2985         here.
2986         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2987         Moved ...
2988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2989         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2990         Moved ...
2991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2992
2993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2994         conditional [RESET_PID].
2995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2996         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2997         removed.
2998         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2999         removed.
3000
3001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3002         <tcb-offsets.h>.
3003         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3004         (__libc_vfork): New strong alias.
3005         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3006         removed.
3007         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3008         Removed.
3009
3010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3011         <tcb-offsets.h>.
3012         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3013         (__libc_vfork): New strong alias.
3014         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3015         removed.
3016         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3017         removed.
3018
3019 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
3020
3021         * malloc/malloc.c (mi_arena): New function.
3022         (malloc_info): Remove nested function mi_arena. Call non-nosted
3023         function mi_arena.
3024
3025 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3026
3027         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3028         by insrwi.
3029         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3030         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3031         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3032         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3033         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3034         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3035         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3036
3037 2014-05-26  Andreas Schwab  <schwab@suse.de>
3038
3039         [BZ #16984]
3040         * locale/programs/repertoire.c (repertoire_read): Add slash
3041         between I18NPATH element and file name.
3042         * locale/programs/locfile.c (locfile_read): Likewise.
3043
3044 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3045
3046         * nptl/pthread_mutexattr_settype.c
3047         (__pthread_mutexattr_settype):
3048         Disable lock elision for PTHREAD_MUTEX_NORMAL.
3049
3050 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3051
3052         * nptl/tst-mutex5 (do_test):
3053         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3054
3055 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3056
3057         * benchtests/README: Document 'init' directive.
3058         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3059         BENCH_INIT.
3060         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3061         (parse_file): Recognize 'init' directive.
3062
3063 2014-05-26  Kyle McMartin  <kyle@redhat.com>
3064
3065         [BZ #16796]
3066         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3067         alignment of struct pthread.
3068
3069 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3070
3071         [BZ #16878]
3072         * nscd/netgroupcache.c (addgetnetgrentX): Look for
3073         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3074         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3075         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3076
3077 2014-05-25  Richard Henderson  <rth@twiddle.net>
3078
3079         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3080         (SINGLE_THREAD_P_PIC): Remove.
3081         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3082         (SINGLE_THREAD_P_PIC): Remove.
3083
3084         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3085         branch to syscall error ...
3086         (PSEUDO): ... here.
3087         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3088         from __local_syscall_error to .Lsyscall_error.
3089         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3090         (SYSCALL_ERROR): Update label name.
3091
3092         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3093         Do not use DOARGS/UNDOARGS.
3094         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3095         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3096         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3097         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3098         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3099
3100         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3101         block comment.
3102
3103         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3104         define if !NOT_IN_libc.
3105         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3106         define with non-default symbol versions.
3107
3108 2014-05-23  Richard Henderson  <rth@twiddle.net>
3109
3110         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3111         (vfork, __vfork): Define via compat_symbol.
3112
3113         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3114         [!HAVE_IFUNC] (vfork_compat): Remove.
3115         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3116
3117 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3118
3119         [BZ #16978]
3120         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3121         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3122         variable.
3123
3124 2014-05-23  Richard Henderson  <rth@twiddle.net>
3125
3126         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3127         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3128         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3129         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3130
3131         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3132         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3133         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3134         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3135         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3136         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3137         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3138         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3139         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3140         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3141         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3142         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3143         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3144         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3145         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3146         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3147         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3148         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3149         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3150         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3151         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3152         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3153         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3154         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3155         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3156         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3157         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3158         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3159         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3160         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3161         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3162         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3163         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3164         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3165         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3166         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3167         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3168         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3169         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3170         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3171         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3172         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3173         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3174         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3175         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3176         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3177         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3178         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3179         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3180         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3181         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3182         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3183         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3184         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3185         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3186         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3187
3188         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3189         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3190         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
3191         before exiting on error.
3192         (__libc_vfork): New strong alias.
3193         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3194         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3195
3196         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3197         that was previously under [RESET_PID].
3198         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3199
3200         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3201
3202 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3203
3204         [BZ #16977]
3205         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3206         value when x - 1 is zero.
3207         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3208         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3209         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3210         0.0L for an argument of 1.0L.
3211         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3212         Likewise.
3213         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3214         value when x - 1 is zero.
3215         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3216         * sysdeps/i386/fpu/libm-test-ulps: Update.
3217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3218
3219 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3220
3221         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3222         alphasort and versionsort.
3223
3224 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3225
3226         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3227         macro.
3228         [copysignf]: Likewise.
3229
3230 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3231
3232         * crypt/md5-crypt.c: Fix formatting.
3233
3234 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3235
3236         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3237         (b64_from_24bit): New function.
3238
3239 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3240
3241         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3242         libc_hidden_builtin_def to ifunc.
3243         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3244         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3245
3246 2014-05-21  Roland McGrath  <roland@hack.frob.com>
3247
3248         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3249         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3250
3251 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
3252
3253         * nscd/Depend (linuxthreads): Remove.
3254         (nptl): Add.
3255         * resolv/Depend (linuxthreads): Remove.
3256         * rt/Depend (linuxthreads): Remove.
3257
3258         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3259         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3260         $(common-objpfx)elf/.
3261         (link-libc-before-gnulib): Likewise.
3262         (elfobjdir): Remove variable.
3263         * Makefile (install): Use $(elf-objpfx) instead of
3264         $(common-objpfx)elf/.
3265         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3266         $(elfobjdir)/.
3267         (link-libc-deps): Likewise.
3268         ($(common-objpfx)libc.so): Likewise.
3269         ($(common-objpfx)linkobj/libc.so): Likewise.
3270         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3271         instead of $(common-objpfx)elf/.
3272         (symbolic-link-list): Likewise.
3273         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3274         [$(cross-compiling) = no]: Likewise.
3275         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3276         $(elfobjdir)/.
3277         (static-gnulib-arch): Likewise.
3278         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3279         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3280         $(common-objpfx)elf/.
3281
3282 2014-05-21  Richard Henderson  <rth@redhat.com>
3283
3284         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3285         (SINGLE_THREAD_P): Use the correct width load.  Fold
3286         into the ldr offset.
3287
3288         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3289         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3290
3291 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
3292
3293         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3294         (libgcc_s_resume): Use __attribute_used__.
3295         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3296         Likewise.
3297
3298 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3299
3300         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3301         optimization when used with float constants.
3302
3303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3304
3305 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
3306
3307         [BZ #16915]
3308         * locale/nl_langinfo_l.c: Make direct reference to every
3309         _nl_current_CATEGORY symbol.
3310         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3311         (tests-static): Add tst-langinfo-static.
3312         (tests-special): Add tst-langinfo-static.out.
3313         ($(objpfx)tst-langinfo.out): Redirect output.
3314         ($(objpfx)tst-langinfo-static.out): New.
3315         * localedata/tst-langinfo.sh: Send output to stdout.
3316         * localedata/tst-langinfo-static.c: New file.
3317
3318         [BZ #16965]
3319         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3320         when the shift amount is modulo the limb size.
3321
3322 2014-05-20  Richard Henderson  <rth@redhat.com>
3323
3324         [BZ #16967]
3325         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3326         Change type of sa_flags from unsigned int to int.
3327
3328         [BZ #16966]
3329         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3330
3331         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3332
3333 2014-05-20  Will Newton  <will.newton@linaro.org>
3334
3335         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3336         Test the return value of the system call in the nocancel case.
3337
3338 2014-05-20  Will Newton  <will.newton@linaro.org>
3339             Yvan Roux  <yvan.roux@linaro.org>
3340
3341         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3342         #include of asm/ptrace.h.
3343         (PTRACE_GET_THREAD_AREA): Remove #undef.
3344         (PTRACE_GETHBPREGS): Likewise.
3345         (PTRACE_SETHBPREGS): Likewise.
3346         (struct user_regs_struct): New structure.
3347         (struct user_fpsimd_struct): New structure.
3348         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3349         #include of asm/ptrace.h and second #include of sys/user.h.
3350         (PTRACE_GET_THREAD_AREA): Remove #undef.
3351         (PTRACE_GETHBPREGS): Likewise.
3352         (PTRACE_SETHBPREGS): Likewise.
3353         (ELF_NGREG): Use new struct user_regs_struct.
3354         (elf_fpregset_t): Use new struct user_fpsimd_struct.
3355
3356 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3357
3358         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3359         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3360
3361 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
3362
3363         [BZ #16958]
3364         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3365         membar to avoid block loads/stores to overlap previous stores.
3366
3367 2014-05-17  Richard Henderson  <rth@redhat.com>
3368
3369         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3370         Create the __##syscall_name##_nocancel entry point.
3371         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3372         Remove; let the sysdep-cancel.h code create it.
3373
3374 2014-05-17  David S. Miller  <davem@davemloft.net>
3375
3376         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3377         Protect with __USE_GNU.
3378         (TIOCSET_TEMPT): Likewise.
3379         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3380         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3381         these are already provided in bits/ioctl-types.h
3382
3383 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3384
3385         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3386         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3387
3388         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3389         Use wait4 regardless of [__NR_waitpid].
3390
3391 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
3392
3393         PR libgcc/60166
3394         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3395         (_FP_NANSIGN_Q): Set the quiet bit.
3396
3397 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
3398
3399         * benchtests/Makefile
3400         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3401         not $(common-objpfx)math/libm.so.
3402         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3403         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3404         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3405         $(common-objpfx)dlfcn/libdl.so.
3406         ($(objpfx)tst-audit8): Depend on $(libm), not
3407         $(common-objpfx)math/libm.so.
3408         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3409         not $(common-objpfx)dlfcn/libdl.so.
3410         * math/Makefile
3411         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3412         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
3413         [$(build-shared) = yes].
3414         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3415         $(common-objpfx)nptl/libpthread.so.
3416         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3417         $(common-objpfx)math/libm.so$(libm.so-version) or
3418         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3419         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3420         $(common-objpfx)dlfcn/libdl.so.
3421         * setjmp/Makefile (link-libm): Remove variable.
3422         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3423         * stdio-common/Makefile (link-libm): Remove variable.
3424         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3425         * stdlib/Makefile (link-libm): Remove variable.
3426         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3427         ($(objpfx)tst-strtod-round): Likewise.
3428         ($(objpfx)tst-tininess): Likewise.
3429         ($(objpfx)tst-strtod-underflow): Likewise.
3430         ($(objpfx)tst-strtod6): Likewise.
3431         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3432         $(libdl), not $(common-objpfx)nptl/libpthread.so and
3433         $(common-objpfx)dlfcn/libdl.so.
3434
3435 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3436
3437         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3438         BSD terminal modes definitions.
3439
3440 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3441
3442         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3443         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3444
3445         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3446         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3447         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3448         Don't do #include_next.
3449         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3450         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3451         Don't do #include_next.
3452         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3453         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3454         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3455         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3456
3457 2014-05-16  Allan McRae  <allan@archlinux.org>
3458
3459         * po/sv.po: Update Swedish translation from translation project.
3460
3461         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3462         in sed expression.
3463
3464 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
3465
3466         [BZ #16917]
3467         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3468         errno if the TIOCGPTN ioctl fails with an error different than
3469         EINVAL.
3470         * login/tst-ptsname.c: New file.
3471         * login/Makefile (tests): Add tst-ptsname.
3472
3473         [BZ #16943]
3474         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3475         and prlimit64.
3476
3477 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3478
3479         [BZ #16849]
3480         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3481         herrno to return EAI_AGAIN.
3482
3483 2014-05-14  Roland McGrath  <roland@hack.frob.com>
3484
3485         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3486         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3487         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3488         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3489         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3490         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3491         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3492         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3493         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3494         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3495         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3496         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3497         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3498         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3499         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3500         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3501         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3502         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3503         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3504         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3505         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3506         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3507         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3508         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3509         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3510         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3511         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3512         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3513         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3514         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3515         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3516         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3517         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3518         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3519         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3520         Moved ...
3521         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3522         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3523         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3524         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3525         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3526         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3527         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3528         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3529         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3530         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3531         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3532         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3533         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3534         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3535         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3536         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3537         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3538         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3539         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3540         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3541         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3542         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3543         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3544         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3545         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3546         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3547         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3548         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3549         Moved ...
3550         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3551         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3552         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3553         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3554         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3555         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3556         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3557         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3558         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3559         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3560         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3561         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3562         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3563         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3564         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3565         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3566         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3567         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3568         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3569         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3570         Moved ...
3571         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3572         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3573         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3574
3575         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3576         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3577         (libpthread-sysdep_routines): Add elision-related stuff here instead.
3578         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3579         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3580         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3581         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3582         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3583         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3584         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3585         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3586         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3587         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3588         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3589         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3590         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3591         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3592         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3593         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3594         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3595         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3596         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3597         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3598         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3599         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3600         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3601         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3602         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3603         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3604         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3605         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3606
3607         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3608         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3609
3610         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3611         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3612         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3613         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3614         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3615         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3616         Moved ...
3617         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3618         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3619         Moved ...
3620         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3621         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3622         Moved ...
3623         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3624         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3625         Moved ...
3626         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3627         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3628         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3629         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3630         Moved ...
3631         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3632         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3633         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3634         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3635         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3636         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3637         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3638         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3639         Moved ...
3640         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3641         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3642         Moved ...
3643         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3644         ... here.
3645         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3646         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3647         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3648         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3649         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3650         Moved ...
3651         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3652         ... here.
3653         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3654         Moved ...
3655         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3656         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3657         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3658         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3659         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3660         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3661         Moved ...
3662         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3663         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3664         Moved ...
3665         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3666         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3667         Moved ...
3668         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3669         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3670         Moved ...
3671         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3672         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3673         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3674         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3675         Moved ...
3676         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3677         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3678         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3679         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3680         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3681         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3682         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3683         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3684         Moved ...
3685         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3686         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3687         Moved ...
3688         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3689         ... here.
3690         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3691         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3692         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3693         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3694         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3695         Moved ...
3696         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3697         ... here.
3698         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3699         Moved ...
3700         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3701         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3702         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3703         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3704         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3705         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3706         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3707         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3708         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3709         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3710         Moved ...
3711         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3712         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3713         Moved ...
3714         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3715         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3716         Moved ...
3717         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3718         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3719         Moved ...
3720         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3721         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3722         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3723         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3724         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3725         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3726         Moved ...
3727         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3728         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3729         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3730         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3731         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3732         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3733         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3734         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3735         Moved ...
3736         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3737         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3738         Moved ...
3739         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3740         ... here.
3741         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3742         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3743         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3744         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3745         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3746         Moved ...
3747         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3748         ... here.
3749         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3750         Moved ...
3751         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3752         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3753         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3754         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3755         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3756         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3757         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3758         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3759         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3760         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3761         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3762
3763         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3764         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3765
3766         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3767         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3768
3769         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3770         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3771         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3772         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3773         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3774         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3775         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3776         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3777         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3778         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3779         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3780         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3781         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3782         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3783         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3784         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3785         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3786         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3787         Moved ...
3788         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3789         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3790         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3791         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3792         Moved ...
3793         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3794         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3795         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3796         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3797         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3798         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3799         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3800         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3801         Moved ...
3802         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3803         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3804         Moved ...
3805         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3806         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3807         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3808         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3809         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3810         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3811         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3812         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3813         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3814         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3815         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3816         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3817         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3818         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3819         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3820         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3821         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3822
3823         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3824         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3825         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3826         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3827         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3828
3829         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3830         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3831         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3832         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3833         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3834         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3835         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3836         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3837         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3838         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3839
3840         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3841         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3842
3843         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3844         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3845         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3846         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3847         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3848         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3849         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3850         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3851         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3852         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3853         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3854         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3855         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3856         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3857         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3858         Update #include.
3859         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3860         Likewise.
3861         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3862         Likewise.
3863         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3864         Likewise.
3865         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3866         Likewise.
3867         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3868         Likewise.
3869         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3870         Likewise.
3871         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3872         Likewise.
3873         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3874         Likewise.
3875         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3876         Likewise.
3877         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3878         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3879         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3880         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3881         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3882         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3883         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3884         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3885         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3886         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3887         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3888         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3889         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3890         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
3891         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
3892
3893         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3894         that was previously under [RESET_PID].
3895         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3896         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3897         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3898
3899         * sysdeps/i386/nptl/Implies: New file.
3900         * sysdeps/x86_64/nptl/Implies: New file.
3901         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3902         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3903         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3904         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3905
3906         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3907         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3908         (__libc_vfork): New strong alias.
3909         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3910         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3911
3912         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3913         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3914         (__libc_vfork): New strong alias.
3915         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3916         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3917
3918         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3919         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3920         (__libc_vfork): New strong alias.
3921         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3922         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3923         * nptl/pt-vfork.c: New file.
3924         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3925         (libpthread: GLIBC_2.20): New version set (empty).
3926
3927 2014-05-14  Will Newton  <will.newton@linaro.org>
3928
3929         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3930         rather than #if.
3931
3932 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
3933
3934         [BZ #16564]
3935         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3936         arguments with exponent 65 or above.
3937         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3938         arguments 0x1p113L or above.
3939         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3940         to arguments 0x1p107L or above.
3941         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3942         positive arguments with exponent 65 or above.
3943         * math/auto-libm-test-in: Add more tests of log1p.
3944         * math/auto-libm-test-out: Regenerated.
3945
3946         [BZ #16928]
3947         * math/s_cacos.c (__cacos): Ensure zero real part of result from
3948         non-finite arguments is +0.
3949         * math/s_cacosf.c (__cacosf): Likewise.
3950         * math/s_cacosl.c (__cacosl): Likewise.
3951         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3952         * sysdeps/i386/fpu/libm-test-ulps: Update.
3953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3954
3955         [BZ #16927]
3956         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3957         value.
3958         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3959         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3960         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3961         for explicit high bit of mantissa when testing for argument equal
3962         to 1.
3963         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3964         * sysdeps/i386/fpu/libm-test-ulps: Update.
3965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3966
3967         [BZ #16516]
3968         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3969         (__erf): Scale by 16 instead of 8 in potentially underflowing
3970         case.  Ensure exception if result actually underflows.
3971         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3972         (__erff): Scale by 16 instead of 8 in potentially underflowing
3973         case.  Ensure exception if result actually underflows.
3974         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3975         (efx8): Remove variable.
3976         (__erfl): Scale by 16 instead of 8 in potentially underflowing
3977         case.  Ensure exception if result actually underflows.
3978         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3979         (efx8): Remove variable.
3980         (__erfl): Scale by 16 instead of 8 in potentially underflowing
3981         case.  Ensure exception if result actually underflows.
3982         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3983         (efx8): Remove variable.
3984         (__erfl): Scale by 16 instead of 8 in potentially underflowing
3985         case.  Ensure exception if result actually underflows.
3986         * math/auto-libm-test-in: Add more tests of erf.
3987         * math/auto-libm-test-out: Regenerated.
3988
3989 2014-05-14  Andreas Schwab  <schwab@suse.de>
3990
3991         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3992         Remove code conditionalized on USE___THREAD.
3993
3994         * config.h.in (HAVE_PT_CHOWN): Define as 0.
3995         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3996         not definedness.
3997
3998 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
3999
4000         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4001         Define unconditionally.
4002         (__ASSUME_O_CLOEXEC): Likewise.
4003         (__ASSUME_SOCK_CLOEXEC): Likewise.
4004         (__ASSUME_IN_NONBLOCK): Likewise.
4005         (__ASSUME_PIPE2): Likewise.
4006         (__ASSUME_EVENTFD2): Likewise.
4007         (__ASSUME_SIGNALFD4): Likewise.
4008         (__ASSUME_DUP3): Likewise.
4009         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4010         (__ASSUME_DUP3): Do not define.
4011         (__ASSUME_EVENTFD2): Likewise.
4012         (__ASSUME_IN_NONBLOCK): Likewise.
4013         (__ASSUME_O_CLOEXEC): Likewise.
4014         (__ASSUME_PIPE2): Likewise.
4015         (__ASSUME_SIGNALFD4): Likewise.
4016         (__ASSUME_SOCK_CLOEXEC): Likewise.
4017         (__ASSUME_UTIMES): Undefine.
4018         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4019         (__ASSUME_UTIMES): Do not define.
4020         (__ASSUME_O_CLOEXEC): Likewise.
4021         (__ASSUME_SOCK_CLOEXEC): Likewise.
4022         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4023         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4024         0x020621].
4025         (__ASSUME_PIPE2): Likewise.
4026         (__ASSUME_EVENTFD2): Likewise.
4027         (__ASSUME_SIGNALFD4): Likewise.
4028         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4029         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4030         Do not define.
4031         (__ASSUME_EVENTFD2): Likewise.
4032         (__ASSUME_SIGNALFD4): Likewise.
4033         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4034         (__ASSUME_32BITUIDS): Likewise.
4035         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4036         (__ASSUME_IPC64): Likewise.
4037         (__ASSUME_ST_INO_64_BIT): Likewise.
4038         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4039         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4040         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4041         (__ASSUME_UTIMES): Do not define.
4042         (__ASSUME_PSELECT): Likewise.
4043         (__ASSUME_PPOLL): Likewise.
4044         (__ASSUME_O_CLOEXEC): Likewise.
4045         (__ASSUME_SOCK_CLOEXEC): Likewise.
4046         (__ASSUME_IN_NONBLOCK): Likewise.
4047         (__ASSUME_PIPE2): Likewise.
4048         (__ASSUME_EVENTFD2): Likewise.
4049         (__ASSUME_SIGNALFD4): Likewise.
4050         (__ASSUME_DUP3): Likewise.
4051         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4052         (__ASSUME_UTIMES): Likewise.
4053         (__ASSUME_O_CLOEXEC): Likewise.
4054         (__ASSUME_SOCK_CLOEXEC): Likewise.
4055         (__ASSUME_IN_NONBLOCK): Likewise.
4056         (__ASSUME_PIPE2): Likewise.
4057         (__ASSUME_EVENTFD2): Likewise.
4058         (__ASSUME_SIGNALFD4): Likewise.
4059         (__ASSUME_DUP3): Likewise.
4060         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4061         (__ASSUME_UTIMES): Likewise.
4062         (__ASSUME_O_CLOEXEC): Likewise.
4063         (__ASSUME_SOCK_CLOEXEC): Likewise.
4064         (__ASSUME_IN_NONBLOCK): Likewise.
4065         (__ASSUME_PIPE2): Likewise.
4066         (__ASSUME_EVENTFD2): Likewise.
4067         (__ASSUME_SIGNALFD4): Likewise.
4068         (__ASSUME_DUP3): Likewise.
4069         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4070         Likewise.
4071         (__ASSUME_UTIMES): Likewise.
4072         (__ASSUME_EVENTFD2): Likewise.
4073         (__ASSUME_SIGNALFD4): Likewise.
4074         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4075         (__ASSUME_O_CLOEXEC): Likewise.
4076         (__ASSUME_SOCK_CLOEXEC): Likewise.
4077         (__ASSUME_IN_NONBLOCK): Likewise.
4078         (__ASSUME_PIPE2): Likewise.
4079         (__ASSUME_EVENTFD2): Likewise.
4080         (__ASSUME_SIGNALFD4): Likewise.
4081         (__ASSUME_DUP3): Likewise.
4082         (__ASSUME_UTIMES): Undefine.
4083
4084         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4085         feclearexcept.  Remove symbol versioning code.
4086         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
4087         symbol versioning code.
4088         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
4089         symbol versioning code.
4090         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4091         feupdateenv.  Remove symbol versioning code.
4092         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4093         fegetexceptflag.  Remove symbol versioning code.
4094         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4095         fesetexceptflag.  Remove symbol versioning code.
4096         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4097         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
4098         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4099         (__posix_fadvise64_l32): Remove prototype.
4100         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4101         code.
4102
4103 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4104
4105         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4106         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4107         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4108         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4109
4110 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
4111
4112         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4113         current working directory
4114
4115 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4116
4117         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4118         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4119         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4120         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4121         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4122         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4123         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4124         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4125         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4126         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4127         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4128         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4129         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4130         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4131         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4132         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4133         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4134         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4135         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4136         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4137         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4138         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4139         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4140         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4141         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4142         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4143         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4144         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4145         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4146         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4147         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4148         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4149         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4150         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4151         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4152         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4153         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4154         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4155         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4156         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4157         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4158         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4159
4160         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4161         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4162
4163         * sysdeps/unix/sysv/linux/arm/Makefile
4164         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4165         Add rt-aeabi_unwind_cpp_pr1.
4166         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4167         Add nptl-aeabi_unwind_cpp_pr1.
4168         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4169         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4170         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4171         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4172         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4173         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4174
4175         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4176         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4177         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4178         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4179
4180         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4181         Deconditionalize the code that was previously under [RESET_PID].
4182         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4183
4184         * sysdeps/generic/exit-thread.h: New file.
4185         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4186         * include/unistd.h (__exit_thread): Remove declaration.
4187         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4188         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4189         * csu/libc-start.c: Include <exit-thread.h>.
4190         (LIBC_START_MAIN): Pass no argument to __exit_thread.
4191         * nptl/pthread_create.c: Include <exit-thread.h>.
4192         (start_thread): Call __exit_thread in place of __exit_thread_inline.
4193         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4194         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4195         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4196         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4197         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4198         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4199         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4200         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4201         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4202         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4203         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4204         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4205         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4206         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4207         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4208         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4209
4210 2014-05-13  Andreas Schwab  <schwab@suse.de>
4211
4212         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4213
4214 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
4215
4216         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4217         (__ASSUME_UTIMES): Do not condition on kernel version.
4218         (__ASSUME_PSELECT): Define unconditionally.
4219         (__ASSUME_PPOLL): Likewise.
4220         (__ASSUME_ATFCTS): Likewise.
4221         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4222         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4223         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4224         (__ASSUME_UTIMENSAT): Define unconditionally.
4225         (__ASSUME_PRIVATE_FUTEX): Likewise.
4226         (__ASSUME_FALLOCATE): Likewise.
4227         (__ASSUME_O_CLOEXEC): Likewise.
4228         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4229         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4230         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4231         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4232         (__ASSUME_IN_NONBLOCK): Likewise.
4233         (__ASSUME_PIPE2): Likewise.
4234         (__ASSUME_EVENTFD2): Likewise.
4235         (__ASSUME_SIGNALFD4): Likewise.
4236         (__ASSUME_DUP3): Likewise.
4237         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4238         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4239         (__ASSUME_AT_RANDOM): Likewise.
4240         (__ASSUME_PREADV): Likewise.
4241         (__ASSUME_PWRITEV): Likewise.
4242         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4243         (__ASSUME_F_GETOWN_EX): Define unconditionally.
4244         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4245         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4246         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4247         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4248         (__ASSUME_O_CLOEXEC): Define unconditionally.
4249         (__ASSUME_PSELECT): Do not undefine conditionally.
4250         (__ASSUME_PPOLL): Likewise.
4251         (__ASSUME_ATFCTS): Likewise.
4252         (__ASSUME_SET_ROBUST_LIST): Likewise.
4253         (__ASSUME_UTIMENSAT): Likewise.
4254         (__ASSUME_FDATASYNC): Define unconditionally.
4255         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4256         (__ASSUME_SIGFRAME_V2): Likewise.
4257         )__ASSUME_EVENTFD2): Likewise.
4258         (__ASSUME_SIGNALFD4): Likewise.
4259         (__ASSUME_PSELECT): Do not undefine conditionally.
4260         (__ASSUME_PPOLL): Likewise.
4261         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4262         (__ASSUME_PSELECT): Define unconditionally.
4263         (__ASSUME_PPOLL): Likewise.
4264         (__ASSUME_O_CLOEXEC): Likewise.
4265         (__ASSUME_SOCK_CLOEXEC): Likewise.
4266         (__ASSUME_IN_NONBLOCK): Likewise.
4267         (__ASSUME_PIPE2): Likewise.
4268         (__ASSUME_EVENTFD2): Likewise.
4269         (__ASSUME_SIGNALFD4): Likewise.
4270         (__ASSUME_DUP3): Likewise.
4271         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4272         (__ASSUME_O_CLOEXEC): Likewise.
4273         (__ASSUME_SOCK_CLOEXEC): Likewise.
4274         (__ASSUME_IN_NONBLOCK): Likewise.
4275         (__ASSUME_PIPE2): Likewise.
4276         (__ASSUME_EVENTFD2): Likewise.
4277         (__ASSUME_SIGNALFD4): Likewise.
4278         (__ASSUME_DUP3): Likewise.
4279         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4280         (__ASSUME_EVENTFD2): Likewise.
4281         (__ASSUME_SIGNALFD4): Likewise.
4282         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4283
4284 2014-05-12  Andreas Schwab  <schwab@suse.de>
4285
4286         [BZ #16932]
4287         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4288         (_nss_nis_gethostbyname4_r): Return error if item length is larger
4289         than maximum RPC packet size.
4290         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4291         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4292         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4293         (_nss_nis_getservbyport_r): Likewise.
4294
4295 2014-05-12  Will Newton  <will.newton@linaro.org>
4296
4297         * malloc/Makefile (tests): Add tst-mallopt.
4298         * malloc/tst-mallopt.c: New file.
4299
4300 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4301
4302         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4303         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4304
4305 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4306
4307         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4308         (tst-tlsmod6.so): Likewise.
4309
4310 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4311
4312         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4313
4314 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
4315
4316         [BZ #16064]
4317         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4318         and <dl-procinfo.h>.
4319         (__fegetenv): Save SSE state in envp->__eip if supported.
4320         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4321         envp->__eip if supported.
4322         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4323         and <dl-procinfo.h>.
4324         (__fesetenv): Always set __eip, __cs_selector, __opcode,
4325         __data_offset and __data_selector in environment to 0.  Set SSE
4326         state if supported.
4327         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4328         test-fenv-sse.
4329         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4330         -mfpmath=sse.
4331         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4332
4333 2014-05-09  Will Newton  <will.newton@linaro.org>
4334
4335         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4336         and libc_relro_required for ARM.
4337         * sysdeps/arm/preconfigure: Regenerate.
4338
4339 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
4340             Stefan Liebler  <stli@linux.vnet.ibm.com>
4341
4342         * config.make.in (enable-lock-elision): New Makefile variable.
4343         * configure.ac: Likewise.
4344         * configure: Regenerate.
4345         * sysdeps/s390/configure.ac:
4346         Add check for gcc transactions support.
4347         * sysdeps/s390/configure: Regenerate.
4348         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4349         Build elision files if enabled.
4350         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4351         Add lock elision support for s390.
4352         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4353         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4354         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4355         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4356         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4357         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4358         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4359         Likewise.
4360         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4361         Likewise.
4362         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4363         Likewise.
4364         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4365         Likewise.
4366         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4367         (__lll_timedlock_elision, __lll_lock_elision)
4368         (__lll_unlock_elision, __lll_trylock_elision)
4369         (lll_timedlock_elision, lll_lock_elision)
4370         (lll_unlock_elision, lll_trylock_elision): Add.
4371         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4372         (pthread_mutex_t): Add lock elision support for s390.
4373
4374 2014-05-14  Wilco  <wdijkstr@arm.com>
4375
4376         * sysdeps/arm/fclrexcpt.c: Cleanup.
4377         * sysdeps/arm/fedisblxcpt.c: Cleanup.
4378         * sysdeps/arm/feenablxcpt.c: Cleanup.
4379         * sysdeps/arm/fegetenv.c: Cleanup.
4380         * sysdeps/arm/fegetexcept.c: Cleanup.
4381         * sysdeps/arm/fegetround.c: Cleanup.
4382         * sysdeps/arm/feholdexcpt.c: Cleanup.
4383         * sysdeps/arm/fesetenv.c: Cleanup.
4384         * sysdeps/arm/fesetround.c: Cleanup.
4385         * sysdeps/arm/feupdateenv.c: Cleanup.
4386         * sysdeps/arm/fgetexcptflg.c: Cleanup.
4387         * sysdeps/arm/fraiseexcpt.c: Cleanup.
4388         * sysdeps/arm/fsetexcptflg.c: Cleanup.
4389         * sysdeps/arm/ftestexcept.c: Cleanup.
4390         * sysdeps/arm/get-rounding-mode.h: Cleanup.
4391         * sysdeps/arm/setfpucw.c: Cleanup.
4392
4393 2014-05-09  Will Newton  <will.newton@linaro.org>
4394
4395         * sysdeps/arm/armv7/strcmp.S: New file.
4396         * NEWS: Mention addition of ARMv7 optimized strcmp.
4397
4398 2014-05-08  Roland McGrath  <roland@hack.frob.com>
4399
4400         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4401         look for %.ac rather than %.in.
4402
4403         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4404         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4405         * sysdeps/mach/hurd/configure: Regenerated.
4406         * sysdeps/unix/sysv/linux/configure: Regenerated.
4407
4408         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4409
4410 2014-05-07  Steve Ellcey  <sellcey@mips.com>
4411
4412         [BZ# 16922]
4413         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4414         (LONG_SUB): Ditto.
4415         (PTR_SUB): Ditto.
4416
4417 2014-05-07  Andreas Schwab  <schwab@suse.de>
4418
4419         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4420         when skipping over non-matching result from nscd.
4421
4422 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
4423
4424         [BZ #16876]
4425         * nptl/sockperf.c (client): Check socket return value.
4426
4427         [BZ #16877]
4428         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4429         nscd security class.
4430
4431 2014-05-06  Roland McGrath  <roland@hack.frob.com>
4432
4433         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4434         * sysdeps/arm/unwind.h: ... here.
4435
4436 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
4437
4438         [BZ# 16916]
4439         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4440         Define.
4441
4442 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4443
4444         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4445         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4446         multiarch strncpy for PPC64.
4447         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4448         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4449         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4450         multiarch optimizations.
4451         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4452         (__libc_ifunc_impl_list): Likewise.
4453         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4454         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4455         multiarch stpncpy for PPC64.
4456         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4457         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4458
4459 2014-05-06  Andreas Schwab  <schwab@suse.de>
4460
4461         [BZ #16912]
4462         * gmon/mcount.c (_MCOUNT_DECL): Use
4463         atomic_compare_and_exchange_bool_acq instead of
4464         catomic_compare_and_exchange_bool_acq.
4465
4466 2014-05-05  Roland McGrath  <roland@hack.frob.com>
4467
4468         * elf/Makefile (others, install-bin): Remove pldd.
4469         (pldd-modules): Variable removed.
4470         ($(objpfx)pldd): Target removed.
4471         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4472         (others, install-bin): Append pldd here.
4473         ($(objpfx)pldd): New target.
4474
4475         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4476         to 0, so the first #if test emitted later doesn't see it undefined.
4477         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4478         * sysdeps/gnu/errlist.c: Regenerated.
4479
4480 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4481
4482         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4483         [libc_hidden_builtin_def]: Define to empty value.
4484         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4485         [libc_hidden_builtin_def]: Likewise.
4486         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4487         [libc_hidden_builtin_def]: Likewise.
4488         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4489         [libc_hidden_builtin_def]: Likewise.
4490         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4491         __redirect_memcpy and define ifunc as default hidden symbol.
4492         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4493         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4494
4495 2014-05-04  Adam Conrad  <adconrad@0c3.net>
4496
4497         * locale/iso-4217.def: Reintroduce XDR currency.
4498
4499 2014-05-04  Allan McRae  <allan@archlinux.org>
4500
4501         * po/eo.po: Update Esperanto translation from translation project.
4502
4503 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
4504
4505         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4506         and FEATURE_INDEX_MAX to 1.
4507         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4508
4509 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4510
4511         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4512         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4513         * iconvdata/big5.c (ONE_DIRECTION): Define.
4514         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4515         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4516         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4517         * iconvdata/cp932.c (ONE_DIRECTION): Define.
4518         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4519         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4520         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4521         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4522         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4523         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4524         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4525         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4526         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4527         * iconvdata/gbk.c (ONE_DIRECTION): Define.
4528         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4529         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4530         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4531         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4532         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4533         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4534         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4535         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4536         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4537         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4538         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4539         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4540         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4541         * iconvdata/iso646.c (ONE_DIRECTION): Define.
4542         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4543         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4544         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4545         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4546         * iconvdata/johab.c (ONE_DIRECTION): Define.
4547         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4548         * iconvdata/sjis.c (ONE_DIRECTION): Define.
4549         * iconvdata/t.61.c (ONE_DIRECTION): Define.
4550         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4551         * iconvdata/tscii.c (ONE_DIRECTION): Define.
4552         * iconvdata/uhc.c (ONE_DIRECTION): Define.
4553         * iconvdata/unicode.c (ONE_DIRECTION): Define.
4554         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4555         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4556         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4557
4558 2014-05-01  Roland McGrath  <roland@hack.frob.com>
4559
4560         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4561         (_IO_JUMPS_OFFSET): Define to 0.
4562
4563         * nptl/sysdeps/pthread/bits/libc-lock.h
4564         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4565         (__libc_lock_define_initialized_recursive): Always define using
4566         initializer.  Modern compilers treat uninitialized (implicit zero) and
4567         explicit zero initializers the same (i.e. put the datum in bss).
4568
4569 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4570
4571         * nscd/nscd-client.h: Include <string.h>.
4572
4573 2014-05-01  David S. Miller  <davem@davemloft.net>
4574
4575         [BZ #16885]
4576         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4577         multiple zero bytes exist at the end of a string.
4578         Reported by Aurelien Jarno <aurelien@aurel32.net>
4579
4580         * string/test-strcmp.c (check): Add explicit test for situations where
4581         there are multiple zero bytes after the first.
4582
4583 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4584
4585         [BZ #16890]
4586         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4587         when compiling wprintf.
4588         * stdio-common/tstdiomisc.c (t3): New function.
4589         (main): Call it.
4590
4591 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4592
4593         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4594         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4595         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4596         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4597
4598 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4599
4600         * stdlib/longlong.h: Updated from GCC.
4601
4602 2014-05-01  Will Newton  <will.newton@linaro.org>
4603             Bernard Ogden  <bernie.ogden@linaro.org>
4604
4605         * NEWS: Update fixed bug list.
4606
4607         [BZ #15119]
4608         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4609
4610 2014-04-30  David S. Miller  <davem@davemloft.net>
4611
4612         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4613         (libc_feholdexcept_setround_sparc_ctx): New function.
4614         (libc_fesetenv_sparc_ctx): Likewise.
4615         (libc_feupdateenv_sparc_ctx): Likewise.
4616         (libc_feholdsetround_sparc_ctx): Likewise.
4617         (libc_feholdexcept_setround_ctx): Define.
4618         (libc_feholdexcept_setroundf_ctx): Likewise.
4619         (libc_feholdexcept_setroundl_ctx): Likewise.
4620         (libc_fesetenv_ctx): Likewise.
4621         (libc_fesetenvf_ctx): Likewise.
4622         (libc_fesetenvl_ctx): Likewise.
4623         (libc_feupdateenv_ctx): Likewise.
4624         (libc_feupdateenvf_ctx): Likewise.
4625         (libc_feupdateenvl_ctx): Likewise.
4626         (libc_feresetround_ctx): Likewise.
4627         (libc_feresetroundf_ctx): Likewise.
4628         (libc_feresetroundl_ctx): Likewise.
4629         (libc_feholdsetround_ctx): Likewise.
4630         (libc_feholdsetroundf_ctx): Likewise.
4631         (libc_feholdsetroundl_ctx): Likewise.
4632
4633         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4634         with __USE_GNU instead of XOPEN cpp guards.
4635
4636         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4637         0.
4638
4639         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4640         with XOPEN cpp guards.
4641
4642 2014-04-30  Julian Brown  <julian@codesourcery.com>
4643
4644         [BZ #16888]
4645         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4646         handling.
4647
4648 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
4649
4650         [BZ #9894]
4651         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4652         Change to 2.6.32.
4653         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4654         * sysdeps/unix/sysv/linux/configure: Regenerated.
4655         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4656         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4657         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4658         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4659         * README: Update reference to required Linux kernel version.
4660         * manual/install.texi (Linux): Update reference to required Linux
4661         kernel headers version.
4662         * INSTALL: Regenerated.
4663
4664         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4665         header inclusion.
4666         [POSIX] (limits.h): Likewise.
4667         [POSIX] (math.h): Likewise.
4668         [POSIX] (sys/wait.h): Likewise.
4669         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4670         function.
4671         [POSIX] (stddef.h): Do not allow header inclusion.
4672
4673 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4674
4675         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4676
4677 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
4678
4679         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4680         Return immediately after lll_futex_wake.
4681
4682 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4683
4684         [BZ #16791]
4685         * nscd/nscd-client.h (datahead_init_common): Initialize entire
4686         structure.
4687         (datahead_init_pos): Call datahead_init_common early.
4688         (datahead_init_neg): Likewise.
4689
4690         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4691         datahead_init_neg): New functions.
4692         * nscd/aicache.c (addhstaiX): Use them.
4693         * nscd/grpcache.c (cache_addgr): Likewise.
4694         * nscd/hstcache.c (cache_addhst): Likewise.
4695         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4696         * nscd/netgroupcache.c (do_notfound): Likewise.
4697         (addgetnetgrentX): Likewise.
4698         (addinnetgrX): Likewise.
4699         * nscd/pwdcache.c (cache_addpw): Likewise.
4700         * nscd/servicescache.c (cache_addserv): Likewise.
4701
4702 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4703             Atsushi Onoe  <atsushi@onoe.org>
4704
4705         [BZ #14308]
4706         [BZ #12994]
4707         [BZ #13651]
4708         * resolv/res_query.c (__libc_res_nsearch): Return if at least
4709         one response is valid.
4710         * resolv/res_send.c (send_dg): Check for validity of other
4711         response if the current response is a referral.
4712
4713 2014-04-29  Steve Ellcey  <sellcey@mips.com>
4714
4715         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4716
4717 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
4718
4719         [BZ #16823]
4720         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4721         Always divide by positive zero when computing -Inf result.
4722         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4723         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4724
4725 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4726
4727         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4728         FPSCR if value do not change.
4729         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4730         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4731         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4732         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4733         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4734         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4735         function.
4736
4737 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
4738
4739         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4740         * sysdeps/unix/sysv/linux/hppa: Move directory from
4741         ports/systeps/unix/sysv/linux/hppa.
4742         * README: Update listing for hppa-*-linux-gnu.
4743
4744 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
4745
4746         [BZ #16754]
4747         * manual/stdio.texi (Hook functions): Fix types of stream hook
4748         functions.
4749         [BZ #16854]
4750         * socket/sys/socket.h: Fix typo in comment.
4751
4752 2014-04-28  Wilco  <wdijkstr@arm.com>
4753
4754         * sysdeps/arm/fenv_private.h: New file.
4755         * sysdeps/arm/math_private.h: New file.
4756         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4757
4758 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
4759
4760         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4761         with __int128_t.
4762         (La_x86_64_retval): Likewise.
4763
4764 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
4765
4766         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4767         fpsr if value didn't change.
4768         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4769         to fpcr if value didn't change.
4770         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4771         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4772         fpsr or fpcr if value didn't change.
4773         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4774         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4775         fpcr if value didn't change.
4776         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4777         to fpsr if value didn't change.
4778
4779 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4780
4781         * nptl/tst-sem3.c: Use test-skeleton.c
4782         (main): Rename to do_test.  Use return instead of
4783         exit.
4784         * nptl/tst-sem4.c: Use test-skeleton.c
4785         (main): Rename to do_test.
4786
4787 2014-04-22  David S. Miller  <davem@davemloft.net>
4788
4789         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4790         (struct sigaction): New struct member __glibc_reserved0, change
4791         type of sa_flags to int.
4792
4793 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
4794
4795         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4796         (COUNT_LEADING_ZEROS_0): Define for AArch64.
4797
4798 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4799
4800         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4801         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4802
4803 2014-04-22  Will Newton  <will.newton@linaro.org>
4804             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
4805
4806         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4807         (__longjmp): Add longjmp and longjmp_target SystemTap
4808         probes.
4809         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4810         (__sigsetjmp): Add setjmp SystemTap probe.
4811
4812 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
4813
4814         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4815         match manual order.
4816
4817 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4818
4819         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4820
4821         * sysdeps/powerpc/fpu/fenv_private.h
4822         (libc_feholdexcept_setroundl_ctx): Define to
4823         libc_feholdexcept_setround_ppc_ctx.
4824         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4825         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4826         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4827         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4828
4829 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
4830
4831         * sysdeps/aarch64/math-tests.h: New file.
4832
4833 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
4834
4835         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4836         New.
4837         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4838         Check and set bit_AVX2_Usable.
4839         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4840         macro.
4841         (bit_AVX2): Likewise.
4842         (index_AVX2_Usable): Likewise.
4843         (CPUID_AVX2): Likewise.
4844         (HAS_AVX2): Likewise.
4845
4846 2014-04-17  Will Newton  <will.newton@linaro.org>
4847
4848         * manual/setjmp.texi (System V contexts): Add note that
4849         calling setcontext on a context created by a call to a
4850         signal handler is undefined.  Update text to note that
4851         setcontext from a signal handler is possible but not
4852         recommended.
4853
4854         [BZ #16629]
4855         * stdlib/tst-setcontext.c: Include signal.h.
4856         (main): Check that the signal stack before and
4857         after swapcontext is the same.
4858
4859         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4860         Re-implement to restore registers in user code and avoid
4861         rt_sigreturn system call.
4862
4863 2014-04-17  Wilco  <wdijkstr@arm.com>
4864
4865         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4866         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4867         * math/test-fenv.c: Skip exception trap tests on targets which only
4868         support non-stop mode.
4869
4870 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
4871             Wilco Dijkstra  <wilco.dijkstra@arm.com>
4872
4873         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4874         (libc_feholdsetround_aarch64_ctx)
4875         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4876         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4877         (libc_feresetround_ctx, libc_feresetroundf_ctx)
4878         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4879         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4880         (libc_feresetround_noexl_ctx): Define.
4881
4882 2014-04-16  Richard Henderson  <rth@redhat.com>
4883
4884         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4885
4886         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4887         unwind tables.
4888
4889         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4890         const from the non-libc, non-ldso copy.
4891
4892         * sysdeps/alpha/libm-test-ulps: Regenerate.
4893
4894 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
4895             Wilco Dijkstra  <wilco.dijkstra@arm.com>
4896
4897         * sysdeps/aarch64/fpu/math_private.h: New file.
4898
4899 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4900
4901         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4902
4903 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
4904
4905         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4906         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4907         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4908         Intel MPX bound registers before _dl_profile_fixup.
4909         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4910         registers after _dl_profile_fixup.  Save and restore bound
4911         registers bnd0/bnd1 when calling _dl_call_pltexit.
4912         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4913         (LR_BND_OFFSET): Likewise.
4914         (LRV_BND0_OFFSET): Likewise.
4915         (LRV_BND1_OFFSET): Likewise.
4916
4917 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4918
4919         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4920         to...
4921         * sysdeps/mach/hurd/i386/tls.h: ... here.
4922         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4923         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4924         fields.
4925
4926 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4927
4928         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4929
4930 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4931
4932         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4933
4934 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4935
4936         [BZ #14770]
4937         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4938         * sysdeps/s390/configure: Regenerate.
4939
4940         [BZ #16824]
4941         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4942         Set round-to-nearest internally to reduce error accumulation.
4943
4944 2014-04-16  Alan Modra  <amodra@gmail.com>
4945
4946         [BZ #16740]
4947         [BZ #16619]
4948         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4949         * math/libm-test.inc (frexp_test_data): Add tests.
4950         * NEWS: Update fixed bug list.
4951
4952 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4953
4954         * benchtests/Makefile: Depend on libraries in build directory.
4955         (bench-math): Separate out math tests.
4956         (bench-pthread): Separate out pthread tests.
4957         (bench): Include math and pthread tests.
4958
4959 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
4960
4961         [BZ #16831]
4962         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4963         _dl_debug_initialize.
4964
4965         * configure.ac: Remove SELinux header check.
4966         * configure: Regenerate.
4967         * nscd/selinux.c (perms): Array of const char* to permission names.
4968         (nscd_request_avc_has_perm): Call security_deny_unknown to find
4969         default policy. Call string_to_security_class and string_to_av_perm to
4970         translate strings. Enforce default policy and call avs_has_perm with
4971         results of translated strings.
4972
4973 2014-04-13  David S. Miller  <davem@davemloft.net>
4974
4975         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4976
4977 2014-04-12  Allan McRae  <allan@archlinux.org>
4978
4979         [BZ #16838]
4980         * manual/string.texi (Collation Functions): Fix qsort argument
4981         order in example.
4982         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4983
4984 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
4985
4986         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4987         Make the test a no-op if there are no exceptions defined.
4988
4989 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4990
4991         * elf/Makefile (tests): make tst-dlopen-aout conditional on
4992         enable-hardcoded-path-in-tests
4993
4994 2014-04-11  Will Newton  <will.newton@linaro.org>
4995
4996         * benchtests/Makefile (extra-objs): Add json-lib.o.
4997         (bench-func): Tidy up JSON output.
4998         * benchtests/bench-skeleton.c: Include json-lib.h.
4999         (main): Use JSON library functions to do output of
5000         benchmark results.
5001         * benchtests/bench-timing-type.c (main): Output the
5002         timing type simply, leaving formatting to the user.
5003         * benchtests/json-lib.c: New file.
5004         * benchtests/json-lib.h: Likewise.
5005
5006 2014-04-11  Torvald Riegel  <triegel@redhat.com>
5007
5008         [BZ #15215]
5009         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5010         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
5011         memory barriers.  Add comments.
5012         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5013         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5014         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5015         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5016         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5017         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5018
5019 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5020
5021         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5022         * sysdeps/s390/s390-64/configure.ac: ... this ...
5023         * sysdeps/s390/configure.ac: ... to here.
5024         * sysdeps/s390/s390-32/configure: Delete file.
5025         * sysdeps/s390/s390-64/configure: Delete file.
5026         * sysdeps/s390/configure: Regenerate.
5027
5028 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
5029
5030         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5031
5032 2014-04-11  Will Newton  <will.newton@linaro.org>
5033
5034         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5035         to zero if it is not defined elsewhere.  (mtrim): Test
5036         the value of MALLOC_DEBUG with #if rather than #ifdef.
5037
5038 2014-04-10 Torvald Riegel  <triegel@redhat.com>
5039
5040         * benchtests/pthread_once-inputs: New file.
5041         * benchtests/pthread_once-source.c: New file.
5042         * benchtests/README: Update documentation.
5043
5044 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
5045             H.J. Lu  <hongjiu.lu@intel.com>
5046
5047         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5048         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5049         * sysdeps/x86_64/configure: Regenerated.
5050         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5051         macro.
5052         (REGISTER_SAVE_RAX): Likewise.
5053         (REGISTER_SAVE_RCX): Likewise.
5054         (REGISTER_SAVE_RDX): Likewise.
5055         (REGISTER_SAVE_RSI): Likewise.
5056         (REGISTER_SAVE_RDI): Likewise.
5057         (REGISTER_SAVE_R8): Likewise.
5058         (REGISTER_SAVE_R9): Likewise.
5059         (REGISTER_SAVE_BND0): Likewise.
5060         (REGISTER_SAVE_BND1): Likewise.
5061         (REGISTER_SAVE_BND2): Likewise.
5062         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
5063         bound registers when calling _dl_fixup.
5064
5065 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5066
5067         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5068         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5069         of its definition.
5070         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5071         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5072         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5073         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5074         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5075         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5076         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5077
5078 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
5079
5080         [BZ #15514]
5081         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5082         pathconf(_PC_NAME_MAX).
5083
5084 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5085
5086         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5087         Remove macro usage.
5088         (__PTHREAD_SPINS): Move definition to ...
5089         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5090         (__PTHREAD_SPINS): ... here.
5091         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5092         (__PTHREAD_SPIN): Likewise.
5093         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5094         (__PTHREAD_SPIN): Likewise.
5095         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5096         (__PTHREAD_SPIN): Likewise.
5097         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5098         (__PTHREAD_SPIN): Likewise.
5099         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5100         (__PTHREAD_SPIN): Likewise.
5101         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5102         (__PTHREAD_SPIN): Likewise.
5103         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5104         (__PTHREAD_SPIN): Likewise.
5105         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5106         (__PTHREAD_SPIN): Likewise.
5107         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5108         (__PTHREAD_SPIN): Likewise.
5109         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5110         (__PTHREAD_SPIN): Likewise.
5111         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5112         (__PTHREAD_SPIN): Likewise.
5113         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5114         (__PTHREAD_SPIN): Likewise.
5115
5116         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5117         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5118         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5119         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5120         imply folder.
5121         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5122         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5123         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5124         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5125         correct imply path.
5126         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5127         strlen symbol for non multi-arch builds.
5128         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5129         missing hidden_def and weak_alias.
5130
5131 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
5132
5133         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5134
5135 2014-04-07  Will Newton  <will.newton@linaro.org>
5136
5137         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5138         and contents.  [!_LIBC] Remove #ifndef and contents.
5139         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
5140         * string/memccpy.c (__memccpy): Use ANSI prototype.
5141         * string/memfrob.c (memfrob): Likewise.
5142         * string/strcoll.c (STRCOLL): Likewise.
5143         * string/strlen.c (strlen): Likewise.
5144         * string/strtok.c (STRTOK): Likewise.
5145         * string/strcat.c: Remove unused #include of memcopy.h.
5146         (strcat): Use ANSI prototype.
5147         * string/strchr.c: Remove unused #include of memcopy.h.
5148         (strchr): Use ANSI prototype.
5149         * string/strcmp.c: Remove unused #include of memcopy.h.
5150         (strcmp): Use ANSI prototype.
5151         * string/strcpy.c: Remove unused #include of memcopy.h.
5152         (strcpy): Use ANSI prototype.
5153
5154 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5155
5156         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5157         * config.make.in (config-extra-cppflags): Set it from
5158         libc_extra_cppflags.
5159         * configure.ac (libc_extra_cflags): Make it accumulate over
5160         configure fragments.
5161         (libc_extra_cppflags): New flag.
5162         * configure. Regenerate.
5163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5164         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5165         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5167
5168         [BZ #16815]
5169         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5170         result for FE_DOWNWARD rounding mode.
5171         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5172         Likewise.
5173         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5174
5175 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
5176
5177         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5178         in function argument name.
5179
5180 2014-04-03  David Svoboda  <svoboda@cert.org>
5181
5182         [BZ #5666]
5183         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5184         explicitly.
5185
5186 2014-04-03  Roland McGrath  <roland@hack.frob.com>
5187
5188         * elf/dl-unmap-segments.h: New file.
5189         * sysdeps/generic/ldsodefs.h
5190         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5191         * elf/dl-close.c: Include <dl-unmap-segments.h>.
5192         * elf/dl-fptr.c: Likewise.
5193         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5194         * sysdeps/aarch64/tlsdesc.c: Likewise.
5195         * sysdeps/arm/tlsdesc.c: Likewise.
5196         * sysdeps/i386/tlsdesc.c: Likewise.
5197         * sysdeps/tile/dl-runtime.c: Likewise.
5198         * sysdeps/x86_64/tlsdesc.c: Likewise.
5199         * elf/dl-load.h: New file.
5200         * elf/dl-load.c: Include it.
5201         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5202         Macros moved to dl-load.h.
5203         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5204         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5205         Use _dl_unmap_segments in place of __munmap.
5206         Break out segment-mapping loop into ...
5207         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5208
5209 2014-04-03  Will Newton  <will.newton@linaro.org>
5210
5211         * elf/dl-lookup.c (do_lookup_x): Remove comment
5212         referring to nested function and move variable
5213         declarations down to before first use.
5214
5215 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
5216
5217         [BZ #16799]
5218         [BZ #16800]
5219         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5220         with 0 numerator.
5221         * math/s_catanf.c (__catanf): Likewise.
5222         * math/s_catanh.c (__catanh): Likewise.
5223         * math/s_catanhf.c (__catanhf): Likewise.
5224         * math/s_catanhl.c (__catanhl): Likewise.
5225         * math/s_catanl.c (__catanl): Likewise.
5226         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5227         by positive zero when computing -Inf result.
5228         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5229         (catanh_test): Likewise.
5230         * sysdeps/i386/fpu/libm-test-ulps: Update.
5231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5232
5233         [BZ #16789]
5234         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5235         instead of using underflowing value in computing result.
5236         * math/s_clog10.c (__clog10): Likewise.
5237         * math/s_clog10f.c (__clog10f): Likewise.
5238         * math/s_clog10l.c (__clog10l): Likewise.
5239         * math/s_clogf.c (__clogf): Likewise.
5240         * math/s_clogl.c (__clogl): Likewise.
5241         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5242         (clog10_test): Likewise.
5243         * sysdeps/i386/fpu/libm-test-ulps: Update.
5244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5245
5246 2014-04-02  Alan Modra  <amodra@gmail.com>
5247
5248         [BZ #16739]
5249         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5250         output when value is near a power of two.  Use int64_t for lx and
5251         remove casts.  Use decimal rather than hex exponent constants.
5252         Don't use long double multiplication when double will suffice.
5253         * math/libm-test.inc (nextafter_test_data): Add tests.
5254         * NEWS: Add 16739 and 16786 to bug list.
5255
5256         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5257
5258         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5259
5260 2014-04-01  Will Newton  <will.newton@linaro.org>
5261
5262         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5263         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
5264
5265 2014-04-01  Florian Weimer  <fweimer@redhat.com>
5266
5267         [BZ #13347]
5268         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5269         * nptl/tst-setuid2.c: New file.
5270         * nptl/Makefile (xtests): Add tst-setuid2.
5271
5272 2014-04-01  Alan Modra  <amodra@gmail.com>
5273
5274         [BZ #16786]
5275         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5276
5277 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5278
5279         [BZ #6803]
5280         [BZ #6804]
5281         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5282         set errno as appropriate.
5283         * math/w_scalbf.c (__scalbf): Likewise.
5284         * math/w_scalbl.c (__scalbl): Likewise.
5285         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5286         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5287         * math/libm-test.inc (scalb_test_data): Add errno expectations.
5288         Add more NaN tests.
5289
5290         [BZ #16349]
5291         * math/w_atan2.c: Include <errno.h>.
5292         (__atan2): Set errno for result underflowing to zero.
5293         * math/w_atan2f.c: Include <errno.h>.
5294         (__atan2f): Set errno for result underflowing to zero.
5295         * math/w_atan2l.c: Include <errno.h>.
5296         (__atan2l): Set errno for result underflowing to zero.
5297         * math/auto-libm-test-in: Don't allow missing errno for some atan2
5298         tests.
5299         * math/auto-libm-test-out: Regenerated.
5300
5301 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5302
5303         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5304         Encode instruction correctly in little endian.
5305         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5306         Likewise.
5307         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5308         Likewise.
5309         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5310         Likewise.
5311         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5312         Likewise.
5313
5314 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5315
5316         [BZ #9894]
5317         * sysdeps/unix/sysv/linux/kernel-features.h
5318         [__sparc__ && !__arch64__ && !__sparc_v9__]
5319         (__ASSUME_SET_ROBUST_LIST): Do not define.
5320         [__sparc__ && !__arch64__ && !__sparc_v9__]
5321         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5322         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5323         Likewise.
5324         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5325         (__ASSUME_FUTEX_LOCK_PI): Undefine.
5326         (__ASSUME_REQUEUE_PI): Likewise.
5327         (__ASSUME_SET_ROBUST_LIST): Likewise.
5328         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5329         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5330         Undefine.
5331         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5332         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5333         Likewise.
5334         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5335         Likewise.
5336         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5337         Likewise.
5338         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5339         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5340         Undefine.
5341         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5342         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5343         Likewise.
5344
5345         [BZ #16648]
5346         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5347         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5348         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5349
5350 2014-03-31  Will Newton  <will.newton@linaro.org>
5351
5352         * benchtests/Makefile (bench): Add ffs and ffsll to list
5353         of tests.
5354         * benchtests/ffs-inputs: New file.
5355         * benchtests/ffsll-inputs: Likewise.
5356
5357 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
5358
5359         [BZ #16770]
5360         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5361         too large before casting to int.
5362         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5363         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5364         * math/libm-test.inc (scalb_test_data): Add more tests.
5365
5366 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5367
5368         * benchtests/Makefile (DETAILED_OPT): New make option.
5369         (bench-func): Run benchmark program with -d if DETAILED_OPT is
5370         set.
5371         * benchtests/bench-skeleton.c: Include stdbool.h.
5372         (main): Store and print timings per input.
5373         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5374         member to each argument value.
5375         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5376         (_print_arg_data): Initialize per-input timing to 0.
5377
5378         * benchtests/Makefile (timing-type): New binary.
5379         (bench-clean): Also remove bench-timing-type.
5380         (bench): New target for timing-type.
5381         (bench-func): Print output in JSON format.
5382         * benchtests/bench-skeleton.c (main): Print output in JSON
5383         format.
5384         * benchtests/bench-timing-type.c: New file.
5385         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5386         (TIMING_PRINT_STATS): Remove.
5387         * benchtests/scripts/bench.py (_print_arg_data): Store variant
5388         name separately.
5389
5390         * benchtests/bench-modf.c: Remove.
5391         * benchtests/modf-inputs: New inputs file.
5392
5393 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
5394
5395         [BZ #16362]
5396         * math/s_clog10.c (M_PI_LOG10E): New macro.
5397         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5398         imaginary parts are 0.
5399         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5400         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5401         imaginary parts are 0.
5402         * math/s_clog10l.c (M_PI_LOG10El): New macro.
5403         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5404         imaginary parts are 0.
5405         * math/libm-test.inc (clog10_test_data): Update expected results
5406         for when real and imaginary parts are 0.
5407
5408 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
5409
5410         * elf/dl-load.c: Finish conversion of __builtin_expect into
5411         __glibc_{un}likely.
5412
5413 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
5414
5415         [BZ #16348]
5416         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5417         1+x for argument with exponent below -67.
5418         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5419         Likewise.
5420         * math/auto-libm-test-in: Add more tests of exp.
5421         * math/auto-libm-test-out: Regenerated.
5422
5423 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5424
5425         [BZ #16759]
5426         * inet/getnetgrent_r.c (get_nonempty_val): New function.
5427         (nscd_getnetgrent): Use it.
5428
5429         [BZ #16760]
5430         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5431         of stpcpy.
5432
5433 2014-03-27  Andi Kleen  <ak@linux.intel.com>
5434
5435         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5436         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5437         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5438         (lll_robust_unlock): Remove out of line section. Use cfi
5439         intrinsics.
5440         (LLL_STUB_UNWIND_INFO*): Remove.
5441         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5442         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5443         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5444         (lll_robust_unlock): Remove out of line section. Use cfi
5445         intrinsics.
5446         (LLL_STUB_UNWIND_INFO*): Remove.
5447
5448 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5449
5450         [BZ #16758]
5451         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5452         blank values.
5453
5454 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
5455
5456         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5457
5458 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
5459
5460         [BZ #16198]
5461         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5462         fnstenv.
5463         * math/test-fenv-preserve.c: New file.
5464         * math/Makefile (tests): Add test-fenv-preserve.
5465
5466 2014-03-26  Will Newton <will.newton@linaro.org>
5467
5468         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5469
5470 2014-03-25  Roland McGrath  <roland@hack.frob.com>
5471
5472         * scripts/versionlist.awk: Partition the version sets and emit all
5473         GLIBC_* (sorted) before all others (sorted).
5474
5475 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5476
5477         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5478         GLIBC_2.2.5 version.
5479
5480 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5481
5482         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5483         calls.
5484
5485         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5486         previous change.
5487
5488         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5489
5490 2014-03-25  Andreas Schwab  <schwab@suse.de>
5491
5492         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5493         label to be used after in6ailist is initialized.
5494
5495 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5496
5497         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5498         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5499
5500 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5501
5502         [BZ #16357]
5503         [BZ #16599]
5504         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5505         min_plus_half.
5506         (fp_formats): Update initializers.
5507         (init_fp_formats): Initialize new field.
5508         (output_for_one_input_case): Allow underflow for results up to
5509         min_plus_half.
5510         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5511         * math/auto-libm-test-in: Don't mark some underflows from asin and
5512         atanh as spurious.
5513         * math/auto-libm-test-out: Regenerated.
5514         * sysdeps/i386/fpu/libm-test-ulps: Update.
5515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5516
5517 2014-03-25  Andreas Schwab  <schwab@suse.de>
5518
5519         * libio/Makefile (tst-ftell-partial-wide-ENV)
5520         (tst-ftell-active-handler-ENV): Define.
5521
5522 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
5523
5524         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5525
5526 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5527
5528         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5529
5530 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5531
5532         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5533         * sysdeps/x86_64/fpu/multiarch/e_exp.c
5534         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5535
5536 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5537
5538         [BZ #16634]
5539         * elf/dl-load.c (open_verify): Add mode parameter.
5540         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5541         (open_path): Change from boolean 'secure' to complete flag 'mode'
5542         (_dl_map_object): Adjust.
5543         * elf/Makefile (tests): Add tst-dlopen-aout.
5544         * elf/tst-dlopen-aout.c: New test.
5545
5546 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
5547
5548         [BZ #16714]
5549         * sysdeps/unix/sysv/linux/s390/bits/stat.h
5550         (struct stat): Rename member pad0 to __glibc_reserved0.
5551
5552         [BZ #16712]
5553         * sysdeps/s390/s390-32/bits/wordsize.h
5554         (__WORDSIZE32_SIZE_ULONG): New define.
5555         * sysdeps/s390/s390-64/bits/wordsize.h
5556         (__WORDSIZE32_SIZE_ULONG): Likewise.
5557         * sysdeps/generic/stdint.h (SIZE_MAX):
5558         Define as UL if __WORDSIZE32_SIZE_ULONG.
5559
5560         [BZ #16713]
5561         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5562         (__glibc_reserved0): New variable.
5563         (sa_flags): Change type to int.
5564
5565         * posix/Makefile (before-compile): Use += before-compile instead
5566         of a :=.
5567
5568         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5569         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5570
5571 2014-03-20  Andreas Schwab  <schwab@suse.de>
5572
5573         [BZ #16743]
5574         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5575         non-matching result from nscd.
5576
5577 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5578
5579         * scripts/bench.py: Moved to ...
5580         * benchtests/scripts/bench.py: ... here.
5581         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5582
5583 2014-03-24  Andreas Schwab  <schwab@suse.de>
5584
5585         [BZ #16002]
5586         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5587         alloca_account and account alloca use for struct in6ailist.
5588
5589 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5590
5591         [BZ #16284]
5592         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5593         rounding mode to recompute results that overflow to infinity or
5594         underflow to zero.
5595         * math/auto-libm-test-in: Don't mark tests as expected to fail for
5596         bug 16284.
5597         * math/auto-libm-test-out: Regenerated.
5598         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5599         (ccosh_test): Likewise.
5600         (csin_test_data): Use plus_oflow.
5601         (csin_test): Use ALL_RM_TEST.
5602         (csinh_test_data): Use plus_oflow.
5603         (csinh_test): Use ALL_RM_TEST.
5604         * sysdeps/i386/fpu/libm-test-ulps: Update.
5605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5606
5607 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
5608
5609         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5610         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5611         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5612
5613         [BZ #16731]
5614         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5615         when x - 1 is zero.
5616         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5617         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5618         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5619         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5620         argument is 1.
5621         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5622         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5623         zero.
5624         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5625         * sysdeps/i386/fpu/libm-test-ulps: Update.
5626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5627
5628 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5629
5630         * scripts/bench.pl: Remove file.
5631         * scripts/bench.py: New benchmark script.
5632         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5633         * benchtests/README: Mention python dependency.
5634         * scripts/pylintrc: New file.
5635         * scripts/pylint: New file.
5636
5637         * bits/mathdef.h: Use #ifdef instead of #if.
5638         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5639         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5640         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5641         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5642         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5643         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5644
5645 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5646             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5647
5648         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5649         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5650         and strpbrk-ppc64 objects.
5651         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5652         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5653         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5654         multiarch strpbrk for POWER7.
5655         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5656         multiarch strpbrk for PPC64.
5657         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5658         ifunc selector.
5659         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5660         strpbrk for POWER7.
5661
5662 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
5663
5664         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5665         (atan_test): Likewise.
5666         (atanh_test_data): Use NO_TEST_INLINE for two tests.
5667         (atanh_test): Use ALL_RM_TEST.
5668         (atan2_test_data): Likewise.
5669         (cabs_test): Likewise.
5670         (cacosh_test): Likewise.
5671         (carg_test): Likewise.
5672         (casin_test): Likewise.
5673         (casinh_test): Likewise.
5674         (cbrt_test): Likewise.
5675         (csqrt_test): Likewise.
5676         (erf_test): Likewise.
5677         (erfc_test): Likewise.
5678         (pow10_test): Likewise.
5679         (exp2_test): Likewise.
5680         (hypot_test): Likewise.
5681         (j0_test): Likewise.
5682         (j1_test): Likewise.
5683         (lgamma_test): Likewise.
5684         (gamma_test): Likewise.
5685         (sincos_test): Likewise.
5686         (tanh_test): Likewise.
5687         (y0_test): Likewise.
5688         (y1_test): Likewise.
5689         * sysdeps/i386/fpu/libm-test-ulps: Update.
5690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5691
5692 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5693
5694         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5695         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5696         and strcspn-ppc64 objects.
5697         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5698         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5699         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5700         multiarch strcspn for POWER7.
5701         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5702         multiarch strcspn for PPC64.
5703         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5704         ifunc selector.
5705         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5706         strcspn for POWER7.
5707
5708 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
5709
5710         * math/gen-libm-test.pl (generate_testfile): Expect only function
5711         name as argument to AUTO_TESTS_* and pass results for all rounding
5712         modes to parse_args.
5713         (parse_auto_input): Separate inputs of automatic tests from
5714         outputs before storing in %auto_tests.
5715         * math/libm-test.inc (acos_test_data): Update call to
5716         AUTO_TESTS_f_f.
5717         (acos_test): Use ALL_RM_TEST.
5718         (acos_tonearest_test_data): Remove.
5719         (acos_test_tonearest): Likewise.
5720         (acos_towardzero_test_data): Likewise.
5721         (acos_test_towardzero): Likewise.
5722         (acos_downward_test_data): Likewise.
5723         (acos_test_downward): Likewise.
5724         (acos_upward_test_data): Likewise.
5725         (acos_test_upward): Likewise.
5726         (acosh_test_data): Update call to AUTO_TESTS_f_f.
5727         (asin_test_data): Likewise.
5728         (asin_test): Use ALL_RM_TEST.
5729         (asin_tonearest_test_data): Remove.
5730         (asin_test_tonearest): Likewise.
5731         (asin_towardzero_test_data): Likewise.
5732         (asin_test_towardzero): Likewise.
5733         (asin_downward_test_data): Likewise.
5734         (asin_test_downward): Likewise.
5735         (asin_upward_test_data): Likewise.
5736         (asin_test_upward): Likewise.
5737         (asinh_test_data): Update call to AUTO_TESTS_f_f.
5738         (atan_test_data): Likewise.
5739         (atanh_test_data): Likewise.
5740         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5741         (cabs_test_data): Update call to AUTO_TESTS_c_f.
5742         (carg_test_data): Likewise.
5743         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5744         (ccos_test_data): Update call to AUTO_TESTS_c_c.
5745         (ccosh_test_data): Likewise.
5746         (cexp_test_data): Likewise.
5747         (clog_test_data): Likewise.
5748         (clog10_test_data): Likewise.
5749         (cos_test_data): Update call to AUTO_TESTS_f_f.
5750         (cos_test): Use ALL_RM_TEST.
5751         (cos_tonearest_test_data): Remove.
5752         (cos_test_tonearest): Likewise.
5753         (cos_towardzero_test_data): Likewise.
5754         (cos_test_towardzero): Likewise.
5755         (cos_downward_test_data): Likewise.
5756         (cos_test_downward): Likewise.
5757         (cos_upward_test_data): Likewise.
5758         (cos_test_upward): Likewise.
5759         (cosh_test_data): Update call to AUTO_TESTS_f_f.
5760         (cosh_test): Use ALL_RM_TEST.
5761         (cosh_tonearest_test_data): Remove.
5762         (cosh_test_tonearest): Likewise.
5763         (cosh_towardzero_test_data): Likewise.
5764         (cosh_test_towardzero): Likewise.
5765         (cosh_downward_test_data): Likewise.
5766         (cosh_test_downward): Likewise.
5767         (cosh_upward_test_data): Likewise.
5768         (cosh_test_upward): Likewise.
5769         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5770         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5771         (ctan_test_data): Likewise.
5772         (ctan_test): Use ALL_RM_TEST.
5773         (ctan_tonearest_test_data): Remove.
5774         (ctan_test_tonearest): Likewise.
5775         (ctan_towardzero_test_data): Likewise.
5776         (ctan_test_towardzero): Likewise.
5777         (ctan_downward_test_data): Likewise.
5778         (ctan_test_downward): Likewise.
5779         (ctan_upward_test_data): Likewise.
5780         (ctan_test_upward): Likewise.
5781         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5782         (ctanh_test): Use ALL_RM_TEST.
5783         (ctanh_tonearest_test_data): Remove.
5784         (ctanh_test_tonearest): Likewise.
5785         (ctanh_towardzero_test_data): Likewise.
5786         (ctanh_test_towardzero): Likewise.
5787         (ctanh_downward_test_data): Likewise.
5788         (ctanh_test_downward): Likewise.
5789         (ctanh_upward_test_data): Likewise.
5790         (ctanh_test_upward): Likewise.
5791         (erf_test_data): Update call to AUTO_TESTS_f_f.
5792         (erfc_test_data): Likewise.
5793         (exp_test_data): Likewise.
5794         (exp_test): Use ALL_RM_TEST.
5795         (exp_tonearest_test_data): Remove.
5796         (exp_test_tonearest): Likewise.
5797         (exp_towardzero_test_data): Likewise.
5798         (exp_test_towardzero): Likewise.
5799         (exp_downward_test_data): Likewise.
5800         (exp_test_downward): Likewise.
5801         (exp_upward_test_data): Likewise.
5802         (exp_test_upward): Likewise.
5803         (exp10_test_data): Update call to AUTO_TESTS_f_f.
5804         (exp10_test): Use ALL_RM_TEST.
5805         (exp10_tonearest_test_data): Remove.
5806         (exp10_test_tonearest): Likewise.
5807         (exp10_towardzero_test_data): Likewise.
5808         (exp10_test_towardzero): Likewise.
5809         (exp10_downward_test_data): Likewise.
5810         (exp10_test_downward): Likewise.
5811         (exp10_upward_test_data): Likewise.
5812         (exp10_test_upward): Likewise.
5813         (exp2_test_data): Update call to AUTO_TESTS_f_f.
5814         (expm1_test_data): Likewise.
5815         (expm1_test): Use ALL_RM_TEST.
5816         (expm1_tonearest_test_data): Remove.
5817         (expm1_test_tonearest): Likewise.
5818         (expm1_towardzero_test_data): Likewise.
5819         (expm1_test_towardzero): Likewise.
5820         (expm1_downward_test_data): Likewise.
5821         (expm1_test_downward): Likewise.
5822         (expm1_upward_test_data): Likewise.
5823         (expm1_test_upward): Likewise.
5824         (fma_test_data): Update call to AUTO_TESTS_fff_f.
5825         (fma_test): Use ALL_RM_TEST.
5826         (fma_towardzero_test_data): Remove.
5827         (fma_test_towardzero): Likewise.
5828         (fma_downward_test_data): Likewise.
5829         (fma_test_downward): Likewise.
5830         (fma_upward_test_data): Likewise.
5831         (fma_test_upward): Likewise.
5832         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5833         (j0_test_data): Update call to AUTO_TESTS_f_f.
5834         (j1_test_data): Likewise.
5835         (jn_test_data): Update call to AUTO_TESTS_if_f.
5836         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5837         (log_test_data): Update call to AUTO_TESTS_f_f.
5838         (log10_test_data): Likewise.
5839         (log1p_test_data): Likewise.
5840         (log2_test_data): Likewise.
5841         (pow_test_data): Update call to AUTO_TESTS_ff_f.
5842         (pow_tonearest_test_data): Likewise.
5843         (sin_test_data): Update call to AUTO_TESTS_f_f.
5844         (sin_test): Use ALL_RM_TEST.
5845         (sin_tonearest_test_data): Remove.
5846         (sin_test_tonearest): Likewise.
5847         (sin_towardzero_test_data): Likewise.
5848         (sin_test_towardzero): Likewise.
5849         (sin_downward_test_data): Likewise.
5850         (sin_test_downward): Likewise.
5851         (sin_upward_test_data): Likewise.
5852         (sin_test_upward): Likewise.
5853         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5854         (sinh_test_data): Update call to AUTO_TESTS_f_f.
5855         (sinh_test): Use ALL_RM_TEST.
5856         (sinh_tonearest_test_data): Remove.
5857         (sinh_test_tonearest): Likewise.
5858         (sinh_towardzero_test_data): Likewise.
5859         (sinh_test_towardzero): Likewise.
5860         (sinh_downward_test_data): Likewise.
5861         (sinh_test_downward): Likewise.
5862         (sinh_upward_test_data): Likewise.
5863         (sinh_test_upward): Likewise.
5864         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5865         (sqrt_test): Use ALL_RM_TEST.
5866         (sqrt_tonearest_test_data): Remove.
5867         (sqrt_test_tonearest): Likewise.
5868         (sqrt_towardzero_test_data): Likewise.
5869         (sqrt_test_towardzero): Likewise.
5870         (sqrt_downward_test_data): Likewise.
5871         (sqrt_test_downward): Likewise.
5872         (sqrt_upward_test_data): Likewise.
5873         (sqrt_test_upward): Likewise.
5874         (tan_test_data): Update call to AUTO_TESTS_f_f.
5875         (tan_test): Use ALL_RM_TEST.
5876         (tan_tonearest_test_data): Remove.
5877         (tan_test_tonearest): Likewise.
5878         (tan_towardzero_test_data): Likewise.
5879         (tan_test_towardzero): Likewise.
5880         (tan_downward_test_data): Likewise.
5881         (tan_test_downward): Likewise.
5882         (tan_upward_test_data): Likewise.
5883         (tan_test_upward): Likewise.
5884         (tanh_test_data): Update call to AUTO_TESTS_f_f.
5885         (tgamma_test_data): Likewise.
5886         (y0_test_data): Likewise.
5887         (y1_test_data): Likewise.
5888         (yn_test_data): Update call to AUTO_TESTS_if_f.
5889         (main): Do not call removed functions.
5890
5891 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
5892
5893         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5894         (ldexp_test_data): Remove.
5895         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
5896         scalbn_test_data.
5897         (scalb_test): Use ALL_RM_TEST.
5898
5899 2014-03-19  Andreas Schwab  <schwab@suse.de>
5900
5901         * nscd/nscd.service: Also invalidate netgroup cache on reload.
5902
5903 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
5904
5905         [BZ #16649]
5906         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5907         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5908         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5909         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5910         (__ASSUME_PREADV): Undefine.
5911         (__ASSUME_PWRITEV): Likewise.
5912
5913 2014-03-18  Roland McGrath  <roland@hack.frob.com>
5914
5915         * bits/mman-linux.h: Add comment about non-Linux use.
5916         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5917         bits/mman-linux.h resting place.
5918
5919         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5920         * bits/mman-linux.h: ... here.
5921
5922 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5923
5924         * conform/conformtest.pl: Add standard definition when calling C
5925         preprocessor on data files.
5926         (checknamespace): Remove unused variable.
5927
5928 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
5929
5930         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5931         minus_oflow, plus_uflow and minus_uflow in expected results.
5932         * math/libm-test.inc (scalbn_test_data): Add more tests of
5933         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
5934         minus_uflow.
5935         (scalbn_test): Use ALL_RM_TEST.
5936         (scalbln_test_data): Add more tests of negative arguments.  Use
5937         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5938         (scalbln_test): Use ALL_RM_TEST.
5939
5940 2014-03-18  Roland McGrath  <roland@hack.frob.com>
5941
5942         * scripts/abilist.awk: Ignore symbols marked with .hidden.
5943
5944 2014-03-18  Will Newton  <will.newton@linaro.org>
5945
5946         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5947         inaccurate comment.
5948
5949 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
5950
5951         * Makerules [!subdir] (check-abi): Exit with error status if a
5952         test failed.
5953
5954 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
5955
5956         * math/libm-test.inc (nearbyint_test_data): Include all tests used
5957         for rint.  Include results for all rounding modes.
5958         (nearbyint_test): Use ALL_RM_TEST.
5959         (rint_test_data): Include all tests used for nearbyint.
5960
5961 2014-03-17  Will Newton  <will.newton@linaro.org>
5962
5963         * nptl/sysdeps/pthread/pthread.h: Revert previous
5964         change.
5965
5966         * sysdeps/generic/ldsodefs.h: Revert previous
5967         change.
5968
5969         * libio/genops.c: Revert previous change.
5970         * libio/libioP.h: Likewise.
5971         * stdio-common/vfprintf.c: Likewise.
5972
5973         * sysdeps/generic/math_private.h: Revert previous
5974         change.
5975
5976         * sysdeps/generic/math_private.h: Check whether
5977         HAVE_RM_CTX is defined with #ifdef rather
5978         than #if.
5979
5980         * argp/argp-fmtstream.h: Check whether
5981         __STRICT_ANSI__ is defined with #ifdef rather
5982         than #if.
5983         * argp/argp.h: Likewise.
5984
5985         * libio/genops.c: Check whether
5986         _IO_JUMPS_OFFSET is defined with #ifdef rather
5987         than #if.
5988         * libio/libioP.h: Likewise.
5989         * stdio-common/vfprintf.c: Likewise.
5990
5991         * sysdeps/generic/ldsodefs.h: Check whether
5992         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5993         than #if.
5994
5995         * nptl/sysdeps/pthread/pthread.h: Check
5996         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5997         its value.
5998
5999 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6000
6001         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6002         setting O_APPEND.
6003         * libio/tst-ftell-active-handler.c (do_append_test): Add a
6004         test case.
6005
6006         [BZ #16680]
6007         * libio/fileops.c (_IO_file_open): Seek to end of file but
6008         don't cache the offset.
6009         (get_file_offset): Remove function.
6010         (do_ftell): Use cached offset when available.
6011         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6012         don't cache the offset.
6013         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6014         case.
6015         (do_one_test): Call it.
6016         (do_ftell_test): Fix up expected old offset for a+ mode.
6017         * libio/wfileops.c (do_ftell_wide): Used cached offset when
6018         available.
6019
6020         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6021         up test status with function return status.
6022         (do_write_test): Likewise.
6023         (do_append_test): Likewise.
6024
6025         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6026         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6027         Remove.
6028
6029 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6030
6031         * math/gen-libm-test.pl (parse_args): Handle results specified for
6032         each rounding mode separately.
6033         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6034         tests and results from lrint_tonearest_test_data,
6035         lrint_towardzero_test_data, lrint_downward_test_data and
6036         lrint_upward_test_data.
6037         (lrint_test): Use ALL_RM_TEST.
6038         (lrint_tonearest_test_data): Remove.
6039         (lrint_test_tonearest): Likewise.
6040         (lrint_towardzero_test_data): Likewise.
6041         (lrint_test_towardzero): Likewise.
6042         (lrint_downward_test_data): Likewise.
6043         (lrint_test_downward): Likewise.
6044         (lrint_upward_test_data): Likewise.
6045         (lrint_test_upward): Likewise.
6046         (llrint_test_data): Merge in per-rounding-mode tests and results
6047         from llrint_tonearest_test_data, llrint_towardzero_test_data,
6048         llrint_downward_test_data and llrint_upward_test_data.
6049         (llrint_test): Use ALL_RM_TEST.
6050         (llrint_tonearest_test_data): Remove.
6051         (llrint_test_tonearest): Likewise.
6052         (llrint_towardzero_test_data): Likewise.
6053         (llrint_test_towardzero): Likewise.
6054         (llrint_downward_test_data): Likewise.
6055         (llrint_test_downward): Likewise.
6056         (llrint_upward_test_data): Likewise.
6057         (llrint_test_upward): Likewise.
6058         (rint_test_data): Merge in per-rounding-mode tests and results
6059         from rint_tonearest_test_data, rint_towardzero_test_data,
6060         rint_downward_test_data and rint_upward_test_data.  Add
6061         per-rounding-mode results for tests not in those arrays.
6062         (rint_test): Use ALL_RM_TEST.
6063         (rint_tonearest_test_data): Remove.
6064         (rint_test_tonearest): Likewise.
6065         (rint_towardzero_test_data): Likewise.
6066         (rint_test_towardzero): Likewise.
6067         (rint_downward_test_data): Likewise.
6068         (rint_test_downward): Likewise.
6069         (rint_upward_test_data): Likewise.
6070         (rint_test_upward): Likewise.
6071         (main): Don't call removed functions.
6072
6073 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6074
6075         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6076         "Compiled on ..." crapola.  It is anti-useful.
6077
6078 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
6079
6080         * scripts/evaluate-test.sh: Handle fourth argument to determine
6081         whether test run should stop on failure.
6082         * Makeconfig (stop-on-test-failure): New variable.
6083         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6084         $(stop-on-test-failure).
6085         * Makefile (tests): Give a summary of results from testing and
6086         exit with failure status if they include an ERROR or FAIL.
6087         (xtests): Likewise.
6088         * manual/install.texi (Configuring and compiling): Mention
6089         stop-on-test-failure=y.
6090         * INSTALL: Regenerated.
6091
6092 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6093
6094         * scripts/versionlist.awk: New file.
6095         * Makerules [$(build-shared) = yes]
6096         (postclean-generated): Add Versions.def, not Versions.def.v and
6097         Versions.def.v.i.
6098         ($(common-objpfx)Versions.def.v.i): Target removed.
6099         ($(common-objpfx)Versions.def): New target.
6100         ($(common-objpfx)Versions.all): Depend on that rather that
6101         $(common-objpfx)Versions.def.v.
6102         * Versions.def: File removed.
6103
6104         * Makeconfig (+gccwarn): Add -Wundef.
6105         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6106         a dl-sysdep.h breaking its contract.
6107         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6108         * include/stackinfo.h: New file.
6109         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6110         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6111         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6112         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6113         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6114         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6115         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6116         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6117         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6118         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6119         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6120         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6121         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6122         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6123         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6124
6125 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6126
6127         [BZ #16707]
6128         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6129         implementation.
6130         * math/libm-test.inc (round_test_data): Add more tests.
6131
6132         [BZ #16706]
6133         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6134         implementation.
6135         * math/libm-test.inc (nearbyint_test_data): Add more tests.
6136
6137         [BZ #16701]
6138         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6139         implementation.
6140         * math/libm-test.inc (ceil_test_data): Add more tests.
6141
6142         * math/libm-test.inc (trunc_test_data): Add more tests related to
6143         BZ#16414.
6144
6145 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6146
6147         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6148         with #if rather than #ifdef.
6149         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6150
6151 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
6152
6153         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6154         first.  Disable AVX-512 GCC support if assembler doesn't support
6155         it.
6156         * sysdeps/x86_64/configure: Regenerated.
6157
6158 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
6159
6160         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6161         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6162         (__old_pthread_attr_setstack): Likewise.
6163         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6164         [!_STACK_GROWS_DOWN]: Likewise.
6165
6166 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
6167
6168         * config.make.in (have-bash2): Delete.
6169         * configure.ac (libc_cv_have_bash2): Delete.
6170         * configure: Regenerate.
6171         * elf/Makefile (common-ldd-rewrite): Rename to ...
6172         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
6173         (sh-ldd-rewrite): Delete.
6174         (bash-ldd-rewrite): Delete.
6175         (have-bash2): Delete checks.
6176         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6177         ldd-rewrite.
6178
6179         * config.make.in (have-ksh): Delete.
6180         (KSH): Delete.
6181         * configure.ac (libc_cv_have_ksh): Delete.
6182         * configure: Regenerate.
6183
6184         * elf/Makefile: Delete $(have-ksh) check.
6185         ($(objpfx)sotruss): Change KSH to BASH.
6186         * elf/sotruss.ksh: Rename to ...
6187         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
6188         function style to match POSIX.  Drop ksh vim mode setting.
6189
6190         * manual/time.texi (Specifying the Time Zone with TZ): Change
6191         Tuesday to Thursday.
6192
6193         * debug/tst-longjmp_chk2.c: Update header comment.
6194         (stackoverflow_handler): Add comment.  Call assert on pass value.
6195
6196 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
6197
6198         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6199         (HAVE_AVX512_ASM_SUPPORT): Likewise.
6200         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6201         (La_x86_64_vector): Add zmm.
6202         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6203         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6204         ($(objpfx)tst-audit10): New target.
6205         ($(objpfx)tst-audit10.out): Likewise.
6206         (tst-audit10-ENV): New.
6207         (AVX512-CFLAGS): Likewise.
6208         (CFLAGS-tst-audit10.c): Likewise.
6209         (CFLAGS-tst-auditmod10a.c): Likewise.
6210         (CFLAGS-tst-auditmod10b.c): Likewise.
6211         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6212         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6213         * sysdeps/x86_64/configure: Regenerated.
6214         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6215         AVX-512 zmm register support.
6216         (_dl_x86_64_save_sse): Likewise.
6217         (_dl_x86_64_restore_sse): Likewise.
6218         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6219         size vector registers.
6220         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6221         (ZMM_SIZE): Likewise.
6222         * sysdeps/x86_64/tst-audit10.c: New file.
6223         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6224         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6225
6226 2014-03-13  Roland McGrath  <roland@hack.frob.com>
6227
6228         * configure.ac (HAVE_EHDR_START): New check.
6229         * configure: Regenerated.
6230         * config.h.in (HAVE_EHDR_START): New #undef.
6231         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6232         assuming the lowest-addressed segment maps the start of the file.
6233
6234 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
6235
6236         * INSTALL: Regenerated.
6237
6238 2014-03-13  Will Newton  <will.newton@linaro.org>
6239
6240         * manual/setjmp.texi (System V contexts): Improve
6241         clarity and grammar of documentation.
6242
6243 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
6244
6245         [BZ #16381]
6246         * elf/Makefile (tests): Add tst-pie2.
6247         (tests-pie): Add tst-pie2.
6248         * elf/tst-pie2.c: New file.
6249         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6250         for ET_EXEC.
6251         * elf/rtld.c (map_doit): Load executable as lt_executable.
6252         (dl_main): Likewise.
6253
6254 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
6255
6256         [BZ #16642]
6257         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6258         (__ASSUME_PSELECT): Undefine.
6259
6260 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6261
6262         [BZ #16689]
6263         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6264         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6265         static build.
6266         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6267         selector for static builds.
6268
6269 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6270
6271         [BZ #16695]
6272         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6273         key in the buffer.
6274
6275 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6276
6277         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6278         IFUNC selector for static builds.
6279
6280 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
6281
6282         * sysdeps/mips/math_private.h [__mips_hard_float]
6283         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6284         libc_feresetround_mips_ctx.
6285         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6286         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6287         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6288
6289         [BZ #16677]
6290         * math/s_nextafter.c (__nextafter): Do not return value from
6291         overflowing computation.
6292         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6293         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6294         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6295         Likewise.
6296         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6297         Likewise.
6298         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6299         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6300
6301 2014-03-11  Roland McGrath  <roland@hack.frob.com>
6302
6303         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6304         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6305         Move sfi_sp use from the load-multiple (that no longer sets sp) to
6306         the new mov targetting sp.
6307
6308 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6309
6310         [BZ #16683]
6311         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6312         Define it for static builds as well.
6313         (NO_BZERO_IMPL): Likewise.
6314
6315 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6316
6317         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6318         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6319         multiarch strspn for PPC64.
6320         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6321         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6322         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6323         (__libc_ifunc_impl_list): Likewise.
6324         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6325         multiarch optimizations
6326         * string/strspn.c (strspn): Using macro to redefine symbol name.
6327
6328 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6329             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6330
6331         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6332         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6333         multiarch strncat for PPC64.
6334         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6335         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6336         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6337         (__libc_ifunc_impl_list): Likewise.
6338         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6339         multiarch optimizations
6340
6341 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6342
6343         [BZ #16639]
6344         * nscd/nscd.service: Make service type forking.
6345
6346 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6347
6348         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6349         sign in non default rounding modes.
6350         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6351
6352 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
6353
6354         * math/libm-test.inc (ALL_RM_TEST): New macro.
6355         (ceil_test): Use ALL_RM_TEST.
6356         (cimag_test): Likewise.
6357         (conj_test): Likewise.
6358         (copysign_test): Likewise.
6359         (cproj_test): Likewise.
6360         (creal_test): Likewise.
6361         (fabs_test): Likewise.
6362         (floor_test): Likewise.
6363         (fmax_test): Likewise.
6364         (fmin_test): Likewise.
6365         (fmod_test): Likewise.
6366         (fpclassify_test): Likewise.
6367         (frexp_test): Likewise.
6368         (ilogb_test): Likewise.
6369         (isfinite_test): Likewise.
6370         (finite_test): Likewise.
6371         (isgreater_test): Likewise.
6372         (isgreaterequal_test): Likewise.
6373         (isinf_test): Likewise.
6374         (isless_test): Likewise.
6375         (islessequal_test): Likewise.
6376         (islessgreater_test): Likewise.
6377         (isnan_test): Likewise.
6378         (isnormal_test): Likewise.
6379         (issignaling_test): Likewise.
6380         (isunordered_test): Likewise.
6381         (logb_test): Likewise.
6382         (logb_downward_test_data): Remove.
6383         (logb_test_downward): Likewise.
6384         (lround_test): Use ALL_RM_TEST.
6385         (llround_test): Likewise.
6386         (modf_test): Likewise.
6387         (nexttoward_test): Likewise.
6388         (remainder_test): Likewise.
6389         (drem_test): Likewise.
6390         (remainder_tonearest_test_data): Likewise.
6391         (remainder_test_tonearest): Likewise.
6392         (drem_test_tonearest): Likewise.
6393         (remainder_towardzero_test_data): Likewise.
6394         (remainder_test_towardzero): Likewise.
6395         (drem_test_towardzero): Likewise.
6396         (remainder_downward_test_data): Likewise.
6397         (remainder_test_downward): Likewise.
6398         (drem_test_downward): Likewise.
6399         (remainder_upward_test_data): Likewise.
6400         (remainder_test_upward): Likewise.
6401         (drem_test_upward): Likewise.
6402         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
6403         (round_test): Use ALL_RM_TEST.
6404         (signbit_test): Likewise.
6405         (trunc_test): Likewise.
6406         (significand_test): Likewise.
6407         (main): Don't call removed functions.
6408
6409 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6410
6411         [BZ #16674]
6412         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6413         || __USE_XOPEN2K8].
6414         (ILL_ILLOPN): Likewise.
6415         (ILL_ILLADR): Likewise.
6416         (ILL_ILLTRP): Likewise.
6417         (ILL_PRVOPC): Likewise.
6418         (ILL_PRVREG): Likewise.
6419         (ILL_COPROC): Likewise.
6420         (ILL_BADSTK): Likewise.
6421         (FPE_INTDIV): Likewise.
6422         (FPE_INTOVF): Likewise.
6423         (FPE_FLTDIV): Likewise.
6424         (FPE_FLTOVF): Likewise.
6425         (FPE_FLTUND): Likewise.
6426         (FPE_FLTRES): Likewise.
6427         (FPE_FLTINV): Likewise.
6428         (FPE_FLTSUB): Likewise.
6429         (SEGV_MAPERR): Likewise.
6430         (SEGV_ACCERR): Likewise.
6431         (BUS_ADRALN): Likewise.
6432         (BUS_ADRERR): Likewise.
6433         (BUS_OBJERR): Likewise.
6434         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6435         (TRAP_TRACE): Likewise.
6436         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6437         __USE_XOPEN2K8].
6438         (CLD_KILLED): Likewise.
6439         (CLD_DUMPED): Likewise.
6440         (CLD_TRAPPED): Likewise.
6441         (CLD_STOPPED): Likewise.
6442         (CLD_CONTINUED): Likewise.
6443         (POLL_IN): Likewise.
6444         (POLL_OUT): Likewise.
6445         (POLL_MSG): Likewise.
6446         (POLL_ERR): Likewise.
6447         (POLL_PRI): Likewise.
6448         (POLL_HUP): Likewise.
6449         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6450         Likewise.
6451         (ILL_ILLOPN): Likewise.
6452         (ILL_ILLADR): Likewise.
6453         (ILL_ILLTRP): Likewise.
6454         (ILL_PRVOPC): Likewise.
6455         (ILL_PRVREG): Likewise.
6456         (ILL_COPROC): Likewise.
6457         (ILL_BADSTK): Likewise.
6458         (FPE_INTDIV): Likewise.
6459         (FPE_INTOVF): Likewise.
6460         (FPE_FLTDIV): Likewise.
6461         (FPE_FLTOVF): Likewise.
6462         (FPE_FLTUND): Likewise.
6463         (FPE_FLTRES): Likewise.
6464         (FPE_FLTINV): Likewise.
6465         (FPE_FLTSUB): Likewise.
6466         (SEGV_MAPERR): Likewise.
6467         (SEGV_ACCERR): Likewise.
6468         (BUS_ADRALN): Likewise.
6469         (BUS_ADRERR): Likewise.
6470         (BUS_OBJERR): Likewise.
6471         (BUS_MCEERR_AR): Likewise.
6472         (BUS_MCEERR_AO): Likewise.
6473         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6474         (TRAP_TRACE): Likewise.
6475         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6476         __USE_XOPEN2K8].
6477         (CLD_KILLED): Likewise.
6478         (CLD_DUMPED): Likewise.
6479         (CLD_TRAPPED): Likewise.
6480         (CLD_STOPPED): Likewise.
6481         (CLD_CONTINUED): Likewise.
6482         (POLL_IN): Likewise.
6483         (POLL_OUT): Likewise.
6484         (POLL_MSG): Likewise.
6485         (POLL_ERR): Likewise.
6486         (POLL_PRI): Likewise.
6487         (POLL_HUP): Likewise.
6488         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6489         (ILL_ILLOPN): Likewise.
6490         (ILL_ILLADR): Likewise.
6491         (ILL_ILLTRP): Likewise.
6492         (ILL_PRVOPC): Likewise.
6493         (ILL_PRVREG): Likewise.
6494         (ILL_COPROC): Likewise.
6495         (ILL_BADSTK): Likewise.
6496         (FPE_INTDIV): Likewise.
6497         (FPE_INTOVF): Likewise.
6498         (FPE_FLTDIV): Likewise.
6499         (FPE_FLTOVF): Likewise.
6500         (FPE_FLTUND): Likewise.
6501         (FPE_FLTRES): Likewise.
6502         (FPE_FLTINV): Likewise.
6503         (FPE_FLTSUB): Likewise.
6504         (SEGV_MAPERR): Likewise.
6505         (SEGV_ACCERR): Likewise.
6506         (BUS_ADRALN): Likewise.
6507         (BUS_ADRERR): Likewise.
6508         (BUS_OBJERR): Likewise.
6509         (BUS_MCEERR_AR): Likewise.
6510         (BUS_MCEERR_AO): Likewise.
6511         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6512         (TRAP_TRACE): Likewise.
6513         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6514         __USE_XOPEN2K8].
6515         (CLD_KILLED): Likewise.
6516         (CLD_DUMPED): Likewise.
6517         (CLD_TRAPPED): Likewise.
6518         (CLD_STOPPED): Likewise.
6519         (CLD_CONTINUED): Likewise.
6520         (POLL_IN): Likewise.
6521         (POLL_OUT): Likewise.
6522         (POLL_MSG): Likewise.
6523         (POLL_ERR): Likewise.
6524         (POLL_PRI): Likewise.
6525         (POLL_HUP): Likewise.
6526         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6527         Likewise.
6528         (ILL_ILLOPN): Likewise.
6529         (ILL_ILLADR): Likewise.
6530         (ILL_ILLTRP): Likewise.
6531         (ILL_PRVOPC): Likewise.
6532         (ILL_PRVREG): Likewise.
6533         (ILL_COPROC): Likewise.
6534         (ILL_BADSTK): Likewise.
6535         (ILL_BADIADDR): Likewise.
6536         (ILL_BREAK): Likewise.
6537         (FPE_INTDIV): Likewise.
6538         (FPE_INTOVF): Likewise.
6539         (FPE_FLTDIV): Likewise.
6540         (FPE_FLTOVF): Likewise.
6541         (FPE_FLTUND): Likewise.
6542         (FPE_FLTRES): Likewise.
6543         (FPE_FLTINV): Likewise.
6544         (FPE_FLTSUB): Likewise.
6545         (FPE_DECOVF): Likewise.
6546         (FPE_DECDIV): Likewise.
6547         (FPE_DECERR): Likewise.
6548         (FPE_INVASC): Likewise.
6549         (FPE_INVDEC): Likewise.
6550         (SEGV_MAPERR): Likewise.
6551         (SEGV_ACCERR): Likewise.
6552         (SEGV_PSTKOVF): Likewise.
6553         (BUS_ADRALN): Likewise.
6554         (BUS_ADRERR): Likewise.
6555         (BUS_OBJERR): Likewise.
6556         (BUS_MCEERR_AR): Likewise.
6557         (BUS_MCEERR_AO): Likewise.
6558         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6559         (TRAP_TRACE): Likewise.
6560         (TRAP_BRANCH): Likewise.
6561         (TRAP_HWBKPT): Likewise.
6562         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6563         __USE_XOPEN2K8].
6564         (CLD_KILLED): Likewise.
6565         (CLD_DUMPED): Likewise.
6566         (CLD_TRAPPED): Likewise.
6567         (CLD_STOPPED): Likewise.
6568         (CLD_CONTINUED): Likewise.
6569         (POLL_IN): Likewise.
6570         (POLL_OUT): Likewise.
6571         (POLL_MSG): Likewise.
6572         (POLL_ERR): Likewise.
6573         (POLL_PRI): Likewise.
6574         (POLL_HUP): Likewise.
6575         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6576         (ILL_ILLOPN): Likewise.
6577         (ILL_ILLADR): Likewise.
6578         (ILL_ILLTRP): Likewise.
6579         (ILL_PRVOPC): Likewise.
6580         (ILL_PRVREG): Likewise.
6581         (ILL_COPROC): Likewise.
6582         (ILL_BADSTK): Likewise.
6583         (FPE_INTDIV): Likewise.
6584         (FPE_INTOVF): Likewise.
6585         (FPE_FLTDIV): Likewise.
6586         (FPE_FLTOVF): Likewise.
6587         (FPE_FLTUND): Likewise.
6588         (FPE_FLTRES): Likewise.
6589         (FPE_FLTINV): Likewise.
6590         (FPE_FLTSUB): Likewise.
6591         (SEGV_MAPERR): Likewise.
6592         (SEGV_ACCERR): Likewise.
6593         (BUS_ADRALN): Likewise.
6594         (BUS_ADRERR): Likewise.
6595         (BUS_OBJERR): Likewise.
6596         (BUS_MCEERR_AR): Likewise.
6597         (BUS_MCEERR_AO): Likewise.
6598         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6599         (TRAP_TRACE): Likewise.
6600         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6601         __USE_XOPEN2K8].
6602         (CLD_KILLED): Likewise.
6603         (CLD_DUMPED): Likewise.
6604         (CLD_TRAPPED): Likewise.
6605         (CLD_STOPPED): Likewise.
6606         (CLD_CONTINUED): Likewise.
6607         (POLL_IN): Likewise.
6608         (POLL_OUT): Likewise.
6609         (POLL_MSG): Likewise.
6610         (POLL_ERR): Likewise.
6611         (POLL_PRI): Likewise.
6612         (POLL_HUP): Likewise.
6613         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6614         (ILL_ILLOPN): Likewise.
6615         (ILL_ILLADR): Likewise.
6616         (ILL_ILLTRP): Likewise.
6617         (ILL_PRVOPC): Likewise.
6618         (ILL_PRVREG): Likewise.
6619         (ILL_COPROC): Likewise.
6620         (ILL_BADSTK): Likewise.
6621         (FPE_INTDIV): Likewise.
6622         (FPE_INTOVF): Likewise.
6623         (FPE_FLTDIV): Likewise.
6624         (FPE_FLTOVF): Likewise.
6625         (FPE_FLTUND): Likewise.
6626         (FPE_FLTRES): Likewise.
6627         (FPE_FLTINV): Likewise.
6628         (FPE_FLTSUB): Likewise.
6629         (SEGV_MAPERR): Likewise.
6630         (SEGV_ACCERR): Likewise.
6631         (BUS_ADRALN): Likewise.
6632         (BUS_ADRERR): Likewise.
6633         (BUS_OBJERR): Likewise.
6634         (BUS_MCEERR_AR): Likewise.
6635         (BUS_MCEERR_AO): Likewise.
6636         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6637         (TRAP_TRACE): Likewise.
6638         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6639         __USE_XOPEN2K8].
6640         (CLD_KILLED): Likewise.
6641         (CLD_DUMPED): Likewise.
6642         (CLD_TRAPPED): Likewise.
6643         (CLD_STOPPED): Likewise.
6644         (CLD_CONTINUED): Likewise.
6645         (POLL_IN): Likewise.
6646         (POLL_OUT): Likewise.
6647         (POLL_MSG): Likewise.
6648         (POLL_ERR): Likewise.
6649         (POLL_PRI): Likewise.
6650         (POLL_HUP): Likewise.
6651         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6652         (ILL_ILLOPN): Likewise.
6653         (ILL_ILLADR): Likewise.
6654         (ILL_ILLTRP): Likewise.
6655         (ILL_PRVOPC): Likewise.
6656         (ILL_PRVREG): Likewise.
6657         (ILL_COPROC): Likewise.
6658         (ILL_BADSTK): Likewise.
6659         (FPE_INTDIV): Likewise.
6660         (FPE_INTOVF): Likewise.
6661         (FPE_FLTDIV): Likewise.
6662         (FPE_FLTOVF): Likewise.
6663         (FPE_FLTUND): Likewise.
6664         (FPE_FLTRES): Likewise.
6665         (FPE_FLTINV): Likewise.
6666         (FPE_FLTSUB): Likewise.
6667         (SEGV_MAPERR): Likewise.
6668         (SEGV_ACCERR): Likewise.
6669         (BUS_ADRALN): Likewise.
6670         (BUS_ADRERR): Likewise.
6671         (BUS_OBJERR): Likewise.
6672         (BUS_MCEERR_AR): Likewise.
6673         (BUS_MCEERR_AO): Likewise.
6674         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6675         (TRAP_TRACE): Likewise.
6676         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6677         __USE_XOPEN2K8].
6678         (CLD_KILLED): Likewise.
6679         (CLD_DUMPED): Likewise.
6680         (CLD_TRAPPED): Likewise.
6681         (CLD_STOPPED): Likewise.
6682         (CLD_CONTINUED): Likewise.
6683         (POLL_IN): Likewise.
6684         (POLL_OUT): Likewise.
6685         (POLL_MSG): Likewise.
6686         (POLL_ERR): Likewise.
6687         (POLL_PRI): Likewise.
6688         (POLL_HUP): Likewise.
6689         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6690         (ILL_ILLOPN): Likewise.
6691         (ILL_ILLADR): Likewise.
6692         (ILL_ILLTRP): Likewise.
6693         (ILL_PRVOPC): Likewise.
6694         (ILL_PRVREG): Likewise.
6695         (ILL_COPROC): Likewise.
6696         (ILL_BADSTK): Likewise.
6697         (ILL_DBLFLT): Likewise.
6698         (ILL_HARDWALL): Likewise.
6699         (FPE_INTDIV): Likewise.
6700         (FPE_INTOVF): Likewise.
6701         (FPE_FLTDIV): Likewise.
6702         (FPE_FLTOVF): Likewise.
6703         (FPE_FLTUND): Likewise.
6704         (FPE_FLTRES): Likewise.
6705         (FPE_FLTINV): Likewise.
6706         (FPE_FLTSUB): Likewise.
6707         (SEGV_MAPERR): Likewise.
6708         (SEGV_ACCERR): Likewise.
6709         (BUS_ADRALN): Likewise.
6710         (BUS_ADRERR): Likewise.
6711         (BUS_OBJERR): Likewise.
6712         (BUS_MCEERR_AR): Likewise.
6713         (BUS_MCEERR_AO): Likewise.
6714         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6715         (TRAP_TRACE): Likewise.
6716         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6717         __USE_XOPEN2K8].
6718         (CLD_KILLED): Likewise.
6719         (CLD_DUMPED): Likewise.
6720         (CLD_TRAPPED): Likewise.
6721         (CLD_STOPPED): Likewise.
6722         (CLD_CONTINUED): Likewise.
6723         (POLL_IN): Likewise.
6724         (POLL_OUT): Likewise.
6725         (POLL_MSG): Likewise.
6726         (POLL_ERR): Likewise.
6727         (POLL_PRI): Likewise.
6728         (POLL_HUP): Likewise.
6729         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6730         (ILL_ILLOPN): Likewise.
6731         (ILL_ILLADR): Likewise.
6732         (ILL_ILLTRP): Likewise.
6733         (ILL_PRVOPC): Likewise.
6734         (ILL_PRVREG): Likewise.
6735         (ILL_COPROC): Likewise.
6736         (ILL_BADSTK): Likewise.
6737         (FPE_INTDIV): Likewise.
6738         (FPE_INTOVF): Likewise.
6739         (FPE_FLTDIV): Likewise.
6740         (FPE_FLTOVF): Likewise.
6741         (FPE_FLTUND): Likewise.
6742         (FPE_FLTRES): Likewise.
6743         (FPE_FLTINV): Likewise.
6744         (FPE_FLTSUB): Likewise.
6745         (SEGV_MAPERR): Likewise.
6746         (SEGV_ACCERR): Likewise.
6747         (BUS_ADRALN): Likewise.
6748         (BUS_ADRERR): Likewise.
6749         (BUS_OBJERR): Likewise.
6750         (BUS_MCEERR_AR): Likewise.
6751         (BUS_MCEERR_AO): Likewise.
6752         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6753         (TRAP_TRACE): Likewise.
6754         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6755         __USE_XOPEN2K8].
6756         (CLD_KILLED): Likewise.
6757         (CLD_DUMPED): Likewise.
6758         (CLD_TRAPPED): Likewise.
6759         (CLD_STOPPED): Likewise.
6760         (CLD_CONTINUED): Likewise.
6761         (POLL_IN): Likewise.
6762         (POLL_OUT): Likewise.
6763         (POLL_MSG): Likewise.
6764         (POLL_ERR): Likewise.
6765         (POLL_PRI): Likewise.
6766         (POLL_HUP): Likewise.
6767         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6768         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6769
6770         [BZ #16670]
6771         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6772         before #include of <time.h>.
6773         [!__USE_XOPEN2K] (__need_timespec): Likewise.
6774         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6775         (test-xfail-UNIX98/sched.h/conform): Likewise.
6776
6777 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6778
6779         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6780         error absence of trapping exception support.
6781         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6782
6783 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6784
6785         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6786         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6787         * timezone/Makefile (testdata): Move definition above include of
6788         Rules.
6789         (test-zones): New variable.
6790         (tests-special): Add zone files.
6791         (build-testdata): Use $(evaluate-test).
6792
6793         * elf/Makefile (tests-special): Rename tests to end with .out.
6794         ($(objpfx)noload-mem): Likewise.
6795         ($(objpfx)tst-leaks1-mem): Likewise.
6796         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6797         * iconv/Makefile (xtests-special): Change test-iconvconfig to
6798         $(objpfx)test-iconvconfig.out.
6799         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
6800         set -e inside subshell and redirect output to file.
6801         * iconvdata/Makefile (generated): Rename tests to end with .out.
6802         Correct type.
6803         (tests-special): Rename tests to end with .out.
6804         ($(objpfx)mtrace-tst-loading): Likewise.
6805         * intl/Makefile (generated): Likewise.
6806         (tests-special): Likewise.
6807         ($(objpfx)mtrace-tst-gettext): Likewise.
6808         * misc/Makefile (generated): Likewise.
6809         (tests-special): Likewise.
6810         ($(objpfx)tst-error1-mem): Likewise.
6811         * nptl/Makefile (tests-special): Likewise.
6812         ($(objpfx)tst-stack3-mem): Likewise.
6813         (generated): Likewise.
6814         * posix/Makefile (generated): Likewise.
6815         (tests-special): Likewise.
6816         (xtests-special): Likewise.
6817         ($(objpfx)tst-fnmatch-mem): Likewise.
6818         ($(objpfx)bug-regex2-mem): Likewise.
6819         ($(objpfx)bug-regex14-mem): Likewise.
6820         ($(objpfx)bug-regex21-mem): Likewise.
6821         ($(objpfx)bug-regex31-mem): Likewise.
6822         ($(objpfx)tst-vfork3-mem): Likewise.
6823         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6824         ($(objpfx)tst-pcre-mem): Likewise.
6825         ($(objpfx)tst-boost-mem): Likewise.
6826         ($(objpfx)bug-ga2-mem): Likewise.
6827         ($(objpfx)bug-glob2-mem): Likewise.
6828         * resolv/Makefile (generate): Likewise.
6829         (tests-special): Likewise.
6830         (xtests-special): Likewise.
6831         (generated): Likewise.
6832         ($(objpfx)mtrace-tst-leaks): Likewise.
6833         ($(objpfx)mtrace-tst-leaks2): Likewise.
6834
6835         * scripts/merge-test-results.sh: New file.
6836         * Makefile (tests-special-notdir): New variable.
6837         (tests): Run merge-test-results.sh.
6838         (xtests): Likewise.
6839         * Rules (tests-special-notdir): New variable.
6840         (xtests-special-notdir): Likewise.
6841         (tests): Run merge-test-results.sh
6842         (xtests): Likewise.
6843
6844         * Makeconfig (test-xfail-name): New variable.
6845         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6846         compute variable name for expected failures.
6847         * conform/Makefile (conformtest-headers-data): New variable.
6848         (conformtest-standards): Likewise.
6849         (conformtest-headers-ISO): Likewise.
6850         (conformtest-headers-ISO99): Likewise.
6851         (conformtest-headers-ISO11): Likewise.
6852         (conformtest-headers-POSIX): Likewise.
6853         (conformtest-headers-XPG3): Likewise.
6854         (conformtest-headers-XPG4): Likewise.
6855         (conformtest-headers-UNIX98): Likewise.
6856         (conformtest-headers-XOPEN2K): Likewise.
6857         (conformtest-headers-POSIX2008): Likewise.
6858         (conformtest-headers-XOPEN2K8): Likewise.
6859         (conformtest-header-list-base): Likewise.
6860         (conformtest-header-list-tests): Likewise.
6861         (conformtest-header-base): Likewise.
6862         (conformtest-header-tests): Likewise.
6863         (tests-special): Add $(conformtest-header-list-tests).  If
6864         [$(fast-check) && !$(cross-compiling)], add
6865         $(conformtest-header-tests) instead of
6866         $(objpfx)run-conformtest.out.
6867         (generated): Add $(conformtest-header-list-base).  If
6868         [$(fast-check) && !$(cross-compiling)], add
6869         $(conformtest-header-base).  Remove previous setting.
6870         ($(conformtest-header-list-tests)): New target.
6871         (test-xfail-run-conformtest): Remove variable.
6872         ($(objpfx)run-conformtest.out): Remove target.
6873         (test-xfail-ISO11/complex.h/conform): New variable.
6874         (test-xfail-ISO11/stdalign.h/conform): Likewise.
6875         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6876         (test-xfail-XPG3/varargs.h/conform): Likewise.
6877         (test-xfail-XPG4/varargs.h/conform): Likewise.
6878         (test-xfail-UNIX98/varargs.h/conform): Likewise.
6879         (test-xfail-XPG4/ndbm.h/conform): Likewise.
6880         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6881         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6882         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6883         (test-xfail-XPG3/fcntl.h/conform): Likewise.
6884         (test-xfail-XPG3/ftw.h/conform): Likewise.
6885         (test-xfail-XPG3/grp.h/conform): Likewise.
6886         (test-xfail-XPG3/langinfo.h/conform): Likewise.
6887         (test-xfail-XPG3/limits.h/conform): Likewise.
6888         (test-xfail-XPG3/pwd.h/conform): Likewise.
6889         (test-xfail-XPG3/search.h/conform): Likewise.
6890         (test-xfail-XPG3/signal.h/conform): Likewise.
6891         (test-xfail-XPG3/stdio.h/conform): Likewise.
6892         (test-xfail-XPG3/stdlib.h/conform): Likewise.
6893         (test-xfail-XPG3/string.h/conform): Likewise.
6894         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6895         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6896         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6897         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6898         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6899         (test-xfail-XPG3/sys/types.h/conform): Likewise.
6900         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6901         (test-xfail-XPG3/termios.h/conform): Likewise.
6902         (test-xfail-XPG3/time.h/conform): Likewise.
6903         (test-xfail-XPG3/unistd.h/conform): Likewise.
6904         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6905         (test-xfail-XPG4/fcntl.h/conform): Likewise.
6906         (test-xfail-XPG4/langinfo.h/conform): Likewise.
6907         (test-xfail-XPG4/netdb.h/conform): Likewise.
6908         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6909         (test-xfail-XPG4/signal.h/conform): Likewise.
6910         (test-xfail-XPG4/stdio.h/conform): Likewise.
6911         (test-xfail-XPG4/stdlib.h/conform): Likewise.
6912         (test-xfail-XPG4/stropts.h/conform): Likewise.
6913         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6914         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6915         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6916         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6917         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6918         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6919         (test-xfail-XPG4/sys/time.h/conform): Likewise.
6920         (test-xfail-XPG4/sys/types.h/conform): Likewise.
6921         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6922         (test-xfail-XPG4/termios.h/conform): Likewise.
6923         (test-xfail-XPG4/ucontext.h/conform): Likewise.
6924         (test-xfail-XPG4/unistd.h/conform): Likewise.
6925         (test-xfail-XPG4/utmpx.h/conform): Likewise.
6926         (test-xfail-POSIX/sched.h/conform): Likewise.
6927         (test-xfail-POSIX/signal.h/conform): Likewise.
6928         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6929         (test-xfail-POSIX/tar.h/conform): Likewise.
6930         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6931         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6932         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6933         (test-xfail-UNIX98/netdb.h/conform): Likewise.
6934         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6935         (test-xfail-UNIX98/sched.h/conform): Likewise.
6936         (test-xfail-UNIX98/signal.h/conform): Likewise.
6937         (test-xfail-UNIX98/stdio.h/conform): Likewise.
6938         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6939         (test-xfail-UNIX98/stropts.h/conform): Likewise.
6940         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6941         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6942         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6943         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6944         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6945         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6946         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6947         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6948         (test-xfail-UNIX98/unistd.h/conform): Likewise.
6949         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6950         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6951         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6952         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6953         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6954         (test-xfail-XOPEN2K/math.h/conform): Likewise.
6955         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6956         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6957         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6958         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6959         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6960         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6961         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6962         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6963         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6964         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6965         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6966         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6967         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6968         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6969         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6970         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6971         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6972         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6973         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6974         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6975         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6976         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6977         (test-xfail-POSIX2008/signal.h/conform): Likewise.
6978         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6979         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6980         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6981         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6982         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6983         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6984         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6985         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6986         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6987         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6988         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6989         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6990         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6991         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6992         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6993         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6994         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6995         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6996         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6997         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6998         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6999         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7000         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7001         (conformtest-cc-flags): Likewise.
7002         ($(conformtest-header-tests): New target.
7003         * conform/check-header-lists.sh: New file.
7004         * conform/run-conformtest.sh: Remove.
7005
7006         * conform/conformtest.pl: Allow ' and \ in values given for
7007         constants.
7008         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7009         inclusion.
7010         [POSIX] (sys/types.h): Likewise.
7011         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7012         inclusion.
7013         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7014         inclusion.
7015         * conform/data/signal.h-data (SIGIO): Remove expectation.
7016         [XPG3] (SIGBUS): Do not expect.
7017         [POSIX || XPG3] (SIGPOLL): Likewise.
7018         [POSIX || XPG3] (SIGPROF): Likewise.
7019         [POSIX || XPG3] (SIGSYS): Likewise.
7020         [XPG3] (SIGTRAP): Likewise.
7021         [POSIX || XPG3] (SIGURG): Likewise.
7022         [POSIX || XPG3] (SIGVTALRM): Likewise.
7023         [POSIX || XPG3] (SIGXCPU): Likewise.
7024         [POSIX || XPG3] (SIGXFSZ): Likewise.
7025         [POSIX] (SA_SIGINFO): Expect.
7026         [XPG3] (siginfo_t): Do not expect type or contents.
7027         [POSIX] (si_pid): Do not expect element.
7028         [POSIX] (si_uid): Likewise.
7029         [POSIX] (si_addr): Likewise.
7030         [POSIX] (si_status): Likewise.
7031         [POSIX] (si_band): Likewise.
7032         [XPG4] (si_value): Likewise.
7033         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7034         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7035         [POSIX || XPG3] (ILL_ILLADR): Likewise.
7036         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7037         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7038         [POSIX || XPG3] (ILL_PRVREG): Likewise.
7039         [POSIX || XPG3] (ILL_COPROC): Likewise.
7040         [POSIX || XPG3] (ILL_BADSTK): Likewise.
7041         [POSIX || XPG3] (FPE_INTDIV): Likewise.
7042         [POSIX || XPG3] (FPE_INTOVF): Likewise.
7043         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7044         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7045         [POSIX || XPG3] (FPE_FLTUND): Likewise.
7046         [POSIX || XPG3] (FPE_FLTRES): Likewise.
7047         [POSIX || XPG3] (FPE_FLTINV): Likewise.
7048         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7049         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7050         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7051         [POSIX || XPG3] (BUS_ADRALN): Likewise.
7052         [POSIX || XPG3] (BUS_ADRERR): Likewise.
7053         [POSIX || XPG3] (BUS_OBJERR): Likewise.
7054         [POSIX || XPG3] (CLD_EXITED): Likewise.
7055         [POSIX || XPG3] (CLD_KILLED): Likewise.
7056         [POSIX || XPG3] (CLD_DUMPED): Likewise.
7057         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7058         [POSIX || XPG3] (CLD_STOPPED): Likewise.
7059         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7060         [POSIX || XPG3] (POLL_IN): Likewise.
7061         [POSIX || XPG3] (POLL_OUT): Likewise.
7062         [POSIX || XPG3] (POLL_MSG): Likewise.
7063         [POSIX || XPG3] (POLL_ERR): Likewise.
7064         [POSIX || XPG3] (POLL_PRI): Likewise.
7065         [POSIX || XPG3] (POLL_HUP): Likewise.
7066         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7067         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7068         (SIG*): Do not allow.
7069         [XPG3] (si_*): Likewise.
7070         [XPG3] (SI_*): Likewise.
7071         [XPG3 || XPG4] (sigev_*): Likewise.
7072         [XPG3 || XPG4] (SIGEV_*): Likewise.
7073         [XPG3 || XPG4] (sival_*): Likewise.
7074         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7075         [POSIX || XPG3] (BUS_*): Likewise.
7076         [POSIX || XPG3] (CLD_*): Likewise.
7077         [POSIX || XPG3] (FPE_*): Likewise.
7078         [POSIX || XPG3] (ILL_*): Likewise.
7079         [POSIX || XPG3] (POLL_*): Likewise.
7080         [POSIX || XPG3] (SEGV_*): Likewise.
7081         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7082         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7083         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7084         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7085         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7086         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7087         Specify type and value.
7088         (TVERSLEN): Likewise.
7089         (REGTYPE): Likewise.
7090         (AREGTYPE): Likewise.
7091         (LNKTYPE): Likewise.
7092         (SYMTYPE): Likewise.
7093         (CHRTYPE): Likewise.
7094         (BLKTYPE): Likewise.
7095         (DIRTYPE): Likewise.
7096         (FIFOTYPE): Likewise.
7097         (CONTTYPE): Likewise.
7098         (TSUID): Likewise.
7099         (TSGID): Likewise.
7100         (TSVTX): Likewise.
7101         (TUREAD): Likewise.
7102         (TUWRITE): Likewise.
7103         (TUEXEC): Likewise.
7104         (TGREAD): Likewise.
7105         (TGWRITE): Likewise.
7106         (TGEXEC): Likewise.
7107         (TOREAD): Likewise.
7108         (TOWRITE): Likewise.
7109         (TOEXEC): Likewise.
7110         [POSIX] (TSVTX): Expect constant.
7111
7112 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
7113
7114         * Makefile (tests): Change dependencies to ....
7115         (tests-special): ... additions to this variable.
7116         (tests): Depend on $(tests-special).
7117         * Makerules (check-abi-list): New variable.
7118         (check-abi): Depend on $(check-abi-list).
7119         [$(subdir) = elf] (tests-special): Add
7120         $(objpfx)check-abi-libc.out.
7121         [$(build-shared) = yes && subdir] (tests-special): Add
7122         $(check-abi-list).
7123         [$(build-shared) = yes && subdir] (tests): Do not depend on
7124         check-abi.
7125         * Rules (tests): Depend on $(tests-special).
7126         (xtests): Depend on $(xtests-special).
7127         * catgets/Makefile (tests): Change dependencies to ....
7128         (tests-special): ... additions to this variable.
7129         * conform/Makefile (tests): Change dependencies to ....
7130         (tests-special): ... additions to this variable.
7131         * elf/Makefile (tests): Change dependencies to ....
7132         (tests-special): ... additions to this variable.
7133         * grp/Makefile (tests): Change dependencies to ....
7134         (tests-special): ... additions to this variable.
7135         * iconv/Makefile (xtests): Change dependencies to ....
7136         (xtests-special): ... additions to this variable.
7137         * iconvdata/Makefile (tests): Change dependencies to ....
7138         (tests-special): ... additions to this variable.
7139         * intl/Makefile (tests): Change dependencies to ....
7140         (tests-special): ... additions to this variable.  Also add
7141         $(objpfx)tst-gettext.out.
7142         * io/Makefile (tests): Change dependencies to ....
7143         (tests-special): ... additions to this variable.
7144         * libio/Makefile (tests): Change dependencies to ....
7145         (tests-special): ... additions to this variable.
7146         * malloc/Makefile (tests): Change dependencies to ....
7147         (tests-special): ... additions to this variable.
7148         * misc/Makefile (tests): Change dependencies to ....
7149         (tests-special): ... additions to this variable.
7150         * nptl/Makefile (tests): Change dependencies to ....
7151         (tests-special): ... additions to this variable.
7152         * nptl_db/Makefile (tests): Change dependencies to ....
7153         (tests-special): ... additions to this variable.
7154         * posix/Makefile (tests): Change dependencies to ....
7155         (tests-special): ... additions to this variable.
7156         (xtests): Change dependencies to ....
7157         (xtests-special): ... additions to this variable.
7158         * resolv/Makefile (tests): Change dependencies to ....
7159         (tests-special): ... additions to this variable.
7160         (xtests): Change dependencies to ....
7161         (xtests-special): ... additions to this variable.
7162         * stdio-common/Makefile (tests): Change dependencies to ....
7163         (tests-special): ... additions to this variable.
7164         (do-tst-unbputc): Remove target.
7165         (do-tst-printf): Likewise.
7166         * stdlib/Makefile (tests): Change dependencies to ....
7167         (tests-special): ... additions to this variable.
7168         * string/Makefile (tests): Change dependencies to ....
7169         (tests-special): ... additions to this variable.
7170         * sysdeps/x86/Makefile (tests): Change dependencies to ....
7171         (tests-special): ... additions to this variable.
7172
7173         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7174         whole file.
7175         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7176         whole file.
7177         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7178         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7179
7180         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7181         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7182         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7183         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7184         * conform/data/libgen.h-data [XPG3]: Likewise.
7185         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7186         * conform/data/ndbm.h-data [XPG3]: Likewise.
7187         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7188         * conform/data/netdb.h-data [XPG3]: Likewise.
7189         * conform/data/netinet/in.h-data [XPG3]: Likewise.
7190         * conform/data/poll.h-data [XPG3]: Likewise.
7191         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7192         * conform/data/strings.h-data [XPG3]: Likewise.
7193         * conform/data/stropts.h-data [XPG3]: Likewise.
7194         * conform/data/sys/mman.h-data [XPG3]: Likewise.
7195         * conform/data/sys/resource.h-data [XPG3]: Likewise.
7196         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7197         Likewise.
7198         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7199         * conform/data/sys/time.h-data [XPG3]: Likewise.
7200         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7201         * conform/data/sys/uio.h-data [XPG3]: Likewise.
7202         * conform/data/sys/un.h-data [XPG3]: Likewise.
7203         * conform/data/syslog.h-data [XPG3]: Likewise.
7204         * conform/data/ucontext.h-data [XPG3]: Likewise.
7205         * conform/data/utmpx.h-data [XPG3]: Likewise.
7206         * conform/data/varargs.h-data [UNIX98]: Enable file.
7207
7208         * manual/Makefile (INSTALL_INFO): Remove variable setting.
7209
7210         * math/libm-test.inc (struct test_f_f_data): Move expected results
7211         into structure for each rounding mode.
7212         (struct test_ff_f_data): Likewise.
7213         (struct test_ff_f_data_nexttoward): Likewise.
7214         (struct test_fi_f_data): Likewise.
7215         (struct test_fl_f_data): Likewise.
7216         (struct test_if_f_data): Likewise.
7217         (struct test_fff_f_data): Likewise.
7218         (struct test_c_f_data): Likewise.
7219         (struct test_f_f1_data): Likewise.
7220         (struct test_fF_f1_data): Likewise.
7221         (struct test_ffI_f1_data): Likewise.
7222         (struct test_c_c_data): Likewise.
7223         (struct test_cc_c_data): Likewise.
7224         (struct test_f_i_data): Likewise.
7225         (struct test_ff_i_data): Likewise.
7226         (struct test_f_l_data): Likewise.
7227         (struct test_f_L_data): Likewise.
7228         (struct test_fFF_11_data): Likewise.
7229         (RM_): New macro.
7230         (RM_FE_DOWNWARD): Likewise.
7231         (RM_FE_TONEAREST): Likewise.
7232         (RM_FE_TOWARDZERO): Likewise.
7233         (RM_FE_UPWARD): Likewise.
7234         (RUN_TEST_LOOP_f_f): Update references to expected results.
7235         (RUN_TEST_LOOP_2_f): Likewise.
7236         (RUN_TEST_LOOP_fff_f): Likewise.
7237         (RUN_TEST_LOOP_c_f): Likewise.
7238         (RUN_TEST_LOOP_f_f1): Likewise.
7239         (RUN_TEST_LOOP_fF_f1): Likewise.
7240         (RUN_TEST_LOOP_fI_f1): Likewise.
7241         (RUN_TEST_LOOP_ffI_f1): Likewise.
7242         (RUN_TEST_LOOP_c_c): Likewise.
7243         (RUN_TEST_LOOP_cc_c): Likewise.
7244         (RUN_TEST_LOOP_f_i): Likewise.
7245         (RUN_TEST_LOOP_f_i_tg): Likewise.
7246         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7247         (RUN_TEST_LOOP_f_b): Likewise.
7248         (RUN_TEST_LOOP_f_b_tg): Likewise.
7249         (RUN_TEST_LOOP_f_l): Likewise.
7250         (RUN_TEST_LOOP_f_L): Likewise.
7251         (RUN_TEST_LOOP_fFF_11): Likewise.
7252         * math/gen-libm-test.pl (parse_args): Output four copies of
7253         expected results for each test.
7254
7255         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7256         (__ASSUME_UTIMES): Remove.
7257         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7258         (__ASSUME_UTIMES): Likewise.
7259
7260         * math/gen-auto-libm-tests.c: Update comment on output format.
7261         (output_for_one_input_case): Generate before-rounding and
7262         after-rounding information as conditions on output flags not
7263         floating-point format.
7264         * math/auto-libm-test-out: Regenerated.
7265         * math/gen-libm-test.pl (cond_value): New function.
7266         (or_cond_value): Use cond_value.
7267         (generate_testfile): Handle conditional exceptions.
7268
7269 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
7270
7271         * math/libm-test.inc (max_valid_error): New variable.
7272         (init_max_error): Take new argument specifying whether function
7273         results are exactly determined.  Set max_valid_error and bound
7274         other variables for errors based on this argument.
7275         (set_max_error): Do not record results above max_valid_error.
7276         (check_float_internal): Only accept errors of up to 0.5ulps if
7277         also at most max_valid_error.
7278         (START): Take new argument EXACT and pass it to init_max_error.
7279         (acos_test): Update call to START.
7280         (acos_test_tonearest): Likewise.
7281         (acos_test_towardzero): Likewise.
7282         (acos_test_downward): Likewise.
7283         (acos_test_upward): Likewise.
7284         (acosh_test): Likewise.
7285         (asin_test): Likewise.
7286         (asin_test_tonearest): Likewise.
7287         (asin_test_towardzero): Likewise.
7288         (asin_test_downward): Likewise.
7289         (asin_test_upward): Likewise.
7290         (asinh_test): Likewise.
7291         (atan_test): Likewise.
7292         (atanh_test): Likewise.
7293         (atan2_test): Likewise.
7294         (cabs_test): Likewise.
7295         (cacos_test): Likewise.
7296         (cacosh_test): Likewise.
7297         (carg_test): Likewise.
7298         (casin_test): Likewise.
7299         (casinh_test): Likewise.
7300         (catan_test): Likewise.
7301         (catanh_test): Likewise.
7302         (cbrt_test): Likewise.
7303         (ccos_test): Likewise.
7304         (ccosh_test): Likewise.
7305         (ceil_test): Likewise.
7306         (cexp_test): Likewise.
7307         (cimag_test): Likewise.
7308         (clog_test): Likewise.
7309         (clog10_test): Likewise.
7310         (conj_test): Likewise.
7311         (copysign_test): Likewise.
7312         (cos_test): Likewise.
7313         (cos_test_tonearest): Likewise.
7314         (cos_test_towardzero): Likewise.
7315         (cos_test_downward): Likewise.
7316         (cos_test_upward): Likewise.
7317         (cosh_test): Likewise.
7318         (cosh_test_tonearest): Likewise.
7319         (cosh_test_towardzero): Likewise.
7320         (cosh_test_downward): Likewise.
7321         (cosh_test_upward): Likewise.
7322         (cpow_test): Likewise.
7323         (cproj_test): Likewise.
7324         (creal_test): Likewise.
7325         (csin_test): Likewise.
7326         (csinh_test): Likewise.
7327         (csqrt_test): Likewise.
7328         (ctan_test): Likewise.
7329         (ctan_test_tonearest): Likewise.
7330         (ctan_test_towardzero): Likewise.
7331         (ctan_test_downward): Likewise.
7332         (ctan_test_upward): Likewise.
7333         (ctanh_test): Likewise.
7334         (ctanh_test_tonearest): Likewise.
7335         (ctanh_test_towardzero): Likewise.
7336         (ctanh_test_downward): Likewise.
7337         (ctanh_test_upward): Likewise.
7338         (erf_test): Likewise.
7339         (erfc_test): Likewise.
7340         (exp_test): Likewise.
7341         (exp_test_tonearest): Likewise.
7342         (exp_test_towardzero): Likewise.
7343         (exp_test_downward): Likewise.
7344         (exp_test_upward): Likewise.
7345         (exp10_test): Likewise.
7346         (exp10_test_tonearest): Likewise.
7347         (exp10_test_towardzero): Likewise.
7348         (exp10_test_downward): Likewise.
7349         (exp10_test_upward): Likewise.
7350         (pow10_test): Likewise.
7351         (exp2_test): Likewise.
7352         (expm1_test): Likewise.
7353         (expm1_test_tonearest): Likewise.
7354         (expm1_test_towardzero): Likewise.
7355         (expm1_test_downward): Likewise.
7356         (expm1_test_upward): Likewise.
7357         (fabs_test): Likewise.
7358         (fdim_test): Likewise.
7359         (floor_test): Likewise.
7360         (fma_test): Likewise.
7361         (fma_test_towardzero): Likewise.
7362         (fma_test_downward): Likewise.
7363         (fma_test_upward): Likewise.
7364         (fmax_test): Likewise.
7365         (fmin_test): Likewise.
7366         (fmod_test): Likewise.
7367         (fpclassify_test): Likewise.
7368         (frexp_test): Likewise.
7369         (hypot_test): Likewise.
7370         (ilogb_test): Likewise.
7371         (isfinite_test): Likewise.
7372         (finite_test): Likewise.
7373         (isgreater_test): Likewise.
7374         (isgreaterequal_test): Likewise.
7375         (isinf_test): Likewise.
7376         (isless_test): Likewise.
7377         (islessequal_test): Likewise.
7378         (islessgreater_test): Likewise.
7379         (isnan_test): Likewise.
7380         (isnormal_test): Likewise.
7381         (issignaling_test): Likewise.
7382         (isunordered_test): Likewise.
7383         (j0_test): Likewise.
7384         (j1_test): Likewise.
7385         (jn_test): Likewise.
7386         (ldexp_test): Likewise.
7387         (lgamma_test): Likewise.
7388         (gamma_test): Likewise.
7389         (lrint_test): Likewise.
7390         (lrint_test_tonearest): Likewise.
7391         (lrint_test_towardzero): Likewise.
7392         (lrint_test_downward): Likewise.
7393         (lrint_test_upward): Likewise.
7394         (llrint_test): Likewise.
7395         (llrint_test_tonearest): Likewise.
7396         (llrint_test_towardzero): Likewise.
7397         (llrint_test_downward): Likewise.
7398         (llrint_test_upward): Likewise.
7399         (log_test): Likewise.
7400         (log10_test): Likewise.
7401         (log1p_test): Likewise.
7402         (log2_test): Likewise.
7403         (logb_test): Likewise.
7404         (logb_test_downward): Likewise.
7405         (lround_test): Likewise.
7406         (llround_test): Likewise.
7407         (modf_test): Likewise.
7408         (nearbyint_test): Likewise.
7409         (nextafter_test): Likewise.
7410         (nexttoward_test): Likewise.
7411         (pow_test): Likewise.
7412         (pow_test_tonearest): Likewise.
7413         (pow_test_towardzero): Likewise.
7414         (pow_test_downward): Likewise.
7415         (pow_test_upward): Likewise.
7416         (remainder_test): Likewise.
7417         (drem_test): Likewise.
7418         (remainder_test_tonearest): Likewise.
7419         (drem_test_tonearest): Likewise.
7420         (remainder_test_towardzero): Likewise.
7421         (drem_test_towardzero): Likewise.
7422         (remainder_test_downward): Likewise.
7423         (drem_test_downward): Likewise.
7424         (remainder_test_upward): Likewise.
7425         (drem_test_upward): Likewise.
7426         (remquo_test): Likewise.
7427         (rint_test): Likewise.
7428         (rint_test_tonearest): Likewise.
7429         (rint_test_towardzero): Likewise.
7430         (rint_test_downward): Likewise.
7431         (rint_test_upward): Likewise.
7432         (round_test): Likewise.
7433         (scalb_test): Likewise.
7434         (scalbn_test): Likewise.
7435         (scalbln_test): Likewise.
7436         (signbit_test): Likewise.
7437         (sin_test): Likewise.
7438         (sin_test_tonearest): Likewise.
7439         (sin_test_towardzero): Likewise.
7440         (sin_test_downward): Likewise.
7441         (sin_test_upward): Likewise.
7442         (sincos_test): Likewise.
7443         (sinh_test): Likewise.
7444         (sinh_test_tonearest): Likewise.
7445         (sinh_test_towardzero): Likewise.
7446         (sinh_test_downward): Likewise.
7447         (sinh_test_upward): Likewise.
7448         (sqrt_test): Likewise.
7449         (sqrt_test_tonearest): Likewise.
7450         (sqrt_test_towardzero): Likewise.
7451         (sqrt_test_downward): Likewise.
7452         (sqrt_test_upward): Likewise.
7453         (tan_test): Likewise.
7454         (tan_test_tonearest): Likewise.
7455         (tan_test_towardzero): Likewise.
7456         (tan_test_downward): Likewise.
7457         (tan_test_upward): Likewise.
7458         (tanh_test): Likewise.
7459         (tgamma_test): Likewise.
7460         (trunc_test): Likewise.
7461         (y0_test): Likewise.
7462         (y1_test): Likewise.
7463         (yn_test): Likewise.
7464         (significand_test): Likewise.
7465
7466         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7467         individual tests in comment.
7468         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7469         (prev_max_error): New variable.
7470         (prev_real_max_error): Likewise.
7471         (prev_imag_max_error): Likewise.
7472         (compare_ulp_data): Don't refer to test names in comment.
7473         (find_test_ulps): Remove function.
7474         (find_function_ulps): Likewise.
7475         (find_complex_function_ulps): Likewise.
7476         (init_max_error): Take function name as argument.  Look up ulps
7477         for that function.
7478         (print_ulps): Remove function.
7479         (print_max_error): Use prev_max_error instead of calling
7480         find_function_ulps.
7481         (print_complex_max_error): Use prev_real_max_error and
7482         prev_imag_max_error instead of calling find_complex_function_ulps.
7483         (check_float_internal): Take max_ulp parameter instead of calling
7484         find_test_ulps.  Don't call print_ulps.
7485         (check_float): Update call to check_float_internal.
7486         (check_complex): Update calls to check_float_internal.
7487         (START): Pass argument to init_max_error.
7488         * math/gen-libm-test.pl (%results): Don't include "kind"
7489         information.
7490         (parse_ulps): Don't handle ulps of individual tests.
7491         (print_ulps_file): Likewise.
7492         (output_ulps): Likewise.
7493         * math/README.libm-test: Update.
7494         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7495         individual tests.
7496         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7497         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7498         * sysdeps/arm/libm-test-ulps: Likewise.
7499         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7500         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7501         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7502         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7503         * sysdeps/microblaze/libm-test-ulps: Likewise.
7504         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7505         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7506         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7507         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7508         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7509         * sysdeps/sh/libm-test-ulps: Likewise.
7510         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7511         * sysdeps/tile/libm-test-ulps: Likewise.
7512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7513
7514 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
7515
7516         * math/libm-test.inc (print_complex_max_error): Check separately
7517         whether real and imaginary errors are within allowed range and
7518         pass 0 to print_complex_function_ulps instead of value within
7519         allowed range.
7520
7521 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7522
7523         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7524         formatting.
7525         (get_handles_fopen): Likewise.
7526         (do_write_test): Likewise.
7527
7528         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7529
7530         * libio/fileops.c (do_ftell): Use cached offset when
7531         available.
7532         * libio/iofwide.c (do_ftell_wide): Likewise.
7533         * libio/iofdopen.c (_IO_new_fdopen): Don't use
7534         _IO_file_attach.
7535         * libio/wfileops.c (_IO_fwide): Don't cache offset.
7536
7537         [BZ #16532]
7538         * libio/libioP.h (get_file_offset): New function.
7539         * libio/fileops.c (get_file_offset): Likewise.
7540         (do_ftell): Likewise.
7541         (_IO_new_file_seekoff): Split out ftell logic.
7542         * libio/wfileops.c (do_ftell_wide): Likewise.
7543         (_IO_wfile_seekoff): Split out ftell logic.
7544         * libio/tst-ftell-active-handler.c: New test case.
7545         * libio/Makefile (tests): Add it.
7546
7547 2014-03-03  Roland McGrath  <roland@hack.frob.com>
7548
7549         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7550         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7551
7552 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7553
7554         [BZ #16639]
7555         * nscd/connections.c (nscd_init): Call do_exit.
7556         (start_threads): Call do_exit and notify_parent.
7557         (begin_drop_privileges): Call do_exit.
7558         (finish_drop_privileges): Likewise.
7559         * nscd/selinux.c (preserve_capabilities): Likewise.
7560         (install_real_capabilities): Likewise.
7561         (nscd_selinux_enabled): Likewise.
7562         (avc_create_thread): Likewise.
7563         (avc_alloc_lock): Likewise.
7564         (nscd_avc_init): Likewise.
7565         * nscd/nscd.c (parent_fd): New static variable.
7566         (main): Create a pipe between parent and child processes.
7567         Skip closing parent_fd.
7568         (monitor_child): New function.
7569         (do_exit): Likewise.
7570         (notify_parent): Likewise.
7571         * nscd/nscd.h (notify_parent): Likewise.
7572         (do_exit): Likewise.
7573
7574 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
7575
7576         * malloc/malloc.c (__libc_calloc): Revert last change.
7577
7578 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7579
7580         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7581
7582 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7583
7584         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7585         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7586         implementation.
7587         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7588         (__libc_ifunc_impl_list): Likewise.
7589         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7590         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7591         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7592         * string/strrchr.c: Define STRRCHR.
7593
7594 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
7595
7596         * benchtest/bench-strtok.c (simple_strtok): Delete.
7597         (strtok_string): Use as benchmark.
7598         * string/strtok (STRTOK): New macro.
7599
7600 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
7601
7602         * manual/threads.texi: Add header and standard comments to all
7603         functions.
7604
7605         * elf/dl-lookup.c (check_match): New function.
7606         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7607         (do_lookup_x): Remove nested function check_match. Use non-nested
7608         function check_match.
7609
7610 2014-02-28  Roland McGrath  <roland@hack.frob.com>
7611
7612         * csu/Makefile (generated, before-compile): Use += rather than =.
7613         * catgets/Makefile (generated, generated-dirs): Likewise.
7614         * debug/Makefile (generated): Likewise.
7615         * dlfcn/Makefile (generated): Likewise.
7616         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7617         * iconvdata/Makefile (before-compile, generated): Likewise.
7618         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7619         * libio/Makefile (generated): Likewise.
7620         * malloc/Makefile (generated): Likewise.
7621         * manual/Makefile (generated, generated-dirs): Likewise.
7622         * misc/Makefile (generated): Likewise.
7623         * posix/Makefile (generated): Likewise.
7624         * resolv/Makefile (generated): Likewise.
7625         * sunrpc/Makefile (generated, generated-dirs): Likewise.
7626         * timezone/Makefile (generated, generated-dirs): Likewise.
7627
7628         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7629
7630 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7631
7632         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7633         power8 implementation.
7634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7635         file: POWER8 llround ifunc implementation.
7636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7637         (__lllround): Add POWER8 implementation.
7638         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7639         POWER8 llround implementation.
7640
7641         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7642         power8 implementation.
7643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7644         file: POWER8 llrint ifunc implementation.
7645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7646         Add POWER8 implementation.
7647         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7648         POWER8 llrint implementation.
7649
7650         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7651         power8 implementation.
7652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7653         file: POWER8 finite ifunc implementation.
7654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7655         Add POWER8 implementation.
7656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7657         Likewise.
7658         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7659         POWER8 finite implementation.
7660         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7661
7662         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7663         power8 implementation.
7664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7665         file: POWER8 isinf ifunc implementation.
7666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7667         POWER8 implementation.
7668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7669         Likewise.
7670         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7671         isinf implementation.
7672         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7673
7674         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7675         (INIT_ARCH): Add hwcap2 initialization.
7676         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7677         power8 implementation.
7678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7679         file: POWER8 isnan ifunc implementation.
7680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7681         POWER8 implementation.
7682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7683         Likewise.
7684         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7685         isnan implementation.
7686         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7687
7688 2014-02-27  Joey Ye  <joey.ye@arm.com>
7689
7690         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7691         (_FP_NANFRAC_Q): Set to zero.
7692
7693 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7694
7695         [BZ #16623]
7696         * math/auto-libm-test-in: New test inputs.
7697         * math/auto-libm-test-out: Regenerate.
7698         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7699         and DA.
7700         (__cos): Likewise.
7701         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7702
7703 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
7704
7705         * scripts/evaluate-test.sh: Take new argument indicating whether
7706         failure is expected.
7707         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7708         indicating whether failure is expected.
7709         * conform/Makefile (test-xfail-run-conformtest): New variable.
7710         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7711         level.
7712         * posix/Makefile (test-xfail-annexc): New variable.
7713         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7714
7715 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
7716
7717         * argp/Makefile: Include Makeconfig immediately after defining
7718         subdir.
7719         * assert/Makefile: Likewise.
7720         * benchtests/Makefile: Likewise.
7721         * catgets/Makefile: Likewise.
7722         * conform/Makefile: Likewise.
7723         * crypt/Makefile: Likewise.
7724         * csu/Makefile: Likewise.
7725         (all): Remove target.
7726         * ctype/Makefile: Include Makeconfig immediately after defining
7727         subdir.
7728         * debug/Makefile: Likewise.
7729         * dirent/Makefile: Likewise.
7730         * dlfcn/Makefile: Likewise.
7731         * gmon/Makefile: Likewise.
7732         * gnulib/Makefile: Likewise.
7733         * grp/Makefile: Likewise.
7734         * gshadow/Makefile: Likewise.
7735         * hesiod/Makefile: Likewise.
7736         * hurd/Makefile: Likewise.
7737         (all): Remove target.
7738         * iconvdata/Makefile: Include Makeconfig immediately after
7739         defining subdir.
7740         * inet/Makefile: Likewise.
7741         * intl/Makefile: Likewise.
7742         * io/Makefile: Likewise.
7743         * libio/Makefile: Likewise.
7744         (all): Remove target.
7745         * locale/Makefile: Include Makeconfig immediately after defining
7746         subdir.
7747         * login/Makefile: Likewise.
7748         * mach/Makefile: Likewise.
7749         (all): Remove target.
7750         * malloc/Makefile: Include Makeconfig immediately after defining
7751         subdir.
7752         (all): Remove target.
7753         * manual/Makefile: Include Makeconfig immediately after defining
7754         subdir.
7755         * math/Makefile: Likewise.
7756         * misc/Makefile: Likewise.
7757         * nis/Makefile: Likewise.
7758         * nss/Makefile: Likewise.
7759         * po/Makefile: Likewise.
7760         (all): Remove target.
7761         * posix/Makefile: Include Makeconfig immediately after defining
7762         subdir.
7763         * pwd/Makefile: Likewise.
7764         * resolv/Makefile: Likewise.
7765         * resource/Makefile: Likewise.
7766         * rt/Makefile: Likewise.
7767         * setjmp/Makefile: Likewise.
7768         * shadow/Makefile: Likewise.
7769         * signal/Makefile: Likewise.
7770         * socket/Makefile: Likewise.
7771         * soft-fp/Makefile: Likewise.
7772         * stdio-common/Makefile: Likewise.
7773         * stdlib/Makefile: Likewise.
7774         * streams/Makefile: Likewise.
7775         * string/Makefile: Likewise.
7776         * sunrpc/Makefile: Likewise.
7777         (all): Remove target.
7778         * sysvipc/Makefile: Include Makeconfig immediately after defining
7779         subdir.
7780         * termios/Makefile: Likewise.
7781         * time/Makefile: Likewise.
7782         * timezone/Makefile: Likewise.
7783         (all): Remove target.
7784         * wcsmbs/Makefile: Include Makeconfig immediately after defining
7785         subdir.
7786         * wctype/Makefile: Likewise.
7787
7788 2014-02-26  Steve Ellcey  <sellcey@mips.com>
7789
7790         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7791         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7792         (libc_feholdexcept_setround_mips): Ditto.
7793         (libc_feholdsetround): New.
7794         (libc_feholdsetroundf): New.
7795         (libc_feholdsetroundl): New.
7796         (libc_feupdateenv_test_mips): New.
7797         (libc_feupdateenv_test): New.
7798         (libc_feupdateenv_testf): New.
7799         (libc_feupdateenv_testl): New.
7800         (libc_feresetround): New.
7801         (libc_feresetroundf): New.
7802         (libc_feresetroundl): New.
7803         (libc_fetestexcept_mips): New.
7804         (libc_fetestexcept): New.
7805         (libc_fetestexceptf): New.
7806         (libc_fetestexceptl): New.
7807         (HAVE_RM_CTX): New.
7808         (libc_feholdexcept_setround_mips_ctx): New.
7809         (libc_feholdexcept_setround_ctx): New.
7810         (libc_feholdexcept_setroundf_ctx): New.
7811         (libc_feholdexcept_setroundl_ctx): New.
7812         (libc_fesetenv_mips_ctx): New.
7813         (libc_fesetenv_ctx): New.
7814         (libc_fesetenv_ctxf): New.
7815         (libc_fesetenv_ctxl): New.
7816         (libc_feupdateenv_mips_ctx): New.
7817         (libc_feupdateenv_ctx): New.
7818         (libc_feupdateenvf_ctx): New.
7819         (libc_feupdateenvl_ctx): New.
7820         (libc_feholdsetround_mips_ctx): New.
7821         (libc_feholdsetround_ctx): New.
7822         (libc_feholdsetroundf_ctx): New.
7823         (libc_feholdsetroundl_ctx): New.
7824         (libc_feresetround_mips_ctx): New.
7825         (libc_feresetround_ctx): New.
7826         (libc_feresetroundf_ctx): New.
7827         (libc_feresetroundl_ctx): New.
7828
7829 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
7830
7831         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7832
7833         * manual/ipc.texi: New file.
7834         * manual/Makefile (chapters): Add ipc.
7835         * manual/job.texi: Add "Inter-Process Communication" to next.
7836         * manual/process.texi: Add "Inter-Process Communication" to prev.
7837
7838 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7839
7840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7841
7842 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
7843
7844         * malloc/malloc.c (__libc_calloc): Simplify implementation.
7845
7846         * manual/arith.texi: Fix spaces after sentences.
7847         * manual/charset.texi: Likewise.
7848         * manual/errno.texi: Likewise.
7849         * manual/install.texi: Likewise.
7850         * manual/llio.texi: Likewise.
7851         * manual/locale.texi: Likewise.
7852         * manual/maint.texi: Likewise.
7853         * manual/math.texi: Likewise.
7854         * manual/memory.texi: Likewise.
7855         * manual/message.texi: Likewise.
7856         * manual/probes.texi: Likewise.
7857         * manual/resource.texi: Likewise.
7858         * manual/signal.texi: Likewise.
7859         * manual/socket.texi: Likewise.
7860         * manual/stdio.texi: Likewise.
7861         * manual/string.texi: Likewise.
7862         * manual/time.texi: Likewise.
7863         * manual/users.texi: Likewise.
7864
7865 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
7866
7867         [BZ #16632]
7868         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7869         _DEFAULT_SOURCE is defined.
7870
7871 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
7872             Carlos O'Donell  <carlos@redhat.com>
7873
7874         [BZ #16613]
7875         * elf/dl-tls.c (_dl_count_modids): New function.
7876         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7877         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7878         audit library and increment generation counter.
7879         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7880         * elf/tst-audit9.c: New file.
7881         * elf/tst-auditmod9a.c: New file.
7882         * elf/tst-auditmod9b.c: New file.
7883         * elf/Makefile: Add rules to build and run tst-audit9.
7884
7885 2014-02-25  Florian Weimer  <fweimer@redhat.com>
7886
7887         [BZ #15347]
7888         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7889
7890 2014-02-25  Will Newton  <will.newton@linaro.org>
7891
7892         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7893         (__longjmp): Restore sp and lr before restoring callee
7894         saved registers.  Add longjmp and longjmp_target
7895         SystemTap probe point.
7896         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7897         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7898         Define to zero to match jmpbuf layout.
7899         * sysdeps/arm/setjmp.S: Include stap-probe.h.
7900         (__sigsetjmp): Save sp and lr before saving callee
7901         saved registers.  Add setjmp SystemTap probe point.
7902
7903 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7904
7905         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7906
7907 2014-02-24  Andreas Schwab  <schwab@suse.de>
7908
7909         [BZ #15804]
7910         * elf/pldd.c (wait_for_ptrace_stop): New function.
7911         (main): Call it after attaching.
7912
7913 2014-02-22  Roland McGrath  <roland@hack.frob.com>
7914
7915         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7916         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7917         Versions files is now verboten.
7918         * hurd/Versions (libc: GLIBC_2.0):
7919         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7920         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7921         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7922         * mach/Versions: Likewise.
7923
7924         * csu/Versions: Remove unused %include.
7925         * resolv/Versions: Likewise.
7926
7927 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
7928
7929         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7930         ($(objpfx)check-local-headers.out): Likewise.
7931         ($(objpfx)begin-end-check.out): Likewise.
7932         * Makerules (check-abi-%.out): Likewise.
7933         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7934         ($(objpfx)test2.cat): Likewise.
7935         ($(objpfx)de/libc.cat): Likewise.
7936         ($(objpfx)test-gencat.out): Likewise.
7937         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7938         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7939         ($(objpfx)noload-mem): Likewise.
7940         ($(objpfx)tst-pathopt.out): Likewise.
7941         ($(objpfx)tst-rtld-load-self.out): Likewise.
7942         ($(objpfx)tst-array1-cmp.out): Likewise.
7943         ($(objpfx)tst-array1-static-cmp.out): Likewise.
7944         ($(objpfx)tst-array2-cmp.out): Likewise.
7945         ($(objpfx)tst-array3-cmp.out): Likewise.
7946         ($(objpfx)tst-array4-cmp.out): Likewise.
7947         ($(objpfx)tst-array5-cmp.out): Likewise.
7948         ($(objpfx)tst-array5-static-cmp.out): Likewise.
7949         ($(objpfx)check-textrel.out): Likewise.
7950         ($(objpfx)check-execstack.out): Likewise.
7951         ($(objpfx)check-localplt.out): Likewise.
7952         ($(objpfx)order2-cmp.out): Likewise.
7953         ($(objpfx)tst-leaks1-mem): Likewise.
7954         ($(objpfx)tst-leaks1-static-mem): Likewise.
7955         ($(objpfx)tst-initorder-cmp.out): Likewise.
7956         ($(objpfx)tst-initorder2-cmp.out): Likewise.
7957         ($(objpfx)tst-unused-dep.out): Likewise.
7958         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7959         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7960         * iconv/Makefile (test-iconvconfig): Likewise.
7961         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7962         ($(objpfx)iconv-test.out): Likewise.
7963         ($(objpfx)tst-tables.out): Likewise.
7964         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7965         ($(objpfx)tst-gettext.out): Likewise.
7966         ($(objpfx)tst-translit.out): Likewise.
7967         ($(objpfx)tst-gettext2.out): Likewise.
7968         ($(objpfx)tst-gettext4.out): Likewise.
7969         ($(objpfx)tst-gettext6.out): Likewise.
7970         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7971         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7972         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7973         ($(objpfx)tst-fopenloc-mem.out): Likewise.
7974         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7975         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7976         * posix/Makefile ($(objpfx)globtest.out): Likewise.
7977         ($(objpfx)wordexp-tst.out): Likewise.
7978         ($(objpfx)annexc.out): Likewise.
7979         ($(objpfx)tst-fnmatch-mem): Likewise.
7980         ($(objpfx)bug-regex2-mem): Likewise.
7981         ($(objpfx)bug-regex14-mem): Likewise.
7982         ($(objpfx)bug-regex21-mem): Likewise.
7983         ($(objpfx)bug-regex31-mem): Likewise.
7984         ($(objpfx)tst-vfork3-mem): Likewise.
7985         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7986         ($(objpfx)tst-pcre-mem): Likewise.
7987         ($(objpfx)tst-boost-mem): Likewise.
7988         ($(objpfx)tst-getconf.out): Likewise.
7989         ($(objpfx)bug-ga2-mem): Likewise.
7990         ($(objpfx)bug-glob2-mem): Likewise.
7991         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7992         ($(objpfx)mtrace-tst-leaks2): Likewise.
7993         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7994         ($(objpfx)tst-printf.out): Likewise.
7995         ($(objpfx)tst-setvbuf1.out): Likewise.
7996         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7997         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7998         ($(objpfx)tst-fmtmsg.out): Likewise.
7999         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8000         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8001
8002         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8003         * bits/sigaction.h [__USE_MISC]: Likewise.
8004         * bits/waitstatus.h: Update #endif comments.
8005         * ctype/ctype.h: Likewise.
8006         * dirent/dirent.h: Likewise.
8007         [__USE_MISC]: Remove redundant conditionals.
8008         * grp/grp.h: Update #endif comments.
8009         [__USE_GNU]: Remove redundant conditionals.
8010         [__USE_MISC]: Likewise.
8011         * inet/netinet/in.h [__USE_GNU]: Likewise.
8012         * io/sys/stat.h [__USE_MISC]: Likewise.
8013         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8014         * libio/bits/stdio.h: Update #endif comments.
8015         [__USE_MISC]: Remove redundant conditionals.
8016         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8017         * libio/stdio.h: Update #endif comments.
8018         [__USE_MISC]: Remove redundant conditionals.
8019         * math/bits/math-finite.h [__USE_MISC]: Likewise.
8020         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8021         * math/math.h: Update #else and #endif comments.
8022         [__USE_MISC]: Remove redundant conditionals.
8023         * misc/sys/uio.h: Update #endif comments.
8024         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8025         * posix/glob.h [__USE_MISC]: Likewise.
8026         * posix/sys/types.h: Update #endif comments.
8027         [__USE_MISC]: Remove redundant conditionals.
8028         * posix/sys/wait.h: Update #endif comments.
8029         [__USE_MISC]: Remove redundant conditionals.
8030         * posix/unistd.h: Update #endif comments.
8031         [__USE_MISC]: Remove redundant conditionals.
8032         * pwd/pwd.h [__USE_GNU]: Likewise.
8033         [__USE_MISC]: Likewise.
8034         * resolv/netdb.h [__USE_GNU]: Likewise.
8035         * signal/signal.h: Update #endif comments.
8036         [__USE_MISC]: Remove redundant conditionals.
8037         * stdlib/stdlib.h: Update #else and #endif comments.
8038         [__USE_MISC]: Remove redundant conditionals.
8039         [__USE_GNU]: Likewise.
8040         * string/bits/string2.h [__USE_MISC]: Likewise.
8041         * string/string.h: Update #endif comments.
8042         [__USE_MISC]: Remove redundant conditionals.
8043         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8044         Likewise.
8045         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8046         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8047         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8048         Likewise.
8049         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8050         Likewise.
8051         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8052         comments.
8053         [__USE_MISC]: Remove redundant conditionals.
8054         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8055         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8056         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8057         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8058         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8059         Likewise.
8060         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8061         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8062         Likewise.
8063         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8064         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8065         Likewise.
8066         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8067         Likewise.
8068         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8069         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8070         Likewise.
8071         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8072         Likewise.
8073         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8074         * sysdeps/x86/bits/string.h: Update #endif comments.
8075         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8076         conditionals.
8077         * time/sys/time.h: Update #endif comments.
8078         * time/time.h: Likewise.
8079         [__USE_MISC]: Remove redundant conditionals.
8080
8081 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
8082
8083         [BZ #16600]
8084         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8085
8086 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
8087
8088         * Versions.def (librt): Add GLIBC_2.17.
8089
8090 2014-02-21  Adam Conrad  <adconrad@0c3.net>
8091
8092         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8093         synonym for _SYS_AUXV_H to allow direct inclusion.
8094         * sysdeps/sparc/bits/hwcap.h: Likewise.
8095         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8096         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8097         * sysdeps/sparc/sysdep.h: Likewise.
8098
8099 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8100
8101         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8102
8103 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8104
8105         * benchtests/bench-strrchr.c: Print length instead of position.
8106
8107 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
8108
8109         [BZ #16611]
8110         * sysdeps/unix/sysv/linux/kernel-features.h
8111         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8112         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8113         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8114         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8115         Likewise.
8116         [__i386__ || __powerpc__ || __sh__ || __sparc__]
8117         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8118         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8119         (__ASSUME_SENDMMSG): Define instead of using previous
8120         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8121         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8122         (__ASSUME_SENDMMSG_SYSCALL): Define.
8123         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8124         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8125         Likewise.
8126         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8127         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8128         Likewise.
8129         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8130         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8131         Likewise.
8132         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8133         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8134         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8135         [__ASSUME_SENDMMSG]: Change conditionals to
8136         [__ASSUME_SENDMMSG_SOCKETCALL].
8137         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8138         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8139         Define.
8140         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8141         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8142         Likewise.
8143         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8144         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8145         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8146         [!__ASSUME_SENDMMSG]: Change conditional to
8147         [!__ASSUME_SENDMMSG_SOCKETCALL].
8148         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8149         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8150         Define.
8151
8152         [BZ #16610]
8153         * sysdeps/unix/sysv/linux/kernel-features.h
8154         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8155         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8156         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8157         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8158         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8159         [__i386__ || __sparc__]
8160         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8161         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8162         (__ASSUME_RECVMMSG): Define instead of using previous
8163         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8164         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8165         (__ASSUME_RECVMMSG_SYSCALL): Define.
8166         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8167         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8168         Likewise.
8169         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8170         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8171         Likewise.
8172         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8173         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8174         Likewise.
8175         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8176         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8177         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8178         [__ASSUME_RECVMMSG]: Change condition to
8179         [__ASSUME_RECVMMSG_SOCKETCALL].
8180         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8181         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8182         Define.
8183         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8184         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8185         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8186         Likewise.
8187         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8188         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8189         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8190         [!__ASSUME_RECVMMSG]: Change condition to
8191         [!__ASSUME_RECVMMSG_SOCKETCALL].
8192         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8193         (__ASSUME_RECVMMSG_SYSCALL): Define.
8194
8195         [BZ #16609]
8196         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8197         __powerpc__ || __s390__ || __sh__ || __sparc__]
8198         (__ASSUME_SOCKETCALL): Define.
8199         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8200         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8201         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8202         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8203         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8204         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8205         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8206         (__ASSUME_ACCEPT4): Define instead of using previous
8207         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8208         __powerpc__ || __sparc__ || __s390__)] condition.
8209         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8210         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8211         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8212         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8213         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8214         [!__ASSUME_ACCEPT4]: Change condition to
8215         [!__ASSUME_ACCEPT4_SOCKETCALL].
8216         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8217         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
8218         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8219         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8220         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8221         __ASSUME_ACCEPT4_SYSCALL.
8222         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8223         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8224         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8225         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8226         __ASSUME_ACCEPT4_SYSCALL.
8227         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8228         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8229         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8230         [__ASSUME_ACCEPT4]: Change condition to
8231         [__ASSUME_ACCEPT4_SOCKETCALL].
8232         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8233         (__ASSUME_SOCKETCALL): Define.
8234         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8235         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8236         (__ASSUME_SOCKETCALL): Define.
8237         (__ASSUME_ACCEPT4): Remove.
8238         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8239         Define.
8240         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8241         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8242         Likewise.
8243         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8244         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8245
8246         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8247         macro.
8248         (HWCAP_ARM_LPAE): Likewise.
8249         (HWCAP_ARM_EVTSTRM): Likewise.
8250         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8251         Add vpfd32, lpae and evtstrm.
8252         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8253         Increase to 22.
8254
8255 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
8256
8257         * math/auto-libm-test-in: Add tests of clog10.
8258         * math/auto-libm-test-out: Regenerated.
8259         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8260         * sysdeps/i386/fpu/libm-test-ulps: Update.
8261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8262
8263 2014-02-18  Andreas Schwab  <schwab@suse.de>
8264
8265         [BZ #16574]
8266         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8267         Store non-zero if the second buffer was newly allocated.
8268         (send_dg): Likewise.
8269         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8270         to send_vc and send_dg.
8271         (res_nsend): Pass NULL for ansp2_malloced.
8272         * resolv/res_query.c (__libc_res_nquery): Add parameter
8273         answerp2_malloced and pass it down to __libc_res_nsend.
8274         (res_nquery): Pass additional NULL to __libc_res_nquery.
8275         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8276         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
8277         second answer buffer if answerp2_malloced was set.
8278         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8279         (__libc_res_nquerydomain): Add parameter
8280         answerp2_malloced and pass it down to __libc_res_nquery.
8281         (res_nquerydomain): Pass additional NULL to
8282         __libc_res_nquerydomain.
8283         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8284         additional NULL to __libc_res_nsend and __libc_res_nquery.
8285         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8286         additional NULL to __libc_res_nsearch.
8287         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
8288         parameter of __libc_res_nsearch to check for separately allocated
8289         second buffer.
8290         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8291         __libc_res_nquery.
8292         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8293         additional NULL to __libc_res_nquery.
8294         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8295         __libc_res_nsearch.
8296         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8297         * include/resolv.h: Update prototypes of __libc_res_nquery,
8298         __libc_res_nsearch, __libc_res_nsend.
8299
8300 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
8301
8302         * math/auto-libm-test-in: Add tests of fma.
8303         * math/auto-libm-test-out: Regenerated.
8304         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8305         (fma_towardzero_test_data): Likewise.
8306         (fma_downward_test_data): Likewise.
8307         (fma_upward_test_data): Likewise.
8308         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8309         mpc_mode.
8310         (rounding_modes): Add values for new field.
8311         (func_calc_method): Add value mpfr_fff_f.
8312         (func_calc_desc): Add mpfr_fff_f union field.
8313         (test_function): Add field exact_args.
8314         (FUNC): Add macro argument EXACT_ARGS.
8315         (FUNC_mpfr_f_f): Update call to FUNC.
8316         (FUNC_mpfr_f_f): Likewise.
8317         (FUNC_mpfr_ff_f): Likewise.
8318         (FUNC_mpfr_if_f): Likewise.
8319         (FUNC_mpc_c_f): Likewise.
8320         (FUNC_mpc_c_c): Likewise.
8321         (test_functions): Add fma.  Update calls to FUNC.
8322         (handle_input_arg): Add argument exact_args.
8323         (add_test): Update call to handle_input_arg.
8324         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
8325         (output_for_one_input_case): Update call to calc_generic_results.
8326         Recalculate exact zero results in each rounding mode.
8327
8328         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8329         non-negative before setting low bit.
8330         * math/auto-libm-test-in: Mark one asin test possibly having
8331         spurious underflow.
8332         * math/auto-libm-test-out: Regenerated.
8333         * sysdeps/i386/fpu/libm-test-ulps: Update.
8334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8335
8336 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
8337
8338         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8339         * sysdeps/unix/sysv/linux/microblaze: Move directory from
8340         ports/sysdeps/unix/sysv/linux/microblaze.
8341         * README: Add missing listing for microblaze*-*-linux-gnu.
8342
8343 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
8344
8345         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8346         * sysdeps/unix/sysv/linux/ia64: Move directory from
8347         ports/sysdeps/unix/sysv/linux/ia64.
8348         * README: Update listing for ia64-*-linux-gnu.
8349
8350 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
8351             Joseph Myers  <joseph@codesourcery.com>
8352
8353         * Makeconfig (test-name): New variable.
8354         (evaluate-test): Likewise.
8355         * Makerules (do-test-clean): Remove .test-result files.
8356         (common-mostlyclean): Likewise.
8357         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8358         * scripts/evaluate-test.sh: New file.
8359
8360 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
8361
8362         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8363         separate $(objpfx)tst-fopenloc-cmp.out and
8364         $(objpfx)tst-fopenloc-mem.out targets.
8365         (tests): Update dependencies.
8366         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8367         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8368         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8369         (tst-rxspencer-no-utf8-ARGS): New variable.
8370         (tst-rxspencer-no-utf8-ENV): Likewise.
8371         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8372         instead of $(objpfx)tst-rxspencer-mem.
8373         ($(objpfx)tst-rxspencer-mem): Change target to
8374         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
8375         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8376         * posix/tst-rxspencer-no-utf8.c: New file.
8377
8378         * elf/Makefile ($(objpfx)order.out): Remove rule.
8379         [$(run-built-tests) = yes] (tests): Depend on
8380         $(objpfx)order-cmp.out.
8381         ($(objpfx)order-cmp.out): New rule.
8382         [$(run-built-tests) = yes] (tests): Depend on
8383         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8384         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8385         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8386         $(objpfx)tst-array5-static-cmp.out.
8387         ($(objpfx)tst-array1.out): Remove rule.
8388         ($(objpfx)tst-array1-cmp.out): New rule.
8389         ($(objpfx)tst-array1-static.out): Remove rule.
8390         ($(objpfx)tst-array1-static-cmp.out): New rule.
8391         ($(objpfx)tst-array2.out): Remove rule.
8392         ($(objpfx)tst-array2-cmp.out): New rule.
8393         ($(objpfx)tst-array3.out): Remove rule.
8394         ($(objpfx)tst-array3-cmp.out): New rule.
8395         ($(objpfx)tst-array4.out): Remove rule.
8396         ($(objpfx)tst-array4-cmp.out): New rule.
8397         ($(objpfx)tst-array5.out): Remove rule.
8398         ($(objpfx)tst-array5-cmp.out): New rule.
8399         ($(objpfx)tst-array5-static.out): Remove rule.
8400         ($(objpfx)tst-array5-static-cmp.out): New rule.
8401         [$(run-built-tests) = yes] (tests): Depend on
8402         $(objpfx)order2-cmp.out.
8403         ($(objpfx)order2.out): Remove rule.
8404         ($(objpfx)order2-cmp.out): New rule.
8405         ($(objpfx)tst-initorder.out): Remove rule.
8406         [$(run-built-tests) = yes] (tests): Depend on
8407         $(objpfx)tst-initorder-cmp.out.
8408         ($(objpfx)tst-initorder-cmp.out): New rule.
8409         ($(objpfx)tst-initorder2.out): Remove rule.
8410         [$(run-built-tests) = yes] (tests): Depend on
8411         $(objpfx)tst-initorder2-cmp.out.
8412         ($(objpfx)tst-initorder2-cmp.out): New rule.
8413         [$(run-built-tests) = yes] (tests): Depend on
8414         $(objpfx)tst-unused-dep-cmp.out.
8415         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8416         ($(objpfx)tst-unused-dep-cmp.out): New rule.
8417         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8418         on $(objpfx)tst-setvbuf1-cmp.out.
8419         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8420         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8421         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8422         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8423         ($(objpfx)tst-svc.out): Remove rule.
8424         ($(objpfx)tst-svc-cmp.out): New rule.
8425
8426 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
8427
8428         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8429         * ctype/ctype.h [__USE_MISC]: Likewise.
8430         * dirent/dirent.h [__USE_MISC]: Likewise.
8431         * grp/grp.h [__USE_MISC]: Likewise.
8432         * io/fcntl.h [__USE_MISC]: Likewise.
8433         * io/sys/stat.h [__USE_MISC]: Likewise.
8434         * libio/stdio.h [__USE_MISC]: Likewise.
8435         * posix/unistd.h [__USE_MISC]: Likewise.
8436         * pwd/pwd.h [__USE_MISC]: Likewise.
8437         * stdlib.h [__USE_MISC]: Likewise.
8438         * string/bits/string2.h [__USE_MISC]: Likewise.
8439         * string/string.h [__USE_MISC]: Likewise.
8440         * time/time.h [__USE_MISC]: Likewise.
8441
8442 2014-02-13  Andreas Schwab  <schwab@suse.de>
8443
8444         [BZ #16574]
8445         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8446         second answer buffer if it was separately allocated.
8447
8448 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
8449
8450         * sysdeps/mips/math-tests.h: Include <features.h>.
8451         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8452         (ROUNDING_TESTS_long_double): Do not define.
8453         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8454         (EXCEPTION_TESTS_long_double): Likewise.
8455         * sysdeps/mips/mips64/libm-test-ulps: Update.
8456
8457         * include/features.h (__USE_BSD): Remove macro definitions.
8458         (__USE_SVID): Likewise.
8459         (_BSD_SOURCE): Likewise.
8460         (_SVID_SOURCE): Likewise.
8461         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8462         from definition of _DEFAULT_SOURCE.
8463         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8464         [_DEFAULT_SOURCE].
8465         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8466         * bits/mman.h [__USE_BSD]: Likewise.
8467         * bits/termios.h [__USE_BSD]: Likewise.
8468         * bits/waitstatus.h [__USE_BSD]: Likewise.
8469         * ctype/ctype.h [__USE_SVID]: Likewise.
8470         * dirent/dirent.h [__USE_BSD]: Likewise.
8471         * grp/grp.h [__USE_SVID]: Likewise.
8472         [__USE_BSD]: Likewise.
8473         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8474         * io/fcntl.h [__USE_BSD]: Likewise.
8475         * io/ftw.h [__USE_BSD]: Likewise.
8476         * io/sys/stat.h [__USE_BSD]: Likewise.
8477         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8478         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8479         * libio/stdio.h [__USE_SVID]: Likewise.
8480         [__USE_BSD]: Likewise.
8481         * math/math.h [__USE_SVID]: Likewise.
8482         [__USE_BSD]: Likewise.
8483         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8484         * misc/bits/syslog.h [__USE_BSD]: Likewise.
8485         * misc/search.h [__USE_SVID]: Likewise.
8486         * misc/sys/mman.h [__USE_BSD]: Likewise.
8487         * misc/sys/syslog.h [__USE_BSD]: Likewise.
8488         * misc/sys/uio.h [__USE_BSD]: Likewise.
8489         * posix/bits/unistd.h [__USE_BSD]: Likewise.
8490         * posix/glob.h [__USE_BSD]: Likewise.
8491         * posix/regex.h [__USE_BSD]: Likewise.
8492         * posix/sys/types.h [__USE_BSD]: Likewise.
8493         [__USE_SVID]: Likewise.
8494         * posix/sys/utsname.h [__USE_SVID]: Likewise.
8495         * posix/sys/wait.h [__USE_BSD]: Likewise.
8496         [__USE_SVID]: Likewise.
8497         * posix/unistd.h [__USE_BSD]: Likewise.
8498         [__USE_SVID]: Likewise.
8499         * pwd/pwd.h [__USE_SVID]: Likewise.
8500         * resolv/netdb.h [__USE_BSD]: Likewise.
8501         * setjmp/setjmp.h [__USE_BSD]: Likewise.
8502         * signal/signal.h [__USE_BSD]: Likewise.
8503         [__USE_SVID]: Likewise.
8504         * socket/sys/socket.h [__USE_BSD]: Likewise.
8505         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8506         * stdlib/stdlib.h [__USE_BSD]: Likewise.
8507         [__USE_SVID]: Likewise.
8508         * string/bits/string2.h [__USE_BSD]: Likewise.
8509         [__USE_SVID]: Likewise.
8510         * string/bits/string3.h [__USE_BSD]: Likewise.
8511         * string/endian.h [__USE_BSD]: Likewise.
8512         * string/string.h [__USE_SVID]: Likewise.
8513         [__USE_BSD]: Likewise.
8514         * string/strings.h [__USE_BSD]: Likewise.
8515         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8516         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8517         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8518         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8519         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8520         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8521         Likewise.
8522         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8523         Likewise.
8524         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8525         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8526         Likewise.
8527         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8528         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8529         Likewise.
8530         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8531         Likewise.
8532         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8533         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8534         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8535         Likewise.
8536         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8537         Likewise.
8538         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8539         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8540         * termios/termios.h [__USE_BSD]: Likewise.
8541         * time/sys/time.h [__USE_BSD]: Likewise.
8542         * time/time.h [__USE_BSD]: Likewise.
8543         [__USE_SVID]: Likewise.
8544
8545         * Makefile (subdir_targets): Remove subdir_lint.out.
8546
8547         * stdio-common/Makefile (do-tst-unbputc): Remove target.
8548         (do-tst-printf): Likewise.
8549         (tests): Depend directly on $(objpfx)tst-unbputc.out and
8550         $(objpfx)tst-printf.out.
8551
8552         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8553
8554         * Makerules (check-abi-%): Change target to
8555         $(objpfx)check-abi-%.out.
8556         (check-abi target): Update dependencies.
8557         (check-abi-pattern variable): Redirect output of diff to $@.
8558         (check-abi variable): Likewise.
8559         * elf/Makefile (check-abi): Update dependencies.
8560
8561         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8562         unused.
8563         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8564         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8565         subnormal range.
8566         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8567         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8568         value has largest subnormal exponent.
8569         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8570         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8571         * sysdeps/aarch64/soft-fp/sfp-machine.h
8572         (_FP_TININESS_AFTER_ROUNDING): New macro.
8573         * sysdeps/alpha/soft-fp/sfp-machine.h
8574         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8575         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8576         Likewise.
8577         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8578         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8579         * sysdeps/mips/soft-fp/sfp-machine.h
8580         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8581         * sysdeps/powerpc/soft-fp/sfp-machine.h
8582         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8583         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8584         Likewise.
8585         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8586         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8587         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8588         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8589         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8590         Likewise.
8591
8592 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
8593
8594         [BZ #16545]
8595         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8596         model 1.
8597
8598 2014-02-12  Richard Henderson  <rth@redhat.com>
8599
8600         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8601         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8602         * sysdeps/unix/sysv/linux/alpha: Move directory from
8603         ports/sysdeps/unix/sysv/linux/alpha.
8604         * README: Update listing for alpha-*-linux-gnu.
8605
8606 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
8607
8608         * include/features.h: Update comment documenting feature test
8609         macros.
8610         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
8611         _DEFAULT_SOURCE.
8612         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8613         (_SVID_SOURCE): Likewise.
8614         (_DEFAULT_SOURCE): Update description of default features.
8615         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8616         with _GNU_SOURCE.
8617         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8618         (S_ISVTX): Likewise.
8619         * manual/math.texi (Mathematical Constants): Likewise.
8620         * manual/signal.texi (Interrupted Primitives): Likewise.
8621         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8622         * math/test-matherr.c (_SVID_SOURCE): Do not define.
8623         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8624         Don't refer to _SVID_SOURCE in warning text.
8625
8626         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8627
8628         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8629         already defined.
8630         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8631         * sysdeps/mips/dl-lookup.c: Remove.
8632         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8633
8634 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8635
8636         [BZ #16447]
8637         * math/auto-libm-test-in: Add testcase for expl.
8638         * math/auto-libm-test-out: Regenerate.
8639         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8640         calculation of unsafe.
8641         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8642
8643 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8644
8645         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8646         * sysdeps/unix/sysv/linux/aarch64: Move directory from
8647         ports/sysdeps/unix/sysv/linux/aarch64.
8648         * README: Update listing for aarch64*-*-linux-gnu.
8649
8650 2014-02-11  Will Newton  <will.newton@linaro.org>
8651
8652         * manual/probes.texi (Mathematical Function Probes): Use
8653         "triggered" instead of "hit".
8654
8655         * manual/probes.texi (Internal Probes): Add documentation
8656         of setjmp, longjmp and longjmp_target probes.
8657
8658         * include/stap-probe.h: Add comment about probe argument
8659         format.
8660
8661         * malloc/mtrace.c (attribute_hidden): Remove unused macro
8662         definition.  (tr_where, tr_freehook, tr_mallochook,
8663         tr_reallochook, tr_memalignhook): Use ANSI protoype.
8664
8665 2014-02-11  David S. Miller  <davem@davemloft.net>
8666
8667         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8668         processing int_tests.
8669
8670 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
8671
8672         * sysdeps/mips: Move directory from ports/sysdeps/mips.
8673         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8674         * sysdeps/unix/sysv/linux/mips: Move directory from
8675         ports/sysdeps/unix/sysv/linux/mips.
8676         * README: Update listing for mips-*-linux-gnu and
8677         mips64-*-linux-gnu.
8678
8679 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
8680
8681         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8682         * sysdeps/unix/sysv/linux/m68k: Move directory from
8683         ports/sysdeps/unix/sysv/linux/m68k.
8684         * README: Update listing for m68k-*-linux-gnu.
8685
8686 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
8687
8688         * sysdeps/tile: Move directory from ports/sysdeps/tile.
8689         * sysdeps/unix/sysv/linux/generic: Move directory from
8690         ports/sysdeps/unix/sysv/linux/generic.
8691         * sysdeps/unix/sysv/linux/tile: Move directory from
8692         ports/sysdeps/unix/sysv/linux/tile.
8693         * README: Update listing for tile*-*-linux-gnu.
8694
8695 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
8696
8697         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8698         __builtin_expect.
8699         * benchtests/bench-memmem.c (simple_memmem): Likewise.
8700         * catgets/open_catalog.c (__open_catalog): Likewise.
8701         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8702         * debug/confstr_chk.c: Likewise.
8703         * debug/fread_chk.c (__fread_chk): Likewise.
8704         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8705         * debug/getgroups_chk.c: Likewise.
8706         * debug/mbsnrtowcs_chk.c: Likewise.
8707         * debug/mbsrtowcs_chk.c: Likewise.
8708         * debug/mbstowcs_chk.c: Likewise.
8709         * debug/memcpy_chk.c: Likewise.
8710         * debug/memmove_chk.c: Likewise.
8711         * debug/mempcpy_chk.c: Likewise.
8712         * debug/memset_chk.c: Likewise.
8713         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8714         * debug/strcat_chk.c (__strcat_chk): Likewise.
8715         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8716         * debug/strncat_chk.c (__strncat_chk): Likewise.
8717         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8718         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8719         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8720         * debug/wcpncpy_chk.c: Likewise.
8721         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8722         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8723         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8724         * debug/wcsncpy_chk.c: Likewise.
8725         * debug/wcsnrtombs_chk.c: Likewise.
8726         * debug/wcsrtombs_chk.c: Likewise.
8727         * debug/wcstombs_chk.c: Likewise.
8728         * debug/wmemcpy_chk.c: Likewise.
8729         * debug/wmemmove_chk.c: Likewise.
8730         * debug/wmempcpy_chk.c: Likewise.
8731         * debug/wmemset_chk.c: Likewise.
8732         * dirent/scandirat.c (SCANDIRAT): Likewise.
8733         * dlfcn/dladdr1.c (dladdr1): Likewise.
8734         * dlfcn/dladdr.c (dladdr): Likewise.
8735         * dlfcn/dlclose.c (dlclose_doit): Likewise.
8736         * dlfcn/dlerror.c (__dlerror): Likewise.
8737         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8738         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8739         * dlfcn/dlopen.c (dlopen_doit): Likewise.
8740         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8741         * dlfcn/dlsym.c (dlsym_doit): Likewise.
8742         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8743         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8744         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8745         Likewise.
8746         * elf/dl-conflict.c: Likewise.
8747         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8748         * elf/dl-dst.h: Likewise.
8749         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8750         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8751         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8752         * elf/dl-init.c (call_init, _dl_init): Likewise.
8753         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8754         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8755         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8756         Likewise.
8757         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8758         Likewise.
8759         * elf/dl-minimal.c (__libc_memalign): Likewise.
8760         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8761         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8762         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8763         * elf/dl-sym.c (do_sym): Likewise.
8764         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8765         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8766         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8767         * elf/dl-writev.h (_dl_writev): Likewise.
8768         * elf/ldconfig.c (search_dir): Likewise.
8769         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8770         (dl_main): Likewise.
8771         * elf/setup-vdso.h (setup_vdso): Likewise.
8772         * grp/compat-initgroups.c (compat_call): Likewise.
8773         * grp/fgetgrent.c (fgetgrent): Likewise.
8774         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8775         * grp/putgrent.c (putgrent): Likewise.
8776         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8777         Likewise.
8778         * hurd/hurdinit.c: Likewise.
8779         * iconvdata/8bit-gap.c (struct): Likewise.
8780         * iconvdata/ansi_x3.110.c : Likewise.
8781         * iconvdata/big5.c : Likewise.
8782         * iconvdata/big5hkscs.c : Likewise.
8783         * iconvdata/cp1255.c: Likewise.
8784         * iconvdata/cp1258.c : Likewise.
8785         * iconvdata/cp932.c : Likewise.
8786         * iconvdata/euc-cn.c: Likewise.
8787         * iconvdata/euc-jisx0213.c : Likewise.
8788         * iconvdata/euc-jp.c: Likewise.
8789         * iconvdata/euc-jp-ms.c : Likewise.
8790         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8791         * iconvdata/gb18030.c : Likewise.
8792         * iconvdata/gbbig5.c (const): Likewise.
8793         * iconvdata/gbgbk.c: Likewise.
8794         * iconvdata/gbk.c : Likewise.
8795         * iconvdata/ibm1364.c : Likewise.
8796         * iconvdata/ibm930.c : Likewise.
8797         * iconvdata/ibm932.c: Likewise.
8798         * iconvdata/ibm933.c : Likewise.
8799         * iconvdata/ibm935.c : Likewise.
8800         * iconvdata/ibm937.c : Likewise.
8801         * iconvdata/ibm939.c : Likewise.
8802         * iconvdata/ibm943.c: Likewise.
8803         * iconvdata/iso_11548-1.c: Likewise.
8804         * iconvdata/iso-2022-cn.c : Likewise.
8805         * iconvdata/iso-2022-cn-ext.c : Likewise.
8806         * iconvdata/iso-2022-jp-3.c: Likewise.
8807         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8808         * iconvdata/iso-2022-kr.c : Likewise.
8809         * iconvdata/iso646.c (gconv_end): Likewise.
8810         * iconvdata/iso_6937-2.c : Likewise.
8811         * iconvdata/iso_6937.c : Likewise.
8812         * iconvdata/iso8859-1.c: Likewise.
8813         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8814         * iconvdata/shift_jisx0213.c : Likewise.
8815         * iconvdata/sjis.c : Likewise.
8816         * iconvdata/t.61.c : Likewise.
8817         * iconvdata/tcvn5712-1.c : Likewise.
8818         * iconvdata/tscii.c: Likewise.
8819         * iconvdata/uhc.c : Likewise.
8820         * iconvdata/unicode.c (gconv_end): Likewise.
8821         * iconvdata/utf-16.c (gconv_end): Likewise.
8822         * iconvdata/utf-32.c (gconv_end): Likewise.
8823         * iconvdata/utf-7.c (base64): Likewise.
8824         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8825         * iconv/gconv_close.c (__gconv_close): Likewise.
8826         * iconv/gconv_open.c (__gconv_open): Likewise.
8827         * iconv/gconv_simple.c (internal_ucs4_loop_single)
8828         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8829         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8830         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8831         (ucs4le_internal_loop_single): Likewise.
8832         * iconv/iconv.c (iconv): Likewise.
8833         * iconv/iconv_close.c: Likewise.
8834         * iconv/loop.c (SINGLE): Likewise.
8835         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8836         * include/atomic.h: Likewise.
8837         * inet/inet6_option.c (option_alloc): Likewise.
8838         * intl/bindtextdom.c (set_binding_values): Likewise.
8839         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8840         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8841         * intl/localealias.c (read_alias_file): Likewise.
8842         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8843         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8844         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8845         * libio/fmemopen.c (fmemopen): Likewise.
8846         * libio/iofgets.c (_IO_fgets): Likewise.
8847         * libio/iofgets_u.c (fgets_unlocked): Likewise.
8848         * libio/iofgetws.c (fgetws): Likewise.
8849         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8850         * libio/iogetdelim.c (_IO_getdelim): Likewise.
8851         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8852         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8853         * locale/findlocale.c (_nl_find_locale): Likewise.
8854         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8855         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8856         Likewise.
8857         * locale/setlocale.c (setlocale): Likewise.
8858         * login/programs/pt_chown.c (main): Likewise.
8859         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8860         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8861         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8862         (mmap, mmap64, mremap, munmap): Likewise.
8863         * math/e_exp2l.c: Likewise.
8864         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8865         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8866         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8867         * math/s_catan.c (__catan): Likewise.
8868         * math/s_catanf.c (__catanf): Likewise.
8869         * math/s_catanh.c (__catanh): Likewise.
8870         * math/s_catanhf.c (__catanhf): Likewise.
8871         * math/s_catanhl.c (__catanhl): Likewise.
8872         * math/s_catanl.c (__catanl): Likewise.
8873         * math/s_ccosh.c (__ccosh): Likewise.
8874         * math/s_ccoshf.c (__ccoshf): Likewise.
8875         * math/s_ccoshl.c (__ccoshl): Likewise.
8876         * math/s_cexp.c (__cexp): Likewise.
8877         * math/s_cexpf.c (__cexpf): Likewise.
8878         * math/s_cexpl.c (__cexpl): Likewise.
8879         * math/s_clog10.c (__clog10): Likewise.
8880         * math/s_clog10f.c (__clog10f): Likewise.
8881         * math/s_clog10l.c (__clog10l): Likewise.
8882         * math/s_clog.c (__clog): Likewise.
8883         * math/s_clogf.c (__clogf): Likewise.
8884         * math/s_clogl.c (__clogl): Likewise.
8885         * math/s_csin.c (__csin): Likewise.
8886         * math/s_csinf.c (__csinf): Likewise.
8887         * math/s_csinh.c (__csinh): Likewise.
8888         * math/s_csinhf.c (__csinhf): Likewise.
8889         * math/s_csinhl.c (__csinhl): Likewise.
8890         * math/s_csinl.c (__csinl): Likewise.
8891         * math/s_csqrt.c (__csqrt): Likewise.
8892         * math/s_csqrtf.c (__csqrtf): Likewise.
8893         * math/s_csqrtl.c (__csqrtl): Likewise.
8894         * math/s_ctan.c (__ctan): Likewise.
8895         * math/s_ctanf.c (__ctanf): Likewise.
8896         * math/s_ctanh.c (__ctanh): Likewise.
8897         * math/s_ctanhf.c (__ctanhf): Likewise.
8898         * math/s_ctanhl.c (__ctanhl): Likewise.
8899         * math/s_ctanl.c (__ctanl): Likewise.
8900         * math/w_pow.c: Likewise.
8901         * math/w_powf.c: Likewise.
8902         * math/w_powl.c: Likewise.
8903         * math/w_scalb.c (sysv_scalb): Likewise.
8904         * math/w_scalbf.c (sysv_scalbf): Likewise.
8905         * math/w_scalbl.c (sysv_scalbl): Likewise.
8906         * misc/error.c (error_tail): Likewise.
8907         * misc/pselect.c (__pselect): Likewise.
8908         * nis/nis_callback.c (__nis_create_callback): Likewise.
8909         * nis/nis_call.c (__nisfind_server): Likewise.
8910         * nis/nis_creategroup.c (nis_creategroup): Likewise.
8911         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8912         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8913         * nis/nis_getservlist.c (nis_getservlist): Likewise.
8914         * nis/nis_lookup.c (nis_lookup): Likewise.
8915         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8916         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8917         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8918         * nis/nis_xdr.c (xdr_endpoint): Likewise.
8919         * nis/nss_compat/compat-grp.c (getgrent_next_file)
8920         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8921         * nis/nss_compat/compat-initgroups.c (add_group)
8922         (internal_getgrent_r): Likewise.
8923         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8924         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8925         * nis/nss_compat/compat-spwd.c (getspent_next_file)
8926         (internal_getspnam_r): Likewise.
8927         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8928         (_nss_nis_getaliasbyname_r): Likewise.
8929         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8930         (_nss_nis_getntohost_r): Likewise.
8931         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8932         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8933         (_nss_nis_getgrgid_r): Likewise.
8934         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8935         (internal_nis_gethostent_r, internal_gethostbyname2_r)
8936         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8937         (_nss_nis_gethostbyname4_r): Likewise.
8938         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8939         (initgroups_netid): Likewise.
8940         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8941         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8942         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8943         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8944         (_nss_nis_getprotobynumber_r): Likewise.
8945         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8946         (_nss_nis_getsecretkey): Likewise.
8947         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8948         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8949         (_nss_nis_getpwuid_r): Likewise.
8950         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8951         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8952         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8953         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8954         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8955         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
8956         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8957         Likewise.
8958         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8959         (_nss_nisplus_getntohost_r): Likewise.
8960         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8961         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8962         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8963         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
8964         Likewise.
8965         * nis/nss_nisplus/nisplus-initgroups.c
8966         (_nss_nisplus_initgroups_dyn): Likewise.
8967         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8968         (_nss_nisplus_getnetbyaddr_r): Likewise.
8969         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8970         (_nss_nisplus_getprotobynumber_r): Likewise.
8971         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8972         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
8973         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8974         Likewise.
8975         * nis/nss_nisplus/nisplus-service.c
8976         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8977         (_nss_nisplus_getservbyport_r): Likewise.
8978         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8979         (_nss_nisplus_getspnam_r): Likewise.
8980         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8981         Likewise.
8982         * nscd/aicache.c (addhstaiX): Likewise.
8983         * nscd/cache.c (cache_search, prune_cache): Likewise.
8984         * nscd/connections.c (register_traced_file, send_ro_fd)
8985         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8986         (main_loop_epoll): Likewise.
8987         * nscd/grpcache.c (addgrbyX): Likewise.
8988         * nscd/hstcache.c (addhstbyX): Likewise.
8989         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8990         * nscd/mem.c (gc, mempool_alloc): Likewise.
8991         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8992         (addinnetgrX): Likewise.
8993         * nscd/nscd-client.h (__nscd_acquire_maplock)
8994         (__nscd_drop_map_ref): Likewise.
8995         * nscd/nscd_getai.c (__nscd_getai): Likewise.
8996         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8997         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8998         Likewise.
8999         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9000         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9001         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9002         (__nscd_get_map_ref): Likewise.
9003         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9004         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9005         Likewise.
9006         * nscd/pwdcache.c (addpwbyX): Likewise.
9007         * nscd/selinux.c (preserve_capabilities): Likewise.
9008         * nscd/servicescache.c (addservbyX): Likewise.
9009         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9010         * posix/fnmatch.c (fnmatch): Likewise.
9011         * posix/getopt.c (_getopt_internal_r): Likewise.
9012         * posix/glob.c (glob, glob_in_dir): Likewise.
9013         * posix/wordexp.c (exec_comm_child): Likewise.
9014         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9015         (getanswer_r, gaih_getanswer_slice): Likewise.
9016         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9017         * resolv/res_init.c: Likewise.
9018         * resolv/res_mkquery.c (res_nmkquery): Likewise.
9019         * resolv/res_query.c (__libc_res_nquery): Likewise.
9020         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9021         Likewise.
9022         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9023         * stdio-common/perror.c (perror): Likewise.
9024         * stdio-common/printf_fp.c (___printf_fp): Likewise.
9025         * stdio-common/tmpnam.c (tmpnam): Likewise.
9026         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9027         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9028         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9029         Likewise.
9030         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9031         * stdlib/putenv.c (putenv): Likewise.
9032         * stdlib/setenv.c (__add_to_environ): Likewise.
9033         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9034         * stdlib/strtol_l.c (INTERNAL): Likewise.
9035         * string/memmem.c (memmem): Likewise.
9036         * string/strerror.c (strerror): Likewise.
9037         * string/strnlen.c (__strnlen): Likewise.
9038         * string/test-memmem.c (simple_memmem): Likewise.
9039         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9040         * sunrpc/pm_getport.c (__get_socket): Likewise.
9041         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9042         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9043         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9044         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9045         Likewise.
9046         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9047         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9048         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9049         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9050         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9051         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9052         Likewise.
9053         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9054         Likewise.
9055         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9056         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9057         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9058         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9059         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9060         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9061         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9062         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9063         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9064         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9065         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9066         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9067         Likewise.
9068         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9069         Likewise.
9070         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9071         Likewise.
9072         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9073         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9074         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9075         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9076         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9077         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9078         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9079         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9080         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9081         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9082         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9083         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9084         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9085         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9086         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9087         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9088         Likewise.
9089         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9090         Likewise.
9091         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9092         Likewise.
9093         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9094         Likewise.
9095         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9096         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9097         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9098         Likewise.
9099         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9100         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9101         * sysdeps/posix/opendir.c (__opendirat): Likewise.
9102         * sysdeps/posix/sleep.c: Likewise.
9103         * sysdeps/posix/tempname.c: Likewise.
9104         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9105         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9106         Likewise.
9107         * sysdeps/powerpc/powerpc32/dl-machine.h
9108         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9109         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9110         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9111         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9112         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9113         Likewise.
9114         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9115         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9116         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9117         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9118         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9119         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9120         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9121         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9122         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9123         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9124         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9125         (elf_machine_lazy_rel): Likewise.
9126         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9127         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9128         (elf_machine_lazy_rel): Likewise.
9129         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9130         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9131         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9132         * sysdeps/unix/grantpt.c (grantpt): Likewise.
9133         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9134         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9135         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9136         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9137         Likewise.
9138         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9139         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9140         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9141         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9142         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9143         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9144         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9145         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9146         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9147         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9148         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9149         Likewise.
9150         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9151         (__posix_fallocate64_l64): Likewise.
9152         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9153         (posix_fallocate): Likewise.
9154         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9155         Likewise.
9156         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9157         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9158         (getifaddrs_internal): Likewise.
9159         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9160         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9161         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9162         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9163         * sysdeps/unix/sysv/linux/posix_fallocate64.c
9164         (__posix_fallocate64_l64): Likewise.
9165         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9166         Likewise.
9167         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9168         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9169         (__get_clockfreq): Likewise.
9170         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9171         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9172         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9173         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9174         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9175         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9176         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9177         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9178         Likewise.
9179         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9180         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9181         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9182         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9183         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9184         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9185         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9186         Likewise.
9187         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9188         (posix_fallocate): Likewise.
9189         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9190         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9191         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9192         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9193         (elf_machine_rela, elf_machine_rela_relative)
9194         (elf_machine_lazy_rel): Likewise.
9195         * time/asctime.c (asctime_internal): Likewise.
9196         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9197         * time/tzset.c (__tzset_parse_tz): Likewise.
9198         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9199         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9200         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9201         * wcsmbs/wcsmbsload.h: Likewise.
9202
9203         [BZ #15894]
9204         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9205
9206         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9207         (arena_get2): Remove THREAD_STATS conditionals.
9208         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9209         (__malloc_stats, int): Likewise.
9210
9211 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
9212
9213         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9214         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
9215
9216         * manual/setjmp.texi: Fix typos/grammar errors.
9217
9218         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9219         Only return early when n is <= 0.  Delete unused return statement.
9220
9221         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9222         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9223         * debug/tst-longjmp_chk3.c: New file.
9224
9225         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9226         (test_main): Replace code with set_fortify_handler call.
9227         * debug/test-strcpy_chk.c: Likewise.
9228         * debug/tst-chk1.c: Likewise.
9229         * debug/tst-longjmp_chk.c: Likewise.
9230         * test-skeleton.c: Include fcntl.h & paths.h
9231         (set_fortify_handler): Define.
9232
9233         * debug/tst-longjmp_chk.c: Add header comment and include
9234         ../test-skeleton.c.
9235         (do_test): Mark static.
9236         (TEST_FUNCTION): Define.
9237
9238         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9239         (IP_PMTUDISC_INTERFACE): Likewise.
9240         (IP_MULTICAST_IF): Likewise.
9241         (IP_MULTICAST_TTL): Likewise.
9242         (IP_MULTICAST_LOOP): Likewise.
9243         (IP_ADD_MEMBERSHIP): Likewise.
9244         (IP_DROP_MEMBERSHIP): Likewise.
9245         (IP_UNBLOCK_SOURCE): Likewise.
9246         (IP_BLOCK_SOURCE): Likewise.
9247         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9248         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9249         (IP_MSFILTER): Likewise.
9250         (MCAST_JOIN_GROUP): Likewise.
9251         (MCAST_BLOCK_SOURCE): Likewise.
9252         (MCAST_UNBLOCK_SOURCE): Likewise.
9253         (MCAST_LEAVE_GROUP): Likewise.
9254         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9255         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9256         (MCAST_MSFILTER): Likewise.
9257         (IP_MULTICAST_ALL): Likewise.
9258         (IP_UNICAST_IF): Likewise.
9259
9260         * timezone/Makefile: Delete $(have-ksh) check.
9261         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9262         * timezone/tzselect.ksh: Add +x mode bits.
9263
9264         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9265         (ANON_INODE_FS_MAGIC): Likewise.
9266         (BDEVFS_MAGIC): Likewise.
9267         (BINFMTFS_MAGIC): Likewise.
9268         (BTRFS_TEST_MAGIC): Likewise.
9269         (CRAMFS_MAGIC_WEND): Likewise.
9270         (DEBUGFS_MAGIC): Likewise.
9271         (ECRYPTFS_SUPER_MAGIC): Likewise.
9272         (EXT3_SUPER_MAGIC): Likewise.
9273         (EXT4_SUPER_MAGIC): Likewise.
9274         (FUTEXFS_SUPER_MAGIC): Likewise.
9275         (HOSTFS_SUPER_MAGIC): Likewise.
9276         (HUGETLBFS_MAGIC): Likewise.
9277         (MINIX3_SUPER_MAGIC): Likewise.
9278         (MTD_INODE_FS_MAGIC): Likewise.
9279         (NILFS_SUPER_MAGIC): Likewise.
9280         (OPENPROM_SUPER_MAGIC): Likewise.
9281         (PIPEFS_MAGIC): Likewise.
9282         (PSTOREFS_MAGIC): Likewise.
9283         (QNX6_SUPER_MAGIC): Likewise.
9284         (RAMFS_MAGIC): Likewise.
9285         (REISERFS_SUPER_MAGIC_STRING): Likewise.
9286         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9287         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9288         (SECURITYFS_MAGIC): Likewise.
9289         (SELINUX_MAGIC): Likewise.
9290         (SMACK_MAGIC): Likewise.
9291         (SOCKFS_MAGIC): Likewise.
9292         (SQUASHFS_MAGIC): Likewise.
9293         (STACK_END_MAGIC): Likewise.
9294         (TMPFS_MAGIC): Likewise.
9295         (USBDEVICE_SUPER_MAGIC): Likewise.
9296         (V9FS_MAGIC): Likewise.
9297         (XENFS_SUPER_MAGIC): Likewise.
9298         (CRAMFS_MAGIC): Fix typo in comment.
9299         (EXT2_SUPER_MAGIC): Update comment.
9300         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9301
9302 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
9303
9304         * sysdeps/arm: Move directory from ports/sysdeps/arm.
9305         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9306         * sysdeps/unix/sysv/linux/arm: Move directory from
9307         ports/sysdeps/unix/sysv/linux/arm.
9308         * README: Update listing for arm-*-linux-gnueabi.
9309
9310         * README: Remove mention of am33.
9311
9312 2014-02-07  Roland McGrath  <roland@hack.frob.com>
9313
9314         * bits/sigset.h (__sigemptyset): Use a statement expression rather
9315         than the comma operator, to avoid "rhs of comma has no effect"
9316         compiler warnings.
9317         (__sigfillset, __sigandset, __sigorset): Likewise.
9318         * include/signal.h (__sigemptyset): Likewise.
9319         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9320
9321 2014-02-07  Allan McRae  <allan@archlinux.org>
9322
9323         * version.h (RELEASE): Set to "development".
9324         (VERSION): Set to "2.19.90"
9325         * NEWS: Add 2.20 section.
9326
9327 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
9328
9329         [BZ #16529]
9330         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9331
9332 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9333
9334         * manual/contrib.texi: Update entry for Carlos O'Donell,
9335         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9336
9337 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
9338
9339         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9340
9341         * sysdeps/unix/sysv/linux/kernel-features.h
9342         [__LINUX_KERNEL_VERSION >= 0x020621]
9343         (__ASSUME_PROC_PID_TASK_COMM): Define.
9344
9345 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9346
9347         [BZ #16398]
9348         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9349         conversion when destination buffer does not have enough space.
9350         * libio/tst-ftell-partial-wide.c: New test case.
9351         * libio/Makefile (tests): Add tst-ftell-partial-wide.
9352
9353         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9354         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
9355         Leonard and Allan McRae.
9356
9357 2014-02-04  David S. Miller  <davem@davemloft.net>
9358
9359         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9360         32-bit.
9361
9362 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9363
9364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9365         New file
9366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9367         New file
9368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9369         New file.
9370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9371         New file.
9372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9373         New file.
9374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9375         New file.
9376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9377         New file.
9378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9379         New file.
9380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9381         New file.
9382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9383         New file.
9384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9385         New file.
9386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9387         New file.
9388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9389         New file.
9390
9391 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9392
9393         * nptl/shlib-versions: Change powerpc*le start to 2.17.
9394         * shlib-versions: Likewise.
9395
9396 2014-02-04  Roland McGrath  <roland@hack.frob.com>
9397             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9398
9399         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9400         (abilist-pattern): New variable, set to %-le.abilist.
9401
9402         * Makerules (abilist-pattern): New variable.
9403         (vpath): Use $(abilist-pattern) in place of %.abilist.
9404         (check-abi-% pattern rule): Likewise.
9405         (check-abi, update-abi): Likewise.
9406
9407 2014-02-04  Eric Wong  <normalperson@yhbt.net>
9408
9409         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9410
9411 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
9412
9413         * manual/startup.texi: Add next, previous, and top entries for
9414         the `Program Arguments' and `Environment Variables' nodes.
9415
9416 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
9417
9418         * manual/macros.texi: Add comments before MTASC-safety macros.
9419
9420         * manual/users.texi: Document MTASC-safety properties.
9421
9422         * manual/threads.texi (pthread_key_create, pthread_key_delete)
9423         (pthread_getspecific, pthread_setspecific): Format with
9424         @deftypefun, and add @safety note.
9425         * manual/signal.texi: Move comments that analyze the above
9426         functions to their home place.
9427
9428 2014-02-03  Allan McRae  <allan@archlinux.org>
9429
9430         * po/sl.po: Update Slovenian translation from translation project.
9431
9432 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
9433
9434         * manual/time.texi (timegm): Add missing blank after @c.
9435         Reported by Joseph Myers <joseph@codesourcery.com>.
9436
9437 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
9438
9439         * manual/check-safety.sh: New.
9440         * manual/Makefile ($(objpfx)stamp-summary): Run it.
9441
9442         * manual/terminal.texi: Document MTASC-safety properties.
9443
9444         * manual/filesys.texi: Document MTASC-safety properties.
9445
9446         * manual/errno.texi: Document MTASC-safety properties.
9447
9448         * manual/intro.texi: Document safety identifiers and
9449         conditionals.
9450
9451         * manual/string.texi (wcstok): Fix prototype.
9452         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9453
9454         * manual/time.texi: Document MTASC-safety properties.
9455
9456         * manual/string.texi: Document MTASC-safety properties.
9457
9458         * manual/threads.texi: Document MTASC-safety properties.
9459
9460         * manual/stdio.texi: Document MTASC-safety properties.
9461
9462         * manual/syslog.texi: Document MTASC-safety properties.
9463
9464         * manual/sysinfo.texi: Document MTASC-safety properties.
9465
9466         * manual/startup.texi: Document MTASC-safety properties.
9467
9468         * manual/socket.texi: Document MTASC-safety properties.
9469
9470         * manual/signal.texi: Document MTASC-safety properties.
9471
9472 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
9473
9474         * manual/setjmp.texi: Document MTASC-safety properties.
9475
9476         * manual/search.texi: Document MTASC-safety properties.
9477
9478         * manual/resource.texi: Document MTASC-safety properties.
9479
9480         * manual/process.texi: Document MTASC-safety properties.
9481
9482         * manual/platform.texi: Document MTASC-safety properties.
9483
9484         * manual/pipe.texi: Document MTASC-safety properties.
9485
9486         * manual/pattern.texi: Document MTASC-safety properties.
9487
9488         * manual/message.texi: Document MTASC-safety properties.
9489
9490         [BZ #12751]
9491         * manual/memory.texi: Document MTASC-safety properties.
9492
9493         * manual/math.texi: Document MTASC-safety properties.
9494
9495         * manual/locale.texi: Document MTASC-safety properties.
9496
9497         * manual/llio.texi: Document MTASC-safety properties.
9498
9499         * manual/libdl.texi: New.
9500
9501         * manual/lang.texi: Document MTASC-safety properties.
9502
9503         * manual/job.texi: Document MTASC-safety properties.
9504
9505         * manual/getopt.texi: Document MTASC-safety properties.
9506
9507         * manual/ctype.texi: Document MTASC-safety properties.
9508
9509 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
9510
9511         [BZ #16046]
9512         * csu/libc-tls.c (static_map): Remove variable.
9513         (__libc_setup_tls): Use main executable's link map for TLS data.
9514         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9515         casing for LM_ID_BASE and GL(dl_nns).
9516         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9517         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
9518         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9519         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9520         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9521         member.
9522         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9523         l_phnum members.
9524
9525 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
9526
9527         * manual/debug.texi: Document MTASC-safety properties.
9528
9529 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
9530
9531         [BZ #16510]
9532         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9533         of __x86_64__ when disabling x87 inline functions.
9534
9535 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
9536
9537         * manual/charset.texi: Document MTASC-safety properties.
9538
9539         * manual/crypt.texi: Document MTASC-safety properties.
9540
9541         * manual/conf.texi: Document MTASC-safety properties.
9542
9543         * manual/arith.texi: Document MTASC-safety properties.
9544
9545         * manual/argp.texi: Document MTASC-safety properties.
9546
9547         * manual/macros.texi: Introduce macros to document multi
9548         thread, asynchronous signal and asynchronous cancellation
9549         safety properties.
9550         * manual/intro.texi: Introduce the properties themselves.
9551
9552 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9553
9554         * sysdeps/sh/sh4/Makefile: New file.
9555
9556 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
9557
9558         * math/gen-libm-test.pl ($srcdir): New variable.
9559         ($auto_input): Use it.
9560
9561 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9562
9563         [BZ #16506]
9564         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9565         access beyond array bounds when parsing netgroups file.
9566
9567         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9568         the old buffer before realloc.
9569
9570 2014-01-27  Allan McRae  <allan@archlinux.org>
9571
9572         * po/fr.po: Update French translation from translation project.
9573
9574 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9575
9576         * sysdeps/sh/libm-test-ulps: Regenerate.
9577
9578 2014-01-24  David S. Miller  <davem@davemloft.net>
9579
9580         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9581
9582 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9583
9584         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9585         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9586
9587 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9588
9589         [BZ #16474]
9590         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9591         string pointers after reallocation.
9592
9593 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9594
9595         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9596         __SH4A__ instead of __SH_FPU_ANY__.
9597
9598 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9599
9600         * sysdeps/sh/fpu_control.h: New file.
9601         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9602         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9603         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9604         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9605         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9606         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9607         * sysdeps/sh/sys/ucontext.h: Remove.
9608         * sysdeps/sh/sys: Remove directory.
9609
9610 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9611
9612         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9613         s390/sys/ucontext.h.
9614         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9615         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9616
9617 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
9618
9619         [BZ #15605]
9620         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9621
9622 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9623
9624         [BZ#16431]
9625         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9626         Adjust the vDSO correctly for internal calls.
9627         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9628
9629 2014-01-20  Allan McRae  <allan@archlinux.org>
9630
9631         * po/ca.po: Update Catalan translation from translation project.
9632
9633 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
9634
9635         * sysdeps/s390/sotruss-lib.c: New file.
9636
9637 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9638
9639         [BZ#16430]
9640         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9641         (__GI___gettimeofday): Alias for a different internal symbol to avoid
9642         local calls issues by not having a PLT stub required for IFUNC calls.
9643         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9644
9645 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
9646
9647         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9648         * math/test-fpucw-static.c: Likewise.
9649
9650 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9651
9652         [BZ #16453]
9653         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9654
9655 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9656
9657         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9658         implementation for powerpc.
9659
9660 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
9661
9662         [BZ #14782]
9663         * sysdeps/posix/system.c (__libc_system): Do not enable
9664         asynchronous cancellation.
9665
9666 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9667
9668         [BZ #16427]
9669         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9670         handling only for numbers special also in the IEEE case.
9671
9672 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9673
9674         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9675
9676 2014-01-11  Allan McRae  <allan@archlinux.org>
9677
9678         * po/bg.po: Update Bulgarian translation from translation project.
9679
9680         * po/de.po: Update German translation from translation project.
9681
9682 2014-01-10  Roland McGrath  <roland@hack.frob.com>
9683
9684         * sysdeps/generic/gcc-compat.h: New file.
9685
9686 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9687
9688         * benchtests/asin-inputs: Correct slow inputs.
9689         * benchtests/acos-inputs: Likewise.
9690
9691 2014-01-10  Allan McRae  <allan@archlinux.org>
9692
9693         * po:sv.po: Update Swedish translation from translation project.
9694
9695         * po/vi.po: Update Vietnamese translation from translation project.
9696
9697         * po/eo.po: Update Esperanto translation from translation project.
9698
9699         * po/cs.po: Update Czech translation from translation project.
9700
9701         * po/nl.po: Update Dutch translation from translation project.
9702
9703         * po/pl.po: Update Polish translation from translation project.
9704
9705         * po/ru.po: Update Russian translation from translation project.
9706
9707         * po/uk.po: Update Ukrainian translation from translation project.
9708
9709 2014-01-08  Brooks Moses  <bmoses@google.com>
9710
9711         * elf/dl-load.c: Fix comment typo.
9712
9713 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
9714
9715         * po/header.pot: Rename to...
9716         * po/pot.header: ... this.
9717         * po/Makefile: Use pot.header.
9718
9719 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
9720             Maxim Kuvyrkov  <maxim@kugelworks.com>
9721
9722         [BZ #16394]
9723         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9724         SRC and DEST against LEN.
9725
9726 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9727
9728         [BZ #16414]
9729         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9730         implementation.
9731         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9732
9733 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9734
9735         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9736
9737 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
9738
9739         [BZ #16408]
9740         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9741         for large positive arguments.
9742
9743 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
9744
9745         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9746
9747         * math/auto-libm-test-in: Mark various tests with
9748         xfail-rounding:ldbl-128ibm.
9749         * math/auto-libm-test-out: Regenerated.
9750
9751         [BZ #16407]
9752         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9753         Increase overflow threshold.
9754
9755 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
9756
9757         [BZ #14286]
9758         * stdio-common/vfprintf.c: Check for integer overflow.
9759
9760 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9761
9762         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9763         the first argument and return value of __tls_get_addr_internal.
9764
9765 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9766
9767         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9768         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9769
9770 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9771
9772         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9773         * sysdeps/s390/rtld-global-offsets.sym: New file.
9774         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9775         GLIBC_2.19 symbol.
9776         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9777         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9778         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9779         ... this.
9780         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9781         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9782         ... this.
9783         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9784         Regenerate.
9785         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9786         Regenerate.
9787         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9788         halfs of GPRs for high_gprs contexts.
9789         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9790         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
9791         field.
9792         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9793         uc_flags field.
9794         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9795         64 bit versions:
9796         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9797         for high GPRs (uc_high_gprs) and for future extensions
9798         (__reserved).
9799         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9800         for future extensions (__reserved).
9801         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9802         64 bit versions:
9803         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9804         SC_HIGHGPRS offset definition.
9805         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9806         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9807
9808         * Versions.def: Add GLIBC_2.19 for libpthread.
9809         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9810         siglongjmp for libpthread with GLIBC_2.19 symver.
9811         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9812         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9813         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9814         * sysdeps/s390/__longjmp.c: New file.
9815         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9816         * sysdeps/s390/longjmp.c: New file.
9817         * sysdeps/s390/setjmp.S: New file.
9818         * sysdeps/s390/sigjmp.S: New file.
9819         * sysdeps/s390/v1-longjmp.c: New file.
9820         * sysdeps/s390/v1-setjmp.h: New file.
9821         * sysdeps/s390/v1-sigjmp.c: New file.
9822         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9823         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9824         GLIBC_2.19 version.
9825         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9826         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9827         versioned symbols for ____longjmp_chk.
9828         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9829         Likewise.
9830         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9831         Regenerate.
9832         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9833         Regenerate.
9834         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9835         Regenerate.
9836         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9837         Regenerate.
9838         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9839         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9840         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9841         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9842         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9843         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9844         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9845         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9846         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9847         * sysdeps/s390/rtld-__longjmp.c: New file.
9848         * sysdeps/s390/rtld-setjmp.S: New file.
9849
9850 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
9851
9852         [BZ #16400]
9853         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9854         Return -__logl (x) for small positive arguments without evaluating
9855         a polynomial.
9856
9857 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
9858
9859         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9860         Rename to ...
9861         (__ptrace_peeksiginfo_args): ... this.
9862         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9863         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9864         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9865
9866 2014-01-06  Allan McRae  <allan@archlinux.org>
9867
9868         * inet/netinet/in.h: Fix typo in comment.
9869
9870 2014-01-05  Andreas Jaeger  <aj@suse.de>
9871
9872         * sysdeps/i386/fpu/libm-test-ulps: Update.
9873
9874 2014-01-05  Allan McRae  <allan@archlinux.org>
9875
9876         * po/libc.pot: Regenerated.
9877
9878         * malloc/memusagestat.c: Fix gettext call formatting.
9879
9880 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
9881
9882         * nscd/nscd.c: Improve usage() output.
9883
9884 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
9885
9886         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9887         * sysdeps/unix/sysv/linux/configure: Regenerated.
9888         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9889         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9890
9891 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
9892
9893         [BZ #16390]
9894         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9895         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9896
9897 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9898
9899         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9900         extra tokens at end of #undef directive.
9901         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9902         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9903         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9904
9905 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
9906
9907         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9908
9909         * math/auto-libm-test-in: Mark various tests with
9910         xfail-rounding:ldbl-128ibm.
9911         * math/auto-libm-test-out: Regenerated.
9912
9913 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
9914
9915         [BZ #16386]
9916         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9917         numbers with subnormal high part when calculating exponent.
9918
9919         [BZ #16385]
9920         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9921         fabs.
9922
9923         [BZ #16384]
9924         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9925         M_LN2l.
9926         (__ieee754_acoshl): Use __log1pl not __log1p.
9927
9928 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
9929
9930         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9931         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9932         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9933         (grow_heap, heap_trim, _int_new_arena, get_free_list)
9934         (reused_arena, arena_get2): Convert to GNU style.
9935         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9936         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9937         (memalign_check, __malloc_set_state): Likewise.
9938         * malloc/mallocbug.c (main): Likewise.
9939         * malloc/malloc.c (__malloc_assert, malloc_init_state)
9940         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9941         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9942         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9943         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9944         (__posix_memalign, malloc_info): Likewise.
9945         * malloc/malloc.h: Likewise.
9946         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9947         (mallochook, memalignhook, reallochook, mabort): Likewise.
9948         * malloc/mcheck.h: Likewise.
9949         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9950         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9951         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9952         * malloc/morecore.c (__default_morecore): Likewise.
9953         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9954         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9955         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9956         (print_and_abort): Likewise.
9957         * malloc/obstack.h: Likewise.
9958         * malloc/set-freeres.c (__libc_freeres): Likewise.
9959         * malloc/tst-mallocstate.c (main): Likewise.
9960         * malloc/tst-mtrace.c (main): Likewise.
9961         * malloc/tst-realloc.c (do_test): Likewise.
9962
9963 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9964
9965         [BZ #16366]
9966         * nscd/netgroupcache.c (do_notfound): New function.
9967         (addgetnetgrentX): Use it.
9968
9969         [BZ # 16365]
9970         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9971         NSS_STATUS_NOTFOUND.
9972
9973 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
9974
9975         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9977
9978 2014-01-01  Allan McRae  <allan@archlinux.org>
9979
9980         * scripts/update-copyrights: Update configure input file suffix.
9981
9982         * NEWS: Update copyright year.
9983         * catgets/gencat.c: Likewise.
9984         * csu/version.c: Likewise.
9985         * debug/catchsegv.sh: Likewise.
9986         * debug/pcprofiledump.c: Likewise.
9987         * debug/xtrace.sh: Likewise.
9988         * elf/ldconfig.c: Likewise.
9989         * elf/ldd.bash.in: Likewise.
9990         * elf/pldd.c: Likewise.
9991         * elf/sotruss.ksh: Likewise.
9992         * elf/sprof.c: Likewise.
9993         * iconv/iconv_prog.c: Likewise.
9994         * iconv/iconvconfig.c: Likewise.
9995         * locale/programs/locale.c: Likewise.
9996         * locale/programs/localedef.c: Likewise.
9997         * login/programs/pt_chown.c: Likewise.
9998         * malloc/memusage.sh: Likewise.
9999         * malloc/memusagestat.c: Likewise.
10000         * malloc/mtrace.pl: Likewise.
10001         * manual/libc.texinfo: Likewise.
10002         * nscd/nscd.c: Likewise.
10003         * nss/getent.c: Likewise.
10004         * nss/makedb.c: Likewise.
10005         * posix/getconf.c: Likewise.
10006         * scripts/test-installation.pl: Likewise.
10007
10008         * All files with FSF copyright notices: Update copyright dates
10009         using scripts/update-copyrights.
10010         * intl/plural.c: Regenerated.
10011         * locale/programs/charmap-kw.h: Likewise.
10012         * locale/programs/locfile-kw.h: Likewise.
10013
10014 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
10015
10016         * sysdeps/unix/sysv/linux/configure: Regenerated.
10017         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10018         the linux/fanotify.h header.
10019         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10020         HAVE_LINUX_FANOTIFY_H is defined.
10021
10022 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
10023
10024         * benchtests/cos-inputs: New inputs.
10025         * benchtests/sin-inputs: Likewise.
10026
10027         * benchtests/atan-inputs: New inputs. Fix name of multiple
10028         precision fallback inputs.
10029
10030         * benchtests/atanh-inputs: New inputs.
10031         * benchtests/tanh-inputs: Likewise.
10032
10033         * benchtests/acosh-inputs: New inputs.
10034         * benchtests/asinh-inputs: Likewise.
10035
10036         * benchtests/cosh-inputs: New inputs.
10037         * benchtests/sinh-inputs: Likewise.
10038
10039         * benchtests/acos-inputs: Add more inputs.
10040         * benchtests/asin-inputs: Likewise.
10041
10042 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
10043
10044         [BZ #16375]
10045         * manual/arith.texi: Fix spelling.
10046         * manual/charset.texi: Likewise.
10047         * manual/errno.texi: Likewise.
10048         * manual/filesys.texi: Likewise.
10049         * manual/lang.texi: Likewise.
10050         * manual/llio.texi: Likewise.
10051         * manual/locale.texi: Likewise.
10052         * manual/message.texi: Likewise.
10053         * manual/resource.texi: Likewise.
10054         * manual/search.texi: Likewise.
10055         * manual/setjmp.texi: Likewise.
10056         * manual/stdio.texi: Likewise.
10057         * manual/string.texi: Likewise.
10058         * manual/sysinfo.texi: Likewise.
10059         * manual/time.texi: Likewise.
10060
10061 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
10062
10063         * po/sl.po: New file.
10064
10065 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
10066
10067         * .gitignore: Add core/.gdbinit/.gdb_history.
10068
10069 2013-12-27  Allan McRae  <allan@archlinux.org>
10070
10071         [BZ #16369]
10072         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10073         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10074
10075 2013-12-24  Brooks Moses  <bmoses@google.com>
10076
10077         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10078         all compilers that claim C++98 compliance, not just GCC.
10079         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10080         Likewise.
10081
10082 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10083
10084         * NEWS: Restore accidentally deleted bug-fix entries.
10085
10086 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10087             Ondřej Bílka  <neleai@seznam.cz>
10088
10089         [BZ #15073]
10090         * malloc/malloc.c (_int_free): Perform sanity check only if we
10091         have_lock.
10092
10093 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
10094
10095         [BZ #12986]
10096         * manual/stdio.texi (String Input Conversions): Clarify that character
10097         classes are not supported.
10098
10099 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10100
10101         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10102
10103 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
10104
10105         [BZ #16337]
10106         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10107         Calculate results for small negative arguments directly rather
10108         than using reflection formula with special underflow handling.
10109
10110         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10111         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10112         sysdeps/unix/bsd/bsd4.4/syscalls.list.
10113         (fchflags): Likewise.
10114         (revoke): Likewise.
10115         (setlogin): Likewise.
10116         (sigaltstack): Likewise.
10117         (wait4): Likewise.
10118         (sigblock): Remove.
10119         (sigsetmask): Likewise.
10120         (wait3): Likewise.
10121         (waitpid): Likewise.
10122         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10123         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10124         file.
10125         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10126         * sysdeps/unix/bsd/Makefile: ... here.
10127         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10128         * sysdeps/unix/bsd/Versions: ... here.
10129         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10130         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10131         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10132         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10133         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10134         * sysdeps/unix/bsd/sigblock.c: ... here.
10135         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10136         * sysdeps/unix/bsd/sigsetmask.c: ... here.
10137         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10138         * sysdeps/unix/bsd/sigvec.c: ... here.
10139         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10140         * sysdeps/unix/bsd/tcdrain.c: ... here.
10141         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10142         * sysdeps/unix/bsd/tcgetattr.c: ... here.
10143         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10144         * sysdeps/unix/bsd/tcsetattr.c: ... here.
10145         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10146         * sysdeps/unix/bsd/wait.c: ... here.
10147         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10148         * sysdeps/unix/bsd/wait3.c: ... here.
10149         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10150         * sysdeps/unix/bsd/waitpid.c: ... here.
10151
10152 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
10153
10154         [BZ #16356]
10155         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10156         round-to-nearest for [!USE_AS_EXPM1L].
10157         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10158         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
10159         more tests of exp and exp10.  Expect some exp10 tests to miss
10160         exceptions or fail in directed rounding modes.
10161         * math/auto-libm-test-out: Regenerated.
10162         * math/libm-test.inc (exp10_tonearest_test_data): New array.
10163         (exp10_test_tonearest): New function.
10164         (exp10_towardzero_test_data): New array.
10165         (exp10_test_towardzero): New function.
10166         (exp10_downward_test_data): New array.
10167         (exp10_test_downward): New function.
10168         (exp10_upward_test_data): New array.
10169         (exp10_test_upward): New function.
10170         (main): Call the new functions.
10171         * sysdeps/i386/fpu/libm-test-ulps: Update.
10172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10173
10174 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
10175
10176         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10177         asinh, atan, atan2, atanh, cbrt, cos and cosh.
10178         * math/auto-libm-test-out: Regenerated.
10179         * math/libm-test.inc (acosh_test_data): Add more tests.
10180         (atanh_test_data): Likewise.
10181         (ceil_test_data): Likewise.
10182         (copysign_test_data): Likewise.
10183         * sysdeps/i386/fpu/libm-test-ulps: Update.
10184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10185
10186         * timezone/checktab.awk: Update from tzcode 2013i.
10187         * timezone/private.h: Likewise.
10188         * timezone/scheck.c: Likewise.
10189         * timezone/tzfile.h: Likewise.
10190         * timezone/tzselect.ksh: Likewise.
10191         * timezone/zdump.c: Likewise.
10192         * timezone/zic.c: Likewise.
10193
10194         * math/auto-libm-test-in: Add tests of cpow.
10195         * math/auto-libm-test-out: Regenerated.
10196         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10197         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10198         mpc_cc_c.
10199         (func_calc_desc): Add mpc_cc_c union field.
10200         (test_functions): Add cpow.
10201         (special_fill_2pi): New function.
10202         (special_real_inputs): Add 2pi.
10203         (calc_generic_results): Handle mpc_cc_c.
10204         * sysdeps/i386/fpu/libm-test-ulps: Update.
10205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10206
10207         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10208         csqrt, ctan and ctanh.
10209         * math/auto-libm-test-out: Regenerated.
10210         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10211         (TEST_COND_x86): Likewise.
10212         (ccos_test_data): Use AUTO_TESTS_c_c.
10213         (ccosh_test_data): Likewise.
10214         (cexp_test_data): Likewise.
10215         (clog_test_data): Likewise.
10216         (csqrt_test_data): Likewise.
10217         (ctan_test_data): Likewise.
10218         (ctan_tonearest_test_data): Likewise.
10219         (ctan_towardzero_test_data): Likewise.
10220         (ctan_downward_test_data): Likewise.
10221         (ctan_upward_test_data): Likewise.
10222         (ctanh_test_data): Likewise.
10223         (ctanh_tonearest_test_data): Likewise.
10224         (ctanh_towardzero_test_data): Likewise.
10225         (ctanh_downward_test_data): Likewise.
10226         (ctanh_upward_test_data): Likewise.
10227         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10228         mpc_c_c.
10229         (func_calc_desc): Add mpc_c_c union field.
10230         (FUNC_mpc_c_c): New macro.
10231         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10232         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10233         ctanh.
10234         (special_fill_min_subnorm_p120): New function.
10235         (special_real_inputs): Add min_subnorm_p120.
10236         (calc_generic_results): Handle mpc_c_c.
10237         * sysdeps/i386/fpu/libm-test-ulps: Update.
10238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10239
10240 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10241
10242         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10243         (do_sin_slow): New functions.
10244         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10245         (cslow2, csloww1, csloww2): Use the new functions.
10246
10247         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10248         Use M to change sign of result instead of X.  Assume X is
10249         positive.
10250         (csloww1): Likewise.
10251         (__sin): Adjust.
10252         (__cos): Adjust.
10253
10254         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10255         arguments A and DA.
10256         (__sin): Adjust.
10257         (__cos): Likewise.
10258
10259         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10260         (__cos): Likewise.
10261         (sloww1): Don't adjust sign of DX.
10262         (csloww1): Likewise.
10263         (sloww2): Use X directly and don't adjust sign of DX.
10264         (csloww2): Likewise.
10265
10266 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10267
10268         * math/auto-libm-test-in: Add tests of cabs and carg.
10269         * math/auto-libm-test-out: Regenerated.
10270         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10271         (carg_test_data): Likewise.
10272         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10273         mpc_c_f.
10274         (func_calc_desc): Add mpc_c_f union field.
10275         (test_functions): Add cabs and carg.
10276         (calc_generic_results): Handle mpc_c_f.
10277
10278         * sysdeps/powerpc/powerpc32/libgcc-compat.S
10279         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10280         as a macro and a compat symbol.
10281         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10282         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10283         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10284         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10285         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10286         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10287         not use .hidden.
10288         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10289         Likewise.
10290         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10291         Likewise.
10292         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10293         Likewise.
10294         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10295         Likewise.
10296         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10297         Likewise.
10298         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10299         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10300         from GLIBC_2.3.2.
10301
10302 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10303
10304         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10305
10306 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10307
10308         * manual/texinfo.tex: Update to version 2013-11-26.10 with
10309         trailing whitespace removed.
10310         * scripts/config.guess: Update to version 2013-11-29.
10311         * scripts/config.sub: Update to version 2013-10-01.
10312
10313         * math/auto-libm-test-in: Add tests of sincos.
10314         * math/auto-libm-test-out: Regenerated.
10315         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10316         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10317         mpfr_f_11.
10318         (func_calc_desc): Add mpfr_f_11 union field.
10319         (test_functions): Add sincos.
10320         (calc_generic_results): Handle mpfr_f_11.
10321         * sysdeps/i386/fpu/libm-test-ulps: Update.
10322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10323
10324 2013-12-19  Andreas Schwab  <schwab@suse.de>
10325
10326         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10327         CALL_MCOUNT.
10328         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10329         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10330         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10331
10332 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10333
10334         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10335         * sysdeps/i386/fpu/libm-test-ulps: Update.
10336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10337
10338         [BZ #16293]
10339         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10340         round-to-nearest mode when using frndint.
10341         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10342         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10343         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10344         Likewise.
10345         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
10346         sinh test to fail.
10347         * math/auto-libm-test-out: Regenerated.
10348         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10349         (TEST_COND_x86): Likewise.
10350         (expm1_tonearest_test_data): New array.
10351         (expm1_test_tonearest): New function.
10352         (expm1_towardzero_test_data): New array.
10353         (expm1_test_towardzero): New function.
10354         (expm1_downward_test_data): New array.
10355         (expm1_test_downward): New function.
10356         (expm1_upward_test_data): New array.
10357         (expm1_test_upward): New function.
10358         (main): Run the new test functions.
10359         * sysdeps/i386/fpu/libm-test-ulps: Update.
10360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10361
10362         * include/features.h: Update comment documenting feature test
10363         macros.  Mention _DEFAULT_SOURCE in comment.
10364         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10365         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10366         _BSD_SOURCE and _SVID_SOURCE.
10367         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10368         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10369         !_SVID_SOURCE]: Likewise.
10370         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10371         (__USE_POSIX_IMPLICITLY): Define.
10372         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10373         (_POSIX_SOURCE): Undefine and redefine.
10374         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10375         (_POSIX_C_SOURCE): Likewise.
10376         * manual/creature.texi (_DEFAULT_SOURCE): Document.
10377         (Feature Test Macros): Update documentation of default features.
10378
10379 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10380
10381         * benchtests/Makefile: Add bench-strtok.
10382         * benchtests/bench-strtok.c: New file: strtok benchtest.
10383
10384 2013-12-19  Allan McRae  <allan@archlinux.org>
10385
10386         * manual/install.texi: Suppress menu for plain text output.
10387         * INSTALL: Regenerated.
10388
10389 2013-12-18  Brooks Moses  <bmoses@google.com>
10390
10391         [BZ #15846]
10392         * misc/getauxval.c: Include errno.h.
10393         (__getauxval): Set errno to ENOENT if the requested type is not
10394         found.
10395         * misc/sys/auxv.h (getauxval): Document that it may set errno;
10396         don't declare with __attribute_const__.
10397         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10398         * manual/startup.texi: Document that getauxval sets errno.
10399
10400 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10401
10402         * math/auto-libm-test-in: Add tests of jn and yn.
10403         * math/auto-libm-test-out: Regenerated.
10404         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10405         (yn_test_data): Likewise.
10406         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10407         mpfr_if_f.
10408         (func_calc_desc): Add mpfr_if_f union field.
10409         (FUNC_mpfr_if_f): New macro.
10410         (test_functions): Add jn and yn.
10411         (calc_generic_results): Assert type of second input for
10412         mpfr_ff_f.  Handle mpfr_if_f.
10413         (output_for_one_input_case): Disable all checking for arguments
10414         fitting floating-point types in case of an integer argument.
10415         * sysdeps/i386/fpu/libm-test-ulps: Update.
10416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10417
10418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10419         Don't expect fegetround reference in libm.so.
10420
10421 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10422
10423         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10424         $(config-cflags-nofma).
10425
10426 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10427
10428         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10429         * math/auto-libm-test-out: Regenerated.
10430
10431         [BZ #16338]
10432         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10433         to determine exponent and adjust argument to have exponent of -1.
10434         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10435         log2.
10436         * math/auto-libm-test-out: Regenerated.
10437         * sysdeps/i386/fpu/libm-test-ulps: Update.
10438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10439
10440 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
10441
10442         * manual/probes.texi: Remove cases when per-thread arenas are
10443         disabled.
10444
10445 2013-12-18  Andreas Schwab  <schwab@suse.de>
10446
10447         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10448         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10449         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10450         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10451         * sysdeps/i386/i686/multiarch/Makefile: Update.
10452         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10453
10454 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10455
10456         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10457         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10458
10459 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
10460
10461         [BZ #15968]
10462         Support TZ transition times < 00:00:00.
10463         This is needed for version-3 tz-format files; it supports time
10464         stamps past 2037 for America/Godthab (the only entry in the tz
10465         database for which this change is relevant).
10466         * manual/time.texi (TZ Variable): Document transition times
10467         from -167:59:59 through -00:00:01.
10468         * time/tzset.c (tz_rule): Time of day is now signed.
10469         (__tzset_parse_tz): Parse negative time of day.
10470
10471         Document TZ transition times >= 25:00:00.
10472         * manual/time.texi (TZ Variable): Document transition times from
10473         25:00:00 through 167:59:59.  These are already supported, and this
10474         support will help with version-3 tz-format files.
10475
10476         * manual/time.texi (TZ Variable): Modernize North America example
10477         to reflect current (i.e., 2007-and-later) daylight saving rules.
10478
10479         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10480
10481 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10482
10483         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10484         * sysdeps/unix/bsd/bits/stat.h: Likewise.
10485         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10486         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10487         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10488         * sysdeps/unix/bsd/bsdstat.h: Likewise.
10489         * sysdeps/unix/bsd/clock.c: Likewise.
10490         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10491         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10492         * sysdeps/unix/bsd/init-posix.c: Likewise.
10493         * sysdeps/unix/bsd/poll.c: Likewise.
10494         * sysdeps/unix/bsd/ptsname.c: Likewise.
10495         * sysdeps/unix/bsd/seekdir.c: Likewise.
10496         * sysdeps/unix/bsd/setegid.c: Likewise.
10497         * sysdeps/unix/bsd/seteuid.c: Likewise.
10498         * sysdeps/unix/bsd/setgid.c: Likewise.
10499         * sysdeps/unix/bsd/setrgid.c: Likewise.
10500         * sysdeps/unix/bsd/setruid.c: Likewise.
10501         * sysdeps/unix/bsd/setsid.c: Likewise.
10502         * sysdeps/unix/bsd/setuid.c: Likewise.
10503         * sysdeps/unix/bsd/sigaction.c: Likewise.
10504         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10505         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10506         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10507         * sysdeps/unix/bsd/telldir.c: Likewise.
10508         * sysdeps/unix/bsd/times.c: Likewise.
10509         * sysdeps/unix/bsd/usleep.c: Likewise.
10510
10511         * misc/Makefile (install-lib): Remove libbsd-compat.a.
10512         ($(objpfx)libbsd-compat.a): Remove rule.
10513
10514         * include/features.h (__FAVOR_BSD): Do not define.
10515         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10516         features conflicting with POSIX.
10517         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10518         (_BSD_SOURCE): Remove description of not being a subset of other
10519         feature test macros.
10520         * manual/job.texi (getpgrp): Do not document BSD version.
10521         (getpgid): Do not document by reference to BSD getpgrp.
10522         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10523         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10524         * signal/signal.h [__FAVOR_BSD]: Likewise.
10525         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10526         instead of making contents conditional on [__FAVOR_BSD].
10527         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10528
10529 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10530
10531         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10532
10533 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10534
10535         [BZ #16314]
10536         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10537         values below 2**-450, not 2**-500.
10538         * math/auto-libm-test-in: Don't allow spurious underflow from
10539         hypot.
10540         * math/auto-libm-test-out: Regenerated.
10541
10542         [BZ #16316]
10543         [BZ #16330]
10544         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10545         values of ha and hb and sort them after adjusting subnormal
10546         arguments.
10547         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10548         Likewise.
10549         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10550         values of ea and eb and sort them after adjusting subnormal
10551         arguments.
10552         * math/auto-libm-test-in: Do not expect some hypot tests of
10553         subnormals to fail.  Add more hypot tests.
10554         * math/auto-libm-test-out: Regenerated.
10555
10556 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10557
10558         [BZ #13304]
10559         * sysdeps/sh/s_fma.c: New file.
10560         * sysdeps/sh/s_fmaf.c: New file.
10561         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
10562         version.
10563         * sysdeps/sh/Implies: Add sh/soft-fp.
10564
10565 2013-12-16  Roland McGrath  <roland@hack.frob.com>
10566
10567         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
10568         level of indirection to members `objname', `errstring', `malloced'.
10569         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10570         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
10571         it as the __longjmp argument (just pass 1 instead).
10572         (_dl_catch_error): Initialize C with argument pointers and address of
10573         volatile local ERRCODE rather than copying values out of C at return.
10574
10575 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
10576
10577         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10578         * math/auto-libm-test-out: Regenerated.
10579         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10580         (hypot_test_data): Likewise.
10581         (pow_test_data): Likewise.
10582         (pow_tonearest_test_data): Likewise.
10583         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10584         mpfr_ff_f.
10585         (func_calc_desc): Add mpfr_ff_f union field.
10586         (FUNC_mpfr_ff_f): New macro.
10587         (test_functions): Add atan2, hypot and pow.
10588         (special_fill_min): New function.
10589         (special_fill_minus_min): Likewise.
10590         (special_fill_min_subnorm): Likewise.
10591         (special_fill_minus_min_subnorm): Likewise.
10592         (special_real_inputs): Add min, -min, min_subnorm and
10593         -min_subnorm.
10594         (calc_generic_results): Handle mpfr_ff_f.
10595         * sysdeps/i386/fpu/libm-test-ulps: Update.
10596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10597
10598 2013-12-16  Will Newton  <will.newton@linaro.org>
10599
10600         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10601         (Aligned Memory Blocks): Add documentation for aligned_alloc
10602         and suggest it as an alternative to posix_memalign.
10603         (Hooks for Malloc): Document __memalign_hook is also called
10604         for aligned_alloc.  (Summary of Malloc): Add summary for
10605         aligned alloc.  Document __memalign_hook is also called
10606         for aligned_alloc.
10607
10608 2013-12-16  Will Newton  <will.newton@linaro.org>
10609
10610         * manual/memory.texi (Malloc Examples): Clarify default
10611         alignment documentation.  Suggest posix_memalign rather
10612         than memalign or valloc.
10613         (Aligned Memory Blocks): Remove suggestion to use memalign
10614         or valloc.  Remove obsolete comment about BSD.
10615         Document memalign errno values and mark the function obsolete.
10616         Document posix_memalign returned error codes.  Mark valloc
10617         as obsolete.  (Hooks for Malloc): __memalign_hook is also
10618         called for posix_memalign and valloc.
10619         (Summary of Malloc): Add posix_memalign to function summary.
10620         __memalign_hook is also called for posix_memalign and valloc.
10621
10622 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10623
10624         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10625         TAYLOR_SIN.
10626         (__sin): Adjust.
10627         (__cos): Likewise.
10628         (sloww): Use mynumber union.  Expand ternary operator into
10629         if-else statements.
10630         (cslow): use mynumber union.
10631
10632 2013-12-16  Allan McRae  <allan@archlinux.org>
10633
10634         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10635         * configure: Regenerated.
10636
10637         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10638
10639         [BZ #14120]
10640         * configure.ac: Added --enable-maintainer-mode. Check for
10641         autoconf when enabled.
10642         * configure: Regenerated.
10643
10644         * nscd/nscd.service: New file.
10645         * nscd/nscd.tmpfiles: New file.
10646
10647 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
10648
10649         [BZ #12100]
10650         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10651         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10652         * sysdeps/x86_64/multiarch/strstr.c: ... here.
10653         (strstr): Add __strstr_sse2_unaligned ifunc.
10654         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10655         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10656         (strcasestr): Remove __strcasestr_sse42 ifunc.
10657         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10658         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10659         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10660
10661 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10662
10663         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10664         * sysdeps/sh/bits/fenv.h: ... here.
10665         * sysdeps/sh/sh4/fpu/bits: Remove directory.
10666
10667 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10668
10669         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10670
10671         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10672         hypotf multiarch implementations.
10673         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10674         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10675         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10676         multiarch hypot for PPC64.
10677         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10678         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10679         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10680         multiarch hypotf for PPC64.
10681
10682         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10683         modff multiarch implementations.
10684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10687         multiarch modf for PPC64.
10688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10691         multiarch modff for PPC64.
10692
10693         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10694         and logl multiarch implementations.
10695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10698         multiarch logb for PPC64.
10699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10702         multiarch logb for PPC64.
10703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10706         multiarch logb for PPC64.
10707
10708         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10709         isinff multiarch implementation.
10710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10711         file.
10712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10714         multiarch isinf for PPC64.
10715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10716         file.
10717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10718         multiarch isinff for PPC64.
10719
10720         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10721         finitef multiarch implementation.
10722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10723         file.
10724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10726         multiarch finite for PPC64.
10727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10728         file.
10729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10730         multiarch finitef for PPC64.
10731
10732         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10733         lrint multiarch implementation.
10734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10735         file.
10736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10738         multiarch llrint for PPC64.
10739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10740         multiarch lrint for PPC64.
10741
10742         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10743         copysignf multiarch implementation.
10744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10745         file.
10746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10747         file.
10748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10749         multiarch copysign for PPC64.
10750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10751         multiarch copysignf for PPC64.
10752
10753         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10754         multiarch implementation.
10755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10756         file.
10757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10758         file.
10759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10760         file.
10761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10762         file.
10763         multiarch llround for PPC64.
10764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10765         multiarch trunc for PPC64.
10766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10767         multiarch truncf for PPC64.
10768
10769         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10770         multiarch implementation.
10771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10772         file.
10773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10774         file.
10775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10776         file.
10777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10778         file.
10779         multiarch llround for PPC64.
10780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10781         multiarch round for PPC64.
10782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10783         multiarch roundf for PPC64.
10784
10785         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10786         multiarch implementation.
10787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10788         file.
10789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10790         file.
10791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10792         file.
10793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10794         file.
10795         multiarch llround for PPC64.
10796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10797         multiarch floor for PPC64.
10798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10799         multiarch floorf for PPC64.
10800
10801         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10802         multiarch implementation.
10803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10804         file.
10805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10806         file.
10807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10808         file.
10809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10810         file.
10811         multiarch llround for PPC64.
10812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10813         multiarch ceil for PPC64.
10814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10815         multiarch ceilf for PPC64.
10816
10817         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10818         multiarch implementation.
10819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10820         file.
10821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10822         file.
10823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10824         file.
10825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10826         multiarch llround for PPC64.
10827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10828         multiarch lround for PPC64.
10829
10830         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10831         multiarch implementation.
10832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10835         file.
10836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10839         multiarch isnan for PPC64.
10840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10841         multiarch isnanf for PPC64.
10842
10843         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10844         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10845         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10846         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10847         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10849
10850         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10851         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10852         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10853         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10854
10855         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10856         multiarch implementations.
10857         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10858         (__libc_ifunc_impl_list): Likewise.
10859         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10860         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10861         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10862         multiarch stpcpy for PPC64.
10863
10864         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10865         multiarch implementations.
10866         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10867         (__libc_ifunc_impl_list): Likewise.
10868         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10869         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10870         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10871         multiarch strcpy for PPC64.
10872
10873         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10874         redefine function name.
10875         (_wordcopy_fwd_dest_aligned): Likewise.
10876         (_wordcopy_bwd_aligned): Likewise.
10877         (_wordcopy_bwd_dest_aligned): Likewise.
10878         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10879         multiarch implementations.
10880         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10881         (__libc_ifunc_impl_list): Likewise.
10882         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10883         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10884         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10885         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10886         multiarch wcscpy for PPC64.
10887
10888         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10889         multiarch implementations.
10890         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10891         (__libc_ifunc_impl_list): Likewise.
10892         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10893         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10894         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10895         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10896         multiarch wcscpy for PPC64.
10897
10898         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10899         multiarch implementations.
10900         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10901         (__libc_ifunc_impl_list): Likewise.
10902         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10903         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10904         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10905         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10906         multiarch wcsrchr for PPC64.
10907
10908         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10909         multiarch implementations.
10910         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10911         (__libc_ifunc_impl_list): Likewise.
10912         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10913         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10914         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10915         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10916         multiarch wcschr for PPC64.
10917
10918         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10919         multiarch implementations.
10920         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10921         (__libc_ifunc_impl_list): Likewise.
10922         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10923         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10924         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10925         multiarch strchrnul for PPC64.
10926
10927         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10928         implementations.
10929         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10930         (__libc_ifunc_impl_list): Likewise.
10931         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10932         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10933         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10934         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10935         strchr for PPC64.
10936
10937         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10938         implementations.
10939         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10940         (__libc_ifunc_impl_list): Likewise.
10941         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10942         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10943         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10944         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10945         strncmp for PPC64.
10946
10947         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10948         multiarch implementations.
10949         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10950         (__libc_ifunc_impl_list): Likewise.
10951         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10952         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10953         strncasecmp for PPC64.
10954         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10955         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10956         multiarch strncasecmp_l for PPC64.
10957
10958         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10959         multiarch implementations.
10960         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10961         (__libc_ifunc_impl_list): Likewise.
10962         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10963         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10964         multiarch strcasecmp for PPC64.
10965         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10966         file.
10967         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10968         multiarch strcasecmp_l for PPC64.
10969
10970         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10971         implementations.
10972         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10973         (__libc_ifunc_impl_list): Likewise.
10974         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10975         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10976         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10977         strnlen for PPC64.
10978
10979         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10980         implementations.
10981         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10982         (__libc_ifunc_impl_list): Likewise.
10983         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10984         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10985         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10986         strlen for PPC64.
10987
10988         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10989         implementations.
10990         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10991         (__libc_ifunc_impl_list): Likewise.
10992         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10993         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10994         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10995         rawmemrchr for PPC64.
10996
10997         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10998         implementation.
10999         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11000         (__libc_ifunc_impl_list): Likewise.
11001         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11002         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11003         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11004         memrchr for PPC64.
11005
11006         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11007         implementation.
11008         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11009         (__libc_ifunc_impl_list): Likewise.
11010         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11011         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11012         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11013         memchr for PPC64.
11014
11015         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11016         implementation.
11017         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11018         (__libc_ifunc_impl_list): Likewise.
11019         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11020         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11021         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11022         mempcpy for PPC64.
11023
11024         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11025         avoid cretion of __bzero symbol.
11026         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11027         Likewise.
11028         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11029         Likewise.
11030         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11031         Likewise.
11032         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11033         multiarch implementations.
11034         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11035         (__libc_ifunc_impl_list): Likewise.
11036         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11037         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11038         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11039         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11040         bzero for PPC32.
11041         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11042         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11043         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11044         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11045         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11046         memset for PPC64.
11047         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11048
11049         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11050         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11051         implementations.
11052         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11053         (__libc_ifunc_impl_list): Likewise.
11054         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11055         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11056         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11057         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11058         memcmp for PPC64.
11059
11060         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11061         multiarch for POWER/PPC64.
11062         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11063         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11064         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11065         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11066         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11067         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11068         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11069         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11070         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11071         memcpy for PPC64.
11072
11073         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11074         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11075         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11076         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11077         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11078         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11079         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11080         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11081         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11082         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11083         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11084         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11085         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11086         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11087         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11095
11096 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11097
11098         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11099
11100 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11101
11102         * benchtests/Makefile (bench): Add exp2 and log2.
11103         (LDLIBS-bench-exp2): Add -lm.
11104         (LDLIBS-bench-log2): Likewise.
11105         * benchtests/exp2-inputs: New inputs file.
11106         * benchtests/log2-inputs: New inputs file.
11107         * benchtests/log-inputs: Add new inputs.
11108         * benchtests/tan-inputs: Likewise.
11109
11110 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11111
11112         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11113         definition...
11114         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11115         (csloww2): ... from here.
11116
11117         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11118         instead of structures.
11119         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11120         (POLYNOMIAL): Likewise.
11121         (TAYLOR_SLOW): Likewise.
11122         (__sin): Likewise.
11123         (__cos): Likewise.
11124         (slow1): Likewise.
11125         (slow2): Likewise.
11126         (sloww): Likewise.
11127         (sloww1); Likewise.
11128         (sloww2): Likewise.
11129         (bsloww1): Likewise.
11130         (bsloww2): Likewise.
11131         (cslow2): Likewise.
11132         (csloww): Likewise.
11133         (csloww1): Likewise.
11134         (csloww2): Likewise.
11135
11136 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
11137
11138         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11139         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11140         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11141         * malloc/hooks.c (realloc_check): Likewise.
11142
11143         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11144         * malloc/arena.c: Remove PER_THREAD conditional.
11145         [!PER_THREAD]: Remove code.
11146         (ptmalloc_unlock_all2): Likewise.
11147         (ptmalloc_init): Likewise.
11148         (_int_new_arena): Likewise.
11149         (arena_get2): Likewise.
11150         * malloc/hooks.c (__malloc_get_state): Likewise.
11151         (__malloc_set_state): Likewise.
11152         * malloc/malloc.c: Likewise.
11153         (struct malloc_state): Likewise.
11154         (struct malloc_par): Likewise.
11155         (__libc_realloc): Likewise.
11156         (__libc_mallopt): Likewise.
11157
11158 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11159
11160         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11161
11162 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
11163
11164         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11165         macro to a function.  Check for zero perturb_byte.
11166         (_int_malloc, _int_free): Remove zero perturb_byte checks.
11167
11168         * malloc/malloc.c: (force_reg): Remove.
11169         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11170         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11171         force_reg by atomic_forced_read.
11172         * malloc/arena.c (ptmalloc_init): Likewise.
11173         * malloc/hooks.c (top_check): Likewise.
11174
11175 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11176
11177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11178
11179 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
11180
11181         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11182
11183 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
11184
11185         * math/auto-libm-test-in: Add tests of lgamma.
11186         * math/auto-libm-test-out: Regenerated.
11187         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11188         (M_LOG_2_SQRT_PIl): Likewise.
11189         (lgamma_test_data): Use AUTO_TESTS_f_f1.
11190         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11191         mpfr_f_f1.
11192         (func_calc_desc): Add mpfr_f_f1 union field.
11193         (ARGS1): New macro.
11194         (ARGS2): Likewise.
11195         (ARGS3): Likewise.
11196         (ARGS4): Likewise.
11197         (RET1): Likewise.
11198         (RET2): Likewise.
11199         (CALC): Likewise.
11200         (FUNC): Likewise.
11201         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11202         (test_functions): Add lgamma.
11203         (calc_generic_results): Handle mpfr_f_f1.
11204         * sysdeps/i386/fpu/libm-test-ulps: Update.
11205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11206
11207 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11208
11209         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11210         __mpn_add_n for PowerPC64/POWER7.
11211         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11212         __mpn_sub_n for PowerPC64/POWER7.
11213
11214         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11215         __mpn_addmul_1 for PowerPC64.
11216         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11217         __mpn_submul_1 for PowerPC64.
11218         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11219         for PowerPC64.
11220         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11221         for PowerPC64.
11222
11223 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
11224
11225         [BZ #15089]
11226         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11227
11228 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11229
11230         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11231
11232         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11233         add multiarch folders.
11234         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11235         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11236         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11237         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11238         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11239         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11240         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11241         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11242         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11243         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11244         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11251
11252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11253         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11255         New file.
11256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11257         New file.
11258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11259         multiarch __ieee754_hypot for PowerPC32.
11260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11261         New file.
11262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11263         New file.
11264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11265         multiarch __ieee754_hypotf for PowerPC32.
11266
11267         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11268         long_double_symbol only if __logbl is defined.
11269         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11270         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11271         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11272         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11273         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11274         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11275         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11276         path for implementation.
11277         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11278         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11280         logb, and logbl multiarch implementations for PowerPC32.
11281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11282         file.
11283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11284         file.
11285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11286         multiarch logb for PowerPC32.
11287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11288         file.
11289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11290         file.
11291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11292         multiarch logbf for PowerPC32.
11293         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11295         file.
11296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11297         multiarch logbl implementation for PowerPC32.
11298
11299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11300         and modff multiarch implementations.
11301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11302         New file.
11303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11304         New file.
11305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11306         multiarch modf for PowerPC32.
11307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11308         New file.
11309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11310         New file.
11311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11312         multiarch modff for PowerPC32.
11313
11314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11315         and lrintf multiarch implementations.
11316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11317         New file.
11318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11319         New file.
11320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11321         multiarch lrint for PowerPC32.
11322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11323         file: multiarch lrintf for PowerPC32.
11324
11325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11326         and lroundf multiarch implementations.
11327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11328         New file.
11329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11330         New file.
11331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11332         New file.
11333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11334         multiarch lround for PowerPC32.
11335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11336         file: multiarch lroundf for PowerPC32.
11337
11338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11339         copysign and copysignf multiarch implementations.
11340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11341         New file.
11342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11343         New file.
11344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11345         file: multiarch copysign for PowerPC32.
11346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11347         file: multiarch copysignf for PowerPC32.
11348
11349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11350         and truncf multiarch implementations.
11351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11352         New file.
11353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11354         file.
11355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11356         multiarch trunc for PowerPC32.
11357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11358         New file.
11359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11360         New file.
11361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11362         multiarch truncf for PowerPC32.
11363
11364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11365         and roundf multiarch implementations.
11366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11367         New file.
11368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11369         file.
11370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11371         multiarch round for PowerPC32.
11372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11373         New file.
11374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11375         New file.
11376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11377         multiarch roundf for PowerPC32.
11378
11379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11380         and floorf multiarch implementations.
11381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11382         New file.
11383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11384         file.
11385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11386         multiarch floor for PowerPC32.
11387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11388         New file.
11389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11390         New file.
11391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11392         multiarch floorf for PowerPC32.
11393
11394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11395         and ceilf multiarch implementations.
11396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11397         New file.
11398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11399         file.
11400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11401         multiarch ceil for PowerPC32.
11402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11403         New file.
11404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11405         file.
11406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11407         multiarch ceilf for PowerPC32.
11408
11409         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11410         is defined.
11411         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11412         FINITEF is defined.
11413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11414         and finitef multiarch implementations.
11415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11416         New file.
11417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11418         file.
11419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11420         multiarch finite for PowerPC32.
11421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11422         New file.
11423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11424         file: multiarch finitef for PowerPC32.
11425
11426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11427         and isinff multiarch implementations.
11428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11429         file.
11430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11431         file.
11432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11433         multiarch isinf for PowerPC32.
11434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11435         New file.
11436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11437         multiarch isinff for PowerPC32.
11438
11439         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11440         alias when __isnan is defined.
11441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11442         and isnanf multiarch implementations.
11443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11444         file.
11445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11446         file.
11447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11448         file.
11449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11450         file.
11451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11452         multiarch isnan for PowerPC32.
11453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11454         New file.
11455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11456         New file.
11457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11458         multiarch isnanf for PowerPC32.
11459
11460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11461         and sqrtf multiarch implementations.
11462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11463         file.
11464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11465         file.
11466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11467         multiarch sqrt for PowerPC32.
11468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11469         file.
11470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11471         file.
11472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11473         multiarch sqrtf for PowerPC32.
11474
11475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11476         and llroundf multiarch implementations.
11477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11478         New file.
11479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11480         New file.
11481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11482         New file.
11483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11484         file: multiarch llround for PowerPC32.
11485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11486         file: multiarch llroundf for PowerPC32.
11487
11488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11489         multiarch PowerPC32 fpu implementations.
11490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11491         New file.
11492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11493         New file.
11494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11495         multiarch llrint for PowerPC32.
11496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11497         New file.
11498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11499         New file.
11500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11501         file.
11502
11503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11504
11505         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11506         file.
11507         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11508         file.
11509         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11510         file.
11511         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11512         multiarch wordcopy for PPC32.
11513         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11514         wordcopy objects.
11515         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11516         (__libc_ifunc_impl_list): Likewise.
11517         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11518         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11519         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11520         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11521         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11522         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11523
11524         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11525         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11526         file.
11527         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11528         file.
11529         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11530         file.
11531         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11532         multiarch wcscpy for PPC32.
11533         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11534         multiarch objects.
11535         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11536         (__libc_ifunc_impl_list): Likewise.
11537         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11538         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11539         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11540         sysdeps/powerpc/power6/wcscpy.c.
11541
11542         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11543         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11544         file.
11545         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11546         file.
11547         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11548         file.
11549         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11550         multiarch wcsrchr for PPC32.
11551         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11552         multiarch objects.
11553         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11554         (__libc_ifunc_impl_list): Likewise.
11555         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11556         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11557         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11558         sysdeps/powerpc/power6/wcsrchr.c.
11559
11560         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11561         file.
11562         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11563         file.
11564         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11565         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11566         multiarch wcschr for PPc32.
11567         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11568         multiarch objects.
11569         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11570         (__libc_ifunc_impl_list): Likewise.
11571         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11572         * sysdeps/powerpc/power6/wcschr.c: ... to here.
11573         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11574         sysdeps/powerpc/power6/wcschr.c.
11575
11576         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11577         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11578         file.
11579         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11580         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11581         file: multiarch strchr for PPC32.
11582         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11583         multiarch objects.
11584         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11585         (__libc_ifunc_impl_list): Likewise.
11586
11587         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11588         name.
11589         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11590         file.
11591         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11592         file.
11593         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11594         multiarch strchrnul for PPC32.
11595         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11596         multiarch objects.
11597         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11598         (__libc_ifunc_impl_list): Likewise.
11599
11600         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11601         file.
11602         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11603         multiarch strncasecmp for PPC32.
11604         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11605         file.
11606         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11607         multiarch strncasecmp_l for PPC32.
11608         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11609         strncasecmp multiarch objects.
11610         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11611         (__libc_ifunc_impl_list): Likewise.
11612
11613         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11614         file.
11615         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11616         multiarch strncasecmp for PPC32.
11617         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11618         New file.
11619         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11620         multiarch strcasecmp_l for PPC32.
11621         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11622         multiarch objects.
11623         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11624         (__libc_ifunc_impl_list): Likewise.
11625
11626         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11627         file.
11628         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11629         file.
11630         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11631         multiarch strncmp for PPC32.
11632         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11633         multiarch objects.
11634         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11635         (__libc_ifunc_impl_list): Likewise.
11636
11637         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11638         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11639         file.
11640         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11641         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11642         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11643         multiarch objects.
11644         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11645         (__libc_ifunc_impl_list): Likewise.
11646
11647         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11648         file.
11649         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11650         file.
11651         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11652         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11653         multiarch objects.
11654         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11655         (__libc_ifunc_impl_list): Likewise.
11656
11657         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11658         file.
11659         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11660         file.
11661         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11662         multiarch rawmemchr for PPC32.
11663         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11664         multiarch objects.
11665         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11666         (__libc_ifunc_impl_list): Likewise.
11667
11668         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11669         file.
11670         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11671         file.
11672         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11673         file: memrchr multiarch for PPC32.
11674         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11675         multiarch objects.
11676         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11677         (__libc_ifunc_impl_list): Likewise.
11678
11679         * string/memchr.c (__memchr): Using macro to redefine symbol name.
11680         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11681         file.
11682         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11683         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11684         multiarch memchr for PPC32.
11685         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11686         multiarch objects.
11687         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11688         (__libc_ifunc_impl_list): Likewise.
11689
11690         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11691         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11692         file.
11693         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11694         file.
11695         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11696         file: multiarch mempcpy for PPC32.
11697         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11698         multiarch objects.
11699         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11700         (__libc_ifunc_impl_list): Likewise.
11701
11702         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11703         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11704         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11705         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11706         multiarch bzero for PPC32.
11707         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11708         file.
11709         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11710         file.
11711         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11712         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11713         file: multiarch memset for PPC32.
11714         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11715         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11716         memset multiarch objects.
11717         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11718         (__libc_ifunc_impl_list): Likewise.
11719
11720         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11721         file.
11722         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11723         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11724         memcmp for PPC32.
11725         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11726         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11727         multiarch objects.
11728         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11729         (__libc_ifunc_impl_list): Likewise.
11730
11731         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11732         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11733         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11734         file.
11735         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11736         file.
11737         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11738         file.
11739         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11740         multiarch memcpy for PPC32.
11741         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11742         multiarch objects.
11743         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11744         (__libc_ifunc_impl_list): Likewise.
11745
11746         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11747         support multiarch for POWER/PPC32.
11748         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11749         Likewise.
11750         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11752         Implies file to make multiarch folder appers before the fpu and
11753         default folder for power4 configuration.
11754
11755 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11756
11757         * scripts/bench.pl: Append volatile keyword to type.
11758
11759 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11760
11761         * sysdeps/sh/sotruss-lib.c: New file.
11762         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11763
11764 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11765
11766         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11767
11768 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
11769
11770         [BZ #6810]
11771         * math/w_tgamma.c: Include <errno.h>.
11772         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
11773         * math/w_tgammaf.c: Include <errno.h>.
11774         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
11775         * math/w_tgammal.c: Include <errno.h>.
11776         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
11777         * math/auto-libm-test-in: Do not allow missing errno on tgamma
11778         underflow.  Add more tgamma tests.
11779         * math/auto-libm-test-out: Regenerated.
11780         * sysdeps/i386/fpu/libm-test-ulps: Update.
11781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11782
11783         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11784         sin, sinh, tan, tanh, tgamma, y0 and y1.
11785         * math/auto-libm-test-out: Regenerated.
11786         * math/libm-test.inc (TEST_COND_x86_64): New macro.
11787         (TEST_COND_x86): Likewise.
11788         (M_E2l): Remove macro.
11789         (M_E3l): Likewise.
11790         (M_2_SQRT_PIl): Likewise.
11791         (M_SQRT_PIl): Likewise.
11792         (M_1_DIV_El): Likewise.
11793         (log_test_data): Use AUTO_TESTS_f_f.
11794         (log10_test_data): Likewise.
11795         (log1p_test_data): Likewise.
11796         (log2_test_data): Likewise.
11797         (sin_test_data): Likewise.
11798         (sin_tonearest_test_data): Likewise.
11799         (sin_towardzero_test_data): Likewise.
11800         (sin_downward_test_data): Likewise.
11801         (sin_upward_test_data): Likewise.
11802         (sinh_test_data): Likewise.
11803         (sinh_tonearest_test_data): Likewise.
11804         (sinh_towardzero_test_data): Likewise.
11805         (sinh_downward_test_data): Likewise.
11806         (sinh_upward_test_data): Likewise.
11807         (tan_test_data): Likewise.
11808         (tan_tonearest_test_data): Likewise.
11809         (tan_towardzero_test_data): Likewise.
11810         (tan_downward_test_data): Likewise.
11811         (tan_upward_test_data): Likewise.
11812         (tanh_test_data): Likewise.
11813         (tgamma_test_data): Likewise.
11814         (y0_test_data): Likewise.
11815         (y1_test_data): Likewise.
11816         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11817         (special_real_inputs): Add pi/4.
11818         * sysdeps/i386/fpu/libm-test-ulps: Update.
11819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11820
11821 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11822
11823         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11824         "longjmp_target" static probes.
11825         (__longjmp): Rename to __longjmp_symbol.
11826         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11827         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11828         on which longjmp to generate.
11829         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11830         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11831         probe.
11832         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11833         (__sigjmp_save): Rename to __sigjmp_save_symbol.
11834         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11835         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11836         and __sigjmp_save_symbol based on which sigsetjmp to generated.
11837         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11839         __longjmp_symbol based on which __longjmp to generate.
11840         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11841         probe.
11842         (setjmp): Rename to setjmp_symbol.
11843         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11844         (_setjmp): Rename to _setjmp_symbol.
11845         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11846         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11847         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11848         which setjmp to generate.
11849         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11850         "longjmp_target" static probes.
11851
11852 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11853
11854         * benchtests/README: Add note about output arguments.
11855         * benchtests/bench-sincos.c: Remove file.
11856         * benchtests/sincos-inputs: New file.
11857         * scripts/bench.pl: Identify output arguments and define
11858         static variables for them.
11859
11860         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11861
11862         [BZ #15941]
11863         * Makefile (INSTALL): Add install-plain.texi as the primary
11864         dependency.
11865         * manual/install-plain.texi: New file.
11866         * manual/install.texi: Include node directive only for
11867         non-plaintext output.
11868
11869 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
11870
11871         * stdlib/longlong.h: Update from GCC.
11872
11873         [BZ #6807]
11874         [BZ #15901]
11875         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11876         * math/w_j0f.c (y0f): Likewise.
11877         * math/w_j0l.c (__y0l): Likewise.
11878         * math/w_j1.c (y1): Likewise.
11879         * math/w_j1f.c (y1f): Likewise.
11880         * math/w_j1l.c (__y1l): Likewise
11881         * math/w_jn.c (yn): Likewise.
11882         * math/w_jnf.c (ynf): Likewise.
11883         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11884         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
11885         value for Bessel function domain errors outside _SVID_ mode.
11886         Adjust sign of return value for yn (negative integer, 0).
11887         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11888         by zero in return for negative x and set sign appropriately for
11889         negative n.
11890         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11891         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11892         * math/libm-test.inc (y0_test_data): Add more tests and adjust
11893         expectations in error cases.
11894         (y1_test_data): Likewise.
11895         (yn_test_data): Likewise.
11896         * sysdeps/i386/fpu/libm-test-ulps: Update.
11897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11898
11899 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11900
11901         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11902         "64" to "64-v1".  Add "64-v2".
11903         (abi-64-options): Rename to ...
11904         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
11905         (abi-64-condition): Rename to ...
11906         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
11907         (abi-64-ld-soname): Rename to ...
11908         (abi-64-v1-ld-soname): ... this.
11909         (abi-64-v2-options): Define.
11910         (abi-64-v2-condition): Likewise.
11911         (abi-64-v2-ld-soname): Likewise.
11912         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11913         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11917
11918 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11919             Alan Modra  <amodra@gmail.com>
11920
11921         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11922         New versions for use with the ELFv2 ABI.
11923         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11924         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11925         declaration.
11926         (struct La_ppc64v2_retval): Likewise.
11927         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11928         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11929         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11930         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11931         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11932         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11933         Do not save or restore CR.
11934         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11935         (_dl_profile_resolve): Do no save or restore CR.  Support extended
11936         return values for ELFv2 ABI.  Fix location of FPR return registers.
11937         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11938         updated values for _CALL_ELF == 2.
11939         (La_regs, La_retval, int_retval): Likewise.
11940
11941 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11942
11943         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11944         (FRAME_MIN_SIZE_PARM): Likewise.
11945         (FRAME_BACKCHAIN): Likewise.
11946         (FRAME_CR_SAVE): Likewise.
11947         (FRAME_LR_SAVE): Likewise.
11948         (FRAME_TOC_SAVE): Likewise.
11949         (FRAME_PARM_SAVE): Likewise.
11950         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11951         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11952         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11953         (call_mcount_parm_offset): New macro.
11954         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11955         (PROF): Use symbolic stack frame offsets.
11956         (TAIL_CALL_SYSCALL_ERROR): Likewise.
11957         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11958         Redefine in terms of FRAME_MIN_SIZE.
11959         (_dl_runtime_resolve): Use symbolic stack frame offsets.
11960         (_dl_profile_resolve): Likewise.  Update comment.
11961         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11962         symbols stack frame offsets.
11963         (__sigsetjmp): Likewise.
11964         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11965         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11966         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11967         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11968
11969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11970         (FRAME_BACKCHAIN): Remove.
11971         (FRAME_CR_SAVE): Likewise.
11972         (FRAME_LR_SAVE): Likewise.
11973         (FRAME_COMPILER_DW): Likewise.
11974         (FRAME_LINKER_DW): Likewise.
11975         (FRAME_TOC_SAVE): Likewise.
11976         (FRAME_PARM_SAVE): Likewise.
11977         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11978         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11979         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11981         (CHECK_SP): Use symbolic stack frame offsets.
11982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11983         zone" instead of caller's parameter save area for temp storage.
11984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11985         Likewise.  Also, use symbolic stack frame offsets.
11986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11987         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11988         our own stack frame instead of the caller's.
11989         (__socket): Use symbolic stack frame offsets.
11990
11991 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11992             Alan Modra  <amodra@gmail.com>
11993
11994         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11995         Define.
11996         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11997         (PPC64_LOCAL_ENTRY_OFFSET): Define.
11998         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11999         New function.
12000         (elf_machine_fixup_plt): Call it.
12001         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
12002         reloc arguments.
12003         (elf_machine_rela): Update call to elf_machine_plt_conflict.
12004         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12005         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12006         r2 before calling target.
12007
12008 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12009             Alan Modra  <amodra@gmail.com>
12010
12011         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12012         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12013         versions of macros to support ELFv2 ABI.
12014         (LOCALENTRY): New macro.
12015         (ENTRY, EALIGN): Use it.
12016         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12017         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12018         fall through into ENTRY entry point.
12019         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12020         Only define if _CALL_ELF != 2.
12021
12022         (elf_machine_matches_host): Verify ABI version matches.
12023         (RTLD_START): Use LOCALENTRY.
12024         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12025         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12026         (PLT_ENTRY_WORDS): New macro.
12027         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12028         (elf_machine_runtime_setup): Support ELFv2 ABI.
12029         (elf_machine_fixup_plt): Likewise.
12030         (elf_machine_plt_conflict): Likewise.
12031         (resolve_ifunc): Likewise.
12032         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12033         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12034         Likewise.
12035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12036         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12038         (makecontext): Support ELFv2 ABI.
12039         * elf/elf.h (EF_PPC64_ABI): Define.
12040
12041 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12042
12043         * sysdeps/powerpc/powerpc64/sysdep.h
12044         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12045         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12046         (ENTRY) [ASSEMBLER]: ... but instead here ...
12047         (EALIGN) [ASSEMBLER]: ... and here.
12048         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12049         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12050         (ENTRY_2) [!ASSEMBLER]: Use it.
12051         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12052         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
12053         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12054         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12055         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12057         Use PPC64_LOAD_FUNCPTR.
12058
12059         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12060
12061 2013-12-04  Alan Modra  <amodra@gmail.com>
12062
12063         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12064         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12065         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12066         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12067
12068         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12069         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12070         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12071         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12072         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12073         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12074
12075 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12076
12077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12078         (__makecontext): Fix incorrect CFI when backtracing out of
12079         context created via makecontext.
12080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12081         (__setcontext): Fix incorrect CFI during switch to new context.
12082         (__novec_setcontext): Likewise.
12083
12084 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12085
12086         [BZ #4772]
12087         * time/strptime_l.c (__strptime_internal): Allow modifiers
12088         in strptime.
12089         * time/tst-strptime.c (day_tests): Add testcase.
12090
12091 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12092
12093         * scripts/bench.pl: Skip over blank lines.
12094
12095 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12096
12097         [BZ #926]
12098         * manual/time.texi (Calendar Time): Clarify what timezone functions
12099         use.
12100
12101 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12102
12103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12104
12105 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12106
12107         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12108         implementation.
12109         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12110         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12111         * debug/memset_chk.c (__memset_chk): Likewise.
12112         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12113         * debug/strncpy_chk.c: Likewise.
12114
12115 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12116
12117         [BZ #15268]
12118         [BZ #15425]
12119         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12120         (__ieee754_exp): For possibly underflowing results, check size of
12121         result and force underflow exception if required.
12122         * math/auto-libm-test-in: Add more tests of exp.
12123         * math/auto-libm-test-out: Regenerated.
12124         * sysdeps/i386/fpu/libm-test-ulps: Update.
12125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12126
12127         [BZ #16283]
12128         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12129         * math/w_exp2f.c (__exp2f): Likewise.
12130         * math/w_exp2l.c (__exp2l): Likewise.
12131         * math/auto-libm-test-in: Do not allow missing errno on exp2
12132         underflow.
12133         * math/auto-libm-test-out: Regenerated.
12134
12135 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
12136
12137         [BZ #16274]
12138         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12139         handle filename validation.
12140         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12141         (do_open): Delete.
12142
12143 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12144
12145         [BZ #6786]
12146         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12147         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12148         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12149         <float.h>.
12150         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12151         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12152         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12153         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12154         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12155         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12156         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12157         * math/auto-libm-test-in: Don't allow missing errno from erfc.
12158         Add more erfc tests.
12159         * math/auto-libm-test-out: Regenerated.
12160         * sysdeps/i386/fpu/libm-test-ulps: Update.
12161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12162
12163         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12164         exp2, expm1, j0 and j1.
12165         * math/auto-libm-test-out: Regenerated.
12166         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12167         (erfc_test_data): Likewise.
12168         (exp_test_data): Likewise.
12169         (exp_tonearest_test_data): Likewise.
12170         (exp_towardzero_test_data): Likewise.
12171         (exp_downward_test_data): Likewise.
12172         (exp_upward_test_data): Likewise.
12173         (exp10_test_data): Likewise.
12174         (exp2_test_data): Likewise.
12175         (expm1_test_data): Likewise.
12176         (j0_test_data): Likewise.
12177         (j1_test_data): Likewise.
12178         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12179         (input_flag_type): Add flag_xfail_rounding.
12180         (input_flags): Add xfail-rounding.
12181         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12182         (output_for_one_input_case): Handle flag_xfail_rounding.
12183         * sysdeps/i386/fpu/libm-test-ulps: Update.
12184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12185
12186 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
12187
12188         [BZ #16289]
12189         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12190         division by 0.
12191
12192 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12193
12194         [BZ #16195]
12195         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12196         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12197         (STAP_PROBE0): New macro.
12198         (STAP_PROBE1): Likewise.
12199         (STAP_PROBE2): Likewise.
12200         (STAP_PROBE3): Likewise.
12201         (STAP_PROBE4): Likewise.
12202
12203 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
12204
12205         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12206
12207 2013-12-02  Steve Ellcey  <sellcey@mips.com>
12208
12209         * benchtests/Makefile (bench): Add sqrt.
12210         (LDLIBS-bench-sqrt): New.
12211         * benchtests/sqrt-input: New.
12212
12213 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
12214
12215         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12216         (GAIH_EAI): Likewise.
12217         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12218         (gaih_inet): Likewise.
12219         (getaddrinfo): Don't use GAIH_EAI.
12220
12221         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12222         (struct gaih): Remove definition.
12223
12224 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12225
12226         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12227         Use HERRNOP directly.
12228
12229 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12230
12231         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12232
12233 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
12234
12235         * math/gen-auto-libm-tests.c (test_functions): Add more
12236         single-argument functions.
12237         (special_fill_pi_2): New function.
12238         (special_fill_minus_pi_2): Likewise.
12239         (special_fill_pi_6): Likewise.
12240         (special_fill_minus_pi_6): Likewise.
12241         (special_fill_pi_3): Likewise.
12242         (special_fill_2pi_3): Likewise.
12243         (special_fill_e): Likewise.
12244         (special_fill_1_e): Likewise.
12245         (special_fill_e_minus_1): Likewise.
12246         (special_real_inputs): Add more special inputs.
12247         (output_for_one_input_case): Do not require ERANGE on underflow to
12248         zero if round-to-nearest result does not underflow to zero, unless
12249         exact results required.
12250         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12251         atan, atanh, cbrt, cos and cosh.
12252         * math/auto-libm-test-out: Regenerated.
12253         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12254         (acos_tonearest_test_data): Likewise.
12255         (acos_towardzero_test_data): Likewise.
12256         (acos_downward_test_data): Likewise.
12257         (acos_upward_test_data): Likewise.
12258         (acosh_test_data): Likewise.
12259         (asin_test_data): Likewise.
12260         (asin_tonearest_test_data): Likewise.
12261         (asin_towardzero_test_data): Likewise.
12262         (asin_upward_test_data): Likewise.
12263         (asinh_test_data): Likewise.
12264         (atan_test_data): Likewise.
12265         (atanh_test_data): Likewise.
12266         (cbrt_test_data): Likewise.
12267         (cos_test_data): Likewise.
12268         (cos_tonearest_test_data): Likewise.
12269         (cos_towardzero_test_data): Likewise.
12270         (cos_downward_test_data): Likewise.
12271         (cos_upward_test_data): Likewise.
12272         (cosh_test_data): Likewise.
12273         (cosh_tonearest_test_data): Likewise.
12274         (cosh_towardzero_test_data): Likewise.
12275         (cosh_downward_test_data): Likewise.
12276         (cosh_upward_test_data): Likewise.
12277         * sysdeps/i386/fpu/libm-test-ulps: Update.
12278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12279
12280 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
12281
12282         [BZ #6787]
12283         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12284         * math/w_exp10f.c (__exp10f): Likewise.
12285         * math/w_exp10l.c (__exp10l): Likewise.
12286         * math/libm-test.inc (exp10_test_data): Add more tests and expect
12287         errno settings in existing tests.
12288
12289         [BZ #14032]
12290         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12291         precision control set to double precision.
12292         * sysdeps/i386/fpu/w_sqrt.c: New file.
12293         * math/auto-libm-test-in: Add more tests.
12294         * math/auto-libm-test-out: Update.
12295
12296         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12297         (sqrt_test_tonearest): New function.
12298         (sqrt_towardzero_test_data): New variable.
12299         (sqrt_test_towardzero): New function.
12300         (sqrt_downward_test_data): New variable.
12301         (sqrt_test_downward): New function.
12302         (sqrt_upward_test_data): New variable.
12303         (sqrt_test_upward): New function.
12304         (main): Call the new functions.
12305
12306         * math/gen-auto-libm-tests.c: New file.
12307         * math/auto-libm-test-in: Likewise.
12308         * math/auto-libm-test-out: New generated file.
12309         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12310         variables.
12311         (%beautify): Add generated representations of zero.
12312         (top level): Set $auto_input and call parse_auto_input.
12313         (beautify): Remove trailing "f" from hex float constants.
12314         (parse_args): Handle XFAIL_TEST.
12315         (convert_condition): New function.
12316         (or_value): Likewise.
12317         (or_cond_value): Likewise.
12318         (generate_testfile): Handle AUTO_TESTS_* lines.
12319         (parse_auto_input): New function.
12320         * math/libm-test.inc (XFAIL_TEST): New macro.
12321         (ERRNO_UNCHANGED): Update value.
12322         (ERRNO_EDOM): Likewise.
12323         (ERRNO_ERANGE): Likewise.
12324         (IGNORE_RESULT): Likewise.
12325         (TEST_COND_flt_32): New macro.
12326         (TEST_COND_dbl_64): Likewise.
12327         (TEST_COND_ldbl_96_intel): Likewise.
12328         (TEST_COND_ldbl_96_m68k): Likewise.
12329         (TEST_COND_ldbl_128): Likewise.
12330         (TEST_COND_ldbl_128ibm): Likewise.
12331         (TEST_COND_long32): Likewise.
12332         (TEST_COND_long64): Likewise.
12333         (TEST_COND_before_rounding): Likewise.
12334         (TEST_COND_after_rounding): Likewise.
12335         (enable_test): Handle XFAIL_TEST flag.
12336         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12337         with finite results.
12338         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12339         auto-libm-test-out.
12340
12341 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12342             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12343
12344         [BZ #16214]
12345         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12346         __tls_get_addr_internal instead of __tls_get_offset in order to
12347         avoid GOT pointer dependency.  Make rtld export
12348         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12349         __tls_get_addr since we are a __tls_get_offset platform.
12350         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12351         GOT pointer being set up before.
12352         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12353
12354 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
12355
12356         * manual/math.texi (Errors in Math Functions): Document accuracy
12357         goals.
12358
12359         [BZ #15004]
12360         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12361         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12362         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12363         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12364         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12365         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12366         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12367         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12368         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12369         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12370         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12371         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12372         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12373         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12374         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12375         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12376
12377         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12378         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12379         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12380         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12381         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12382         Likewise.
12383         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12384         Likewise.
12385         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12386         Likewise.
12387         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12388         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12389         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12390         atomic-feupdateenv and flt-rounds.
12391         * sysdeps/powerpc/nofpu/Versions (libc): Add
12392         __atomic_feholdexcept, __atomic_feclearexcept,
12393         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12394         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12395         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12396         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12397         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12398         here.
12399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12400         Update.
12401
12402         * manual/arith.texi (FP Exceptions): Document that exceptions may
12403         not be raised when matherr is used.
12404         (Math Error Reporting): Document overflow in directed rounding
12405         modes.  Document that errno may not be set when finite values are
12406         returned on overflow.  Document intent to set errno on underflow
12407         only for underflow to zero.
12408
12409         [BZ #16271]
12410         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12411         round-to-nearest then adjust result for other rounding modes.
12412         * include/fenv.h (fegetround): Use libm_hidden_proto.
12413         * math/fegetround.c (fegetround): Use libm_hidden_def.
12414         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12415         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12416         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12417         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12418         Likewise.
12419         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12420         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12421         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12422         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12423
12424 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12425
12426         [BZ #16077]
12427         * nss/Versions (libnss_files): Add
12428         _nss_files_gethostbyname3_r.
12429         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12430         New function.
12431         (HOST_DB_LOOKUP): Remove macro.
12432         (_nss_files_gethostbyname_r): Implement function without the
12433         HOST_DB_LOOKUP macro.
12434         (_nss_files_gethostbyname2_r): Likewise.
12435
12436 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
12437
12438         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12439
12440 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
12441
12442         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12443         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12444         warning.
12445
12446 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12447
12448         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12449         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12450         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12451         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12452         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12453         __fe_nomask_env_priv and attribute_hidden.
12454         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12455         (libc_feupdateenv_test_ppc): Likewise.
12456         (libc_feresetround_ppc): Likewise.
12457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12458         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12459         compat_symbol macro.
12460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12461         (__fe_nomask_env): Likewise.
12462         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12463
12464 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12465
12466         * string/Makefile: Remove ifunc tests.
12467         * string/test-string.h: Define TEST_IFUNC.
12468         * string/test-bcopy-ifunc.c: Remove.
12469         * string/test-bzero-ifunc.c: Likewise.
12470         * string/test-memccpy-ifunc.c: Likewise.
12471         * string/test-memchr-ifunc.c: Likewise.
12472         * string/test-memcmp-ifunc.c: Likewise.
12473         * string/test-memcpy-ifunc.c: Likewise.
12474         * string/test-memmem-ifunc.c: Likewise.
12475         * string/test-memmove-ifunc.c: Likewise.
12476         * string/test-mempcpy-ifunc.c: Likewise.
12477         * string/test-memrchr-ifunc.c: Likewise.
12478         * string/test-memset-ifunc.c: Likewise.
12479         * string/test-rawmemchr-ifunc.c: Likewise.
12480         * string/test-stpcpy-ifunc.c: Likewise.
12481         * string/test-stpncpy-ifunc.c: Likewise.
12482         * string/test-strcasecmp-ifunc.c: Likewise.
12483         * string/test-strcasestr-ifunc.c: Likewise.
12484         * string/test-strcat-ifunc.c: Likewise.
12485         * string/test-strchr-ifunc.c: Likewise.
12486         * string/test-strchrnul-ifunc.c: Likewise.
12487         * string/test-strcmp-ifunc.c: Likewise.
12488         * string/test-strcpy-ifunc.c: Likewise.
12489         * string/test-strcspn-ifunc.c: Likewise.
12490         * string/test-strlen-ifunc.c: Likewise.
12491         * string/test-strncasecmp-ifunc.c: Likewise.
12492         * string/test-strncat-ifunc.c: Likewise.
12493         * string/test-strncmp-ifunc.c: Likewise.
12494         * string/test-strncpy-ifunc.c: Likewise.
12495         * string/test-strnlen-ifunc.c: Likewise.
12496         * string/test-strpbrk-ifunc.c: Likewise.
12497         * string/test-strrchr-ifunc.c: Likewise.
12498         * string/test-strspn-ifunc.c: Likewise.
12499         * string/test-strstr-ifunc.c: Likewise.
12500
12501 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12502
12503         * benchtests/Makefile: Remove ifunc tests.
12504         * benchtests/bench-string.h: Define TEST_IFUNC.
12505         * benchtests/bench-bcopy-ifunc.c: Remove.
12506         * benchtests/bench-bzero-ifunc.c: Likewise.
12507         * benchtests/bench-memccpy-ifunc.c: Likewise.
12508         * benchtests/bench-memchr-ifunc.c: Likewise.
12509         * benchtests/bench-memcmp-ifunc.c: Likewise.
12510         * benchtests/bench-memcpy-ifunc.c: Likewise.
12511         * benchtests/bench-memmem-ifunc.c: Likewise.
12512         * benchtests/bench-memmove-ifunc.c: Likewise.
12513         * benchtests/bench-mempcpy-ifunc.c: Likewise.
12514         * benchtests/bench-memrchr-ifunc.c: Likewise.
12515         * benchtests/bench-memset-ifunc.c: Likewise.
12516         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12517         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12518         * benchtests/bench-stpcpy-ifunc.c: Likewise.
12519         * benchtests/bench-stpncpy-ifunc.c: Likewise.
12520         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12521         * benchtests/bench-strcasestr-ifunc.c: Likewise.
12522         * benchtests/bench-strcat-ifunc.c: Likewise.
12523         * benchtests/bench-strchr-ifunc.c: Likewise.
12524         * benchtests/bench-strchrnul-ifunc.c: Likewise.
12525         * benchtests/bench-strcmp-ifunc.c: Likewise.
12526         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12527         * benchtests/bench-strcpy-ifunc.c: Likewise.
12528         * benchtests/bench-strcspn-ifunc.c: Likewise.
12529         * benchtests/bench-strlen-ifunc.c: Likewise.
12530         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12531         * benchtests/bench-strncat-ifunc.c: Likewise.
12532         * benchtests/bench-strncmp-ifunc.c: Likewise.
12533         * benchtests/bench-strncpy-ifunc.c: Likewise.
12534         * benchtests/bench-strnlen-ifunc.c: Likewise.
12535         * benchtests/bench-strpbrk-ifunc.c: Likewise.
12536         * benchtests/bench-strrchr-ifunc.c: Likewise.
12537         * benchtests/bench-strsep-ifunc.c: Likewise.
12538         * benchtests/bench-strspn-ifunc.c: Likewise.
12539         * benchtests/bench-strstr-ifunc.c: Likewise.
12540
12541 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12542
12543         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12544
12545 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12546
12547         * resolv/netdb.h: Use __glibc_reserved instead __unused.
12548         * rt/aio.h: Likewise.
12549         * sysdeps/gnu/bits/utmp.h: Likewise.
12550         * sysdeps/gnu/bits/utmpx.h: Likewise.
12551         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12552         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12553         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12554         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12555         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12556         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12557         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12558         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12559         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12560         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12561         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12562         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12563         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12565         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12566         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12567         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12568         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12569         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12570         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12571         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12572         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12573         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12574         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12575         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12576         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12577         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12578         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12579         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12580         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12581         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12582         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12583         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12584         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12585         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12586         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12587         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12588         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12589         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12590         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12591         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12592         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12593
12594 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
12595
12596         [BZ #16245]
12597         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12598         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12599
12600 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
12601
12602         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12603         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12604         Likewise.
12605
12606 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12607
12608         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12609         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12610         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12611         (__fesetround): Remove define.
12612         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12613         rounding and exceptions handling.
12614         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12615         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12616         (__fe_nomask_env): Likewise.
12617         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12618         __fegetround instead of fegetround.
12619         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12620         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12621
12622 2013-11-21  Roland McGrath  <roland@hack.frob.com>
12623
12624         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12625         it's there.
12626
12627         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12628
12629 2013-11-21  Meador Inge  <meadori@codesourcery.com>
12630
12631         [BZ #11157]
12632         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12633         (encrypt_r): Likewise.
12634         * malloc/obstack.h (obstack_free): Likewise.
12635         * posix/unistd.h (encrypt): Likewise.
12636
12637 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
12638
12639         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12640         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12641         DL_CALL_DT_FINI() that call the functions directly.
12642         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12643         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12644         * elf/dl-fini.c: Likewise.
12645
12646 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
12647
12648         * malloc/hooks.c (memalign_check): Add alignment rounding.
12649         * malloc/malloc.c (_mid_memalign): New function.
12650         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12651         Implement by calling _mid_memalign.
12652         * manual/probes.texi (Memory Allocation Probes): Remove
12653         memory_valloc_retry and memory_pvalloc_retry.
12654
12655 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12656
12657         * locale/programs/locarchive.c (open_archive): Add const
12658         qualifier to ARCHIVEFNAME and copy default fname to
12659         DEFAULT_FNAME.
12660
12661         [BZ #15601]
12662         * libio/tst-widetext.input: Rename Oriya to Odia.
12663         * locale/iso-639.def: Likewise.
12664
12665         * manual/probes.texi (Mathematical Function Probes): Add
12666         documentation for sin, cos, asin and acos probes.
12667         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12668         (__sin32): Add slowasin probe.
12669         (__cos32): Add slowacos probe.
12670         (__mpsin): Add slowsin probe.
12671         (__mpcos): Add slowcos probe.
12672
12673 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
12674
12675         [BZ #15483]
12676         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12677         thread-local __sim_exceptions_thread and global
12678         __sim_exceptions_global.
12679         (__sim_disabled_exceptions): Change to thread-local
12680         __sim_disabled_exceptions_thread and global
12681         __sim_disabled_exceptions_global.
12682         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12683         and global __sim_round_mode_global.
12684         (__simulate_exceptions): Use thread-local floating-point state and
12685         set global state from it as needed.
12686         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12687         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12688         __sim_round_mode_thread.
12689         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12690         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12691         and global __sim_exceptions_global.
12692         (__sim_disabled_exceptions): Change to thread-local
12693         __sim_disabled_exceptions_thread and global
12694         __sim_disabled_exceptions_global.
12695         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12696         and global __sim_round_mode_global.
12697         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12698         (SIM_SET_GLOBAL): Likewise.
12699         * sysdeps/powerpc/soft-fp/sfp-machine.h
12700         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12701         __sim_round_mode_thread.
12702         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12703         __sim_disabled_exceptions_thread.
12704         (__sim_exceptions): Change to __sim_exceptions_thread.
12705         (__sim_disabled_exceptions): Change to
12706         __sim_disabled_exceptions_thread.
12707         (__sim_round_mode): Change to __sim_round_mode_thread.
12708         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12709         thread-local floating-point state and set global state from it as
12710         needed.
12711         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12712         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12713         (__sim_disabled_exceptions): Remove extern declaration.
12714         (feenableexcept): Use thread-local floating-point state and set
12715         global state from it as needed.
12716         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12717         extern declaration.
12718         (__sim_disabled_exceptions): Likewise.
12719         (__sim_round_mode): Likewise.
12720         (__fegetenv): Use thread-local floating-point state.
12721         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12722         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12723         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12724         floating-point state and set global state from it as needed.
12725         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12726         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12727         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12728         Likewise.
12729         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12730         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12731         Likewise.
12732         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12733         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12734         Use __sim_round_mode_thread.
12735         * math/test-fenv-tls.c: New file.
12736         * math/Makefile (tests): Add test-fenv-tls.
12737         ($(objpfx)test-fenv-tls): Depend on
12738         $(common-objpfx)nptl/libpthread.so.
12739
12740 2013-11-19  Andreas Schwab  <schwab@suse.de>
12741
12742         * locale/programs/locale.c (show_info): Decode wordarray elements.
12743         * locale/categories.def (LC_MONETARY): Add element for
12744         _NL_MONETARY_CRNCYSTR.
12745         * locale/C-monetary.c (conversion_rate): New variable.
12746         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12747         element.
12748
12749 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
12750
12751         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12752         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12753
12754 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
12755
12756         * elf/Makefile (tst-auxv): New test.
12757         * elf/tst-auxv.c: New
12758         * elf/rtld.c (dl_main): Adjust AT_EXECFN
12759
12760 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
12761
12762         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12763         (hidden_proto): Caller changed.
12764         (hidden_tls_proto): New macro.
12765         (libc_hidden_tls_proto): Likewise.
12766         (rtld_hidden_tls_proto): Likewise.
12767         (libm_hidden_tls_proto): Likewise.
12768         (libresolv_hidden_tls_proto): Likewise.
12769         (librt_hidden_tls_proto): Likewise.
12770         (libdl_hidden_tls_proto): Likewise.
12771         (libnss_files_hidden_tls_proto): Likewise.
12772         (libnsl_hidden_tls_proto): Likewise.
12773         (libnss_nisplus_hidden_tls_proto): Likewise.
12774         (libutil_hidden_tls_proto): Likewise.
12775
12776 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
12777
12778         [BZ #10253]
12779         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12780         (decompose_rpath): Defer expansion to fillin_rpath.
12781         (_dl_init_paths): Pass linkmap to fillin_rpath.
12782
12783 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12784
12785         * benchtests/Makefile: Add strsep.
12786         * benchtests/bench-strsep.c: New file: strsep benchtest.
12787         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12788
12789 2013-11-18  Andreas Schwab  <schwab@suse.de>
12790
12791         * locale/programs/locale.c (show_info) [case byte]: Check for
12792         '\377' instead of '\177'.
12793         * locale/C-monetary.c (not_available): Always use "\377".
12794         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12795         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
12796         detect unavailable sign_posn locale elements.
12797         * locale/localeconv.c (__localeconv): For grouping and
12798         mon_grouping handle "\177" and "\377" like no grouping.
12799         (INT_ELEM): New macro.  Use it to set all numeric members.
12800         * locale/programs/ld-monetary.c (monetary_read)
12801         <tok_mon_grouping>: Normalize single -1 to the empty string.
12802         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12803         Likewise.
12804
12805 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
12806
12807         [BZ #16055]
12808         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12809         when we match (nil).
12810         * stdio-common/tst-sscanf.c (struct test): Add testcase.
12811
12812 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
12813
12814         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12815         (NO_TEST_INLINE): Update value.
12816         (ERRNO_UNCHANGED): Likewise.
12817         (ERRNO_EDOM): Likewise.
12818         (ERRNO_ERANGE): Likewise.
12819         (IGNORE_RESULT): Likewise.
12820         (check_float_internal): Check signs of NaN results if
12821         TEST_NAN_SIGN used.
12822         (check_complex): Pass TEST_NAN_SIGN flag through to second
12823         check_float_internal call.
12824         (copysign_test_data): Add tests with quiet NaNs as second
12825         argument.  Use TEST_NAN_SIGN.
12826         (fabs_test_data): Add test of negative quiet NaN argument.  Use
12827         TEST_NAN_SIGN.
12828         (signbit_test_data): Add tests of quiet NaN argument.
12829         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12830
12831         * math/gen-libm-test.pl (show_exceptions): Take extra argument
12832         $ignore_result.
12833         (parse_args): Handle function results specified as IGNORE.
12834         * math/libm-test.inc (IGNORE_RESULT): New macro.
12835         (check_float_internal): Do not check numerical result if flag
12836         IGNORE_RESULT set.
12837         (check_complex): Pass through IGNORE_RESULT to second
12838         check_float_internal call.
12839         (check_int): Do not check numerical result if flag IGNORE_RESULT
12840         set.
12841         (check_long): Likewise.
12842         (check_bool): Likewise.
12843         (check_longlong): Likewise.
12844         (lrint_test_data): Add tests of infinite and NaN arguments.
12845         (lrint_tonearest_test_data): Likewise.
12846         (lrint_towardzero_test_data): Likewise.
12847         (lrint_downward_test_data): Likewise.
12848         (lrint_upward_test_data): Likewise.
12849         (llrint_test_data): Likewise.
12850         (llrint_tonearest_test_data): Likewise.
12851         (llrint_towardzero_test_data): Likewise.
12852         (llrint_downward_test_data): Likewise.
12853         (llrint_upward_test_data): Likewise.
12854         (lround_test_data): Likewise.
12855         (llround_test_data): Likewise.
12856
12857         * math/libm-test.inc (NO_TEST_INLINE): New macro.
12858         (ERRNO_UNCHANGED): Update value.
12859         (ERRNO_EDOM): Likewise.
12860         (ERRNO_ERANGE): Likewise.
12861         (NO_TEST_INLINE_FLOAT): New macro.
12862         (NO_TEST_INLINE_DOUBLE): Likewise.
12863         (enable_test): New function.
12864         (RUN_TEST_f_f): Check enable_test before running test.
12865         (RUN_TEST_2_f): Likewise.
12866         (RUN_TEST_fff_f): Likewise.
12867         (RUN_TEST_c_f): Likewise.
12868         (RUN_TEST_f_f1): Likewise.
12869         (RUN_TEST_fF_f1): Likewise.
12870         (RUN_TEST_fI_f1): Likewise.
12871         (RUN_TEST_ffI_f1): Likewise.
12872         (RUN_TEST_c_c): Likewise.
12873         (RUN_TEST_cc_c): Likewise.
12874         (RUN_TEST_f_i): Likewise.
12875         (RUN_TEST_f_i_tg): Likewise.
12876         (RUN_TEST_ff_i_tg): Likewise.
12877         (RUN_TEST_f_b): Likewise.
12878         (RUN_TEST_f_b_tg): Likewise.
12879         (RUN_TEST_f_l): Likewise.
12880         (RUN_TEST_f_L): Likewise.
12881         (RUN_TEST_fFF_11): Likewise.
12882         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12883         conditionals.
12884         (cosh_test_data): Likewise.
12885         (exp_test_data): Likewise.
12886         (expm1_test_data): Likewise.
12887         (hypot_test_data): Likewise.
12888         (pow_test_data): Likewise.
12889         (sinh_test_data): Likewise.
12890         (tanh_test_data): Likewise.
12891         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12892         flags argument.
12893
12894         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12895         tests with quiet NaN input and output.
12896         (acosh_test_data): Likewise.
12897         (asin_test_data): Likewise.
12898         (asinh_test_data): Likewise.
12899         (atan_test_data): Likewise.
12900         (atanh_test_data): Likewise.
12901         (atan2_test_data): Likewise.
12902         (cbrt_test_data): Likewise.
12903         (cos_test_data): Likewise.
12904         (cosh_test_data): Likewise.
12905         (erf_test_data): Likewise.
12906         (erfc_test_data): Likewise.
12907         (exp_test_data): Likewise.
12908         (exp10_test_data): Likewise.
12909         (exp2_test_data): Likewise.
12910         (expm1_test_data): Likewise.
12911         (hypot_test_data): Likewise.
12912         (j0_test_data): Likewise.
12913         (j1_test_data): Likewise.
12914         (jn_test_data): Likewise.
12915         (lgamma_test_data): Likewise.
12916         (log_test_data): Likewise.
12917         (log10_test_data): Likewise.
12918         (log1p_test_data): Likewise.
12919         (log2_test_data): Likewise.
12920         (pow_test_data): Likewise.
12921         (scalb_test_data): Likewise.
12922         (sin_test_data): Likewise.
12923         (sincos_test_data): Likewise.
12924         (sinh_test_data): Likewise.
12925         (tan_test_data): Likewise.
12926         (tanh_test_data): Likewise.
12927         (tgamma_test_data): Likewise.
12928         (y0_test_data): Likewise.
12929         (y1_test_data): Likewise.
12930         (yn_test_data): Likewise.
12931
12932         [BZ #16167]
12933         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12934         argument being NaN and avoid computations with second argument in
12935         that case.
12936         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12937         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12938         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12939
12940 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
12941
12942         * locale/iso-639.def: Add Chitwani Tharu (the).
12943
12944 2013-11-14  Andreas Schwab  <schwab@suse.de>
12945
12946         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12947         word instead of empty string.
12948
12949 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12950
12951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12952         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12954         (__fe_nomask_env): Likewise.
12955
12956 2013-11-13  Steve Ellcey  <sellcey@mips.com>
12957
12958         * benchtests/bench-timing.h: Include time.h.
12959
12960 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
12961
12962         [BZ #15997]
12963         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12964         to 3.4.0 for x32.
12965         * sysdeps/unix/sysv/linux/configure: Regenerated.
12966
12967 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
12968
12969         [BZ #16151]
12970         * stdlib/strtod_l.c (round_and_return): Do not consider
12971         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12972         exponent one less than half the least subnormal exponent.
12973         * stdlib/test-strtod-round-data: Add more tests.
12974         * stdlib/tst-strtod-round.c (tests): Regenerated.
12975
12976 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12977
12978         [BZ #14143]
12979         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12980         (__fe_mask_env): Likewise.
12981         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12982         libm_hidden_proto and add function prototype.
12983         (__fe_mask_env): Add function prototype.
12984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12985         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12987         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12989         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12990
12991 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12992
12993         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
12994         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12995
12996 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12997
12998         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12999         of htab_find_slot().
13000
13001 2013-11-11  David S. Miller  <davem@davemloft.net>
13002
13003         [BZ #16150]
13004         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13005         symbol in the non-vis3 case in static builds.
13006         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13007         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13008         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13009         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13010
13011 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13012
13013         [BZ #387]
13014         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13015         it is empty.
13016
13017 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13018
13019         * benchtests/Makefile: Add bench-strtod.
13020         * benchtests/bench-strtod.c: New file: strtod benchtest
13021
13022 2013-11-11  Andreas Schwab  <schwab@suse.de>
13023
13024         [BZ #16153]
13025         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13026         terminating NUL in key length.
13027
13028 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13029
13030         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13031         Add artificial ODP entry for vDSO symbol for PPC64.
13032         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13033         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13034
13035 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13036
13037         [BZ #15374]
13038         * nss/getent.c (services_keys): Recognize services starting with digit.
13039
13040 2013-11-06  David S. Miller  <davem@davemloft.net>
13041
13042         [BZ #15985]
13043         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13044         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13045
13046 2013-11-06  Will Newton  <will.newton@linaro.org>
13047
13048         * manual/memory.texi (Malloc Examples): Remove register
13049         keyword from examples.
13050
13051 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
13052
13053         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13054
13055 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
13056
13057         [BZ #6981]
13058         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13059         depending on [__GCC_IEC_559 > 0].
13060         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13061         depending on [__GCC_IEC_559_COMPLEX > 0].
13062
13063 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
13064
13065         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13066         to iso-639.def.
13067
13068 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
13069
13070         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13071
13072 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
13073
13074         [BZ #16112]
13075         * malloc/malloc (malloc_info): Do not handle first bin as
13076         special case.
13077
13078 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
13079
13080         * locale/iso-639.def: Add Central Nahuatl (nhn).
13081
13082 2013-11-01  Bruno Haible  <bruno@clisp.org>
13083
13084         [BZ #7003]
13085         * manual/math.texi (BSD Random): Specify range upper bound as
13086         in POSIX.
13087
13088 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
13089
13090         * locale/iso-639.def: Add Meadow Mari (mhr).
13091
13092 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
13093
13094         [BZ #14752], [BZ #15763]
13095         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13096         Validate name.
13097         * rt/tst_shm.c: Add test for escaping directory.
13098
13099 2013-10-31  Andreas Schwab  <schwab@suse.de>
13100
13101         [BZ #15917]
13102         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13103         followed by 'x' as part of digit sequence.
13104         * stdio-common/tst-sscanf.c (double_tests2): New tests.
13105
13106 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13107
13108         [BZ #16037]
13109         * configure.ac: allow GNU Make 4.0 and greater.
13110         * configure: Regenerated.
13111
13112 2013-10-30  Will Newton  <will.newton@linaro.org>
13113
13114         [BZ #16038]
13115         * malloc/hooks.c (memalign_check): Limit alignment to the
13116         maximum representable power of two.
13117         * malloc/malloc.c (__libc_memalign): Likewise.
13118         * malloc/tst-memalign.c (do_test): Add test for very
13119         large alignment values.
13120         * malloc/tst-posix_memalign.c (do_test): Likewise.
13121
13122 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13123
13124         [BZ #11087]
13125         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13126         (munmap_chunk): Likewise.
13127         (mremap_chunk): Likewise.
13128
13129 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13130
13131         [BZ #15799]
13132         * stdlib/div.c (div): Remove obsolete code.
13133         * stdlib/ldiv.c (ldiv): Likewise.
13134         * stdlib/lldiv.c (lldiv): Likewise.
13135
13136 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13137
13138         [BZ #16071]
13139         * nss/nss_files/files-XXX.c (get_contents_ret): New
13140         enumerator.
13141         (get_contents): New function.
13142         (internal_getent): Use it.  Expand size of LINEBUFLEN.
13143
13144 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
13145
13146         * configure.in: Moved to ...
13147         * configure.ac: ... here. Change reference to configure.in
13148         to configure.ac.
13149         * sysdeps/arm/preconfigure.ac: ... here.
13150         configure.in to configure.ac.
13151         * sysdeps/gnu/configure.in: Moved to ...
13152         * sysdeps/gnu/configure.ac: ... here.
13153         * sysdeps/i386/configure.in: Moved to ...
13154         * sysdeps/i386/configure.ac: ... here.
13155         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13156         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13157         * sysdeps/mach/configure.in: Moved to ...
13158         * sysdeps/mach/configure.ac: ... here.
13159         * sysdeps/mach/hurd/configure.in: Moved to ...
13160         * sysdeps/mach/hurd/configure.ac: ... here.
13161         * sysdeps/powerpc/configure.in: Moved to ...
13162         * sysdeps/powerpc/configure.ac: ... here.
13163         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13164         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13165         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13166         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13167         * sysdeps/s390/s390-32/configure.in: Moved to ...
13168         * sysdeps/s390/s390-32/configure.ac: ... here.
13169         * sysdeps/s390/s390-64/configure.in: Moved to ...
13170         * sysdeps/s390/s390-64/configure.ac: ... here.
13171         * sysdeps/sh/configure.in: Moved to ...
13172         * sysdeps/sh/configure.ac: ... here.
13173         * sysdeps/sparc/configure.in: Moved to ...
13174         * sysdeps/sparc/configure.ac: ... here.
13175         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13176         * sysdeps/unix/sysv/linux/configure.ac: ... here.
13177         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13178         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13179         * sysdeps/x86_64/configure.in: Moved to ...
13180         * sysdeps/x86_64/configure.ac: ... here.
13181         * sysdeps/x86_64/preconfigure.in: Moved to ...
13182         * sysdeps/x86_64/preconfigure.ac: ... here.
13183         * aclocal.m4: Change reference to configure.in to configure.ac.
13184         * config.h.in: Likewise.
13185         * manual/install.texi: Likewise.
13186         * manual/maint.texi: Likewise.
13187         * Makefile: Likewise.
13188         * malloc/Makefile: Likewise.
13189         * nscd/Makefile: Likewise.
13190         * Makeconfig: Change reference to configure.in and
13191         preconfigure.in to configure.ac and preconfigure.ac
13192         respectively.
13193         * INSTALL: Regenerated.
13194         * configure: Likewise.
13195         * sysdeps/gnu/configure: Likewise.
13196         * sysdeps/i386/configure: Likewise.
13197         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13198         * sysdeps/mach/configure: Likewise.
13199         * sysdeps/mach/hurd/configure: Likewise.
13200         * sysdeps/powerpc/configure: Likewise.
13201         * sysdeps/powerpc/powerpc32/configure: Likewise.
13202         * sysdeps/powerpc/powerpc64/configure: Likewise.
13203         * sysdeps/s390/s390-32/configure: Likewise.
13204         * sysdeps/s390/s390-64/configure: Likewise.
13205         * sysdeps/sh/configure: Likewise.
13206         * sysdeps/sparc/configure: Likewise.
13207         * sysdeps/unix/sysv/linux/configure: Likewise.
13208         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13209         * sysdeps/x86_64/configure: Likewise.
13210         * sysdeps/x86_64/preconfigure: Likewise.
13211
13212 2013-10-29  Andreas Schwab  <schwab@suse.de>
13213
13214         * stdio-common/Makefile (tst-swscanf-ENV): Define.
13215
13216 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13217
13218         * benchtests/pow-inputs: Add new inputs.
13219
13220         * benchtests/exp-inputs: Add new inputs.
13221
13222         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13223         conditional check for return value.
13224         (__cos32): Likewise.
13225
13226 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13227
13228         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13229         to provide a boost for large inputs with word alignment.
13230         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13231         implementation based on optimized PPC64 strcpy.
13232         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13233         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13234         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13235         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13236
13237 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13238
13239         [BZ #2801]
13240         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13241
13242 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13243
13244         [BZ #14876]
13245         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13246         * time/tst-strptime.c (day_tests): Add testcase.
13247
13248 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13249
13250         [BZ #14029]
13251         * manual/pattern.texi: Acknowledge that fnmatch can fail.
13252
13253 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
13254
13255         [BZ #16074]
13256         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13257         MAP_FAILED on error.
13258
13259 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13260
13261         [BZ #16072]
13262         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13263         heap for large requests.
13264
13265 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
13266
13267         [BZ #9954]
13268         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13269         result if the result has no associated interface.
13270         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13271         interface for all 127.X.Y.Z addresses.
13272
13273 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
13274
13275         * locale/iso-639.def: Add Ligurian (lij)
13276
13277 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
13278
13279         [BZ #15825]
13280         * sunrpc/rpc_main.c: Document rpcgen -5.
13281
13282 2013-10-19  Michael Stahl  <mstahl@redhat.com>
13283
13284         * elf/rtld.c (do_preload): Print the reason why preloading failed.
13285
13286 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13287
13288         [BZ #10278]
13289         * posix/glob.c: Match only directories when trailing slash is present.
13290         * posix/tst-gnuglob.c (my_opendir): Do not open files.
13291         (main): Add testcase.
13292
13293 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13294
13295         [BZ #15670]
13296         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13297
13298 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
13299
13300         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13301         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13302         AUTH_DES and cindex for FIPS 140-2.
13303         (DES Encryption): Add cindex FIPS 46-3.
13304
13305         * locale/locarchive.h (struct locarhandle): Add fname.
13306         * locale/programs/localedef.c (main): Pass ARGV[remaining]
13307         if an optional argument was specified to --list-archive,
13308         otherwise NULL.
13309         * locale/programs/locarchive.c (show_archive_content): Take new
13310         argument fname and pass it via ah.fname to open_archive.
13311         * locale/programs/localedef.h: Update decl.
13312         (open_archive): If AH->fname is non-null, open that file
13313         rather than the default file name, and don't ignore ENOENT.
13314         (create_archive): Set AH.fname to NULL.
13315         (delete_locales_from_archive): Likewise.
13316         (add_locales_to_archive): Likewise.
13317         * locale/programs/locfile.c (write_all_categories): Likewise.
13318
13319 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
13320             Aldy Hernandez  <aldyh@redhat.com>
13321
13322         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13323         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13324         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13325         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13326         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13327         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13328         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13329         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13330         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13331         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13332         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13333         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13334         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13335         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13336         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13337         Likewise.
13338         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13339         Likewise.
13340         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13341         Likewise.
13342         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13343         Likewise.
13344         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13345         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13346         Likewise.
13347         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13348         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13349         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13350         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13351         Likewise.
13352         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13353         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13354         * sysdeps/powerpc/preconfigure: Likewise.
13355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13356         Likewise.
13357         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13358         Replace contents of file by #include of <fenv_libc.h>.
13359         * sysdeps/powerpc/soft-fp/sfp-machine.h
13360         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13361         and <sys/prctl.h>.
13362         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13363         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13364         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13365         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13366         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13367         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13368         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13369         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13370         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13371         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13372         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13373         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13375         Allow copysignl PLT reference to be missing.
13376
13377 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
13378             Joseph Myers  <joseph@codesourcery.com
13379
13380         [BZ #15948]
13381         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13382         single character.
13383         (add_to_tablewc): Assert sequence of wide characters is nonempty.
13384
13385 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13386
13387         * elf/tst-tls-dlinfo.c: Don't include tls.h.
13388         * elf/tst-tls1.c: Likewise.
13389         * elf/tst-tls10.h: Likewise.
13390         * elf/tst-tls14.c: Likewise.
13391         * elf/tst-tls2.c: Likewise.
13392         * elf/tst-tls3.c: Likewise.
13393         * elf/tst-tls4.c: Likewise.
13394         * elf/tst-tls5.c: Likewise.
13395         * elf/tst-tls6.c: Likewise.
13396         * elf/tst-tls7.c: Likewise.
13397         * elf/tst-tls8.c: Likewise.
13398         * elf/tst-tls9.c: Likewise.
13399         * elf/tst-tlsmod1.c: Likewise.
13400         * elf/tst-tlsmod13.c: Likewise.
13401         * elf/tst-tlsmod13a.c: Likewise.
13402         * elf/tst-tlsmod14a.c: Likewise.
13403         * elf/tst-tlsmod16a.c: Likewise.
13404         * elf/tst-tlsmod16b.c: Likewise.
13405         * elf/tst-tlsmod2.c: Likewise.
13406         * elf/tst-tlsmod3.c: Likewise.
13407         * elf/tst-tlsmod4.c: Likewise.
13408         * elf/tst-tlsmod5.c: Likewise.
13409         * elf/tst-tlsmod6.c: Likewise.
13410
13411 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
13412
13413         [BZ #12486]
13414         * malloc/malloc.c: remove checks for statistics.
13415
13416 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13417
13418         [BZ #15277]
13419         * inet/inet_net.c (inet_network): Detect additional invalid strings.
13420         * inet/tst-network.c: Add testcase.
13421
13422 2013-10-17  Andreas Schwab  <schwab@suse.de>
13423
13424         [BZ #15218]
13425         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13426         to determine canonical name.
13427
13428 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13429
13430         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13431         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13432         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13433         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13434         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13435         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13436         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13437         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13438         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13439         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13440         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13441         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13442         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13443         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13444         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13445         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13446         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13447         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13448         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13449         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13450         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13451         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13452         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13453         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13454         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13455         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13456         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13457         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13458         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13459         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13460         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13461         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13462         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13463         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13464         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13465         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13466         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13467         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13468         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13469         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13470         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13471         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13472         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13473         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13474         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13475         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13476         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13477         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13478         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13479         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13480         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13481         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13482         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13483         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13484         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13485         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13486         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13487         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13488
13489 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
13490
13491         [BZ #16041]
13492         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13493         make result into a quiet NaN.
13494
13495 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
13496
13497         * soft-fp/adddf3.c: Fix horizontal whitespace.
13498         * soft-fp/addsf3.c: Likewise.
13499         * soft-fp/addtf3.c: Likewise.
13500         * soft-fp/divdf3.c: Likewise.
13501         * soft-fp/divsf3.c: Likewise.
13502         * soft-fp/divtf3.c: Likewise.
13503         * soft-fp/double.h: Likewise.
13504         * soft-fp/eqdf2.c: Likewise.
13505         * soft-fp/eqsf2.c: Likewise.
13506         * soft-fp/eqtf2.c: Likewise.
13507         * soft-fp/extenddftf2.c: Likewise.
13508         * soft-fp/extended.h: Likewise.
13509         * soft-fp/extendsfdf2.c: Likewise.
13510         * soft-fp/extendsftf2.c: Likewise.
13511         * soft-fp/extendxftf2.c: Likewise.
13512         * soft-fp/fixdfdi.c: Likewise.
13513         * soft-fp/fixdfsi.c: Likewise.
13514         * soft-fp/fixdfti.c: Likewise.
13515         * soft-fp/fixsfdi.c: Likewise.
13516         * soft-fp/fixsfsi.c: Likewise.
13517         * soft-fp/fixsfti.c: Likewise.
13518         * soft-fp/fixtfdi.c: Likewise.
13519         * soft-fp/fixtfsi.c: Likewise.
13520         * soft-fp/fixtfti.c: Likewise.
13521         * soft-fp/fixunsdfdi.c: Likewise.
13522         * soft-fp/fixunsdfsi.c: Likewise.
13523         * soft-fp/fixunsdfti.c: Likewise.
13524         * soft-fp/fixunssfdi.c: Likewise.
13525         * soft-fp/fixunssfsi.c: Likewise.
13526         * soft-fp/fixunssfti.c: Likewise.
13527         * soft-fp/fixunstfdi.c: Likewise.
13528         * soft-fp/fixunstfsi.c: Likewise.
13529         * soft-fp/fixunstfti.c: Likewise.
13530         * soft-fp/floatdidf.c: Likewise.
13531         * soft-fp/floatdisf.c: Likewise.
13532         * soft-fp/floatditf.c: Likewise.
13533         * soft-fp/floatsidf.c: Likewise.
13534         * soft-fp/floatsisf.c: Likewise.
13535         * soft-fp/floatsitf.c: Likewise.
13536         * soft-fp/floattidf.c: Likewise.
13537         * soft-fp/floattisf.c: Likewise.
13538         * soft-fp/floattitf.c: Likewise.
13539         * soft-fp/floatundidf.c: Likewise.
13540         * soft-fp/floatundisf.c: Likewise.
13541         * soft-fp/floatunditf.c: Likewise.
13542         * soft-fp/floatunsidf.c: Likewise.
13543         * soft-fp/floatunsisf.c: Likewise.
13544         * soft-fp/floatunsitf.c: Likewise.
13545         * soft-fp/floatuntidf.c: Likewise.
13546         * soft-fp/floatuntisf.c: Likewise.
13547         * soft-fp/floatuntitf.c: Likewise.
13548         * soft-fp/fmadf4.c: Likewise.
13549         * soft-fp/fmasf4.c: Likewise.
13550         * soft-fp/fmatf4.c: Likewise.
13551         * soft-fp/gedf2.c: Likewise.
13552         * soft-fp/gesf2.c: Likewise.
13553         * soft-fp/getf2.c: Likewise.
13554         * soft-fp/ledf2.c: Likewise.
13555         * soft-fp/lesf2.c: Likewise.
13556         * soft-fp/letf2.c: Likewise.
13557         * soft-fp/muldf3.c: Likewise.
13558         * soft-fp/mulsf3.c: Likewise.
13559         * soft-fp/multf3.c: Likewise.
13560         * soft-fp/negdf2.c: Likewise.
13561         * soft-fp/negsf2.c: Likewise.
13562         * soft-fp/negtf2.c: Likewise.
13563         * soft-fp/op-1.h: Likewise.
13564         * soft-fp/op-2.h: Likewise.
13565         * soft-fp/op-4.h: Likewise.
13566         * soft-fp/op-8.h: Likewise.
13567         * soft-fp/op-common.h: Likewise.
13568         * soft-fp/quad.h: Likewise.
13569         * soft-fp/single.h: Likewise.
13570         * soft-fp/soft-fp.h: Likewise.
13571         * soft-fp/sqrtdf2.c: Likewise.
13572         * soft-fp/sqrtsf2.c: Likewise.
13573         * soft-fp/sqrttf2.c: Likewise.
13574         * soft-fp/subdf3.c: Likewise.
13575         * soft-fp/subsf3.c: Likewise.
13576         * soft-fp/subtf3.c: Likewise.
13577         * soft-fp/truncdfsf2.c: Likewise.
13578         * soft-fp/trunctfdf2.c: Likewise.
13579         * soft-fp/trunctfsf2.c: Likewise.
13580         * soft-fp/trunctfxf2.c: Likewise.
13581         * soft-fp/unorddf2.c: Likewise.
13582         * soft-fp/unordsf2.c: Likewise.
13583         * soft-fp/unordtf2.c: Likewise.
13584
13585 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
13586
13587         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13588         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13589
13590 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
13591
13592         * elf/dl-libc.c: Clear initfini list after freeing.
13593
13594 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
13595
13596         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13597         * soft-fp/addsf3.c: Likewise.
13598         * soft-fp/addtf3.c: Likewise.
13599         * soft-fp/divdf3.c: Likewise.
13600         * soft-fp/divsf3.c: Likewise.
13601         * soft-fp/divtf3.c: Likewise.
13602         * soft-fp/double.h: Likewise.
13603         * soft-fp/eqdf2.c: Likewise.
13604         * soft-fp/eqsf2.c: Likewise.
13605         * soft-fp/eqtf2.c: Likewise.
13606         * soft-fp/extenddftf2.c: Likewise.
13607         * soft-fp/extended.h: Likewise.
13608         * soft-fp/extendsfdf2.c: Likewise.
13609         * soft-fp/extendsftf2.c: Likewise.
13610         * soft-fp/extendxftf2.c: Likewise.
13611         * soft-fp/fixdfdi.c: Likewise.
13612         * soft-fp/fixdfsi.c: Likewise.
13613         * soft-fp/fixdfti.c: Likewise.
13614         * soft-fp/fixsfdi.c: Likewise.
13615         * soft-fp/fixsfsi.c: Likewise.
13616         * soft-fp/fixsfti.c: Likewise.
13617         * soft-fp/fixtfdi.c: Likewise.
13618         * soft-fp/fixtfsi.c: Likewise.
13619         * soft-fp/fixtfti.c: Likewise.
13620         * soft-fp/fixunsdfdi.c: Likewise.
13621         * soft-fp/fixunsdfsi.c: Likewise.
13622         * soft-fp/fixunsdfti.c: Likewise.
13623         * soft-fp/fixunssfdi.c: Likewise.
13624         * soft-fp/fixunssfsi.c: Likewise.
13625         * soft-fp/fixunssfti.c: Likewise.
13626         * soft-fp/fixunstfdi.c: Likewise.
13627         * soft-fp/fixunstfsi.c: Likewise.
13628         * soft-fp/fixunstfti.c: Likewise.
13629         * soft-fp/floatdidf.c: Likewise.
13630         * soft-fp/floatdisf.c: Likewise.
13631         * soft-fp/floatditf.c: Likewise.
13632         * soft-fp/floatsidf.c: Likewise.
13633         * soft-fp/floatsisf.c: Likewise.
13634         * soft-fp/floatsitf.c: Likewise.
13635         * soft-fp/floattidf.c: Likewise.
13636         * soft-fp/floattisf.c: Likewise.
13637         * soft-fp/floattitf.c: Likewise.
13638         * soft-fp/floatundidf.c: Likewise.
13639         * soft-fp/floatundisf.c: Likewise.
13640         * soft-fp/floatunsidf.c: Likewise.
13641         * soft-fp/floatunsisf.c: Likewise.
13642         * soft-fp/floatuntidf.c: Likewise.
13643         * soft-fp/floatuntisf.c: Likewise.
13644         * soft-fp/floatuntitf.c: Likewise.
13645         * soft-fp/fmadf4.c: Likewise.
13646         * soft-fp/fmasf4.c: Likewise.
13647         * soft-fp/fmatf4.c: Likewise.
13648         * soft-fp/gedf2.c: Likewise.
13649         * soft-fp/gesf2.c: Likewise.
13650         * soft-fp/getf2.c: Likewise.
13651         * soft-fp/ledf2.c: Likewise.
13652         * soft-fp/lesf2.c: Likewise.
13653         * soft-fp/letf2.c: Likewise.
13654         * soft-fp/muldf3.c: Likewise.
13655         * soft-fp/mulsf3.c: Likewise.
13656         * soft-fp/multf3.c: Likewise.
13657         * soft-fp/negdf2.c: Likewise.
13658         * soft-fp/negsf2.c: Likewise.
13659         * soft-fp/negtf2.c: Likewise.
13660         * soft-fp/op-1.h: Likewise.
13661         * soft-fp/op-2.h: Likewise.
13662         * soft-fp/op-4.h: Likewise.
13663         * soft-fp/op-8.h: Likewise.
13664         * soft-fp/op-common.h: Likewise.
13665         * soft-fp/quad.h: Likewise.
13666         * soft-fp/single.h: Likewise.
13667         * soft-fp/soft-fp.h: Likewise.
13668         * soft-fp/sqrtdf2.c: Likewise.
13669         * soft-fp/sqrtsf2.c: Likewise.
13670         * soft-fp/sqrttf2.c: Likewise.
13671         * soft-fp/subdf3.c: Likewise.
13672         * soft-fp/subsf3.c: Likewise.
13673         * soft-fp/subtf3.c: Likewise.
13674         * soft-fp/truncdfsf2.c: Likewise.
13675         * soft-fp/trunctfdf2.c: Likewise.
13676         * soft-fp/trunctfsf2.c: Likewise.
13677         * soft-fp/trunctfxf2.c: Likewise.
13678         * soft-fp/unorddf2.c: Likewise.
13679         * soft-fp/unordsf2.c: Likewise.
13680         * soft-fp/unordtf2.c: Likewise.
13681
13682 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
13683
13684         [BZ #15672]
13685         * misc/error.c (error_tail): Fix possible buffer overflow.
13686
13687 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
13688
13689         [BZ #13028]
13690         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13691         address.
13692
13693 2013-10-14  P. J. McDermott  <pj@pehjota.net>
13694
13695         [BZ #832]
13696         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
13697         testing pipefail option.
13698
13699 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
13700
13701         * soft-fp/double.h: Indent preprocessor directives inside #if.
13702         * soft-fp/extended.h: Likewise.
13703         * soft-fp/op-2.h: Likewise.
13704         * soft-fp/op-4.h: Likewise.
13705         * soft-fp/op-common.h: Likewise.
13706         * soft-fp/quad.h: Likewise.
13707         * soft-fp/single.h: Likewise.
13708         * soft-fp/soft-fp.h: Likewise.
13709
13710 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
13711
13712         * iconv/iconv_prog.c: Fix typos.
13713         * stdio-common/psiginfo-data.h: Likewise.
13714
13715 2013-10-12   Reuben Thomas <rrt@sc3d.org>
13716
13717         [BZ #15764]
13718         * locale/setlocale.c: Fix typo.
13719
13720 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
13721
13722         [BZ #16036]
13723         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13724         signaling NaN arguments.
13725         * soft-fp/unordsf2.c (__unordsf2): Likewise.
13726         * soft-fp/unordtf2.c (__unordtf2): Likewise.
13727
13728         [BZ #14910]
13729         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13730         unordered operands.
13731         * soft-fp/gesf2.c (__gesf2): Likewise.
13732         * soft-fp/getf2.c (__getf2): Likewise.
13733         * soft-fp/ledf2.c (__ledf2): Likewise.
13734         * soft-fp/lesf2.c (__lesf2): Likewise.
13735         * soft-fp/letf2.c (__letf2): Likewise.
13736
13737         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13738         * soft-fp/eqsf2.c (__eqsf2): Likewise.
13739         * soft-fp/eqtf2.c (__eqtf2): Likewise.
13740         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13741         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13742         * soft-fp/fixdfti.c (__fixdfti): Likewise.
13743         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13744         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13745         * soft-fp/fixsfti.c (__fixsfti): Likewise.
13746         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13747         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13748         * soft-fp/fixtfti.c (__fixtfti): Likewise.
13749         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13750         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13751         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13752         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13753         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13754         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13755         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13756         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13757         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13758         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13759         * soft-fp/floatdisf.c (__floatdisf): Likewise.
13760         * soft-fp/floatsisf.c (__floatsisf): Likewise.
13761         * soft-fp/floattidf.c (__floattidf): Likewise.
13762         * soft-fp/floattisf.c (__floattisf): Likewise.
13763         * soft-fp/floattitf.c (__floattitf): Likewise.
13764         * soft-fp/floatundidf.c (__floatundidf): Likewise.
13765         * soft-fp/floatundisf.c (__floatundisf): Likewise.
13766         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13767         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13768         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13769         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13770         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13771         * soft-fp/gesf2.c (__gesf2): Likewise.
13772         * soft-fp/getf2.c (__getf2): Likewise.
13773         * soft-fp/ledf2.c (__ledf2): Likewise.
13774         * soft-fp/lesf2.c (__lesf2): Likewise.
13775         * soft-fp/letf2.c (__letf2): Likewise.
13776
13777         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13778         Undefine and redefine.
13779         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13780         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13781         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13782         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13783         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13784         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13785         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13786         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13787         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13788         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13789         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13790         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13791         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13792         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13793         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13794
13795         [BZ #16032]
13796         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13797         without decrementing exponent if mantissa >= that for the
13798         denominator, not >.
13799         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13800         denominator, not >.  Decrement exponent in < case instead of
13801         incrementing in >= case.
13802         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13803         without decrementing exponent if mantissa >= that for the
13804         denominator, not >.
13805
13806         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13807         computing saturated result for unsigned overflow.
13808
13809 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13810             Jeff Law  <law@redhat.com>
13811
13812         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13813         (atan2Mp): Add systemtap probe marker.
13814         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13815         (__ieee754_log): Add systemtap probe marker.
13816         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13817         (atanMp): Add systemtap probe marker.
13818         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13819         (tanMp): Add systemtap probe marker.
13820         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13821         (__slowexp): Add systemtap probe marker.
13822         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13823         (__slowpow): Add systemtap probe marker.
13824         * manual/probes.texi: Document probes.
13825
13826 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
13827
13828         [BZ #15362]
13829         * libio/fileops.c (_IO_new_file_write): Return count of bytes
13830         written.
13831         (_IO_new_file_xsputn): Don't return EOF if nothing has been
13832         written.
13833         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13834         written to buffer but not flushed.
13835         * libio/iofwrite_u.c:  Likewise.
13836         * libio/iopadn.c:  Return bytes returned even if EOF was
13837         encountered.
13838         * libio/iowpadn.c:  Likewise.
13839         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13840         if _IO_padn does not write the whole buffer.
13841         [!COMPILE_WPRINTF] (PAD): Likewise.
13842
13843 2013-10-10  David S. Miller  <davem@davemloft.net>
13844
13845         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13846         directory block.
13847
13848 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
13849
13850         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
13851         instead of FSF address.
13852         * soft-fp/fixdfti.c: Likewise.
13853         * soft-fp/fixsfti.c: Likewise.
13854         * soft-fp/fixtfti.c: Likewise.
13855         * soft-fp/fixunsdfti.c: Likewise.
13856         * soft-fp/fixunssfti.c: Likewise.
13857         * soft-fp/fixunstfti.c: Likewise.
13858         * soft-fp/floattidf.c: Likewise.
13859         * soft-fp/floattisf.c: Likewise.
13860         * soft-fp/floattitf.c: Likewise.
13861         * soft-fp/floatuntidf.c: Likewise.
13862         * soft-fp/floatuntisf.c: Likewise.
13863         * soft-fp/floatuntitf.c: Likewise.
13864         * soft-fp/trunctfxf2.c: Likewise.
13865
13866         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
13867         * soft-fp/fixdfti.c: Likewise.
13868         * soft-fp/fixsfti.c: Likewise.
13869         * soft-fp/fixtfti.c: Likewise.
13870         * soft-fp/fixunsdfti.c: Likewise.
13871         * soft-fp/fixunssfti.c: Likewise.
13872         * soft-fp/fixunstfti.c: Likewise.
13873         * soft-fp/floattidf.c: Likewise.
13874         * soft-fp/floattisf.c: Likewise.
13875         * soft-fp/floattitf.c: Likewise.
13876         * soft-fp/floatuntidf.c: Likewise.
13877         * soft-fp/floatuntisf.c: Likewise.
13878         * soft-fp/floatuntitf.c: Likewise.
13879         * soft-fp/trunctfxf2.c: Likewise.
13880
13881 2013-10-10  David S. Miller  <davem@davemloft.net>
13882
13883         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13884
13885 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
13886
13887         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13888         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13889         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13890         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13891         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13892         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13893         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13894
13895         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13896         for NaNs before doing comparisons on argument.
13897         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13898         Likewise.
13899
13900 2013-10-10  Will Newton  <will.newton@linaro.org>
13901
13902         * malloc/hooks.c (memalign_check): Ensure the value of bytes
13903         passed to _int_memalign does not overflow.
13904
13905 2013-10-10  Torvald Riegel  <triegel@redhat.com>
13906
13907         * scripts/bench.pl: Add include-sources directive.
13908         * benchtests/README: Update documentation.
13909
13910 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
13911
13912         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13913         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13914         instead of FP_INIT_ROUNDMODE.
13915         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13916         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13917
13918         [BZ #16034]
13919         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
13920         copy class of input value.
13921         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
13922         not handle exceptions.
13923         * soft-fp/negsf2.c (__negsf2): Likewise.
13924         * soft-fp/negtf2.c (__negtf2): Likewise.
13925         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13926
13927 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
13928
13929         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13930         semicolon.  From Linux kernel.
13931
13932 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
13933
13934         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13935
13936 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
13937
13938         [BZ #156]
13939         * manual/socket.texi: Added statement about buffer
13940         for gethostbyname2_r.
13941
13942 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
13943
13944         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13945         Use .p2align directive instead, throughout.
13946         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13947         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13948         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13949         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13950         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13951         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13952         * sysdeps/x86_64/strchr.S: Likewise.
13953         * sysdeps/x86_64/strrchr.S: Likewise.
13954
13955 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13956
13957         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13958
13959         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13960
13961         * sysdeps/generic/math_private.h (__mpsin1): Remove
13962         declaration.
13963         (__mpcos1): Likewise.
13964         (__mpsin): New argument __range_reduce.
13965         (__mpcos): Likewise.
13966         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13967         (slow): Use __mpsin and __mpcos.
13968         (slow1): Likewise.
13969         (slow2): Likewise.
13970         (sloww): Likewise.
13971         (sloww1): Likewise.
13972         (sloww2): Likewise.
13973         (bsloww): Likewise.
13974         (bsloww1): Likewise.
13975         (bsloww2): Likewise.
13976         (cslow2): Likewise.
13977         (csloww): Likewise.
13978         (csloww1): Likewise.
13979         (csloww2): Likewise.
13980         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13981         range_reduce.  Merge in __mpsin1.
13982         (__mpcos): Likewise.
13983         (__mpsin1): Remove.
13984         (__mpcos1): Likewise.
13985
13986 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
13987
13988         * locale/loadlocale.c (_nl_intern_locale_data): Use
13989         LOCFILE_ALIGNED_P.
13990         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13991         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13992         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13993         obstack data is appropriately aligned.
13994         (obstack_int32_grow_fast): Likewise.
13995         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13996         * locale/programs/locfile.c (add_locale_uint32): Likewise.
13997         (add_locale_uint32_array): Likewise.
13998
13999 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14000
14001         * benchtests/Makefile: Remove ARGLIST and RET variables.
14002         ($(objpfx)bench-%.c): Pass only function name to the script.
14003         * benchtests/README: Update documentation.
14004         * benchtests/acos-inputs: Add new directives.
14005         * benchtests/acosh-inputs: Likewise.
14006         * benchtests/asin-inputs: Likewise.
14007         * benchtests/asinh-inputs: Likewise.
14008         * benchtests/atan-inputs: Likewise.
14009         * benchtests/atanh-inputs: Likewise.
14010         * benchtests/cos-inputs: Likewise.
14011         * benchtests/cosh-inputs: Likewise.
14012         * benchtests/exp-inputs: Likewise.
14013         * benchtests/log-inputs: Likewise.
14014         * benchtests/pow-inputs: Likewise.
14015         * benchtests/rint-inputs: Likewise.
14016         * benchtests/sin-inputs: Likewise.
14017         * benchtests/sinh-inputs: Likewise.
14018         * benchtests/tan-inputs: Likewise.
14019         * benchtests/tanh-inputs: Likewise.
14020         * scripts/bench.pl: Add support for new directives.
14021
14022 2013-10-07  Alan Modra  <amodra@gmail.com>
14023
14024         * README: Fix careless merge.
14025
14026 2013-10-05  Alan Modra  <amodra@gmail.com>
14027
14028         * NEWS: Mention powerpc64le support and bugs fixed.
14029         * README: Both big-endian and little-endian powerpc64 supported.
14030
14031 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14032
14033         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14034         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14035         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14036         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14037
14038 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
14039
14040         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14041         match prototype.
14042
14043 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
14044
14045         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14046         Move -mhard-float appending from
14047         ports/sysdeps/powerpc/powerpc32/Makefile.
14048         [$(with-fp) = yes] (ASFLAGS): Likewise.
14049         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14050         * sysdeps/powerpc/nofpu: Move directory from
14051         ports/sysdeps/powerpc/nofpu.
14052         * sysdeps/powerpc/soft-fp: Move directory from
14053         ports/sysdeps/powerpc/soft-fp.
14054         * sysdeps/powerpc/powerpc32/405: Move directory from
14055         ports/sysdeps/powerpc/powerpc32/405.
14056         * sysdeps/powerpc/powerpc32/440: Move directory from
14057         ports/sysdeps/powerpc/powerpc32/440.
14058         * sysdeps/powerpc/powerpc32/464: Move directory from
14059         ports/sysdeps/powerpc/powerpc32/464.
14060         * sysdeps/powerpc/powerpc32/476: Move directory from
14061         ports/sysdeps/powerpc/powerpc32/476.
14062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14063         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14065         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14067         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14069         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14071         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14072         * README: Update for powerpc-*-linux-gnu software floating point
14073         support in libc.
14074
14075         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14076         case to powerpc/powerpc32*.
14077         * sysdeps/unix/sysv/linux/configure: Regenerated.
14078
14079         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14080         (_FPU_MASK_OM): Define as 0x04.
14081         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14082         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14083         0x00c10080.
14084         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14085         0x0000003c.
14086         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14087
14088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14089         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14090         getcontext_e500.
14091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14092         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14093         setcontext_e500.
14094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14095         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14096         and setcontext_e500.
14097
14098 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
14099
14100         * locale/iso-3166.def: Update iso-1366.def and related occurrences
14101
14102 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14103
14104         * manual/threads.texi (Default Thread Attributes): Fix typo.
14105
14106 2013-10-04  Will Newton  <will.newton@linaro.org>
14107
14108         * malloc/Makefile: Add tst-memalign.
14109         * malloc/tst-memalign.c: New file.
14110
14111         * malloc/tst-posix_memalign.c: Add comments.
14112         (do_test): Add comments and call free on all potentially
14113         allocated pointers. Add space after cast.
14114
14115         * malloc/tst-pvalloc.c: Add comments.
14116         (do_test): Add comments and call free on all potentially
14117         allocated pointers. Remove duplicate check for NULL pointer.
14118         Add space after cast.
14119
14120         * malloc/tst-valloc.c: Add comments.
14121         (do_test): Add comments and call free on all potentially
14122         allocated pointers. Remove duplicate check for NULL pointer.
14123         Add space after cast.
14124
14125 2013-10-04  Alan Modra  <amodra@gmail.com>
14126
14127         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14128         Use stdint types in rather than __attribute__((mode())).
14129         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14130
14131 2013-10-04  Alan Modra  <amodra@gmail.com>
14132
14133         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14134         Correct handling of unaligned relocs for little-endian.
14135         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14136
14137 2013-10-04  Alan Modra  <amodra@gmail.com>
14138
14139         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14140         * configure: Regenerate.
14141         * nptl/shlib-versions: Powerpc*le starts at 2.18.
14142         * shlib-versions: Likewise.
14143
14144 2013-10-04  Alan Modra  <amodra@gmail.com>
14145
14146         * string/tester.c (test_memrchr): Increment reported test cycle.
14147
14148 2013-10-04  Alan Modra  <amodra@gmail.com>
14149
14150         * string/test-memcpy.c (do_one_test): When reporting errors, print
14151         string address and don't overrun end of string.
14152
14153 2013-10-04  Alan Modra  <amodra@gmail.com>
14154
14155         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14156         insrdi.  Make better use of reg selection to speed exit slightly.
14157         Schedule entry path a little better.  Remove useless "are we done"
14158         checks on entry to main loop.  Handle wrapping around zero address.
14159         Correct main loop count.  Handle single left-over word from main
14160         loop inline rather than by using loop_small.  Remove extra word
14161         case in loop_small caused by wrong loop count.  Add little-endian
14162         support.
14163         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14164         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
14165         cache hint.
14166         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14167         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14168         support.  Avoid rlwimi.
14169         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14170
14171 2013-10-04  Alan Modra  <amodra@gmail.com>
14172
14173         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14174         insrdi.  Formatting.
14175         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14176         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14177         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14178         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14179         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14180         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14181
14182 2013-10-04  Alan Modra  <amodra@gmail.com>
14183
14184         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14185         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14186         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14187         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14188         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14189         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14190         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14191         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14192         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
14193         use of regs.  Use power7 mtocrf.  Tidy function tails.
14194
14195 2013-10-04  Alan Modra  <amodra@gmail.com>
14196
14197         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14198         Formatting.  Consistently use rXXX register defines or rN defines.
14199         Use early exit labels that avoid restoring unused non-volatile regs.
14200         Make cr field use more consistent with rWORDn compares.  Rename
14201         regs used as shift registers for unaligned loop, using rN defines
14202         for short lifetime/multiple use regs.
14203         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14204         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
14205         addi 1,1,64 to pop stack frame.  Simplify return value code.
14206         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14207
14208 2013-10-04  Alan Modra  <amodra@gmail.com>
14209
14210         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14211         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
14212         rather than rlwimi.
14213         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14214         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14215         little-endian support.  Correct typos.
14216         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
14217         rather than rlwimi.
14218         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
14219         in loop and entry code to keep "and." results.
14220         (strchr): Add little-endian support.  Comment.  Move cntlzd
14221         earlier in tail.
14222         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14223
14224 2013-10-04  Alan Modra  <amodra@gmail.com>
14225
14226         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14227         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14228         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14229         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14230
14231 2013-10-04  Alan Modra  <amodra@gmail.com>
14232
14233         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14234         (rTMP): Define as r11.
14235         (strcmp): Add little-endian support.  Optimise tail.
14236         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14237         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14238         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14239         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14240         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14241         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14242         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14243
14244 2013-10-04  Alan Modra  <amodra@gmail.com>
14245
14246         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14247         little-endian support.  Remove unnecessary "are we done" tests.
14248         Handle "s" wrapping around zero and extremely large "size".
14249         Correct main loop count.  Handle single left-over word from main
14250         loop inline rather than by using small_loop.  Correct comments.
14251         Delete "zero" tail, use "end_max" instead.
14252         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14253
14254 2013-10-04  Alan Modra  <amodra@gmail.com>
14255
14256         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14257         support.  Don't branch over align.
14258         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14259         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14260         support.  Rearrange tmp reg use to suit.  Comment.
14261         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14262
14263 2013-10-04  Alan Modra  <amodra@gmail.com>
14264
14265         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14266
14267 2013-10-04  Alan Modra  <amodra@gmail.com>
14268
14269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14270         conditional form of branch and link when obtaining pc.
14271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14272
14273 2013-10-04  Alan Modra  <amodra@gmail.com>
14274
14275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14276         HIWORD/LOWORD.
14277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14279
14280 2013-10-04  Alan Modra  <amodra@gmail.com>
14281
14282         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14283         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14284         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14285         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14286         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14287         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14288         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14289         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14290         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14291         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14292
14293 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14294             Alistair Popple <alistair@ozlabs.au.ibm.com>
14295             Alan Modra <amodra@gmail.com>
14296
14297         [BZ #15723]
14298         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14299         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14300         _dl_hwcap access for little-endian.
14301         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
14302         destroy vmx regs when saving unaligned.
14303         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14304         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
14305         destroy vmx regs when saving unaligned.
14306
14307 2013-10-04  Alan Modra  <amodra@gmail.com>
14308
14309         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14310         Don't use a union to pack hi/low value.
14311
14312 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14313
14314         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14315         for little-endian.
14316         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14317         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14318         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14319         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14320         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14321
14322 2013-10-04  Alan Modra  <amodra@gmail.com>
14323
14324         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14325         constants to usual value for .cst8 section, and remove redundant
14326         high address load.
14327         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14328         constant for 0x1p52.  Load little-endian words of double from
14329         correct stack offsets.
14330
14331 2013-10-04  Alan Modra  <amodra@gmail.com>
14332
14333         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14334         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14335         words of double from correct stack offsets.
14336         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14337         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14338         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14339         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14340         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14341         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14342         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14343         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14344         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14345         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14346         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14347         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14348         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14349         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14350         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14351         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14352         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14353
14354 2013-10-04  Alan Modra  <amodra@gmail.com>
14355
14356         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14357         64-bit int/double union.
14358         (_FPU_SETCW): Likewise.
14359         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14360         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14361
14362 2013-10-04  Alan Modra  <amodra@gmail.com>
14363
14364         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14365         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14366
14367 2013-10-04  Alan Modra  <amodra@gmail.com>
14368
14369         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14370         use vector int constants.
14371         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14372
14373 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14374
14375         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14376         array with long long.
14377         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14378         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14379         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14380         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14381         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14382         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14383         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14384         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14385         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14386         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14387         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14388         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14389         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14390
14391 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14392
14393         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14394         (__signbit): Likewise.  Correct for little-endian.
14395         (__signbitl): Call __signbit.
14396         (lrint): Correct for little-endian.
14397         (lrintf): Call lrint.
14398
14399 2013-10-04  Alan Modra  <amodra@gmail.com>
14400
14401         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14402         union 32-bit int array member with 64-bit int array.
14403         (t515, tm256): Double rather than long double.
14404         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14405
14406 2013-10-04  Alan Modra  <amodra@gmail.com>
14407
14408         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14409         Delete.
14410         (IEEE854_LONG_DOUBLE_BIAS): Delete.
14411         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14412         version of math_ldbl.h.
14413
14414 2013-10-04  Alan Modra  <amodra@gmail.com>
14415
14416         [BZ #15734], [BZ #15735]
14417         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14418         all uses of ieee875 long double macros and unions.  Simplify test
14419         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
14420         ldbl_extract_mantissa value for ix,iy exponents.  Properly
14421         normalize after ldbl_extract_mantissa, and don't add hidden bit
14422         already handled.  Don't treat low word of ieee854 mantissa like
14423         low word of IBM long double and mask off bit when testing for
14424         zero.
14425         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14426         all uses of ieee875 long double macros and unions.  Simplify tests
14427         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
14428         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
14429         two1022, instead use their values.  Recognise that tests for large
14430         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
14431         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14432         Rewrite all uses of ieee875 long double macros and unions.  Simplify
14433         test for 0.0L and nan.  Correct negation.
14434         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14435         ieee875 long double macros and unions.  Correct output for large
14436         magnitude x.  Correct absolute value calculation.
14437         (__erfcl): Likewise.
14438         * math/libm-test.inc: Add tests for errors discovered in IBM long
14439         double versions of fmodl, remainderl, erfl and erfcl.
14440
14441 2013-10-04  Alan Modra  <amodra@gmail.com>
14442
14443         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14444         all uses of ieee854 long double macros and unions.  Simplify tests
14445         for long doubles that are fully specified by the high double.
14446         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14447         Likewise.
14448         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14449         Remove dead code too.
14450         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14451         (__ieee754_ynl): Likewise.
14452         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14453         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14454         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14455         Remove dead code too.
14456         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14457         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14458         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14459         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14460         Simplify.
14461         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14462         Simplify.
14463         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14464         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14465         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14466         Comment on variable precision.
14467         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14468         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14469         Likewise.
14470         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14471         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14472         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14473         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14474         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14475
14476 2013-10-04  Alan Modra  <amodra@gmail.com>
14477
14478         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14479         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14480         all uses of ieee854 long double macros and unions.
14481         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14482         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14483         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14484         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14485         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14486         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14487         Likewise.
14488         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14489         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14490         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14491         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14492         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14493         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14494         Simplify sign and nan test too.
14495         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14496         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14497         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14498         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14499         Likewise.
14500         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14501         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14502         Likewise.
14503         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14504         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14505         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14506         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14507         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14508         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14509
14510 2013-10-04  Alan Modra  <amodra@gmail.com>
14511
14512         * stdio-common/printf_size.c (__printf_size): Don't use
14513         union ieee854_long_double in fpnum union.
14514         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
14515         signbit macro to retrieve sign from long double.
14516         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14517         retrieve sign from long double.
14518         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14519         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14520         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14521         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14522         * math/test-misc.c (main): Don't use union ieee854_long_double.
14523
14524 2013-10-04  Alan Modra  <amodra@gmail.com>
14525
14526         [BZ #15680]
14527         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14528         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14529         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14530         calculation.  Remove unnecessary test for denormal exponent.
14531         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14532         Correct handling of denormals.  Avoid undefined shift behaviour.
14533         Correct normalisation of low mantissa when low double is denormal.
14534         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14535         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
14536         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14537         Correct normalisation of low mantissa.  Test for overflow of high
14538         mantissa and normalise.
14539         (ldbl_nearbyint): Use more readable constant for two52.
14540         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14541         (__mpn_construct_long_double): Fix test for overflow of high
14542         mantissa and correct normalisation.  Avoid undefined shift.
14543
14544 2013-10-04  Alan Modra  <amodra@gmail.com>
14545
14546         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14547         (union ibm_extended_long_double): Define as an array of ieee754_double.
14548         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14549         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14550         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14551         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14552         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14553         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14554         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14555         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14556         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14557         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14558         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14559
14560 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
14561
14562         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14563         page size instead of calling getpagesize.
14564
14565         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14566         (LOCFILE_ALIGN_MASK): Likewise.
14567         (LOCFILE_ALIGN_UP): Likewise.
14568         (LOCFILE_ALIGNED_P): Likewise.
14569         * locale/programs/ld-collate.c (collate_output): Use the new
14570         macros instead of __alignof__ (int32_t).
14571         * locale/weight.h (findidx): Likewise.
14572
14573 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
14574
14575         [BZ #431]
14576         * manual/string.texi: Fix strncat and wcsncat.
14577
14578 2013-10-03  Brooks Moses  <bmoses@google.com>
14579
14580         [BZ #15915]
14581         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14582         * Makerules: ...here, and adjust associated comments.
14583
14584 2013-10-02  Will Newton  <will.newton@linaro.org>
14585
14586         * malloc/Makefile: Add tst-pvalloc.
14587         * malloc/tst-pvalloc.c: New file.
14588
14589 2013-10-02  Will Newton  <will.newton@linaro.org>
14590
14591         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14592         improve test coverage.
14593
14594 2013-10-02  Will Newton  <will.newton@linaro.org>
14595
14596         * malloc/Makefile: Add tst-posix_memalign.
14597         * malloc/tst-posix_memalign.c: New file.
14598
14599 2013-10-01  Eric Blake  <eblake@redhat.com>
14600
14601         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14602         Use __THROWNL rather than __THROW on static functions.
14603
14604 2013-09-30  Petr Machata  <pmachata@redhat.com>
14605
14606         * elf/elf.h (R_AARCH64_ABS16): New macro.
14607         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14608         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14609         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14610         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14611         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14612         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14613         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14614         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14615         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14616         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14617         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14618         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14619         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14620         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14621         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14622         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14623         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14624         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14625         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14626         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14627         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14628         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14629         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14630         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14631         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14632         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14633         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14634         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14635         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14636         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14637         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14638         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14639         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14640         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14641         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14642         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14643         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14644         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14645         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14646         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14647         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14648         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14649         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14650         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14651         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14652         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14653         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14654         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14655         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14656         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14657         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14658         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14659         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14660         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14661         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14662         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14663         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14664         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14665         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14666         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14667         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14668         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14669         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14670         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14671         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14672         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14673         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14674         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14675         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14676         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14677         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14678         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14679         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14680         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14681         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14682         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14683         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14684         (R_AARCH64_TLSDESC_LDR): Likewise.
14685         (R_AARCH64_TLSDESC_ADD): Likewise.
14686         (R_AARCH64_TLSDESC_CALL): Likewise.
14687
14688 2013-09-30  Andreas Schwab  <schwab@suse.de>
14689
14690         [BZ #15048]
14691         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14692         the nss database lookup.
14693         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14694         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14695
14696 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
14697
14698         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14699
14700 2013-09-28  P. J. McDermott  <pj@pehjota.net>
14701
14702         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14703         ${Bash-specific parameter/pattern/string} parameter expansion.
14704         * sysdeps/unix/make-syscalls.sh: Likewise.
14705
14706 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14707
14708         * sysdeps/sh/stackguard-macros.h: New file.
14709
14710 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
14711
14712         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14713         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14714         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14715         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14716         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14717         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14718
14719 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14720
14721         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14722         Fix thread ID register.
14723
14724 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
14725
14726         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14727         [POSIX || UNIX98]: Require rather than permitting all symbols from
14728         <time.h>.
14729         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14730         element of struct sched_param.
14731         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14732         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14733         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14734         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14735         constant.
14736
14737 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
14738
14739         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14740         argument calculation.
14741
14742 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
14743
14744         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14745         Expect macro.
14746         [POSIX] (pthread_attr_t): Do not require type.
14747         [POSIX] (pthread_cond_t): Likewise.
14748         [POSIX] (pthread_condattr_t): Likewise.
14749         [POSIX] (pthread_key_t): Likewise.
14750         [POSIX] (pthread_mutex_t): Likewise.
14751         [POSIX] (pthread_mutexattr_t): Likewise.
14752         [POSIX] (pthread_once_t): Likewise.
14753         [POSIX] (pthread_t): Likewise.
14754         [POSIX-based standards] (pthread_atfork): Expect function.
14755
14756 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
14757             Richard Sandiford  <richard@codesourcery.com>
14758
14759         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14760         (swap_endianness_p): New extern variable.
14761         (set_big_endian): New inline function.
14762         (maybe_swap_uint32): Likewise.
14763         (maybe_swap_uint32_array): Likewise.
14764         (maybe_swap_uint32_obstack): Likewise.
14765         * locale/programs/locfile.c: Include <stdbool.h>.
14766         (swap_endianness_p): New variable.
14767         (add_locale_uint32): Call maybe_swap_uint32.
14768         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14769         (write_locale_data): Call maybe_swap_uint32_array.
14770         * locale/programs/ld-collate.c (obstack_int32_grow): Call
14771         maybe_swap_uint32.
14772         (obstack_int32_grow_fast): Likewise.
14773         (output_weightwc): Call maybe_swap_uint32_obstack.
14774         (collate_output): Likewise.
14775         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14776         (OPT_LITTLE_ENDIAN): Likewise.
14777         (options): Add --little-endian and --big-endian options.
14778         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14779         * locale/programs/locarchive.c: Include "locfile.h".
14780         (GET): New macro.
14781         (SET): Likewise.
14782         (INC): Likewise.
14783         (create_archive): Use the new macros to access fields of
14784         structures directly mapped from or written to locale archives.
14785         (oldlocrecentcmp): Likewise.
14786         (enlarge_archive): Likewise.
14787         (insert_name): Likewise.
14788         (add_alias): Likewise.
14789         (add_locale): Likewise.
14790         (delete_locales_from_archive): Likewise.
14791         (show_archive_content): Likewise.
14792         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
14793         locale data.
14794
14795 2013-09-24  Roland McGrath  <roland@hack.frob.com>
14796
14797         * manual/freemanuals.texi: Updated from (newly) canonical copy at
14798         http://www.gnu.org/doc/freemanuals.texi.
14799         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14800
14801 2013-09-24  Will Newton  <will.newton@linaro.org>
14802
14803         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14804         macro.
14805
14806 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
14807
14808         * locale/hashval.h (compute_hashval): Interpret bytes of key as
14809         unsigned char.
14810
14811 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
14812
14813         * manual/threads.texi (POSIX Threads): Fix a typo.
14814
14815 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14816
14817         [BZ #14547]
14818         * string/tst-strcoll-overflow.c: New test case.
14819         * string/Makefile (xtests): Add tst-strcoll-overflow.
14820         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14821         cache if string sizes may cause integer overflow.
14822
14823         [BZ #14547]
14824         * string/strcoll_l.c (coll_seq): New members rule, idx,
14825         save_idx and back_us.
14826         (get_next_seq_nocache): New function.
14827         (do_compare_nocache): New function.
14828         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14829         when malloc fails.
14830
14831 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
14832
14833         [BZ #15754]
14834         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14835         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14836         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14837
14838         [BZ #15754]
14839         * elf/Makefile (tests): Add tst-ptrguard1.
14840         (tests-static): Add tst-ptrguard1-static.
14841         (tst-ptrguard1-ARGS): Define.
14842         (tst-ptrguard1-static-ARGS): Define.
14843         * elf/tst-ptrguard1.c: New file.
14844         * elf/tst-ptrguard1-static.c: New file.
14845         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14846         * sysdeps/i386/stackguard-macros.h: Likewise.
14847         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14848         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14849         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14850         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14851         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14852         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14853
14854 2013-09-23  Hector Marco  <hecmargi@upv.es>
14855             Ismael Ripoll  <iripoll@disca.upv.es>
14856             Carlos O'Donell  <carlos@redhat.com>
14857
14858         [BZ #15754]
14859         * sysdeps/generic/stackguard-macros.h: Define
14860         __pointer_chk_guard_local and POINTER_CHK_GUARD.
14861         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14862         Define __pointer_chk_guard_local.
14863         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14864         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14865
14866 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
14867
14868         [BZ #15859]
14869         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14870
14871 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
14872
14873         * include/string.h (__ffs): Declare as hidden.
14874         * string/ffs.c (__ffs): Define as hidden.
14875         * sysdeps/i386/ffs.c (__ffs): Likewise.
14876         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14877         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14878         * sysdeps/s390/ffs.c (__ffs): Likewise.
14879         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14880
14881 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
14882
14883         * NEWS: Mention malloc probes.
14884
14885         * malloc/arena.c (new_heap): New memory_heap_new probe.
14886         (grow_heap): New memory_heap_more probe.
14887         (shrink_heap): New memory_heap_less probe.
14888         (heap_trim): New memory_heap_free probe.
14889         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14890         (systrim): New memory_sbrk_less probe.
14891         * manual/probes.texi: Document them.
14892
14893         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14894         * manual/probes.texi: Document it.
14895
14896         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14897         (__libc_realloc): Add memory_realloc_retry probe.
14898         (__libc_memalign): Add memory_memalign_retry probe.
14899         (__libc_valloc): Add memory_valloc_retry probe.
14900         (__libc_pvalloc): Add memory_pvalloc_retry probe.
14901         (__libc_calloc): Add memory_calloc_retry probe.
14902         * manual/probes.texi: Document them.
14903
14904         * malloc/arena.c (get_free_list): Add probe
14905         memory_arena_reuse_free_list.
14906         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14907         and memory_arena_reuse.
14908         (arena_get2) [!PER_THREAD]: Likewise.
14909         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14910         memory_arena_reuse_realloc.
14911         * manual/probes.texi: Document them.
14912
14913         * malloc/malloc.c (__libc_free): Add
14914         memory_mallopt_free_dyn_thresholds probe.
14915         (__libc_mallopt): Add multiple memory_mallopt probes.
14916         * manual/probes.texi: Document them.
14917
14918         * malloc/malloc.c: Include stap-probe.h.
14919         (__libc_mallopt): Add memory_mallopt probe.
14920         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14921         * manual/probes.texi: New.
14922         * manual/Makefile (chapters): Add probes.
14923         * manual/threads.texi: Set next node.
14924
14925 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
14926
14927         [BZ #15963, #13985]
14928         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14929         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14930         Add `Chinese' to `nan' entry name.
14931
14932 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14933
14934         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14935         (POLYNOMIAL): Likewise.
14936         (TAYLOR_SINCOS): Likewise.
14937         (TAYLOR_SLOW): Likewise.
14938         (__sin): Use TAYLOR_SINCOS.
14939         (__cos): Likewise.
14940         (slow): Use TAYLOR_SLOW.
14941         (sloww): Likewise.
14942         (bsloww): Likewise.
14943         (csloww): Likewise.
14944
14945 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14946
14947         * stdlib/strtod_l.c: Fix buffer overrun.
14948
14949 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14950
14951         * benchtests/Makefile (bench): Add sincos.
14952         * benchtests/bench-sincos.c: New file.
14953
14954         * math/libm-test.inc (cos_test_data): New test inputs.
14955         (sin_test_data): Likewise.
14956
14957         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14958         macro.
14959         (__sin): Use it.
14960         (__cos): Likewise.
14961         (slow1): Likewise.
14962         (slow2): Likewise.
14963         (sloww1): Likewise.
14964         (sloww2): Likewise.
14965         (bsloww1): Likewise.
14966         (bsloww2): Likewise.
14967         (cslow2): Likewise.
14968         (csloww1): Likewise.
14969         (csloww2): Likewise.
14970
14971         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14972         function.
14973         (__sin): Use it.
14974         (__cos): Likewise.
14975
14976         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14977         gotos.
14978         (__cos): Likewise.
14979
14980 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
14981
14982         * config.h.in (HAVE_MIPS_NAN2008): New macro.
14983         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14984         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14985         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14986         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14987         * elf/cache.c (print_entry): Handle the new cache flags.
14988
14989 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
14990             Aldy Hernandez  <aldyh@redhat.com>
14991
14992         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14993         Change condition to [_SOFT_FLOAT].
14994         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14995         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14996         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14997         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14998         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14999         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15000         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15001         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15002         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15003         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15004         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15005         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15006         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15007         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15008         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15009         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15010         declaration.
15011
15012 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15013
15014         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15015         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15016         (__longjmp): Use LOAD_GP to load saved GPRs.
15017         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15018         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15019         (__sigsetjmp): Use SAVE_GP to save GPRs.
15020
15021         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15022         Do not append -msoft-float.
15023         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15024
15025 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15026
15027         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15028
15029 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
15030
15031         [BZ #15966]
15032         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15033         (_FPU_GETCW): Use initial "__" on variable and field names but not
15034         on macro parameter name.
15035         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
15036         parentheses around reference to macro parameter.
15037
15038 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
15039
15040         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15041         prototype.
15042         (ctype_startup): Use uint32_t in cast and sizeof for
15043         ctype->charnames.
15044
15045 2013-09-11  Jia Liu  <proljc@gmail.com>
15046
15047         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15048         __daddr_t_defined.
15049         [__FreeBSD__]: Likewise.
15050
15051 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
15052
15053         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15054         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15055         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15056         (strchr): Remove __strchr_sse42 ifunc selection.
15057         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15058         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15059
15060 2013-09-11  Will Newton  <will.newton@linaro.org>
15061
15062         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15063         parameter to RES. Remove hardcoded 1000 value.
15064         * benchtests/bench-skeleton.c (main): Pass RES parameter
15065         to TIMING_INIT and multiply result by 1000.
15066
15067 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15068
15069         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15070
15071 2013-09-11  Andreas Schwab  <schwab@suse.de>
15072
15073         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15074         if not defined.
15075         (O_TMPFILE) [__USE_GNU]: Define.
15076         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15077         Define.
15078
15079 2013-09-11  Will Newton  <will.newton@linaro.org>
15080
15081         [BZ #15857]
15082         * malloc/malloc.c (__libc_memalign): Check the value of bytes
15083         does not overflow.
15084
15085 2013-09-11  Will Newton  <will.newton@linaro.org>
15086
15087         [BZ #15856]
15088         * malloc/malloc.c (__libc_valloc): Check the value of bytes
15089         does not overflow.
15090
15091 2013-09-11  Will Newton  <will.newton@linaro.org>
15092
15093         [BZ #15855]
15094         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15095         does not overflow.
15096
15097 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
15098
15099         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15100         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15101         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15102         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15103         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15104
15105 2013-09-10  Allan McRae  <allan@archlinux.org>
15106
15107         [BZ #15748]
15108         * manual/arith.texi (Parsing of Floats): Clarify
15109         cross-reference.
15110
15111         [BZ #15849]
15112         * manual/install.texi (Running make install): Mention
15113         --enable-pt-chown.
15114         * INSTALL: Regenerated.
15115
15116 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
15117
15118         * csu/init-first.c (_init): Remove the !SHARED condition around
15119         FPU control word initialization.
15120         * elf/dl-support.c (_dl_fpu_control): New variable.
15121         (_dl_aux_init) <AT_FPUCW>: Initialize it.
15122         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15123         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15124         * math/test-fpucw-static.c: New file.
15125         * math/test-fpucw-ieee.c: New file.
15126         * math/test-fpucw-ieee-static.c: New file.
15127         * math/Makefile (tests): Add `test-fpucw-ieee' and
15128         `$(tests-static)'.
15129         (tests-static): New variable.
15130         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15131         dependency to...
15132         [($(build-shared),yes)]
15133         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15134         ... this.
15135         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15136         New dependency.
15137
15138 2013-09-09  Allan McRae  <allan@archlinux.org>
15139
15140         [BZ #15939]
15141         * manual/string.texi (Collation Functions): Fix typo in
15142         strcoll example.
15143         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15144
15145         [BZ #15893]
15146         * stdlib/isomac.c (get_null_defines): Fix memory leak.
15147
15148         [BZ #15892]
15149         * libio/memstream.c (open_memstream): Fix memory leak.
15150         * libio/wmemstream.c (open_wmemstream): Likewise.
15151
15152         [BZ #15895]
15153         * nscd/netgroupcache.c: Fix nesting of ifdefs.
15154
15155 2013-09-09  Will Newton  <will.newton@linaro.org>
15156
15157         * malloc/Makefile: Add tst-realloc to tests.
15158         * malloc/tst-realloc.c: New file.
15159
15160 2013-09-09  Allan McRae  <allan@archlinux.org>
15161
15162         [BZ #15844]
15163         * COPYING: Update from GNU website to fix FSF address.
15164         * COPYING.LIB: Likewise.
15165
15166 2013-09-06  David S. Miller  <davem@davemloft.net>
15167
15168         * po/zh_TW.po: Update Chinese (traditional) translation from
15169         translation project.
15170
15171 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
15172             Joseph Myers  <joseph@codesourcery.com>
15173
15174         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15175         "localeinfo.h".
15176         (obstack_chunk_alloc): New macro.
15177         (obstack_chunk_free): Likewise.
15178         (record_offset): New function.
15179         (init_locale_data): Likewise.
15180         (align_locale_data): Likewise.
15181         (add_locale_empty): Likewise.
15182         (add_locale_raw_data): Likewise.
15183         (add_locale_raw_obstack): Likewise.
15184         (add_locale_string): Likewise.
15185         (add_locale_wstring): Likewise.
15186         (add_locale_uint32): Likewise.
15187         (add_locale_uint32_array): Likewise.
15188         (add_locale_char): Likewise.
15189         (start_locale_structure): Likewise.
15190         (end_locale_structure): Likewise.
15191         (start_locale_prelude): Likewise.
15192         (end_locale_prelude): Likewise.
15193         (write_locale_data): Take locale_file structure rather than an
15194         iovec.
15195         * locale/programs/locfile.h: Include "obstack.h".
15196         (struct locale_file): Change to store locale file contents instead
15197         of header.
15198         (init_locale_data): New prototype.
15199         (align_locale_data): Likewise.
15200         (add_locale_empty): Likewise.
15201         (add_locale_raw_data): Likewise.
15202         (add_locale_raw_obstack): Likewise.
15203         (add_locale_string): Likewise.
15204         (add_locale_wstring): Likewise.
15205         (add_locale_uint32): Likewise.
15206         (add_locale_uint32_array): Likewise.
15207         (add_locale_char): Likewise.
15208         (start_locale_structure): Likewise.
15209         (end_locale_structure): Likewise.
15210         (start_locale_prelude): Likewise.
15211         (end_locale_prelude): Likewise.
15212         (write_locale_data): Update prototype.
15213         * locale/programs/3level.h (struct TABLE): Remove result field.
15214         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15215         Use new locale_file interface.
15216         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15217         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15218         * locale/programs/ld-address.c (address_output): Use new
15219         locale_file interface.
15220         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15221         NO_ADD_LOCALE.
15222         (collate_finish): Don't call collseq_table_finalize.
15223         (collate_output): Use new locale_file interface.
15224         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15225         in file.
15226         (NO_FINALIZE): Change to NO_ADD_LOCALE.
15227         (TABLE): Move defines earlier in file.
15228         (ELEMENT): Likewise.
15229         (DEFAULT): Likewise.
15230         (wctrans_table_add): Move macro and inline function earlier in
15231         file.
15232         (struct wctype_table): Move type earlier in file.
15233         (add_locale_wctype_table): New static prototype.
15234         (struct locale_ctype_t): Use logical types instead of struct iovec
15235         pointers for members.
15236         (ctype_output): Use new locale_file interface.
15237         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
15238         new locale_file interface.
15239         (allocate_arrays): Update for use of new locale_file interface.
15240         * locale/programs/ld-identification.c (identification_output): Use
15241         new locale_file interface.
15242         * locale/programs/ld-measurement.c (measurement_output): Likewise.
15243         * locale/programs/ld-messages.c (messages_output): Likewise.
15244         * locale/programs/ld-monetary.c (monetary_output): Likewise.
15245         * locale/programs/ld-name.c (name_output): Likewise.
15246         * locale/programs/ld-numeric.c (numeric_output): Likewise.
15247         * locale/programs/ld-paper.c (paper_output): Likewise.
15248         * locale/programs/ld-telephone.c (telephone_output): Likewise.
15249         * locale/programs/ld-time.c (time_output): Likewise.
15250
15251 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15252
15253         * benchtests/Makefile: Add memrchr benchmark.
15254         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15255         benchmark as memrchr.
15256         * benchtests/bench-memrchr-ifunc.c: New file.
15257         * benchtests/bench-memrchr.c: New file.
15258
15259 2013-09-06   Will Newton  <will.newton@linaro.org>
15260
15261         * benchtests/Makefile (string-bench): Add memcpy.
15262
15263 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
15264             Cong Wang  <amwang@redhat.com>
15265
15266         [BZ #15850]
15267         * sysdeps/unix/sysv/linux/bits/in.h
15268         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15269         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15270         before __USE_KERNEL_IPV6_DEFS uses.
15271         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15272         IPPROTO_BEETPH.
15273         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15274         sockaddr_in6, or ipv6_mreq.
15275
15276 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15277
15278         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15279         memory access for final bytes in some large inputs.
15280         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15281
15282 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15283
15284         * string/test-memrchr.c: New file.
15285         * string/test-memrchr-ifunc.c: New file.
15286         * string/Makefile: Add new memrchr testcase.
15287
15288 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
15289
15290         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15291         fanotify_init returns EPERM.
15292
15293 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15294
15295         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15296         errors.
15297         (top level): Treat second token from macro or constant entries for
15298         allowed headers as allowed.
15299         * include/complex.h: Condition internal declarations on
15300         [!_ISOMAC].
15301         * include/fenv.h: Condition include of <stdbool.h> and internal
15302         declarations on [!_ISOMAC].
15303
15304 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
15305
15306         [BZ #15923]
15307         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15308
15309 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15310
15311         * configure.in (--enable-versioning): Remove configure option.
15312         (libc_cv_asm_symver_directive): Remove configure test.
15313         (libc_cv_ld_version_script_option): Likewise.
15314         (VERSIONING): Remove variable and AC_SUBST.
15315         (DO_VERSIONING): Remove AC_DEFINE.
15316         * configure: Regenerated.
15317         * config.h.in (DO_VERSIONING): Remove macro.
15318         * Makerules [$(versioning) = yes]: Change conditionals to
15319         [$(build-shared) = yes].
15320         * config.make.in (versioning): Remove variable.
15321         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15322         [$(build-shared) = yes].
15323         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15324         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15325         * elf/Makefile [$(versioning) = yes]: Change conditionals to
15326         [$(build-shared) = yes].
15327         * extra-lib.mk [$(versioning) = yes]: Likewise.
15328         * hurd/Makefile [$(versioning) = yes]: Likewise.
15329         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15330         [SHARED].
15331         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15332         [SHARED].
15333         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15334         [SHARED && !NO_HIDDEN].
15335         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15336         [SHARED].
15337         [SHARED && DO_VERSIONING]: Likewise..
15338         * libio/Makefile [$(versioning) = yes]: Change conditionals to
15339         [$(build-shared) = yes].
15340         * manual/install.texi (--disable-versioning): Remove
15341         documentation.
15342         * INSTALL: Regenerated.
15343         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15344         to [SHARED].
15345         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15346         [$(build-shared) = yes].
15347         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15348         * sysdeps/i386/i686/multiarch/strstr-c.c
15349         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15350         [SHARED && !NO_HIDDEN].
15351         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15352         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15353         * sysdeps/powerpc/powerpc32/dl-machine.c
15354         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15355         * sysdeps/powerpc/powerpc32/sysdep.h
15356         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15357         to [SHARED && PIC && !NO_HIDDEN].
15358         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15359         conditional to [SHARED].
15360
15361 2013-09-04   Will Newton  <will.newton@linaro.org>
15362
15363         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15364         * benchtests/bench-string.h: Include bench-timing.h instead
15365         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15366         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15367         call to HP_TIMING_DIFF_INIT.
15368         * benchtests/bench-memccpy.c: Use bench-timing.h macros
15369         instead of hp-timing.h macros.
15370         * benchtests/bench-memchr.c: Likewise.
15371         * benchtests/bench-memcmp.c: Likewise.
15372         * benchtests/bench-memcpy.c: Likewise.
15373         * benchtests/bench-memmem.c: Likewise.
15374         * benchtests/bench-memmove.c: Likewise.
15375         * benchtests/bench-memset.c: Likewise.
15376         * benchtests/bench-rawmemchr.c: Likewise.
15377         * benchtests/bench-strcasecmp.c: Likewise.
15378         * benchtests/bench-strcasestr.c: Likewise.
15379         * benchtests/bench-strcat.c: Likewise.
15380         * benchtests/bench-strchr.c: Likewise.
15381         * benchtests/bench-strcmp.c: Likewise.
15382         * benchtests/bench-strcpy.c: Likewise.
15383         * benchtests/bench-strcpy_chk.c: Likewise.
15384         * benchtests/bench-strlen.c: Likewise.
15385         * benchtests/bench-strncasecmp.c: Likewise.
15386         * benchtests/bench-strncat.c: Likewise.
15387         * benchtests/bench-strncmp.c: Likewise.
15388         * benchtests/bench-strncpy.c: Likewise.
15389         * benchtests/bench-strnlen.c: Likewise.
15390         * benchtests/bench-strpbrk.c: Likewise.
15391         * benchtests/bench-strrchr.c: Likewise.
15392         * benchtests/bench-strspn.c: Likewise.
15393         * benchtests/bench-strstr.c: Likewise.
15394
15395 2013-09-04  Will Newton  <will.newton@linaro.org>
15396
15397         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15398
15399 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
15400
15401         [BZ #15427]
15402         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15403         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15404         * math/libm-test.inc (lgamma_test_data): Add more tests.
15405         * sysdeps/i386/fpu/libm-test-ulps: Update.
15406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15407
15408 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
15409
15410         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15411         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15412         Add ifunc.
15413         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15414         Add strcmp-sse2-unaligned
15415         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15416
15417 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15418
15419         * Versions.def (libc): Add GLIBC_2.19.
15420
15421 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15422
15423         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15424         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15425
15426 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
15427
15428         [BZ #14155]
15429         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15430         intermediate calculations in recurrence.
15431         (__ieee754_ynf): Likewise.
15432         * math/libm-test.inc (jn_test_data): Do not allow spurious
15433         underflow exception.  Add more tests.
15434         (yn_test_data): Add more tests.
15435         * sysdeps/i386/fpu/libm-test-ulps: Update.
15436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15437
15438 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
15439
15440         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15441
15442 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15443
15444         * csu/init-first.c: Fix then/than typos.
15445         * locale/programs/ld-collate.c: Likewise.
15446         * locale/programs/linereader.h: Likewise.
15447         * manual/charset.texi: Likewise.
15448         * manual/filesys.texi: Likewise.
15449         * manual/stdio.texi: Likewise.
15450         * manual/string.texi: Likewise.
15451         * stdlib/fmtmsg.c: Likewise.
15452         * sysdeps/i386/stpncpy.S: Likewise.
15453         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15454         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15455         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15456         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15457
15458 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15459
15460         * elf/dl-open.c: Fix typos.
15461         * iconvdata/gbbig5.c: Likewise.
15462         * iconvdata/iso-2022-jp.c: Likewise.
15463         * iconv/gconv_int.h: Likewise.
15464         * iconv/loop.c: Likewise.
15465         * nis/rpcsvc/nis.h: Likewise.
15466         * resolv/ns_name.c: Likewise.
15467         * stdio-common/vfscanf.c: Likewise.
15468         * streams/stropts.h: Likewise.
15469         * sunrpc/rpc_thread.c: Likewise.
15470         * sysdeps/i386/strpbrk.S: Likewise.
15471         * sysdeps/ieee754/k_standard.c: Likewise.
15472         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15473         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15474         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15475         * sysdeps/mach/hurd/profil.c: Likewise.
15476         * sysdeps/s390/dl-procinfo.h: Likewise.
15477         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15478         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15479         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15480         * sysdeps/x86_64/dl-trampoline.S: Likewise.
15481         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15482
15483 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
15484
15485         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15486         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15487
15488 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
15489
15490         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15491         aix specific files.
15492         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15493         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15494         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15495         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15496         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15497         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15498         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15499         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15500
15501 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15502             Roland McGrath  <roland@hack.frob.com>
15503
15504         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15505         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15506
15507 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15508
15509         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15510         __executable_start symbol instead of _start.
15511
15512 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15513
15514         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15515         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15516         Move macros to...
15517         * sysdeps/gnu/ldsodefs.h: ... this new file.
15518
15519         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15520         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15521         instead of ELFOSABI_LINUX.
15522
15523         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15524         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15525         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15526         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15527         Likewise.
15528         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15529         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15530         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15531         Likewise.
15532         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15533         (ibm_extended_long_double): Add ieee_nan member.
15534         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15535         (do_test): New function.
15536
15537         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15538         TEST_TRUNC.
15539         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15540         functions, renamed from truncdfsf_test, trunctfsf_test,
15541         trunctfdf_test.
15542         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15543         functions.
15544         (do_test): Run all these.
15545
15546 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
15547
15548         * argp/argp-help.c: Fix typos.
15549         * argp/argp-parse.c: Likewise.
15550         * debug/backtracesyms.c: Likewise.
15551         * elf/elf.h: Likewise.
15552         * malloc/malloc.c: Likewise.
15553         * nis/nis_print.c: Likewise.
15554         * resolv/res_comp.c: Likewise.
15555         * stdlib/stdlib.h: Likewise.
15556         * sunrpc/clnt_tcp.c: Likewise.
15557         * sunrpc/clnt_udp.c: Likewise.
15558         * sunrpc/clnt_unix.c: Likewise.
15559         * sysdeps/unix/bsd/ptsname.c: Likewise.
15560         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15561         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15563         Likewise.
15564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15565         Likewise.
15566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15567         Likewise.
15568         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15569
15570 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15571
15572         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15573         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15574
15575 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
15576
15577         [BZ #15897]
15578         * dlfcn/Makefile (tests): Add bug-dl-leaf.
15579         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15580         ($(objpfx)bug-dl-leaf): New rule.
15581         ($(objpfx)bug-dl-leaf.so): Likewise.
15582         ($(objpfx)bug-dl-leaf.out): Likewise.
15583         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15584         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15585         * dlfcn/bug-dl-leaf.c: New test.
15586         * dlfcn/bug-dl-leaf-lib.c: Likewise.
15587         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15588         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15589         (dlclose): Likewise.
15590         (dlmopen): Likewise.
15591
15592 2013-08-27  Roland McGrath  <roland@hack.frob.com>
15593
15594         * include/netdb.h [!_ISOMAC]:
15595         Don't include <tls.h>.
15596         (h_errno, __libc_h_errno): Move declaration and macros out of
15597         [_LIBC_REENTRANT].
15598
15599         * include/resolv.h [_RESOLV_H_]:
15600         Don't include <tls.h>.
15601         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15602         * resolv/res_libc.c: Don't include <tls.h>.
15603         (_res): Use __attribute__ ((nocommon)) in place of
15604         __attribute__ ((section (".bss"))).
15605
15606         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15607         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15608
15609         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15610
15611         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15612         only under [SIOCGIFCONF && SIOCGIFNETMASK].
15613
15614         * resolv/res_mkquery.c: Include <sys/time.h>.
15615
15616         * inet/ifreq.c: Moved to ...
15617         * sysdeps/unix/ifreq.c: ... here.
15618         * inet/ifreq.c: New file, true stub version.
15619
15620         * socket/sa_len.c: New file.
15621         * socket/Makefile (aux): Add it.
15622         * sysdeps/unix/sysv/linux/Makefile
15623         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15624         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15625         and #include <socket/sa_len.c>.
15626         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15627         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15628
15629         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15630         * bits/socket.h: ... here.
15631
15632         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15633         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15634         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15635
15636 2013-08-27  Andreas Schwab  <schwab@suse.de>
15637
15638         [BZ #15736]
15639         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15640         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15641         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15642         * string/test-strcasecmp.c (test_main): Run tests in several
15643         locales.
15644         * string/test-strncasecmp.c (test_main): Likewise.
15645
15646         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15647         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15648         to __strcasecmp_nonascii and __strncasecmp_nonascii.
15649         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15650         (__strncasecmp_ssse3) [PIC]: Likewise.
15651
15652 2013-08-26  Roland McGrath  <roland@hack.frob.com>
15653
15654         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15655
15656         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15657         instead of explicitly declaring xdecrypt.
15658         * nis/nss_nis/nis-publickey.c: Likewise.
15659
15660 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15661
15662         [BZ #15890]
15663         * nscd/aicache.c: Include res_hconf.h.
15664         (addhstaiX): Initialize res_hconf.
15665
15666 2013-08-26  Andreas Schwab  <schwab@suse.de>
15667
15668         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15669         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15670
15671 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15672
15673         * nscd/aicache.c (addhstaiX): Fix indentation.
15674
15675 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
15676
15677         * configure.ac: Quote $build_pt_chown test.
15678         * configure: Regenerated.
15679
15680 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
15681
15682         [BZ #15532]
15683         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15684         * math/s_cexpf.c (__cexpf): Likewise.
15685         * math/s_cexpl.c (__cexpl): Likewise.
15686         * math/libm-test.inc (cexp_test_data): Correct expected return
15687         value for NaN + i0.  Add another test.
15688
15689 2013-08-22  David S. Miller  <davem@davemloft.net>
15690
15691         * po/ca.po: Update Catalan translation from translation project.
15692         * po/uk.po: Add Ukrainian translations from translation project.
15693
15694 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
15695
15696         [BZ #15797]
15697         * math/s_fdim.c (__fdim): Check for infinite arguments if result
15698         is infinite, not alongside NaN test.
15699         * math/s_fdimf.c (__fdimf): Likewise.
15700         * math/s_fdiml.c (__fdiml): Likewise.
15701         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
15702         errno is unchanged.
15703
15704 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
15705
15706         * argp/argp-help.c: Fix typos.
15707         * crypt/speeds.c: Likewise.
15708         * csu/check_fds.c: Likewise.
15709         * elf/dl-load.c: Likewise.
15710         * elf/dl-open.c: Likewise.
15711         * elf/reldep3.c: Likewise.
15712         * elf/reldep.c: Likewise.
15713         * elf/sprof.c: Likewise.
15714         * iconv/iconv_charmap.c: Likewise.
15715         * iconv/skeleton.c: Likewise.
15716         * iconv/strtab.c: Likewise.
15717         * io/lockf64.c: Likewise.
15718         * libio/libioP.h: Likewise.
15719         * resolv/gai_notify.c: Likewise.
15720         * resolv/ns_name.c: Likewise.
15721         * resolv/ns_samedomain.c: Likewise.
15722         * resolv/res_send.c: Likewise.
15723         * stdlib/random.c: Likewise.
15724         * sunrpc/rpc/xdr.h: Likewise.
15725         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15726         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15727         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15728         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15729         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15730         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15731         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15732         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15733         * sysdeps/mach/hurd/check_fds.c: Likewise.
15734         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15735         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15736         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15737         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15738         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15739         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15740         * sysdeps/pthread/aio_notify.c: Likewise.
15741         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15742         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15743         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15744         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15745         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15746
15747 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15748
15749         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15750         version if bit_Slow_SSE4_2 is set.
15751         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15752         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15753
15754 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15755
15756         [BZ #15867]
15757         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15758         trampoline stack frame information.
15759         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15760         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15761         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15762         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15763         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15764         * sysdeps/unix/sysv/linux/powerpc/init-first.c
15765         (_libc_vdso_platform_setup): Initialize the signal trampolines.
15766         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15767         sa_flags value.
15768         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15769         interrupting a syscall and set with option SA_SIGINFO.
15770
15771 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
15772
15773         [BZ #15531]
15774         * math/s_cproj.c (__cproj): Only return an infinity if one part of
15775         argument is infinite.
15776         * math/s_cprojf.c (__cprojf): Likewise.
15777         * math/s_cprojl.c (__cprojl): Likewise.
15778         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15779         * math/libm-test.inc (cproj_test_data): Add more tests.
15780
15781         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15782
15783         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15784         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15785         size.  Use __ffs to determine corresponding shift.
15786
15787 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
15788             Roland McGrath  <roland@hack.frob.com>
15789
15790         * Makefile (INSTALL): Remove trailing blank lines from output of
15791         makeinfo.
15792
15793 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15794
15795         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15796         Align 32 bit compat elf_greg to 8 bytes.
15797
15798 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15799
15800         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15801
15802 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15803
15804         * string/strcoll_l.c (coll_seq): New structure.
15805         (get_next_seq_cached): New function.
15806         (get_next_seq): New function.
15807         (do_compare): New function.
15808         (STRCOLL): Use GNU style definition.  Simplify implementation
15809         by using get_next_seq, get_next_seq_cached and do_compare.
15810
15811 2013-08-16  Florian Weimer  <fweimer@redhat.com>
15812
15813         [BZ #14699]
15814         CVE-2013-4237
15815         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15816         member.
15817         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15818         member.
15819         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15820         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15821         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
15822         conditional.
15823         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15824         GETDENTS_64BIT_ALIGNED.
15825         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15826         * manual/filesys.texi (Reading/Closing Directory): Document
15827         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
15828         strongly.
15829         * manual/conf.texi (Limits for Files): Add portability note to
15830         NAME_MAX, PATH_MAX.
15831         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15832
15833 2013-08-13  Andreas Schwab  <schwab@suse.de>
15834
15835         [BZ #15749]
15836         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15837         of fabs.
15838         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15839         LDBL_MAX_EXP >= 16384]: Add tests for it.
15840
15841 2013-08-12  David S. Miller  <davem@davemloft.net>
15842
15843         * version.h (RELEASE): Set to "development".
15844         (VERSION): Set to "2.18.90".
15845         * NEWS: Add 2.19 section.
15846
15847 2013-08-03  David S. Miller  <davem@davemloft.net>
15848
15849         * po/ko.po: Update Korean translation from translation project.
15850
15851 2013-08-01  David S. Miller  <davem@davemloft.net>
15852
15853         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
15854         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15855         Bilka.
15856
15857 2013-07-30  David S. Miller  <davem@davemloft.net>
15858
15859         * po/fr.po: Update French translation from translation project.
15860
15861 2013-07-28  David S. Miller  <davem@davemloft.net>
15862
15863         * po/cs.po: Update Czech translation from translation project.
15864
15865         * po/sv.po: Update Swedish translation from translation project.
15866
15867 2013-07-27  David S. Miller  <davem@davemloft.net>
15868
15869         * po/eo.po: Update Esperanto translation from translation project.
15870
15871         * po/vi.po: Update Vietnamese translation from translation project.
15872
15873         * po/de.po: Update German translation from translation project.
15874
15875 2013-07-26  David S. Miller  <davem@davemloft.net>
15876
15877         * po/bg.po: Update Bulgarian translation from translation project.
15878
15879         * po/nl.po: Update Dutch translation from translation project.
15880         * po/pl.po: Update Polish translation from translation project.
15881         * po/ru.po: Update Russian translation from translation project.
15882
15883 2013-07-24  David S. Miller  <davem@davemloft.net>
15884
15885         * po/libc.pot: Update.
15886
15887 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15888
15889         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15890         variable page size.
15891         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15892         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15893         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15894
15895 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15896
15897         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15898
15899 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15900             Andreas Schwab  <schwab@suse.de>
15901             Roland McGrath  <roland@hack.frob.com>
15902             Joseph Myers  <joseph@codesourcery.com>
15903             Carlos O'Donell  <carlos@redhat.com>
15904
15905         [BZ #15755]
15906         * config.h.in: Define HAVE_PT_CHOWN.
15907         * config.make.in (build-pt-chown): New variable.
15908         * configure.in (--enable-pt_chown): New configure option.
15909         * configure: Regenerate.
15910         * login/Makefile: Include Makeconfig.  Build pt_chown only if
15911         build-pt-chown is enabled.
15912         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15913         pt_chown to fix pty ownership.
15914         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15915         CLOSE_ALL_FDS.
15916         * manual/install.texi (Configuring and compiling): Mention
15917         --enable-pt_chown. Add @findex for grantpt.
15918         * INSTALL: Regenerate.
15919
15920 2013-07-20  David S. Miller  <davem@davemloft.net>
15921
15922         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15923         difference between 32-bit and 64-bit.
15924
15925 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
15926
15927         [BZ #15711]
15928         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15929         Avoid system header dependency with -ffreestanding.
15930         ($(objpfx)bits/syscall%d): Likewise.
15931
15932 2013-07-13  David S. Miller  <davem@davemloft.net>
15933
15934         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15935         underflows from atanl/atan2l due to bug 15319.
15936         (casinh_test_data): Likewise.
15937
15938 2013-07-07  David S. Miller  <davem@davemloft.net>
15939
15940         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15941
15942 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
15943
15944         * sysdeps/i386/fpu/libm-test-ulps: Update.
15945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15946
15947 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15948
15949         * configure.in (--enable-lock-elision): Fix message text.
15950         * INSTALL: Regenerate.
15951         * configure: Regenerate.
15952
15953 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15954
15955         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15956
15957 2013-07-03  Andreas Jaeger  <aj@suse.de>
15958
15959         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15960         define.
15961         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15962         (ptrace_peeksiginfo_args): Add.
15963         (__ptrace_peeksiginfo_flags): Add.
15964         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15965         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15966         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15967
15968 2013-07-03  Allan McRae  <allan@archlinux.org>
15969
15970         * sysdeps/i386/fpu/libm-test-ulps: Update.
15971
15972 2013-07-02  David S. Miller  <davem@davemloft.net>
15973
15974         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15975
15976 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
15977
15978         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15979
15980 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
15981
15982         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15984
15985 2013-07-02  Andi Kleen <ak@linux.intel.com>
15986
15987         * config.h.in (ENABLE_LOCK_ELISION): Add.
15988         * configure.in (--enable-lock-elision): Add option.
15989         * manual/install.texi: Document --enable lock elision.
15990         * configure: Regenerate
15991         * INSTALL: Regenerate.
15992
15993 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
15994
15995         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15996         SSE4.2 strcasecmp for libc.a.
15997         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15998
15999 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16000
16001         [BZ #13304]
16002         * soft-fp/op-common.h (_FP_FMA): New macro.
16003         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16004         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
16005         (_FP_MUL_MEAT_1_imm): ... here.
16006         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
16007         (_FP_MUL_MEAT_1_wide): ... here.
16008         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
16009         (_FP_MUL_MEAT_1_hard): ... here.
16010         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16011         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
16012         (_FP_MUL_MEAT_2_wide): ... here.
16013         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
16014         (_FP_MUL_MEAT_2_wide_3mul): ... here.
16015         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
16016         (_FP_MUL_MEAT_2_gmp): ... here.
16017         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16018         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
16019         (_FP_MUL_MEAT_4_wide): ... here.
16020         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
16021         (_FP_MUL_MEAT_4_gmp): ... here.
16022         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16023         (_FP_WFRACBITS_DW_S): Likewise.
16024         (_FP_WFRACXBITS_DW_S): Likewise.
16025         (_FP_HIGHBIT_DW_S): Likewise.
16026         (FP_FMA_S): Likewise.
16027         (_FP_FRAC_HIGH_DW_S): Likewise.
16028         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16029         (_FP_WFRACBITS_DW_D): Likewise.
16030         (_FP_WFRACXBITS_DW_D): Likewise.
16031         (_FP_HIGHBIT_DW_D): Likewise.
16032         (FP_FMA_D): Likewise.
16033         (_FP_FRAC_HIGH_DW_D): Likewise.
16034         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16035         (_FP_WFRACBITS_DW_E): Likewise.
16036         (_FP_WFRACXBITS_DW_E): Likewise.
16037         (_FP_HIGHBIT_DW_E): Likewise.
16038         (FP_FMA_E): Likewise.
16039         (_FP_FRAC_HIGH_DW_E): Likewise.
16040         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16041         (_FP_WFRACBITS_DW_Q): Likewise.
16042         (_FP_WFRACXBITS_DW_Q): Likewise.
16043         (_FP_HIGHBIT_DW_Q): Likewise.
16044         (FP_FMA_Q): Likewise.
16045         (_FP_FRAC_HIGH_DW_Q): Likewise.
16046         * soft-fp/fmasf4.c: New file.
16047         * soft-fp/fmadf4.c: Likewise.
16048         * soft-fp/fmatf4.c: Likewise.
16049
16050 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16051
16052         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16053         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16054         Silvermont.
16055         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16056         macro.
16057         (index_Slow_SSE4_2): Likewise.
16058         (index_Prefer_PMINUB_for_stringop): Likewise.
16059         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16060         bit_Slow_SSE4_2 is set.
16061         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16062         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16063
16064 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16065
16066         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16067         rtld_global._dl_hwcap2.
16068         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16069         POWER8.
16070         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16071         POWER8 feature descriptions defined in _dl_hwcap2.
16072         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16073         string handling for POWER8 feature bits.
16074         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16075         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16076         _dl_powerpc_cap_flags.
16077         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16078         * sysdeps/powerpc/rtld-global-offsets.sym
16079         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16080         _dl_hwcap2 in the rtld_global_ro structure.
16081
16082 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16083
16084         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16085         hardware capabilities in support of AT_HWCAP2.
16086         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16087         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16088         GLRO(dl_hwcap2).
16089         (_dl_show_auxv): Add support for calling _dl_procinfo to display
16090         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
16091         explicitly the unknown a_type display mechanism is used.
16092         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16093         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16094         struct member.
16095         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16096         to macro prototype for AT_HWCAP2 support.
16097         * sysdeps/i386/dl-procinfo.h: Likewise.
16098         * sysdeps/s390/dl-procinfo.h: Likewise.
16099         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16100         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
16101         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
16102         return -1 for unknown a_type display fallback.
16103         * sysdeps/sparc/dl-procinfo.h: Likewise.
16104         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16105         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16106
16107 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
16108
16109         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16110         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16111
16112 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
16113
16114         [BZ #12492]
16115         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16116         mprotect making __stack_prot writable.
16117
16118 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
16119             Joseph Myers  <joseph@codesourcery.com>
16120
16121         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16122         as being properly aligned.
16123
16124 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
16125
16126         * dlfcn/modstatic5.c: New file.
16127         * dlfcn/tststatic5.c: New file.
16128         * dlfcn/Makefile (tests): Add tststatic5.
16129         (tests-static): Likewise.
16130         (modules-names): Add modstatic5.
16131         (tststatic5-ENV): New variable.
16132         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16133
16134         [BZ #15022]
16135         * elf/dl-support.c (_dl_main_map): New variable.
16136         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16137         (_dl_nns, _dl_load_adds): Set to 1.
16138         (_dl_initial_searchlist): Refer to _dl_main_map.
16139         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16140         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16141         call to _dl_get_origin.
16142         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16143         around call_map.
16144         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16145         * dlfcn/modstatic3.c: New file.
16146         * dlfcn/tststatic3.c: New file.
16147         * dlfcn/tststatic4.c: New file.
16148         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16149         (tests-static): Likewise.
16150         (modules-names): Add modstatic3.
16151         (tststatic3-ENV, tststatic4-ENV): New variables.
16152         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16153         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16154
16155 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
16156
16157         * configure.in (CC): Require GCC version 4.4 or later.
16158         * configure: Regenerated.
16159         * manual/install.texi (Tools for Compilation): Update GCC version
16160         requirement.
16161         * INSTALL: Regenerated.
16162
16163 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16164
16165         [BZ #15674]
16166         * string/test-memcmp.c (check2): New.
16167         (main): Call check2.
16168
16169         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16170
16171 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
16172
16173         [BZ #15022]
16174         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16175         over to...
16176         (dl_open_worker) [!SHARED]: ... here.
16177
16178 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16179
16180         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16181
16182 2013-06-25  Richard Henderson  <rth@redhat.com>
16183
16184         * locale/programs/locarchive.c: Include <libc-internal.h>
16185
16186 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
16187
16188         * manual/texinfo.tex: Update to version 2013-06-21.17, with
16189         trailing whitespace removed.
16190
16191 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16192
16193         [BZ #10283]
16194         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16195         * locale/programs/locarchive.c: Include libc-mmap.h.
16196         (prepare_address_space): Take two new outputs (the mmap base and len).
16197         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
16198         values.
16199         (create_archive): Declare new mmap base and len values for
16200         prepare_address_space, and store the result in ah.
16201         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16202         (enlarge_archive): If ah->mmap_base is not NULL, use that and
16203         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16204         Declare new mmap base and len values for
16205         prepare_address_space, and store the result in new_ah.
16206         (open_archive): Declare new mmap base and len values for
16207         prepare_address_space, and store the result in ah.
16208         (close_archive): If ah->mmap_base is not NULL, use that and
16209         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16210         * sysdeps/generic/libc-mmap.h: New file.
16211
16212 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16213
16214         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16215         (ALIGN_UP): Likewise.
16216         (PTR_ALIGN_DOWN): Likewise.
16217         (PTR_ALIGN_UP): Likewise.
16218
16219 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16220
16221         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16222         entry mapped to PPC_PLATFORM_POWER8.
16223         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16224         POWER8.
16225         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16226         (_dl_string_platform): Add case for exporting platform position for
16227         POWER8.
16228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16229         search path to sysdeps/powerpc/powerpc32/power8 directory.
16230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16231         search path to sysdeps/powerpc/powerpc64/power8 directory.
16232         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16233         power7 directories.
16234         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16235         power7 directories.
16236
16237 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16238
16239         * INSTALL: Regenerate.
16240
16241         * nscd/connections.c (nscd_init): Fix comment.
16242
16243 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
16244
16245         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16246
16247         [BZ #15667]
16248         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16249         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16250
16251 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16252
16253         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16254         DL_DST_REQ_STATIC.
16255         (DL_DST_REQ_STATIC): Remove macro.
16256
16257 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
16258
16259         [BZ #7006]
16260         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16261         with a shift of 0 bits.
16262
16263 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16264
16265         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16266         $(tststatic-ENV).
16267
16268 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16269
16270         [BZ #15655]
16271         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16272
16273 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16274
16275         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16276         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16277         accepts -fno-tree-loop-distribute-patterns.
16278         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16279         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16280         recursive call.
16281         * string/memset.c (memset): Likewise.
16282         * string/test-memmove.c (simple_memmove): Disable loop transformation
16283         to library calls.
16284         * string/test-memset.c (simple_memset): Likewise.
16285         * benchtests/bench-memmove.c (simple_memmove): Likewise.
16286         * benchtests/bench-memset.c (simple_memset): Likewise.
16287         * configure: Regenerated.
16288
16289 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
16290
16291         * math/test-misc.c (main): Ignore fesetround failure when failures
16292         of subsequent rounding tests would be ignored.
16293
16294         [BZ #15654]
16295         * math/fedisblxcpt.c (fedisableexcept): Return 0.
16296         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16297         * math/fegetenv.c (__fegetenv): Return 0.
16298         * math/fegetexcept.c (fegetexcept): Return 0.
16299         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16300         FE_TONEAREST.
16301         * math/feholdexcpt.c (feholdexcept): Return 0.
16302         * math/fesetenv.c (__fesetenv): Return 0.
16303         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16304         argument FE_TONEAREST.
16305         * math/feupdateenv.c (__feupdateenv): Return 0.
16306         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16307
16308 2013-06-18  Roland McGrath  <roland@hack.frob.com>
16309
16310         * elf/rtld-Rules (rtld-compile-command.S): New variable.
16311         (rtld-compile-command.s, rtld-compile-command.c): New variables.
16312         ($(objpfx)rtld-%.os rules): Use them.
16313
16314 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16315
16316         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16317         fields.
16318
16319 2013-06-17  Roland McGrath  <roland@hack.frob.com>
16320
16321         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16322         length of target pattern, then descending length of dependency pattern.
16323         * configure.in (AWK): Require gawk 3.1.2 or newer.
16324         * manual/install.texi (Tools for Compilation): Say that we do.
16325         * configure: Regenerated.
16326
16327         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16328         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16329         * scripts/sysd-rules.awk: ... this new script.
16330         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16331         than a glob-style pattern.
16332
16333 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
16334
16335         * math/test-misc.c (main): Do not treat incorrectly rounded
16336         conversions as failure unless ROUNDING_TESTS passes.
16337
16338 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
16339
16340         [BZ #15631]
16341         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16342         restore exception state around main square root computation, then
16343         check for inexactness explicitly.
16344
16345         * math/libm-test.inc (fma_test_data): Add another test.
16346
16347 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16348
16349         * manual/threads.texi (Non-POSIX Extensions): New document
16350         node.  Document pthread_getattr_default_np and
16351         pthread_setattr_default_np.
16352
16353         * Versions.def (libpthread): Add GLIBC_2.18.
16354         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16356         Likewise.
16357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16358         Likewise.
16359         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16360         Likewise.
16361         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16362         Likewise.
16363         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16364         Likewise.
16365         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16366         Likewise.
16367         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16368         Likewise.
16369         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16370         Likewise.
16371         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16372         Likewise.
16373
16374 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16375
16376         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16377         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16378
16379 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16380             H.J. Lu  <hjl.tools@gmail.com>
16381
16382         [BZ #15627]
16383         * sysdeps/x86_64/rtld-memset.c: Remove file.
16384         * sysdeps/x86_64/rtld-memset.S: New file.
16385
16386 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
16387
16388         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16389         (test_in_one_mode): Take arguments for whether the rounding mode
16390         is supported for each floating-point type.
16391         (do_test): Pass new arguments to test_in_one_mode using
16392         ROUNDING_TESTS.
16393
16394 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16395
16396         * posix/tst-waitid.c (do_test): Distinguish different instances of
16397         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
16398         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16399         before entering the kernel for waitpid.
16400
16401 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16402
16403         * NEWS: Fix note on clock function precision.  Text by Roland
16404         McGrath.
16405
16406 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16407
16408         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16409         it into place only when and if the sanity check passes.
16410
16411 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
16412
16413         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16414         output for whether conversion result is exact.  Take argument
16415         indicating whether type is IBM long double.
16416         (round_for_all): Change need_exact field to ibm_ld.
16417         * stdlib/tst-strtod-round.c (struct exactness): New type.
16418         (struct test): Change bool ld_ok field to struct exactness exact.
16419         (TEST): Update all definitions for change to field.
16420         (tests): Regenerate array contents.
16421         (test_in_one_mode): Take pointer to new field instead of old ld_ok
16422         field value.  Check for IBM long double here.
16423         (do_test): Update calls to test_in_one_mode.
16424
16425 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16426
16427         [BZ #12515]
16428         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16429         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16430
16431 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16432
16433         [BZ #15605]
16434         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16435         generated by the compiler on loop optimizations.
16436         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16437         general definitions.
16438
16439 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
16440
16441         * math/bug-nextafter.c: Include <math-tests.h>.
16442         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16443         the relevant type.
16444         * math/bug-nexttoward.c: Include <math-tests.h>.
16445         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16446         the relevant type.
16447         * math/test-misc.c: Include <math-tests.h>.
16448         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16449         the relevant type.
16450
16451 2013-06-12  Andreas Jaeger  <aj@suse.de>
16452
16453         * po/ia.po: Update Interlingua translation from translation
16454         project.
16455
16456 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16457
16458         * include/fenv.h: Include stdbool.h.
16459         (struct rm_ctx): New structure.
16460         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16461         Define macro.
16462         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16463         (SET_RESTORE_ROUNDF): Likewise.
16464         (SET_RESTORE_ROUNDL): Likewise.
16465         (SET_RESTORE_ROUND_NOEX): Likewise.
16466         (SET_RESTORE_ROUND_NOEXF): Likewise.
16467         (SET_RESTORE_ROUND_NOEXL): Likewise.
16468         (SET_RESTORE_ROUND_53BIT): Likewise.
16469         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16470         (libc_feresetround_noexf_ctx): Likewise.
16471         (libc_feresetround_noexl_ctx): Likewise.
16472         (libc_feholdsetround_53bit_ctx): Likewise.
16473         (libc_feresetround_53bit_ctx): Likewise.
16474         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16475         (libc_feholdexcept_setround_sse_ctx): New function.
16476         (libc_fesetenv_sse_ctx): Likewise.
16477         (libc_feupdateenv_sse_ctx): Likewise.
16478         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16479         (libc_feholdexcept_setround_387_ctx): Likewise.
16480         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16481         (libc_feholdsetround_387_prec_ctx): Likewise.
16482         (libc_feholdsetround_387_ctx): Likewise.
16483         (libc_feholdsetround_387_53bit_ctx): Likewise.
16484         (libc_feholdsetround_sse_ctx): Likewise.
16485         (libc_feresetround_sse_ctx): Likewise.
16486         (libc_feresetround_387_ctx): Likewise.
16487         (libc_feupdateenv_387_ctx): Likewise.
16488         (libc_feholdexcept_setroundf_ctx): Define macro.
16489         (libc_fesetenvf_ctx): Likewise.
16490         (libc_feupdateenvf_ctx): Likewise.
16491         (libc_feholdsetroundf_ctx): Likewise.
16492         (libc_feresetroundf_ctx): Likewise.
16493         (libc_feholdexcept_setround_ctx): Likewise.
16494         (libc_fesetenv_ctx): Likewise.
16495         (libc_feupdateenv_ctx): Likewise.
16496         (libc_feholdsetround_ctx): Likewise.
16497         (libc_feresetround_ctx): Likewise.
16498         (libc_feholdexcept_setroundl_ctx): Likewise.
16499         (libc_feupdateenvl_ctx): Likewise.
16500         (libc_feholdsetroundl_ctx): Likewise.
16501         (libc_feresetroundl_ctx): Likewise.
16502         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16503         (libc_feresetround_53bit_ctx): Likewise.
16504
16505 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16506
16507         * locale/iso-639.def: Convert to UTF-8.
16508
16509 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
16510
16511         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16512         (EXCEPTION_TESTS_double): Likewise.
16513         (EXCEPTION_TESTS_long_double): Likewise.
16514         (EXCEPTION_TESTS): Likewise.
16515         * math/libm-test.inc (test_exceptions): Only test exceptions if
16516         EXCEPTION_TESTS (FLOAT).
16517
16518 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16519
16520         * benchtests/Makefile (string-bench): Add strcpy_chk and
16521         stpcpy_chk.
16522         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16523         * benchtests/bench-stpcpy_chk.c: New file.
16524         * benchtests/bench-strcpy_chk-ifunc.c: New file.
16525         * benchtests/bench-strcpy_chk.c: New file.
16526         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16527         code.
16528         (do_test): Likewise.
16529
16530 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16531
16532         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16533         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16534         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16535         with tabs where appropriate.
16536         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16537         dl-procinfo.h.
16538         [PPC_PLATFORM_PPC440]: Likewise.
16539         [PPC_PLATFORM_PPC464]: Likewise.
16540         [PPC_PLATFORM_PPC476]: Likewise.
16541         (_dl_string_platform): Add support for detecting ppc405, ppc440,
16542         ppc464, and ppc476 platform strings merging from ports/
16543         dl-procinfo.h.
16544
16545 2013-06-11  Andreas Schwab  <schwab@suse.de>
16546
16547         [BZ #14991]
16548         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16549         (from_ucs4_idx): Regenerate.
16550         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16551         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16552         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16553         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16554         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16555         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16556         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16557         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16558         from FROM_LOOP and TO_LOOP specific macros.
16559         (BODY): Handle combining characters.
16560         * iconvdata/BIG5HKSCS.irreversible: Update.
16561         * iconvdata/BIG5HKSCS.precomposed: New file.
16562         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16563         characters.
16564         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16565
16566 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16567
16568         * include/sys/time.h: Fix indentation and add copyright header.
16569
16570         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16571         (do_test): Likewise.
16572         * string/test-memchr.c (do_one_test): Likewise.
16573         (do_test): Likewise.
16574         * string/test-memcmp.c (do_one_test): Likewise.
16575         (do_test): Likewise.
16576         * string/test-memcpy.c (do_one_test): Likewise.
16577         (do_test): Likewise.
16578         * string/test-memmem.c (do_one_test): Likewise.
16579         (do_test): Likewise.
16580         (do_random_tests): Likewise.
16581         * string/test-memmove.c (do_one_test): Likewise.
16582         (do_test): Likewise.
16583         * string/test-memset.c (do_one_test): Likewise.
16584         (do_test): Likewise.
16585         * string/test-rawmemchr.c (do_one_test): Likewise.
16586         (do_test): Likewise.
16587         * string/test-strcasecmp.c (do_one_test): Likewise.
16588         (do_test): Likewise.
16589         * string/test-strcasestr.c (do_one_test): Likewise.
16590         (do_test): Likewise.
16591         * string/test-strcat.c (do_one_test): Likewise.
16592         (do_test): Likewise.
16593         * string/test-strchr.c (do_one_test): Likewise.
16594         (do_test): Likewise.
16595         * string/test-strcmp.c (do_one_test): Likewise.
16596         (do_test): Likewise.
16597         * string/test-strcpy.c (do_one_test): Likewise.
16598         (do_test): Likewise.
16599         * string/test-string.h: Likewise.
16600         (test_init): Likewise.
16601         * string/test-strlen.c (do_one_test): Likewise.
16602         (do_test): Likewise.
16603         * string/test-strncasecmp.c (do_one_test): Likewise.
16604         (do_test): Likewise.
16605         * string/test-strncat.c (do_one_test): Likewise.
16606         (do_test): Likewise.
16607         * string/test-strncmp.c (do_one_test): Likewise.
16608         (do_test_limit): Likewise.
16609         (do_test): Likewise.
16610         * string/test-strncpy.c (do_one_test): Likewise.
16611         (do_test): Likewise.
16612         * string/test-strnlen.c (do_one_test): Likewise.
16613         (do_test): Likewise.
16614         * string/test-strpbrk.c (do_one_test): Likewise.
16615         (do_test): Likewise.
16616         * string/test-strrchr.c (do_one_test): Likewise.
16617         (do_test): Likewise.
16618         * string/test-strspn.c (do_one_test): Likewise.
16619         (do_test): Likewise.
16620         * string/test-strstr.c (do_one_test): Likewise.
16621         (do_test): Likewise.
16622
16623         * benchtests/Makefile (string-bench): Add string benchmarks.
16624         * benchtests/bench-bcopy-ifunc.c: New file.
16625         * benchtests/bench-bcopy.c: New file.
16626         * benchtests/bench-bzero-ifunc.c: New file.
16627         * benchtests/bench-bzero.c: New file.
16628         * benchtests/bench-memccpy-ifunc.c: New file.
16629         * benchtests/bench-memccpy.c: New file.
16630         * benchtests/bench-memchr-ifunc.c: New file.
16631         * benchtests/bench-memchr.c: New file.
16632         * benchtests/bench-memcmp-ifunc.c: New file.
16633         * benchtests/bench-memcmp.c: New file.
16634         * benchtests/bench-memmem-ifunc.c: New file.
16635         * benchtests/bench-memmem.c: New file.
16636         * benchtests/bench-memmove-ifunc.c: New file.
16637         * benchtests/bench-memmove.c: New file.
16638         * benchtests/bench-mempcpy-ifunc.c: New file.
16639         * benchtests/bench-mempcpy.c: New file.
16640         * benchtests/bench-memset-ifunc.c: New file.
16641         * benchtests/bench-memset.c: New file.
16642         * benchtests/bench-rawmemchr-ifunc.c: New file.
16643         * benchtests/bench-rawmemchr.c: New file.
16644         * benchtests/bench-stpcpy-ifunc.c: New file.
16645         * benchtests/bench-stpcpy.c: New file.
16646         * benchtests/bench-stpncpy-ifunc.c: New file.
16647         * benchtests/bench-stpncpy.c: New file.
16648         * benchtests/bench-strcasecmp-ifunc.c: New file.
16649         * benchtests/bench-strcasecmp.c: New file.
16650         * benchtests/bench-strcasestr-ifunc.c: New file.
16651         * benchtests/bench-strcasestr.c: New file.
16652         * benchtests/bench-strcat-ifunc.c: New file.
16653         * benchtests/bench-strcat.c: New file.
16654         * benchtests/bench-strchr-ifunc.c: New file.
16655         * benchtests/bench-strchr.c: New file.
16656         * benchtests/bench-strchrnul-ifunc.c: New file.
16657         * benchtests/bench-strchrnul.c: New file.
16658         * benchtests/bench-strcmp-ifunc.c: New file.
16659         * benchtests/bench-strcmp.c: New file.
16660         * benchtests/bench-strcpy-ifunc.c: New file.
16661         * benchtests/bench-strcpy.c: New file.
16662         * benchtests/bench-strcspn-ifunc.c: New file.
16663         * benchtests/bench-strcspn.c: New file.
16664         * benchtests/bench-strlen-ifunc.c: New file.
16665         * benchtests/bench-strlen.c: New file.
16666         * benchtests/bench-strncasecmp-ifunc.c: New file.
16667         * benchtests/bench-strncasecmp.c: New file.
16668         * benchtests/bench-strncat-ifunc.c: New file.
16669         * benchtests/bench-strncat.c: New file.
16670         * benchtests/bench-strncmp-ifunc.c: New file.
16671         * benchtests/bench-strncmp.c: New file.
16672         * benchtests/bench-strncpy-ifunc.c: New file.
16673         * benchtests/bench-strncpy.c: New file.
16674         * benchtests/bench-strnlen-ifunc.c: New file.
16675         * benchtests/bench-strnlen.c: New file.
16676         * benchtests/bench-strpbrk-ifunc.c: New file.
16677         * benchtests/bench-strpbrk.c: New file.
16678         * benchtests/bench-strrchr-ifunc.c: New file.
16679         * benchtests/bench-strrchr.c: New file.
16680         * benchtests/bench-strspn-ifunc.c: New file.
16681         * benchtests/bench-strspn.c: New file.
16682         * benchtests/bench-strstr-ifunc.c: New file.
16683         * benchtests/bench-strstr.c: New file.
16684
16685         * benchtests/Makefile: Disable parallel execution of targets.
16686         (string-bench): Add memcpy.
16687         (benchset): New variable to store a list of benchmark sets.
16688         (bench-func): Renamed from bench.
16689         (bench-set): New target.
16690         (bench): Depend on bench-func and bench-set.
16691         * benchtests/README: Add section on benchmark sets.
16692         * benchtests/bench-memcpy-ifunc.c: New file.
16693         * benchtests/bench-memcpy.c: New file.
16694         * benchtests/bench-string.h: New file.
16695
16696 2013-06-11  Andreas Schwab  <schwab@suse.de>
16697
16698         [BZ #15577]
16699         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16700         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16701         values in the triple.
16702         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16703         terminator in the group key.
16704
16705 2013-06-11  Andreas Jaeger  <aj@suse.de>
16706
16707         * po/zh_TW.po: Update Chinese (traditional) translation from
16708         translation project.
16709
16710 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16711
16712         * include/time.h (__clock_gettime): Add libc_hidden_proto.
16713         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16714         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
16715         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16716         (clock_getcpuclockid): Likewise.
16717         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16718         Add weak_alias and libc_hidden_def.
16719         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16720         * rt/clock_gettime.c (clock_gettime): Rename to
16721         __clock_gettime.  Add weak_alias and libc_hidden_def.
16722         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16723         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16724         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
16725         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16726         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16727         Likewise.
16728         * rt/clock_settime.c (clock_settime): Rename to
16729         __clock_settime.  Add weak_alias and libc_hidden_def.
16730         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16731
16732 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
16733
16734         * mach/err_boot.sub: Remove trailing whitespace.
16735         * mach/err_ipc.sub: Likewise.
16736         * mach/err_mach.sub: Likewise.
16737
16738         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16739         (ROUNDING_TESTS_double): Likewise.
16740         (ROUNDING_TESTS_long_double): Likewise.
16741         (ROUNDING_TESTS): Likewise.
16742         * math/libm-test.inc: Include <math-tests.h>.
16743         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16744         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16745         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16746         (IF_ROUND_INIT_FE_UPWARD): Likewise.
16747
16748 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16749
16750         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16751         of assigning.
16752
16753 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
16754
16755         * sysdeps/gnu/errlist.awk: Do not generate space at end of
16756         otherwise empty TRANS lines.
16757         * sysdeps/gnu/errlist.c: Regenerated.
16758
16759         * catgets/gencat.c (error_print): Use (void) in function
16760         definition.
16761         * crypt/crypt_util.c (__init_des): Likewise.
16762         * crypt/speeds.c (Stop): Likewise.
16763         (main): Likewise.
16764         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16765         * inet/ruserpass.c (token): Likewise.
16766         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16767         * intl/localealias.c (extend_alias_table): Likewise.
16768         * intl/plural-exp.c (init_germanic_plural): Likewise.
16769         * libio/fcloseall.c (__fcloseall): Likewise.
16770         * libio/genops.c (_IO_flush_all): Likewise.
16771         (_IO_flush_all_linebuffered): Likewise.
16772         (_IO_cleanup): Likewise.
16773         (_IO_iter_begin): Likewise.
16774         (_IO_iter_end): Likewise.
16775         (_IO_list_lock): Likewise.
16776         (_IO_list_unlock): Likewise.
16777         (_IO_list_resetlock): Likewise.
16778         * libio/getchar.c (getchar): Likewise.
16779         * libio/getchar_u.c (getchar_unlocked): Likewise.
16780         * libio/getwchar.c (getwchar): Likewise.
16781         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16782         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16783         * login/getpt.c (__getpt): Likewise.
16784         * login/tst-utmp.c (main): Likewise.
16785         * malloc/hooks.c (__malloc_check_init): Likewise.
16786         * malloc/malloc.c (__malloc_stats): Likewise.
16787         * malloc/mtrace.c (tr_break): Likewise.
16788         (mtrace): Likewise.
16789         (muntrace): Likewise.
16790         * misc/fstab.c (endfsent): Likewise.
16791         * misc/getclktck.c (__getclktck): Likewise.
16792         * misc/getdtsz.c (__getdtablesize): Likewise.
16793         * misc/gethostid.c (gethostid): Likewise.
16794         * misc/getpagesize.c (__getpagesize): Likewise.
16795         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16796         (__get_nprocs): Likewise.
16797         (__get_phys_pages): Likewise.
16798         (__get_avphys_pages): Likewise.
16799         * misc/getttyent.c (getttyent): Likewise.
16800         (setttyent): Likewise.
16801         (endttyent): Likewise.
16802         * misc/getusershell.c (getusershell): Likewise.
16803         (endusershell): Likewise.
16804         (setusershell): Likewise.
16805         (initshells): Likewise.
16806         * misc/hsearch.c (__hdestroy): Likewise.
16807         * misc/sync.c (sync): Likewise.
16808         * misc/syslog.c (closelog_internal): Likewise.
16809         (closelog): Likewise.
16810         * misc/ttyslot.c (ttyslot): Likewise.
16811         * misc/vhangup.c (vhangup): Likewise.
16812         * posix/fork.c (__fork): Likewise.
16813         * posix/getegid.c (__getegid): Likewise.
16814         * posix/geteuid.c (__geteuid): Likewise.
16815         * posix/getgid.c (__getgid): Likewise.
16816         * posix/getpid.c (__getpid): Likewise.
16817         * posix/getppid.c (__getppid): Likewise.
16818         * posix/getuid.c (__getuid): Likewise.
16819         * posix/pause.c (pause): Likewise.
16820         * posix/setpgrp.c (setpgrp): Likewise.
16821         * posix/setsid.c (__setsid): Likewise.
16822         * posix/test-vfork.c (noop): Likewise.
16823         * resolv/gethnamaddr.c (_endhtent): Likewise.
16824         (_gethtent): Likewise.
16825         (ht_endhostent): Likewise.
16826         (gethostent): Likewise.
16827         (dns_service): Likewise.
16828         * stdlib/drand48.c (drand48): Likewise.
16829         * stdlib/lrand48.c (lrand48): Likewise.
16830         * stdlib/mrand48.c (mrand48): Likewise.
16831         * stdlib/rand.c (rand): Likewise.
16832         * stdlib/random.c (__random): Likewise.
16833         * stdlib/setenv.c (clearenv): Likewise.
16834         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16835         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16836         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16837         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16838         (__get_nprocs): Likewise.
16839         (__get_phys_pages): Likewise.
16840         (__get_avphys_pages): Likewise.
16841         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16842         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16843         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16844         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16845         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16846         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16847         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16848         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16849         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16850         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16851         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16852         * sysdeps/mach/hurd/sync.c (sync): Likewise.
16853         * sysdeps/posix/clock.c (clock): Likewise.
16854         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16855         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16856         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16857         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16858         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16859         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16860         (__get_nprocs_conf): Likewise.
16861         (__get_phys_pages): Likewise.
16862         (__get_avphys_pages): Likewise.
16863         * time/clock.c (clock): Likewise.
16864         * time/tzset.c (__tzname_max): Likewise.
16865
16866 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
16867
16868         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16869         (__bswap_32): Do not use "register".
16870         * crypt/crypt.c (_ufc_doit_r): Likewise.
16871         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16872         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16873         * gmon/gmon.c (__monstartup): Likewise.
16874         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16875         * hurd/hurdmalloc.c (more_memory): Likewise.
16876         (malloc): Likewise.
16877         (free): Likewise.
16878         (realloc): Likewise.
16879         (malloc_fork_prepare): Likewise.
16880         (malloc_fork_parent): Likewise.
16881         (malloc_fork_child): Likewise.
16882         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16883         (_svcauth_des): Likewise.
16884         * inet/inet_lnaof.c (inet_lnaof): Likewise.
16885         * inet/inet_net.c (inet_network): Likewise.
16886         * inet/inet_netof.c (inet_netof): Likewise.
16887         * inet/rcmd.c (__validuser2_sa): Likewise.
16888         * io/fts.c (fts_open): Likewise.
16889         (fts_load): Likewise.
16890         (fts_close): Likewise.
16891         (fts_read): Likewise.
16892         (fts_children): Likewise.
16893         (fts_build): Likewise.
16894         (fts_stat): Likewise.
16895         (fts_sort): Likewise.
16896         (fts_alloc): Likewise.
16897         (fts_lfree): Likewise.
16898         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16899         (_IO_file_xsgetn): Likewise.
16900         (_IO_file_xsgetn_mmap): Likewise.
16901         * libio/iofopncook.c (_IO_cookie_read): Likewise.
16902         (_IO_cookie_write): Likewise.
16903         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16904         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16905         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16906         * malloc/obstack.c (_obstack_begin): Likewise.
16907         (_obstack_begin_1): Likewise.
16908         (_obstack_newchunk): Likewise.
16909         (_obstack_allocated_p): Likewise.
16910         (obstack_free): Likewise.
16911         (_obstack_memory_used): Likewise.
16912         * misc/getttyent.c (getttynam): Likewise.
16913         (getttyent): Likewise.
16914         (skip): Likewise.
16915         (value): Likewise.
16916         * misc/getusershell.c (initshells): Likewise.
16917         * misc/syslog.c (__vsyslog_chk): Likewise.
16918         * misc/ttyslot.c (ttyslot): Likewise.
16919         * nis/nis_hash.c (__nis_hash): Likewise.
16920         * posix/fnmatch_loop.c (FCT): Likewise.
16921         * posix/getconf.c (print_all): Likewise.
16922         (main): Likewise.
16923         * posix/getopt.c (exchange): Likewise.
16924         * posix/glob.c (globfree): Likewise.
16925         (prefix_array): Likewise.
16926         (__glob_pattern_type): Likewise.
16927         * resolv/arpa/nameser.h (NS_GET16): Likewise.
16928         (NS_GET32): Likewise.
16929         (NS_PUT16): Likewise.
16930         (NS_PUT32): Likewise.
16931         * resolv/gethnamaddr.c (getanswer): Likewise.
16932         (gethostbyname2): Likewise.
16933         (gethostbyaddr): Likewise.
16934         (_gethtent): Likewise.
16935         (_gethtbyname2): Likewise.
16936         (_gethtbyaddr): Likewise.
16937         * resolv/ns_print.c (dst_s_get_int16): Likewise.
16938         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16939         * resolv/res_init.c (__res_vinit): Likewise.
16940         (net_mask): Likewise.
16941         * resolv/res_mkquery.c (outchar): Likewise.
16942         (PRINT): Likewise.
16943         * stdio-common/printf_fp.c (outchar): Likewise.
16944         (PRINT): Likewise.
16945         * stdio-common/printf_fphex.c (outchar): Likewise.
16946         (PRINT): Likewise.
16947         * stdio-common/printf_size.c (outchar): Likewise.
16948         (PRINT): Likewise.
16949         * stdio-common/test_rdwr.c (main): Likewise.
16950         * stdio-common/tfformat.c (matches): Likewise.
16951         * stdio-common/vfprintf.c (outchar): Likewise.
16952         (printf_unknown): Likewise.
16953         (buffered_vfprintf): Likewise.
16954         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16955         * stdio-common/xbug.c (AppendToBuffer): Likewise.
16956         (ReadFile): Likewise.
16957         * stdlib/qsort.c (SWAP): Likewise.
16958         (_quicksort): Likewise.
16959         * stdlib/setenv.c (__add_to_environ): Likewise.
16960         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16961         * stdlib/strtol_l.c (__strtol_l): Likewise.
16962         * stdlib/tst-strtod.c (main): Likewise.
16963         * stdlib/tst-strtol.c (main): Likewise.
16964         * stdlib/tst-strtoll.c (main): Likewise.
16965         * string/bits/string2.h (__strcmp_cc): Likewise.
16966         (__strcmp_cg): Likewise.
16967         (__strcspn_c1): Likewise.
16968         (__strcspn_c2): Likewise.
16969         (__strcspn_c3): Likewise.
16970         (__strspn_c1): Likewise.
16971         (__strspn_c2): Likewise.
16972         (__strspn_c3): Likewise.
16973         (__strsep_1c): Likewise.
16974         (__strsep_2c): Likewise.
16975         (__strsep_3c): Likewise.
16976         * string/memccpy.c (__memccpy): Likewise.
16977         * string/stpcpy.c (__stpcpy): Likewise.
16978         * string/strcmp.c (strcmp): Likewise.
16979         * string/strrchr.c (strrchr): Likewise.
16980         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16981         Likewise.
16982         * sysdeps/mach/hurd/getcwd.c
16983         (_hurd_canonicalize_directory_name_internal): Likewise.
16984         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16985         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16986         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16987         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16988         Likewise, in both definitions.
16989         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16990         definitions.
16991         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16992         64] (__bswap_64): Likewise.
16993         * time/test_time.c (main): Likewise.
16994         * time/tzfile.c (__tzfile_read): Likewise.
16995         (__tzfile_compute): Likewise.
16996         * time/tzset.c (__tzset_parse_tz): Likewise.
16997         (tzset_internal): Likewise.
16998         (compute_change): Likewise.
16999         * wcsmbs/wcscat.c (__wcscat): Likewise.
17000         * wcsmbs/wcschr.c (wcschr): Likewise.
17001         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17002         * wcsmbs/wcscspn.c (wcscspn): Likewise.
17003         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17004         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17005         * wcsmbs/wcsspn.c (wcsspn): Likewise.
17006         * wcsmbs/wcsstr.c (wcsstr): Likewise.
17007         * wcsmbs/wmemchr.c (wmemchr): Likewise.
17008         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17009         * wcsmbs/wmemset.c (wmemset): Likewise.
17010
17011 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
17012
17013         * scripts/config.guess: Update to version 2013-05-16.
17014         * scripts/config.sub: Update to version 2013-04-24.
17015         * scripts/install-sh: Update to version 2011-11-20.07.
17016         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17017         * scripts/move-if-change: Update to version 2012-01-06 07:23.
17018
17019 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
17020
17021         * debug/fgetws_u_chk.c: Fix leading whitespaces.
17022         * elf/sln.c: Likewise.
17023         * hurd/hurd/ioctl.h: Likewise.
17024         * hurd/hurdmalloc.c: Likewise.
17025         * hurd/xattr.c: Likewise.
17026         * include/shlib-compat.h: Likewise.
17027         * inet/ruserpass.c: Likewise.
17028         * libio/iofgets_u.c: Likewise.
17029         * libio/iofgetws_u.c: Likewise.
17030         * locale/programs/ld-identification.c: Likewise.
17031         * locale/programs/ld-time.c: Likewise.
17032         * mach/msg-destroy.c: Likewise.
17033         * nss/nss_files/files-netgrp.c: Likewise.
17034         * resolv/res_data.c: Likewise.
17035         * soft-fp/op-1.h: Likewise.
17036         * soft-fp/op-2.h: Likewise.
17037         * soft-fp/op-4.h: Likewise.
17038         * soft-fp/op-common.h: Likewise.
17039         * stdio-common/printf_fphex.c: Likewise.
17040         * stdlib/strtod_l.c: Likewise.
17041         * sunrpc/rpc/clnt.h: Likewise.
17042         * sysdeps/generic/framestate.c: Likewise.
17043         * sysdeps/i386/bsd-_setjmp.S: Likewise.
17044         * sysdeps/i386/bsd-setjmp.S: Likewise.
17045         * sysdeps/i386/__longjmp.S: Likewise.
17046         * sysdeps/i386/setjmp.S: Likewise.
17047         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17048         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17049         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17050         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17051         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17052         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17053         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17054         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17055         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17056         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17057         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17058         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17059         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17060         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17061         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17062         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17063         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17064         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17065         * sysdeps/ieee754/support.c: Likewise.
17066         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17067         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17068         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17069         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17070         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17071         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17072         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17073         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17074         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17075         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17076         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17077         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17078         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17079         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17080         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17081         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17082         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17084
17085 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
17086
17087         * posix/transbug.c: Remove executable mode.
17088
17089 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
17090
17091         * crypt/speeds.c: Remove trailing whitespace.
17092         * dlfcn/default.c: Likewise.
17093         * elf/ifuncdep2.c: Likewise.
17094         * elf/ifuncmain1.c: Likewise.
17095         * elf/ifuncmain1vis.c: Likewise.
17096         * elf/testobj.h: Likewise.
17097         * elf/tst-stackguard1.c: Likewise.
17098         * gmon/sys/gmon.h: Likewise.
17099         * hurd/hurdmsg.c: Likewise.
17100         * hurd/new-fd.c: Likewise.
17101         * hurd/ports-get.c: Likewise.
17102         * iconvdata/ibm1008_420.c: Likewise.
17103         * inet/tst-getni1.c: Likewise.
17104         * inet/tst-getni2.c: Likewise.
17105         * libio/ioungetc.c: Likewise.
17106         * libio/wfiledoalloc.c: Likewise.
17107         * manual/libm-err-tab.pl: Likewise.
17108         * math/w_dremf.c: Likewise.
17109         * misc/ftruncate.c: Likewise.
17110         * posix/bug-glob2.c: Likewise.
17111         * posix/tst-pcre.c: Likewise.
17112         * posix/wait4.c: Likewise.
17113         * resolv/README: Likewise.
17114         * resolv/res_debug.h: Likewise.
17115         * resolv/tst-inet_ntop.c: Likewise.
17116         * setjmp/bug269-setjmp.c: Likewise.
17117         * soft-fp/extended.h: Likewise.
17118         * soft-fp/op-1.h: Likewise.
17119         * soft-fp/op-2.h: Likewise.
17120         * soft-fp/op-4.h: Likewise.
17121         * soft-fp/op-8.h: Likewise.
17122         * soft-fp/testit.c: Likewise.
17123         * stdio-common/bug16.c: Likewise.
17124         * stdlib/random.c: Likewise.
17125         * sunrpc/rpcsvc/rquota.x: Likewise.
17126         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17127         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17128         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17129         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17130         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17131         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17132         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17133         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17134         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17135         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17136         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17137         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17138         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17139         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17140         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17141         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17142         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17143         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17144         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17145         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17146         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17147         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17148         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17149         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17150         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17151         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17152         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17153         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17154         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17155         * sysdeps/ieee754/s_lib_version.c: Likewise.
17156         * sysdeps/mach/hurd/check_fds.c: Likewise.
17157         * sysdeps/mach/hurd/getsockname.c: Likewise.
17158         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17159         * sysdeps/mach/hurd/recvfrom.c: Likewise.
17160         * sysdeps/powerpc/bits/link.h: Likewise.
17161         * sysdeps/powerpc/dl-procinfo.c: Likewise.
17162         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17163         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17164         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17165         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17166         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17167         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17168         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17169         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17170         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17171         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17172         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17173         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17174         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17175         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17176         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17177         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17178         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17179         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17180         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17181         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17182         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17183         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17184         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17185         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17186         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17187         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17188         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17189         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17190         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17191         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17192         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17193         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17194         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17195         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17196         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17197         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17198         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17199         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17200         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17201         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17202         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17203         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17204         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17205         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17206         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17207         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17208         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17209         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17210         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17211         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17212         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17213         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17214         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17215         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17216         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17217         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17218         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17219         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17220         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17221         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17222         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17223         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17224         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17225         * sysdeps/powerpc/sysdep.h: Likewise.
17226         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17227         * sysdeps/s390/s390-64/sub_n.S: Likewise.
17228         * sysdeps/sh/dl-trampoline.S: Likewise.
17229         * sysdeps/sh/memset.S: Likewise.
17230         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17231         * sysdeps/sh/strlen.S: Likewise.
17232         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17233         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17234         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17235         * sysdeps/sparc/sparc32/rem.S: Likewise.
17236         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17237         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17238         * sysdeps/sparc/sparc32/strchr.S: Likewise.
17239         * sysdeps/sparc/sparc32/udiv.S: Likewise.
17240         * sysdeps/sparc/sparc32/urem.S: Likewise.
17241         * sysdeps/sparc/sparc64/add_n.S: Likewise.
17242         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17243         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17244         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17245         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17246         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17247         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17248         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17249         * sysdeps/unix/bsd/times.c: Likewise.
17250         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17251         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17255         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17256         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17257         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17258         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17259         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17260         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17261         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17262         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17263         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17264         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17265         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17266         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17267         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17268         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17269         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17270         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17271         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17272         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17273         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17274         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17275         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17276         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17277         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17278         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17279         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17280         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17281         * sysdeps/x86_64/strcspn.S: Likewise.
17282
17283 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17284
17285         * locale/C-translit.h: Revert #include <stdint.h> because this is a
17286         generated file.  Regenerate properly from gen-translit.pl.
17287         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
17288         locale/C-translit.h.
17289
17290 2013-06-05  Andreas Schwab  <schwab@suse.de>
17291
17292         [BZ #15100]
17293         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17294         week as 6 instead of -1.
17295         * time/tst-strptime.c (day_tests): Add test case.
17296
17297 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17298
17299         * sysdeps/generic/math_private.h
17300         (libc_feholdexcept_setround_53bit): Replace with
17301         libc_feholdsetround_53bit.
17302         (libc_feupdateenv_53bit): Replace with
17303         libc_feresetround_53bit.
17304         (SET_RESTORE_ROUND_53BIT): Adjust.
17305
17306 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17307
17308         * string/test-strchrnul.c: Add copyright header.
17309
17310         * posix/tst-getaddrinfo4.c: Increase test timeout.
17311
17312 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
17313
17314         [BZ #15536]
17315         * math/libm-test.inc (MAX_EXP): Remove
17316         (MIN_EXP): Define.
17317         (ulp): Use MIN_EXP - MANT_DIG.
17318         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17319
17320 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
17321
17322         * po/be.po: Revert last change.
17323         * po/zh_CN.po: Likewise.
17324         * po/header.pot: Likewise.
17325
17326 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
17327
17328         * Makefile ($(common-objpfx)linkobj/libc.so): Define
17329         link-libc-deps to empty as target-specific variable.
17330         * Makerules (link-libc-args): New variable.
17331         (libc-for-link): Likewise.
17332         (link-libc-deps): Likewise.
17333         (lib%.so): Depend on $(link-libc-deps).  Link with
17334         $(link-libc-args).
17335         (build-module): Link with $(link-libc-args).
17336         (build-module-asneeded): Likewise.
17337         (build-module-helper-objlist): Filter out $(link-libc-deps) from
17338         list of objects.
17339         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17340         target-specific variable.
17341         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17342         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17343         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17344         libc.
17345         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17346         libc and ld.so.
17347         ($(objpfx)libpcprofile.so): Likewise.
17348         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17349         libc_nonshared.a.
17350         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17351         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17352         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17353         $(link-libc-deps).
17354         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17355         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17356         * login/Makefile ($(objpfx)libutil.so): Likewise.
17357         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17358         * math/Makefile ($(objpfx)libm.so): Likewise.
17359         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17360         $(objpfx)libnsl.so): Define libc-for-link as target-specific
17361         variable instead of depending directly on libc.
17362         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17363         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17364         $(link-libc-deps).
17365         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17366         libc.
17367         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17368         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17369         ($(objpfx)libanl.so): Likewise.
17370         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17371         ld.so.
17372         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17373         $(link-libc-deps).
17374         * sysdeps/i386/fpu/Makefile: Remove file.
17375         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17376         ($(objpfx)libm.so): Remove dependency on ld.so.
17377
17378 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
17379
17380         [BZ # 15553]
17381         * nis/yp_xdr.c (XDRMAXNAME): Define.
17382         (XDRMAXRECORD): Define.
17383         (xdr_domainname): Use XDRMAXNAME.
17384         (xdr_mapname): Likewise.
17385         (xdr_peername): Likewise.
17386         (xdr_keydat): Use XDRMAXRECORD.
17387         (xdr_valdat): Likewise.
17388
17389 2013-05-30  Jeff Law  <law@redhat.com>
17390
17391         [BZ #14256]
17392         * manual/errno.texi (ESTALE): Update to account for more than
17393         just NFS file systems.
17394         * sysdeps/gnu/errlist.c: Regenerated.
17395
17396 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17397
17398         [BZ #15465]
17399         * elf/Makefile (tests): Add tst-null-argv.
17400         (modules-names):  Add tst-null-argv-lib.
17401         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17402         (tst-null-argv-ENV): Set environment for tst-null-argv.
17403         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17404         (RTLD_PROGNAME): New macro.
17405         * elf/tst-null-argv.c: New test case.
17406         * elf/tst-null-argv-lib.c: Library for test case.
17407         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17408         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17409         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17410         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17411         * elf/dl-init.c (call_init): Likewise.
17412         (_dl_init): Likewise.
17413         * elf/dl-load.c (print_search_path): Likewise.
17414         (_dl_map_object): Likewise.
17415         * elf/dl-lookup.c (do_lookup_x): Likewise.
17416         (add_dependency): Likewise.
17417         (_dl_lookup_symbol_x): Likewise.
17418         (_dl_debug_bindings): Likewise.
17419         * elf/dl-open.c (_dl_show_scope): Likewise.
17420         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17421         * elf/dl-version.c (match_symbol): Likewise.
17422         (_dl_check_map_versions): Likewise.
17423         * elf/rtld.c (dl_main): Likewise.
17424         (print_unresolved): Use RTLD_PROGNAME.
17425         (print_missing_version): Likewise.
17426         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17427         (elf_machine_rela): Likewise.
17428         * sysdeps/powerpc/powerpc32/dl-machine.c
17429         (__process_machine_rela): Likewise.
17430         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17431         Likewise.
17432         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17433         Likewise.
17434         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17435         Likewise.
17436         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17437         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17438         Likewise.
17439         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17440         Likewise.
17441         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17442
17443 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
17444
17445         * po/be.po: Add descriptive title.
17446         * po/zh_CN.po: Likewise.
17447         * po/header.pot: Likewise.
17448
17449 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
17450
17451         * locale/programs/locarchive.c (create_archive): Inlucde fname in
17452         error message.
17453         (enlarge_archive): Likewise.
17454
17455 2013-05-28  Ben North  <ben@redfrontdoor.org>
17456
17457         * manual/arith.texi (frexp): It is the magnitude of the return
17458         value which lies in [0.5, 1), not the return value itself.
17459
17460 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17461
17462         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17463
17464 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
17465
17466         * stdio-common/bug26.c (main): Correct fscanf template.
17467
17468         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17469         declare _dl_skip_args.
17470
17471         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17472         Don't declare.
17473
17474         * manual/platform.texi: Add missing @end deftypefun.
17475
17476 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17477
17478         [BZ #15529]
17479         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17480         bit of mantissa of 2^16382.
17481         * math/libm-test.inc (hypot_test_data): Add more tests.
17482
17483         * math/libm-test.inc: Add drem and pow10 to list of tested
17484         functions.
17485         (pow10_test): New function.
17486         (drem_test): Likewise.
17487         (drem_test_tonearest): Likewise.
17488         (drem_test_towardzero): Likewise.
17489         (drem_test_downward): Likewise.
17490         (drem_test_upward): Likewise.
17491         (main): Call the new functions.
17492
17493         * math/libm-test.inc (finite_test_data): Remove.
17494         (finite_test): Run tests from isfinite_test_data.
17495         (gamma_test_data): Remove.
17496         (gamma_test): Run tests from lgamma_test_data.
17497         * sysdeps/i386/fpu/libm-test-ulps: Update.
17498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17499
17500 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17501
17502         * manual/platform.texi: Add PowerPC PPR function set documentation.
17503         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17504         implementation.
17505
17506 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
17507
17508         * math/libm-test.inc (MAX_EXP): Define.
17509         (ULPDIFF): Define.
17510         (ulp): New function.
17511         (check_float_internal): Use ULPDIFF.
17512         (cpow_test): Disable failing test.
17513         (check_ulp): Test ulp() implemetnation.
17514         (main): Call check_ulp before starting tests.
17515
17516 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17517
17518         * math/gen-libm-test.pl (generate_testfile): Do not handle
17519         START_DATA and END_DATA.
17520         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17521         END_DATA.
17522         (acos_tonearest_test_data): Likewise.
17523         (acos_towardzero_test_data): Likewise.
17524         (acos_downward_test_data): Likewise.
17525         (acos_upward_test_data): Likewise.
17526         (acosh_test_data): Likewise.
17527         (asin_test_data): Likewise.
17528         (asin_tonearest_test_data): Likewise.
17529         (asin_towardzero_test_data): Likewise.
17530         (asin_downward_test_data): Likewise.
17531         (asin_upward_test_data): Likewise.
17532         (asinh_test_data): Likewise.
17533         (atan_test_data): Likewise.
17534         (atanh_test_data): Likewise.
17535         (atan2_test_data): Likewise.
17536         (cabs_test_data): Likewise.
17537         (cacos_test_data): Likewise.
17538         (cacosh_test_data): Likewise.
17539         (carg_test_data): Likewise.
17540         (casin_test_data): Likewise.
17541         (casinh_test_data): Likewise.
17542         (catan_test_data): Likewise.
17543         (catanh_test_data): Likewise.
17544         (cbrt_test_data): Likewise.
17545         (ccos_test_data): Likewise.
17546         (ccosh_test_data): Likewise.
17547         (ceil_test_data): Likewise.
17548         (cexp_test_data): Likewise.
17549         (cimag_test_data): Likewise.
17550         (clog_test_data): Likewise.
17551         (clog10_test_data): Likewise.
17552         (conj_test_data): Likewise.
17553         (copysign_test_data): Likewise.
17554         (cos_test_data): Likewise.
17555         (cos_tonearest_test_data): Likewise.
17556         (cos_towardzero_test_data): Likewise.
17557         (cos_downward_test_data): Likewise.
17558         (cos_upward_test_data): Likewise.
17559         (cosh_test_data): Likewise.
17560         (cosh_tonearest_test_data): Likewise.
17561         (cosh_towardzero_test_data): Likewise.
17562         (cosh_downward_test_data): Likewise.
17563         (cosh_upward_test_data): Likewise.
17564         (cpow_test_data): Likewise.
17565         (cproj_test_data): Likewise.
17566         (creal_test_data): Likewise.
17567         (csin_test_data): Likewise.
17568         (csinh_test_data): Likewise.
17569         (csqrt_test_data): Likewise.
17570         (ctan_test_data): Likewise.
17571         (ctan_tonearest_test_data): Likewise.
17572         (ctan_towardzero_test_data): Likewise.
17573         (ctan_downward_test_data): Likewise.
17574         (ctan_upward_test_data): Likewise.
17575         (ctanh_test_data): Likewise.
17576         (ctanh_tonearest_test_data): Likewise.
17577         (ctanh_towardzero_test_data): Likewise.
17578         (ctanh_downward_test_data): Likewise.
17579         (ctanh_upward_test_data): Likewise.
17580         (erf_test_data): Likewise.
17581         (erfc_test_data): Likewise.
17582         (exp_test_data): Likewise.
17583         (exp_tonearest_test_data): Likewise.
17584         (exp_towardzero_test_data): Likewise.
17585         (exp_downward_test_data): Likewise.
17586         (exp_upward_test_data): Likewise.
17587         (exp10_test_data): Likewise.
17588         (exp2_test_data): Likewise.
17589         (expm1_test_data): Likewise.
17590         (fabs_test_data): Likewise.
17591         (fdim_test_data): Likewise.
17592         (finite_test_data): Likewise.
17593         (floor_test_data): Likewise.
17594         (fma_test_data): Likewise.
17595         (fma_towardzero_test_data): Likewise.
17596         (fma_downward_test_data): Likewise.
17597         (fma_upward_test_data): Likewise.
17598         (fmax_test_data): Likewise.
17599         (fmin_test_data): Likewise.
17600         (fmod_test_data): Likewise.
17601         (fpclassify_test_data): Likewise.
17602         (frexp_test_data): Likewise.
17603         (gamma_test_data): Likewise.
17604         (hypot_test_data): Likewise.
17605         (ilogb_test_data): Likewise.
17606         (isfinite_test_data): Likewise.
17607         (isgreater_test_data): Likewise.
17608         (isgreaterequal_test_data): Likewise.
17609         (isinf_test_data): Likewise.
17610         (isless_test_data): Likewise.
17611         (islessequal_test_data): Likewise.
17612         (islessgreater_test_data): Likewise.
17613         (isnan_test_data): Likewise.
17614         (isnormal_test_data): Likewise.
17615         (issignaling_test_data): Likewise.
17616         (isunordered_test_data): Likewise.
17617         (j0_test_data): Likewise.
17618         (j1_test_data): Likewise.
17619         (jn_test_data): Likewise.
17620         (ldexp_test_data): Likewise.
17621         (lgamma_test_data): Likewise.
17622         (lrint_test_data): Likewise.
17623         (lrint_tonearest_test_data): Likewise.
17624         (lrint_towardzero_test_data): Likewise.
17625         (lrint_downward_test_data): Likewise.
17626         (lrint_upward_test_data): Likewise.
17627         (llrint_test_data): Likewise.
17628         (llrint_tonearest_test_data): Likewise.
17629         (llrint_towardzero_test_data): Likewise.
17630         (llrint_downward_test_data): Likewise.
17631         (llrint_upward_test_data): Likewise.
17632         (log_test_data): Likewise.
17633         (log10_test_data): Likewise.
17634         (log1p_test_data): Likewise.
17635         (log2_test_data): Likewise.
17636         (logb_test_data): Likewise.
17637         (logb_downward_test_data): Likewise.
17638         (lround_test_data): Likewise.
17639         (llround_test_data): Likewise.
17640         (modf_test_data): Likewise.
17641         (nearbyint_test_data): Likewise.
17642         (nextafter_test_data): Likewise.
17643         (nexttoward_test_data): Likewise.
17644         (pow_test_data): Likewise.
17645         (pow_tonearest_test_data): Likewise.
17646         (pow_towardzero_test_data): Likewise.
17647         (pow_downward_test_data): Likewise.
17648         (pow_upward_test_data): Likewise.
17649         (remainder_test_data): Likewise.
17650         (remainder_tonearest_test_data): Likewise.
17651         (remainder_towardzero_test_data): Likewise.
17652         (remainder_downward_test_data): Likewise.
17653         (remainder_upward_test_data): Likewise.
17654         (remquo_test_data): Likewise.
17655         (rint_test_data): Likewise.
17656         (rint_tonearest_test_data): Likewise.
17657         (rint_towardzero_test_data): Likewise.
17658         (rint_downward_test_data): Likewise.
17659         (rint_upward_test_data): Likewise.
17660         (round_test_data): Likewise.
17661         (scalb_test_data): Likewise.
17662         (scalbn_test_data): Likewise.
17663         (scalbln_test_data): Likewise.
17664         (signbit_test_data): Likewise.
17665         (sin_test_data): Likewise.
17666         (sin_tonearest_test_data): Likewise.
17667         (sin_towardzero_test_data): Likewise.
17668         (sin_downward_test_data): Likewise.
17669         (sin_upward_test_data): Likewise.
17670         (sincos_test_data): Likewise.
17671         (sinh_test_data): Likewise.
17672         (sinh_tonearest_test_data): Likewise.
17673         (sinh_towardzero_test_data): Likewise.
17674         (sinh_downward_test_data): Likewise.
17675         (sinh_upward_test_data): Likewise.
17676         (sqrt_test_data): Likewise.
17677         (tan_test_data): Likewise.
17678         (tan_tonearest_test_data): Likewise.
17679         (tan_towardzero_test_data): Likewise.
17680         (tan_downward_test_data): Likewise.
17681         (tan_upward_test_data): Likewise.
17682         (tanh_test_data): Likewise.
17683         (tgamma_test_data): Likewise.
17684         (trunc_test_data): Likewise.
17685         (y0_test_data): Likewise.
17686         (y1_test_data): Likewise.
17687         (yn_test_data): Likewise.
17688         (significand_test_data): Likewise.
17689
17690         * math/gen-libm-test.pl (@functions): Remove variable.
17691         (generate_testfile): Don't handle START and END lines.
17692         * math/libm-test.inc (START): New macro.
17693         (END): Likewise.
17694         (END_COMPLEX): Likewise.
17695         (acos_test): Use END macro without arguments.
17696         (acos_test_tonearest): Likewise.
17697         (acos_test_towardzero): Likewise.
17698         (acos_test_downward): Likewise.
17699         (acos_test_upward): Likewise.
17700         (acosh_test): Likewise.
17701         (asin_test): Likewise.
17702         (asin_test_tonearest): Likewise.
17703         (asin_test_towardzero): Likewise.
17704         (asin_test_downward): Likewise.
17705         (asin_test_upward): Likewise.
17706         (asinh_test): Likewise.
17707         (atan_test): Likewise.
17708         (atanh_test): Likewise.
17709         (atan2_test): Likewise.
17710         (cabs_test): Likewise.
17711         (cacos_test): Use END_COMPLEX macro without arguments.
17712         (cacosh_test): Likewise.
17713         (carg_test): Use END macro without arguments.
17714         (casin_test): Use END_COMPLEX macro without arguments.
17715         (casinh_test): Likewise.
17716         (catan_test): Likewise.
17717         (catanh_test): Likewise.
17718         (cbrt_test): Use END macro without arguments.
17719         (ccos_test): Use END_COMPLEX macro without arguments.
17720         (ccosh_test): Likewise.
17721         (ceil_test): Use END macro without arguments.
17722         (cexp_test): Use END_COMPLEX macro without arguments.
17723         (cimag_test): Use END macro without arguments.
17724         (clog_test): Use END_COMPLEX macro without arguments.
17725         (clog10_test): Likewise.
17726         (conj_test): Likewise.
17727         (copysign_test): Use END macro without arguments.
17728         (cos_test): Likewise.
17729         (cos_test_tonearest): Likewise.
17730         (cos_test_towardzero): Likewise.
17731         (cos_test_downward): Likewise.
17732         (cos_test_upward): Likewise.
17733         (cosh_test): Likewise.
17734         (cosh_test_tonearest): Likewise.
17735         (cosh_test_towardzero): Likewise.
17736         (cosh_test_downward): Likewise.
17737         (cosh_test_upward): Likewise.
17738         (cpow_test): Use END_COMPLEX macro without arguments.
17739         (cproj_test): Likewise.
17740         (creal_test): Use END macro without arguments.
17741         (csin_test): Use END_COMPLEX macro without arguments.
17742         (csinh_test): Likewise.
17743         (csqrt_test): Likewise.
17744         (ctan_test): Likewise.
17745         (ctan_test_tonearest): Likewise.
17746         (ctan_test_towardzero): Likewise.
17747         (ctan_test_downward): Likewise.
17748         (ctan_test_upward): Likewise.
17749         (ctanh_test): Likewise.
17750         (ctanh_test_tonearest): Likewise.
17751         (ctanh_test_towardzero): Likewise.
17752         (ctanh_test_downward): Likewise.
17753         (ctanh_test_upward): Likewise.
17754         (erf_test): Use END macro without arguments.
17755         (erfc_test): Likewise.
17756         (exp_test): Likewise.
17757         (exp_test_tonearest): Likewise.
17758         (exp_test_towardzero): Likewise.
17759         (exp_test_downward): Likewise.
17760         (exp_test_upward): Likewise.
17761         (exp10_test): Likewise.
17762         (exp2_test): Likewise.
17763         (expm1_test): Likewise.
17764         (fabs_test): Likewise.
17765         (fdim_test): Likewise.
17766         (finite_test): Likewise.
17767         (floor_test): Likewise.
17768         (fma_test): Likewise.
17769         (fma_test_towardzero): Likewise.
17770         (fma_test_downward): Likewise.
17771         (fma_test_upward): Likewise.
17772         (fmax_test): Likewise.
17773         (fmin_test): Likewise.
17774         (fmod_test): Likewise.
17775         (fpclassify_test): Likewise.
17776         (frexp_test): Likewise.
17777         (gamma_test): Likewise.
17778         (hypot_test): Likewise.
17779         (ilogb_test): Likewise.
17780         (isfinite_test): Likewise.
17781         (isgreater_test): Likewise.
17782         (isgreaterequal_test): Likewise.
17783         (isinf_test): Likewise.
17784         (isless_test): Likewise.
17785         (islessequal_test): Likewise.
17786         (islessgreater_test): Likewise.
17787         (isnan_test): Likewise.
17788         (isnormal_test): Likewise.
17789         (issignaling_test): Likewise.
17790         (isunordered_test): Likewise.
17791         (j0_test): Likewise.
17792         (j1_test): Likewise.
17793         (jn_test): Likewise.
17794         (ldexp_test): Likewise.
17795         (lgamma_test): Likewise.
17796         (lrint_test): Likewise.
17797         (lrint_test_tonearest): Likewise.
17798         (lrint_test_towardzero): Likewise.
17799         (lrint_test_downward): Likewise.
17800         (lrint_test_upward): Likewise.
17801         (llrint_test): Likewise.
17802         (llrint_test_tonearest): Likewise.
17803         (llrint_test_towardzero): Likewise.
17804         (llrint_test_downward): Likewise.
17805         (llrint_test_upward): Likewise.
17806         (log_test): Likewise.
17807         (log10_test): Likewise.
17808         (log1p_test): Likewise.
17809         (log2_test): Likewise.
17810         (logb_test): Likewise.
17811         (logb_test_downward): Likewise.
17812         (lround_test): Likewise.
17813         (llround_test): Likewise.
17814         (modf_test): Likewise.
17815         (nearbyint_test): Likewise.
17816         (nextafter_test): Likewise.
17817         (nexttoward_test): Likewise.
17818         (pow_test): Likewise.
17819         (pow_test_tonearest): Likewise.
17820         (pow_test_towardzero): Likewise.
17821         (pow_test_downward): Likewise.
17822         (pow_test_upward): Likewise.
17823         (remainder_test): Likewise.
17824         (remainder_test_tonearest): Likewise.
17825         (remainder_test_towardzero): Likewise.
17826         (remainder_test_downward): Likewise.
17827         (remainder_test_upward): Likewise.
17828         (remquo_test): Likewise.
17829         (rint_test): Likewise.
17830         (rint_test_tonearest): Likewise.
17831         (rint_test_towardzero): Likewise.
17832         (rint_test_downward): Likewise.
17833         (rint_test_upward): Likewise.
17834         (round_test): Likewise.
17835         (scalb_test): Likewise.
17836         (scalbn_test): Likewise.
17837         (scalbln_test): Likewise.
17838         (signbit_test): Likewise.
17839         (sin_test): Likewise.
17840         (sin_test_tonearest): Likewise.
17841         (sin_test_towardzero): Likewise.
17842         (sin_test_downward): Likewise.
17843         (sin_test_upward): Likewise.
17844         (sincos_test): Likewise.
17845         (sinh_test): Likewise.
17846         (sinh_test_tonearest): Likewise.
17847         (sinh_test_towardzero): Likewise.
17848         (sinh_test_downward): Likewise.
17849         (sinh_test_upward): Likewise.
17850         (sqrt_test): Likewise.
17851         (tan_test): Likewise.
17852         (tan_test_tonearest): Likewise.
17853         (tan_test_towardzero): Likewise.
17854         (tan_test_downward): Likewise.
17855         (tan_test_upward): Likewise.
17856         (tanh_test): Likewise.
17857         (tgamma_test): Likewise.
17858         (trunc_test): Likewise.
17859         (y0_test): Likewise.
17860         (y1_test): Likewise.
17861         (yn_test): Likewise.
17862         (significand_test): Likewise.
17863
17864 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
17865
17866         [BZ #15381]
17867         * libio/genops.c (_IO_no_init): Initialize wide struct info.
17868
17869 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
17870
17871         [BZ #14894]
17872         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17873         __ppc_mdoio and __ppc_mdoom.
17874         * manual/platform.texi: Document new functions __ppc_yield,
17875         __ppc_mdoio and __ppc_mdoom.
17876
17877 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
17878
17879         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17880         (main): Mention "tls" pseudo-hwcap is legacy.
17881         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17882
17883 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
17884
17885         * math/gen-libm-test.pl (parse_args): Output only string of
17886         arguments as text for test name, not full call or descriptions of
17887         tests for extra outputs.
17888         (generate_testfile): Do not pass function name to parse_args.
17889         Generate this_func variable from START.
17890         * math/libm-test.inc (struct test_f_f_data): Rename test_name
17891         field to arg_str.
17892         (struct test_ff_f_data): Likewise.
17893         (test_ff_f_data_nexttoward): Likewise.
17894         (struct test_fi_f_data): Likewise.
17895         (struct test_fl_f_data): Likewise.
17896         (struct test_if_f_data): Likewise.
17897         (struct test_fff_f_data): Likewise.
17898         (struct test_c_f_data): Likewise.
17899         (struct test_f_f1_data): Likewise.  Remove field extra_name.
17900         (struct test_fF_f1_data): Likewise.
17901         (struct test_ffI_f1_data): Likewise.
17902         (struct test_c_c_data): Rename test_name field to arg_str.
17903         (struct test_cc_c_data): Likewise.
17904         (struct test_f_i_data): Likewise.
17905         (struct test_ff_i_data): Likewise.
17906         (struct test_f_l_data): Likewise.
17907         (struct test_f_L_data): Likewise.
17908         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
17909         and extra2_name.
17910         (COMMON_TEST_SETUP): New macro.
17911         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17912         (COMMON_TEST_CLEANUP): Likewise.
17913         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17914         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
17915         macros.
17916         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17917         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
17918         macros.
17919         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17920         (RUN_TEST_fff_f): Take argument string.  Call new setup and
17921         cleanup macros.
17922         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17923         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
17924         macros.
17925         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17926         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
17927         macros.
17928         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17929         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
17930         cleanup macros.
17931         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17932         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
17933         cleanup macros.
17934         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17935         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
17936         cleanup macros.
17937         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17938         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
17939         macros.
17940         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17941         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
17942         macros.
17943         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17944         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
17945         macros.
17946         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17947         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
17948         cleanup macros.
17949         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17950         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
17951         cleanup macros.
17952         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17953         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
17954         macros.
17955         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17956         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
17957         cleanup macros.
17958         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17959         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
17960         macros.
17961         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17962         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
17963         macros.
17964         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17965         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
17966         cleanup macros.
17967         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17968
17969 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
17970
17971         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17972         to _sifields.sigfault.
17973         (si_addr_lsb): Define new macro.
17974         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17975         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17976         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17977
17978 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
17979
17980         [BZ #15441]
17981         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17982         returns -1.
17983         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17984         null return -1.
17985         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17986         loading the domain.
17987
17988 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
17989
17990         * math/gen-libm-test.pl (parse_args): Do not include expected
17991         result in test name.
17992         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17993         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17994         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17995         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17996         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17998
17999 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18000
18001         * benchtests/Makefile: Sort function entries.
18002
18003         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18004         tanh, asinh, acosh, atanh.
18005         * benchtests/acos-inputs: New file.
18006         * benchtests/acosh-inputs: New file.
18007         * benchtests/asin-inputs: New file.
18008         * benchtests/asinh-inputs: New file.
18009         * benchtests/atanh-inputs: New file.
18010         * benchtests/cosh-inputs: New file.
18011         * benchtests/log-inputs: New file.
18012         * benchtests/sinh-inputs: New file.
18013         * benchtests/tanh-inputs: New file.
18014
18015 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
18016
18017         [BZ #15339]
18018         * posix/tst-getaddrinfo4.c: New test.
18019         * posix/Makefile (tests): Add it.
18020
18021 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18022
18023         [BZ #15339]
18024         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18025         when no services were used.
18026         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18027         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18028
18029 2013-05-21  Andreas Schwab  <schwab@suse.de>
18030
18031         [BZ #15014]
18032         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18033         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18034         successful.
18035         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18036         redundant variable declarations and reallocation of buffer when
18037         parsing as IPv6 address.  Always set NSS status when called from
18038         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
18039         buffer too small.  Correct computation of needed size.
18040         * nss/Makefile (tests): Add test-digits-dots.
18041         * nss/test-digits-dots.c: New test.
18042
18043 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18044
18045         * benchtests/Makefile: Remove instructions for adding
18046         benchmark tests.
18047         * benchtests/README: New file to explain how to execute and
18048         enhance the benchmark tests.
18049
18050 2013-05-21  Andreas Schwab  <schwab@suse.de>
18051
18052         [BZ #15493]
18053         * setjmp/Makefile (tests): Add tst-sigsetjmp.
18054         * setjmp/tst-sigsetjmp.c: New test.
18055
18056 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18057
18058         * sysdeps/x86_64/memset.S (memset): New implementation.
18059         (__bzero): Likewise.
18060         (__memset_tail): New function.
18061
18062 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18063
18064         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18065         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18066         __memcpy_sse2_unaligned ifunc selection.
18067         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18068         Add memcpy-sse2-unaligned.S.
18069         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18070         Add: __memcpy_sse2_unaligned.
18071
18072 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
18073
18074         [BZ #15490]
18075         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18076         math_force_eval before restoring floating-point envrionment.
18077         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18078         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18079         Likewise.
18080         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18081         <math_private.h>.
18082         (__nearbyintl): Use math_force_eval before restoring
18083         floating-point environment.
18084         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18085
18086         * math/gen-libm-test.pl (special_functions): Remove.
18087         (parse_args): Don't handle TEST_extra.  Handle functions with no
18088         return value.
18089         * math/libm-test.inc (struct test_sincos_data): Replace with
18090         struct test_fFF_11_data.
18091         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18092         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18093         (sincos_test_data): Change element type to struct
18094         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
18095         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18096         RUN_TEST_LOOP_sincos.
18097         * math/README.libm-test: Don't mention special handling of
18098         individual functions.
18099         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18100         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18101         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18102         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18103         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18105
18106         * math/gen-libm-test.pl (get_variable): Remove function.
18107         (parse_args): Don't show pointer parameters to call in test
18108         names.  Use "extra output N" in test names for extra outputs
18109         rather than naming variables.
18110
18111 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
18112
18113         [BZ #15488]
18114         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18115         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18116         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18117         double tests.
18118         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18119         disable.
18120         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18121         check_long_double.
18122
18123         * math/gen-libm-test.pl (@tests): Remove variable.
18124         ($count): Likewise.
18125         (new_test): Remove function.
18126         (show_exceptions): New function.
18127         (special_functions): Use show_exceptions instead of new_test.
18128         (parse_args): Likewise.
18129         (generate_testfile): Pass only function name in generated call to
18130         print_max_error or print_complex_max_error.
18131         (get_ulps): Do not handle complex tests specially.
18132         (output_test): Rename to ...
18133         (get_all_ulps_for_test): ... this.  Return a string rather than
18134         printing to a file.  Require ulps to be present.
18135         (output_ulps): Generate arrays rather than #defines.
18136         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18137         (struct ulp_data): New type.
18138         (BUILD_COMPLEX_ULP): Remove macro.
18139         (compare_ulp_data): New function.
18140         (find_ulps): Likewise.
18141         (find_test_ulps): Likewise.
18142         (find_function_ulps): Likewise.
18143         (find_complex_function_ulps): Likewise.
18144         (print_max_error): Determine allowed ulps using
18145         find_function_ulps.
18146         (print_complex_max_error): Determine allowed ulps using
18147         find_complex_function_ulps.
18148         (check_float_internal): Determine max ulps using find_test_ulps.
18149         (check_float): Do not take max_ulp parameter.  Update call to
18150         check_float_internal.
18151         (check_complex): Likewise.
18152         (check_int): Do not take max_ulp parameter.
18153         (check_long): Likewise.
18154         (check_bool): Likewise.
18155         (check_longlong): Likewise.
18156         (struct test_f_f_data): Remove max_ulp field.
18157         (struct test_ff_f_data): Likewise.
18158         (struct test_ff_f_data_nexttoward): Likewise.
18159         (struct test_fi_f_data): Likewise.
18160         (struct test_fl_f_data): Likewise.
18161         (struct test_if_f_data): Likewise.
18162         (struct test_fff_f_data): Likewise.
18163         (struct test_c_f_data): Likewise.
18164         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18165         (struct test_fF_f1_data): Likewise.
18166         (struct test_ffI_f1_data): Likewise.
18167         (struct test_c_c_data): Remove max_ulp field.
18168         (struct test_cc_c_data): Likewise.
18169         (struct test_f_i_data): Likewise.
18170         (struct test_ff_i_data): Likewise.
18171         (struct test_f_l_data): Likewise.
18172         (struct test_f_L_data): Likewise.
18173         (struct test_sincos_data): Likewise.
18174         (RUN_TEST_f_f): Do not handle ulps.
18175         (RUN_TEST_LOOP_f_f): Likewise.
18176         (RUN_TEST_2_f): Likewise.
18177         (RUN_TEST_LOOP_2_f): Likewise.
18178         (RUN_TEST_fff_f): Likewise.
18179         (RUN_TEST_LOOP_fff_f): Likewise.
18180         (RUN_TEST_c_f): Likewise.
18181         (RUN_TEST_LOOP_c_f): Likewise.
18182         (RUN_TEST_f_f1): Likewise.
18183         (RUN_TEST_LOOP_f_f1): Likewise.
18184         (RUN_TEST_fF_f1): Likewise.
18185         (RUN_TEST_LOOP_fF_f1): Likewise.
18186         (RUN_TEST_fI_f1): Likewise.
18187         (RUN_TEST_LOOP_fI_f1): Likewise.
18188         (RUN_TEST_ffI_f1): Likewise.
18189         (RUN_TEST_LOOP_ffI_f1): Likewise.
18190         (RUN_TEST_c_c): Likewise.
18191         (RUN_TEST_LOOP_c_c): Likewise.
18192         (RUN_TEST_cc_c): Likewise.
18193         (RUN_TEST_LOOP_cc_c): Likewise.
18194         (RUN_TEST_f_i): Likewise.
18195         (RUN_TEST_LOOP_f_i): Likewise.
18196         (RUN_TEST_f_i_tg): Likewise.
18197         (RUN_TEST_LOOP_f_i_tg): Likewise.
18198         (RUN_TEST_ff_i_tg): Likewise.
18199         (RUN_TEST_LOOP_ff_i_tg): Likewise.
18200         (RUN_TEST_f_b): Likewise.
18201         (RUN_TEST_LOOP_f_b): Likewise.
18202         (RUN_TEST_f_b_tg): Likewise.
18203         (RUN_TEST_LOOP_f_b_tg): Likewise.
18204         (RUN_TEST_f_l): Likewise.
18205         (RUN_TEST_LOOP_f_l): Likewise.
18206         (RUN_TEST_f_L): Likewise.
18207         (RUN_TEST_LOOP_f_L): Likewise.
18208         (RUN_TEST_sincos): Likewise.
18209         (RUN_TEST_LOOP_sincos): Likewise.
18210
18211 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
18212
18213         [BZ #15480]
18214         [BZ #15485]
18215         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18216         main case of finite arguments, set rounding mode to FE_TONEAREST
18217         and discard exceptions.
18218         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18219         exceptions.
18220         (remainder_tonearest_test_data): New variable.
18221         (remainder_test_tonearest): New function.
18222         (remainder_towardzero_test_data): New variable.
18223         (remainder_test_towardzero): New function.
18224         (remainder_downward_test_data): New variable.
18225         (remainder_test_downward): New function.
18226         (remainder_upward_test_data): New variable.
18227         (remainder_test_upward): New function.
18228         (main): Call the new test functions.
18229
18230         * math/libm-test.inc (struct test_f_f1_data): Remove field
18231         extra_init.
18232         (struct test_fF_f1_data): Likewise.
18233         (struct test_ffI_f1_data): Likewise.
18234         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
18235         based on value of EXTRA_EXPECTED.
18236         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18237         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
18238         EXTRA_VAR based on value of EXTRA_EXPECTED.
18239         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18240         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
18241         EXTRA_VAR based on value of EXTRA_EXPECTED.
18242         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18243         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
18244         EXTRA_VAR based on value of EXTRA_EXPECTED.
18245         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18246         * math/gen-libm-test.pl (parse_args): Don't output initializers
18247         for extra output values.
18248
18249         * math/libm-test.inc (check_int): Expect result to be exactly
18250         equal to expected value and do not handle ulps.
18251         (check_long): Likewise.
18252         (check_longlong): Likewise.
18253
18254         * math/libm-test.inc (ceil_test_data): Test for "inexact"
18255         exceptions.
18256         (cimag_test_data): Likewise.
18257         (conj_test_data): Likewise.
18258         (copysign_test_data): Likewise.
18259         (cproj_test_data): Likewise.
18260         (creal_test_data): Likewise.
18261         (fabs_test_data): Likewise.
18262         (fdim_test_data): Likewise.
18263         (finite_test_data): Likewise.
18264         (floor_test_data): Likewise.
18265         (fmax_test_data): Likewise.
18266         (fmin_test_data): Likewise.
18267         (fmod_test_data): Likewise.
18268         (fpclassify_test_data): Likewise.
18269         (frexp_test_data): Likewise.
18270         (ilogb_test_data): Likewise.
18271         (isfinite_test_data): Likewise.
18272         (isgreater_test_data): Likewise.
18273         (isgreaterequal_test_data): Likewise.
18274         (isinf_test_data): Likewise.
18275         (isless_test_data): Likewise.
18276         (islessequal_test_data): Likewise.
18277         (islessgreater_test_data): Likewise.
18278         (isnan_test_data): Likewise.
18279         (isnormal_test_data): Likewise.
18280         (issignaling_test_data): Likewise.
18281         (isunordered_test_data): Likewise.
18282         (ldexp_test_data): Likewise.
18283         (lrint_test_data): Likewise.
18284         (lrint_test_data) [TEST_FLOAT]: Disable one test.
18285         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18286         (lrint_tonearest_test_data): Test for "inexact" exceptions.
18287         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18288         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18289         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18290         test input.
18291         (lrint_towardzero_test_data): Test for "inexact" exceptions.
18292         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18293         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18294         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18295         that test input.
18296         (lrint_downward_test_data): Test for "inexact" exceptions.
18297         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18298         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18299         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18300         test input.
18301         (lrint_upward_test_data): Test for "inexact" exceptions.
18302         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18303         test input.
18304         (llrint_test_data): Test for "inexact" exceptions.
18305         (llrint_test_data) [TEST_FLOAT]: Disable one test.
18306         (llrint_tonearest_test_data): Test for "inexact" exceptions.
18307         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18308         (llrint_towardzero_test_data): Test for "inexact" exceptions.
18309         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18310         (llrint_downward_test_data): Test for "inexact" exceptions.
18311         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18312         (llrint_upward_test_data): Test for "inexact" exceptions.
18313         (logb_test_data): Likewise.
18314         (logb_downward_test_data): Likewise.
18315         (nextafter_test_data): Likewise.
18316         (nexttoward_test_data): Likewise.
18317         (remainder_test_data): Likewise.
18318         (remquo_test_data): Likewise.
18319         (scalbn_test_data): Likewise.
18320         (scalbln_test_data): Likewise.
18321         (signbit_test_data): Likewise.
18322         (sqrt_test_data): Likewise.
18323         (significand_test_data): Likewise.
18324
18325 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18326
18327         [BZ #15424]
18328         * benchtests/bench-modf.c (struct args): Mark arg0 as
18329         volatile.
18330         * scripts/bench.pl: Mark members of struct args as volatile.
18331
18332 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18333
18334         [BZ # 15497]
18335         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18336         negative infinity on POWER6 or lower.
18337         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18338
18339 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18340
18341         [BZ #15442]
18342         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18343         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18344         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18345         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18346         (_FP_SETQNAN): New macro.
18347         (_FP_SETQNAN_SEMIRAW): Likewise.
18348         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18349         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18350         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18351         (FP_EXTEND): Use _FP_FRAC_SNANP.
18352         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18353         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18354         into account.
18355         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18356         New macro.
18357         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18358         Likewise.
18359
18360 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18361
18362         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18363         with DIVIDE_BY_ZERO_EXCEPTION.
18364         (gamma_test_data): Likewise.
18365         (lgamma_test_data): Likewise.
18366         (log_test_data): Likewise.
18367         (log10_test_data): Likewise.
18368         (log2_test_data): Likewise.
18369         (tgamma_test_data): Likewise.
18370
18371         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18372         (acos_test_tonearest): Likewise.
18373         (acos_test_towardzero): Likewise.
18374         (acos_test_downward): Likewise.
18375         (acos_test_upward): Likewise.
18376         (acosh_test): Likewise.
18377         (asin_test): Likewise.
18378         (asin_test_tonearest): Likewise.
18379         (asin_test_towardzero): Likewise.
18380         (asin_test_downward): Likewise.
18381         (asin_test_upward): Likewise.
18382         (asinh_test): Likewise.
18383         (atan_test): Likewise.
18384         (atanh_test): Likewise.
18385         (atan2_test): Likewise.
18386         (cabs_test): Likewise.
18387         (cacos_test): Likewise.
18388         (cacosh_test): Likewise.
18389         (casin_test): Likewise.
18390         (casinh_test): Likewise.
18391         (catan_test): Likewise.
18392         (catanh_test): Likewise.
18393         (cbrt_test): Likewise.
18394         (ccos_test): Likewise.
18395         (ccosh_test): Likewise.
18396         (cexp_test): Likewise.
18397         (clog_test): Likewise.
18398         (clog10_test): Likewise.
18399         (cos_test): Likewise.
18400         (cos_test_tonearest): Likewise.
18401         (cos_test_towardzero): Likewise.
18402         (cos_test_downward): Likewise.
18403         (cos_test_upward): Likewise.
18404         (cosh_test): Likewise.
18405         (cosh_test_tonearest): Likewise.
18406         (cosh_test_towardzero): Likewise.
18407         (cosh_test_downward): Likewise.
18408         (cosh_test_upward): Likewise.
18409         (cpow_test): Likewise.
18410         (csin_test): Likewise.
18411         (csinh_test): Likewise.
18412         (csqrt_test): Likewise.
18413         (ctan_test): Likewise.
18414         (ctan_test_tonearest): Likewise.
18415         (ctan_test_towardzero): Likewise.
18416         (ctan_test_downward): Likewise.
18417         (ctan_test_upward): Likewise.
18418         (ctanh_test): Likewise.
18419         (ctanh_test_tonearest): Likewise.
18420         (ctanh_test_towardzero): Likewise.
18421         (ctanh_test_downward): Likewise.
18422         (ctanh_test_upward): Likewise.
18423         (erf_test): Likewise.
18424         (erfc_test): Likewise.
18425         (exp_test): Likewise.
18426         (exp_test_tonearest): Likewise.
18427         (exp_test_towardzero): Likewise.
18428         (exp_test_downward): Likewise.
18429         (exp_test_upward): Likewise.
18430         (exp10_test): Likewise.
18431         (exp2_test): Likewise.
18432         (expm1_test): Likewise.
18433         (fmod_test): Likewise.
18434         (gamma_test): Likewise.
18435         (hypot_test): Likewise.
18436         (j0_test): Likewise.
18437         (j1_test): Likewise.
18438         (jn_test): Likewise.
18439         (lgamma_test): Likewise.
18440         (log_test): Likewise.
18441         (log10_test): Likewise.
18442         (log1p_test): Likewise.
18443         (log2_test): Likewise.
18444         (logb_test_downward): Likewise.
18445         (pow_test): Likewise.
18446         (pow_test_tonearest): Likewise.
18447         (pow_test_towardzero): Likewise.
18448         (pow_test_downward): Likewise.
18449         (pow_test_upward): Likewise.
18450         (remainder_test): Likewise.
18451         (remquo_test): Likewise.
18452         (sin_test): Likewise.
18453         (sin_test_tonearest): Likewise.
18454         (sin_test_towardzero): Likewise.
18455         (sin_test_downward): Likewise.
18456         (sin_test_upward): Likewise.
18457         (sincos_test): Likewise.
18458         (sinh_test): Likewise.
18459         (sinh_test_tonearest): Likewise.
18460         (sinh_test_towardzero): Likewise.
18461         (sinh_test_downward): Likewise.
18462         (sinh_test_upward): Likewise.
18463         (sqrt_test): Likewise.
18464         (tan_test): Likewise.
18465         (tan_test_tonearest): Likewise.
18466         (tan_test_towardzero): Likewise.
18467         (tan_test_downward): Likewise.
18468         (tan_test_upward): Likewise.
18469         (tanh_test): Likewise.
18470         (tgamma_test): Likewise.
18471         (y0_test): Likewise.
18472         (y1_test): Likewise.
18473         (yn_test): Likewise.
18474
18475         * math/gen-libm-test.pl (adjust_arg): Remove function.
18476         (special_function): Remove argument $in_func.  Only handle
18477         generating output for tables of tests, not inside functions.
18478         (parse_args): Likewise.
18479         (generate_testfile): Remove variable $in_func.  Update call to
18480         parse_args.
18481         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18482         (MINUS_ZERO_INIT): Rename macro to minus_zero.
18483         (PLUS_INFTY_INIT): Rename macro to plus_infty.
18484         (MINUS_INFTY_INIT): Rename macro to minus_infty.
18485         (QNAN_VALUE_INIT): Rename macro to qnan_value.
18486         (MAX_VALUE_INIT): Rename macro to max_value.
18487         (MIN_VALUE_INIT): Rename macro to min_value.
18488         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18489         (plus_zero): Remove variable.
18490         (minus_zero): Likewise.
18491         (plus_infty): Likewise.
18492         (minus_infty): Likewise.
18493         (qnan_value): Likewise.
18494         (max_value): Likewise.
18495         (min_value): Likewise.
18496         (min_subnorm_value): Likewise.
18497
18498 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18499
18500         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18501         uint64_t or uint32_t usage.
18502         * crypt/sha256-block.c: Likewise.
18503         * crypt/sha256-crypt.c: Likewise.
18504         * crypt/sha256.c: Likewise.
18505         * crypt/sha512-block.c: Likewise.
18506         * crypt/sha512-crypt.c: Likewise.
18507         * crypt/sha512.c: Likewise.
18508         * debug/backtrace-tst.c: Likewise.
18509         * debug/pcprofiledump.c: Likewise.
18510         * elf/cache.c: Likewise.
18511         * elf/dl-cache.c: Likewise.
18512         * elf/dl-misc.c: Likewise.
18513         * elf/dl-profile.c: Likewise.
18514         * elf/dl-support.c: Likewise.
18515         * elf/ldconfig.c: Likewise.
18516         * elf/sprof.c: Likewise.
18517         * iconv/dummy-repertoire.c: Likewise.
18518         * iconv/iconv_charmap.c: Likewise.
18519         * iconv/skeleton.c: Likewise.
18520         * iconvdata/8bit-generic.c: Likewise.
18521         * iconvdata/cp737.h: Likewise.
18522         * iconvdata/cp775.h: Likewise.
18523         * iconvdata/ibm1008.h: Likewise.
18524         * iconvdata/ibm1025.h: Likewise.
18525         * iconvdata/ibm1046.h: Likewise.
18526         * iconvdata/ibm1097.h: Likewise.
18527         * iconvdata/ibm1112.h: Likewise.
18528         * iconvdata/ibm1122.h: Likewise.
18529         * iconvdata/ibm1123.h: Likewise.
18530         * iconvdata/ibm1124.h: Likewise.
18531         * iconvdata/ibm1129.h: Likewise.
18532         * iconvdata/ibm1130.h: Likewise.
18533         * iconvdata/ibm1132.h: Likewise.
18534         * iconvdata/ibm1133.h: Likewise.
18535         * iconvdata/ibm1137.h: Likewise.
18536         * iconvdata/ibm1140.h: Likewise.
18537         * iconvdata/ibm1141.h: Likewise.
18538         * iconvdata/ibm1142.h: Likewise.
18539         * iconvdata/ibm1143.h: Likewise.
18540         * iconvdata/ibm1144.h: Likewise.
18541         * iconvdata/ibm1145.h: Likewise.
18542         * iconvdata/ibm1146.h: Likewise.
18543         * iconvdata/ibm1147.h: Likewise.
18544         * iconvdata/ibm1148.h: Likewise.
18545         * iconvdata/ibm1149.h: Likewise.
18546         * iconvdata/ibm1153.h: Likewise.
18547         * iconvdata/ibm1154.h: Likewise.
18548         * iconvdata/ibm1155.h: Likewise.
18549         * iconvdata/ibm1156.h: Likewise.
18550         * iconvdata/ibm1157.h: Likewise.
18551         * iconvdata/ibm1158.h: Likewise.
18552         * iconvdata/ibm1160.h: Likewise.
18553         * iconvdata/ibm1161.h: Likewise.
18554         * iconvdata/ibm1162.h: Likewise.
18555         * iconvdata/ibm1163.h: Likewise.
18556         * iconvdata/ibm1164.h: Likewise.
18557         * iconvdata/ibm1166.h: Likewise.
18558         * iconvdata/ibm1167.h: Likewise.
18559         * iconvdata/ibm12712.h: Likewise.
18560         * iconvdata/ibm1390.h: Likewise.
18561         * iconvdata/ibm1399.h: Likewise.
18562         * iconvdata/ibm16804.h: Likewise.
18563         * iconvdata/ibm4517.h: Likewise.
18564         * iconvdata/ibm4899.h: Likewise.
18565         * iconvdata/ibm4909.h: Likewise.
18566         * iconvdata/ibm4971.h: Likewise.
18567         * iconvdata/ibm5347.h: Likewise.
18568         * iconvdata/ibm803.h: Likewise.
18569         * iconvdata/ibm856.h: Likewise.
18570         * iconvdata/ibm901.h: Likewise.
18571         * iconvdata/ibm902.h: Likewise.
18572         * iconvdata/ibm9030.h: Likewise.
18573         * iconvdata/ibm9066.h: Likewise.
18574         * iconvdata/ibm921.h: Likewise.
18575         * iconvdata/ibm922.h: Likewise.
18576         * iconvdata/ibm9448.h: Likewise.
18577         * iconvdata/isiri-3342.h: Likewise.
18578         * iconvdata/jis0201.h: Likewise.
18579         * include/link.h: Likewise.
18580         * include/netdb.h: Likewise.
18581         * inet/check_native.c: Likewise.
18582         * inet/check_pf.c: Likewise.
18583         * inet/getipv4sourcefilter.c: Likewise.
18584         * inet/getnameinfo.c: Likewise.
18585         * inet/getsourcefilter.c: Likewise.
18586         * inet/htonl.c: Likewise.
18587         * inet/setipv4sourcefilter.c: Likewise.
18588         * inet/setsourcefilter.c: Likewise.
18589         * inet/test-inet6_opt.c: Likewise.
18590         * inet/tst-network.c: Likewise.
18591         * locale/C-collate.c: Likewise.
18592         * locale/C-ctype.c: Likewise.
18593         * locale/C-time.c: Likewise.
18594         * locale/C-translit.h: Likewise.
18595         * locale/loadarchive.c: Likewise.
18596         * locale/programs/3level.h: Likewise.
18597         * locale/programs/charmap.c: Likewise.
18598         * locale/programs/charmap.h: Likewise.
18599         * locale/programs/ld-address.c: Likewise.
18600         * locale/programs/ld-collate.c: Likewise.
18601         * locale/programs/ld-ctype.c: Likewise.
18602         * locale/programs/ld-identification.c: Likewise.
18603         * locale/programs/ld-measurement.c: Likewise.
18604         * locale/programs/ld-messages.c: Likewise.
18605         * locale/programs/ld-monetary.c: Likewise.
18606         * locale/programs/ld-name.c: Likewise.
18607         * locale/programs/ld-numeric.c: Likewise.
18608         * locale/programs/ld-paper.c: Likewise.
18609         * locale/programs/ld-telephone.c: Likewise.
18610         * locale/programs/ld-time.c: Likewise.
18611         * locale/programs/linereader.c: Likewise.
18612         * locale/programs/locale.c: Likewise.
18613         * locale/programs/locarchive.c: Likewise.
18614         * locale/programs/locfile.h: Likewise.
18615         * locale/programs/repertoire.c: Likewise.
18616         * locale/programs/simple-hash.c: Likewise.
18617         * locale/programs/simple-hash.h: Likewise.
18618         * malloc/memusage.c: Likewise.
18619         * malloc/memusagestat.c: Likewise.
18620         * nis/nis_defaults.c: Likewise.
18621         * nis/nis_hash.c: Likewise.
18622         * nis/nis_print.c: Likewise.
18623         * nis/nis_xdr.c: Likewise.
18624         * nscd/connections.c: Likewise.
18625         * nscd/hstcache.c: Likewise.
18626         * nscd/nscd_gethst_r.c: Likewise.
18627         * nscd/nscd_getserv_r.c: Likewise.
18628         * nscd/nscd_helper.c: Likewise.
18629         * nscd/servicescache.c: Likewise.
18630         * nss/makedb.c: Likewise.
18631         * nss/nss_db/db-XXX.c: Likewise.
18632         * nss/nss_db/db-initgroups.c: Likewise.
18633         * nss/nss_db/db-netgrp.c: Likewise.
18634         * nss/nss_files/files-network.c: Likewise.
18635         * nss/nss_files/files-parse.c: Likewise.
18636         * posix/bug-regex5.c: Likewise.
18637         * posix/fnmatch_loop.c: Likewise.
18638         * posix/regcomp.c: Likewise.
18639         * posix/regexec.c: Likewise.
18640         * posix/tst-rfc3484-2.c: Likewise.
18641         * posix/tst-rfc3484-3.c: Likewise.
18642         * posix/tst-rfc3484.c: Likewise.
18643         * resolv/nss_dns/dns-canon.c: Likewise.
18644         * resolv/nss_dns/dns-network.c: Likewise.
18645         * resolv/res_init.c: Likewise.
18646         * resolv/res_mkquery.c: Likewise.
18647         * resolv/tst-aton.c: Likewise.
18648         * stdlib/cxa_atexit.c: Likewise.
18649         * stdlib/cxa_finalize.c: Likewise.
18650         * stdlib/gen-fpioconst.c: Likewise.
18651         * stdlib/strtol_l.c: Likewise.
18652         * string/tst-endian.c: Likewise.
18653         * sunrpc/auth_des.c: Likewise.
18654         * sunrpc/clnt_udp.c: Likewise.
18655         * sunrpc/rtime.c: Likewise.
18656         * sunrpc/svcauth_des.c: Likewise.
18657         * sunrpc/xdr.c: Likewise.
18658         * sunrpc/xdr_intXX_t.c: Likewise.
18659         * sunrpc/xdr_rec.c: Likewise.
18660         * sysdeps/generic/ldconfig.h: Likewise.
18661         * sysdeps/generic/ldsodefs.h: Likewise.
18662         * sysdeps/generic/memusage.h: Likewise.
18663         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18664         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18665         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18666         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18667         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18668         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18669         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18670         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18671         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18672         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18673         * sysdeps/posix/getaddrinfo.c: Likewise.
18674         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18675         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18676         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18677         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18678         * sysdeps/powerpc/test-gettimebase.c: Likewise.
18679         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18680         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18681         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18682         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18683         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18684         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18685         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18686         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18687         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18688         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18689         * sysdeps/x86_64/dl-tls.h: Likewise.
18690         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18691         * time/alt_digit.c: Likewise.
18692         * time/era.c: Likewise.
18693         * wcsmbs/tst-c16c32-1.c: Likewise.
18694
18695 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18696
18697         * math/libm-test.inc (struct test_sincos_data): New type.
18698         (RUN_TEST_LOOP_sincos): New macro.
18699         (sincos_test_data): New variable.
18700         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18701
18702 2013-05-16  Richard Henderson  <rth@redhat.com>
18703
18704         * math/atest-exp2.c (LIMB64): New macro.
18705         (CONSTSZ): New macro.
18706         (mp_exp1, mp_exp_m1, mp_log2): New variables.
18707         (hexdig): Move ...
18708         (print_mpn_fp): ... to function scope.
18709         (read_mpn_hex): Remove.
18710         (get_log2): Remove.
18711         (exp2_mpn): Use mp_log2.
18712         (main): Use mp_exp1.
18713
18714 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18715
18716         * math/libm-test.inc: Remove comment about not testing "inexact"
18717         exceptions.
18718         (INEXACT_EXCEPTION): New macro.
18719         (NO_INEXACT_EXCEPTION): Likewise.
18720         (INVALID_EXCEPTION_OK): Update value.
18721         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18722         (OVERFLOW_EXCEPTION_OK): Likewise.
18723         (UNDERFLOW_EXCEPTION_OK): Likewise.
18724         (IGNORE_ZERO_INF_SIGN): Likewise.
18725         (ERRNO_UNCHANGED): Likewise.
18726         (ERRNO_EDOM): Likewise.
18727         (ERRNO_ERANGE): Likewise.
18728         (test_exceptions): Handle testing "inexact" exceptions.
18729         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18730         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18731         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18732         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18733         INEXACT_EXCEPTION.
18734         (rint_towardzero_test_data): Likewise.
18735         (rint_downward_test_data): Likewise.
18736         (rint_upward_test_data): Likewise.
18737
18738         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18739         with OVERFLOW_EXCEPTION.
18740         (exp10_test_data): Likewise.
18741         (exp2_test_data): Likewise.
18742         (expm1_test_data): Likewise.
18743         (lgamma_test_data): Likewise.
18744         (pow_test_data): Likewise.
18745         (tgamma_test_data): Likewise.
18746         (yn_test_data): Remove duplicate test of overflow.
18747
18748         * math/libm-test.inc (struct test_cc_c_data): New type.
18749         (RUN_TEST_LOOP_cc_c): New macro.
18750         (cpow_test_data): New variable.
18751         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18752
18753         * math/libm-test.inc (struct test_f_L_data): New type.
18754         (RUN_TEST_LOOP_f_L): New macro.
18755         (llrint_test_data): New variable.
18756         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18757         (llrint_tonearest_test_data): New variable.
18758         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18759         (llrint_towardzero_test_data): New variable.
18760         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18761         (llrint_downward_test_data): New variable.
18762         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18763         (llrint_upward_test_data): New variable.
18764         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18765         (llround_test_data): New variable.
18766         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18767
18768 2013-05-13  Peter Collingbourne  <pcc@google.com>
18769
18770         * math/atest-exp2.c (get_log2): Remove const attribute.
18771
18772 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
18773
18774         * math/libm-test.inc (struct test_f_l_data): New type.
18775         (RUN_TEST_LOOP_f_l): New macro.
18776         (lrint_test_data): New variable.
18777         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18778         (lrint_tonearest_test_data): New variable.
18779         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18780         (lrint_towardzero_test_data): New variable.
18781         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18782         (lrint_downward_test_data): New variable.
18783         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18784         (lrint_upward_test_data): New variable.
18785         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18786         (lround_test_data): New variable.
18787         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18788
18789 2013-05-15  Peter Collingbourne  <pcc@google.com>
18790
18791         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18792         (EXTRACT_WORDS64) Use where appropriate.
18793         (INSERT_WORDS64) Likewise.
18794
18795         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18796         constraints with x constraints.
18797         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18798
18799         * malloc/obstack.c (_obstack_compat): Add initializer.
18800
18801 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18802
18803         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18804         si_trapno and add si_addr_lsb to _sifields.sigfault.
18805         (si_trapno): Remove macro.
18806         (si_addr_lsb): Define new macro.
18807         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18808
18809 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
18810
18811         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18812         instead of TEST_f_l.
18813         (llrint_test_tonearest): Likewise.
18814         (llrint_test_towardzero): Likewise.
18815         (llrint_test_downward): Likewise.
18816         (llrint_test_upward): Likewise.
18817         (llround_test): Likewise.
18818
18819         * math/libm-test.inc (struct test_f_i_data): Add comment.
18820         (RUN_TEST_LOOP_f_b): New macro.
18821         (RUN_TEST_LOOP_f_b_tg): Likewise.
18822         (finite_test_data): New variable.
18823         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18824         (isfinite_test_data): New variable.
18825         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18826         (isinf_test_data): New variable.
18827         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18828         (isnan_test_data): New variable.
18829         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18830         (isnormal_test_data): New variable.
18831         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18832         (issignaling_test_data): New variable.
18833         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18834         (signbit_test_data): New variable.
18835         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18836
18837         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18838         with INVALID_EXCEPTION.
18839         (acosh_test_data): Likewise.
18840         (asin_test_data): Likewise.
18841         (atanh_test_data): Likewise.
18842         (fmod_test_data): Likewise.
18843         (log_test_data): Likewise.
18844         (log10_test_data): Likewise.
18845         (log2_test_data): Likewise.
18846         (pow_test_data): Likewise.
18847         (sqrt_test_data): Likewise.
18848         (y0_test_data): Likewise.
18849         (y1_test_data): Likewise.
18850         (yn_test_data): Likewise.
18851
18852         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18853         function contents.
18854
18855         * math/libm-test.inc (struct test_ff_i_data): New type.
18856         (RUN_TEST_LOOP_ff_i_tg): New macro.
18857         (isgreater_test_data): New variable.
18858         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18859         (isgreaterequal_test_data): New variable.
18860         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18861         (isless_test_data): New variable.
18862         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18863         (islessequal_test_data): New variable.
18864         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18865         (islessgreater_test_data): New variable.
18866         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18867         (isunordered_test_data): New variable.
18868         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18869
18870 2013-05-14  David S. Miller  <davem@davemloft.net>
18871
18872         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18873
18874 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
18875
18876         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18877
18878         * math/libm-test.inc (struct test_fF_f1_data): Change type of
18879         extra_test to int.
18880         (struct test_f_i_data): Change type of max_ulp to int.
18881
18882         * math/libm-test.inc (test_ffI_f1_data): New type.
18883         (RUN_TEST_LOOP_ffI_f1): New macro.
18884         (remquo_test_data): New variable.
18885         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18886
18887         * setjmp/tst-setjmp-fp.c: New file.
18888         * setjmp/Makefile (tests): Add tst-setjmp-fp.
18889         (link-libm): New variable.
18890         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18891
18892         * math/libm-test.inc (struct test_f_i_data): New type.
18893         (RUN_TEST_LOOP_f_i): New macro.
18894         (RUN_TEST_LOOP_f_i_tg): Likewise.
18895         (fpclassify_test_data): New variable.
18896         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18897         (ilogb_test_data): New variable.
18898         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18899
18900         * math/libm-test.inc (scalbln_test): Correct function name in END
18901         call.
18902
18903         * math/libm-test.inc (struct test_f_f1_data): Add comment.
18904         (RUN_TEST_LOOP_fI_f1): New macro.
18905         (frexp_test_data): New variable.
18906         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18907
18908         * math/libm-test.inc (struct test_fF_f1_data): New type.
18909         (RUN_TEST_LOOP_fF_f1): New macro.
18910         (modf_test_data): New variable.
18911         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18912
18913         * math/libm-test.inc (struct test_f_f1_data): New type.
18914         (RUN_TEST_LOOP_f_f1): New macro.
18915         (gamma_test_data): New variable.
18916         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18917         (lgamma_test_data): New variable.
18918         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18919
18920 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
18921
18922         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18923         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18924         (main): Comment "tls" pseudo-hwcap.
18925
18926 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
18927
18928         * math/libm-test.inc (struct test_fl_f_data): New type.
18929         (RUN_TEST_LOOP_fl_f): New variable.
18930         (scalbln_test_data): New variable.
18931         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18932
18933         * math/libm-test.inc (struct test_fi_f_data): New type.
18934         (RUN_TEST_LOOP_fi_f): New macro.
18935         (ldexp_test_data): New variable.
18936         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18937         (scalbn_test_data): New variable.
18938         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18939
18940         * math/libm-test.inc (struct test_c_f_data): New type.
18941         (RUN_TEST_LOOP_c_f): New macro.
18942         (cabs_test_data): New variable.
18943         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18944         (carg_test_data): New variable.
18945         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18946         (cimag_test_data): New variable.
18947         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18948         (creal_test_data): New variable.
18949         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18950
18951         * math/libm-test.inc (struct test_if_f_data): New type.
18952         (RUN_TEST_LOOP_if_f): New macro.
18953         (jn_test_data): New variable.
18954         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18955         (yn_test_data): New variable.
18956         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18957
18958         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18959
18960 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18961
18962         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18963         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18964
18965 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18966
18967         * benchtests/Makefile (CPPFLAGS-nonlib): Add
18968         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18969         (bench-deps): Add bench-timing.h.
18970         * benchtests-bench-skeleton.c: Include bench-timing.h.
18971         (main): Use TIMING_* macros instead of clock_gettime.
18972         * benchtests/bench-timing.h: New file.
18973
18974         [BZ #14582]
18975         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18976         Renamed from _LIB_VERSION.
18977         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18978
18979 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
18980
18981         * math/libm-test.inc (struct test_fff_f_data): New type.
18982         (RUN_TEST_LOOP_fff_f): New macro.
18983         (fma_test_data): New variable.
18984         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18985         (fma_towardzero_test_data): New variable.
18986         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18987         (fma_downward_test_data): New variable.
18988         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18989         (fma_upward_test_data): New variable.
18990         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18991
18992         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18993         (struct test_c_c_data): New type.
18994         (RUN_TEST_LOOP_c_c): New macro.
18995         (cacos_test_data): New variable.
18996         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18997         (cacosh_test_data): New variable.
18998         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18999         (casin_test_data): New variable.
19000         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19001         (casinh_test_data): New variable.
19002         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19003         (catan_test_data): New variable.
19004         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19005         (catanh_test_data): New variable.
19006         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19007         (ccos_test_data): New variable.
19008         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19009         (ccosh_test_data): New variable.
19010         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19011         (cexp_test_data): New variable.
19012         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19013         (clog_test_data): New variable.
19014         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19015         (clog10_test_data): New variable.
19016         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19017         (conj_test_data): New variable.
19018         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19019         (cproj_test_data): New variable.
19020         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19021         (csin_test_data): New variable.
19022         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19023         (csinh_test_data): New variable.
19024         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19025         (csqrt_test_data): New variable.
19026         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19027         (ctan_test_data): New variable.
19028         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19029         (ctan_tonearest_test_data): New variable.
19030         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19031         (ctan_towardzero_test_data): New variable.
19032         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19033         (ctan_downward_test_data): New variable.
19034         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19035         (ctan_upward_test_data): New variable.
19036         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19037         (ctanh_test_data): New variable.
19038         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19039         (ctanh_tonearest_test_data): New variable.
19040         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19041         (ctanh_towardzero_test_data): New variable.
19042         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19043         (ctanh_downward_test_data): New variable.
19044         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19045         (ctanh_upward_test_data): New variable.
19046         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19047         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19048         of BUILD_COMPLEX.
19049
19050         * math/libm-test.inc (struct test_ff_f_data): New type.
19051         (struct test_ff_f_data_nexttoward): Likewise.
19052         (RUN_TEST_LOOP_2_f): New macro.
19053         (RUN_TEST_LOOP_ff_f): Likewise.
19054         (atan2_test_data): New variable.
19055         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19056         (copysign_test_data): New variable.
19057         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19058         (fdim_test_data): New variable.
19059         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19060         (fmax_test_data): New variable.
19061         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19062         (fmin_test_data): New variable.
19063         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19064         (fmod_test_data): New variable.
19065         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19066         (hypot_test_data): New variable.
19067         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19068         (nextafter_test_data): New variable.
19069         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19070         (nexttoward_test_data): New variable.
19071         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19072         (pow_test_data): New variable.
19073         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19074         (pow_tonearest_test_data): New variable.
19075         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19076         (pow_towardzero_test_data): New variable.
19077         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19078         (pow_downward_test_data): New variable.
19079         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19080         (pow_upward_test_data): New variable.
19081         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19082         (remainder_test_data): New variable.
19083         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19084         (scalb_test_data): New variable.
19085         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19086         * sysdeps/i386/fpu/libm-test-ulps: Update.
19087
19088 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
19089
19090         * math/libm-test.inc (fma_test): Use max_value instead of local
19091         variable fltmax.
19092         (nextafter_test): Likewise.
19093
19094         * math/libm-test.inc (acos_towardzero_test_data): New variable.
19095         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19096         (acos_downward_test_data): New variable.
19097         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19098         (acos_upward_test_data): New variable.
19099         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19100         (acosh_test_data): New variable.
19101         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19102         (asin_test_data): New variable.
19103         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19104         (asin_tonearest_test_data): New variable.
19105         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19106         (asin_towardzero_test_data): New variable.
19107         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19108         (asin_downward_test_data): New variable.
19109         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19110         (asin_upward_test_data): New variable.
19111         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19112         (asinh_test_data): New variable.
19113         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19114         (atan_test_data): New variable.
19115         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19116         (atanh_test_data): New variable.
19117         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19118         (cbrt_test_data): New variable.
19119         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19120         (ceil_test_data): New variable.
19121         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19122         (cos_test_data): New variable.
19123         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19124         (cos_tonearest_test_data): New variable.
19125         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19126         (cos_towardzero_test_data): New variable.
19127         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19128         (cos_downward_test_data): New variable.
19129         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19130         (cos_upward_test_data): New variable.
19131         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19132         (cosh_test_data): New variable.
19133         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19134         (cosh_tonearest_test_data): New variable.
19135         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19136         (cosh_towardzero_test_data): New variable.
19137         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19138         (cosh_downward_test_data): New variable.
19139         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19140         (cosh_upward_test_data): New variable.
19141         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19142         (erf_test_data): New variable.
19143         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19144         (erfc_test_data): New variable.
19145         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19146         (exp_test_data): New variable.
19147         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19148         (exp_tonearest_test_data): New variable.
19149         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19150         (exp_towardzero_test_data): New variable.
19151         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19152         (exp_downward_test_data): New variable.
19153         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19154         (exp_upward_test_data): New variable.
19155         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19156         (exp10_test_data): New variable.
19157         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19158         (exp2_test_data): New variable.
19159         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19160         (expm1_test_data): New variable.
19161         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19162         (fabs_test_data): New variable.
19163         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19164         (floor_test_data): New variable.
19165         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19166         (j0_test_data): New variable.
19167         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19168         (j1_test_data): New variable.
19169         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19170         (log_test_data): New variable.
19171         (log_test): Run tests with RUN_TEST_LOOP_f_f.
19172         (log10_test_data): New variable.
19173         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19174         (log1p_test_data): New variable.
19175         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19176         (log2_test_data): New variable.
19177         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19178         (logb_test_data): New variable.
19179         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19180         (logb_downward_test_data): New variable.
19181         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19182         (nearbyint_test_data): New variable.
19183         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19184         (rint_test_data): New variable.
19185         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19186         (rint_tonearest_test_data): New variable.
19187         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19188         (rint_towardzero_test_data): New variable.
19189         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19190         (rint_downward_test_data): New variable.
19191         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19192         (rint_upward_test_data): New variable.
19193         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19194         (round_test_data): New variable.
19195         (round_test): Run tests with RUN_TEST_LOOP_f_f.
19196         (sin_test_data): New variable.
19197         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19198         (sin_tonearest_test_data): New variable.
19199         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19200         (sin_towardzero_test_data): New variable.
19201         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19202         (sin_downward_test_data): New variable.
19203         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19204         (sin_upward_test_data): New variable.
19205         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19206         (sinh_test_data): New variable.
19207         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19208         (sinh_tonearest_test_data): New variable.
19209         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19210         (sinh_towardzero_test_data): New variable.
19211         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19212         (sinh_downward_test_data): New variable.
19213         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19214         (sinh_upward_test_data): New variable.
19215         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19216         (sqrt_test_data): New variable.
19217         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19218         (tan_test_data): New variable.
19219         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19220         (tan_tonearest_test_data): New variable.
19221         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19222         (tan_towardzero_test_data): New variable.
19223         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19224         (tan_downward_test_data): New variable.
19225         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19226         (tan_upward_test_data): New variable.
19227         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19228         (tanh_test_data): New variable.
19229         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19230         (tgamma_test_data): New variable.
19231         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19232         (trunc_test_data): New variable.
19233         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19234         (y0_test_data): New variable.
19235         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19236         (y1_test_data): New variable.
19237         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19238         (significand_test_data): New variable.
19239         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19240
19241 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
19242
19243         [BZ #12387]
19244         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19245
19246 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19247
19248         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19249
19250 2013-05-10  Andreas Jaeger  <aj@suse.de>
19251
19252         [BZ #15448]
19253         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19254         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19255
19256 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19257
19258         * math/gen-libm-test.pl (adjust_arg): New function.
19259         (special_functions): Handle generating output in both functions
19260         and arrays.
19261         (parse_args): Likewise.
19262         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
19263         $in_func argument to parse_args.
19264         * math/libm-test.inc (struct test_f_f_data): New type.
19265         (IF_ROUND_INIT_): New macro.
19266         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19267         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19268         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19269         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19270         (ROUND_RESTORE_): Likewise.
19271         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19272         (ROUND_RESTORE_FE_TONEAREST): Likewise.
19273         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19274         (ROUND_RESTORE_FE_UPWARD): Likewise.
19275         (RUN_TEST_LOOP_f_f): New macro.
19276         (acos_test_data): New variable.
19277         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19278         (acos_tonearest_test_data): New variable.
19279         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19280
19281 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19282
19283         * benchtests/bench-skeleton.c (startup): Fix coding style.
19284
19285 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19286
19287         [BZ #6809]
19288         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19289         negative infinity argument.
19290         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19291         negative infinity argument.
19292         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19293         negative infinity argument.
19294         * math/libm-test.inc (tgamma_test): Expect errno to be set for
19295         domain errors.
19296
19297 2013-05-10  Florian Weimer  <fweimer@redhat.com>
19298
19299         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19300         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19301         * iconv/iconv_prog.c (main): Likewise.
19302         * locale/programs/charmap-dir.c (charmap_readdir)
19303         (fopen_uncompressed): Likewise.
19304         * locale/programs/locfile.c (siblings_uncached)
19305         (write_locale_data): Use lstat64 instead of lstat.
19306         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19307         stat.
19308
19309 2013-05-10  Andreas Jaeger  <aj@suse.de>
19310
19311         [BZ #15395]
19312         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19313         localization.
19314         Include <locale.h>.
19315
19316 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
19317
19318         * elf/dl-close.c (_dl_close_worker): Add comments.
19319
19320 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
19321
19322         [BZ #15359]
19323         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19324         high part of pi/2.
19325         (__ieee754_rem_pio2l): Update comments.
19326
19327         [BZ #15429]
19328         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19329         high part of pi/2.
19330         (__ieee754_rem_pio2l): Update comments.
19331
19332         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19333         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19334
19335         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19336         M_PI_4l.
19337
19338         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19339         (M_PI_34_LOG10El): Likewise.
19340         (M_PI2_LOG10El): Likewise.
19341         (M_PI4_LOG10El): Likewise.
19342         (M_PI_LOG10El): Likewise.
19343
19344 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19345
19346         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19347
19348 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
19349
19350         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19351         (MINUS_ZERO_INIT): Likewise.
19352         (PLUS_INFTY_INIT): Likewise.
19353         (MINUS_INFTY_INIT): Likewise.
19354         (QNAN_VALUE_INIT): Likewise.
19355         (MAX_VALUE_INIT): Likewise.
19356         (MIN_VALUE_INIT): Likewise.
19357         (MIN_SUBNORM_VALUE_INIT): Likewise.
19358         (plus_zero): Initialize with PLUS_ZERO_INIT.
19359         (minus_zero): Initialize with MINUS_ZERO_INIT.
19360         (plus_infty): Initialize with PLUS_INFTY_INIT.
19361         (minus_infty): Initialize with MINUS_INFTY_INIT.
19362         (qnan_value): Initialize with QNAN_VALUE_INIT.
19363         (max_value): Initialize with MAX_VALUE_INIT.
19364         (min_value): Initialize with MIN_VALUE_INIT.
19365         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19366
19367         * math/libm-test.inc (RUN_TEST_if_f): New macro.
19368         (jn_test): Use TEST_if_f instead of TEST_ff_f.
19369         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19370         (yn_test): Use TEST_if_f instead of TEST_ff_f.
19371
19372         * math/libm-test.inc (RUN_TEST_f_f): New macro.
19373         (RUN_TEST_2_f): Likewise.
19374         (RUN_TEST_ff_f): Likewise.
19375         (RUN_TEST_fi_f): Likewise.
19376         (RUN_TEST_fl_f): Likewise.
19377         (RUN_TEST_fff_f): Likewise.
19378         (RUN_TEST_c_f): Likewise.
19379         (RUN_TEST_f_f1): Likewise.
19380         (RUN_TEST_fF_f1): Likewise.
19381         (RUN_TEST_fI_f1): Likewise.
19382         (RUN_TEST_ffI_f1): Likewise.
19383         (RUN_TEST_c_c): Likewise.
19384         (RUN_TEST_cc_c): Likewise.
19385         (RUN_TEST_f_i): Likewise.
19386         (RUN_TEST_f_i_tg): Likewise.
19387         (RUN_TEST_ff_i_tg): Likewise.
19388         (RUN_TEST_f_b): Likewise.
19389         (RUN_TEST_f_b_tg): Likewise.
19390         (RUN_TEST_f_l): Likewise.
19391         (RUN_TEST_f_L): Likewise.
19392         (RUN_TEST_sincos): Likewise.
19393         * math/gen-libm-test.pl (new_test): Take new argument to indicate
19394         whether to show exceptions.  Do not include ");\n" in return
19395         value.
19396         (special_functions): Output call to RUN_TEST_sincos instead of
19397         check_float calls.  Update calls to new_test.
19398         (parse_args): Output call to single RUN_TEST_* macro instead of
19399         check_* calls and other assignments.  Update calls to new_test.
19400
19401         [BZ #2546]
19402         [BZ #2560]
19403         [BZ #5159]
19404         [BZ #15426]
19405         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19406         input to result for tgamma overflow.
19407         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19408         (gamma_coeff): New variable.
19409         (NCOEFF): New macro.
19410         (gamma_positive): New function.
19411         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19412         underflow here.  Use gamma_positive instead of exp (lgamma) for
19413         other arguments.
19414         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19415         (gamma_coeff): New variable.
19416         (NCOEFF): New macro.
19417         (gammaf_positive): New function.
19418         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19419         underflow here.  Use gamma_positive instead of exp (lgamma) for
19420         other arguments.
19421         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19422         (gamma_coeff): New variable.
19423         (NCOEFF): New macro.
19424         (gammal_positive): New function.
19425         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19426         underflow here.  Use gamma_positive instead of exp (lgamma) for
19427         other arguments.
19428         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19429         (gamma_coeff): New variable.
19430         (NCOEFF): New macro.
19431         (gammal_positive): New function.
19432         (__ieee754_gammal_r): Handle positive infinity, overflow and
19433         underflow here.  Handle NaN the same as positive infinity.  Remove
19434         check x < 0xffffffff for negative integers.  Use gamma_positive
19435         instead of exp (lgamma) for other arguments.
19436         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19437         (gamma_coeff): New variable.
19438         (NCOEFF): New macro.
19439         (gammal_positive): New function.
19440         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19441         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19442         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19443         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19444         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19445         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19446         * sysdeps/generic/math_private.h (__gamma_productf): New
19447         prototype.
19448         (__gamma_product): Likewise.
19449         (__gamma_productl): Likewise.
19450         * math/Makefile (libm-calls): Add gamma_product.
19451         * math/libm-test.inc (tgamma_test): Add more tests.
19452         * sysdeps/i386/fpu/libm-test-ulps: Update.
19453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19454
19455 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
19456
19457         * benchtests/bench-skeleton.c (main): Preheat CPU.
19458
19459 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
19460
19461         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19462
19463 2013-05-07  Roland McGrath  <roland@hack.frob.com>
19464
19465         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19466         and _dl_skip_args_internal.
19467
19468 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
19469
19470         * manual/message.texi (Message Translation): Talk about users.
19471         Message to key mapping impacts design.
19472
19473 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19474
19475         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19476
19477         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19478
19479         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19480         * sysdeps/wordsize-64/glob64.c: ... here.
19481
19482         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19483         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19484         New macros.
19485
19486         * debug/getlogin_r_chk.c: Moved to ...
19487         * login/getlogin_r_chk.c: ... here.
19488         * debug/Makefile (routines): Move getlogin_r_chk to ...
19489         * login/Makefile (routines): ... here.
19490         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19491         * login/Versions (libc: GLIBC_2.4): ... here.
19492
19493         * io/poll.c (__poll): Renamed from poll.
19494         Add libc_hidden_def.
19495         (poll): Define as weak alias.
19496
19497         * debug/ptsname_r_chk.c: Moved to ...
19498         * login/ptsname_r_chk.c: ... here.
19499         * debug/Makefile (routines): Move ptsname_r_chk to ...
19500         * login/Makefile (routines): ... here.
19501         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19502         * login/Versions (libc: GLIBC_2.4): ... here.
19503
19504         * posix/getlogin.c: Moved to ...
19505         * login/getlogin.c: ... here.
19506         * posix/getlogin_r.c: Moved to ...
19507         * login/getlogin_r.c: ... here.
19508         * posix/getlogin_r.c: Moved to ...
19509         * login/getlogin_r.c: ... here.
19510         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19511         * login/Makefile (routines): ... here.
19512         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19513         * login/Versions (libc: GLIBC_2.0): ... here.
19514
19515         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19516         (setrlimit): Define as weak alias.
19517
19518         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19519         Call __ names for open, ftruncate, and close.
19520         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19521         (truncate): Define as weak alias.
19522
19523 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
19524
19525         * math/gen-libm-test.pl (parse_args): Initialize x before each
19526         test of frexp, modf and remquo.
19527
19528         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19529         test signgam value.
19530
19531 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19532
19533         [BZ #15418]
19534         [BZ #15419]
19535         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19536         internal tests.
19537         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19538
19539 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19540
19541         * elf/dl-writev.h: New file.
19542         * elf/dl-misc.c: Include it.
19543         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19544         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19545
19546 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
19547
19548         * math/libm-test.inc (noXFails): Remove variable.
19549         (noXPasses): Likewise.
19550         (BUILD_COMPLEX_INT): Remove macro.
19551         (print_screen): Remove xfail argument.
19552         (print_screen_max_error): Likewise.
19553         (update_stats): Likewise.
19554         (print_max_error): Likewise.  Update calls to other affected
19555         functions.
19556         (print_complex_max_error): Likewise.
19557         (test_single_exception): Update calls to print_screen.
19558         (test_single_errno): Likewise.
19559         (check_float_internal): Remove xfail argument.  Update calls to
19560         other affected functions.
19561         (check_float): Likewise.
19562         (check_complex): Likewise.
19563         (check_int): Likewise.
19564         (check_long): Likewise.
19565         (check_bool): Likewise.
19566         (check_longlong): Likewise.
19567         (main): Don't print noXFails and noXPasses.
19568         * math/gen-libm-test.pl (top level): Don't mention expected
19569         failure handling in comment.
19570         (new_test): Don't handle expected failures.
19571         (parse_args): Don't mention expected failure handling in comment.
19572         (generate_testfile): Don't handle expected failures.
19573         (parse_ulps): Likewise.
19574         (print_ulps_file): Likewise.
19575         (get_failure): Remove function.
19576         (output_test): Don't handle expected failures.
19577         * make/README.libm-test: Don't mention expected failure handling.
19578
19579         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
19580         (minus_zero): Likewise.
19581         (plus_infty): Likewise.
19582         (minus_infty): Likewise.
19583         (qnan_value): Likewise.
19584         (max_value): Likewise.
19585         (min_value): Likewise.
19586         (min_subnorm_value): Likewise.
19587         (initialize): Do not initialize those variables dynamically.
19588
19589 2013-05-03  Roland McGrath  <roland@hack.frob.com>
19590
19591         * io/open.c (__open_2): Moved to ...
19592         * io/open_2.c: ... this new file.
19593         * io/open64.c (__open64_2): Moved to ...
19594         * io/open64_2.c: ... this new file.
19595         * io/openat.c (__openat_2): Moved to ...
19596         * io/openat_2.c: ... this new file.
19597         * io/openat64.c (__openat64_2): Moved to ...
19598         * io/openat64_2.c: ... this new file.
19599         * io/Makefile (routines): Add them.
19600         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19601         * sysdeps/unix/sysv/linux/open_2.c: File removed.
19602         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19603         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19604         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19605         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19606         (__openat64): Add hidden_ver.
19607         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19608         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19609
19610         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19611         Separately conditionalize setting of GLRO(dl_sysinfo) so
19612         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19613         as well, but the actual setting is only under [NEED_DL_SYSINFO].
19614
19615 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19616
19617         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19618         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19619         definition.
19620         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19621         * sysdeps/unix/sysv/linux/powerpc/init-first.c
19622         (_libc_vdso_platform_setup): Add __vdso_time initialization.
19623         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19624         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19625
19626 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
19627
19628         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19629         test signgam value.
19630
19631         * math/libm-test.inc (hypot_test): Do not use
19632         IGNORE_ZERO_INF_SIGN.
19633
19634 2013-05-03  Andreas Jaeger  <aj@suse.de>
19635
19636         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19637         Linux 3.9.
19638         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19639         (PF_MAX): Adjust for VSOCK change.
19640
19641 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19642
19643         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19644
19645 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
19646
19647         [BZ #15264]
19648         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19649         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19650         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19651
19652 2013-05-02  David S. Miller  <davem@davemloft.net>
19653
19654         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19655
19656 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
19657
19658         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19659
19660 2013-05-01  Roland McGrath  <roland@hack.frob.com>
19661
19662         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19663
19664 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
19665
19666         [BZ #14952]
19667         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19668         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19669         Use __attribute__ ((__gnu_inline__)).
19670         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19671         Don't use __attribute__ ((__gnu_inline__)).
19672
19673 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
19674
19675         [BZ #15423]
19676         * math/s_catan.c (__catan): Handle small real or imaginary part of
19677         input specially to avoid spurious underflow.
19678         * math/s_catanf.c (__catanf): Likewise.
19679         * math/s_catanh.c (__catanh): Likewise.
19680         * math/s_catanhf.c (__catanhf): Likewise.
19681         * math/s_catanhl.c (__catanhl): Likewise.
19682         * math/s_catanl.c (__catanl): Likewise.
19683         * math/libm-test.inc (catan_test): Add more tests.
19684         (catanh_test): Likewise.
19685         * sysdeps/i386/fpu/libm-test-ulps: Update.
19686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19687
19688 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19689
19690         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19691
19692 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
19693
19694         [BZ #15416]
19695         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19696         accurately for denominator in atan2.
19697         * math/s_catanf.c (__catanf): Likewise.
19698         * math/s_catanh.c (__catanh): Likewise.
19699         * math/s_catanhf.c (__catanhf): Likewise.
19700         * math/s_catanhl.c (__catanhl): Likewise.
19701         * math/s_catanl.c (__catanl): Likewise.
19702         * math/libm-test.inc (catan_test): Add more tests.
19703         (catanh_test): Likewise.
19704         * sysdeps/i386/fpu/libm-test-ulps: Update.
19705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19706
19707 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19708
19709         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19710
19711         * benchtests/Makefile (bench): Remove slow benchmarks.
19712         * benchtests/atan-inputs: Add slow benchmark inputs.
19713         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19714         (BENCH_FUNC): Accept variant offset.
19715         (VARIANT): Define.
19716         * benchtests/bench-skeleton.c (main): Run benchmark for each
19717         variant.
19718         * benchtests/cos-inputs: Add slow benchmark inputs.
19719         * benchtests/exp-inputs: Likewise.
19720         * benchtests/pow-inputs: Likewise.
19721         * benchtests/sin-inputs: Likewise.
19722         * benchtests/slowatan-inputs: Remove.
19723         * benchtests/slowatan.c: Remove.
19724         * benchtests/slowcos-inputs: Remove.
19725         * benchtests/slowcos.c: Remove.
19726         * benchtests/slowexp-inputs: Remove.
19727         * benchtests/slowexp.c: Remove.
19728         * benchtests/slowpow-inputs: Remove.
19729         * benchtests/slowpow.c: Remove.
19730         * benchtests/slowsin-inputs: Remove.
19731         * benchtests/slowsin.c: Remove.
19732         * benchtests/slowtan-inputs: Remove.
19733         * benchtests/slowtan.c: Remove.
19734         * benchtests/tan-inputs: Add slow benchmark inputs.
19735         * scripts/bench.pl: Parse comments and directives.
19736
19737         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
19738         in CPPFLAGS.
19739         ($(objpfx)bench-%.c): Remove *-ITER.
19740         * benchtests/bench-modf.c: Remove definition of ITER.
19741         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19742         (main): Loop for DURATION seconds instead of fixed number of
19743         iterations.
19744         * scripts/bench.pl: Don't expect iterations in parameters.
19745
19746 2013-04-29  Roland McGrath  <roland@hack.frob.com>
19747
19748         * io/fchdir.c (__fchdir): Renamed from fchdir.
19749         (fchdir): Define as weak alias.
19750
19751 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
19752
19753         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19754         (ERRNO_EDOM): Likewise.
19755         (ERRNO_ERANGE): Likewise.
19756         (noErrnoTests): New variable.
19757         (init_max_error): Set errno to 0.
19758         (test_single_errno): New function.
19759         (test_errno): Likewise.
19760         (check_float_internal): Call test_errno.  Set errno to 0.
19761         (check_complex): Refer to errno tests in comment.
19762         (check_int): Call test_errno.  Set errno to 0.
19763         (check_long): Likewise.
19764         (check_bool): Likewise.
19765         (check_longlong): Likewise.
19766         (cos_test): Use ERRNO_* flags for errno tests instead of
19767         check_int.
19768         (expm1_test): Likewise.
19769         (fmod_test): Likewise.
19770         (ilogb_test): Likewise.
19771         (lgamma_test): Likewise.
19772         (pow_test): Likewise.
19773         (remainder_test): Likewise.
19774         (sin_test): Likewise.
19775         (tan_test): Likewise.
19776         (yn_test): Likewise.
19777         (initialize): Set errno to 0.
19778         (main): Print number of errno tests.
19779         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19780
19781 2013-04-29  Andreas Jaeger  <aj@suse.de>
19782
19783         [BZ #15084]
19784         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19785         and RES_USEVC.
19786
19787         [BZ #15085]
19788         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19789         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19790         unimplemented.
19791
19792         [BZ #15380]
19793         * stdlib/random.c (__initstate): Return NULL if
19794         __initstate fails.
19795
19796         [BZ #15086]
19797         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19798         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19799         RES_SNGLKUPREOP.
19800
19801 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19802
19803         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19804
19805 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
19806
19807         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19808         of individual tests.
19809         (casin_test): Likewise.
19810         (casinh_test): Likewise.
19811
19812 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
19813
19814         [BZ #15409]
19815         * math/s_catan.c (__catan): Handle arguments with large real or
19816         imaginary part separately without squaring.
19817         * math/s_catanf.c (__catanf): Likewise.
19818         * math/s_catanh.c (__catanh): Likewise.
19819         * math/s_catanhf.c (__catanhf): Likewise.
19820         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19821         and redefine.
19822         (__catanhl): Handle arguments with large real or imaginary part
19823         separately without squaring.
19824         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19825         and redefine.
19826         (__catanl): Handle arguments with large real or imaginary part
19827         separately without squaring.
19828         * math/libm-test.inc (catan_test): Add more tests.
19829         (catanh_test): Likewise.
19830         * sysdeps/i386/fpu/libm-test-ulps: Update.
19831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19832
19833 2013-04-27  Andreas Jaeger  <aj@suse.de>
19834
19835         [BZ #15007]
19836         * stdlib/stdlib.h: Update guards for qecvt.
19837         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19838         <stdlib.h>.
19839
19840 2013-04-27  Allan McRae  <allan@archlinux.org>
19841
19842         * sysdeps/i386/fpu/libm-test-ulps: Update.
19843
19844 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
19845
19846         [BZ #15406]
19847         * math/s_catan.c: Include <float.h>.
19848         (__catan): Ensure underflow exception occurs for underflowed
19849         result.
19850         * math/s_catanf.c: Include <float.h>.
19851         (__catanf): Ensure underflow exception occurs for underflowed
19852         result.
19853         * math/s_catanh.c: Include <float.h>.
19854         (__catanh): Ensure underflow exception occurs for underflowed
19855         result.
19856         * math/s_catanhf.c: Include <float.h>.
19857         (__catanhf): Ensure underflow exception occurs for underflowed
19858         result.
19859         * math/s_catanhl.c: Include <float.h>.
19860         (__catanhl): Ensure underflow exception occurs for underflowed
19861         result.
19862         * math/s_catanl.c: Include <float.h>.
19863         (__catanl): Ensure underflow exception occurs for underflowed
19864         result.
19865         * math/libm-test.inc (catan_test): Add more tests.
19866         (catanh_test): Likewise.
19867
19868         [BZ #15405]
19869         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19870         underflowed result.
19871         * math/s_ccoshf.c (__ccoshf): Likewise.
19872         * math/s_ccoshl.c (__ccoshl): Likewise.
19873         * math/s_csin.c (__csin): Likewise.
19874         * math/s_csinf.c (__csinf): Likewise.
19875         * math/s_csinh.c (__csinh): Likewise.
19876         * math/s_csinhf.c (__csinhf): Likewise.
19877         * math/s_csinhl.c (__csinhl): Likewise.
19878         * math/s_csinl.c (__csinl): Likewise.
19879         * math/libm-test.inc (ccos_test): Add more tests.
19880         (ccosh_test): Likewise.
19881         (csin_test): Likewise.
19882         (csinh_test): Likewise.
19883
19884 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19885
19886         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19887         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19888         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19889         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19890         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19891         powerpc/power5+/fpu folders.
19892         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19893
19894
19895 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
19896
19897         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19898
19899 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
19900
19901         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19902         additions to variable.
19903         [$(config-machine) = x86_64] (modules-names): Likewise.
19904         ($(objpfx)tst-audit3): Remove dependency.
19905         ($(objpfx)tst-audit3.out): Likewise.
19906         ($(objpfx)tst-audit4): Likewise.
19907         ($(objpfx)tst-audit4.out): Likewise.
19908         ($(objpfx)tst-audit5): Likewise.
19909         ($(objpfx)tst-audit5.out): Likewise.
19910         ($(objpfx)tst-audit6): Likewise.
19911         ($(objpfx)tst-audit6.out): Likewise.
19912         ($(objpfx)tst-audit7): Likewise.
19913         ($(objpfx)tst-audit7.out): Likewise.
19914         (tst-audit3-ENV): Remove variable.
19915         (tst-audit4-ENV): Likewise.
19916         (tst-audit5-ENV): Likewise.
19917         (tst-audit6-ENV): Likewise.
19918         (tst-audit7-ENV): Likewise.
19919         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19920         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19921         addition to variable.
19922         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19923         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19924         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19925         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19926         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19927         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19928         tst-audit3, tst-audit4 and tst-audit5.
19929         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19930         tst-audit6 and tst-audit7.
19931         [$(subdir) = elf] (modules-names): Add audit modules for those
19932         tests.
19933         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19934         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19935         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19936         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19937         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19938         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19939         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19940         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19941         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19942         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19943         [$(subdir) = elf] (tst-audit3-ENV): New variable.
19944         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19945         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19946         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19947         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19948         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19949         Likewise.
19950         [$(subdir) = elf && $(config-cflags-avx) = yes]
19951         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19952         [$(subdir) = elf && $(config-cflags-avx) = yes]
19953         (CFLAGS-tst-auditmod4a.c): Likewise.
19954         [$(subdir) = elf && $(config-cflags-avx) = yes]
19955         (CFLAGS-tst-auditmod4b.c): Likewise.
19956         [$(subdir) = elf && $(config-cflags-avx) = yes]
19957         (CFLAGS-tst-auditmod6b.c): Likewise.
19958         [$(subdir) = elf && $(config-cflags-avx) = yes]
19959         (CFLAGS-tst-auditmod6c.c): Likewise.
19960         [$(subdir) = elf && $(config-cflags-avx) = yes]
19961         (CFLAGS-tst-auditmod7b.c): Likewise.
19962         * elf/tst-audit3.c: Move to ...
19963         * sysdeps/x86_64/tst-audit3.c: ... here.
19964         * elf/tst-audit4.c: Move to ...
19965         * sysdeps/x86_64/tst-audit4.c: ... here.
19966         * elf/tst-audit5.c: Move to ...
19967         * sysdeps/x86_64/tst-audit5.c: ... here.
19968         * elf/tst-audit6.c: Move to ...
19969         * sysdeps/x86_64/tst-audit6.c: ... here.
19970         * elf/tst-audit7.c: Move to ...
19971         * sysdeps/x86_64/tst-audit7.c: ... here.
19972         * elf/tst-auditmod3a.c: Move to ...
19973         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19974         * elf/tst-auditmod3b.c: Move to ...
19975         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19976         * elf/tst-auditmod4a.c: Move to ...
19977         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19978         * elf/tst-auditmod4b.c: Move to ...
19979         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19980         * elf/tst-auditmod5a.c: Move to ...
19981         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19982         * elf/tst-auditmod5b.c: Move to ...
19983         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19984         * elf/tst-auditmod6a.c: Move to ...
19985         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19986         * elf/tst-auditmod6b.c: Move to ...
19987         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19988         * elf/tst-auditmod6c.c: Move to ...
19989         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19990         * elf/tst-auditmod7a.c: Move to ...
19991         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19992         * elf/tst-auditmod7b.c: Move to ...
19993         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19994
19995 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
19996
19997         [BZ #15366]
19998         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19999         define unconditionally.
20000         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20001         define unconditionally.
20002         (INT8_C, INT16_C, etc.): Likewise.
20003
20004 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
20005
20006         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20007         __ehdr_start with hidden visibility.
20008
20009         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20010
20011 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
20012
20013         * math/libm-test.inc (cos_test): Use accurate hex constants.
20014         (sincost_test): Likewise.
20015
20016 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
20017
20018         * math/libm-test.inc (catan_test): Add more tests.
20019         (catanh_test): Likewise.
20020
20021         * math/s_catanf.c (__catanf): Use suffixed floating-point
20022         constants.
20023         * math/s_catanhf.c (__catanhf): Likewise.
20024         * math/s_catanhl.c (__catanhl): Likewise.
20025         * math/s_catanl.c (__catanl): Likewise.
20026
20027         [BZ #15394]
20028         * math/s_catan.c (__catan): Calculate imaginary part of result
20029         with log1p not log unless computing log of number close to 0.
20030         * math/s_catanf.c (__catanf): Likewise.
20031         * math/s_catanl.c (__catanl): Likewise.
20032         * math/s_catanh.c (__catanh): Calculate real part of result with
20033         log1p not log unless computing log of number close to 0.
20034         * math/s_catanhf.c (__catanhf): Likewise.
20035         * math/s_catanhl.c (__catanhl): Likewise.
20036         * math/libm-test.inc (catan_test): Add more tests.
20037         (catanh_test): Likewise.
20038         * sysdeps/i386/fpu/libm-test-ulps: Update.
20039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20040
20041 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20042
20043         * benchtests/Makefile: Mention files in which fast and slow
20044         paths of math functions are implemented.
20045
20046 2013-04-23  Roland McGrath  <roland@hack.frob.com>
20047
20048         * sysdeps/posix/timespec_get.c: New file.
20049
20050 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20051
20052         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20053         POWER.
20054         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20055         for POWER.
20056         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20057         powerpc/power5/fpu folders.
20058         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20059         * benchtests/Makefile: Add modf testcase.
20060         * benchtests/bench-modf.c: New file: Benchmark test for mo
20061
20062 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20063
20064         [BZ #14888]
20065         * time/Makefile (tests): Add tst-strptime-whitespace.
20066         * time/strptime_l.c (get_number): Use ISSPACE.
20067         (__strptime_internal): Likewise.
20068         * time/tst-strptime-whitespace.c: New test case.
20069
20070 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
20071
20072         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20073         member.
20074         (_nss_files_init): Set it here.
20075
20076 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
20077
20078         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20079         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20080         unsigned.
20081
20082 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
20083
20084         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20085
20086 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20087
20088         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20089         size just once.
20090
20091 2013-04-21  David S. Miller  <davem@davemloft.net>
20092
20093         * po/ru.po: Update Russion translation from translation project.
20094
20095 2013-04-17  Adam Conrad  <adconrad@0c3.net>
20096
20097         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20098         and setfsgid.
20099
20100 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
20101
20102         * configure.in: Remove i386 configure warning. Remove i386 case.
20103         * configure: Regenerate.
20104         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20105         Add example to error message.
20106         * sysdeps/i386/configure: Regenerate.
20107
20108 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20109
20110         * benchtests/Makefile (bench): Add cos, tan, slowcos and
20111         slowtan.
20112         * benchtests/cos-inputs: New file.
20113         * benchtests/slowcos-inputs: New file.
20114         * benchtests/slowcos.c: New file.
20115         * benchtests/slowtan-inputs: New file.
20116         * benchtests/slowtan.c: New file.
20117         * benchtests/tan-inputs: New file.
20118
20119 2013-04-16  Roland McGrath  <roland@hack.frob.com>
20120
20121         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20122         considered kosher.
20123
20124 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20125
20126         * benchtests/Makefile: Include cppflags-iterator.mk to add
20127         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20128
20129         * Makefile.in (bench-clean): New target.
20130         * benchtests/Makefile (bench-clean): Likewise.
20131
20132 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
20133
20134         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20135
20136 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
20137
20138         * stdio-common/tstdiomisc.c: Fix coding-style violation.
20139
20140 2013-04-15  Andreas Schwab  <schwab@suse.de>
20141
20142         * nscd/grpcache.c (cache_addgr): Properly check for short write.
20143         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20144         * nscd/pwdcache.c (cache_addpw): Likewise.
20145         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
20146         more than recsize.
20147
20148 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20149
20150         * benchtests/Makefile (bench): Write all output to
20151         bench-out.tmp together.
20152
20153 2013-04-15  Andreas Schwab  <schwab@suse.de>
20154
20155         * nscd/nscd.c (main): Don't fork again after closing files.
20156
20157 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20158
20159         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20160
20161         * benchtests/Rules (bench-deps): Collect dependencies into a
20162         single variable.  Add Makefile to dependencies.
20163         ($(objpfx)bench-%.c): Depend on bench-deps.
20164
20165 2013-04-12  Roland McGrath  <roland@hack.frob.com>
20166             Xavier Roche  <roche+kml2@exalead.com>
20167
20168         [BZ #15361]
20169         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20170         just that it's a file descriptor.
20171         * manual/llio.texi (Synchronizing AIO Operations): Update description
20172         for EBADF error from aio_fsync.
20173
20174 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20175
20176         * Rules (bench): Move target definition...
20177         * benchtests/Makefile: ... here.
20178
20179 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
20180
20181         * math/libm-test.inc (cos_test): Fix PI/2 test.
20182         (sincos_test): Likewise.
20183         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20184         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20185
20186 2013-04-11  Andreas Schwab  <schwab@suse.de>
20187
20188         [BZ #13988]
20189         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20190         accept exponent character only when digits were seen.
20191         * stdio-common/Makefile (tests): Add bug26.
20192         * stdio-common/bug26.c: New file.
20193
20194         [BZ #14293]
20195         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20196         non-freeable.
20197
20198 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20199
20200         * Makeconfig (rtld-prefix): Define built linker prefix.
20201         * Rules (run-bench): Use it.
20202         * math/Makefile (run-regen-ulps): Likewise.
20203
20204         * Rules (bench): Remove eval.
20205
20206 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20207             Roland McGrath  <roland@hack.frob.com>
20208             Ondrej Bilka  <neleai@seznam.cz>
20209
20210         [BZ #15346]
20211         * time/getdate.c: Include ctype.h and alloca.h.
20212         (__getdate_r): Trim leading and trailing spaces of input.
20213         * time/tst-getdate.c (tests): Add tests with leading and
20214         trailing spaces.
20215
20216 2013-04-08  Roland McGrath  <roland@hack.frob.com>
20217
20218         [BZ #14280]
20219         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20220         when computing value.
20221
20222 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20223
20224         * math/README.libm-test (How can I generate "libm-test-ulps"?):
20225         Use testrun.sh to run libm tests.
20226
20227         [BZ #15309]
20228         * elf/dl-open.c (dl_open_worker): memset all of seen array.
20229
20230 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
20231
20232         [BZ #15264]
20233         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20234
20235 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20236
20237         * Makefile.in (regen-ulps): New target.
20238         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20239         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20240         [ifneq (no,$(PERL)] (regen-ulps): New target.
20241         [ifeq (no,$(PERL)] (regen-ulps): New target.
20242         * math/libm-test.inc (ulps_file_name): Define.
20243         (output_dir): New variable.
20244         (options): Add "output-dir" option.
20245         (parse_opt): Handle 'o' case.
20246         (main): If output_dir is non-NULL use it as a prefix
20247         otherwise use "".
20248         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20249
20250 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20251
20252         [BZ #10060, #10062]
20253         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20254         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20255         fail configure if __sync_val_compare_and_swap is not inlined.
20256         * sysdeps/i386/configure: Regenerate.
20257         * configure.in: Build for i686 when configured for i386.
20258         * configure: Regenerate.
20259         * README: Remove i386 reference.
20260
20261 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20262
20263         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20264         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20265
20266 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20267
20268         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20269         (lmsnanval): New variables.
20270         (F): Add conversion tests.
20271         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20272         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20273
20274         * stdio-common/tstdiomisc.c (F): Properly collect individual
20275         tests' results.
20276
20277         [BZ #14686, #15336]
20278         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20279         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20280         Instead, use input NaN values or generate a qNaN by arithmetic
20281         operation.  Also fix bugs to comply with the standard.
20282         * math/libm-test.inc (remainder_test): Add more tests.
20283
20284         [BZ #15335, #15342]
20285         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20286         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20287         input NaN values or generate a qNaN by arithmetic operation.
20288
20289         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20290         unreachable code.
20291
20292         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20293         definitions.
20294
20295 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
20296
20297         [BZ #14478]
20298         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20299         underflowed result.
20300         * math/s_cexpf.c (__cexpf): Likewise.
20301         * math/s_cexpl.c (__cexpl): Likewise.
20302         * math/libm-test.inc (cexp_test): Add more tests.
20303
20304 2013-04-03  Andreas Schwab  <schwab@suse.de>
20305
20306         [BZ #15330]
20307         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20308         order arrays from heap if bigger than alloca cutoff.
20309
20310 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
20311
20312         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20313         (SNAN_TESTS_double): Refer to GCC PR56831.
20314         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20315         GCC PR56828.
20316
20317 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20318
20319         * Rules (bench): Move bench.out after the run is complete.
20320
20321         * Rules (bench): Echo currently running benchmark.
20322
20323         * benchtests/Makefile (bench): Add atan and slowatan.
20324         * benchtests/atan-inputs: New file.
20325         * benchtests/slowatan-inputs: New file.
20326         * benchtests/slowatan.c: New file.
20327
20328         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20329         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20330         its value.
20331
20332         [BZ #15305]
20333         * sysdeps/unix/sysv/linux/kernel-features.h
20334         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20335         __ASSUME_XFS_RESTRICTED_CHOWN.
20336         * sysdeps/unix/sysv/linux/pathconf.c
20337         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20338         Save and restore errno.
20339
20340 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
20341
20342         [BZ #15327]
20343         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20344         arguments using __kernel_casinh.
20345         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20346         arguments using __kernel_casinhf.
20347         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20348         arguments using __kernel_casinhl.
20349         * math/libm-test.inc (cacosh_test): Add more tests.
20350         * sysdeps/i386/fpu/libm-test-ulps: Update.
20351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20352
20353 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20354
20355         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20356         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20357
20358         * bench/Makefile (bench): Add sin and slowsin.
20359         * benchtests/sin-inputs: New file.
20360         * benchtests/slowsin-inputs: New file.
20361         * benchtests/slowsin.c: New file.
20362
20363         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20364         (bench): Add slowexp and slowpow.
20365         (exp-ITER): Increase iterations.
20366         (pow-ITER): Likewise.
20367         * benchtests/exp-inputs: Change input.
20368         * benchtests/pow-inputs: Likewise.
20369         * benchtests/slowexp-inputs: New file.
20370         * benchtests/slowexp.c: New file.
20371         * benchtests/slowpow-inputs: New file.
20372         * benchtests/slowpow.c: New file.
20373
20374 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20375
20376         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20377         instructions.
20378         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20379         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20380         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20381         * benchtests/Makefile: Add rint benchtest.
20382         * benchtests/rint-inputs: Input for rint benchtest.
20383
20384 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
20385
20386         * Versions.def (libm): Add GLIBC_2.18.
20387         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20388         hidden libm prototypes.
20389         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20390         * math/Makefile (libm-calls): Add s_issignaling.
20391         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20392         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
20393         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20394         declaration.
20395         * math/math.h [__USE_GNU] (issignaling): New macro.
20396         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20397         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20398         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20399         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20400         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20401         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20402         * manual/arith.texi (issignaling): New section.
20403         * manual/libm-err-tab.pl (@all_functions): Update comment.
20404         * math/gen-libm-test.pl (parse_args): Apply special handling for
20405         issignaling.
20406         * math/libm-test.inc (print_float, issignaling_test): New
20407         functions.
20408         (check_float_internal): Add issignaling checks.
20409         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20410         default definition.
20411         * sysdeps/powerpc/math-tests.h: New file.
20412         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20413         tests.
20414         * math/test-snan.c (TEST_FUNC): Likewise.
20415
20416 2013-03-30  David S. Miller  <davem@davemloft.net>
20417
20418         * po/de.po: Update from translation team.
20419
20420 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
20421
20422         [BZ #10357]
20423         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20424         imaginary part less than 1.0 and real part less than 0.5
20425         specially.
20426         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20427         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20428         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20429         (cacos_test): Add more tests.
20430         (casin_test): Likewise.
20431         (casinh_test): Likewise.
20432         * sysdeps/i386/fpu/libm-test-ulps: Update.
20433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20434
20435 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20436
20437         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20438         ONE with its value.
20439
20440         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20441         (__pow_mp): Replace ONE and MONE with their values.
20442         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20443         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20444         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20445         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20446         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20447         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20448
20449         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20450
20451         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20452         (__pow_mp): Replace ZERO and MZERO with their values.
20453         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20454         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20455         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20456         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20457         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20458         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20459         (__sqr): Likewise.
20460
20461         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20462
20463         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20464
20465 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20466
20467         * include/stdlib.h [!SHARED] (__call_tls_dtors):
20468         Declare with __attribute__ ((weak)).
20469         * stdlib/exit.c (__libc_atexit) [!SHARED]:
20470         Call __call_tls_dtors only if it's not NULL.
20471
20472 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20473
20474         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20475         didn't do it already, then set _dl_phdr and _dl_phnum based on the
20476         magic __ehdr_start linker symbol if it's defined.
20477         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20478         them up here if it was already done.
20479
20480         * elf/dl-support.c (_dl_phdr): Make pointer to const.
20481         (_dl_aux_init): Use const in cast when setting it.
20482         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20483         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20484         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20485
20486         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20487         Declare them here.
20488         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20489         * csu/libc-tls.c: Nor here.
20490         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20491
20492         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20493         (__libc_message): Never call vsyslog.
20494
20495 2013-03-28  Alan Modra  <amodra@gmail.com>
20496
20497         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20498         Define as empty.
20499         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20500         Likewise.
20501
20502 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20503
20504         [BZ #15214]
20505         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20506         underflow.
20507         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20508
20509 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20510
20511         [BZ #15304]
20512         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20513         Don't add gid passed as argument.
20514
20515         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20516
20517 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
20518
20519         [BZ #15307]
20520         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20521         imaginary part between 1.0 and 1.5 and real part less than 0.5
20522         specially.
20523         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20524         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20525         * math/libm-test.inc (cacos_test): Add more tests.
20526         (casin_test): Likewise.
20527         (casinh_test): Likewise.
20528         * sysdeps/i386/fpu/libm-test-ulps: Update.
20529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20530
20531 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20532
20533         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20534         constants.
20535         (norm): Likewise.
20536         (denorm): Likewise.
20537         (__dbl_mp): Likewise.
20538         (add_magnitudes): Likewise.
20539         (sub_magnitudes): Likewise.
20540         (__add): Likewise.
20541         (__sub): Likewise.
20542         (__mul): Likewise.
20543         (__sqr): Likewise.
20544         (__inv): Likewise.
20545         (__dvd): Likewise.
20546
20547         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20548         commented code.
20549         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20550         (__dubcos): Likewise.
20551         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20552         (__ieee754_acos): Likewise.
20553         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20554         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20555         (__exp1): Likewise.
20556         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20557         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20558         (log1): Likewise.
20559         (my_log2): Likewise.
20560         (checkint): Likewise.
20561         * sysdeps/ieee754/dbl-64/e_remainder.c
20562         (__ieee754_remainder): Likewise.
20563         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20564         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20565         (bsloww): Likewise.
20566         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20567
20568         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20569         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20570         MANTISSA_STORE_T to store computations on mantissa.  Use
20571         macros for rounding and division.
20572         (denorm): Likewise.
20573         (__dbl_mp): Likewise.
20574         (add_magnitudes): Likewise.
20575         (sub_magnitudes): Likewise.
20576         (__mul): Likewise.
20577         (__sqr): Likewise.
20578         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
20579         powers of two in terms of TWOPOW macro.
20580         (mp_no): Make type of mantissa as MANTISSA_T.
20581         [!RADIXI]: Define RADIXI.
20582         [!TWO52]: Define TWO52.
20583         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20584
20585 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20586
20587         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20588         llroundl symbol when building for PPC32.
20589
20590 2013-03-24  Mark H Weaver  <mhw@netris.org>
20591
20592         * manual/arith.texi (Normalization Functions): Fix prototypes for
20593         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20594
20595 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20596
20597         [BZ #13889]
20598         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20599         high value to check if expl overflow.
20600         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20601         to check for underflow and overflow.
20602         * math/libm-test.inc: Add exp test.
20603
20604 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
20605
20606         [BZ #11120]
20607         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20608         with NOT_IN_libc.
20609
20610 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20611
20612         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20613         symbol.
20614
20615 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
20616
20617         * math/gen-libm-test.pl (parse_args, special_functions): Properly
20618         wrap blocks consisting of several statements.
20619
20620         * sysdeps/generic/math-tests.h: New file.
20621         * sysdeps/i386/fpu/math-tests.h: Likewise.
20622         * math/test-snan.c: Include it.
20623         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20624
20625 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20626
20627         [BZ #15285]
20628         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20629         (__ieee754_j0l): Do not improve calculations using cos of twice
20630         input for inputs above LDBL_MAX / 2.0L.
20631         (__ieee754_y0l): Likewise.
20632         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20633         (__ieee754_j1l): Do not improve calculations using cos of twice
20634         input for inputs above LDBL_MAX / 2.0L.
20635         (__ieee754_y1l): Likewise.
20636         * math/libm-test.inc (j0_test): Add another test.
20637         (j1_test): Likewise.
20638         (y0_test): Likewise.
20639         (y1_test): Likewise.
20640         * sysdeps/i386/fpu/libm-test-ulps: Update.
20641
20642 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20643
20644         * Rules ($(objpfx)bench-%.c): Include code from a C source
20645         file.
20646
20647 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20648
20649         [BZ #15287]
20650         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20651         imaginary part 1.0 and real part less than 0.5 specially.
20652         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20653         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20654         * math/libm-test.inc (cacos_test): Add more tests.
20655         (casin_test): Likewise.
20656         (casinh_test): Likewise.
20657         * sysdeps/i386/fpu/libm-test-ulps: Update.
20658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20659
20660 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20661
20662         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20663         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20664
20665 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
20666
20667         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20668         * config.make.in (config-cflags-sse4): Remove variable.
20669         (config-cflags-avx): Likewise.
20670         (config-cflags-sse2avx): Likewise.
20671         (config-cflags-novzeroupper): Likewise.
20672         (config-asflags-i686): Likewise.
20673         (have-mfma4): Likewise.
20674         (have-as-vis3): Likewise.
20675         (MIG): Likewise.
20676         * configure.in (MIG): Do not AC_SUBST.
20677         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20678         (libc_cv_cc_sse4): Do not AC_SUBST.
20679         (libc_cv_cc_avx): Likewise.
20680         (libc_cv_cc_sse2avx): Likewise.
20681         (libc_cv_cc_novzeroupper): Likewise.
20682         (libc_cv_cc_fma4): Likewise.
20683         (libc_cv_as_i686): Likewise.
20684         (libc_cv_sparc_as_vis3): Likewise.
20685         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20686         LIBC_CONFIG_VAR.
20687         (config-asflags-i686): Likewise.
20688         (config-cflags-avx): Likewise.
20689         (config-cflags-sse2avx): Likewise.
20690         (have-mfma4): Likewise.
20691         (config-cflags-novzeroupper): Likewise.
20692         * sysdeps/mach/configure.in (MIG): Likewise.
20693         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20694         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20695         LIBC_CONFIG_VAR.
20696         (config-cflags-avx): Likewise.
20697         (config-cflags-sse2avx): Likewise.
20698         (have-mfma4): Likewise.
20699         (config-cflags-novzeroupper): Likewise.
20700         * configure: Regenerated.
20701         * sysdeps/i386/configure: Likewise.
20702         * sysdeps/mach/configure: Likewise.
20703         * sysdeps/sparc/configure: Likewise.
20704         * sysdeps/x86_64/configure: Likewise.
20705
20706 2013-03-20  Roland McGrath  <roland@hack.frob.com>
20707
20708         [BZ #14812]
20709         * locale/programs/localedef.c (options): Put N_ translation marker
20710         on argument names, not just descriptions.
20711
20712 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20713
20714         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20715
20716 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
20717
20718         [BZ #14176]
20719         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20720
20721 2013-03-19  Roland McGrath  <roland@hack.frob.com>
20722
20723         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20724         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20725         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20726         [!BEFORE_ABORT] (before_abort): New function.
20727         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20728         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20729         (writev_for_fatal): New function.
20730         (WRITEV_FOR_FATAL): New macro; call that.
20731         (backtrace_and_maps): New function.
20732         (BEFORE_ABORT): New macro; call that.
20733         (struct str_list): Type removed.
20734         (__libc_message, __libc_fatal): Functions removed.
20735         Include <sysdeps/posix/libc_fatal.c> instead.
20736
20737 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
20738
20739         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20740         constants.
20741         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20742         double constants.
20743
20744 2013-03-19  Andreas Schwab  <schwab@suse.de>
20745
20746         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20747         * sysdeps/gnu/configure: Regenerate.
20748
20749         * configure.in: Substitute libc_cv_rtlddir.
20750         * configure: Regenerate.
20751         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20752         * Makeconfig (rtlddir, inst_rtlddir): New variables.
20753         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20754         * elf/Makefile (install-others, CFLAGS-interp.c)
20755         (ldso_install, common-ldd-rewrite): Likewise.
20756         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20757         $(inst_slibdir)/$(rtld-installed-name).
20758         * scripts/rellns-sh: Add -p option.
20759         * Makerules (make-shlib-link): Use rellns-sh to get relative name
20760         for source.
20761
20762 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20763
20764         * manual/nptl.texi: Renamed to ...
20765         * manual/threads.texi: ... this.
20766         * manual/Makefile (chapters): Update.
20767
20768 2013-03-18  Roland McGrath  <roland@hack.frob.com>
20769
20770         [BZ #14812]
20771         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20772         on argument names, not just descriptions.
20773         * malloc/memusagestat.c (options): Likewise.
20774         * nss/getent.c (options): Likewise.
20775
20776 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
20777
20778         [BZ #14812]
20779         * iconv/iconv_prog.c (options): Put N_ translation marker
20780         on argument names, not just descriptions.
20781         * iconv/iconvconfig.c (options): Likewise.
20782
20783 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
20784
20785         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20786         implementation which is faster on all x86_64 architectures.
20787         Tested on AMD, Intel Nehalem, SNB, IVB.
20788         * sysdeps/x86_64/strnlen.S: Likewise.
20789
20790         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20791         Remove all multiarch strlen and strnlen versions.
20792         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20793         Remove strlen and strnlen related parts.
20794
20795         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20796         Inline strlen part.
20797         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20798
20799         * sysdeps/x86_64/multiarch/strlen.S: Remove.
20800         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20801         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20802         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20803         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20804         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20805
20806 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
20807
20808         * manual/memory.texi (Malloc Tunable Parameters):
20809         Sort parameters alphabetically. Add comments for missing entries.
20810
20811 2013-03-17  David S. Miller  <davem@davemloft.net>
20812
20813         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20814
20815 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
20816
20817         [BZ #15283]
20818         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20819         for arguments at most half maximum finite value.
20820         * math/libm-test.inc (j0_test): Add more tests.
20821         (j1_test): Likewise.
20822         (y0_test): Likewise.
20823         (y1_test): Likewise.
20824         * sysdeps/i386/fpu/libm-test-ulps: Update.
20825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20826
20827         [BZ #14155]
20828         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20829         1 / x and functions P and Q for arguments above 0x1p256L.
20830         (__ieee754_y0l): Likewise.
20831         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20832         (__ieee754_y1l): Likewise.
20833         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20834         (j1_test): Likewise.
20835         (y0_test): Likewise.
20836         (y1_test): Likewise.
20837
20838 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
20839
20840         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20841         variable.
20842
20843 2013-03-15  Roland McGrath  <roland@hack.frob.com>
20844
20845         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20846         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20847         zero since it's initialized to EXEC_PAGESIZE.
20848
20849         * sysdeps/unix/sysv/linux/ldsodefs.h
20850         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20851         * sysdeps/generic/ldsodefs.h: ... here.
20852
20853 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
20854
20855         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20856
20857         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20858         math/test-snan.c.
20859         * math/test-snan.c: Renamed from
20860         sysdeps/powerpc/fpu/test-powerpc-snan.c.
20861         * math/Makefile (tests): Add test-snan.
20862         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20863         test-powerpc-snan.
20864
20865         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20866         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
20867         functions.
20868         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
20869         __builtin_nan family of functions.
20870         * math/libm-test.inc (initialize): Initialize qnan_value with
20871         __builtin_nan family of functions.
20872         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20873         Remove variables.
20874         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20875         Remove functions.
20876         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
20877         storage class.  Initialize qNaN_var and sNaN_var with
20878         __builtin_nan and __builtin_nans families of functions,
20879         respectively.
20880
20881         * math/libm-test.inc (acosh_test): Also test with qNaN input.
20882         (sqrt_test): Remove duplicate test with qNaN input.
20883         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20884         (round_test, signbit_test, significand_test): Note missing +/-Inf
20885         as well as qNaN tests.
20886
20887         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20888         qNaN_var.  Fix a few strings, too.
20889         * math/libm-test.inc (nan_value): Rename to qnan_value.
20890         * math/gen-libm-test.pl (%beautify): Adjust to that.
20891         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20892         * math/test-misc.c (main): Likewise.
20893         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20894         to __qnan_bytes, and __qnan_union, respectively.
20895         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20896         Likewise.
20897         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20898         and lqnanval, respectively.
20899         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20900         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20901         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20902         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20903
20904         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20905         * math/test-misc.c (main) [__x86_64__]: Enable test for long
20906         doubles.
20907
20908         * math/test-misc.c (main): Fix copy'n'pastos.
20909         * misc/tst-efgcvt.c (special): Likewise.
20910
20911         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20912         Remove declarations.
20913
20914 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20915
20916         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20917         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20918         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20919         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20920
20921 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20922
20923         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20924         macro to return vdso values correctly in IFUNC implementations.
20925         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20926         Optimization by using IFUNC.
20927
20928 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20929             Richard Henderson  <rth@redhat.com>
20930             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20931
20932         * Makefile.in (bench): New target.
20933         * NEWS: Mention the benchmark framework.
20934         * Rules (bench): Likewise.
20935         (binaries-bench): Generate binaries for functions to
20936         benchmark.
20937         * benchtests/Makefile: New makefile for benchmark tests.
20938         * benchtests/bench-skeleton.c: New skeleton file for benchmark
20939         programs.
20940         * benchtests/exp-inputs: New input file for EXP function.
20941         * benchtests/pow-inputs: New input file for POW function.
20942         * scripts/bench.pl: New script to generate source files for
20943         benchmark programs.
20944
20945 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20946
20947         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20948         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20949         computations on mantissa.  Use macros for rounding and
20950         division.
20951         (denorm): Likewise.
20952         (__dbl_mp): Likewise.
20953         (add_magnitudes): Likewise.
20954         (sub_magnitudes): Likewise.
20955         (__mul): Likewise.
20956         (__sqr): Likewise.
20957         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
20958         powers of two in terms of TWOPOW macro.
20959         (mp_no): Make type of mantissa as MANTISSA_T.
20960         [!RADIXI]: Define RADIXI.
20961         [!TWO52]: Define TWO52.
20962         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20963
20964         * manual/nptl.texi (cindex): Modify threads to pthreads.
20965
20966 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
20967
20968         * sysdeps/x86_64/preconfigure: Regenerated.
20969
20970 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
20971
20972         [BZ #14155]
20973         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20974         0x1p28 and above.
20975         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20976         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20977         0x1p28 and above.
20978         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20979         * math/libm-test.inc (j0_test): Do not allow one spurious
20980         underflow exception.
20981         (y1_test): Likewise.
20982
20983 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20984
20985         * manual/Makefile (chapters): Add nptl.
20986         * manual/debug.texi (Debugging Support): Add link to Threads
20987         chapter.
20988         * manual/nptl.texi: New file.
20989
20990         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20991
20992 2013-03-14  Petr Baudis  <pasky@ucw.cz>
20993
20994         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20995         for non-NULL pointer before the memory validity test. Pointed
20996         out by Holger Brunck <holger.brunck@keymile.com>.
20997
20998 2013-03-13  Andreas Schwab  <schwab@suse.de>
20999
21000         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21001         instead of .os.
21002
21003 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
21004
21005         * timezone/zic.c: Update from tzcode 2013b.
21006
21007 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
21008
21009         * manual/install.texi (Configuring and compiling):
21010         Mention i686 and i586.
21011         * INSTALL: Regenerate.
21012
21013 2013-03-12  Roland McGrath  <roland@hack.frob.com>
21014
21015         * sysdeps/init_array/elf-init.c: New file.
21016         * csu/elf-init.c
21017         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21018         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21019
21020         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21021         __gmon_start__ as global, but as static with a .preinit_array pointer.
21022         * sysdeps/init_array/gmon-start.c: New file.  Use that.
21023         * sysdeps/init_array/crti.S: New file, empty except for comments.
21024         * sysdeps/init_array/crtn.S: Likewise.
21025
21026 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
21027
21028         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21029         definining bcopy.
21030         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21031         Remove Prefer_SSE_for_memop.
21032         * sysdeps/x86_64/multiarch/init-arch.h: Remove
21033         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21034         HAS_PREFER_SSE_FOR_MEMOP.
21035         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21036         memset-x86-64.
21037         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21038         Remove bzero, memset ifunc support.
21039         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21040         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21041         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21042         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21043
21044 2013-03-11  Andreas Schwab  <schwab@suse.de>
21045
21046         [BZ #15234]
21047         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21048         by SHLIB_COMPAT.
21049         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21050         (GLIBC_2.16): Remove pthread_atfork.
21051
21052 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21053
21054         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21055         (ptestcases.h): Likewise.
21056
21057 2013-03-08  Roland McGrath  <roland@hack.frob.com>
21058
21059         * Makeconfig ($(common-objpfx)config.status): Depend on
21060         sysdeps/*/preconfigure{,.in} too.
21061
21062 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
21063
21064         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21065         (__free_hook): Use void * instead of __malloc_ptr_t.
21066         (__malloc_hook): Likewise.
21067         (__realloc_hook): Likewise.
21068         (__memalign_hook): Likewise.
21069         (__after_morecore_hook): Likewise.
21070         * malloc/arena.c (save_malloc_hook): Likewise.
21071         (save_free_hook): Likewise.
21072         * malloc/hooks.c (malloc_hook_ini): Likewise.
21073         (realloc_hook_ini): Likewise.
21074         (memalign_hook_ini): Likewise.
21075         * malloc/malloc.c (malloc_hook_ini): Likewise.
21076         (realloc_hook_ini): Likewise.
21077         (memalign_hook_ini): Likewise.
21078         (__free_hook): Likewise.
21079         (__malloc_hook): Likewise.
21080         (__realloc_hook): Likewise.
21081         (__memalign_hook): Likewise.
21082         (__libc_malloc): Likewise.
21083         (__libc_free): Likewise.
21084         (__libc_realloc): Likewise.
21085         (__libc_memalign): Likewise.
21086         (__libc_valloc): Likewise.
21087         (__libc_pvalloc): Likewise.
21088         (__libc_calloc): Likewise.
21089         (__posix_memalign): Likewise.
21090         * malloc/morecore.c (__sbrk): Likewise.
21091         (__default_morecore): Likewise.
21092
21093         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21094
21095         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21096         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21097         __malloc_ptrdiff_t.
21098
21099         * malloc/malloc.h (__malloc_size_t): Remove macro.
21100         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21101         __malloc_size_t.
21102         (old_memalign_hook): Likewise.
21103         (old_realloc_hook): Likewise.
21104         (struct hdr): Likewise.
21105         (flood): Likewise.
21106         (mallochook): Likewise.
21107         (memalignhook): Likewise.
21108         (reallochook): Likewise.
21109         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21110         (tr_old_realloc_hook): Likewise.
21111         (tr_old_memalign_hook): Likewise.
21112         (tr_mallochook): Likewise.
21113         (tr_reallochook): Likewise.
21114         (tr_memalignhook): Likewise.
21115
21116 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21117
21118         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21119         default_ldbl_pack and using as default implementation.
21120         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21121         implementation.
21122         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21123         redundant definition.
21124         (ldbl_insert_mantissa): Likewise.
21125         (ldbl_canonicalize): Likewise.
21126         (ldbl_nearbyint): Likewise.
21127         (ldbl_pack): Rename to ldbl_pack_ppc.
21128         (ldbl_unpack): Rename to ldbl_unpack_ppc.
21129         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21130         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21131
21132 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21133
21134         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21135         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21136         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21137         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21138         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21139         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21140         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21141         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21142
21143 2013-03-07  Andreas Jaeger  <aj@suse.de>
21144
21145         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21146         bits/mman-linux.h.
21147
21148 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21149
21150         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21151         Include mpa.h and declare __MPEXP.
21152         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21153         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21154         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21155         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21156         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21157         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21158         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21159
21160         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21161         (__slowpow): Use long double EXPL and LOGL functions to
21162         compute POW.
21163         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21164         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21165         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21166         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21167         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21168         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21169
21170         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21171         intermediate variable to calculate exponent.
21172         (__sqr): Likewise.
21173         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21174         Likewise.
21175         (__sqr): Likewise.
21176
21177         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21178         [!NO__SQR]: Define __sqr.
21179         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21180         and NO__SQR.  Remove all code except __mul and __sqr.  Include
21181         sysdeps/ieee754/dbl-64/mpa.c.
21182         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21183
21184         [BZ #12723]
21185         * posix/Makefile (tests): Add tst-pathconf.
21186         * posix/tst-pathconf.c: New test case.
21187         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21188         _PC_PIPE_BUF.
21189         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21190
21191 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
21192
21193         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21194
21195 2013-03-06  Andreas Jaeger  <aj@suse.de>
21196
21197         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21198         definition via __MAP_ANONYMOUS.
21199
21200         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21201         it's not part of Linux headers.
21202
21203         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21204         (MAP_HUGE_MASK): Define.
21205
21206         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21207         Define.
21208         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21209         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21210         Define.
21211         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21212         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21213         Define.
21214         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21215         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21216         Define.
21217         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21218
21219         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21220         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21221         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21222         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21223         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21224         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21225
21226         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21227         Handle f2fs.
21228
21229         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21230         Handle f2fs and efivarfs.
21231
21232         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21233         f2fs.
21234
21235         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21236         (EFIVARFS_MAGIC): Add.
21237         (F2FS_LINK_MAX): Add.
21238
21239 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21240
21241         * stdio-common/vfprintf.c: Replace __builtin_expect with
21242         __glibc_unlikely.
21243
21244 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
21245
21246         [BZ #13550]
21247         * sysdeps/generic/bp-sym.h: Remove file.
21248         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21249         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21250         <bp-sym.h> and <bp-asm.h>.
21251         (__longjmp): Don't use BP_SYM.
21252         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21253         and <bp-asm.h>.
21254         (memcpy): Don't use BP_SYM.
21255         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21256         <bp-sym.h> and <bp-asm.h>.
21257         (memcpy): Don't use BP_SYM.
21258         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21259         <bp-asm.h>.
21260         (memcpy): Don't use BP_SYM.
21261         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21262         <bp-asm.h>.
21263         (memset): Don't use BP_SYM.
21264         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21265         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21266         (__bzero): Don't use BP_SYM.
21267         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21268         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21269         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21270         <bp-sym.h> and <bp-asm.h>.
21271         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21272         pointers.
21273         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21274         <bp-sym.h> and <bp-asm.h>.
21275         (memcpy): Don't use BP_SYM.
21276         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21277         <bp-sym.h> and <bp-asm.h>.
21278         (memset): Don't use BP_SYM.
21279         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21280         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21281         (__bzero): Don't use BP_SYM.
21282         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21283         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21284         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21285         <bp-sym.h> and <bp-asm.h>.
21286         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21287         pointers.
21288         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21289         <bp-sym.h> and <bp-asm.h>.
21290         (memcpy): Don't use BP_SYM.
21291         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21292         <bp-sym.h> and <bp-asm.h>.
21293         (memset): Don't use BP_SYM.
21294         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21295         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21296         (__bzero): Don't use BP_SYM.
21297         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21298         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21299         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21300         <bp-sym.h> and <bp-asm.h>.
21301         (__memchr): Don't use BP_SYM.
21302         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21303         <bp-sym.h> and <bp-asm.h>.
21304         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21305         pointers.
21306         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21307         <bp-sym.h> and <bp-asm.h>.
21308         (memcpy): Don't use BP_SYM.
21309         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21310         <bp-sym.h> and <bp-asm.h>.
21311         (__mempcpy): Don't use BP_SYM.
21312         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21313         <bp-sym.h> and <bp-asm.h>.
21314         (__memrchr): Don't use BP_SYM.
21315         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21316         <bp-sym.h> and <bp-asm.h>.
21317         (memset): Don't use BP_SYM.
21318         (__bzero): Likewise.
21319         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21320         <bp-sym.h> and <bp-asm.h>.
21321         (__rawmemchr): Don't use BP_SYM.
21322         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21323         <bp-sym.h> and <bp-asm.h>.
21324         (__STRCMP): Don't use BP_SYM.
21325         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21326         <bp-sym.h> and <bp-asm.h>.
21327         (strchr): Don't use BP_SYM.
21328         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21329         <bp-sym.h> and <bp-asm.h>.
21330         (__strchrnul): Don't use BP_SYM.
21331         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21332         <bp-sym.h> and <bp-asm.h>.
21333         (strlen): Don't use BP_SYM.
21334         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21335         <bp-sym.h> and <bp-asm.h>.
21336         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21337         pointers.
21338         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21339         <bp-sym.h> and <bp-asm.h>.
21340         (__strnlen): Don't use BP_SYM.
21341         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21342         <bp-sym.h> and <bp-asm.h>.
21343         (__GI__setjmp): Don't use BP_SYM.
21344         (_setjmp): Likewise.
21345         (__sigsetjmp): Likewise.
21346         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21347         (L(start_addresses)): Don't use BP_SYM.
21348         (_start): Likewise.
21349         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21350         <bp-asm.h>.
21351         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21352         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21353         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21354         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21355         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21356         <bp-asm.h>.
21357         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21358         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
21359         about bounded pointers.
21360         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21361         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21362         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21363         <bp-asm.h>.
21364         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21365         about bounded pointers.  Remove GKM FIXME comments.
21366         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21367         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21368         <bp-asm.h>.
21369         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21370         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
21371         Remove GKM FIXME comments.
21372         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21373         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21374         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21375         <bp-asm.h>.
21376         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21377         about bounded pointers.  Remove GKM FIXME comment.
21378         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21379         and <bp-asm.h>.
21380         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21381         pointers.
21382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21383         <bp-sym.h> and <bp-asm.h>.
21384         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21386         <bp-sym.h> and <bp-asm.h>.
21387         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21388         comment.
21389
21390 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21391
21392         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21393         call free(NULL).
21394
21395 2013-03-05  David S. Miller  <davem@davemloft.net>
21396
21397         * po/es.po: Update from translation team.
21398
21399 2013-03-05  Andreas Jaeger  <aj@suse.de>
21400
21401         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21402         <bits/mman-linux.h>.
21403         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21404         is fine.
21405         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21406         <bits/mman-linux.h> to end of file.
21407         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21408         is fine.
21409         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21410         <bits/mman-linux.h> to end of file.
21411         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21412         is fine.
21413         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21414         <bits/mman-linux.h> to end of file.
21415
21416         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21417         (MCL_CURRENT, MCL_FUTURE): Define here.
21418
21419 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21420
21421         [BZ #15232]
21422         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21423         attribute_hidden.
21424         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21425
21426 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21427
21428         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21429         fourth parameter needed for rt_sigprocmask syscall.
21430         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21431         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21432         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21433         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21434         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21435         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21436
21437 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
21438
21439         [BZ #13550]
21440         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21441         comment about bounded pointers.
21442         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21443         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21444
21445 2013-03-04  Andreas Jaeger  <aj@suse.de>
21446
21447         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21448         common definitions.
21449
21450         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21451         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21452         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21453         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21454         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21455         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21456
21457 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21458
21459         [BZ #15055]
21460         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21461         __ieee754_sqrl instead of __sqrl.
21462
21463 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
21464
21465         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21466         * sysdeps/powerpc/fpu_control.h: ... here.
21467         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21468         * sysdeps/powerpc/bits/fenvinline.h: ... here.
21469         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21470         * sysdeps/powerpc/bits/mathinline.h: ... here.
21471
21472 2013-03-01  Roland McGrath  <roland@hack.frob.com>
21473
21474         * elf/dl-hwcaps.c (_dl_important_hwcaps):
21475         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21476         to just [NEED_DL_SYSINFO_DSO].
21477         * elf/dl-support.c: Likewise.
21478         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21479         * elf/rtld.c (dl_main): Likewise.
21480         * elf/setup-vdso.h (setup_vdso): Likewise.
21481         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21482         * sysdeps/unix/sysv/linux/dl-sysdep.c
21483         (_dl_discover_osversion): Likewise.
21484
21485 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
21486
21487         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21488         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21489
21490 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21491
21492         * NEWS: Mention libm performance improvements and non-x86 PI
21493         futex support.
21494
21495         * csu/libc-start.c (__pthread_initialize_minimal): Change
21496         function arguments.
21497         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21498
21499 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
21500
21501         [BZ #13550]
21502         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21503         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21504         <bp-sym.h> and <bp-asm.h>.
21505         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21506         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21507         and <bp-asm.h>.
21508         (memcpy): Don't use BP_SYM.
21509         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21510         <bp-asm.h>.
21511         (__mpn_add_n): Don't use BP_SYM.
21512         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21513         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21514         and <bp-asm.h>.
21515         (__mpn_addmul_1): Don't use BP_SYM.
21516         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21517         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21518         <bp-sym.h>.
21519         (_setjmp): Don't use BP_SYM.
21520         (__novmx_setjmp): Likewise.
21521         (__GI__setjmp): Likewise.
21522         (__vmx_setjmp): Likewise.
21523         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21524         <bp-sym.h>.
21525         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21526         (__bzero): Don't use BP_SYM.
21527         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21528         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21529         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21530         <bp-sym.h> and <bp-asm.h>.
21531         (memcpy): Don't use BP_SYM.
21532         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21533         <bp-sym.h> and <bp-asm.h>.
21534         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21535         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21536         <bp-sym.h> and <bp-asm.h>.
21537         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21538         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21539         <bp-asm.h>.
21540         (__mpn_lshift): Don't use BP_SYM.
21541         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21542         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21543         <bp-asm.h>.
21544         (memset): Don't use BP_SYM.
21545         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21546         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21547         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21548         <bp-asm.h>.
21549         (__mpn_mul_1): Don't use BP_SYM.
21550         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21551         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21552         <bp-sym.h> and <bp-asm.h>.
21553         (memcmp): Don't use BP_SYM.
21554         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21555         <bp-sym.h> and <bp-asm.h>.
21556         (memcpy): Don't use BP_SYM.
21557         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21558         <bp-sym.h> and <bp-asm.h>.
21559         (memset): Don't use BP_SYM.
21560         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21561         <bp-sym.h> and <bp-asm.h>.
21562         (strncmp): Don't use BP_SYM.
21563         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21564         <bp-sym.h> and <bp-asm.h>.
21565         (memcpy): Don't use BP_SYM.
21566         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21567         <bp-sym.h> and <bp-asm.h>.
21568         (memset): Don't use BP_SYM.
21569         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21570         <bp-sym.h> and <bp-asm.h>.
21571         (__memchr): Don't use BP_SYM.
21572         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21573         <bp-sym.h> and <bp-asm.h>.
21574         (memcmp): Don't use BP_SYM.
21575         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21576         <bp-sym.h> and <bp-asm.h>.
21577         (memcpy): Don't use BP_SYM.
21578         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21579         <bp-sym.h> and <bp-asm.h>.
21580         (__mempcpy): Don't use BP_SYM.
21581         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21582         <bp-sym.h> and <bp-asm.h>.
21583         (__memrchr): Don't use BP_SYM.
21584         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21585         <bp-sym.h> and <bp-asm.h>.
21586         (memset): Don't use BP_SYM.
21587         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21588         <bp-sym.h> and <bp-asm.h>.
21589         (__rawmemchr): Don't use BP_SYM.
21590         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21591         <bp-sym.h> and <bp-asm.h>.
21592         (__STRCMP): Don't use BP_SYM.
21593         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21594         <bp-sym.h> and <bp-asm.h>.
21595         (strchr): Don't use BP_SYM.
21596         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21597         <bp-sym.h> and <bp-asm.h>.
21598         (__strchrnul): Don't use BP_SYM.
21599         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21600         <bp-sym.h> and <bp-asm.h>.
21601         (strlen): Don't use BP_SYM.
21602         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21603         <bp-sym.h> and <bp-asm.h>.
21604         (strncmp): Don't use BP_SYM.
21605         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21606         <bp-sym.h> and <bp-asm.h>.
21607         (__strnlen): Don't use BP_SYM.
21608         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21609         <bp-asm.h>.
21610         (__mpn_rshift): Don't use BP_SYM.
21611         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21612         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21613         <bp-sym.h> and <bp-asm.h>.
21614         (__sigsetjmp): Don't use BP_SYM.
21615         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21616         (L(start_addresses)): Don't use BP_SYM.
21617         (_start): Likewise.
21618         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21619         <bp-asm.h>.
21620         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21621         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21622         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21623         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21624         <bp-asm.h>.
21625         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21626         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21627         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21628         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21629         <bp-asm.h>.
21630         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21631         comments.
21632         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21633         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21634         <bp-asm.h>.
21635         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
21636         FIXME comments.
21637         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21638         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21639         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21640         <bp-asm.h>.
21641         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21642         comment.
21643         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21644         and <bp-asm.h>.
21645         (strncmp): Don't use BP_SYM,
21646         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21647         <bp-asm.h>.
21648         (__mpn_sub_n): Don't use BP_SYM.
21649         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21650         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21651         and <bp-asm.h>.
21652         (__mpn_submul_1): Don't use BP_SYM.
21653         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21655         <bp-sym.h> and <bp-asm.h>.
21656         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21658         <bp-sym.h> and <bp-asm.h>.
21659         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21660         comment.
21661
21662 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21663
21664         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21665         Use ZK to minimize writes to Z.
21666         (sub_magnitudes): Simplify code a bit.
21667         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21668         Use ZK to minimize writes to Z.
21669         (sub_magnitudes): Simplify code a bit.
21670
21671 2013-02-27  Roland McGrath  <roland@hack.frob.com>
21672
21673         * csu/gmon-start.c: Add special exception to license text.
21674
21675 2013-02-27  Richard Henderson  <rth@redhat.com>
21676
21677         * scripts/config.guess: Update from config.git.
21678         * scripts/config.sub: Likewise.
21679
21680 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21681
21682         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21683
21684         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21685
21686         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21687
21688         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21689
21690         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21691
21692 2013-02-26  Roland McGrath  <roland@hack.frob.com>
21693
21694         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21695         [$(build-shared = yes].
21696
21697 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21698
21699         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21700         (__mul): Reduce iterations for calculating mantissa.
21701
21702         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21703         MPTWO.
21704         (__mpranred): Likewise.
21705
21706         [BZ #15160]
21707         * malloc/memusagestat.c (main): Draw graphs for heap and stack
21708         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21709
21710 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
21711
21712         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21713         Define __attribute__.
21714
21715 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21716
21717         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21718         unused.
21719         * posix/regex_internal.h (__attribute): Remove.
21720         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21721         (re_string_context_at): Likewise.
21722         (bitset_not): Use __attribute__ and mark function as possibly
21723         unused.
21724         (bitset_merge): Likewise.
21725         (bitset_mask): Likewise.
21726         (re_string_char_size_at): Likewise.
21727         (re_string_wchar_at): Likewise.
21728         (re_string_elem_size_at): Likewise.
21729
21730 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21731
21732         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21733         code.
21734         (cc32): Likewise.
21735
21736         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21737         (__acr): Likewise.
21738         (__cpy): Likewise.
21739         (norm): Likewise.
21740         (denorm): Likewise.
21741         (__dbl_mp): Likewise.
21742         (add_magnitudes): Likewise.
21743         (sub_magnitudes): Likewise.
21744         (__mul): Likewise.
21745         (__inv): Likewise.
21746
21747         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21748         style.
21749
21750         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21751         style.
21752
21753         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21754         code.
21755
21756         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21757         up changes with default code.
21758         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21759         Likewise.
21760
21761 2013-02-24  Allan McRae  <allan@archlinux.org>
21762
21763         * manual/socket.texi (The Internet Namespace): Order menu items
21764         to match that in the file.
21765
21766         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21767         node listing of the info page menu.
21768
21769 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
21770
21771         [BZ #13550]
21772         * sysdeps/i386/bp-asm.h: Remove file.
21773         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21774         (PARMS): Do not use macros from bp-asm.h.
21775         (S1): Likewise.
21776         (S2): Likewise.
21777         (SIZE): Likewise.
21778         (__mpn_add_n): Do not use BP_SYM
21779         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21780         "bp-asm.h".
21781         (PARMS): Do not use macros from bp-asm.h.
21782         (S1): Likewise.
21783         (SIZE): Likewise.
21784         (__mpn_addmul_1): Do not use BP_SYM
21785         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21786         "bp-asm.h".
21787         (PARMS): Do not use macros from bp-asm.h.
21788         (SIGMSK): Likewise.
21789         (_setjmp): Likewise.  Do not use BP_SYM.
21790         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21791         "bp-asm.h".
21792         (PARMS): Do not use macros from bp-asm.h.
21793         (SIGMSK): Likewise.
21794         (setjmp): Likewise.  Do not use BP_SYM.
21795         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21796         "bp-asm.h".
21797         (PARMS): Do not use macros from bp-asm.h.
21798         (__frexp): Do not use BP_SYM.
21799         (frexp): Likewise.
21800         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21801         "bp-asm.h".
21802         (PARMS): Do not use macros from bp-asm.h.
21803         (__frexpf): Do not use BP_SYM.
21804         (frexpf): Likewise.
21805         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21806         "bp-asm.h".
21807         (PARMS): Do not use macros from bp-asm.h.
21808         (__frexpl): Do not use BP_SYM.
21809         (frexpl): Likewise.
21810         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21811         "bp-asm.h".
21812         (PARMS): Do not use macros from bp-asm.h.
21813         (__remquo): Do not use BP_SYM.
21814         (remquo): Likewise.
21815         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21816         "bp-asm.h".
21817         (PARMS): Do not use macros from bp-asm.h.
21818         (__remquof): Do not use BP_SYM.
21819         (remquof): Likewise.
21820         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21821         "bp-asm.h".
21822         (PARMS): Do not use macros from bp-asm.h.
21823         (__remquol): Do not use BP_SYM.
21824         (remquol): Likewise.
21825         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21826         "bp-asm.h".
21827         (PARMS): Do not use macros from bp-asm.h.
21828         (DEST): Likewise.
21829         (SRC): Likewise.
21830         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
21831         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21832         "bp-asm.h".
21833         (PARMS): Do not use macros from bp-asm.h.
21834         (strlen): Do not use BP_SYM.
21835         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21836         "bp-asm.h".
21837         (PARMS): Do not use macros from bp-asm.h.
21838         (S1): Likewise.
21839         (S2): Likewise.
21840         (SIZE): Likewise.
21841         (__mpn_add_n): Do not use BP_SYM.
21842         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21843         "bp-asm.h".
21844         (PARMS): Do not use macros from bp-asm.h.
21845         (S1): Likewise.
21846         (SIZE): Likewise.
21847         (__mpn_addmul_1): Do not use BP_SYM.
21848         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21849         weak_alias.
21850         (bzero): Likewise.
21851         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21852         "bp-asm.h".
21853         (PARMS): Do not use macros from bp-asm.h.
21854         (S): Likewise.
21855         (SIZE): Likewise.
21856         (__mpn_lshift): Do not use BP_SYM.
21857         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21858         "bp-asm.h".
21859         (PARMS): Do not use macros from bp-asm.h.
21860         (DEST): Likewise.
21861         (SRC): Likewise.
21862         (LEN): Likewise.
21863         (memcpy): Likewise.  Do not use BP_SYM.
21864         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21865         libc_hidden_def and weak_alias.
21866         (mempcpy): Do not use BP_SYM in weak_alias.
21867         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21868         "bp-asm.h".
21869         (PARMS): Do not use macros from bp-asm.h.
21870         (DEST): Likewise.
21871         (LEN): Likewise.
21872         [!BZERO_P] (CHR): Likewise.
21873         (memset): Likewise.  Do not use BP_SYM.
21874         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21875         "bp-asm.h".
21876         (PARMS): Do not use macros from bp-asm.h.
21877         (S1): Likewise.
21878         (SIZE): Likewise.
21879         (__mpn_mul_1): Do not use BP_SYM.
21880         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21881         "bp-asm.h".
21882         (PARMS): Do not use macros from bp-asm.h.
21883         (S): Likewise.
21884         (SIZE): Likewise.
21885         (__mpn_rshift): Do not use BP_SYM.
21886         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21887         "bp-asm.h".
21888         (PARMS): Do not use macros from bp-asm.h.
21889         (STR): Likewise.
21890         (CHR): Likewise.
21891         (strchr): Likewise.  Do not use BP_SYM.
21892         (index): Do not use BP_SYM in weak_alias.
21893         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21894         "bp-asm.h".
21895         (PARMS): Do not use macros from bp-asm.h.
21896         (DEST): Likewise.
21897         (SRC): Likewise.
21898         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
21899         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21900         "bp-asm.h".
21901         (PARMS): Do not use macros from bp-asm.h.
21902         (strlen): Do not use BP_SYM.
21903         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21904         "bp-asm.h".
21905         (PARMS): Do not use macros from bp-asm.h.
21906         (S1): Likewise.
21907         (S2): Likewise.
21908         (SIZE): Likewise.
21909         (__mpn_sub_n): Do not use BP_SYM.
21910         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21911         "bp-asm.h".
21912         (PARMS): Do not use macros from bp-asm.h.
21913         (S1): Likewise.
21914         (SIZE): Likewise.
21915         (__mpn_submul_1): Do not use BP_SYM.
21916         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21917         "bp-asm.h".
21918         (PARMS): Do not use macros from bp-asm.h.
21919         (S1): Likewise.
21920         (S2): Likewise.
21921         (SIZE): Likewise.
21922         (__mpn_add_n): Do not use BP_SYM.
21923         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21924         weak_alias.
21925         (bzero): Likewise.
21926         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21927         "bp-asm.h".
21928         (PARMS): Do not use macros from bp-asm.h.
21929         (BLK2): Likewise.
21930         (LEN): Likewise.
21931         (memcmp): Do not use BP_SYM.
21932         (bcmp): Do not use BP_SYM in weak_alias.
21933         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21934         "bp-asm.h".
21935         (PARMS): Do not use macros from bp-asm.h.
21936         (DEST): Likewise.
21937         (SRC): Likewise.
21938         (LEN): Likewise.
21939         (memcpy): Likewise.  Do not use BP_SYM.
21940         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21941         "bp-asm.h".
21942         (PARMS): Do not use macros from bp-asm.h.
21943         (DEST): Likewise.
21944         (SRC): Likewise.
21945         (LEN): Likewise.
21946         (memmove): Likewise.  Do not use BP_SYM.
21947         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21948         "bp-asm.h".
21949         (PARMS): Do not use macros from bp-asm.h.
21950         (DEST): Likewise.
21951         (SRC): Likewise.
21952         (LEN): Likewise.
21953         (__mempcpy): Likewise.  Do not use BP_SYM.
21954         (mempcpy): Do not use BP_SYM in weak_alias.
21955         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21956         "bp-asm.h".
21957         (PARMS): Do not use macros from bp-asm.h.
21958         (DEST): Likewise.
21959         (LEN): Likewise.
21960         [!BZERO_P] (CHR): Likewise.
21961         (memset): Likewise.  Do not use BP_SYM.
21962         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21963         "bp-asm.h".
21964         (PARMS): Do not use macros from bp-asm.h.
21965         (STR2): Likewise.
21966         (strcmp): Do not use BP_SYM.
21967         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21968         "bp-asm.h".
21969         (PARMS): Do not use macros from bp-asm.h.
21970         (STR): Likewise.
21971         (DELIM): Likewise.
21972         [USE_AS_STRTOK_R] (SAVE): Likewise.
21973         (FUNCTION): Likewise.  Do not use BP_SYM.
21974         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21975         aliases.
21976         (strtok_r): Likewise.
21977         (__GI___strtok_r): Likewise.
21978         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21979         (PARMS): Do not use macros from bp-asm.h.
21980         (S): Likewise.
21981         (SIZE): Likewise.
21982         (__mpn_lshift): Do not use BP_SYM.
21983         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21984         (PARMS): Do not use macros from bp-asm.h.
21985         (STR): Likewise.
21986         (CHR): Likewise.
21987         (__memchr): Do not use BP_SYM.
21988         (memchr): Do not use BP_SYM in weak_alias.
21989         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21990         (PARMS): Do not use macros from bp-asm.h.
21991         (BLK2): Likewise.
21992         (LEN): Likewise.
21993         (memcmp): Do not use BP_SYM.
21994         (bcmp): Do not use BP_SYM in weak_alias.
21995         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21996         (PARMS): Do not use macros from bp-asm.h.
21997         (S1): Likewise.
21998         (SIZE): Likewise.
21999         (__mpn_mul_1): Do not use BP_SYM.
22000         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22001         "bp-asm.h".
22002         (PARMS): Do not use macros from bp-asm.h.
22003         (STR): Likewise.
22004         (CHR): Likewise.
22005         (__rawmemchr): Do not use BP_SYM.
22006         (rawmemchr): Do not use BP_SYM in weak_alias.
22007         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22008         (PARMS): Do not use macros from bp-asm.h.
22009         (S): Likewise.
22010         (SIZE): Likewise.
22011         (__mpn_rshift): Do not use BP_SYM.
22012         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22013         (PARMS): Do not use macros from bp-asm.h.
22014         (SIGMSK): Likewise.
22015         (__sigsetjmp): Likewise.  Do not use BP_SYM.
22016         * sysdeps/i386/start.S: Do not include "bp-sym.h".
22017         (_start): Do not use BP_SYM.
22018         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22019         (PARMS): Do not use macros from bp-asm.h.
22020         (DEST): Likewise.
22021         (SRC): Likewise.
22022         (__stpcpy): Likewise.  Do not use BP_SYM.
22023         (stpcpy): Do not use BP_SYM in weak_alias.
22024         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22025         "bp-asm.h".
22026         (PARMS): Do not use macros from bp-asm.h.
22027         (DEST): Likewise.
22028         (SRC): Likewise.
22029         (LEN): Likewise.
22030         (__stpncpy): Likewise.  Do not use BP_SYM.
22031         (stpncpy): Do not use BP_SYM in weak_alias.
22032         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22033         (PARMS): Do not use macros from bp-asm.h.
22034         (STR): Likewise.
22035         (CHR): Likewise.
22036         (strchr): Likewise.  Do not use BP_SYM.
22037         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22038         "bp-asm.h".
22039         (PARMS): Do not use macros from bp-asm.h.
22040         (STR): Likewise.
22041         (CHR): Likewise.
22042         (__strchrnul): Likewise.  Do not use BP_SYM.
22043         (strchrnul): Do not use BP_SYM in weak_alias.
22044         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22045         "bp-asm.h".
22046         (PARMS): Do not use macros from bp-asm.h.
22047         (STOP): Likewise.
22048         (strcspn): Do not use BP_SYM.
22049         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22050         "bp-asm.h".
22051         (PARMS): Do not use macros from bp-asm.h.
22052         (STR): Likewise.
22053         (STOP): Likewise.
22054         (strpbrk): Likewise.  Do not use BP_SYM.
22055         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22056         "bp-asm.h".
22057         (PARMS): Do not use macros from bp-asm.h.
22058         (STR): Likewise.
22059         (CHR): Likewise.
22060         (strrchr): Likewise.  Do not use BP_SYM.
22061         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22062         (PARMS): Do not use macros from bp-asm.h.
22063         (SKIP): Likewise.
22064         (strspn): Do not use BP_SYM.
22065         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22066         (PARMS): Do not use macros from bp-asm.h.
22067         (STR): Likewise.
22068         (DELIM): Likewise.
22069         (SAVE): Likewise.
22070         (FUNCTION): Likewise.  Do not use BP_SYM.
22071         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22072         aliases.
22073         (strtok_r): Likewise.
22074         (__GI___strtok_r): Likewise.
22075         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22076         (PARMS): Do not use macros from bp-asm.h.
22077         (S1): Likewise.
22078         (S2): Likewise.
22079         (SIZE): Likewise.
22080         (__mpn_sub_n): Do not use BP_SYM.
22081         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22082         "bp-asm.h".
22083         (PARMS): Do not use macros from bp-asm.h.
22084         (S1): Likewise.
22085         (SIZE): Likewise.
22086         (__mpn_submul_1): Do not use BP_SYM.
22087         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22088         <bp-sym.h>.
22089         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22090         and <bp-asm.h>.
22091         (PARMS): Do not use macros from bp-asm.h.
22092         (FLAGS): Likewise.
22093         (PTID): Likewise.
22094         (TLS): Likewise.
22095         (CTID): Likewise.
22096         (__clone): Do not use BP_SYM.
22097         (clone): Do not use BP_SYM in weak_alias.
22098         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22099         and <bp-asm.h>.
22100         (PARMS): Do not use macros from bp-asm.h.
22101         (LEN): Likewise.
22102         (__mmap64): Do not use BP_SYM.
22103         (mmap64): Do not use BP_SYM in weak_alias.
22104         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22105         <bp-sym.h> and <bp-asm.h>.
22106         (PARMS): Do not use macros from bp-asm.h.
22107         (__posix_fadvise64_l64): Do not use BP_SYM.
22108         * sysdeps/unix/sysv/linux/i386/semtimedop.S
22109         (PARMS): Do not use macros from bp-asm.h.
22110         (NSOPS): Likewise.
22111         (semtimedop): Do not use BP_SYM.
22112         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22113         and <bp-asm.h>.
22114
22115 2013-02-21  Allan McRae  <allan@archlinux.org>
22116
22117         * manual/message.texi (Charset conversion in gettext):
22118         Move @end statement to beginning of line.
22119
22120 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22121
22122         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22123         static.
22124         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22125         Likewise.
22126
22127         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22128         (denorm): Likewise.
22129         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22130         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22131
22132 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22133
22134         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22135         tail-call to the resolved function if pltexit isn't needed.
22136
22137 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22138
22139         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22140         or Y being zero as being unlikely.
22141         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22142         Likewise.
22143
22144 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
22145
22146         * manual/nss.texi (System Databases and Name Service Switch):
22147         Remove frobnicate @pxref.
22148
22149 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22150
22151         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22152         __attribute__ ((unused)) to __attribute__ ((__unused__)).
22153
22154 2013-02-20  Petr Machata  <pmachata@redhat.com>
22155
22156         * elf/elf.h (R_ARM_TARGET1): New macro.
22157         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22158         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22159         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22160         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22161         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22162         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22163         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22164         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22165         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22166         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22167         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22168         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22169         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22170         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22171         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22172         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22173         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22174         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22175         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22176         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22177         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22178         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22179         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22180         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22181         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22182         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22183         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22184         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22185         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22186         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22187         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22188         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22189         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22190         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22191         (R_ARM_THM_GOT_BREL12): Likewise.
22192         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22193         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22194         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22195         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22196         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22197         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22198         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22199         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22200         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22201
22202 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22203
22204         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22205         __attribute_used__ to __attribute__ ((unused)).
22206
22207 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22208
22209         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22210         powerpc mpa.c.
22211         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22212         comment formatting.
22213         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22214
22215 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
22216
22217         [BZ #13550]
22218         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22219         Remove macro.
22220         (ENTER): Remove both macro definitions.
22221         (LEAVE): Likewise.
22222         (CHECK_BOUNDS_LOW): Likewise.
22223         (CHECK_BOUNDS_HIGH): Likewise.
22224         (CHECK_BOUNDS_BOTH): Likewise.
22225         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22226         (RETURN_BOUNDED_POINTER): Likewise.
22227         (RETURN_NULL_BOUNDED_POINTER): Likewise.
22228         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22229         (POP_ERRNO_LOCATION_RETURN): Likewise.
22230         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22231         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22232         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22233         macros.
22234         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22235         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22236         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22237         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22238         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22239         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22240         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22241         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22242         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22243         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22244         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22245         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22246         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22247         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22248         removed macros.
22249         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22250         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22251         macros.
22252         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22253         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22254         * sysdeps/i386/i586/memset.S (memset): Likewise.
22255         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22256         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22257         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22258         macros.
22259         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22260         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22261         Change uses of L(2) to L(out).
22262         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22263         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22264         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22265         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22266         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22267         removed macros.
22268         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22269         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22270         macros.
22271         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22272         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22273         (RETURN): Do not use macro LEAVE.
22274         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22275         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22276         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22277         * sysdeps/i386/i686/memset.S (memset): Likewise.
22278         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22279         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22280         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22281         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22282         Likewise.
22283         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22284         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
22285         L(1_2) and L(1_3) into L(1).
22286         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22287         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22288         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22289         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22290         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22291         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22292         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22293         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22294         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22295         macros.
22296         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22297         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22298         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22299         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22300         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22301         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22302         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22303         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22304         * sysdeps/i386/strcspn.S (strcspn): Likewise.
22305         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22306         * sysdeps/i386/strrchr.S (strrchr): Likewise.
22307         * sysdeps/i386/strspn.S (strspn): Likewise.
22308         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22309         conditional code.
22310         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22311         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22312         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22313         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
22314         L(1_3) into L(1_1).
22315         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22316         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22317         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22318         macros.
22319         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22320
22321 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
22322
22323         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22324         macro.
22325
22326 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22327
22328         * math/atest-exp.c (exp_mpn): Remove ROUND.
22329         * math/atest-exp2.c (exp_mpn): Likewise.
22330         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22331
22332         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22333         * stdlib/tst-tls-atexit-lib.c: Likewise.
22334         * stdlib/tst-tls-atexit.c: Likewise.
22335
22336 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22337
22338         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22339         and __attribute_alloc_size__.
22340
22341 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22342
22343         * include/programs/xmalloc.h: Change __attribute_alloc_size to
22344         __attribute_alloc_size__.
22345         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22346         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22347
22348 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22349
22350         * include/programs/xmalloc.h: New file.
22351         * catgets/gencat.c: Include it.
22352         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22353         * elf/pldd.c: Likewise.
22354         * iconv/iconv_charmap.c: Likewise.
22355         * iconv/iconvconfig.c: Likewise.
22356         * iconv/strtab.c: Likewise.
22357         * locale/programs/locale.c: Likewise.
22358         * locale/programs/localedef.h: Likewise.
22359         * locale/programs/simple-hash.c: Likewise.
22360         * nscd/nscd.h: Likewise.
22361         * nss/makedb.c: Likewise.
22362         * sysdeps/generic/ldconfig.h: Likewise.
22363
22364 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22365
22366         * Versions.def: Add GLIBC_2.18.
22367         * include/link.h (struct link_map): New member l_tls_dtor_count.
22368         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22369         (__call_tls_dtors): Likewise.
22370         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22371         __cxa_thread_atexit_impl.
22372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22373         Likewise.
22374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22375         Likewise.
22376         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22377         Likewise.
22378         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22379         Likewise.
22380         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22381         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22382         Likewise.
22383         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22384         Likewise.
22385         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22386         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22387         Likewise.
22388         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22389         (tests): Add test case tst-tls-atexit.
22390         (modules-names): Add shared library for tst-tls-atexit.
22391         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22392         (GLIBC_PRIVATE): Add __call_tls_dtors.
22393         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22394         for libstdc++.
22395         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22396         * stdlib/tst-tls-atexit.c: New test case.
22397         * stdlib/tst-tls-atexit-lib.c: New test case.
22398
22399         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22400
22401         * elf/Versions (ld): Add _dl_find_dso_for_object.
22402         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22403         * elf/dl-open.c (_dl_find_dso_for_object): New function.
22404         (dl_open_worker): Use _dl_find_dso_for_object.
22405         * elf/dl-sym.c (do_sym): Likewise.
22406         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22407
22408 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22409
22410         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22411         Syntactic changes only.
22412         (_dl_runtime_profile): Do a tail-call to the resolved function.
22413
22414 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
22415
22416         [BZ #13550]
22417         * sysdeps/x86_64/bp-asm.h: Remove file.
22418         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22419         <bp-sym.h> and <bp-asm.h>.
22420         (__clone): Do not use BP_SYM.
22421         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22422         <bp-sym.h> and <bp-asm.h>.
22423         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22424         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22425         "bp-asm.h".
22426         (_setjmp): Do not use BP_SYM.
22427         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22428         "bp-asm.h".
22429         (setjmp): Do not use BP_SYM.
22430         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22431         libc_hidden_def.
22432         (mempcpy): Do not use BP_SYM in weak_alias.
22433         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22434         "bp-asm.h".
22435         (strchr): Do not use BP_SYM.
22436         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22437         "bp-asm.h".
22438         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22439         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22440         (_start): Do not use BP_SYM.
22441         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22442         "bp-asm.h".
22443         (strcat): Do not use BP_SYM.
22444         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22445         "bp-asm.h".
22446         (STRCMP): Do not use BP_SYM.
22447         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22448         "bp-asm.h".
22449         (STRCPY): Do not use BP_SYM.
22450         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22451         "bp-asm.h".
22452         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22453         "bp-asm.h".
22454         (FUNCTION): Do not use BP_SYM.
22455         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22456         weak_alias.
22457         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22458
22459 2013-02-17  Andreas Jaeger  <aj@suse.de>
22460
22461         * time/Versions: Sort entries.
22462         * string/Versions: Likewise.
22463         * resolv/Versions: Likewise.
22464         * posix/Versions: Likewise.
22465         * iconv/Versions: Likewise.
22466         * elf/Versions: Likewise.
22467         * wcsmbs/Versions: Likewise.
22468
22469 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22470
22471         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22472         loop termination condition.
22473
22474         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22475         variable to calculate EZ.
22476         (__sqr): Likewise.
22477
22478         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22479         the lower precision input.
22480
22481 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
22482
22483         [BZ #13550]
22484         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22485         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22486         (run-via-rtld-prefix): Do not handle %-bp tests.
22487         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22488         (all-object-suffixes): Remove .ob.
22489         (bppfx): Remove variable.
22490         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22491         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22492         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22493         [$(build-bounded) = yes] (libtype.ob): Likewise.
22494         * Makerules (elide-routines.ob): Remove variable.
22495         (do-tests-clean): Do not handle *-bp.out.
22496         (common-mostlyclean): Do not handle *-bp and *-bp.out.
22497         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22498         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22499         (tests): Do not include $(tests-bp.out).
22500         (xtests): Do not include $(xtests-bp.out).
22501         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22502         [$(build-bounded) = yes] ($(addprefix
22503         $(objpfx),$(binaries-bounded))): Remove rule.
22504         ($(objpfx)%-bp.out): Remove rule.
22505         * config.make.in (build-bounded): Remove variable.
22506         * crypt/Makefile [$(build-bounded) = yes]
22507         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22508         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22509         append to variable.
22510         [$(build-bounded) = yes] (install-lib): Likewise.
22511         [$(build-bounded) = yes] (generated): Likewise.
22512         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22513         Remove rule.
22514         * intl/Makefile [$(build-bounded) = yes]
22515         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22516         * math/Makefile [$(build-bounded) = yes]
22517         ($(tests:%=$(objpfx)%-bp): Likewise.
22518         * misc/Makefile [$(build-bounded) = yes]
22519         ($(objpfx)tst-tsearch-bp): Likewise.
22520         * nptl/Makeconfig (bounded-thread-library): Remove variable.
22521         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22522         Remove dependency.
22523         * string/Makefile (o-objects.ob): Remove variable.
22524         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22525         (CFLAGS-.ob): Remove variable.
22526         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22527         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22528         both definitions of variable.
22529         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22530         (ASFLAGS-.ob): Remove variable.
22531
22532 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
22533
22534         [BZ #13550]
22535         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22536         Remove __BOUNDED_POINTERS__ from condition.
22537         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22538         * string/bits/string2.h [!__NO_STRING_INLINES &&
22539         !__BOUNDED_POINTERS__]: Likewise.
22540         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22541         Likewise.
22542         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22543         Remove conditional code.
22544         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22545         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22546         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22547         condition.
22548
22549         [BZ #13550]
22550         * csu/libc-start.c: Do not include <bp-sym.h>.
22551         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22552         * elf/dl-open.c: Do not include <bp-sym.h>.
22553         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22554         * math/fegetenv.c: Do not include <bp-sym.h>.
22555         (fegetenv): Do not use BP_SYM in versioned symbols.
22556         * nptl/sysdeps/pthread/bits/libc-lockP.h
22557         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22558         <bp-sym.h>.
22559         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22560         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22561         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22562         (__pthread_mutex_destroy): Likewise.
22563         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22564         (__pthread_mutex_lock): Likewise.
22565         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22566         (__pthread_mutex_trylock): Likewise.
22567         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22568         (__pthread_mutex_unlock): Likewise.
22569         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22570         (__pthread_mutexattr_init): Likewise.
22571         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22572         (__pthread_mutexattr_destroy): Likewise.
22573         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22574         (__pthread_mutexattr_settype): Likewise.
22575         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22576         (__pthread_rwlock_init): Likewise.
22577         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22578         (__pthread_rwlock_destroy): Likewise.
22579         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22580         (__pthread_rwlock_rdlock): Likewise.
22581         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22582         (__pthread_rwlock_tryrdlock): Likewise.
22583         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22584         (__pthread_rwlock_wrlock): Likewise.
22585         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22586         (__pthread_rwlock_trywrlock): Likewise.
22587         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22588         (__pthread_rwlock_unlock): Likewise.
22589         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22590         (__pthread_key_create): Likewise.
22591         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22592         (__pthread_setspecific): Likewise.
22593         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22594         (__pthread_getspecific): Likewise.
22595         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22596         Likewise.
22597         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22598         (_pthread_cleanup_push_defer): Likewise.
22599         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22600         (_pthread_cleanup_pop_restore): Likewise.
22601         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22602         (pthread_setcancelstate): Likewise.
22603         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22604         <bp-sym.h>.
22605         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22606         (memchr): Do not use BP_SYM in weak_alias.
22607         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22608         (fegetenv): Do not use BP_SYM in versioned symbols.
22609         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22610         (fesetenv): Do not use BP_SYM in versioned symbols.
22611         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22612         (feupdateenv): Do not use BP_SYM in versioned symbols.
22613         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22614         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22615         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22616         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22617         (open64): Do not use BP_SYM in weak_alias.
22618         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22619         (fegetenv): Do not use BP_SYM in versioned symbols.
22620         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22621         (fesetenv): Do not use BP_SYM in versioned symbols.
22622         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22623         (feupdateenv): Do not use BP_SYM in versioned symbols.
22624         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22625         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22626         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22627         (feraiseexcept): Do not use BP_SYM in versioned symbols.
22628         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22629         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22630         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22631         <bp-sym.h>.
22632         (__libc_start_main): Do not use BP_SYM.
22633
22634 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22635
22636         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22637         redundant return line.
22638         (norm): Likewise.
22639         (denorm): Likewise.
22640         (dbl_mp): Likewise.
22641         (sub_magnitudes): Likewise.
22642         (__add): Likewise.
22643         (__sub): Likewise.
22644         (__mul): Likewise.
22645         (__inv): Likewise.
22646         (__dvd): Likewise.
22647         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22648         (norm): Likewise.
22649         (denorm): Likewise.
22650         (dbl_mp): Likewise.
22651         (sub_magnitudes): Likewise.
22652         (__add): Likewise.
22653         (__sub): Likewise.
22654         (__mul): Likewise.
22655         (__inv): Likewise.
22656         (__dvd): Likewise.
22657
22658         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22659         instead of __mul.
22660         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22661         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22662         (cc32): Likewise.
22663
22664         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22665         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22666         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22667         of __mul for squares.
22668         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22669         function
22670         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22671         Likewise.
22672         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22673         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22674
22675 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
22676
22677         [BZ #13550]
22678         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22679         code.
22680         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22681         prototype or function definition.  Rename ubp_* variables and
22682         parameters.  Remove argv definitions conditional on
22683         [__BOUNDED_POINTERS__].
22684         * debug/backtrace.c (__backtrace): Do not use __unbounded.
22685         * elf/dl-runtime.c (_dl_fixup): Likewise.
22686         * include/set-hooks.h (RUN_HOOK): Likewise.
22687         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22688         definition.
22689         * string/strcpy.c (strcpy): Do not use __unbounded.
22690         * sysdeps/generic/frame.h (struct layout): Likewise.
22691         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22692         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22693         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22694         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22695         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22696         (__backtrace): Likewise.
22697         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22698         use __ptrvalue.
22699         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22700         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22701         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22702         Likewise.
22703         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22704         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22705         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22706         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22707         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22708         Do not use __unbounded.
22709         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22710         Rename __unboundedrlimits parameter to rlimits in prototype.
22711         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22712         Do not use __unbounded.
22713         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22714         not use __ptrvalue.
22715         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22716         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22717         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22718         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22719         __ptrvalue or __unbounded.
22720         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22721         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22722         use __unbounded.
22723         (__new_msgctl): Do not use __ptrvalue.
22724         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22725         __unbounded.
22726         (__libc_msgrcv): Do not use __ptrvalue.
22727         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22728         startup_info): Do not use __unbounded.
22729         (__libc_start_main): Likewise.  Rename ubp_* variables and
22730         parameters.  Remove argv definitions conditional on
22731         [__BOUNDED_POINTERS__].
22732         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22733         __ptrvalue.
22734         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22735         use __unbounded.
22736         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22737         or __ptrvalue.
22738         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22739         use __unbounded.
22740         (__new_shmctl): Do not use __ptrvalue.
22741         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22742         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22743         Likewise.
22744         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22745         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22746         (__libc_sigaction): Likewise.
22747         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22748         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22749         Likewise.
22750         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22751
22752 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
22753
22754         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22755
22756         * string/mempcpy.c: Implement by calling memcpy.
22757
22758 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22759
22760         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22761
22762         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22763         evaluation.
22764
22765         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22766         values in the mantissa.
22767
22768         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22769         minimize writes to Z.
22770         (sub_magnitudes): Simplify code a bit.
22771
22772 2013-02-12  Roland McGrath  <roland@hack.frob.com>
22773
22774         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22775         from the message.  The linker prefixes all warnings with that already.
22776
22777 2013-02-12  Andreas Schwab  <schwab@suse.de>
22778
22779         [BZ #15078]
22780         * posix/regexec.c (extend_buffers): Add parameter min_len.
22781         (check_matching): Pass minimum needed length.
22782         (clean_state_log_if_needed): Likewise.
22783         (get_subexp): Likewise.
22784         * posix/Makefile (tests): Add bug-regex34.
22785         (bug-regex34-ENV): Define.
22786         * posix/bug-regex34.c: New file.
22787
22788         [BZ #11561]
22789         * posix/regcomp.c (parse_bracket_exp): When looking up collating
22790         elements compare against the byte sequence of it, not its name.
22791         * posix/Makefile (tests): Add bug-regex35.
22792         (bug-regex35-ENV): Define.
22793         * posix/bug-regex35.c: New file.
22794
22795 2013-02-11  Tom de Vries  <tom@codesourcery.com>
22796
22797         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
22798         comment.
22799         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22800         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22801         (CHECK_EOL): Add undef.
22802
22803 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
22804
22805         * bits/stdlib-bsearch.h: New file.
22806         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22807         * stdlib/stdlib.h: Likewise.
22808
22809 2013-02-11  Roland McGrath  <roland@hack.frob.com>
22810
22811         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22812         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22813         declaration.
22814         * manual/search.texi (Array Search Function): Add missing const in
22815         lfind prototype.
22816         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22817         declaration to use rlim_t.
22818         (Basic Scheduling Functions): Remove erroneous const from
22819         sched_getparam prototype.  Remove erroneous * from
22820         sched_get_priority_max and sched_get_priority_min prototypes.
22821         (Resource Usage): Fix summary @comment on vtimes to refer to
22822         sys/vtimes.h rather than vtimes.h.
22823         Add missing *s in vtimes prototype.
22824         (Limits on Resources): Fix ulimit prototype to return long int.
22825         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22826         prototypes to use long int rather than double.
22827         (BSD Random): Fix initstate and setstate to use char *, not void *.
22828         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22829         prototype to make second argument 'struct aiocb64 *const[]'.
22830         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22831         (Status of AIO Operations): Remove erroneous const in aio_return and
22832         aio_return64 prototypes.
22833         (Synchronizing I/O): Fix sync prototype to return void.
22834         * manual/startup.texi (Suboptions): Remove an erroneous const in
22835         getsubopt prototype.
22836         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22837         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22838         use size_t rather than int.
22839         (Scanning All Users): Likewise for getpwent_r.
22840         (Setting Groups): Add missing const to setgroups prototype.
22841         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22842         * manual/socket.texi (Host Names): Fix gethostbyaddr and
22843         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22844         'const void *' rather than 'const char *'.
22845         (Host Address Functions): Likewise for inet_ntop.
22846         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22847         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22848         ssize_t for return value.
22849         (Sending Data): Likewise for send, sendto, sendmsg.
22850         (Socket Option Functions): Add a missing const in setsockopt prototype.
22851         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22852         use wchar_t for the argument.
22853         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22854         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22855         take no arguments.
22856         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22857         double/float/long double for second argument.
22858         Fix return types of significand, significandf, significandl.
22859         * manual/filesys.texi (Setting Permissions): Use mode_t for second
22860         argument in fchmod prototype.
22861         (File Owner): Use uid_t and gid_t in fchown prototype.
22862         (File Times): Add const to utimes, futimes, and lutimes prototypes.
22863         (Making Special Files): Use mode_t and dev_t in mknod prototype.
22864         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22865         use 'const struct dirent **' as argument types to CMP function pointer
22866         argument.
22867         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22868         (File Times): Fix summary magic @comment for struct utimbuf and utime
22869         to refer to utime.h, not time.h.
22870         * manual/string.texi (Argz Functions): Add missing const in
22871         argz_extract and argz_next prototypes.
22872         (Finding Tokens in a String): Likewise for basename.
22873         (String/Array Comparison): Fix typo in wcscasecmp prototype.
22874         (Copying and Concatenation): Fix typo in wmemmove prototype.
22875         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22876         (Signal Stack): Remove erroneous const in sigstack prototype.
22877         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22878         prototype.
22879         (Simple Calendar Time): Likewise for stime.
22880         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22881         prototype.
22882         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22883         say sys/sysctl.h instead.
22884         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22885         and vsyslog prototypes.
22886
22887 2013-02-11  Tom de Vries  <tom@codesourcery.com>
22888
22889         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22890         Remove.
22891
22892 2013-02-11  Roland McGrath  <roland@hack.frob.com>
22893
22894         * misc/sys/mman.h: Fix typo in mremap comment.
22895
22896 2013-02-08  Roland McGrath  <roland@hack.frob.com>
22897
22898         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22899         the '\0' terminator.
22900
22901 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
22902
22903         [BZ #13550]
22904         * debug/segfault.c: Don't include <bp-checks.h>.
22905         * sysdeps/generic/bp-checks.h: Remove file.
22906         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22907         (__GETDENTS): Don't use CHECK_N.
22908         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22909         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22910         (__getgroups): Don't use CHECK_N.
22911         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22912         (setgroups): Don't use CHECK_N.
22913         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22914         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22915         (__libc_msgrcv): Don't use CHECK_N.
22916         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22917         (__libc_msgsnd): Don't use CHECK_N.
22918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22919         <bp-checks.h>.
22920         (__libc_pread): Don't use CHECK_N.
22921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22922         include <bp-checks.h>.
22923         (__libc_pread64): Don't use CHECK_N.
22924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22925         include <bp-checks.h>.
22926         (__libc_pwrite): Don't use CHECK_N.
22927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22928         include <bp-checks.h>.
22929         (__libc_pwrite64): Don't use CHECK_N.
22930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22931         <bp-checks.h>.
22932         (__libc_pread): Don't use CHECK_N.
22933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22934         include <bp-checks.h>.
22935         (__libc_pread64): Don't use CHECK_N.
22936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22937         include <bp-checks.h>.
22938         (__libc_pwrite): Don't use CHECK_N.
22939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22940         include <bp-checks.h>.
22941         (__libc_pwrite64): Don't use CHECK_N.
22942         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22943         (do_pread): Don't use CHECK_N.
22944         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22945         (do_pread64): Don't use CHECK_N.
22946         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22947         (do_pwrite): Don't use CHECK_N.
22948         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22949         (do_pwrite64): Don't use CHECK_N.
22950         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22951         (__libc_readv): Don't use CHECK_N.
22952         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22953         (semop): Don't use CHECK_N.
22954         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22955         <bp-checks.h>.
22956         (semtimedop): Don't use CHECK_N.
22957         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22958         (__libc_pread): Don't use CHECK_N.
22959         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22960         <bp-checks.h>.
22961         (__libc_pread64): Don't use CHECK_N.
22962         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22963         <bp-checks.h>.
22964         (__libc_pwrite): Don't use CHECK_N.
22965         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22966         <bp-checks.h>.
22967         (__libc_pwrite64): Don't use CHECK_N.
22968         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22969         <bp-checks.h>.
22970         (__libc_msgrcv): Don't use CHECK_N.
22971         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22972         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
22973         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22974         (__libc_writev): Don't use CHECK_N.
22975
22976 2013-02-08  Roland McGrath  <roland@hack.frob.com>
22977
22978         * string/strcpy.c: Removed unused variable.
22979
22980         * Makeconfig (+sysdep-includes): Define with := rather than =.
22981         Use an existing include/ subdir of each sysdeps dir before it.
22982
22983 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
22984
22985         * nscd/connection.c (register_traced_file): Comment function.
22986         [HAVE_INOTIFY] (union __inev): Define.
22987         [HAVE_INOTIFY] (inotify_check_files): New function.
22988         [HAVE_INOTIFY] (clear_db_cache): Likewise.
22989         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22990         clear_db_cache.
22991         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22992
22993 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
22994
22995         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22996         loaded if not already and that a failure is permanent.
22997
22998 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
22999
23000         [BZ #15006]
23001         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23002         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23003
23004 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23005
23006         [BZ #13550]
23007         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23008         (CHECK_1_NULL_OK): Likewise.
23009         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23010         (__fxstat): Do not use CHECK_1.
23011         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23012         <bp-checks.h>.
23013         (___fxstat64): Do not use CHECK_1.
23014         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23015         <bp-checks.h>.
23016         (__fxstatat): Do not use CHECK_1.
23017         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23018         <bp-checks.h>.
23019         (__fxstatat64): Do not use CHECK_1.
23020         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23021         <bp-checks.h>.
23022         (__fxstat): Do not use CHECK_1.
23023         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23024         <bp-checks.h>.
23025         (__fxstatat): Do not use CHECK_1.
23026         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23027         <bp-checks.h>.
23028         (__getresgid): Do not use CHECK_1.
23029         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23030         <bp-checks.h>.
23031         (__getresuid): Do not use CHECK_1.
23032         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23033         <bp-checks.h>.
23034         (__lxstat): Do not use CHECK_1.
23035         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23036         <bp-checks.h>.
23037         (__old_msgctl): Do not use CHECK_1.
23038         (__new_msgctl): Likewise.
23039         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23040         <bp-checks.h>.
23041         (__new_setrlimit): Do not use CHECK_1.
23042         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23043         <bp-checks.h>.
23044         (__old_shmctl): Do not use CHECK_1.
23045         (__new_shmctl): Likewise.
23046         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23047         <bp-checks.h>.
23048         (__xstat): Do not use CHECK_1.
23049         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23050         (__lxstat): Do not use CHECK_1.
23051         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23052         <bp-checks.h>.
23053         (___lxstat64): Do not use CHECK_1.
23054         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23055         (__old_msgctl): Do not use CHECK_1.
23056         (__new_msgctl): Likewise.
23057         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23058         <bp-checks.h>.
23059         (__gettimeofday): Do not use CHECK_1.
23060         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23061         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23062         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23063         <bp-checks.h>.
23064         (__gettimeofday): Do not use CHECK_1.
23065         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23066         (__old_shmctl): Do not use CHECK_1_NULL_OK.
23067         (__new_shmctl): Do not use CHECK_1.
23068         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23069         <bp-checks.h>.
23070         (do_sigtimedwait): Do not use CHECK_1.
23071         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23072         <bp-checks.h>.
23073         (do_sigwaitinfo): Do not use CHECK_1.
23074         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23075         <bp-checks.h>.
23076         (msgctl): Do not use CHECK_1.
23077         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23078         <bp-checks.h>.
23079         (shmctl): Do not use CHECK_1.
23080         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23081         (ustat): Do not use CHECK_1.
23082         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23083         <bp-checks.h>.
23084         (__fxstat): Do not use CHECK_1.
23085         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23086         <bp-checks.h>.
23087         (__fxstatat): Do not use CHECK_1.
23088         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23089         <bp-checks.h>.
23090         (__lxstat): Do not use CHECK_1.
23091         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23092         <bp-checks.h>.
23093         (__xstat): Do not use CHECK_1.
23094         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23095         (__xstat): Do not use CHECK_1.
23096         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23097         (___xstat64): Do not use CHECK_1.
23098
23099         [BZ #13550]
23100         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23101         definitions.
23102         (CHECK_BOUNDS_HIGH): Likewise.
23103         * string/strcpy.c: Do not include <bp-checks.h>.
23104         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23105
23106 2013-02-07  Roland McGrath  <roland@hack.frob.com>
23107
23108         * nscd/nscd-client.h (__nscd_drop_map_ref):
23109         Add __attribute__ ((unused)).
23110         * nis/nss-nisplus.h (niserr2nss): Likewise.
23111
23112         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23113         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23114
23115         * csu/libc-tls.c (init_static_tls, init_slotinfo):
23116         Remove inline keyword.
23117         * include/rounding-mode.h (round_away): Likewise.
23118         * libio/wfileops.c (adjust_wide_data): Likewise.
23119         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23120         (__m128i_strloadu_tolower): Likewise.
23121         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23122         (__m128i_strloadu_tolower): Likewise.
23123         * time/mktime.c (ydhms_diff): Likewise.
23124         * locale/elem-hash.h (elem_hash): Likewise.
23125         * locale/setlocale.c (setdata): Likewise.
23126         * posix/regex_internal.h (re_string_char_size_at): Likewise.
23127         (re_string_wchar_at): Likewise.
23128         (bitset_not, bitset_merge, bitset_mask): Likewise.
23129         [!(__GNUC__ > 3)] (inline): Remove macro.
23130         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23131         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23132         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23133         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23134         * string/memcmp.c (memcmp_bytes): Likewise.
23135         * locale/programs/locarchive.c (compute_hashval): Likewise.
23136         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23137         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23138         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23139         * nss/getent.c (print_rpc, print_protocols): Likewise.
23140         (print_passwd, print_group, print_aliases): Likewise.
23141         * nis/nss-nisplus.h (niserr2nss): Likewise.
23142         * nscd/connections.c (restart_p): Likewise.
23143         Change return type to bool.
23144
23145 2013-02-05  Roland McGrath  <roland@hack.frob.com>
23146
23147         * Makeconfig (all-Depend-files): Add existing
23148         $(sorted-subdirs:=/Depend) files.
23149         (all-subdirs): Remove nss.
23150         * sysdeps/unix/inet/Subdirs: Add it here instead.
23151         * hesiod/Depend: New file.
23152
23153         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23154         instead of calling alloca.
23155
23156         * io/lseek.c (__lseek): Rename to __libc_lseek.
23157         Define __lseek as an alias.
23158
23159         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23160
23161 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
23162
23163         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23164         else clause and remove check for non-standard endianness.
23165
23166 2013-02-04  David S. Miller  <davem@davemloft.net>
23167
23168         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23169
23170 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
23171
23172         [BZ #13550]
23173         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23174         (__ubp_memchr): Remove prototype.
23175         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23176         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23177         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23178         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23179         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23180         Remove alias.
23181         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23182         (__ubp_memchr): Likewise.
23183         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23184         (__ubp_memchr): Likewise.
23185         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23186         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23187         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23188         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23189         CHECK_STRING.
23190         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23191         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23192         (__getcwd): Do not use CHECK_STRING.
23193         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23194         <bp-checks.h>.
23195         (__real_chown): Do not use CHECK_STRING.
23196         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23197         <bp-checks.h>.
23198         (fchownat): Do not use CHECK_STRING.
23199         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23200         CHECK_STRING.
23201         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23202         <bp-checks.h>.
23203         (__lchown): Do not use CHECK_STRING.
23204         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23205         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23206         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23207         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23209         include <bp-checks.h>.
23210         (truncate64): Do not use CHECK_STRING.
23211         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23212         <bp-checks.h>.
23213         (__real_chown): Do not use CHECK_STRING.
23214         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23215         <bp-checks.h>.
23216         (__lchown): Do not use CHECK_STRING.
23217         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23218         <bp-checks.h>.
23219         (__chown): Do not use CHECK_STRING.
23220         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23221         <bp-checks.h>.
23222         (truncate64): Do not use CHECK_STRING.
23223         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23224         Likewise.
23225         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23226         (__xmknod): Do not use CHECK_STRING.
23227         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23228         <bp-checks.h>.
23229         (__xmknodat): Do not use CHECK_STRING.
23230         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23231         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23232
23233 2013-02-04  Andreas Schwab  <schwab@suse.de>
23234
23235         [BZ #14142]
23236         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23237         * include/netdb.h: Likewise for h_errno.
23238         * elf/tst-stackguard1.c: Include <tls.h>.
23239
23240 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
23241
23242         * elf/link.h (struct link_map): Extend the l_addr comment.
23243         * include/link.h (struct link_map): Likewise.
23244
23245 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
23246
23247         [BZ #13550]
23248         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23249         (BOUNDED_1): Remove macro.
23250         * debug/backtrace.c: Don't include <bp-checks.h>.
23251         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23252         (__backtrace): Likewise.
23253         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23254         <bp-checks.h>.
23255         (__backtrace): Don't use BOUNDED_1.
23256         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23257         <bp-checks.h>.
23258         (__backtrace): Don't use BOUNDED_1.
23259         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23260         (__backtrace): Don't use BOUNDED_1.
23261         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23262         (shmat): Don't use BOUNDED_N.
23263
23264 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
23265
23266         [BZ #13550]
23267         * sysdeps/generic/bp-start.h: Remove file.
23268         * csu/libc-start.c: Don't include <bp-start.h>.
23269         (LIBC_START_MAIN): Set up __environ directly instead of using
23270         INIT_ARGV_and_ENVIRON.
23271         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23272         <bp-start.h>.
23273
23274         [BZ #13550]
23275         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23276         definitions.
23277         (CHECK_FCNTL): Likewise.
23278         (CHECK_N_PAGES): Likewise.
23279
23280         [BZ #13550]
23281         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23282         definitions.
23283         (CHECK_SIGSET_NULL_OK): Likewise.
23284         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23285         <bp-checks.h>.
23286         (sigpending): Don't use CHECK_SIGSET.
23287         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23288         <bp-checks.h>.
23289         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23290         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23291         <bp-checks.h>.
23292         (do_sigsuspend): Don't use CHECK_SIGSET.
23293         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23294         use CHECK_SIGSET.
23295         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23296         (do_sigwait): Don't use CHECK_SIGSET.
23297         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23298         use CHECK_SIGSET.
23299         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23300         include <bp-checks.h>.
23301         (sigpending): Don't use CHECK_SIGSET.
23302         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23303         include <bp-checks.h>.
23304         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23305         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23306         <bp-checks.h>.
23307         (sigpending): Don't use CHECK_SIGSET.
23308         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23309         <bp-checks.h>.
23310         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23311
23312         [BZ #13550]
23313         * sysdeps/generic/bp-semctl.h: Remove file.
23314         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23315         <bp-checks.h> and <bp-semctl.h>.
23316         (__old_semctl): Don't use CHECK_SEMCTL.
23317         (__new_semctl): Likewise.
23318         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23319         and <bp-semctl.h>.
23320         (__old_semctl): Don't use CHECK_SEMCTL.
23321         (__new_semctl): Likewise.
23322         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23323         <bp-checks.h> and <bp-semctl.h>.
23324         (__old_semctl): Don't use CHECK_SEMCTL.
23325         (__new_semctl): Likewise.
23326         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23327         <bp-checks.h> and <bp-semctl.h>.
23328         (semctl): Don't use CHECK_SEMCTL.
23329
23330         [BZ #13550]
23331         * Makerules (elide-bp-thunks): Remove variable.
23332         (elide-routines.oS): Don't use $(elide-bp-thunks).
23333         (elide-routines.os): Likewise.
23334         (elide-routines.o): Likewise.
23335         (elide-routines.op): Likewise.
23336         (elide-routines.og): Likewise.
23337         (objects): Don't use $(bp-thunks).
23338         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23339         include.
23340         (common-generated): Do not add s-proto-bp.d.
23341         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23342         (int): Likewise.
23343         (typ): Likewise.
23344         Do not generate makefile rules for bounded-pointer thunks.
23345         * sysdeps/generic/bp-thunks.h: Remove file.
23346         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23347         * sysdeps/unix/s-proto-bp.S: Likewise.
23348
23349         [BZ #15062]
23350         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23351         parts of result separately when argument is not close to line from
23352         -i to i and one part of argument is small.
23353         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23354         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23355         * math/libm-test.inc (cacos_test): Add more tests.
23356         (casin_test): Likewise.
23357         (casinh_test): Likewise.
23358         * sysdeps/i386/fpu/libm-test-ulps: Update.
23359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23360
23361 2013-01-31  David S. Miller  <davem@davemloft.net>
23362
23363         * po/de.po: Update from translation team.
23364
23365 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
23366
23367         * time/tzfile.c: Include stdint.h for SIZE_MAX.
23368
23369 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
23370
23371         * configure.in (_AC_PROG_CC_C89): New definition.
23372         * configure: Regenerate.
23373
23374         * configure.in (AC_PROG_CPP): New definition.
23375         * configure: Regenerate.
23376
23377 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23378
23379         * debug/tst-backtrace.h: New file.
23380         * debug/tst-backtrace2.c: Include tst-backtrace.h.
23381         (ret): Remove variable.
23382         (x): Likewise.
23383         (FAIL): Remove macro.
23384         (NO_INLINE): Likewise.
23385         (fn1): Use match function instead of strstr.
23386         * debug/tst-backtrace3.c: Include tst-backtrace.h.
23387         (ret): Remove variable.
23388         (x): Likewise.
23389         (FAIL): Remove macro.
23390         (NO_INLINE): Likewise.
23391         (fn): Use match function instead of strstr.
23392         * debug/tst-backtrace4.c: Include tst-backtrace.h.
23393         (ret): Remove variable.
23394         (x): Likewise.
23395         (FAIL): Remove macro.
23396         (NO_INLINE): Likewise.
23397         (handle_signal): Use match function instead of strstr.
23398         * debug/tst-backtrace5.c: Include tst-backtrace.h.
23399         (ret): Remove variable.
23400         (x): Likewise.
23401         (FAIL): Remove macro.
23402         (NO_INLINE): Likewise.
23403         (handle_signal): Use match function instead of strstr.
23404
23405 2013-01-23  Roland McGrath  <roland@hack.frob.com>
23406
23407         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23408
23409 2013-01-23  David S. Miller  <davem@davemloft.net>
23410
23411         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23412         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23413         argument of CAS if possible.
23414         * sysdeps/sparc/sparc64/bits/atomic.h
23415         (__arch_compare_and_exchange_val_32_acq): Likewise.
23416         (__arch_compare_and_exchange_val_64_acq): Likewise.
23417
23418 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
23419
23420         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23421         * sysdeps/posix/ulimit.c: ... this.
23422         Include <limits.h>.
23423         * sysdeps/unix/bsd/ulimit.c: Remove file.
23424
23425 2013-01-23  Adam Conrad  <adconrad@0c3.net>
23426
23427         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23428         (LDFLAGS-tst-array5): Likewise.
23429
23430 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23431
23432         [BZ #15036]
23433         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23434         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23435         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23436         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23437
23438 2013-01-21  David S. Miller  <davem@davemloft.net>
23439
23440         * sysdeps/sparc/backtrace.c: New file.
23441         * sysdeps/sparc/sparc32/backtrace.h: New file.
23442         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23443         * sysdeps/sparc/sparc64/backtrace.h: New file.
23444         * sysdeps/sparc/sparc64/backtrace.c: Delete.
23445         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23446         -funwind-tables.
23447
23448 2013-01-21  Andreas Schwab  <schwab@suse.de>
23449
23450         [BZ #15020]
23451         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23452         closed its stdout.
23453
23454 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
23455
23456         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23457         "mpa2.h".
23458         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23459
23460 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
23461             Mark Mitchell  <mark@codesourcery.com>
23462             Tom de Vries  <tom@codesourcery.com>
23463             Paul Pluzhnikov  <ppluzhnikov@google.com>
23464
23465         * debug/tst-backtrace2.c: New file.
23466         * debug/tst-backtrace3.c: Likewise.
23467         * debug/tst-backtrace4.c: Likewise.
23468         * debug/tst-backtrace5.c: Likewise.
23469         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23470         (CFLAGS-tst-backtrace3.c): Likewise.
23471         (CFLAGS-tst-backtrace4.c): Likewise.
23472         (CFLAGS-tst-backtrace5.c): Likewise.
23473         (LDFLAGS-tst-backtrace2): Likewise.
23474         (LDFLAGS-tst-backtrace3): Likewise.
23475         (LDFLAGS-tst-backtrace4): Likewise.
23476         (LDFLAGS-tst-backtrace5): Likewise.
23477         (tests): Add new tests tst-backtrace2, tst-backtrace3,
23478         tst-backtrace4 and tst-backtrace5.
23479
23480 2013-01-18  Anton Blanchard  <anton@samba.org>
23481             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23482
23483         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23484         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23485         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23486         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23488         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23489         "+r" and remove output regs list as redundant.  Add explicit inline
23490         asm to specify register of return val to work around compiler codegen
23491         bug.  Remove (int) cast on return value.  Add return type parameter to
23492         use in macro so that this macro does not truncate return value for
23493         64-bit values.
23494         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23495         pass to INTERNAL_VSYSCALL_NCS.
23496         (INLINE_VSYSCALL): Add 'long int' as return type to
23497         INTERNAL_VSYSCALL_NCS macro invocation.
23498         (INTERNAL_VSYSCALL): Add 'long int' as return type to
23499         INTERNAL_VSYSCALL_NCS macro invocation.
23500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23501
23502 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23503
23504         [BZ #14496]
23505         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23506         Fix application of SIMD FP exception mask.
23507
23508         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23509         mp_no from a power of two.
23510         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23511         __mpexp_twomm1.  Use __pow_mp.
23512
23513         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23514         multiplication.
23515
23516 2013-01-17  David S. Miller  <davem@davemloft.net>
23517
23518         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23519
23520 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
23521
23522         [BZ #15023]
23523         * include/complex.h: Condition contents on [!_COMPLEX_H].
23524         (__kernel_casinhf): New prototype.
23525         (__kernel_casinh): Likewise.
23526         (__kernel_casinhl): Likewise.
23527         * math/Makefile (libm_calls): Add k_casinh.
23528         * math/k_casinh.c: New file.
23529         * math/k_casinhf.c: Likewise.
23530         * math/k_casinhl.c: Likewise.
23531         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23532         finite nonzero arguments.
23533         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23534         finite nonzero arguments.
23535         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23536         finite nonzero arguments.
23537         * math/s_casinh.c: Do not include <float.h>.
23538         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23539         * math/s_casinhf.c: Do not include <float.h>.
23540         (__casinhf): Move code for finite nonzero arguments to
23541         k_casinhf.c.
23542         * math/s_casinhl.c: Do not include <float.h>.
23543         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23544         redefine.
23545         (__casinhl): Move code for finite nonzero arguments to
23546         k_casinhl.c.
23547         * math/libm-test.inc (cacos_test): Add more tests.
23548         * sysdeps/i386/fpu/libm-test-ulps: Update.
23549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23550
23551 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
23552
23553         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23554         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23555         [!HAVE_MREMAP]: Remove [defined linux] case.
23556         * malloc/arena.c: Do not include <malloc-sysdep.h>.
23557
23558 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23559
23560         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23561
23562 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
23563
23564         * elf/elf.h (R_386_SIZE32): New relocation.
23565         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23566         R_386_SIZE32.
23567         (elf_machine_rela): Likewise.
23568         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23569         R_X86_64_SIZE64 and R_X86_64_SIZE32.
23570
23571 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
23572
23573         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23574         (FP_FAST_FMA): Do not define.
23575         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23576         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23577         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23578         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23579         !_SOFT_FLOAT]: Likewise.
23580         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23581         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23582         value.
23583         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23584         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23585         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23586         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23587         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23588         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23589         file.
23590
23591 2013-01-16  Andreas Schwab  <schwab@suse.de>
23592
23593         [BZ #14327]
23594         * include/stdlib.h (__mktemp): Add declaration.
23595         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23596         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23597
23598 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23599
23600         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23601         definitions.
23602         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23603         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23604         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23605         definitions here.
23606         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23607         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23608         definitions.
23609         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23610         and ONE.
23611         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23612         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23613         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23614         definitions.
23615         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23616         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23617         definitions.
23618         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23619
23620         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23621
23622 2013-01-15  David S. Miller  <davem@davemloft.net>
23623
23624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23625         trunc{,f} to libm-sysdep_routes.
23626         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23628         file.
23629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23631         file.
23632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23633         file.
23634         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23635         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23636         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23637         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23638         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23639         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23640         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23641         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23642
23643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23644         nearbyint{,f} to libm-sysdep_routes.
23645         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23647         New file.
23648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23649         file.
23650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23651         New file.
23652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23653         file.
23654         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23655         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23656         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23657         file.
23658         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23659         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23660         file.
23661         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23662         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23663         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23664
23665         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23666         libc_feholdexcept and libc_fesetenv.
23667
23668 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
23669
23670         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23671
23672 2013-01-14  David S. Miller  <davem@davemloft.net>
23673
23674         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23675         (SPARC_ASM_VIS2_IFUNC): Likewise.
23676         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23678         use of 'siam' instruction.
23679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23680         Likewise.
23681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23682         Likewise.
23683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23684         Likewise.
23685         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23686         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23687         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23688         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23690         file.
23691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23692         file.
23693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23694         file.
23695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23696         file.
23697         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23698         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23699         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23700         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23702         new VIS2 routines.
23703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23706         Likewise.
23707         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23708         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23709         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23710         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23712         routines to libm-sysdep_routines.
23713         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23714
23715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23716         fdim/fdimf to libm-sysdep_routines.
23717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23718         file.
23719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23721         file.
23722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23723         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23724         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23725         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23726         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23727         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23728         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23729
23730 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23731
23732         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23733         to optimize copies.
23734
23735         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23736         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23737         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23738
23739         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23740         local variable MPTWO.
23741         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23742         Likewise.
23743
23744 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23745
23746         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23747         GLOB_NOESCAPE.
23748
23749 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23750
23751         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23752
23753 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23754
23755         * manual/pattern.texi (glob_t): Document gl_flags.
23756         (glob64_t): Likewise.
23757
23758 2013-01-11  David S. Miller  <davem@davemloft.net>
23759
23760         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23761         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23762         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
23763         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23764         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23765         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23766         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23767         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23768         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23769         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23770         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23771         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23772         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23773
23774         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23775         sparc V9 rather than using V8 code.
23776         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23777         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23778
23779         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23780         Move to...
23781         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23782         Here.
23783
23784 2013-01-11  Roland McGrath  <roland@hack.frob.com>
23785
23786         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23787         not in the main loop.
23788         * configure: Regenerated.
23789
23790 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
23791
23792         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23793         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23794         to just #else.
23795         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
23796         [!__GLIBC_HAVE_LONG_LONG] case.
23797         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23798         condition to just #else.
23799         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23800         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23801         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23802         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23803         unconditional.
23804         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23805         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23806         #elif condition to just #else.
23807         * sysdeps/unix/sysv/linux/sys/sysmacros.h
23808         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23809         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23810         #elif condition to just #else.
23811
23812 2013-01-11  Steve Ellcey  <sellcey@mips.com>
23813
23814         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23815         (EF_MIPS_ARCH_64): Fix value.
23816         (EF_MIPS_ARCH_32R2): New.
23817         (EF_MIPS_ARCH_64R2): New.
23818
23819 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
23820
23821         * Makeconfig (+link-pie-before-libc): New.
23822         (+link-pie-after-libc): Likewise.
23823         (+link-pie-tests): Likewise.
23824         (+link-pie): Rewritten.
23825         (link-before-libc): Remove $(config-LDFLAGS).
23826         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23827         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23828         (config-LDFLAGS): Renamed to ...
23829         (rtld-LDFLAGS): This.
23830         (rtld-tests-LDFLAGS): New macro.
23831         (link-libc-rpath-link): Likewise.
23832         (link-libc-tests-rpath-link): Likewise.
23833         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23834         (link-libc): Prepand $(link-libc-rpath-link).
23835         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23836         (test-program-prefix): New macro.
23837         (test-via-rtld-prefix): Likewise.
23838         (test-program-cmd): Likewise.
23839         (host-test-program-cmd): Likewise.
23840         * Makefile ($(common-objpfx)testrun.sh): Replace
23841         $(run-program-prefix) with $(test-program-prefix).
23842         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23843         $(rtld-LDFLAGS).
23844         ($(common-objpfx)shlib.lds): Likewise.
23845         (build-module-helper): Likewise.
23846         ($(common-objpfx)format.lds): Likewise.
23847         * Rules (binaries-pie-tests): New.
23848         (binaries-pie-notests): Likewise.
23849         (binaries-pie): Rewritten.
23850         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23851         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23852         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23853         (make-test-out): Replace $(host-built-program-cmd) with
23854         $(host-test-program-cmd).
23855         * config.make.in (build-hardcoded-path-in-tests): New variable.
23856         * configure.in (--enable-hardcoded-path-in-tests): New configure
23857         option.
23858         (hardcoded_path_in_tests): New AC_SUBST.
23859         * configure: Regenerated.
23860         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23861         $(built-program-cmd) with $(test-program-cmd).
23862         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23863         (test_program_cmd): This.
23864         * elf/Makefile ($(objpfx)order.out): Run test with
23865         $(test-program-prefix).
23866         ($(objpfx)order2.out): Likewise.
23867         ($(objpfx)tst-initorder.out): Likewise.
23868         ($(objpfx)tst-initorder2.out): Likewise.
23869         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23870         $(test-program-cmd).
23871         ($(objpfx)tst-array1-static.out): Likewise.
23872         ($(objpfx)tst-array2.out): Likewise.
23873         ($(objpfx)tst-array3.out): Likewise.
23874         ($(objpfx)tst-array4.out): Likewise.
23875         ($(objpfx)tst-array5.out): Likewise.
23876         ($(objpfx)tst-array5-static.out): Likewise.
23877         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23878         $(test-program-cmd).
23879         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23880         $(run-program-prefix) with $(test-program-prefix).
23881         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23882         (test_program_prefix): This.
23883         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23884         $(run-program-prefix) with $(test-program-prefix).
23885         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23886         (test_program_prefix): This.
23887         * iconvdata/tst-tables.sh: Likewise.
23888         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23889         $(run-program-prefix) with $(test-program-prefix).
23890         ($(objpfx)tst-translit.out): Likewise.
23891         ($(objpfx)tst-gettext2.out): Likewise.
23892         ($(objpfx)tst-gettext4.out): Likewise.
23893         ($(objpfx)tst-gettext6.out): Likewise.
23894         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23895         (test_program_prefix): This.
23896         * intl/tst-gettext2.sh: Likewise.
23897         * intl/tst-gettext4.sh  Likewise.
23898         * intl/tst-gettext6.sh: Likewise.
23899         * intl/tst-translit.sh: Likewise.
23900         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23901         with $(test-program-cmd).
23902         * libio/Makefile ($(objpfx)test-freopen.out): Replace
23903         $(run-program-prefix) with $(test-program-prefix).
23904         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23905         (test_program_prefix): This.
23906         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23907         $(run-program-prefix) with $(test-program-prefix).
23908         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23909         (test_program_prefix): This.
23910         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23911         * posix/Makefile ($(objpfx)globtest.out): Replace
23912         $(run-via-rtld-prefix) and $(test-wrapper) with
23913         $(test-program-prefix) and $(test-via-rtld-prefix).
23914         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23915         $(test-program-prefix).
23916         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23917         $(host-test-program-cmd).
23918         (tst-spawn-ARGS): Likewise.
23919         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23920         $(test-program-prefix).
23921         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23922         (test_via_rtld_prefix): This.
23923         (test_wrapper): Renamed to ...
23924         (test_program_prefix): This.
23925         (run_program_prefix): Replaced by test_program_prefix.
23926         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23927         (test_program_prefix): This.
23928         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23929         with $(host-test-program-cmd).
23930         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23931         $(run-program-prefix) with $(test-program-prefix).
23932         ($(objpfx)tst-printf.out): Likewise.
23933         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23934         $(test-program-cmd).
23935         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23936         (test_program_prefix): This.
23937         * stdio-common/tst-unbputc.sh: Likewise.
23938         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23939         $(run-program-prefix) with $(test-program-prefix).
23940         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23941         (test_program_prefix): This.
23942         * string/Makefile ($(objpfx)tst-svc.out):  Replace
23943         $(built-program-cmd) with $(test-program-cmd).
23944
23945 2013-01-11  Andreas Jaeger  <aj@suse.de>
23946
23947         [BZ #15003]
23948         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23949         value. Sync with Linux 3.7.
23950
23951 2013-01-10  David S. Miller  <davem@davemloft.net>
23952
23953         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23954         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23955         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23956
23957 2013-01-10  Roland McGrath  <roland@hack.frob.com>
23958
23959         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23960         never set.
23961         * configure: Regenerated.
23962
23963 2013-01-10  David S. Miller  <davem@davemloft.net>
23964
23965         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23966         sparc V9 rather than using V8 code.
23967         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23968         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23969
23970 2013-01-10  Roland McGrath  <roland@hack.frob.com>
23971
23972         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23973         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23974         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23975         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23976         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23977         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23978         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23979         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23980         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23981         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23982         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23983         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23984         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23985         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23986         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23987         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23988         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23989         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23990         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23991         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23992         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23993         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23994         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23995         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23996         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23997         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23998         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23999
24000 2013-01-10  David S. Miller  <davem@davemloft.net>
24001
24002         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24003
24004 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24005
24006         * posix/Makefile (tests-static): New variable.
24007         (tests): Add $(tests-static).
24008         (tst-exec-static-ARGS): New variable.
24009         (tst-spawn-static-ARGS): Likewise.
24010         * posix/tst-exec-static.c: New file.
24011         * posix/tst-spawn-static.c: Likewise.
24012         * posix/tst-exec.c: Support run directly.
24013         * posix/tst-spawn.c: Likewise.
24014
24015 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
24016
24017         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24018         long.
24019         * math/bits/mathcalls.h (llrint): Likewise.
24020         (llround): Likewise.
24021         * stdlib/stdlib.h (struct drand48_data): Likewise.
24022         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24023         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24024         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24025         Likewise.
24026         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24027         Likewise.
24028         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24029         (elf_greg_t): Likewise.
24030         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24031         (__jmp_buf): Likewise.
24032         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24033         definitions.
24034         (llrint): Likewise, for all definitions.
24035         (llrintl): Likewise.
24036
24037         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24038         Remove [__GNUC__] condition.
24039         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24040         condition to just [__USE_ISOC99].
24041         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24042
24043 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24044
24045         [BZ #14200]
24046         * sysdeps/unix/sysv/linux/x86/bits/environments.h
24047         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24048         defined.
24049         (_POSIX_V6_ILP32_OFF32): Likewise.
24050         (_XBS5_ILP32_OFF32): Likewise.
24051         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24052         (__ILP32_OFFBIG_LDFLAGS): Likewise.
24053
24054 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24055
24056         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24057
24058         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24059         doubles __mpexp_twomm1.  Adjust usage.
24060         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24061         Remove.
24062
24063 2013-01-10  Andreas Schwab  <schwab@suse.de>
24064
24065         [BZ #14964]
24066         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24067         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24068
24069 2013-01-09  David S. Miller  <davem@davemloft.net>
24070
24071         [BZ #15003]
24072         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24073         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24074         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24075         (TCP_FASTOPEN): Define.
24076         (tcp_repair_opt): New structure.
24077         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24078         enum values.
24079         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24080         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24081         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24082         (tcp_cookie_transactions): New structure.
24083
24084 2013-01-09  Anton Blanchard  <anton@samba.org>
24085
24086         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24087         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24088         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24089         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24090
24091 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
24092
24093         * include/features.h (__USE_ANSI): Remove.
24094
24095 2013-01-09  Roland McGrath  <roland@hack.frob.com>
24096
24097         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24098
24099         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24100
24101 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
24102
24103         * sysdeps/s390/fpu/libm-test-ulps: Update.
24104
24105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24106
24107         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24108         (__acr): Likewise.
24109         (__cpy): Likewise.
24110         (norm): Likewise.
24111         (denorm): Likewise.
24112         (__mp_dbl): Likewise.
24113         (__dbl_mp): Likewise.
24114         (add_magnitudes): Likewise.
24115         (sub_magnitudes): Likewise.
24116         (__add): Likewise.
24117         (__sub): Likewise.
24118         (__mul): Likewise.
24119         (__inv): Likewise.
24120         (__dvd): Likewise.
24121         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24122         (__acr): Likewise.
24123         (__cpy): Likewise.
24124         (norm): Likewise.
24125         (denorm): Likewise.
24126         (__mp_dbl): Likewise.
24127         (__dbl_mp): Likewise.
24128         (add_magnitudes): Likewise.
24129         (sub_magnitudes): Likewise.
24130         (__add): Likewise.
24131         (__sub): Likewise.
24132         (__mul): Likewise.
24133         (__inv): Likewise.
24134         (__dvd): Likewise.
24135         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24136         (__acr): Likewise.
24137         (__cpy): Likewise.
24138         (norm): Likewise.
24139         (denorm): Likewise.
24140         (__mp_dbl): Likewise.
24141         (__dbl_mp): Likewise.
24142         (add_magnitudes): Likewise.
24143         (sub_magnitudes): Likewise.
24144         (__add): Likewise.
24145         (__sub): Likewise.
24146         (__mul): Likewise.
24147         (__inv): Likewise.
24148         (__dvd): Likewise.
24149
24150 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
24151
24152         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24153         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24154         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24155         2 && __USE_EXTERN_INLINES]: Likewise.
24156
24157 2013-01-08  Andreas Jaeger  <aj@suse.de>
24158
24159         [BZ# 14985]
24160         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24161         Remove.
24162         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24163         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24164
24165 2013-01-07  Anton Blanchard  <anton@samba.org>
24166
24167         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24168         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24169         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24170         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24171         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24172         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24173         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24174         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24175         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24176         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24177         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24178         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24179         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24180         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24181         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24182         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24183         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24184         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24185         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24186         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24187         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24188         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24189         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24190         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24191         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24192         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24193         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24194         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24195         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24196         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24197         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24198         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24199         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24200         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24201         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24202         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24203         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24204         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24205         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24206         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24207         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24208         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24209         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24210
24211 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
24212
24213         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24214         (__MALLOC_PMT): Likewise.
24215         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24216         [__GNUC__], only on [_LIBC].
24217         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24218         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24219         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24220         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24221         forward declaration.
24222         (realloc_hook_ini): Likewise.
24223         (memalign_hook_ini): Likewise.
24224         (__libc_memalign): Do not use __MALLOC_PMT in variable
24225         declaration.
24226         (__libc_valloc): Likewise.
24227         (__libc_pvalloc): Likewise.
24228         (__libc_calloc): Likewise.
24229         (__posix_memalign): Likewise.
24230
24231         [BZ #14996]
24232         * math/s_casinh.c: Include <float.h>.
24233         (__casinh): Do not do computation with squaring and square root
24234         for large arguments.
24235         * math/s_casinhf.c: Include <float.h>.
24236         (__casinhf): Do not do computation with squaring and square root
24237         for large arguments.
24238         * math/s_casinhl.c: Include <float.h>.
24239         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24240         (__casinhl): Do not do computation with squaring and square root
24241         for large arguments.
24242         * math/libm-test.inc (casin_test): Add more tests.
24243         (casinh_test): Likewise.
24244         * sysdeps/i386/fpu/libm-test-ulps: Update.
24245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24246
24247 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
24248
24249         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24250         (__x86_64_raw_data_cache_size): Likewise.
24251         (__x86_64_data_cache_size_half): Likewise.
24252         (__x86_64_raw_data_cache_size_half): Likewise.
24253         (__x86_64_shared_cache_size): Likewise.
24254         (__x86_64_raw_shared_cache_size): Likewise.
24255         (__x86_64_shared_cache_size_half): Likewise.
24256         (__x86_64_raw_shared_cache_size_half): Likewise.
24257         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24258         to ...
24259         (__x86_data_cache_size): This.
24260         (__x86_64_raw_data_cache_size): Renamed to ...
24261         (__x86_raw_data_cache_size): This.
24262         (__x86_64_data_cache_size_half): Renamed to ...
24263         (__x86_data_cache_size_half): This.
24264         (__x86_64_raw_data_cache_size_half): Renamed to ...
24265         (__x86_raw_data_cache_size_half): This.
24266         (__x86_64_shared_cache_size): Renamed to ...
24267         (__x86_shared_cache_size): This.
24268         (__x86_64_raw_shared_cache_size): Renamed to ...
24269         (__x86_raw_shared_cache_size): This.
24270         (__x86_64_shared_cache_size_half): Renamed to ...
24271         (__x86_shared_cache_size_half): This.
24272         (__x86_64_raw_shared_cache_size_half): Renamed to ...
24273         (__x86_raw_shared_cache_size_half): This.
24274         * sysdeps/x86_64/memcpy.S: Updated.
24275         * sysdeps/x86_64/memset.S: Likewise.
24276         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24277         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24278         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24279
24280 2013-01-04  David S. Miller  <davem@davemloft.net>
24281
24282         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24283
24284 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
24285
24286         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24287         1 to avoid redefinition warning.
24288         (__USE_GNU): Don't define.
24289         (init_signaling_nan): Protoize.
24290
24291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24292
24293 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24294
24295         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24296         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24297         (__cpymn): Likewise.
24298         (norm): Remove commented code.
24299         (denorm): Likewise.
24300         (__mp_dbl): Likewise.
24301         (__inv): Likewise.
24302         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24303         (__cpymn): Likewise.
24304         (norm): Remove commented code.
24305         (denorm): Likewise.
24306         (__mp_dbl): Likewise.
24307         (__inv): Likewise.
24308
24309         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24310         mp_no value for 1.0 and 2.0.
24311         (norm): Use RADIXI instead of radixi.d.
24312         (denorm): Likewise.
24313         (__mul): Use 0.0 instead of zero.d.
24314         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24315         mp_no value for 1.0 and 2.0.
24316         (norm): Use RADIXI instead of radixi.d.
24317         (denorm): Likewise.
24318         (__mul): Use 0.0 instead of zero.d.
24319
24320 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
24321
24322         [BZ #14994]
24323         * math/s_casinh.c (__casinh): Reduce finite argument to first
24324         quadrant then set signs of results at the end.
24325         * math/s_casinhf.c (__casinhf): Likewise.
24326         * math/s_casinhl.c (__casinhl): Likewise.
24327         * math/libm-test.inc (casin_test): Add more tests.
24328         (casinh_test): Likewise.
24329         * sysdeps/i386/fpu/libm-test-ulps: Update.
24330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24331
24332 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24333
24334         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24335
24336         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24337
24338         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24339         declarations.
24340         (denorm): Likewise.
24341         (__mp_dbl): Likewise.
24342         (__inv): Likewise.
24343
24344         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24345         and adjust the header comment.
24346
24347         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24348         variable name from declaration.
24349
24350 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
24351
24352         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24353         Initialize COMMON_CPUID_INDEX_7 element.
24354         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24355         (CPUID_RTM): Likewise.
24356         (HAS_RTM): Likewise.
24357         (COMMON_CPUID_INDEX_7): New enum.
24358
24359 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
24360
24361         [BZ #14981]
24362         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24363         size is zero, record memory as freed.
24364
24365 2013-01-03  Andreas Jaeger  <aj@suse.de>
24366
24367         * po/ia.po: Add new Interlingua translation.
24368
24369 2012-01-03  Allan McRae  <allan@archlinux.org>
24370
24371         * locale/programs/localedef.c: Fix description of '--posix' flag.
24372
24373 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
24374
24375         * NEWS: Update dates in second copyright notice.
24376         * README: Update copyright dates in example.
24377         * manual/libc.texinfo: Update copyright dates.
24378         * scripts/test-installation.pl: Update copyright date in --version
24379         output.
24380
24381         * hurd/ctty-input.c: Fix copyright notice formatting.
24382         * hurd/ctty-output.c: Likewise.
24383         * hurd/dtable.c: Likewise.
24384         * hurd/hurd-raise.c: Likewise.
24385         * hurd/hurdprio.c: Likewise.
24386         * hurd/msgportdemux.c: Likewise.
24387         * misc/sys/file.h: Likewise.
24388         * misc/sys/ioctl.h: Likewise.
24389         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24390         * sysdeps/mach/hurd/chdir.c: Likewise.
24391         * sysdeps/mach/hurd/fchdir.c: Likewise.
24392         * sysdeps/mach/hurd/rename.c: Likewise.
24393         * sysdeps/mach/hurd/rmdir.c: Likewise.
24394         * sysdeps/mach/hurd/seekdir.c: Likewise.
24395         * sysdeps/mach/hurd/setsid.c: Likewise.
24396         * sysdeps/posix/wait3.c: Likewise.
24397
24398         * All files with FSF copyright notices: Update copyright dates
24399         using scripts/update-copyrights.
24400         * intl/plural.c: Regenerated.
24401         * locale/programs/charmap-kw.h: Likewise.
24402         * locale/programs/locfile-kw.h: Likewise.
24403
24404 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24405
24406         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24407         four values.
24408
24409         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24410         calculation loop and add branch prediction.
24411
24412         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24413         check access beyond bounds of m1np.
24414
24415         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24416         MPTWO.
24417         (__inv): Remove local variable MPTWO to use the global
24418         constant.
24419         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24420         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24421         variable MPTWO.
24422         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24423         MP3HALFS static const.
24424
24425 2013-01-01  David S. Miller  <davem@davemloft.net>
24426
24427         * po/ca.po: Update from translation team.
24428
24429 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
24430
24431         * scripts/update-copyrights: New file.
24432         * Makeconfig: Reformat copyright notice.
24433         * ctype/ctype.h: Likewise.
24434         * debug/swprintf_chk.c: Likewise.
24435         * elf/dl-cache.c: Likewise.
24436         * elf/dl-debug.c: Likewise.
24437         * elf/dl-object.c: Likewise.
24438         * grp/initgroups.c: Likewise.
24439         * hurd/Makefile: Likewise.
24440         * hurd/hurd/signal.h: Likewise.
24441         * hurd/hurdfault.c: Likewise.
24442         * hurd/hurdioctl.c: Likewise.
24443         * hurd/hurdlookup.c: Likewise.
24444         * hurd/intr-msg.c: Likewise.
24445         * iconv/gconv_open.c: Likewise.
24446         * libio/swprintf.c: Likewise.
24447         * locale/lc-ctype.c: Likewise.
24448         * locale/nl_langinfo.c: Likewise.
24449         * mach/Machrules: Likewise.
24450         * mach/Makefile: Likewise.
24451         * malloc/obstack.h: Likewise.
24452         * manual/Makefile: Likewise.
24453         * manual/tsort.awk: Likewise.
24454         * misc/bits/stab.def: Likewise.
24455         * nis/nis_print_group_entry.c: Likewise.
24456         * nis/nis_table.c: Likewise.
24457         * nis/nss_compat/compat-pwd.c: Likewise.
24458         * nis/nss_compat/compat-spwd.c: Likewise.
24459         * po/Makefile: Likewise.
24460         * posix/fnmatch.c: Likewise.
24461         * posix/regex.h: Likewise.
24462         * resolv/Makefile: Likewise.
24463         * resolv/nss_dns/dns-network.c: Likewise.
24464         * resolv/res_hconf.c: Likewise.
24465         * scripts/gen-sorted.awk: Likewise.
24466         * soft-fp/soft-fp.h: Likewise.
24467         * stdio-common/printf.h: Likewise.
24468         * stdlib/monetary.h: Likewise.
24469         * stdlib/random.c: Likewise.
24470         * stdlib/random_r.c: Likewise.
24471         * sysdeps/generic/Makefile: Likewise.
24472         * sysdeps/gnu/Makefile: Likewise.
24473         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24474         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24475         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24476         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24477         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24478         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24479         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24480         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24481         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24482         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24483         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24484         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24485         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24486         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24487         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24488         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24489         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24490         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24491         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24492         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24493         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24494         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24495         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24496         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24497         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24498         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24499         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24500         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24501         * sysdeps/mach/hurd/errnos.awk: Likewise.
24502         * sysdeps/mach/hurd/fork.c: Likewise.
24503         * sysdeps/mach/hurd/getcwd.c: Likewise.
24504         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24505         * sysdeps/mach/hurd/mmap.c: Likewise.
24506         * sysdeps/mach/hurd/utimes.c: Likewise.
24507         * sysdeps/mach/hurd/xmknod.c: Likewise.
24508         * sysdeps/posix/profil.c: Likewise.
24509         * sysdeps/posix/readdir_r.c: Likewise.
24510         * sysdeps/powerpc/bits/mathdef.h: Likewise.
24511         * sysdeps/powerpc/bits/setjmp.h: Likewise.
24512         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24513         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24514         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24515         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24516         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24517         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24518         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24519         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24520         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24521         * sysdeps/pthread/lio_listio.c: Likewise.
24522         * sysdeps/sparc/dl-procinfo.h: Likewise.
24523         * sysdeps/unix/i386/sysdep.S: Likewise.
24524         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24525         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24526         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24527         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24529         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24530         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24531         * sysdeps/unix/sysv/linux/speed.c: Likewise.
24532         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24533         * sysdeps/wordsize-32/divdi3.c: Likewise.
24534         * time/sys/time.h: Likewise.
24535         * wcsmbs/Makefile: Likewise.
24536
24537 2013-01-01  David S. Miller  <davem@davemloft.net>
24538
24539         * po/fr.po: Update from translation team.
24540
24541         * catgets/gencat.c: Update copyright year.
24542         * csu/version.c: Likewise.
24543         * debug/catchsegv.sh: Likewise.
24544         * debug/pcprofiledump.c: Likewise.
24545         * debug/xtrace.sh: Likewise.
24546         * elf/ldconfig.c: Likewise.
24547         * elf/ldd.bash.in: Likewise.
24548         * elf/pldd.c: Likewise.
24549         * elf/sotruss.ksh: Likewise.
24550         * elf/sprof.c: Likewise.
24551         * iconv/iconv_prog.c: Likewise.
24552         * iconv/iconvconfig.c: Likewise.
24553         * locale/programs/locale.c: Likewise.
24554         * locale/programs/localedef.c: Likewise.
24555         * login/programs/pt_chown.c: Likewise.
24556         * malloc/memusage.sh: Likewise.
24557         * malloc/memusagestat.c: Likewise.
24558         * malloc/mtrace.pl: Likewise.
24559         * nscd/nscd.c: Likewise.
24560         * nss/getent.c: Likewise.
24561         * nss/makedb.c: Likewise.
24562         * posix/getconf.c: Likewise.
24563
24564 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24565
24566         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24567         numbers.
24568
24569 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
24570
24571         * math/bits/mathcalls.h (modf): Use __nonnull.
24572
24573 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24574
24575         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24576         (split): Use macro CN instead of the bare value.
24577         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24578         could be used.
24579         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24580         instead of the bare value.
24581         (power1): Likewise.
24582
24583 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24584
24585         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24586         __ATAN_TWOM.
24587         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24588
24589         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24590         their values.
24591         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24592         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24593         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24594         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24595
24596 2012-12-28  Andreas Jaeger  <aj@suse.de>
24597
24598         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
24599         values are from Linux 3.7.
24600
24601         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24602         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
24603
24604 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24605
24606         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24607         TRUE case.
24608
24609         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24610         (norm): Likewise.
24611         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24612         variables with preprocessor constants.
24613         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24614         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24615         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24616
24617 2012-12-27  Bruno Haible  <bruno@clisp.org>
24618
24619         [BZ #14317]
24620         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24621         only if needed.
24622
24623 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24624
24625         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24626         and use variable directly.
24627         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24628
24629         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24630         MPONE.
24631         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24632         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24633         variable MPONE.
24634         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24635         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24636         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24637         include directive.  Remove local variable MPONE.
24638         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24639         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24640         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24641
24642 2012-12-25  David S. Miller  <davem@davemloft.net>
24643
24644         * version.h (RELEASE): Set to "development".
24645         (VERSION): Set to "2.17.90".
24646         * NEWS: Add 2.18 section.
24647
24648 2012-12-21  David S. Miller  <davem@davemloft.net>
24649
24650         * po/hr.po: Update from translation team.
24651
24652 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24653
24654         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24655
24656 2012-12-19  Steve Ellcey  <sellcey@mips.com>
24657
24658         * NEWS:  Mention new memcpy for MIPS.
24659
24660 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24661
24662         * manual/contrib.texi (Contributors): Spelling correction.
24663
24664 2012-12-15  David S. Miller  <davem@davemloft.net>
24665
24666         * po/ru.po: Update from translation team.
24667
24668 2012-12-13  David S. Miller  <davem@davemloft.net>
24669
24670         * NEWS: Mention IFUNC testsuite enhancements.
24671
24672         * po/pl.po: Update from translation team.
24673         * po/bg.po: Likewise.
24674
24675         * manual/contrib.texi (Contributors): Update entries for Hongjiu
24676         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
24677
24678 2012-12-11  David S. Miller  <davem@davemloft.net>
24679
24680         * po/sv.po: Update from translation team.
24681
24682         * po/vi.po: Update from translation team.
24683
24684         * po/cs.po: Update from translation team.
24685
24686         * po/de.po: Update from translation team.
24687         * po/eo.po: Likewise.
24688         * po/nl.po: Likewise.
24689
24690 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24691
24692         [BZ #14246]
24693         * manual/argp.texi (Argp Helper Functions): Move node to follow
24694         Argp Parsing State.
24695
24696         [BZ #14872]
24697         * manual/conf.texi (Limits on File System Capacity): Mention if
24698         terminating null is included in the max size.
24699
24700 2012-12-10  Andreas Jaeger  <aj@suse.de>
24701
24702         * po/cs.po: Update from translation team.
24703
24704 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24705
24706         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24707         void pointer and cast to uintptr_t.
24708         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24709         path.
24710         * sysdeps/s390/s390-64/memcpy.S: Likewise.
24711         * sysdeps/s390/s390-64/memset.S: Likewise.
24712
24713 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
24714
24715         [BZ #14833]
24716         * menual/message.texi (Message Translation): Fix typos.
24717         (Helper programs for gettext): Likewise.
24718
24719 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
24720
24721         [BZ #14898]
24722         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24723         Change to -1.
24724
24725 2012-12-07  David S. Miller  <davem@davemloft.net>
24726
24727         * po/libc.pot: Update.
24728
24729 2012-12-07  Richard Henderson  <rth@redhat.com>
24730
24731         [BZ #10114]
24732         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24733         normal/normal case to before the switch.
24734         (_FP_DIV): Likewise.
24735
24736 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
24737             Mike Frysinger  <vapier@gentoo.org>
24738
24739         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24740         check for __NR_fadvise64_64.
24741
24742 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
24743
24744         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24745         0, not just to plain "0" as a statement.
24746         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24747         with cw.
24748
24749 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
24750
24751         * NEWS: Use sourceware.org in Bugzilla URL.
24752
24753 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24754
24755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24756         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24757
24758         * stdio-common/tst-put-error.c (do_test): Add newline to the
24759         padded test to ensure flush.
24760
24761 2012-12-05  Jeff Law  <law@redhat.com>
24762
24763         * sunrpc/etc.rpc (fedfs_admin): Add entry.
24764
24765 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
24766
24767         * README: Don't refer to ports add-on as distributed separately.
24768         Mention AArch64 in list of systems supported in the ports add-on.
24769
24770         * LICENSES: Add more non-FSF copyright and license notices.
24771
24772         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24773         ((unused)).
24774
24775         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24776
24777         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24778         10000 as width of padded output.
24779
24780 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
24781
24782         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24783
24784         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24785         variable LX with __attribute__ ((unused)).
24786         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24787         Likewise.
24788         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24789         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24790         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24791         with __attribute__ ((unused)).
24792
24793 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
24794
24795         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24796
24797 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
24798
24799         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24800         (CFLAGS-nldbl-acos.c): New variable.
24801         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24802         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24803         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24804         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24805         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24806         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24807         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24808         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24809         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24810         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24811         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24812         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24813         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24814         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24815         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24816         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24817         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24818         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24819         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24820         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24821         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24822         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24823         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24824         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24825         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24826         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24827         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24828         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24829         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24830         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24831         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24832         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24833         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24834         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24835         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24836         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24837         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24838         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24839         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24840         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24841         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24842         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24843         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24844         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24845         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24846         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24847         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24848         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24849         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24850         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24851         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24852         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24853         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24854         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24855         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24856         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24857         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24858         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24859         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24860         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24861         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24862         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24863         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24864         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24865         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24866         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24867         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24868         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24869         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24870         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24871         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24872         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24873         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24874         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24875         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24876         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24877         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24878         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24879         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24880         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24881         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24882         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24883         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24884         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24885         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24886         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24887         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24888         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24889         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24890         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24891         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24892         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24893         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24894         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24895         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24896         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24897         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24898
24899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24900         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24901
24902         [BZ #14914]
24903         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24904         whole low double instead of just low 47 bits when splitting values
24905         into two parts.
24906
24907 2012-12-03  Allan McRae  <allan@archlinux.org>
24908
24909         * manual/stdio.texi (Predefined Printf Handlers): Remove
24910         @hsep and @vsep usage.
24911
24912 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
24913
24914         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24915         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24916
24917 2012-12-03  Jeff Law  <law@redhat.com>
24918
24919         * time/sys/time.h (settimeofday): Do not mark TV argument
24920         as __nonnull.
24921
24922 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
24923
24924         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24925         when currently writing and seek to current position when not.
24926         * libio/Makefile (tests): Remove bug-fclose1.
24927         * libio/bug-fclose1.c: Delete.
24928
24929 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
24930
24931         * manual/arith.texi (feenableexcept): Fix typo.
24932         (fedisableexcept): Likewise.
24933
24934 2012-11-30  Roland McGrath  <roland@hack.frob.com>
24935
24936         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24937         second, differently-typed declaration, rather than a cast.
24938
24939 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24940
24941         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24942         * include/rpc/svc.h: ... here.
24943
24944 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
24945
24946         [BZ #13013]
24947         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24948         depending n and resplen2 to catch cases where answer
24949         equals answerp2.
24950
24951 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
24952
24953         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24954         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24955
24956 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
24957
24958         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24959
24960 2012-11-29  Roland McGrath  <roland@hack.frob.com>
24961
24962         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24963
24964 2012-11-28  Jeff Law  <law@redhat.com>
24965
24966         [BZ #13761]
24967         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24968         dataset_temporary.  Track alloca usage into alloca_used.
24969         If dataset is large allocate and release it via malloc/free.
24970
24971 2012-06-04  Florian Weimer  <fweimer@redhat.com>
24972
24973         [BZ #14197]
24974         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24975
24976 2012-11-28  David S. Miller  <davem@davemloft.net>
24977
24978         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24979
24980 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
24981
24982         [BZ #14803]
24983         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24984         of pi/2 rounded to nearest to 64 bits.
24985         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24986         nearest to 64 bits.
24987         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24988         bits.
24989
24990 2012-11-28  Jeff Law <law@redhat.com>
24991             Martin Osvald <mosvald@redhat.com>
24992
24993         [BZ #14889]
24994         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24995         * sunrpc/svc.c: Include time.h.
24996         (__svc_accept_failed): New function.
24997         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24998         any reason other than EINTR, call __svc_accept_failed.
24999         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25000         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25001
25002 2012-11-28  Andreas Schwab  <schwab@suse.de>
25003
25004         * scripts/abilist.awk: Also handle indirect functions in .opd
25005         section.
25006
25007 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25008
25009         [BZ #13881]
25010         * sysdeps/x86/fpu/powl_helper.c: New file.
25011         * sysdeps/x86/fpu/Makefile: Likewise.
25012         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25013         (p3): New object.
25014         (__ieee754_powl): Use __powl_helper for finite arguments except
25015         integer exponents below 8.
25016         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25017         (p3): New object.
25018         (__ieee754_powl): Use __powl_helper for finite arguments except
25019         integer exponents below 8.
25020         * math/libm-test.inc (pow_test): Add more tests and enable some
25021         previously disabled tests.
25022         * sysdeps/i386/fpu/libm-test-ulps: Update.
25023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25024
25025 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25026             Carlos O'Donell  <carlos_odonell@mentor.com>
25027
25028         * nss/makedb.c (is_prime): Assert that input is odd and greater
25029         than 4.  Note that fact in a comment too.
25030         (next_prime): Add 4 to input.
25031
25032 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25033
25034         [BZ #11741]
25035         * libio/Makefile (tests): Add test case tst-fwrite-error.
25036         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25037         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25038         * libio/tst-fwrite-error.c: New test case.
25039
25040 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
25041
25042         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25043         before casting to void *.
25044         * include/libc-internal.h (__pointer_type): New macro.
25045         (__integer_if_pointer_type_sub): Likewise.
25046         (__integer_if_pointer_type): Likewise.
25047         (cast_to_integer): Likewise.
25048         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25049         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25050         before casting to atomic64_t.
25051         (atomic_exchange_acq): Likewise.
25052         (__arch_exchange_and_add_body): Likewise.
25053         (__arch_add_body): Likewise.
25054         (atomic_add_negative): Likewise.
25055         (atomic_add_zero): Likewise.
25056
25057 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
25058
25059         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25060         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25061         (add_fdes): Likewise.
25062         (linear_search_fdes): Likewise.
25063         (binary_search_unencoded_fdes): Likewise.
25064
25065 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
25066
25067         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25068
25069 2012-11-24  Adam Conrad  <adconrad@0c3.net>
25070
25071         * configure.in: Autodetect C++ header directories.
25072         * configure: Regenerated.
25073
25074 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
25075
25076         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25077
25078 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
25079
25080         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25081
25082 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
25083
25084         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25085         LDBL_MANT_DIG == 106]: Disable some tests.
25086         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25087         Likewise.
25088         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25089         Likewise.
25090
25091         [BZ #14871]
25092         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25093         input for small inputs.  Return +/- pi/2 for large inputs.
25094         * math/libm-test.inc (atan_test): Add more tests.
25095
25096         * sysdeps/generic/unwind-dw2-fde-glibc.c
25097         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25098         __attribute__ ((unused)).
25099
25100         [BZ #14645]
25101         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25102         x * y if x and y are nonzero and z is zero.
25103
25104         [BZ #14811]
25105         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25106         nonzero exponents with absolute value below 0x1p-117 to +/-
25107         0x1p-117.
25108
25109         [BZ #14869]
25110         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25111         up arguments below 2**-450, not just those below 2**-500.
25112         * math/libm-test.inc (hypot_test): Add another test.
25113
25114         [BZ #14868]
25115         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25116         Return a+b for ratio over 2**120, not 2**60.
25117         * math/libm-test.inc (hypot_test): Add another test.
25118
25119         * math/libm-test.inc (clog_test): Use
25120         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25121         (clog10_test): Likewise.
25122
25123         [BZ #6778]
25124         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25125
25126 2012-11-22  Andreas Schwab  <schwab@suse.de>
25127
25128         * sysdeps/i386/fpu/libm-test-ulps: Update.
25129
25130 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
25131
25132         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25133         printf output with newline.
25134
25135 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
25136
25137         [BZ #14865]
25138         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25139         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25140         -z nodlopen, -z initfirst and -z execstack support.
25141         * configure: Regenerated.
25142
25143         * elf/elf.h (DF_1_NODIRECT): New macro.
25144         (DF_1_IGNMULDEF): Likewise.
25145         (DF_1_NOKSYMS): Likewise.
25146         (DF_1_NOHDR): Likewise.
25147         (DF_1_EDITED): Likewise.
25148         (DF_1_NORELOC): Likewise.
25149         (DF_1_SYMINTPOSE): Likewise.
25150         (DF_1_GLOBAUDIT): Likewise.
25151         (DF_1_SINGLETON): Likewise.
25152         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25153         DT_1_SUPPORTED_MASK bits.
25154         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25155
25156 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
25157
25158         * sysdeps/unix/make-syscalls.sh: Document prefixes.
25159
25160 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
25161
25162         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25163         macro.
25164
25165         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25166         (sendmmsg): Move declarations...
25167         * socket/sys/socket.h: ... here.
25168         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25169         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25170         include it from...
25171         * socket/recvmmsg.c: ... this new file.
25172         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25173         (sendmmsg): Rename to __sendmmsg, create weak alias and make
25174         definition of __sendmmsg hidden.
25175         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25176         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25177         Move ENOSYS stub into and include it from...
25178         * socket/sendmmsg.c: ... this new file.
25179         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25180         (sysdep_routines): Move recvmmsg and sendmmsg...
25181         * socket/Makefile (routines): ... here.
25182         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25183         (GLIBC_PRIVATE): Add __sendmmsg.
25184         * include/sys/socket.h (__sendmmsg): Add declarations.
25185         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25186         sendmmsg.
25187
25188 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
25189
25190         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25191         variable I1 with __attribute__ ((unused)).
25192         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25193
25194 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25195
25196         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25197         DUMMY variables with __attribute__ ((unused)).
25198
25199         * bits/byteswap.h: Include <bits/types.h>.
25200         (__bswap_64): Use __uint64_t instead of unsigned long long int.
25201
25202 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25203
25204         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25205         string_t.  Do not manually set errno.
25206         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25207         length with __strnlen.  Make sure to both set errno and return it on
25208         failure.
25209
25210 2012-11-19  David S. Miller  <davem@davemloft.net>
25211
25212         With help from Joseph Myers.
25213         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25214         very large arguments properly.
25215         * math/libm-test.inc (atan_test): New tests.
25216         (atan2_test): New tests.
25217         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25218         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25219
25220 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25221
25222         [BZ #14856]
25223         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25224         Define to 3.
25225
25226         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25227         [POSIX] (EADDRNOTAVAIL): Likewise.
25228         [POSIX] (EAFNOSUPPORT): Likewise.
25229         [POSIX] (EALREADY): Likewise.
25230         [POSIX] (ECONNABORTED): Likewise.
25231         [POSIX] (ECONNREFUSED): Likewise.
25232         [POSIX] (ECONNRESET): Likewise.
25233         [POSIX] (EDESTADDRREQ): Likewise.
25234         [POSIX] (EDQUOT): Likewise.
25235         [POSIX] (EHOSTUNREACH): Likewise.
25236         [POSIX] (EIDRM): Likewise.
25237         [POSIX] (EISCONN): Likewise.
25238         [POSIX] (ELOOP): Likewise.
25239         [POSIX] (EMULTIHOP): Likewise.
25240         [POSIX] (ENETDOWN): Likewise.
25241         [POSIX] (ENETUNREACH): Likewise.
25242         [POSIX] (ENOBUFS): Likewise.
25243         [POSIX] (ENODATA): Likewise.
25244         [POSIX] (ENOLINK): Likewise.
25245         [POSIX] (ENOMSG): Likewise.
25246         [POSIX] (ENOPROTOOPT): Likewise.
25247         [POSIX] (ENOSR): Likewise.
25248         [POSIX] (ENOSTR): Likewise.
25249         [POSIX] (ENOTCONN): Likewise.
25250         [POSIX] (ENOTSOCK): Likewise.
25251         [POSIX] (EOPNOTSUPP): Likewise.
25252         [POSIX] (EOVERFLOW): Likewise.
25253         [POSIX] (EPROTO): Likewise.
25254         [POSIX] (EPROTONOSUPPORT): Likewise.
25255         [POSIX] (EPROTOTYPE): Likewise.
25256         [POSIX] (ESTALE): Likewise.
25257         [POSIX] (ETIME): Likewise.
25258         [POSIX] (ETXTBSY): Likewise.
25259         [POSIX] (EWOULDBLOCK): Likewise.
25260         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25261         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25262         [POSIX] (SEEK_CUR): Likewise.
25263         [POSIX] (SEEK_END): Likewise.
25264         [POSIX || UNIX98] (mode_t): Do not require.
25265         [POSIX] (off_t): Likewise.
25266         [POSIX] (pid_t): Likewise.
25267         [POSIX] (sys/stat.h): Do not allow header.
25268         [POSIX] (unistd.h): Likewise.
25269         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25270         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25271         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25272         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25273         require.
25274         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25275         sigevent): Specify elements.
25276         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25277         entry.
25278         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25279         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25280
25281         * conform/data/cpio.h-data [POSIX]: Disable whole file.
25282         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25283         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25284         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25285         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25286         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25287         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25288         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25289         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25290         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25291         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25292         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25293         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25294         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25295         Likewise.
25296         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25297         Likewise.
25298         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25299         Likewise.
25300         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25301         Likewise.
25302         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25303         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25304         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25305         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25306         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25307         Specify lower bound on value.
25308         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25309         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25310         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25311         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25312         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25313         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25314         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25315         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25316         value.
25317         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25318         as optional.
25319         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25320         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25321         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25322         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25323         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25324         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25325         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25326         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25327         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25328         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25329         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25330         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25331         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25332         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25333         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25334         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25335         entry.
25336         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25337         optional.
25338         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25339         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25340         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25341         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25342         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25343         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25344         Likewise.
25345         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25346         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25347         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25348         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25349         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
25350         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25351         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25352         as optional.
25353         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25354         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25355         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25356         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25357         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25358         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25359         specify as optional.
25360         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25361         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25362         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25363         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25364         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25365         [XPG3] (NL_LANGMAX): Likewise.
25366         [POSIX || XPG3] (NL_MSGMAX): Likewise.
25367         [POSIX || XPG3] (NL_NMAX): Likewise.
25368         [POSIX || XPG3] (NL_SETMAX): Likewise.
25369         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25370         [XPG3] (NZERO): Likewise.
25371         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25372         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25373         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25374         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25375         (REG_ERANGE): Expect.
25376         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25377         optional-constant.
25378         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25379         Use (void) in prototype.
25380         [POSIX] (*_t): Allow.
25381         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25382         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25383         (WRDE_BADVAL): Expect.
25384
25385         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25386         expect.
25387         [XPG3 || XPG4] (O_RSYNC): Likewise.
25388         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25389         Likewise.
25390         [XPG3 || XPG4] (pthread_sigmask): Likewise.
25391         [XPG3 || XPG4] (sigqueue): Likewise.
25392         [XPG3 || XPG4] (sigtimedwait): Likewise.
25393         [XPG3 || XPG4] (sigwaitinfo): Likewise.
25394         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25395         [XPG3 || XPG4] (vsnprintf): Likewise.
25396         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25397         Likewise.
25398         [XPG3 || XPG4] (blksize_t): Likewise.
25399         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25400         Likewise.
25401         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25402         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25403         [XPG3 || XPG4] (struct itimerspec): Likewise.
25404         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25405         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25406         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25407         [XPG3 || XPG4] (clockid_t): Likewise.
25408         [XPG3 || XPG4] (timer_t): Likewise.
25409         [XPG3 || XPG4] (clock_getres): Likewise.
25410         [XPG3 || XPG4] (clock_gettime): Likewise.
25411         [XPG3 || XPG4] (clock_settime): Likewise.
25412         [XPG3 || XPG4] (nanosleep): Likewise.
25413         [XPG3 || XPG4] (timer_create): Likewise.
25414         [XPG3 || XPG4] (timer_delete): Likewise.
25415         [XPG3 || XPG4] (timer_gettime): Likewise.
25416         [XPG3 || XPG4] (timer_getoverrun): Likewise.
25417         [XPG3 || XPG4] (timer_settime): Likewise.
25418         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25419         [XPG3 || XPG4] (getlogin_r): Likewise.
25420         [XPG3 || XPG4] (pread): Likewise.
25421         [XPG3 || XPG4] (pthread_atfork): Likewise.
25422         [XPG3 || XPG4] (pwrite): Likewise.
25423
25424         [BZ #14835]
25425         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25426         <bits/siginfo.h>.
25427
25428 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25429
25430         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25431         finalizing MALLSTREAM.
25432
25433         * sysdeps/mach/hurd/syncfs.c: New file.
25434
25435 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25436
25437         [BZ #14719]
25438         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25439         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25440         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25441         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25442         (_nss_dns_gethostbyname4_r): Likewise.
25443         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25444         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25445
25446 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
25447
25448         [BZ #13763]
25449         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25450
25451 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
25452
25453         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25454         * elf/cache.c (print_entry): Print ",AArch64" for
25455         FLAG_AARCH64_LIB64
25456
25457         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25458         * elf/cache.c (print_entry): Print ",hard-float" for
25459         FLAG_ARM_LIBHF.
25460
25461 2012-11-18  David S. Miller  <davem@davemloft.net>
25462
25463         With help from Joseph Myers.
25464         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25465         cutoff to 2**-13.
25466         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25467         cutoff to 2**-25.
25468         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25469         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25470         small.
25471         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25472         * math/libm-test.inc (y0_test): New tests.
25473         (y1_test): New tests.
25474         * sysdeps/i386/fpu/libm-test-ulps: Update.
25475         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25476         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25477
25478 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
25479
25480         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25481         64-bit targets.
25482         * configure: Regenerated.
25483
25484 2012-11-17  David S. Miller  <davem@davemloft.net>
25485
25486         [BZ #14811]
25487         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25488         nonzero exponents with absolute value below 0x1p-128 to +/-
25489         0x1p-128.
25490
25491 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
25492
25493         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25494
25495         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25496
25497         * posix/getconf-speclist.c: New file.
25498         * posix/posix-envs.def: Likewise.
25499         * posix/confstr.c (START_ENV_GROUP): New macro.
25500         (END_ENV_GROUP): Likewise.
25501         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25502         (KNOWN_PRESENT_ENV_STRING): Likewise.
25503         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25504         (UNKNOWN_ENVIRONMENT): Likewise.
25505         (confstr): Include posix-envs.def instead of handling
25506         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25507         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25508         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25509         (END_ENV_GROUP): Likewise.
25510         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25511         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25512         (UNKNOWN_ENVIRONMENT): Likewise.
25513         (__sysconf): Include posix-envs.def instead of handling associated
25514         cases directly here.
25515         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25516         preprocessing getconf-speclist.c rather than running getconf or
25517         generating empty file.
25518
25519 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
25520
25521         * scripts/check-local-headers.sh: Ignore 'mach' headers.
25522
25523 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
25524
25525         [BZ #14672]
25526         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25527
25528 2012-11-16  David S. Miller  <davem@davemloft.net>
25529
25530         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25531         smaller than LDBL_EPSILON/2.0L, just return xm1.
25532
25533 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
25534
25535         * elf/tst-array1.c (init): Set constructor priority to 1000.
25536         (fini): Set destructor priority to 1000.
25537         * elf/tst-array2dep.c: Likewise.
25538
25539 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25540
25541         [BZ #11741]
25542         * libio/fileops.c (_IO_new_file_write): Correctly return error.
25543         (_IO_new_file_xsputn): Also return EOF if none of the input
25544         data was written when overflow failed.
25545         * libio/iopadn.c (_IO_padn): Likewise.
25546         * libio/iowpadn.c (_IO_wpadn): Likewise.
25547         * stdio-common/tst-put-error.c: Add copyright notice.
25548         (do_test): Add case for printing padded string.
25549         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25550         _IO_padn returned error.
25551         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25552         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25553         return EOF.
25554
25555 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25556
25557         * libio/libioP.h: Add comment note that the references to C++
25558         bits are now obsolete.
25559
25560 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25561
25562         * math/libm-test.inc (check_complex): Use asprintf.
25563
25564 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
25565
25566         * debug/pcprofiledump.c (print_version): Update copyright year.
25567         * malloc/memusagestat.c (print_version): Likewise.
25568
25569 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
25570
25571         [BZ #14831]
25572         * elf/Makefile (tests): Add tst-audit8.
25573         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25574         ($(objpfx)tst-audit8.out): New target.
25575         (tst-audit8-ENV): New variable.
25576         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25577         audit if l_reloc_result is NULL.
25578         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25579         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25580         * elf/tst-audit8.c: New file.
25581
25582 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25583
25584         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25585         * misc/Makefile (CFLAGS-select.c): Define.
25586         * posix/Makefile (CFLAGS-pause.c): Define.
25587
25588 2012-11-13  David S. Miller  <davem@davemloft.net>
25589
25590         * crypt/Makefile: Move test targets after toplevel Rules
25591         inclusion.  Grab any necessary sysdep routines when linking.
25592         * crypt/md5.c (md5_process_block): Remove define, we will always
25593         name it __md5_process_block.
25594         (md5_finish_ctx): Update md5_process_block call.
25595         (md5_stream): Likewise.
25596         (md5_process_bytes): Likewise.
25597         (md5_process_block): Rename to __md5_process_block and move to ...
25598         * crypt/md5-block.c: ... here.
25599         * crypt/sha256.c (sha256_process_block): Move to ...
25600         * crypt/sha256-block.c: ... here.
25601         * crypt/sha512.c (sha512_process_block): Move to ...
25602         * crypt/sha512-block.c: ... here.
25603         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25604         path.
25605         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25606         * sysdeps/sparc/sparc64/multiarch/Makefile
25607         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25608         crypt subdir.
25609         (localedef-aux): Add md5 crypto assembler when in locale subdir.
25610         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25611         multiarch changes.
25612         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25613         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25614         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25615         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25616         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25617         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25618         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25619         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25620         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25621         file.
25622         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25623         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25624         file.
25625         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25626
25627 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
25628
25629         * timezone/tzselect.ksh: Update from tzcode git revision
25630         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25631         * timezone/zdump.c: Likewise.
25632         * timezone/zic.c: Likewise.
25633         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25634         in TZVERSION setting, not $(PKGVERSION).
25635         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
25636         REPORT_BUGS_TO settings.
25637
25638         [BZ #14838]
25639         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25640         macro.
25641
25642 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25643
25644         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25645         detection to immediately after _FP_ROUND().
25646         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25647         bits are 0.
25648
25649 2012-11-11  David S. Miller  <davem@davemloft.net>
25650
25651         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25652         inttypes.h
25653         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25654         __close rather than their public counterparts.
25655
25656 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
25657
25658         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25659         file.
25660         [UNIX98] (sem_timedwait): Do not expect.
25661         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25662         [XPG4 || UNIX98] (sockatmark): Do not expect.
25663         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25664         (clock_getcpuclockid): Do not expect.
25665         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25666         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25667         Do not expect.
25668         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25669         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25670         [UNIX98] (vwscanf): Likewise.
25671         [UNIX98] (vswscanf): Likewise.
25672
25673 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
25674
25675         * timezone/version.h: Remove file.
25676         * timezone/README: Do not refer to version.h.
25677         * timezone/Makefile ($(objpfx)zic.o): New dependency on
25678         $(objpfx)version.h.
25679         ($(objpfx)zdump.o): Likewise.
25680         ($(objpfx)version.h): New target.
25681
25682         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25683         2012i.
25684         * timezone/README: Don't mention modification to tzselect.ksh.
25685         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25686         work on unmodified tzselect.ksh.  Substitute version numbers in
25687         tzselect.ksh.
25688
25689         * Makefile (format-me): Remove.
25690         (INSTALL): Adjust indentation.  Use commands directly instead of
25691         using $(format-me).
25692
25693         * aclocal.m4 (ACX_PKGVERSION): New macro.
25694         (ACX_BUGURL): Likewise.
25695         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25696         (PKGVERSION): New AC_DEFINE_UNQUOTED.
25697         (REPORT_BUGS_TO): Likewise.
25698         * configure: Regenerated.
25699         * config.h.in (PKGVERSION): New macro.
25700         (REPORT_BUGS_TO): Likewise.
25701         * config.make.in (PKGVERSION): New variable.
25702         (PKGVERSION_TEXI): Likewise.
25703         (REPORT_BUGS_TO): Likewise.
25704         (REPORT_BUGS_TEXI): Likewise.
25705         * Makefile (format-me): Use -I$(common-objpfx)manual.
25706         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25707         ($(common-objpfx)manual/%): New target.
25708         (manual/%): Remove target.
25709         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25710         (print_version): Use PKGVERSION.
25711         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25712         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25713         and REPORT_BUGS_TO.
25714         ($(objpfx)xtrace): Likewise.
25715         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25716         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25717         (print_version): Use PKGVERSION.
25718         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25719         (do_version): Use PKGVERSION.
25720         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25721         REPORT_BUGS_TO.
25722         (common-ldd-rewrite): Likewise.
25723         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25724         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25725         (print_version): Use PKGVERSION.
25726         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25727         * elf/pldd.c (argp_program_bug_address): Remove variable.
25728         (more_help): New function.
25729         (argp): Use more_help.
25730         (print_version): Use PKGVERSION.
25731         * elf/sln.c (main): Use PKGVERSION.
25732         (usage): Use REPORT_BUGS_TO.
25733         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25734         (top level): Use PKGVERSION.
25735         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25736         (print_version): Use PKGVERSION.
25737         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25738         (print_version): Use PKGVERSION.
25739         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25740         (print_version): Use PKGVERSION.
25741         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25742         (print_version): Use PKGVERSION.
25743         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25744         (print_version): Use PKGVERSION.
25745         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25746         (print_version): Use PKGVERSION.
25747         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25748         and BUGURL.
25749         ($(objpfx)memusage): Likewise.
25750         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25751         (do_version): Use PKGVERSION.
25752         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25753         (print_version): Use PKGVERSION.
25754         * malloc/mtrace.pl ($PACKAGE): Remove variable.
25755         ($PKGVERSION): New variable.
25756         ($REPORT_BUGS_TO): Likewise.
25757         (usage): Use $REPORT_BUGS_TO.
25758         (top level): Use $PKGVERSION.
25759         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25760         ($(objpfx)pkgvers.texi): New rule.
25761         ($(objpfx)stamp-pkgvers): Likewise.
25762         * manual/install.texi: Include pkgvers.texi.
25763         (--with-pkgversion): Document new configure option.
25764         (--with-bugurl): Likewise.
25765         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25766         than necessarily for this particular distribution.  Use
25767         REPORT_BUGS_TO for where to report bugs.
25768         * INSTALL: Regenerated.
25769         * manual/libc.texinfo: Include pkgvers.texi.
25770         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25771         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25772         (print_version): Use PKGVERSION.
25773         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25774         (print_version): Use PKGVERSION.
25775         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25776         (print_version): Use PKGVERSION.
25777         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25778         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25779         macro.
25780         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25781         (print_version): Use PKGVERSION.
25782         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25783         (print_version): Use PKGVERSION.
25784         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25785         and PKGVERSION.
25786
25787         * timezone/checktab.awk: Update from tzcode 2012i.
25788         * timezone/ialloc.c: Likewise.
25789         * timezone/private.h: Likewise.
25790         * timezone/scheck.c: Likewise.
25791         * timezone/tzfile.h: Likewise.
25792         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25793         (TZVERSION): Hardcode tzcode version number.
25794         * timezone/zdump.c: Update from tzcode 2012i.
25795         * timezone/zic.c: Likewise.
25796         * timezone/version.h: New file.
25797         * timezone/README: Describe version.h.  Update upstream location.
25798
25799         [BZ #14824]
25800         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25801         (mktemp): Enable declaration.
25802         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25803         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25804         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25805         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25806         Likewise.
25807         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25808         Likewise.
25809         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25810         Likewise.
25811         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25812         Likewise.
25813         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25814         Likewise.
25815         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25816         Likewise.
25817
25818         [BZ #14821]
25819         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25820         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
25821         for copies of such integer values.
25822         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25823         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25824
25825 2012-11-09  Andreas Jaeger  <aj@suse.de>
25826
25827         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25828         definitions and declarations that are provided by
25829         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25830
25831 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25832
25833         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25834         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25835         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25836         definition.
25837
25838 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25839
25840         * elf/elf.h: Update comment before AArch64 relocations.
25841
25842 2012-11-07  David S. Miller  <davem@davemloft.net>
25843
25844         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25845         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25846         (__start_context): Declare.
25847         (__makecontext_ret): Delete.
25848         (__makecontext): Hook up __start_context instead of
25849         __makecontext_ret.
25850         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25851         (sysdep_routines): Add __start_context when in stdlib.
25852
25853 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25854
25855         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25856         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25857         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
25858         hardcoded "nm".
25859         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
25860         (READELF): New variable.  Use it instead of hardcoded "readelf".
25861
25862 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
25863
25864         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25865         * sysdeps/x86/Makefile: Here.
25866         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25867         * sysdeps/x86/tst-xmmymm.sh: This.
25868
25869 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25870
25871         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25872         expectations.
25873         [UNIX98] (pthread_barrier_t): Do not expect.
25874         [UNIX98] (pthread_barrierattr_t): Likewise.
25875         [UNIX98] (pthread_spinlock_t): Likewise.
25876         [UNIX98] (pthread_barrier_destroy): Likewise.
25877         [UNIX98] (pthread_barrier_init): Likewise.
25878         [UNIX98] (pthread_barrier_wait): Likewise.
25879         [UNIX98] (pthread_barrierattr_destroy): Likewise.
25880         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25881         [UNIX98] (pthread_barrierattr_init): Likewise.
25882         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25883         [UNIX98] (pthread_getcpuclockid): Likewise.
25884         [UNIX98] (pthread_mutex_timedlock): Likewise.
25885         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25886         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25887         [UNIX98] (pthread_sigmask): Likewise.
25888         [UNIX98] (pthread_spin_destroy): Likewise.
25889         [UNIX98] (pthread_spin_init): Likewise.
25890         [UNIX98] (pthread_spin_lock): Likewise.
25891         [UNIX98] (pthread_spin_trylock): Likewise.
25892         [UNIX98] (pthread_spin_unlock): Likewise.
25893         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25894         Do not expect.
25895         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25896         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25897         [XPG3 || XPG4] (pthread_cond_t): Likewise.
25898         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25899         [XPG3 || XPG4] (pthread_key_t): Likewise.
25900         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25901         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25902         [XPG3 || XPG4] (pthread_once_t): Likewise.
25903         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25904         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25905         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25906         [XPG3 || XPG4] (pthread_t): Likewise.
25907
25908         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25909         not expect.
25910         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25911
25912         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25913         Change function return type to int.
25914
25915         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25916         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25917         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25918         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25919         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25920         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25921         [!POSIX] (posix_madvise): Likewise.
25922         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25923         && !UNIX98].
25924         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25925         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25926         (mode_t): Likewise.
25927         (posix_mem_offset): Likewise.
25928         (posix_typed_mem_get_info): Likewise.
25929         (posix_typed_mem_open): Likewise.
25930
25931         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25932         Change condition to [XOPEN2K8].
25933
25934         * conform/conformtest.pl: Preprocess allow-header data with -x c
25935         instead of from stdin.
25936         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25937         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25938         [C99-based standards] (cerfc): Likewise.
25939         [C99-based standards] (cexp2): Likewise.
25940         [C99-based standards] (cexpm1): Likewise.
25941         [C99-based standards] (clog10): Likewise.
25942         [C99-based standards] (clog1p): Likewise.
25943         [C99-based standards] (clog2): Likewise.
25944         [C99-based standards] (clgamma): Likewise.
25945         [C99-based standards] (ctgamma): Likewise.
25946         [C99-based standards] (cerff): Likewise.
25947         [C99-based standards] (cerfcf): Likewise.
25948         [C99-based standards] (cexp2f): Likewise.
25949         [C99-based standards] (cexpm1f): Likewise.
25950         [C99-based standards] (clog10f): Likewise.
25951         [C99-based standards] (clog1pf): Likewise.
25952         [C99-based standards] (clog2f): Likewise.
25953         [C99-based standards] (clgammaf): Likewise.
25954         [C99-based standards] (ctgammaf): Likewise.
25955         [C99-based standards] (cerfl): Likewise.
25956         [C99-based standards] (cerfcl): Likewise.
25957         [C99-based standards] (cexp2l): Likewise.
25958         [C99-based standards] (cexpm1l): Likewise.
25959         [C99-based standards] (clog10l): Likewise.
25960         [C99-based standards] (clog1pl): Likewise.
25961         [C99-based standards] (clog2l): Likewise.
25962         [C99-based standards] (clgammal): Likewise.
25963         [C99-based standards] (ctgammal): Likewise.
25964         * conform/data/inttypes.h-data [C99-based standards]: Include
25965         stdint.h-data.  Remove all expectations for stdint.h contents.
25966         [C99-based standards] (PRI*): Do not allow.
25967         [C99-based standards] (SCN*): Likewise.
25968         [C99-based standards] (*_t): Likewise.
25969         [C99-based-standards] (PRId8): Expect macro.
25970         [C99-based-standards] (PRIi8): Likewise.
25971         [C99-based-standards] (PRIo8): Likewise.
25972         [C99-based-standards] (PRIu8): Likewise.
25973         [C99-based-standards] (PRIx8): Likewise.
25974         [C99-based-standards] (PRIX8): Likewise.
25975         [C99-based-standards] (SCNd8): Likewise.
25976         [C99-based-standards] (SCNi8): Likewise.
25977         [C99-based-standards] (SCNo8): Likewise.
25978         [C99-based-standards] (SCNu8): Likewise.
25979         [C99-based-standards] (SCNx8): Likewise.
25980         [C99-based-standards] (PRIdLEAST8): Likewise.
25981         [C99-based-standards] (PRIiLEAST8): Likewise.
25982         [C99-based-standards] (PRIoLEAST8): Likewise.
25983         [C99-based-standards] (PRIuLEAST8): Likewise.
25984         [C99-based-standards] (PRIxLEAST8): Likewise.
25985         [C99-based-standards] (PRIXLEAST8): Likewise.
25986         [C99-based-standards] (SCNdLEAST8): Likewise.
25987         [C99-based-standards] (SCNiLEAST8): Likewise.
25988         [C99-based-standards] (SCNoLEAST8): Likewise.
25989         [C99-based-standards] (SCNuLEAST8): Likewise.
25990         [C99-based-standards] (SCNxLEAST8): Likewise.
25991         [C99-based-standards] (PRIdFAST8): Likewise.
25992         [C99-based-standards] (PRIiFAST8): Likewise.
25993         [C99-based-standards] (PRIoFAST8): Likewise.
25994         [C99-based-standards] (PRIuFAST8): Likewise.
25995         [C99-based-standards] (PRIxFAST8): Likewise.
25996         [C99-based-standards] (PRIXFAST8): Likewise.
25997         [C99-based-standards] (SCNdFAST8): Likewise.
25998         [C99-based-standards] (SCNiFAST8): Likewise.
25999         [C99-based-standards] (SCNoFAST8): Likewise.
26000         [C99-based-standards] (SCNuFAST8): Likewise.
26001         [C99-based-standards] (SCNxFAST8): Likewise.
26002         [C99-based-standards] (PRId16): Likewise.
26003         [C99-based-standards] (PRIi16): Likewise.
26004         [C99-based-standards] (PRIo16): Likewise.
26005         [C99-based-standards] (PRIu16): Likewise.
26006         [C99-based-standards] (PRIx16): Likewise.
26007         [C99-based-standards] (PRIX16): Likewise.
26008         [C99-based-standards] (SCNd16): Likewise.
26009         [C99-based-standards] (SCNi16): Likewise.
26010         [C99-based-standards] (SCNo16): Likewise.
26011         [C99-based-standards] (SCNu16): Likewise.
26012         [C99-based-standards] (SCNx16): Likewise.
26013         [C99-based-standards] (PRIdLEAST16): Likewise.
26014         [C99-based-standards] (PRIiLEAST16): Likewise.
26015         [C99-based-standards] (PRIoLEAST16): Likewise.
26016         [C99-based-standards] (PRIuLEAST16): Likewise.
26017         [C99-based-standards] (PRIxLEAST16): Likewise.
26018         [C99-based-standards] (PRIXLEAST16): Likewise.
26019         [C99-based-standards] (SCNdLEAST16): Likewise.
26020         [C99-based-standards] (SCNiLEAST16): Likewise.
26021         [C99-based-standards] (SCNoLEAST16): Likewise.
26022         [C99-based-standards] (SCNuLEAST16): Likewise.
26023         [C99-based-standards] (SCNxLEAST16): Likewise.
26024         [C99-based-standards] (PRIdFAST16): Likewise.
26025         [C99-based-standards] (PRIiFAST16): Likewise.
26026         [C99-based-standards] (PRIoFAST16): Likewise.
26027         [C99-based-standards] (PRIuFAST16): Likewise.
26028         [C99-based-standards] (PRIxFAST16): Likewise.
26029         [C99-based-standards] (PRIXFAST16): Likewise.
26030         [C99-based-standards] (SCNdFAST16): Likewise.
26031         [C99-based-standards] (SCNiFAST16): Likewise.
26032         [C99-based-standards] (SCNoFAST16): Likewise.
26033         [C99-based-standards] (SCNuFAST16): Likewise.
26034         [C99-based-standards] (SCNxFAST16): Likewise.
26035         [C99-based-standards] (PRId32): Likewise.
26036         [C99-based-standards] (PRIi32): Likewise.
26037         [C99-based-standards] (PRIo32): Likewise.
26038         [C99-based-standards] (PRIu32): Likewise.
26039         [C99-based-standards] (PRIx32): Likewise.
26040         [C99-based-standards] (PRIX32): Likewise.
26041         [C99-based-standards] (SCNd32): Likewise.
26042         [C99-based-standards] (SCNi32): Likewise.
26043         [C99-based-standards] (SCNo32): Likewise.
26044         [C99-based-standards] (SCNu32): Likewise.
26045         [C99-based-standards] (SCNx32): Likewise.
26046         [C99-based-standards] (PRIdLEAST32): Likewise.
26047         [C99-based-standards] (PRIiLEAST32): Likewise.
26048         [C99-based-standards] (PRIoLEAST32): Likewise.
26049         [C99-based-standards] (PRIuLEAST32): Likewise.
26050         [C99-based-standards] (PRIxLEAST32): Likewise.
26051         [C99-based-standards] (PRIXLEAST32): Likewise.
26052         [C99-based-standards] (SCNdLEAST32): Likewise.
26053         [C99-based-standards] (SCNiLEAST32): Likewise.
26054         [C99-based-standards] (SCNoLEAST32): Likewise.
26055         [C99-based-standards] (SCNuLEAST32): Likewise.
26056         [C99-based-standards] (SCNxLEAST32): Likewise.
26057         [C99-based-standards] (PRIdFAST32): Likewise.
26058         [C99-based-standards] (PRIiFAST32): Likewise.
26059         [C99-based-standards] (PRIoFAST32): Likewise.
26060         [C99-based-standards] (PRIuFAST32): Likewise.
26061         [C99-based-standards] (PRIxFAST32): Likewise.
26062         [C99-based-standards] (PRIXFAST32): Likewise.
26063         [C99-based-standards] (SCNdFAST32): Likewise.
26064         [C99-based-standards] (SCNiFAST32): Likewise.
26065         [C99-based-standards] (SCNoFAST32): Likewise.
26066         [C99-based-standards] (SCNuFAST32): Likewise.
26067         [C99-based-standards] (SCNxFAST32): Likewise.
26068         [C99-based-standards] (PRId64): Likewise.
26069         [C99-based-standards] (PRIi64): Likewise.
26070         [C99-based-standards] (PRIo64): Likewise.
26071         [C99-based-standards] (PRIu64): Likewise.
26072         [C99-based-standards] (PRIx64): Likewise.
26073         [C99-based-standards] (PRIX64): Likewise.
26074         [C99-based-standards] (SCNd64): Likewise.
26075         [C99-based-standards] (SCNi64): Likewise.
26076         [C99-based-standards] (SCNo64): Likewise.
26077         [C99-based-standards] (SCNu64): Likewise.
26078         [C99-based-standards] (SCNx64): Likewise.
26079         [C99-based-standards] (PRIdLEAST64): Likewise.
26080         [C99-based-standards] (PRIiLEAST64): Likewise.
26081         [C99-based-standards] (PRIoLEAST64): Likewise.
26082         [C99-based-standards] (PRIuLEAST64): Likewise.
26083         [C99-based-standards] (PRIxLEAST64): Likewise.
26084         [C99-based-standards] (PRIXLEAST64): Likewise.
26085         [C99-based-standards] (SCNdLEAST64): Likewise.
26086         [C99-based-standards] (SCNiLEAST64): Likewise.
26087         [C99-based-standards] (SCNoLEAST64): Likewise.
26088         [C99-based-standards] (SCNuLEAST64): Likewise.
26089         [C99-based-standards] (SCNxLEAST64): Likewise.
26090         [C99-based-standards] (PRIdFAST64): Likewise.
26091         [C99-based-standards] (PRIiFAST64): Likewise.
26092         [C99-based-standards] (PRIoFAST64): Likewise.
26093         [C99-based-standards] (PRIuFAST64): Likewise.
26094         [C99-based-standards] (PRIxFAST64): Likewise.
26095         [C99-based-standards] (PRIXFAST64): Likewise.
26096         [C99-based-standards] (SCNdFAST64): Likewise.
26097         [C99-based-standards] (SCNiFAST64): Likewise.
26098         [C99-based-standards] (SCNoFAST64): Likewise.
26099         [C99-based-standards] (SCNuFAST64): Likewise.
26100         [C99-based-standards] (SCNxFAST64): Likewise.
26101         [C99-based-standards] (PRIdMAX): Likewise.
26102         [C99-based-standards] (PRIiMAX): Likewise.
26103         [C99-based-standards] (PRIoMAX): Likewise.
26104         [C99-based-standards] (PRIuMAX): Likewise.
26105         [C99-based-standards] (PRIxMAX): Likewise.
26106         [C99-based-standards] (PRIXMAX): Likewise.
26107         [C99-based-standards] (SCNdMAX): Likewise.
26108         [C99-based-standards] (SCNiMAX): Likewise.
26109         [C99-based-standards] (SCNoMAX): Likewise.
26110         [C99-based-standards] (SCNuMAX): Likewise.
26111         [C99-based-standards] (SCNxMAX): Likewise.
26112         [C99-based-standards] (PRIdPTR): Likewise.
26113         [C99-based-standards] (PRIiPTR): Likewise.
26114         [C99-based-standards] (PRIoPTR): Likewise.
26115         [C99-based-standards] (PRIuPTR): Likewise.
26116         [C99-based-standards] (PRIxPTR): Likewise.
26117         [C99-based-standards] (PRIXPTR): Likewise.
26118         [C99-based-standards] (SCNdPTR): Likewise.
26119         [C99-based-standards] (SCNiPTR): Likewise.
26120         [C99-based-standards] (SCNoPTR): Likewise.
26121         [C99-based-standards] (SCNuPTR): Likewise.
26122         [C99-based-standards] (SCNxPTR): Likewise.
26123         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26124         allow.
26125         * conform/data/stdint.h-data: Update comments to clarify
26126         requirements.
26127         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
26128         type.
26129         [C99-based standards] (INT8_MAX): Likewise.
26130         [C99-based standards] (INT16_MIN): Likewise.
26131         [C99-based standards] (INT16_MAX): Likewise.
26132         [C99-based standards] (INT32_MIN): Likewise.
26133         [C99-based standards] (INT32_MAX): Likewise.
26134         [C99-based standards] (INT64_MIN): Likewise.
26135         [C99-based standards] (INT64_MAX): Likewise.
26136         [C99-based standards] (UINT8_MAX): Likewise.
26137         [C99-based standards] (UINT16_MAX): Likewise.
26138         [C99-based standards] (UINT32_MAX): Likewise.
26139         [C99-based standards] (UINT64_MAX): Likewise.
26140         [C99-based standards] (INT_LEAST8_MIN): Likewise.
26141         [C99-based standards] (INT_LEAST8_MAX): Likewise.
26142         [C99-based standards] (INT_LEAST16_MIN): Likewise.
26143         [C99-based standards] (INT_LEAST16_MAX): Likewise.
26144         [C99-based standards] (INT_LEAST32_MIN): Likewise.
26145         [C99-based standards] (INT_LEAST32_MAX): Likewise.
26146         [C99-based standards] (INT_LEAST64_MIN): Likewise.
26147         [C99-based standards] (INT_LEAST64_MAX): Likewise.
26148         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26149         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26150         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26151         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26152         [C99-based standards] (INT_FAST8_MIN): Likewise.
26153         [C99-based standards] (INT_FAST8_MAX): Likewise.
26154         [C99-based standards] (INT_FAST16_MIN): Likewise.
26155         [C99-based standards] (INT_FAST16_MAX): Likewise.
26156         [C99-based standards] (INT_FAST32_MIN): Likewise.
26157         [C99-based standards] (INT_FAST32_MAX): Likewise.
26158         [C99-based standards] (INT_FAST64_MIN): Likewise.
26159         [C99-based standards] (INT_FAST64_MAX): Likewise.
26160         [C99-based standards] (UINT_FAST8_MAX): Likewise.
26161         [C99-based standards] (UINT_FAST16_MAX): Likewise.
26162         [C99-based standards] (UINT_FAST32_MAX): Likewise.
26163         [C99-based standards] (UINT_FAST64_MAX): Likewise.
26164         [C99-based standards] (INTPTR_MIN): Likewise.
26165         [C99-based standards] (INTPTR_MAX): Likewise.
26166         [C99-based standards] (UINTPTR_MAX): Likewise.
26167         [C99-based standards] (INTMAX_MIN): Likewise.
26168         [C99-based standards] (INTMAX_MAX): Likewise.
26169         [C99-based standards] (UINTMAX_MAX): Likewise.
26170         [C99-based standards] (PTRDIFF_MIN): Likewise.
26171         [C99-based standards] (PTRDIFF_MAX): Likewise.
26172         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26173         [C99-based standards] (SIZE_MAX): Likewise.
26174         [C99-based standards] (WCHAR_MAX): Likewise.
26175         [C99-based standards] (WINT_MAX): Likewise.
26176         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
26177         constraint on value.
26178         [C99-based standards] (WCHAR_MIN): Likewise.
26179         [C99-based standards] (WINT_MIN): Likewise.
26180         [C99-based standards] (*_t): Allow.
26181         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26182         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26183         Include math.h-data and complex.h-data.  Remove all expectations
26184         of math.h and complex.h contents.
26185         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26186         at end of line.
26187         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26188         (struct tm): Expect tag.
26189         [C99-based-standards] (wcstof): Expect function.
26190         [C99-based-standards] (wcstold): Likewise.
26191         [C99-based-standards] (wcstoll): Likewise.
26192         [C99-based-standards] (wcstoull): Likewise.
26193         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26194         macro-int-constant.  Specify type.
26195         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
26196         constraint on value.
26197         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26198         Specify type.
26199         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26200         Specify value.
26201         [ISO C standards]: Do not allow headers.
26202         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26203         wcs[abcdefghijklmnopqrstuvwxyz]*.
26204         [ISO C standards] (*_t): Do not allow.
26205         * conform/data/wctype.h-data [C99-based standards] (iswblank):
26206         Expect function.
26207         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26208         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26209         Specify type.
26210         [ISO C standards]: Do not allow headers.
26211         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26212         is[abcdefghijklmnopqrstuvwxyz]*.
26213         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26214         to[abcdefghijklmnopqrstuvwxyz]*.
26215         [ISO C standards] (*_t): Do not allow.
26216         * conform/data/stdalign.h-data: New file.
26217         * conform/data/stdbool.h-data: Likewise.
26218         * conform/data/stdnoreturn.h-data: Likewise.
26219
26220 2012-11-07  Roland McGrath  <roland@hack.frob.com>
26221
26222         [BZ #14815]
26223         * manual/filesys.texi (Directory Entries): Typo fix.
26224         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26225
26226 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26227
26228         * elf/elf.h (EM_AARCH64): New macro.
26229         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26230         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26231         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26232         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26233         (R_AARCH64_TLSDESC): Likewise.
26234         (NT_ARM_TLS): Likewise.
26235         (NT_ARM_HW_BREAK): Likewise.
26236         (NT_ARM_HW_WATCH): Likewise.
26237
26238 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26239
26240         [BZ #14811]
26241         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26242         (__ieee754_powl): Saturate nonzero exponents with absolute value
26243         below 0x1p-79 to +/- 0x1p-79.
26244         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26245         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26246         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26247         nonzero exponents with absolute value below 0x1p-32 to +/-
26248         0x1p-32.
26249         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26250         (__ieee754_powl): Saturate nonzero exponents with absolute value
26251         below 0x1p-79 to +/- 0x1p-79.
26252         * math/libm-test.inc (pow_test): Add more tests.
26253
26254 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26255
26256         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26257         _dl_s390_cap_flags with kernel. Increase string length.
26258         (_dl_s390_platforms): Add z196 and zEC12.
26259
26260 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26261
26262         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26263         Change XOPEN21K to XOPEN2K.
26264
26265 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
26266
26267         * string/memmove.c: Use memcpy when possible.
26268
26269 2012-11-06  Andreas Jaeger  <aj@suse.de>
26270
26271         * po/eo.po: Update from translation team.
26272
26273 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
26274
26275         [BZ #14793]
26276         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26277         exponent and small x and y exponents, scale x or y up.  Increase
26278         by 2 the exponent used in scaling up.
26279         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26280         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26281         * math/libm-test.inc (fma_test): Add more tests.
26282         (fma_test_towardzero): Likewise.
26283         (fma_test_downward): Likewise.
26284         (fma_test_upward): Likewise.
26285
26286 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
26287
26288         [BZ #14805]
26289         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26290         fenv_t *.
26291
26292         [BZ #14801]
26293         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26294         namespace for names of struct fields.
26295         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26296         fenv_t fields.
26297         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26298         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26299
26300 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26301
26302         [BZ #3665]
26303         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26304
26305 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26306
26307         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26308         PTR_DEMANGLE.
26309
26310         [BZ #5246]
26311         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26312         PTR_DEMANGLE.
26313
26314 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
26315
26316         [BZ #14797]
26317         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26318         definitely overflow as x * y not x * y + z.
26319         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26320         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26321         * math/libm-test.inc (fma_test): Add more tests.
26322         (fma_test_towardzero): Likewise.
26323         (fma_test_downward): Likewise.
26324         (fma_test_upward): Likewise.
26325
26326 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26327
26328         [BZ #157]
26329
26330         * include/stub-tag.h: Remove file.
26331         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26332         '#include' of it.
26333         * manual/maint.texi (Porting): Don't reference it.
26334         * Makerules ($(objpfx)stubs): Likewise.
26335         * dirent/closedir.c: Don't include <stub-tag.h>.
26336         * dirent/dirfd.c: Likewise.
26337         * dirent/fdopendir.c: Likewise.
26338         * dirent/getdents.c: Likewise.
26339         * dirent/getdents64.c: Likewise.
26340         * dirent/opendir.c: Likewise.
26341         * dirent/readdir.c: Likewise.
26342         * dirent/readdir64.c: Likewise.
26343         * dirent/readdir64_r.c: Likewise.
26344         * dirent/readdir_r.c: Likewise.
26345         * dirent/rewinddir.c: Likewise.
26346         * dirent/seekdir.c: Likewise.
26347         * dirent/telldir.c: Likewise.
26348         * gmon/profil.c: Likewise.
26349         * grp/setgroups.c: Likewise.
26350         * inet/if_index.c: Likewise.
26351         * io/access.c: Likewise.
26352         * io/chdir.c: Likewise.
26353         * io/chmod.c: Likewise.
26354         * io/chown.c: Likewise.
26355         * io/close.c: Likewise.
26356         * io/dup.c: Likewise.
26357         * io/dup2.c: Likewise.
26358         * io/dup3.c: Likewise.
26359         * io/euidaccess.c: Likewise.
26360         * io/faccessat.c: Likewise.
26361         * io/fchdir.c: Likewise.
26362         * io/fchmod.c: Likewise.
26363         * io/fchmodat.c: Likewise.
26364         * io/fchown.c: Likewise.
26365         * io/fchownat.c: Likewise.
26366         * io/fcntl.c: Likewise.
26367         * io/flock.c: Likewise.
26368         * io/fstatfs.c: Likewise.
26369         * io/fstatfs64.c: Likewise.
26370         * io/fstatvfs.c: Likewise.
26371         * io/fstatvfs64.c: Likewise.
26372         * io/futimens.c: Likewise.
26373         * io/fxstat.c: Likewise.
26374         * io/fxstat64.c: Likewise.
26375         * io/fxstatat.c: Likewise.
26376         * io/fxstatat64.c: Likewise.
26377         * io/getcwd.c: Likewise.
26378         * io/isatty.c: Likewise.
26379         * io/lchmod.c: Likewise.
26380         * io/lchown.c: Likewise.
26381         * io/link.c: Likewise.
26382         * io/linkat.c: Likewise.
26383         * io/lseek.c: Likewise.
26384         * io/lseek64.c: Likewise.
26385         * io/lxstat64.c: Likewise.
26386         * io/mkdir.c: Likewise.
26387         * io/mkdirat.c: Likewise.
26388         * io/mkfifo.c: Likewise.
26389         * io/mkfifoat.c: Likewise.
26390         * io/open.c: Likewise.
26391         * io/open64.c: Likewise.
26392         * io/openat.c: Likewise.
26393         * io/openat64.c: Likewise.
26394         * io/pipe.c: Likewise.
26395         * io/pipe2.c: Likewise.
26396         * io/poll.c: Likewise.
26397         * io/posix_fadvise.c: Likewise.
26398         * io/posix_fadvise64.c: Likewise.
26399         * io/posix_fallocate.c: Likewise.
26400         * io/posix_fallocate64.c: Likewise.
26401         * io/read.c: Likewise.
26402         * io/readlink.c: Likewise.
26403         * io/readlinkat.c: Likewise.
26404         * io/rmdir.c: Likewise.
26405         * io/sendfile.c: Likewise.
26406         * io/sendfile64.c: Likewise.
26407         * io/statfs.c: Likewise.
26408         * io/statfs64.c: Likewise.
26409         * io/statvfs.c: Likewise.
26410         * io/statvfs64.c: Likewise.
26411         * io/symlink.c: Likewise.
26412         * io/symlinkat.c: Likewise.
26413         * io/ttyname.c: Likewise.
26414         * io/ttyname_r.c: Likewise.
26415         * io/umask.c: Likewise.
26416         * io/unlink.c: Likewise.
26417         * io/unlinkat.c: Likewise.
26418         * io/utime.c: Likewise.
26419         * io/utimensat.c: Likewise.
26420         * io/write.c: Likewise.
26421         * io/xmknod.c: Likewise.
26422         * io/xmknodat.c: Likewise.
26423         * io/xstat.c: Likewise.
26424         * io/xstat64.c: Likewise.
26425         * login/getpt.c: Likewise.
26426         * login/grantpt.c: Likewise.
26427         * login/unlockpt.c: Likewise.
26428         * math/e_acoshl.c: Likewise.
26429         * math/e_acosl.c: Likewise.
26430         * math/e_asinl.c: Likewise.
26431         * math/e_atan2l.c: Likewise.
26432         * math/e_atanhl.c: Likewise.
26433         * math/e_coshl.c: Likewise.
26434         * math/e_expl.c: Likewise.
26435         * math/e_fmodl.c: Likewise.
26436         * math/e_gammal_r.c: Likewise.
26437         * math/e_hypotl.c: Likewise.
26438         * math/e_j0l.c: Likewise.
26439         * math/e_j1l.c: Likewise.
26440         * math/e_jnl.c: Likewise.
26441         * math/e_lgammal_r.c: Likewise.
26442         * math/e_log10l.c: Likewise.
26443         * math/e_log2l.c: Likewise.
26444         * math/e_logl.c: Likewise.
26445         * math/e_powl.c: Likewise.
26446         * math/e_rem_pio2l.c: Likewise.
26447         * math/e_sinhl.c: Likewise.
26448         * math/e_sqrtl.c: Likewise.
26449         * math/fclrexcpt.c: Likewise.
26450         * math/fedisblxcpt.c: Likewise.
26451         * math/feenablxcpt.c: Likewise.
26452         * math/fegetenv.c: Likewise.
26453         * math/fegetexcept.c: Likewise.
26454         * math/fegetround.c: Likewise.
26455         * math/feholdexcpt.c: Likewise.
26456         * math/fesetenv.c: Likewise.
26457         * math/fesetround.c: Likewise.
26458         * math/feupdateenv.c: Likewise.
26459         * math/fgetexcptflg.c: Likewise.
26460         * math/fraiseexcpt.c: Likewise.
26461         * math/fsetexcptflg.c: Likewise.
26462         * math/ftestexcept.c: Likewise.
26463         * math/k_cosl.c: Likewise.
26464         * math/k_rem_pio2l.c: Likewise.
26465         * math/k_sinl.c: Likewise.
26466         * math/k_tanl.c: Likewise.
26467         * math/s_asinhl.c: Likewise.
26468         * math/s_atanl.c: Likewise.
26469         * math/s_cbrtl.c: Likewise.
26470         * math/s_erfl.c: Likewise.
26471         * math/s_expm1l.c: Likewise.
26472         * math/s_log1pl.c: Likewise.
26473         * math/s_tanhl.c: Likewise.
26474         * misc/acct.c: Likewise.
26475         * misc/brk.c: Likewise.
26476         * misc/chflags.c: Likewise.
26477         * misc/chroot.c: Likewise.
26478         * misc/fchflags.c: Likewise.
26479         * misc/fgetxattr.c: Likewise.
26480         * misc/flistxattr.c: Likewise.
26481         * misc/fremovexattr.c: Likewise.
26482         * misc/fsetxattr.c: Likewise.
26483         * misc/fsync.c: Likewise.
26484         * misc/ftruncate.c: Likewise.
26485         * misc/futimes.c: Likewise.
26486         * misc/futimesat.c: Likewise.
26487         * misc/getdomain.c: Likewise.
26488         * misc/getdtsz.c: Likewise.
26489         * misc/gethostid.c: Likewise.
26490         * misc/gethostname.c: Likewise.
26491         * misc/getloadavg.c: Likewise.
26492         * misc/getpagesize.c: Likewise.
26493         * misc/getsysstats.c: Likewise.
26494         * misc/getxattr.c: Likewise.
26495         * misc/gtty.c: Likewise.
26496         * misc/ioctl.c: Likewise.
26497         * misc/lgetxattr.c: Likewise.
26498         * misc/listxattr.c: Likewise.
26499         * misc/llistxattr.c: Likewise.
26500         * misc/lremovexattr.c: Likewise.
26501         * misc/lsetxattr.c: Likewise.
26502         * misc/lutimes.c: Likewise.
26503         * misc/madvise.c: Likewise.
26504         * misc/mincore.c: Likewise.
26505         * misc/mlock.c: Likewise.
26506         * misc/mlockall.c: Likewise.
26507         * misc/mmap.c: Likewise.
26508         * misc/mprotect.c: Likewise.
26509         * misc/msync.c: Likewise.
26510         * misc/munlock.c: Likewise.
26511         * misc/munlockall.c: Likewise.
26512         * misc/munmap.c: Likewise.
26513         * misc/preadv.c: Likewise.
26514         * misc/preadv64.c: Likewise.
26515         * misc/ptrace.c: Likewise.
26516         * misc/pwritev.c: Likewise.
26517         * misc/pwritev64.c: Likewise.
26518         * misc/readv.c: Likewise.
26519         * misc/reboot.c: Likewise.
26520         * misc/remap_file_pages.c: Likewise.
26521         * misc/removexattr.c: Likewise.
26522         * misc/revoke.c: Likewise.
26523         * misc/select.c: Likewise.
26524         * misc/setdomain.c: Likewise.
26525         * misc/setegid.c: Likewise.
26526         * misc/seteuid.c: Likewise.
26527         * misc/sethostid.c: Likewise.
26528         * misc/sethostname.c: Likewise.
26529         * misc/setregid.c: Likewise.
26530         * misc/setreuid.c: Likewise.
26531         * misc/setxattr.c: Likewise.
26532         * misc/sstk.c: Likewise.
26533         * misc/stty.c: Likewise.
26534         * misc/swapoff.c: Likewise.
26535         * misc/swapon.c: Likewise.
26536         * misc/sync.c: Likewise.
26537         * misc/syncfs.c: Likewise.
26538         * misc/syscall.c: Likewise.
26539         * misc/truncate.c: Likewise.
26540         * misc/ualarm.c: Likewise.
26541         * misc/usleep.c: Likewise.
26542         * misc/ustat.c: Likewise.
26543         * misc/utimes.c: Likewise.
26544         * misc/vhangup.c: Likewise.
26545         * misc/writev.c: Likewise.
26546         * posix/_exit.c: Likewise.
26547         * posix/alarm.c: Likewise.
26548         * posix/execve.c: Likewise.
26549         * posix/fexecve.c: Likewise.
26550         * posix/fork.c: Likewise.
26551         * posix/fpathconf.c: Likewise.
26552         * posix/getaddrinfo.c: Likewise.
26553         * posix/getegid.c: Likewise.
26554         * posix/geteuid.c: Likewise.
26555         * posix/getgid.c: Likewise.
26556         * posix/getgroups.c: Likewise.
26557         * posix/getlogin.c: Likewise.
26558         * posix/getlogin_r.c: Likewise.
26559         * posix/getpgid.c: Likewise.
26560         * posix/getpid.c: Likewise.
26561         * posix/getppid.c: Likewise.
26562         * posix/getresgid.c: Likewise.
26563         * posix/getresuid.c: Likewise.
26564         * posix/getsid.c: Likewise.
26565         * posix/getuid.c: Likewise.
26566         * posix/glob64.c: Likewise.
26567         * posix/nanosleep.c: Likewise.
26568         * posix/pathconf.c: Likewise.
26569         * posix/pause.c: Likewise.
26570         * posix/posix_madvise.c: Likewise.
26571         * posix/pread.c: Likewise.
26572         * posix/pread64.c: Likewise.
26573         * posix/pwrite.c: Likewise.
26574         * posix/pwrite64.c: Likewise.
26575         * posix/sched_getaffinity.c: Likewise.
26576         * posix/sched_getp.c: Likewise.
26577         * posix/sched_gets.c: Likewise.
26578         * posix/sched_primax.c: Likewise.
26579         * posix/sched_primin.c: Likewise.
26580         * posix/sched_rr_gi.c: Likewise.
26581         * posix/sched_setaffinity.c: Likewise.
26582         * posix/sched_setp.c: Likewise.
26583         * posix/sched_sets.c: Likewise.
26584         * posix/sched_yield.c: Likewise.
26585         * posix/setgid.c: Likewise.
26586         * posix/setlogin.c: Likewise.
26587         * posix/setpgid.c: Likewise.
26588         * posix/setresgid.c: Likewise.
26589         * posix/setresuid.c: Likewise.
26590         * posix/setsid.c: Likewise.
26591         * posix/setuid.c: Likewise.
26592         * posix/sleep.c: Likewise.
26593         * posix/spawni.c: Likewise.
26594         * posix/sysconf.c: Likewise.
26595         * posix/times.c: Likewise.
26596         * posix/wait.c: Likewise.
26597         * posix/wait3.c: Likewise.
26598         * posix/wait4.c: Likewise.
26599         * posix/waitpid.c: Likewise.
26600         * resolv/gai_sigqueue.c: Likewise.
26601         * resource/getpriority.c: Likewise.
26602         * resource/getrlimit.c: Likewise.
26603         * resource/getrusage.c: Likewise.
26604         * resource/nice.c: Likewise.
26605         * resource/setpriority.c: Likewise.
26606         * resource/setrlimit.c: Likewise.
26607         * resource/ulimit.c: Likewise.
26608         * rt/aio_cancel.c: Likewise.
26609         * rt/aio_fsync.c: Likewise.
26610         * rt/aio_read.c: Likewise.
26611         * rt/aio_sigqueue.c: Likewise.
26612         * rt/aio_suspend.c: Likewise.
26613         * rt/aio_write.c: Likewise.
26614         * rt/clock_getres.c: Likewise.
26615         * rt/clock_gettime.c: Likewise.
26616         * rt/clock_nanosleep.c: Likewise.
26617         * rt/clock_settime.c: Likewise.
26618         * rt/lio_listio.c: Likewise.
26619         * rt/mq_close.c: Likewise.
26620         * rt/mq_getattr.c: Likewise.
26621         * rt/mq_notify.c: Likewise.
26622         * rt/mq_open.c: Likewise.
26623         * rt/mq_receive.c: Likewise.
26624         * rt/mq_send.c: Likewise.
26625         * rt/mq_setattr.c: Likewise.
26626         * rt/mq_timedreceive.c: Likewise.
26627         * rt/mq_timedsend.c: Likewise.
26628         * rt/mq_unlink.c: Likewise.
26629         * rt/shm_open.c: Likewise.
26630         * rt/shm_unlink.c: Likewise.
26631         * rt/timer_create.c: Likewise.
26632         * rt/timer_delete.c: Likewise.
26633         * rt/timer_getoverr.c: Likewise.
26634         * rt/timer_gettime.c: Likewise.
26635         * rt/timer_settime.c: Likewise.
26636         * setjmp/__longjmp.c: Likewise.
26637         * setjmp/setjmp.c: Likewise.
26638         * signal/kill.c: Likewise.
26639         * signal/killpg.c: Likewise.
26640         * signal/raise.c: Likewise.
26641         * signal/sigaction.c: Likewise.
26642         * signal/sigaltstack.c: Likewise.
26643         * signal/sigblock.c: Likewise.
26644         * signal/sigignore.c: Likewise.
26645         * signal/sigintr.c: Likewise.
26646         * signal/signal.c: Likewise.
26647         * signal/sigpause.c: Likewise.
26648         * signal/sigpending.c: Likewise.
26649         * signal/sigqueue.c: Likewise.
26650         * signal/sigreturn.c: Likewise.
26651         * signal/sigset.c: Likewise.
26652         * signal/sigsetmask.c: Likewise.
26653         * signal/sigstack.c: Likewise.
26654         * signal/sigsuspend.c: Likewise.
26655         * signal/sigtimedwait.c: Likewise.
26656         * signal/sigvec.c: Likewise.
26657         * signal/sigwait.c: Likewise.
26658         * signal/sigwaitinfo.c: Likewise.
26659         * signal/sysv_signal.c: Likewise.
26660         * socket/accept.c: Likewise.
26661         * socket/accept4.c: Likewise.
26662         * socket/bind.c: Likewise.
26663         * socket/connect.c: Likewise.
26664         * socket/getpeername.c: Likewise.
26665         * socket/getsockname.c: Likewise.
26666         * socket/getsockopt.c: Likewise.
26667         * socket/isfdtype.c: Likewise.
26668         * socket/listen.c: Likewise.
26669         * socket/recv.c: Likewise.
26670         * socket/recvfrom.c: Likewise.
26671         * socket/recvmsg.c: Likewise.
26672         * socket/send.c: Likewise.
26673         * socket/sendmsg.c: Likewise.
26674         * socket/sendto.c: Likewise.
26675         * socket/setsockopt.c: Likewise.
26676         * socket/shutdown.c: Likewise.
26677         * socket/sockatmark.c: Likewise.
26678         * socket/socket.c: Likewise.
26679         * socket/socketpair.c: Likewise.
26680         * stdio-common/ctermid.c: Likewise.
26681         * stdio-common/cuserid.c: Likewise.
26682         * stdio-common/remove.c: Likewise.
26683         * stdio-common/rename.c: Likewise.
26684         * stdio-common/renameat.c: Likewise.
26685         * stdio-common/tempname.c: Likewise.
26686         * stdlib/getcontext.c: Likewise.
26687         * stdlib/makecontext.c: Likewise.
26688         * stdlib/setcontext.c: Likewise.
26689         * stdlib/swapcontext.c: Likewise.
26690         * stdlib/system.c: Likewise.
26691         * streams/fattach.c: Likewise.
26692         * streams/fdetach.c: Likewise.
26693         * streams/getmsg.c: Likewise.
26694         * streams/getpmsg.c: Likewise.
26695         * streams/putmsg.c: Likewise.
26696         * streams/putpmsg.c: Likewise.
26697         * sysdeps/unix/bsd/getpt.c: Likewise.
26698         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26699         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26700         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26702         Likewise.
26703         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26704         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26705         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26706         * sysvipc/msgctl.c: Likewise.
26707         * sysvipc/msgget.c: Likewise.
26708         * sysvipc/msgrcv.c: Likewise.
26709         * sysvipc/msgsnd.c: Likewise.
26710         * sysvipc/semctl.c: Likewise.
26711         * sysvipc/semget.c: Likewise.
26712         * sysvipc/semop.c: Likewise.
26713         * sysvipc/semtimedop.c: Likewise.
26714         * sysvipc/shmat.c: Likewise.
26715         * sysvipc/shmctl.c: Likewise.
26716         * sysvipc/shmdt.c: Likewise.
26717         * sysvipc/shmget.c: Likewise.
26718         * termios/tcdrain.c: Likewise.
26719         * termios/tcflow.c: Likewise.
26720         * termios/tcflush.c: Likewise.
26721         * termios/tcgetattr.c: Likewise.
26722         * termios/tcgetpgrp.c: Likewise.
26723         * termios/tcsendbrk.c: Likewise.
26724         * termios/tcsetattr.c: Likewise.
26725         * termios/tcsetpgrp.c: Likewise.
26726         * time/adjtime.c: Likewise.
26727         * time/clock.c: Likewise.
26728         * time/getitimer.c: Likewise.
26729         * time/gettimeofday.c: Likewise.
26730         * time/setitimer.c: Likewise.
26731         * time/settimeofday.c: Likewise.
26732         * time/stime.c: Likewise.
26733         * time/time.c: Likewise.
26734
26735 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
26736
26737         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26738         /usr/old/bin.
26739
26740         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26741         instead of spaces.
26742         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26743
26744 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
26745
26746         [BZ #14796]
26747         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26748         FE_TONEAREST before applying Dekker multiplication and Knuth
26749         addition.  Clear inexact exceptions and check for exact zero
26750         results afterwards.
26751         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26752         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26753         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26754         * math/libm-test.inc (fma_test): Add more tests.
26755         (fma_test_towardzero): Likewise.
26756         (fma_test_downward): Likewise.
26757         (fma_test_upward): Likewise.
26758         * sysdeps/generic/math_private.h (default_libc_fesetround): New
26759         function.
26760         (libc_fesetround): New macro.
26761         (libc_fesetroundf): Likewise.
26762         (libc_fesetroundl): Likewise.
26763         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26764         function.
26765         (libc_fesetround_387): Likewise.
26766         (libc_fesetroundf): New macro.
26767         (libc_fesetround): Likewise.
26768         (libc_fesetroundl): Likewise.
26769         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26770         function.
26771         (libc_fesetroundf): New macro.
26772         (libc_fesetround): Likewise.
26773         (libc_fesetroundl): Likewise.
26774         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26775         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26776         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26777         libm_hidden_ver.
26778         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26779         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26780         libm_hidden_def.
26781         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26782         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26783         libm_hidden_ver.
26784         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26785         libm_hidden_def.
26786
26787         [BZ #3439]
26788         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26789         integer constant usable in #if and use that to give value to enum
26790         constant.
26791         (FE_DIVBYZERO): Likewise.
26792         (FE_UNDERFLOW): Likewise.
26793         (FE_OVERFLOW): Likewise.
26794         (FE_INVALID): Likewise.
26795         (FE_INVALID_SNAN): Likewise.
26796         (FE_INVALID_ISI): Likewise.
26797         (FE_INVALID_IDI): Likewise.
26798         (FE_INVALID_ZDZ): Likewise.
26799         (FE_INVALID_IMZ): Likewise.
26800         (FE_INVALID_COMPARE): Likewise.
26801         (FE_INVALID_SOFTWARE): Likewise.
26802         (FE_INVALID_SQRT): Likewise.
26803         (FE_INVALID_INTEGER_CONVERSION): Likewise.
26804         (FE_TONEAREST): Likewise.
26805         (FE_TOWARDZERO): Likewise.
26806         (FE_UPWARD): Likewise.
26807         (FE_DOWNWARD): Likewise.
26808         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26809         (FE_DIVBYZERO): Likewise.
26810         (FE_OVERFLOW): Likewise.
26811         (FE_UNDERFLOW): Likewise.
26812         (FE_INEXACT): Likewise.
26813         (FE_TONEAREST): Likewise.
26814         (FE_DOWNWARD): Likewise.
26815         (FE_UPWARD): Likewise.
26816         (FE_TOWARDZERO): Likewise.
26817         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26818         (FE_UNDERFLOW): Likewise.
26819         (FE_OVERFLOW): Likewise.
26820         (FE_DIVBYZERO): Likewise.
26821         (FE_INVALID): Likewise.
26822         (FE_TONEAREST): Likewise.
26823         (FE_TOWARDZERO): Likewise.
26824         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26825         (FE_OVERFLOW): Likewise.
26826         (FE_UNDERFLOW): Likewise.
26827         (FE_DIVBYZERO): Likewise.
26828         (FE_INEXACT): Likewise.
26829         (FE_TONEAREST): Likewise.
26830         (FE_TOWARDZERO): Likewise.
26831         (FE_UPWARD): Likewise.
26832         (FE_DOWNWARD): Likewise.
26833         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26834         (FE_DIVBYZERO): Likewise.
26835         (FE_OVERFLOW): Likewise.
26836         (FE_UNDERFLOW): Likewise.
26837         (FE_INEXACT): Likewise.
26838         (FE_TONEAREST): Likewise.
26839         (FE_DOWNWARD): Likewise.
26840         (FE_UPWARD): Likewise.
26841         (FE_TOWARDZERO): Likewise.
26842
26843 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
26844
26845         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26846
26847 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
26848
26849         * scripts/cross-test-ssh.sh (command): Use newlines to separate
26850         commands.  Quote $PWD.
26851         (blacklist_exports): Don't use remove_newlines.  Replace "declare
26852         -x" by "export".
26853         (remove_newlines): Remove.
26854
26855 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
26856
26857         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26858         * stdlib/stdlib.h (atof): Moved to ...
26859         * include/bits/stdlib-float.h: Here.  New file.
26860         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26861         * stdlib/bits/stdlib-float.h: New file.
26862         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26863         -mno-sse -mno-mmx.
26864         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26865         <xmmintrin.h>.
26866
26867 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
26868
26869         * conform/conformtest.pl (@headers): Add fenv.h.
26870         * conform/data/fenv.h-data: New file.
26871         * include/fenv.h [_ISOMAC]: Disable all contents of file except
26872         include of <math/fenv.h>.
26873
26874         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26875         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26876         && !UNIX98].  Enables tests for XOPEN2K8.
26877         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26878         POSIX2008]: Likewise.
26879
26880         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26881         (struct rusage): Do not expect type or its members.
26882
26883         [BZ #3439]
26884         * math/math.h (FP_NAN): Define macro to integer constant usable in
26885         #if and use that to give value to enum constant.
26886         (FP_INFINITE): Likewise.
26887         (FP_ZERO): Likewise.
26888         (FP_SUBNORMAL): Likewise.
26889         (FP_NORMAL): Likewise.
26890
26891 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
26892
26893         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26894         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26895         arguments.
26896
26897 2012-11-02  Roland McGrath  <roland@hack.frob.com>
26898
26899         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26900         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26901         autoconf-time if not.
26902         * configure.in: Remove AC_PREREQ.
26903
26904 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26905
26906         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26907         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26908         of the internal implementation.
26909
26910 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
26911
26912         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26913         except include of <misc/sys/syslog.h>.
26914
26915 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
26916
26917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26918         function returns with a NULL context exit with zero.
26919
26920 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26921
26922         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26923
26924 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
26925
26926         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26927         (run_program_cmd): This.
26928         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26929         (tst_langinfo): New variable.  Use it.
26930
26931 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
26932
26933         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26934         floating point opcodes.
26935
26936 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26937
26938         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26939         variable.
26940
26941         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26942
26943         * sysdeps/mach/hurd/powerpc: Remove directory.
26944         * sysdeps/mach/powerpc: Likewise.
26945
26946 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
26947
26948         * scripts/check-local-headers.sh: Ignore c++ headers.
26949
26950 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26951
26952         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26953         __libc_cleanup_region_start argument.
26954
26955 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
26956
26957         [BZ #14784]
26958         [BZ #14785]
26959         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26960         x * y using scaling, not as x * y + z.
26961         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26962         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26963         * math/libm-test.inc (fma_test): Add more tests.
26964         (fma_test_towardzero): Likewise.
26965         (fma_test_downward): Likewise.
26966         (fma_test_upward): Likewise.
26967
26968 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26969
26970         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26971
26972 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
26973
26974         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26975         New variable.
26976
26977 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
26978
26979         * rt/tst-shm.c (worker): Correct checking for mmap failure.
26980
26981 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
26982
26983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26984         Fix sort order.
26985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26986         Likewise.
26987
26988 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26989
26990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26991         Fix the order of the list for glibc 2.17.
26992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26993         Likewise.
26994
26995 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
26996
26997         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26998
26999 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27000
27001         [BZ #14610]
27002         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27003         for low part of x being zero before using __atanl (y).
27004         * math/libm-test.inc (atan2_test): Add another test.
27005
27006         * manual/install.texi (Configuring and compiling): Document
27007         general use of test-wrapper and test-wrapper-env.
27008         * INSTALL: Regenerated.
27009
27010         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27011         (__fma): Do not extract and scale down low bits on after-rounding
27012         systems when result rounded to normal precision would have normal
27013         exponent.
27014         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27015         (__fmal): Do not extract and scale down low bits on after-rounding
27016         systems when result rounded to normal precision would have normal
27017         exponent.
27018         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27019         (__fmal): Do not extract and scale down low bits on after-rounding
27020         systems when result rounded to normal precision would have normal
27021         exponent.
27022         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27023         macro.
27024         (fma_test): Add more tests.
27025         (fma_test_towardzero): Likewise.
27026         (fma_test_downward): Likewise.
27027         (fma_test_upward): Likewise.
27028
27029 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
27030
27031         * sysdeps/i386/tininess.h: Renamed to ...
27032         * sysdeps/x86/tininess.h: This.
27033         * sysdeps/x86_64/tininess.h: Removed.
27034
27035 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27036
27037         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27038         input.  Use $(build-program-cmd).
27039         ($(objpfx)tst-array1-static.out): Likewise.
27040         ($(objpfx)tst-array2.out): Likewise.
27041         ($(objpfx)tst-array3.out): Likewise.
27042         ($(objpfx)tst-array4.out): Likewise.
27043         ($(objpfx)tst-array5.out): Likewise.
27044         ($(objpfx)tst-array5-static.out): Likewise.
27045
27046 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
27047
27048         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27049         if defined.
27050
27051         * nss/nsswitch.h (nss_interface_function): Provide new
27052         macro for use with NSS functions.
27053         * grp/initgroups.c: Use new macro.
27054         * nss/getXXbyYY.c: Likewise.
27055         * nss/getXXbyYY_r.c: Likewise.
27056         * nss/getXXent.c: Likewise.
27057         * nss/getXXent_r.c: Likewise.
27058         * sysdeps/posix/getaddrinfo.c: Likewise.
27059
27060 2012-10-30  Andreas Jaeger  <aj@suse.de>
27061
27062         * po/ru.po: Update Russion translation from translation project.
27063
27064 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27065
27066         [BZ #14152]
27067         [BZ #14783]
27068         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27069         result and shift together with sticky bit instead of replicating
27070         round-to-nearest rounding.
27071         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27072         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27073         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
27074         missing underflow exceptions.
27075         (fma_test_towardzero): Add more tests.
27076         (fma_test_downward): Likewise.
27077         (fma_test_upward): Likewise.
27078
27079         [BZ #14047]
27080         * sysdeps/generic/tininess.h: New file.
27081         * sysdeps/i386/tininess.h: Likewise.
27082         * sysdeps/sh/tininess.h: Likewise.
27083         * sysdeps/x86_64/tininess.h: Likewise.
27084         * stdlib/tst-strtod-underflow.c: Likewise.
27085         * stdlib/tst-tininess.c: Likewise.
27086         * stdlib/strtod_l.c: Include <tininess.h>.
27087         (round_and_return): Do not set errno for exact underflow cases.
27088         Force an underflow exception when setting errno for underflow.
27089         Determine underflow based on rounding to normal precision if
27090         TININESS_AFTER_ROUNDING.
27091         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27092         ERANGE for exact underflow cases.
27093         * stdlib/Makefile (tests): Add tst-tininess and
27094         tst-strtod-underflow.
27095         ($(objpfx)tst-tininess): Use $(link-libm).
27096         ($(objpfx)tst-strtod-underflow): Likewise.
27097
27098 2012-10-30  Andreas Jaeger  <aj@suse.de>
27099
27100         [BZ#14767]
27101         * elf/Makefile (tests): Remove conditional for have-initfini-array
27102         since this is now always required and the variable does not exist
27103         anymore.
27104         (tests-static): Likewise.
27105         (modules-names): Likewise.
27106
27107         * po/eo.po: Add Esperanto translation from translation project.
27108
27109         * elf/tst-array1.c (fini_array): Make writeable so that it can be
27110         merged with constructor/destructor.
27111         (init_array): Likewise.
27112         * elf/tst-array2dep.c (fini_array): Likewise.
27113         (init_array): Likewise.
27114
27115 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
27116
27117         * manual/message.texi: Delete @cartouche tags.
27118
27119 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
27120
27121         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27122         EOPNOTSUPP.
27123         * sysdeps/mach/hurd/fsync.c: Likewise.
27124
27125         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27126         [_POSIX_REALTIME_SIGNALS]: Change condition to
27127         [_POSIX_REALTIME_SIGNALS > 0].
27128
27129 2012-10-27  Andreas Jaeger  <aj@suse.de>
27130
27131         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27132         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27133         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27134         [__WORDSIZE != 64]: Likewise.
27135
27136 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
27137
27138         *  iconvdata/tst-table.sh: Remove ${SHELL}.
27139         *  iconvdata/tst-tables.sh: Likewise.
27140
27141 2012-10-25  David S. Miller  <davem@davemloft.net>
27142
27143         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27144         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27145         of strtoull.
27146
27147         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27148         ifunc-impl-list.c
27149         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27150         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27151         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27152         file.
27153
27154 2012-10-25  Roland McGrath  <roland@hack.frob.com>
27155
27156         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27157         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27158         __getdirentries.
27159
27160 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27161             Jim Blandy  <jimb@codesourcery.com>
27162
27163         * scripts/cross-test-ssh.sh: New file.
27164         * manual/install.texi (Configuring and compiling): Document use of
27165         cross-test-ssh.sh.
27166         * INSTALL: Regenerated.
27167
27168 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
27169
27170         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27171         EOPNOTSUPP.
27172
27173 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27174
27175         * Makeconfig (run-program-prefix): Fix comment.
27176
27177 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27178             Jim Blandy  <jimb@codesourcery.com>
27179
27180         * Makeconfig (test-wrapper): New variable,
27181         (test-wrapper-env): Likewise.
27182         [$(cross-compiling) = yes && $(test-wrapper) != ""]
27183         (run-built-tests): Define to yes.
27184         (run-program-prefix): Use $(test-wrapper).
27185         (built-program-cmd): Likewise.
27186         * Rules (make-test-out): Use $(test-wrapper-env) and
27187         $(host-built-program-cmd).
27188         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27189         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27190         tst-pathopt.sh.
27191         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27192         $(test-wrapper-env) to tst-rtld-load-self.sh.
27193         ($(objpfx)order2.out): Use $(test-wrapper).
27194         ($(objpfx)tst-initorder.out): Likewise.
27195         ($(objpfx)tst-initorder2.out): Likewise.
27196         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27197         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27198         (test_wrapper_env): New variable.  Use it to run ld.so.
27199         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27200         Use it to run ld.so.
27201         (test_wrapper_env): Likewise.
27202         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27203         $(test-wrapper) to run-iconv-test.sh.
27204         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27205         (ICONV): Use $test_wrapper.
27206         * posix/Makefile ($(objpfx)globtest.out): Pass
27207         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27208         globtest.sh, not $(run-program-prefix).
27209         * posix/globtest.sh (run_via_rtld_prefix): New variable.
27210         (test_wrapper): Likewise.
27211         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
27212         set together with run_via_rtld_prefix.
27213         (run_program_prefix): Define in terms of test_wrapper and
27214         run_via_rtld_prefix.
27215
27216 2012-10-24  Roland McGrath  <roland@hack.frob.com>
27217
27218         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27219         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27220         Targets removed.
27221
27222         [BZ #14743]
27223         * include/time.h: Remove librt_hidden_proto (clock_gettime).
27224         Declare __clock_getres, __clock_gettime, __clock_settime,
27225         __clock_nanosleep, and __clock_getcpuclockid.
27226         * rt/clock_gettime.c: Define __clock_gettime as an alias.
27227         Remove librt_hidden_def (clock_gettime).
27228         * sysdeps/unix/clock_gettime.c: Likewise.
27229         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27230         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27231         * rt/clock_getres.c: Define __clock_getres as an alias.
27232         * sysdeps/posix/clock_getres.c: Likewise.
27233         * rt/clock_settime.c: Define __clock_settime as an alias.
27234         * sysdeps/unix/clock_settime.c: Likewise.
27235         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27236         * sysdeps/unix/clock_nanosleep.c: Likewise.
27237         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27238         * rt/clock-compat.c: New file.
27239         * rt/Makefile (librt-routines): Add clock-compat and move
27240         $(clock-routines) to ...
27241         (routines): ... here, new variable.
27242         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27243         Don't add get_clockfreq here.
27244         * rt/Versions (libc: GLIBC_2.17): New version set.
27245         Add clock_* symbols here.
27246         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
27247         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27248         (GLIBC_2.17): Add clock_* symbols.
27249         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27250         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27251         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27253         Likewise.
27254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27255         Likewise.
27256         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27257         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27258         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27260         * NEWS: Mention the move.
27261
27262         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27263         Use __open, __read, __close rather than their public counterparts.
27264         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27265         (__get_clockfreq_via_cpuinfo): Likewise.
27266         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27267         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27268
27269         * config.h.in (HAVE_IFUNC): New #undef.
27270         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27271         was successful.
27272         * configure: Regenerated.
27273
27274 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27275
27276         * configure.in: Move READELF check to start of file.
27277         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27278         libc_cv_asm_gnu_indirect_function in the process.
27279         * configure: Regenerated.
27280
27281 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27282
27283         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27284         send the output to /dev/null.
27285         (libc_cv_cc_with_libunwind): Likewise.
27286         (libc_cv_as_noexecstack): Likewise.
27287         * configure: Regenerate.
27288
27289 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27290
27291         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27292
27293         * posix/globtest.sh (TMPDIR): Do not set.
27294         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27295         (testout): Likewise.
27296
27297 2012-10-24  Andreas Jaeger  <aj@suse.de>
27298
27299         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27300         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27301         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27302         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27303         posix_fadvise64, posix_fallocate64.
27304
27305         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27306         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27307         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27308         Likewise.
27309         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27310         Likewise.
27311         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27312
27313         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27314         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27315         <bits/fcntl-linux.h>.
27316         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27317
27318         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27319         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27320         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27321         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27322         [__WORDSIZE != 64]: Likewise.
27323
27324 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27325
27326         * Makeconfig (run-built-tests): New variable.
27327         * Rules [$(cross-compiling) = yes]: Change condition to
27328         [$(run-built-tests) = no].
27329         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27330         to [$(run-built-tests) = yes].
27331         * elf/Makefile [$(cross-compiling) = no]: Likewise
27332         * grp/Makefile [$(cross-compiling) = no]: Likewise.
27333         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27334         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27335         * intl/Makefile [$(cross-compiling) = no]: Likewise.
27336         * io/Makefile [$(cross-compiling) = no]: Likewise.
27337         * libio/Makefile [$(cross-compiling) = no]: Likewise.
27338         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27339         * misc/Makefile [$(cross-compiling) = no]: Likewise.
27340         * posix/Makefile [$(cross-compiling) = no]: Likewise.
27341         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27342         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27343         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27344         * string/Makefile [$(cross-compiling) = no]: Likewise.
27345
27346         * posix/Makefile ($(objpfx)globtest.out): Pass
27347         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27348         $(rtld-installed-name).
27349         * posix/globtest.sh (elf_objpfx): Remove variable.
27350         (rtld_installed_name): Likewise.
27351         (library_path): Likewise.
27352         (run_program_prefix): New variable.  Use for running globtest
27353         binary.
27354
27355 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
27356             Joseph Myers  <joseph@codesourcery.com>
27357
27358         * Makeconfig (host-built-program-cmd): New variable.
27359         * elf/Makefile (tst-stackguard1-ARGS): Use
27360         $(host-built-program-cmd).
27361         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27362         (tst-spawn-ARGS): Likewise.
27363         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27364
27365 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27366             Jim Blandy  <jimb@codesourcery.com>
27367
27368         * Makeconfig (run-via-rtld-prefix): New variable.
27369         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27370         (built-program-cmd): Likewise.
27371
27372 2012-10-22  Andreas Jaeger  <aj@suse.de>
27373
27374         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27375         __O_RSYNC if it exists, otherwise to O_SYNC.
27376
27377 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
27378             Joseph Myers  <joseph@codesourcery.com>
27379
27380         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27381         /dev/null.
27382         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27383         from /dev/null
27384         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27385         /dev/null.
27386
27387 2012-10-22  Andreas Jaeger  <aj@suse.de>
27388
27389         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27390         Define always.
27391         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27392
27393         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27394         bits/fcntl-linux.h.
27395
27396         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27397         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27398
27399         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27400         to __O_LARGEFILE.
27401         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27402         to __O_LARGEFILE.
27403
27404 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
27405             Joseph Myers  <joseph@codesourcery.com>
27406
27407         * config.make.in (NM): New variable.
27408
27409 2012-10-21  Andreas Jaeger  <aj@suse.de>
27410
27411         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27412         definitions and declarations that are provided by
27413         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27414
27415 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27416
27417         [BZ #14683]
27418         * elf/Makefile (tests-static): Add tst-leaks1-static.
27419         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27420         ($(objpfx)tst-leaks1-static): New rule.
27421         ($(objpfx)tst-leaks1-static-mem): Likewise.
27422         (tst-leaks1-static-ENV): New macro.
27423         * elf/dl-open.c (dl_open_worker): Check the main application
27424         only if SHARED is defined.
27425         * elf/tst-leaks1-static.c: New file.
27426
27427 2012-10-20  Andreas Jaeger  <aj@suse.de>
27428
27429         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27430         generic values for Linux.
27431         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27432         and declarations that are provided by <bits/fcntl-linux.h> and
27433         include <bits/fcntl-linux.h>.
27434         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27435         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27436
27437 2012-10-20  Roland McGrath  <roland@hack.frob.com>
27438
27439         * io/fcntl.h: Move include of <bits/types.h> to the top and
27440         include it unconditionally.
27441
27442 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27443
27444         * wcsmbs/Makefile (tests-ifunc): New variable.
27445         (tests): Add $(tests-ifunc).
27446         * wcsmbs/test-wcschr-ifunc.c: New file.
27447         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27448         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27449         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27450         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27451         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27452
27453         * string/Makefile (tests-ifunc): New variable.
27454         (tests): Add $(tests-ifunc).
27455         * string/test-memccpy.c (TEST_NAME): New macro.
27456         * string/test-memchr.c (TEST_NAME): Likewise.
27457         * string/test-memcmp.c (TEST_NAME): Likewise.
27458         * string/test-memcpy.c (TEST_NAME): Likewise.
27459         * string/test-memmem.c (TEST_NAME): Likewise.
27460         * string/test-memmove.c (TEST_NAME): Likewise.
27461         * string/test-memset.c (TEST_NAME): Likewise.
27462         * string/test-rawmemchr.c (TEST_NAME): Likewise.
27463         * string/test-stpcpy.c (TEST_NAME): Likewise.
27464         * string/test-stpncpy.c (TEST_NAME): Likewise.
27465         * string/test-strcasecmp.c (TEST_NAME): Likewise.
27466         * string/test-strcasestr.c (TEST_NAME): Likewise.
27467         * string/test-strcat.c (TEST_NAME): Likewise.
27468         * string/test-strchr.c (TEST_NAME): Likewise.
27469         * string/test-strcmp.c(TEST_NAME): Likewise.
27470         * string/test-strcpy.c (TEST_NAME): Likewise.
27471         * string/test-strcspn.c (TEST_NAME): Likewise.
27472         * string/test-strlen.c (TEST_NAME): Likewise.
27473         * string/test-strncasecmp.c (TEST_NAME): Likewise.
27474         * string/test-strncmp.c (TEST_NAME): Likewise.
27475         * string/test-strncpy.c (TEST_NAME): Likewise.
27476         * string/test-strnlen.c (TEST_NAME): Likewise.
27477         * string/test-strpbrk.c (TEST_NAME): Likewise.
27478         * string/test-strrchr.c (TEST_NAME): Likewise.
27479         * string/test-strspn.c (TEST_NAME): Likewise.
27480         * string/test-strstr.c (TEST_NAME): Likewise.
27481         * string/test-bcopy-ifunc.c: New file.
27482         * string/test-bzero-ifunc.c: Likewise.
27483         * string/test-memccpy-ifunc.c: Likewise.
27484         * string/test-memchr-ifunc.c: Likewise.
27485         * string/test-memcmp-ifunc.c: Likewise.
27486         * string/test-memcpy-ifunc.c: Likewise.
27487         * string/test-memmem-ifunc.c: Likewise.
27488         * string/test-memmove-ifunc.c: Likewise.
27489         * string/test-mempcpy-ifunc.c: Likewise.
27490         * string/test-memset-ifunc.c: Likewise.
27491         * string/test-rawmemchr-ifunc.c: Likewise.
27492         * string/test-stpcpy-ifunc.c: Likewise.
27493         * string/test-stpncpy-ifunc.c: Likewise.
27494         * string/test-strcasecmp-ifunc.c: Likewise.
27495         * string/test-strcasestr-ifunc.c: Likewise.
27496         * string/test-strcat-ifunc.c: Likewise.
27497         * string/test-strchr-ifunc.c: Likewise.
27498         * string/test-strchrnul-ifunc.c: Likewise.
27499         * string/test-strcmp-ifunc.c: Likewise.
27500         * string/test-strcpy-ifunc.c: Likewise.
27501         * string/test-strcspn-ifunc.c: Likewise.
27502         * string/test-strlen-ifunc.c: Likewise.
27503         * string/test-strncasecmp-ifunc.c: Likewise.
27504         * string/test-strncat-ifunc.c: Likewise.
27505         * string/test-strncmp-ifunc.c: Likewise.
27506         * string/test-strncpy-ifunc.c: Likewise.
27507         * string/test-strnlen-ifunc.c: Likewise.
27508         * string/test-strpbrk-ifunc.c: Likewise.
27509         * string/test-strrchr-ifunc.c: Likewise.
27510         * string/test-strspn-ifunc.c: Likewise.
27511         * string/test-strstr-ifunc.c: Likewise.
27512
27513         * debug/Makefile (tests-ifunc): New variable.
27514         (tests): Add $(tests-ifunc).
27515         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27516         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27517         * debug/test-stpcpy_chk-ifunc.c: New file.
27518         * debug/test-strcpy_chk-ifunc.c: Likewise.
27519
27520 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27521
27522         [BZ #13601]
27523         * elf/dl-load.c (open_verify): Retry read if the entire ELF
27524         header is not read in.
27525
27526 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
27527
27528         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
27529         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
27530         directly.  Pass built executable to script as
27531         $(built-program-cmd).
27532         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
27533         $testprogram without using LD_LIBRARY_PATH and $ldso.
27534
27535         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27536         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27537         $(rtld-installed-name).
27538         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27539         (rtld_installed_name): Likewise.
27540         (library_path): Likewise.
27541         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
27542         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27543         $(run-program-prefix) to tst-tables.sh.
27544         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
27545         it to run tst-table-from and tst-table-to.
27546         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27547         Pass it to tst-table.sh.
27548         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27549         $(run-program-prefix) to tst-gettext.sh.
27550         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27551         tst-translit.sh.
27552         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27553         tst-gettext2.sh.
27554         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
27555         to run tst-gettext.
27556         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
27557         to run tst-gettext2.
27558         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
27559         to run tst-translit.
27560         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27561         $(run-program-prefix) to tst-mtrace.sh.
27562         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
27563         to run tst-mtrace.
27564         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27565         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27566         $(rtld-installed-name).
27567         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27568         (rtld_installed_name): Likewise.
27569         (run_program_prefix): New variable.  Use it to run wordexp-test.
27570
27571         * Makeconfig (ARCH): Remove all definitions.
27572         (machine): Likewise.
27573         [ARCH]: Remove conditional code.
27574         [!objdir]: Give error.
27575         [!objdir] (objpfx): Remove.
27576         [!objdir] (common-objpfx): Likewise.
27577         [!objdir] (common-objdir): Likewise.
27578         * configure.in (config_makefile): Remove.  Hardcode Makefile in
27579         AC_CONFIG_FILES call.
27580         * configure: Regenerated.
27581
27582         [BZ #13888]
27583         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27584         or TMPDIR.
27585         (testout): Likewise.
27586
27587         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27588         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27589         $(rtld-installed-name).
27590         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27591         (rtld_installed_name): Likwise.
27592         (runit): Remove function.
27593         (run_getconf): New variable,  Use it for running getconf binary.
27594
27595 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
27596
27597         [BZ #14716]
27598         * string/test-memmem.c (check_result): New function.
27599         (do_one_test): Use it.
27600         (check1): New function.
27601         (test_main): Use it.
27602
27603 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
27604
27605         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27606
27607 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
27608
27609         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27610         (_G_LSEEK64): Likewise.
27611         (_G_MMAP64): Likewise.
27612         (_G_FSTAT64): Likewise.
27613         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27614         (_G_LSEEK64): Likewise.
27615         (_G_MMAP64): Likewise.
27616         (_G_FSTAT64): Likewise.
27617         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27618         unconditional.  Call __mmap64 directly.
27619         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27620         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
27621         __lseek64 directly.
27622         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27623         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
27624         __mmap64 directly.
27625         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27626         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27627         __lseek64 directly.
27628         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27629         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27630         __lseek64 directly.
27631         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27632         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
27633         __lseek64 directly.
27634         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27635         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
27636         __fxstat64 directly.
27637         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27638         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27639         unconditional.
27640         (freopen64) [!_G_OPEN64]: Remove conditional code.
27641         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27642         unconditional.
27643         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27644         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27645         unconditional.
27646         (ftello64) [!_G_LSEEK64]: Remove conditional code.
27647         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27648         unconditional.
27649         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27650         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27651         unconditional.
27652         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27653         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27654         unconditional.
27655         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27656         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27657         unconditional.
27658         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27659         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27660         unconditional.
27661         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27662
27663 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27664
27665         [BZ #12140]
27666         * manual/memory.texi (Malloc Tunable Parameters): Add note
27667         about free list pointers overwriting some perturb bytes.
27668         Wording suggested by Roland McGrath.
27669
27670 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
27671
27672         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27673         (lgamma_test): Likewise.
27674         (tgamma_test): Likewise.
27675
27676 2012-10-16  Florian Weimer  <fweimer@redhat.com>
27677
27678         [BZ #14700]
27679         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27680         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27681
27682 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
27683
27684         * NEWS: Mention BZ #14716.
27685         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27686         when removing AVAILABLE1_USES_J macro.
27687
27688 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
27689
27690         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27691         (__bswap_64): __uint64_t for unsigned 64-bit int.
27692
27693 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
27694
27695         * include/string.h (memmem): Declare libc hidden alias.
27696         * string/memmem.c (memmem): Define libc hidden alias.
27697         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27698         __read, __close instead of open, read, close.
27699
27700 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
27701
27702         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27703         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27704         global and hidden.
27705         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27706         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27707         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27708         Likewise.
27709         (__rawmemchr_sse2): Likewise.
27710         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27711         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27712         (__strchr_sse2): Likewise.
27713         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27714         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27715         (__strcasecmp_sse2): Likewise.
27716         (__strncasecmp_sse2): Likewise.
27717         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27718         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27719         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27720         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27721         (__strrchr_sse2): Likewise.
27722         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27723         ifunc-impl-list.c.
27724         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27725         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27726         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27727         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27728         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27729         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27730         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27731         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27732         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27733         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27734         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27735         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27736         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27737         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27738         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27739         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27740         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27741         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27742         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27743         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27744         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27745         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27746         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27747         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27748         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27749         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27750         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27751         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27752         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27753         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27754
27755         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27756         global and hidden.
27757         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27758         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27759         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27760         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27761         Likewise.
27762         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27763         Likewise.
27764         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27765         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27766         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27767         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27768         ifunc-impl-list.c.
27769         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27770         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27771         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27772         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27773         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27774         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27775         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27776         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27777         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27778         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27779         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27780         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27781         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27782         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27783         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27784         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27785         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27786         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27787         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27788         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27789         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27790         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27791         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27792         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27793         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27794         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27795         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27796         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27797         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27798         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27799         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27800         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27801         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27802         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27803         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27804         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27805         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27806         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27807         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27808         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27809         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27810
27811         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27812         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27813         * include/ifunc-impl-list.h: New file.
27814         * misc/ifunc-impl-list.c: Likewise.
27815         * misc/Makefile (routines): Add ifunc-impl-list.
27816         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27817         * string/test-string.h: Include <ifunc-impl-list.h>.
27818         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27819         TEST_NAME]: New variables.
27820         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27821         are defined.
27822         (test_init): Call __libc_ifunc_impl_list to initialize
27823         func_list if TEST_IFUNC and TEST_NAME are defined.
27824
27825         * string/Makefile (strop-tests): Add bcopy and bzero.
27826         * string/test-bcopy.c: New file.
27827         * string/test-bzero.c: Likewise.
27828         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27829         defined.
27830         * string/test-memset.c: Support bzero test if TEST_BZERO is
27831         defined.
27832         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27833         __libc_memmove.
27834         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27835         __libc_memset.
27836         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27837         of memset.
27838
27839 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
27840
27841         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27842         * configure: Regenerated.
27843
27844         * Makeconfig (+link-static-before-libc): Don't include
27845         $(link-static-libc).
27846
27847         * libio/libio.h (_IO_pos_t): Remove.
27848
27849 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27850
27851         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
27852         McGrath.
27853
27854 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27855
27856         * crypt/crypt-entry.c: Include fips-private.h.
27857         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27858         * crypt/md5c-test.c (main): Tolerate disabled MD5.
27859         * sysdeps/unix/sysv/linux/fips-private.h: New file.
27860         * sysdeps/generic/fips-private.h: New file, dummy fallback.
27861
27862 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27863
27864         * crypt/crypt-private.h: Include stdbool.h.
27865         (_ufc_setup_salt_r): Return bool.
27866         * crypt/crypt-entry.c: Include errno.h.
27867         (__crypt_r): Return NULL with EINVAL for bad salt.
27868         * crypt/crypt_util.c (bad_for_salt): New.
27869         (_ufc_setup_salt_r): Check that salt is long enough and within
27870         the specified alphabet.
27871         * crypt/badsalttest.c: New file.
27872         * crypt/Makefile (tests): Add it.
27873         ($(objpfx)badsalttest): New.
27874
27875 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
27876
27877         * NEWS: Add entry for BZ #14602.
27878
27879 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
27880
27881         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27882         type-generic.
27883         * math/libm-test.inc: Update comment listing what functions and
27884         macros are tested.
27885         (isgreater_test): New function.
27886         (isgreaterequal_test): Likewise.
27887         (isless_test): Likewise.
27888         (islessequal_test): Likewise.
27889         (islessgreater_test): Likewise.
27890         (isunordered_test): Likewise.
27891         (main): Call the new functions.
27892
27893 2012-10-09  Roland McGrath  <roland@hack.frob.com>
27894
27895         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27896         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27897         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27898         * sysdeps/i386/configure: Regenerated.
27899         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27900         * sysdeps/mach/configure: Regenerated.
27901         * sysdeps/mach/hurd/configure: Regenerated.
27902         * sysdeps/powerpc/configure: Regenerated.
27903         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27904         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27905         * sysdeps/s390/s390-32/configure: Regenerated.
27906         * sysdeps/s390/s390-64/configure: Regenerated.
27907         * sysdeps/sh/configure: Regenerated.
27908         * sysdeps/sparc/configure: Regenerated.
27909         * sysdeps/unix/sysv/linux/configure: Regenerated.
27910         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27911         * sysdeps/x86_64/configure: Regenerated.
27912
27913         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27914         defined.  Don't check if MAP is NULL.
27915
27916 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
27917
27918         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27919         (_G_stat64): Likewise.
27920         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27921         (_G_stat64): Likewise.
27922         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27923         instead of struct _G_stat64.
27924         * libio/fileops.c (mmap_remap_check): Likewise.
27925         (decide_maybe_mmap): Likewise.
27926         (_IO_new_file_seekoff): Likewise.
27927         (_IO_file_stat): Likewise.
27928         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27929         _G_off64_t.
27930         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27931         instead of struct _G_stat64.
27932         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27933
27934 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
27935
27936         [BZ #14602]
27937         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27938         Replace with ...
27939         (CHECK_EOL): New macro.
27940         (two_way_short_needle): Check beginning of haystack for EOL.  Use
27941         CHECK_EOL.
27942         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27943         Replace with CHECK_EOL.
27944         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27945         Replace with CHECK_EOL.
27946
27947 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
27948
27949         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27950         type-generic.
27951         * math/libm-test.inc: Update comment listing what functions and
27952         macros are tested.
27953         (finite_test): New function.
27954         (isinf_test): Likewise.
27955         (isnan_test): Likewise.
27956         (fpclassify_test): Test subnormal input.
27957         (isfinite_test): Likewise.
27958         (isnormal_test): Likewise.
27959         (main): Call the new functions.
27960
27961 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
27962
27963         [BZ #14660]
27964         * Makerules (%.dynsym): Force C locale when running
27965         $(OBJDUMP) --dynamic-syms.
27966
27967 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
27968
27969         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27970         <stdint.h>.
27971
27972 2012-10-06  David S. Miller  <davem@davemloft.net>
27973
27974         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27975         upper 32-bits of the length value in %o2 since we use branch-on-register
27976         tests which consider the entire 64-bit register.
27977
27978 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
27979
27980         * string/test-strstr.c (check2): Add a test for page boundary.
27981
27982 2012-10-05  David S. Miller  <davem@davemloft.net>
27983
27984         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27985         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27986         file.
27987         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27988         sysdep_routines.
27989         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27990         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27991         and bzero when HWCAP_SPARC_CRYPTO is present.
27992
27993 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
27994
27995         [BZ #14602]
27996         * string/test-strstr.c (check2): New function.
27997         (test_main): Call check2.
27998
27999         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28000         and bug-strchr1.
28001         * string/bug-strcasestr1.c (do_test): Moved to ...
28002         * string/test-strcasestr.c (check1): Here.  New function.
28003         (do_one_test): Break out result checking code into ...
28004         (check_result): This.  New function.
28005         (do_one_test): Call check_result.
28006         (test_main): Call check1.
28007         * string/bug-strchr1.c (do_test): Moved to ...
28008         * string/test-strchr.c (check1): Here.  New function.
28009         (do_one_test): Break out result checking code into ...
28010         (check_result): This.  New function.
28011         (do_one_test): Call check_result.
28012         (test_main): Call check1.
28013         * string/bug-strstr1.c (main): Moved to ...
28014         * string/test-strstr.c (check1): Here.  New function.
28015         (do_one_test): Break out result checking code into ...
28016         (check_result): This.  New function.
28017         (do_one_test): Call check_result.
28018         (test_main): Call check1.
28019         * string/bug-strcasestr1.c: Removed.
28020         * string/bug-strchr1.c: Likewise.
28021         * string/bug-strstr1.c: Likewise.
28022
28023         * elf/Makefile (dl-routines): Add hwcaps.
28024         * elf/dl-support.c (_dl_important_hwcaps): Removed.
28025         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28026         (_dl_important_hwcaps): Moved to ...
28027         * elf/dl-hwcaps.c: Here.  New file.
28028         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28029
28030         [BZ #14557]
28031         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28032         if IS_IN_rtld isn't defined.
28033
28034         * elf/dl-support.c (_dl_sysinfo_map): New.
28035         Include "get-dynamic-info.h" and "setup-vdso.h".
28036         (_dl_non_dynamic_init): Call setup_vdso.
28037         * elf/dynamic-link.h: Don't include <assert.h>.
28038         (elf_get_dynamic_info): Moved to ...
28039         * elf/get-dynamic-info.h: Here.  New file.
28040         * elf/dynamic-link.h: Include "get-dynamic-info.h".
28041         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28042         * elf/setup-vdso.h: Here.  New file.
28043         * elf/rtld.c: Include "setup-vdso.h".
28044         (dl_main): Call setup_vdso.
28045
28046 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
28047
28048         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28049         creal in comment listing functions tested.  List finite, isinf,
28050         isnan, isless, islessequal, isgreater, isgreaterequal,
28051         islessgreater, isunordered, lgamma_r and pow10 as functions and
28052         macros not tested.  Mention which functions not tested are aliases
28053         for other functions.  Fix typo.  Note that signs of NaNs are not
28054         tested.
28055
28056         * scripts/config.guess: Update from config.git.
28057         * scripts/config.sub: Likewise.
28058
28059 2012-10-04  Roland McGrath  <roland@hack.frob.com>
28060
28061         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28062         * misc/madvise.c (madvise): Renamed to __madvise.
28063         Make madvise a weak alias.
28064         * include/sys/mman.h: Declare __madvise.
28065         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28066         * sysdeps/unix/syscalls.list
28067         (madvise): Make __madvise the strong name, and madvise a weak alias.
28068         * sysdeps/unix/sysv/linux/syscalls.list
28069         (madvise, mmap): Remove redundant entries.
28070         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28071         * malloc/malloc.c (mtrim): Likewise.
28072         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28073
28074 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28075
28076         * sysdeps/mach/hurd/dl-cache.c: File removed.
28077         * config.h.in (USE_LDCONFIG): New #undef.
28078         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28079         * configure: Regenerated.
28080         * elf/Makefile (dl-routines): Add dl-cache only under
28081         [$(use-ldconfig) = yes].
28082         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28083         cache on [USE_LDCONFIG].
28084         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28085         [USE_LDCONFIG].
28086         * elf/rtld.c (dl_main): Likewise.
28087
28088 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
28089
28090         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28091         _SC_LEVEL4_CACHE_LINESIZE.
28092
28093 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28094
28095         * sysdeps/unix/bsd/confstr.h: File removed.
28096
28097 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
28098
28099         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28100         sys/sdt-config.h.
28101
28102 2012-10-02  Roland McGrath  <roland@hack.frob.com>
28103
28104         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28105         Make 'mapoff' field ElfW(Off) rather than off_t.
28106
28107 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
28108
28109         * nscd/Makefile: Remove nscd-cflags and all its users.
28110         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28111         (CFLAGS-nonlib): Add compiler flags for nscd modules.
28112
28113         [BZ #10631]
28114         * malloc.c (malloc_printerr): Clarify error message.
28115
28116 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
28117
28118         [BZ #14648]
28119         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28120         Set bit_FMA_Usable if FMA is supported.
28121         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28122         macro.
28123         (bit_FMA4_Usable): Updated.
28124         (index_FMA_Usable): New macro.
28125         (CPUID_FMA): Likewise
28126         (HAS_FMA): Defined with bit_FMA_Usable.
28127
28128 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28129
28130         * bits/types.h (__swblk_t): Type removed.
28131         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28132         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28133         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28134         (__SWBLK_T_TYPE): Likewise.
28135         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28136         (__SWBLK_T_TYPE): Likewise.
28137         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28138         (__SWBLK_T_TYPE): Likewise.
28139         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28140         (__SWBLK_T_TYPE): Likewise.
28141
28142 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
28143             Honza Horak <hhorak@redhat.com>
28144
28145         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28146         (xdr_mapname): Use YPMAXMAP as maxsize.
28147         (xdr_peername): Use YPMAXPEER as maxsize.
28148         (xdr_keydat): Use YPAXRECORD as maxsize.
28149         (xdr_valdat): Use YPMAXRECORD as maxsize.
28150
28151 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28152
28153         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28154
28155         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28156         * csu/init-first.c: ... here.
28157         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28158         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28159         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28160         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28161         * sysdeps/i386/init-first.c: File removed.
28162         * sysdeps/sh/init-first.c: File removed.
28163
28164 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
28165
28166         [BZ #14645]
28167         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28168         if x * y might underflow to zero and z is zero.
28169         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28170         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28171         * math/libm-test.inc (min_subnorm_value): New variable.
28172         (fma_test): Add more tests.
28173         (fma_test_towardzero): Likewise.
28174         (fma_test_downward): Likewise
28175         (fma_test_upward): Likewise.
28176         (initialize): Set min_subnorm_value.
28177
28178 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
28179
28180         [BZ #14638]
28181         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28182         0 + 0.
28183         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28184         mode for addition resulting in exact zero.
28185         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28186         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28187         exact 0 + 0.
28188         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28189         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28190         * math/libm-test.inc (fma_test): Add more tests.
28191         (fma_test_towardzero): New function.
28192         (fma_test_downward): Likewise.
28193         (fma_test_upward): Likewise.
28194         (main): Call the new functions.
28195
28196 2012-09-28  David S. Miller  <davem@davemloft.net>
28197
28198         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28199
28200 2012-09-28  Roland McGrath  <roland@hack.frob.com>
28201
28202         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28203         instead of SIGALRM.
28204
28205         * sysdeps/gnu/_G_config.h: Moved to ...
28206         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28207         * sysdeps/mach/hurd/_G_config.h: Moved to ...
28208         * sysdeps/generic/_G_config.h: ... here.
28209
28210         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
28211
28212         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28213
28214         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28215         Conditionalize target on [libnss_test1.so-version].
28216
28217         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28218
28219         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28220         (elfobjdir): Move out of conditionals.
28221
28222         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28223         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28224         (__nss_lookup_function): Conditionalize label remove_from_tree on
28225         [!DO_STATIC_NSS || SHARED], matching its only use.
28226
28227 2012-09-28  David S. Miller  <davem@davemloft.net>
28228
28229         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28230         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28231         file.
28232         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28233         sysdep_routines.
28234         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28235         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28236         when HWCAP_SPARC_CRYPTO is present.
28237
28238 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28239
28240         * io/tst-mknodat.c: Create a FIFO instead of a socket.
28241
28242 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
28243
28244         [BZ #6530]
28245         * stdio-common/vfprintf.c (process_string_arg): Revert
28246         2000-07-22 change.
28247
28248 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
28249
28250         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28251         for testcase.
28252         * stdio-common/tst-sprintf.c: Include <locale.h>
28253         (main): Test sprintf's handling of incomplete multibyte
28254         characters.
28255
28256 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
28257
28258         * elf/dl-runtime.c (VERSYMIDX): Removed.
28259         * elf/dl-version.c (VERSYMIDX): Likewise.
28260         * elf/do-rel.h (VERSYMIDX): Likewise.
28261         (VALIDX): Likewise.
28262         * elf/dynamic-link.h (VERSYMIDX): Likewise.
28263         * elf/rtld.c (VALIDX): Likewise.
28264         (ADDRIDX): Likewise.
28265         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28266         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28267         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28268         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28269         (VALIDX): Likewise.
28270         (ADDRIDX): Likewise.
28271
28272 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28273
28274         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28275
28276 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
28277
28278         [BZ #11438]
28279         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28280         to global scope.
28281         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28282         addresses are in the same scope as 192.0.2/24.
28283         * posix/gai.conf: Document new scope table defaults.
28284
28285 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28286
28287         [BZ #5298]
28288         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28289         for ftell.  Compute offsets from write pointers instead.
28290         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28291
28292 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28293
28294         [BZ #14543]
28295         * libio/Makefile (tests): New test case tst-fseek.
28296         * libio/tst-fseek.c: New test case to verify that fseek/ftell
28297         combination works in wide mode.
28298         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28299         state when the external buffer state changes.
28300
28301 2012-09-27  David S. Miller  <davem@davemloft.net>
28302
28303         [BZ #14376]
28304         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28305         pass reloc->r_addend in as the 'high' argument to
28306         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28307
28308         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28309
28310 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28311
28312         * rt/tst-aio2.c: Include <pthread.h>.
28313         * rt/tst-aio3.c: Likewise.
28314
28315 2012-09-27  Steve Ellcey  <sellcey@mips.com>
28316
28317         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28318
28319 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
28320
28321         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28322         contents on [SHARED].
28323
28324 2012-09-26  Marek Polacek  <polacek@redhat.com>
28325
28326         [BZ #14530]
28327         [BZ #13741]
28328         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28329         for C++ and GCC <4.3 as well as for non GCC compilers.
28330
28331 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28332
28333         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28334
28335 2012-09-25  Roland McGrath  <roland@hack.frob.com>
28336
28337         * Makefile.in (all, install): Declare with .PHONY.
28338         Reported by Michael Hope <michael.hope@linaro.org>.
28339
28340 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28341
28342         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28343         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28344         system header.
28345         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28346         Likewise.
28347         (sydep_routines): Add the new and the internal functions.
28348         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28349         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28351         (GLIBC_2.17): Add the new function.
28352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28353         (GLIBC_2.17): Likewise.
28354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28355         (GLIBC_2.17): Likewise.
28356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28357         (GLIBC_2.17): Likewise.
28358         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28359
28360 2012-09-25  Alan Modra  <amodra@gmail.com>
28361
28362         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28363         Add release barrier before setting once_control to say
28364         initialisation is done.  Add hints on lwarx.  Use macro in
28365         place of isync.
28366         (clear_once_control): Add release barrier.
28367
28368 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28369
28370         [BZ #13629]
28371         * math/s_clog.c (__clog): Handle more values close to |z| = 1
28372         specially.
28373         * math/s_clog10.c (__clog10): Likewise.
28374         * math/s_clog10f.c (__clog10f): Likewise.
28375         * math/s_clog10l.c (__clog10l): Likewise.
28376         * math/s_clogf.c (__clogf): Likewise.
28377         * math/s_clogl.c (__clogl): Likewise.
28378         * math/Makefile (libm-calls): Add x2y2m1.
28379         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28380         (__x2y2m1): Likewise.
28381         (__x2y2m1l): Likewise.
28382         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28383         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28384         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28385         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28386         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28387         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28388         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28389         * sysdeps/i386/fpu/libm-test-ulps: Update.
28390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28391
28392         [BZ #14621]
28393         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28394         int as type of variable DEPTH.
28395         (glob): Use size_t instead of int as type of variables NEWCOUNT
28396         and OLD_PATHC.
28397
28398 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28399
28400         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28401         Add s_sincosf-sse2.
28402         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28403         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28404         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28405         macros for using routine as __sincosf_ia32.
28406         Use macro for function declaration and weak_alias.
28407         * sysdeps/i386/fpu/libm-test-ulps: Update.
28408
28409         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28410         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28411
28412         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28413         subnormal argument.
28414         * math/s_cexpf.c (__cexpf): Likewise.
28415         * math/s_csinf.c (__csinf): Likewise.
28416         * math/s_csinhf.c (__csinhf): Likewise.
28417         * math/s_ctanf.c (__ctanf): Likewise.
28418         * math/s_ctanhf.c (__ctanhf): Likewise.
28419         * math/s_ccosh.c (__ccoshf): Likewise.
28420         * math/s_cexp.c (__cexpl): Likewise.
28421         * math/s_csin.c (__csin): Likewise.
28422         * math/s_csinh.c (__csinh): Likewise.
28423         * math/s_ctan.c (__ctan): Likewise.
28424         * math/s_ctanh.c (ctanh): Likewise.
28425         * math/s_ccoshl.c (__ccoshl): Likewise.
28426         * math/s_cexpl.c (__cexpl): Likewise.
28427         * math/s_csinl.c (__csinl): Likewise.
28428         * math/s_csinhl.c (__csinhl): Likewise.
28429         * math/s_ctanl.c (__ctanl): Likewise.
28430         * math/s_ctanhl.c (__ctanhl): Likewise.
28431
28432 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28433
28434         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28435         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28436         (_IO_off_t): Define to __off_t, not _G_off_t.
28437         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28438         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28439         (_IO_wint_t): Define to wint_t, not _G_wint_t.
28440         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28441         type of __dummy and __dummy2 fields.
28442         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28443         (_G_ssize_t): Likewise.
28444         (_G_off_t): Likewise.
28445         (_G_pid_t): Likewise.
28446         (_G_uid_t): Likewise.
28447         (_G_wchar_t): Likewise.
28448         (_G_wint_t): Likewise.
28449         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28450         (_G_ssize_t): Likewise.
28451         (_G_off_t): Likewise.
28452         (_G_pid_t): Likewise.
28453         (_G_uid_t): Likewise.
28454         (_G_wchar_t): Likewise.
28455         (_G_wint_t): Likewise.
28456         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28457         (_G_ssize_t): Likewise.
28458         (_G_off_t): Likewise.
28459         (_G_pid_t): Likewise.
28460         (_G_uid_t): Likewise.
28461         (_G_wchar_t): Likewise.
28462         (_G_wint_t): Likewise.
28463
28464 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28465
28466         * malloc/arena.c: Include malloc-sysdep.h.
28467         (shrink_heap): Use check_may_shrink_heap to decide if madvise
28468         is sufficient to shrink the heap or an unmap is needed.
28469         * sysdeps/generic/malloc-sysdep.h: New file.  Define
28470         new function check_may_shrink_heap.
28471         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
28472         new function check_may_shrink_heap.
28473
28474 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28475
28476         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28477         comments.
28478
28479 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
28480
28481         * catgets/test-gencat.sh: Add "set -e".
28482         * elf/tst-pathopt.sh: Likewise.
28483         * grp/tst_fgetgrent.sh: Likewise.
28484         * iconvdata/run-iconv-test.sh: Likewise.
28485         * intl/tst-gettext.sh: Likewise.
28486         * intl/tst-gettext2.sh: Likewise.
28487         * intl/tst-gettext4.sh: Likewise.
28488         * intl/tst-gettext6.sh: Likewise.
28489         * intl/tst-translit.sh: Likewise.
28490         * io/ftwtest-sh: Likewise.
28491         * libio/test-freopen.sh: Likewise.
28492         * malloc/tst-mtrace.sh: Likewise.
28493         * posix/globtest.sh: Likewise.
28494         * posix/tst-getconf.sh: Likewise.
28495         * posix/wordexp-tst.sh: Likewise.
28496         * stdio-common/tst-printf.sh: Likewise.
28497         * stdio-common/tst-unbputc.sh: Likewise.
28498         * stdlib/tst-fmtmsg.sh: Likewise.
28499         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28500         * catgets/Makefile: Do not specify -e option when running
28501         testsuite shell scripts.
28502         * elf/Makefile: Likewise.
28503         * grp/Makefile: Likewise.
28504         * iconvdata/Makefile: Likewise.
28505         * intl/Makefile: Likewise.
28506         * io/Makefile: Likewise.
28507         * libio/Makefile: Likewise.
28508         * malloc/Makefile: Likewise.
28509         * posix/Makefile: Likewise.
28510         * stdio-common/Makefile: Likewise.
28511         * stdlib/Makefile: Likewise.
28512         * sysdeps/x86_64/Makefile: Likewise.
28513
28514         * io/ftwtest-sh: Add copyright header.
28515         * posix/globtest.sh: Likewise.
28516         * posix/tst-getconf.sh: Likewise.
28517         * posix/wordexp-tst.sh: Likewise.
28518         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28519
28520 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
28521
28522         [BZ #13679]
28523         * Makeconfig (+link): Defined as $(+link-static) if
28524         $(build-shared) isn't yes.
28525         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28526         isn't yes.
28527         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28528
28529         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28530
28531         [BZ #14562]
28532         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28533         new chunk size with MALLOC_ALIGN_MASK.
28534
28535 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
28536
28537         [BZ #5044]
28538         * stdio-common/printf_fphex.c: Include <stdbool.h> and
28539         <rounding-mode.h>.
28540         (__printf_fphex): Determine rounding using get_rounding_mode and
28541         round_away.
28542         * stdio-common/tst-printf-round.c (struct hex_test): New
28543         structure.
28544         (hex_tests): New variable.
28545         (test_hex_in_one_mode): New function.
28546         (do_test): Also run tests for hex float output.
28547
28548 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
28549
28550         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28551         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28552         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28553         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28554         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28555         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28556         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28557         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28558
28559 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
28560
28561         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28562         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28563         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28564         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28565
28566 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
28567
28568         [BZ #14579]
28569         * elf/rtld.c (dl_main): Limit the check for self loading to normal
28570         mode only.
28571         * elf/tst-rtld-load-self.sh: New test.
28572         * elf/Makefile: Run it.
28573
28574 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
28575
28576         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28577         (tst-writev-ENV): Remove.
28578         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28579
28580 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
28581
28582         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28583
28584 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
28585
28586         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28587         unconditional.
28588         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28589         Likewise.
28590         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28591         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28592         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28593         Likewise.
28594
28595 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
28596
28597         [BZ #14587]
28598         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28599         * config.make.in (have-cpp-asm-debuginfo): Removed.
28600         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28601         * configure: Regenerated.
28602
28603 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
28604
28605         [BZ #5044]
28606         * stdio-common/printf_fp.c: Include <stdbool.h> and
28607         <rounding-mode.h>.
28608         (___printf_fp): Determine rounding using get_rounding_mode and
28609         round_away.
28610         * stdio-common/tst-printf-round.c: New file.
28611         * stdio-common/Makefile (tests): Add tst-printf-round.
28612         (link-libm): New variable.
28613         ($(objpfx)tst-printf-round): Depend in $(link-libm).
28614
28615 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
28616
28617         [BZ #14576]
28618         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28619         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28620         Likewise.
28621         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28622         Likewise.
28623
28624 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
28625
28626         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28627         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28628         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28629         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28630
28631 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
28632
28633         [BZ #14518]
28634         * include/rounding-mode.h: New file.
28635         * sysdeps/generic/get-rounding-mode.h: Likewise.
28636         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28637         * stdlib/strtod_l.c: Include <rounding-mode.h>.
28638         (MAX_VALUE): New macro.
28639         (MIN_VALUE): Likewise.
28640         (overflow_value): New function.
28641         (underflow_value): Likewise.
28642         (round_and_return): Use overflow_value and underflow_value to
28643         determine return values in overflow and underflow cases.  Use
28644         round_away to determine rounding depending on rounding mode.
28645         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28646         determine return values in overflow and underflow cases.
28647         * stdlib/tst-strtod-round.c: Include <fenv.h>.
28648         (struct test_results): New structure.
28649         (struct test): Use struct test_results to store expected results
28650         for all rounding modes.
28651         (TEST): Include expected results for all rounding modes.
28652         (test_in_one_mode): New function.
28653         (do_test): Use test_in_one_mode to compute and check results.
28654         Check results for all rounding modes.
28655         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28656         $(link-libm).
28657
28658 2012-12-09  Allan McRae  <allan@archlinux.org>
28659
28660         * sysdeps/i386/fpu/libm-test-ulps: Update
28661
28662 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
28663
28664         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28665         (_G_int32_t): Likewise.
28666         (_G_uint16_t): Likewise.
28667         (_G_uint32_t): Likewise.
28668         (_G_HAVE_BOOL): Likewise.
28669         (_G_HAVE_ATEXIT): Likewise.
28670         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28671         (_G_HAVE_IO_FILE_OPEN): Likewise.
28672         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28673         (_G_int32_t): Likewise.
28674         (_G_uint16_t): Likewise.
28675         (_G_uint32_t): Likewise.
28676         (_G_HAVE_BOOL): Likewise.
28677         (_G_HAVE_ATEXIT): Likewise.
28678         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28679         (_G_HAVE_IO_FILE_OPEN): Likewise.
28680         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28681         (_G_int32_t): Likewise.
28682         (_G_uint16_t): Likewise.
28683         (_G_uint32_t): Likewise.
28684         (_G_HAVE_BOOL): Likewise.
28685         (_G_HAVE_ATEXIT): Likewise.
28686         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28687         (_G_HAVE_IO_FILE_OPEN): Likewise.
28688
28689 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
28690
28691         * csu/libc-tls.c: Update copyright years.
28692
28693 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
28694
28695         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28696         [!_G_USING_THUNKS]: Remove conditional code.
28697         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28698         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28699
28700         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28701         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28702         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28703         (_G_VTABLE_LABEL_PREFIX): Likewise.
28704         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28705         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28706         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28707         (_G_VTABLE_LABEL_PREFIX): Likewise.
28708         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28709         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28710         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28711         (_G_VTABLE_LABEL_PREFIX): Likewise.
28712         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28713
28714 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
28715
28716         * libio/Makefile: Include ../Makeconfig before tests.
28717         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28718         only if $(build-shared) is yes.
28719
28720         * iconv/gconv_db.c: Update copyright years.
28721
28722 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28723
28724         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28725         unwind info if defined PIC. Fix special cases description.
28726         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28727
28728         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28729         DP_HI_MASK entry.
28730         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28731
28732 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
28733
28734         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28735
28736         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28737         is NULL.
28738
28739         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28740         (LDLIBS-tst-chk4): This.
28741         (LDFLAGS-tst-chk5): Renamed to ...
28742         (LDLIBS-tst-chk5): This.
28743         (LDFLAGS-tst-chk6): Renamed to ...
28744         (LDLIBS-tst-chk6): This.
28745         (LDFLAGS-tst-lfschk4): Renamed to ...
28746         (LDLIBS-tst-lfschk4): This.
28747         (LDFLAGS-tst-lfschk5): Renamed to ...
28748         (LDLIBS-tst-lfschk5): This.
28749         (LDFLAGS-tst-lfschk6): Renamed to ...
28750         (LDLIBS-tst-lfschk6): This.
28751
28752         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28753         on $(common-objpfx)soversions.mk.
28754
28755 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
28756
28757         [BZ #10014]
28758         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28759         example host name.
28760
28761 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28762
28763         * malloc/arena.c (arena_get_retry): New function that gets
28764         another arena for the caller to try its request on.
28765         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28766         current arena cannot fulfill the request.
28767         (__libc_memalign): Likewise.
28768         (__libc_memalign): Likewise.
28769         (__libc_pvalloc): Likewise.
28770         (__libc_calloc): Likewise.
28771
28772 2012-09-05  John Tobey  <john.tobey@gmail.com>
28773
28774         [BZ #13542]
28775         * manual/arith.texi (Operations on Complex): Fix description
28776         of carg branch cut.
28777
28778 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
28779
28780         [BZ #10014]
28781         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28782         host name.
28783
28784         [BZ #10038]
28785         * manual/memory.texi (Memory): Make order of menu items match
28786         order of sections.
28787
28788 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28789
28790         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28791         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
28792         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28793
28794 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28795
28796         * csu/libc-tls.c (static_dtv): Renamed to ...
28797         (_dl_static_dtv): This.  Make it global.
28798         (_dl_initial_dtv): Removed.
28799         (__libc_setup_tls): Updated.
28800         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28801         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28802         DL_INITIAL_DTV.
28803
28804 2012-09-06  Petr Machata  <pmachata@redhat.com>
28805
28806         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28807         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28808         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28809         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28810
28811 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28812
28813         [BZ #14545]
28814         * csu/libc-tls.c (_dl_initial_dtv): New variable.
28815         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28816         freeing dtv[-1].
28817
28818 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28819
28820         [BZ #14544]
28821         * Makeconfig (link-static-before-libc): Replace $(+prector)
28822         with $(+prectorT).
28823         (link-static-after-libc): Replace $(+postctor) with
28824         $(+postctorT).
28825         (link-bounded): Replace $(+prector)/$(+postctor) with
28826         $(+prectorT)/$(+postctorT).
28827         (+prectorT): New macro.
28828         (+postctorT): Likewise.
28829
28830 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
28831
28832         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28833         (round_str): Handle values above the maximum for IBM long double
28834         as inexact.
28835         * stdlib/tst-strtod-round.c (tests): Regenerated.
28836
28837 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28838
28839         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28840         assembler flag.
28841         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28842         zarch_nohighgprs around the zarch optimized routines.
28843         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28844         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28845         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28846         for zarch.
28847
28848 2012-09-05  David S. Miller  <davem@davemloft.net>
28849
28850         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28851
28852         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28853         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28854         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28855         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28856         entries.
28857
28858 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28859
28860         * malloc/arena.c: Fold copyright years.
28861         * malloc/mcheck.c, malloc/memusage.c: Likewise.
28862
28863 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28864
28865         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28866
28867 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28868
28869         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
28870
28871 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28872
28873         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28874         change internal state upon failure.
28875
28876 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28877
28878         * malloc/mcheck.c (mcheck_check_all): Fix typo.
28879         * malloc/memusage.c (mmap): Likewise.
28880         (mmap64, mremap): Likewise.  Adjust name in comment.
28881
28882 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28883
28884         * libio/fileops.c: Fix typos in comments.
28885         * libio/oldfileops.c: Likewise.
28886         * libio/wfileops.c: Likewise.
28887
28888 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28889
28890         [BZ #1349]
28891         * malloc/Makefile (tests): Add tst-malloc-usable test case.
28892         (tst-malloc-usable-ENV): Set environment for test case.
28893         * malloc/hooks.c (malloc_check_get_size): New function to get
28894         requested size.
28895         * malloc/malloc.c (musable): Use malloc_check_get_size.
28896         * malloc/tst-malloc-usable.c: New test case.
28897
28898 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
28899
28900         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28901
28902 2012-09-05  Allan McRae  <allan@archlinux.org>
28903
28904         [BZ #13966]
28905         * configure.in (CXX_SYSINCLUDES): Use compiler output to
28906         determine header location.
28907         * configure: Regenerated.
28908
28909 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
28910
28911         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28912         float format.
28913         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28914         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28915         format.
28916         (test): Regenerate.
28917
28918 2012-09-04  David S. Miller  <davem@davemloft.net>
28919
28920         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28921         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28922         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28923
28924 2012-09-04  Florian Weimer  <fweimer@redhat.com>
28925
28926         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28927         failures.
28928
28929         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28930
28931 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
28932
28933         [BZ #9914]
28934         * libio/iogetdelim.c: Include <limits.h>.
28935         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28936         + len + 1 would overflow.
28937
28938 2012-09-03  Andreas Jaeger  <aj@suse.de>
28939
28940         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28941         * sysdeps/i386/fpu/libm-test-ulps: Update.
28942
28943 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28944
28945         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28946         Add s_sinf-sse2, s_conf-sse2.
28947
28948         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28949         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28950         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28951         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28952
28953         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28954         for using routine as __sinf_ia32.
28955         Use macro for function declaration and weak_alias.
28956         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28957         for using routine as __cosf_ia32.
28958         Use macro for function declaration and weak_alias.
28959
28960         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28961         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28962
28963         * sysdeps/x86_64/fpu/s_sinf.S: New file.
28964         * sysdeps/x86_64/fpu/s_cosf.S: New file.
28965         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28966
28967         * math/libm-test.inc (cos_test): Add more test cases.
28968         (sin_test): Likewise.
28969         (sincos_test): Likewise.
28970
28971 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28972
28973         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28974         (IFUNC_RESOLVE): Make pointers to the specialized implementations
28975         hidden.
28976         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28977
28978 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
28979
28980         [BZ #14538]
28981         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28982         first element of the GOT.
28983         (elf_machine_load_address): Return the difference between
28984         the runtime address of _DYNAMIC and elf_machine_dynamic ().
28985
28986 2012-09-01  Allan McRae  <allan@archlinux.org>
28987
28988         [BZ #13412]
28989         * configure.in (AWK): Require gawk version 3.0 or later.
28990         * configure: Regenerated.
28991
28992 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
28993
28994         * sysdeps/unix/sysv/linux/kernel-features.h
28995         (__ASSUME_POSIX_CPU_TIMERS): Remove.
28996         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28997         [__NR_clock_getres]: Make code unconditional.
28998         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28999         (clock_getcpuclockid): Remove code left unreachable by removal of
29000         conditionals.
29001         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29002         code unconditional.
29003         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29004         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29005         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29006         Make code unconditional.
29007         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29008         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29009         * sysdeps/unix/sysv/linux/clock_settime.c
29010         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29011         conditional code.
29012         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29013         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29014
29015 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
29016
29017         [BZ #14476]
29018         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29019         scripts/test-installation.pl.
29020
29021         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29022         and $ld_so_version if it is set.
29023
29024 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29025
29026         [BZ #14516]
29027         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29028         failure if reading from procfs failed.
29029         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29030
29031 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29032
29033         * sysdeps/unix/sysv/linux/kernel-features.h
29034         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29035         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29036         Remove conditional code.
29037         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29038         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29039         Remove conditional code.
29040         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29041         * sysdeps/unix/sysv/linux/i386/fxstat.c
29042         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29043         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29044         * sysdeps/unix/sysv/linux/i386/fxstatat.c
29045         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29046         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29047         * sysdeps/unix/sysv/linux/i386/lxstat.c
29048         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29049         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29050         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29051         Remove conditional code.
29052         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29053         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29054         Remove conditional code.
29055         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29056         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29057         <kernel-features.h>.
29058         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29059         Remove.
29060         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29061         Remove conditional code.
29062         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29063         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29064         Remove conditional.
29065
29066 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
29067
29068         [BZ #5400]
29069         * NEWS: Add fixed bug number.
29070
29071 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29072
29073         [BZ #14519]
29074         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29075         underflowing exponent in case of negative sign.
29076         * stdlib/tst-strtod-round-data: Add more tests.
29077         * stdlib/tst-strtod-round.c (tests): Regenerated.
29078
29079         [BZ #3479]
29080         * stdlib/strtod_l.c (NDIG): Remove.
29081         (HEXNDIG): Likewise.
29082         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29083         smallest representable value.
29084         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29085         lie within an exact representation of 1/2 ulp of the result.
29086         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29087         unconditionally.
29088         (TENS_P9_IDX): Define unconditionally.
29089         (TENS_P9_SIZE): Likewise.
29090         (TENS_P10_IDX): Likewise.
29091         (TENS_P10_SIZE): Likewise.
29092         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29093         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29094         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29095         entries for 10^2^13 and 10^2^14.
29096         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29097         (TENS_P13_IDX): Define.
29098         (TENS_P13_SIZE): Likewise.
29099         (TENS_P14_IDX): Likewise.
29100         (TENS_P14_SIZE): Likewise.
29101         (_fpioconst_pow10): Change array size to
29102         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
29103         unconditional.
29104         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29105         1024]: Add entries for 10^2^13 and 10^2^14.
29106         [LAST_POW10 > _LAST_POW10]: Remove #error.
29107         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29108         (_fpioconst_pow10): Change array size to
29109         FPIOCONST_POW10_ARRAY_SIZE.
29110         * stdlib/gen-fpioconst.c: New file.
29111         * stdlib/gen-tst-strtod-round.c: Likewise.
29112         * stdlib/tst-strtod-round-data: Likewise.
29113         * stdlib/tst-strtod-round.c: Likewise.
29114         * stdlib/Makefile (tests): Add tst-strtod-round.
29115
29116         [BZ #14459]
29117         * stdlib/strtod_l.c: Include <stdint.h>.
29118         (NDEBUG): Do not define.
29119         (round_and_return): Change EXPONENT parameter to type intmax_t.
29120         Rearrange calculations to avoid internal overflow possibilities.
29121         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29122         Rearrange calculations to avoid internal overflow possibilities.
29123         Assert that number fits inside MPNSIZE limbs.
29124         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29125         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
29126         calculations and add assertions to avoid internal overflow
29127         possibilities.  Add casts to avoid signed/unsigned operations.
29128         * stdlib/tst-strtod-overflow.c: New file.
29129         * stdlib/Makefile (tests): Add tst-strtod-overflow.
29130
29131 2012-08-25  Marek Polacek  <polacek@redhat.com>
29132
29133         * time/time.h: Fix some typos in comments.
29134
29135 2012-08-23  Roland McGrath  <roland@hack.frob.com>
29136
29137         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29138         * posix/tst-rfc3484-2.c: Likewise.
29139         * posix/tst-rfc3484-3.c: Likewise.
29140
29141 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
29142
29143         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29144         (EF_ARM_ABI_FLOAT_HARD): Likewise.
29145
29146 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
29147
29148         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29149         #include of fxstatat64.c.
29150
29151 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29152
29153         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29154         * shadow/getspent_r.c: Likewise.
29155         * shadow/getspnam.c: Likewise.
29156         * shadow/getspnam_r.c: Likewise.
29157         * gshadow/getsgent.c: Likewise.
29158         * gshadow/getsgent_r.c: Likewise.
29159         * gshadow/getsgnam.c: Likewise.
29160         * gshadow/getsgnam_r.c: Likewise.
29161         * inet/getnetbyad.c: Likewise.
29162         * inet/getnetbyad_r.c: Likewise.
29163         * inet/getnetbynm.c: Likewise.
29164         * inet/getnetbynm_r.c: Likewise.
29165         * inet/getnetent.c: Likewise.
29166         * inet/getnetent_r.c: Likewise.
29167         * inet/getproto.c: Likewise.
29168         * inet/getproto_r.c: Likewise.
29169         * inet/getprtent.c: Likewise.
29170         * inet/getprtent_r.c: Likewise.
29171         * inet/getprtname.c: Likewise.
29172         * inet/getprtname_r.c: Likewise.
29173         * inet/getrpcbyname.c: Likewise.
29174         * inet/getrpcbyname_r.c: Likewise.
29175         * inet/getrpcbynumber.c: Likewise.
29176         * inet/getrpcbynumber_r.c: Likewise.
29177         * inet/getrpcent.c: Likewise.
29178         * inet/getrpcent_r.c: Likewise.
29179         * inet/getaliasent.c: Likewise.
29180         * inet/getaliasent_r.c: Likewise.
29181         * inet/getaliasname.c: Likewise.
29182         * inet/getaliasname_r.c: Likewise.
29183         * nscd/getgrgid_r.c: Likewise.
29184         * nscd/getgrnam_r.c: Likewise.
29185         * nscd/gethstbyad_r.c: Likewise.
29186         * nscd/gethstbynm3_r.c: Likewise.
29187         * nscd/getpwnam_r.c: Likewise.
29188         * nscd/getpwuid_r.c: Likewise.
29189         * nscd/getsrvbynm_r.c: Likewise.
29190         * nscd/getsrvbypt_r.c: Likewise.
29191         * nscd/gai.c: Likewise.
29192
29193         * configure.in (build_nscd): New substituted variable, set
29194         by --disable-build-nscd and defaults to $use_nscd.
29195         * configure: Regenerated.
29196         * config.make.in (build-nscd): New substituted variable.
29197         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29198         Change conditional to require [$(build-nscd) = yes] as well.
29199         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29200
29201         [BZ# 13696]
29202         * configure.in (use_nscd): New substituted variable, set by
29203         --disable-nscd.  If enabled, define USE_NSCD.
29204         * configure: Regenerated.
29205         * config.h.in: Add USE_NSCD.
29206         * config.make.in (use-nscd): New substituted variable.
29207         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29208         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29209         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29210         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29211         (CFLAGS-getgrnam_r.c): Likewise.
29212         (CFLAGS-initgroups.c): Likewise.
29213         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29214         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29215         Variables removed.
29216         * inet/getnetgrent_r.c
29217         (nscd_setnetgrent): New function, broken out of ...
29218         (setnetgrent): ... here.  Call it.
29219         (innetgr): Conditionalize nscd bits on [USE_NSCD].
29220         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29221         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29222         * nscd/Makefile (routines, aux): Move definitions after include of
29223         Makeconfig.  Conditionalize on [$(use-nscd) != no].
29224         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29225         Conditionalize on [USE_NSCD].
29226         (is_nscd, nscd_init_cb): Likewise.
29227         (nss_load_library): Conditionalize init callback on [USE_NSCD].
29228         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29229         * nss/nss_db/db-init.c: Likewise.
29230         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29231         [USE_NSCD].
29232         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29233         (make_request): Use it.
29234         (cache_valid_p): New function.
29235         (__check_pf): Use it.
29236         * NEWS: Add item for --disable-nscd.
29237
29238 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
29239
29240         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29241         to support sed >= 4.2.1-20-ga9bf076.
29242         * configure: Regenerated.
29243
29244 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29245
29246         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29247         Conditionalize whole body on [IREL].
29248
29249 2012-08-22  Jeff Law <law@redhat.com>
29250
29251         [BZ #14505]
29252         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29253         if the family is PF_UNSPEC.
29254
29255 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
29256
29257         * Makerules (lib-version): Rename from V.
29258         (install-lib-nosubdir): Change V to lib-version.
29259
29260 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
29261
29262         [BZ #14252]
29263         * powerpc32/power6/wcschr.c: New file.
29264         * powerpc32/power6/wcscpy.c: New file.
29265         * powerpc32/power6/wcsrchr.c: New file.
29266         * powerpc64/power6/wcschr.c: New file.
29267         * powerpc64/power6/wcscpy.c: New file.
29268         * powerpc64/power6/wcsrchr.c: New file.
29269
29270 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29271
29272         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29273         (two_way_short_needle): Use it.
29274         * string/strstr.c (AVAILABLE1_USES_J): Define.
29275         * string/strcasestr.c: Likewise.
29276
29277         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29278         array references.
29279         * string/strcasestr.c (TOLOWER): Make side-effect safe.
29280
29281         [BZ #11607]
29282         * NEWS: Add an entry.
29283         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29284         define their defaults.
29285         (two_way_short_needle): Detect end-of-string on-the-fly.
29286         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29287         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29288         * string/bug-strcasestr1.c: New test.
29289         * string/Makefile: Run it.
29290
29291 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29292
29293         [BZ #11607]
29294         * string/str-two-way.h (two_way_short_needle): Optimize matching of
29295         the first character.
29296
29297 2012-08-21  Roland McGrath  <roland@hack.frob.com>
29298
29299         * csu/elf-init.c (__libc_csu_irel): Function removed.
29300         * csu/libc-start.c (apply_irel): New function.
29301         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29302
29303 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
29304
29305         * sysdeps/unix/sysv/linux/kernel-features.h
29306         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29307         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29308         <kernel-features.h>.
29309         [__NR_fadvise64_64]: Make code unconditional.
29310         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29311         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29312         !__NR_fadvise64_64)]: Likewise.
29313         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29314         !__NR_fadvise64_64))]: Likewise.
29315         [__NR_fadvise64]: Make code unconditional.
29316         [!__NR_fadvise64]: Remove conditional code.
29317         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29318         <kernel-features.h>.
29319         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29320         unconditional.
29321         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29322         conditional code.
29323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29324         not include <kernel-features.h>.
29325         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29326         unconditional.
29327         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29328         conditional code.
29329         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29330         include <kernel-features.h>.
29331         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29332         unconditional.
29333         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29334         conditional code.
29335
29336 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
29337
29338         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29339         slight instruction rearrangements per scrollpipe analysis.
29340         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29341
29342 2012-08-20  Roland McGrath  <roland@hack.frob.com>
29343
29344         * manual/syslog.texi (syslog; vsyslog, closelog):
29345         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29346         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29347
29348         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29349         DSOCAPS to match condition on defining it.
29350
29351 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
29352
29353         * sysdeps/unix/sysv/linux/kernel-features.h
29354         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29356         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29357         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29359         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29360         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29362         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29363         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29364
29365         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29366         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29367
29368         * sysdeps/unix/sysv/linux/kernel-features.h
29369         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29370         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29371         unconditional.
29372         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29373         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29374         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29375         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29376         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29377         Make code unconditional.
29378         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29379         (__mmap64) [!__NR_mmap2]: Likewise.
29380         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29381         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29382         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29383         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29384         [__NR_mmap2]: Make code unconditional.
29385         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29386         (__mmap64) [!__NR_mmap2]: Likewise.
29387
29388 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29389
29390         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29391
29392 2012-08-18  Andreas Jaeger  <aj@suse.de>
29393
29394         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29395
29396 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29397
29398         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29399         * include/unistd.h (__have_sock_cloexec): Likewise.
29400         (__have_pipe2): Likewise.
29401         (__have_dup3): Likewise.
29402
29403 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29404
29405         [BZ #9685]
29406         * include/unistd.h (__have_pipe2): Change define into an extern int.
29407         (__have_dup3): Likewise.
29408         * socket/have_sock_cloexec.c: Include fcntl.h.
29409         (__have_pipe2): New variable.
29410         (__have_dup3): Likewise.
29411
29412 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
29413
29414         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29415
29416 2012-08-17  Marek Polacek  <polacek@redhat.com>
29417
29418         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29419         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29420
29421 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29422
29423         * configure.in: Add AC_SUBST for sysheaders.
29424         * configure: Regenerated.
29425         * config.make.in (sysheaders): New substituted variable.
29426
29427         * sysdeps/unix/mkfifo.c: Moved ...
29428         * sysdeps/posix/mkfifo.c: ... here.
29429         * sysdeps/unix/mkfifoat.c: Moved ...
29430         * sysdeps/posix/mkfifoat.c: ... here.
29431
29432         * sysdeps/unix/utime.c: Moved ...
29433         * sysdeps/posix/utime.c: ... here.
29434
29435         * sysdeps/unix/time.c: Moved ...
29436         * sysdeps/posix/time.c: ... here.
29437         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29438         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29439
29440         * sysdeps/unix/nice.c: Moved ...
29441         * sysdeps/posix/nice.c: ... here.
29442
29443         * sysdeps/unix/alarm.c: Moved ...
29444         * sysdeps/posix/alarm.c: ... here.
29445
29446         * intl/Makefile ($(codeset_mo)): Depend on the input file.
29447
29448 2012-08-17  Jeff Law <law@redhat.com>
29449
29450         * intl/Makefile (codeset_mo): New variable.
29451         ($(codeset_mo)): New target.
29452         (tst-codeset.out): Depend on that.  Remove explicit rule.
29453         (tst-gettext3.out, tst-gettext5.out): Likewise.
29454         (LOCPATH-ENV, tst-codeset-ENV): New variables.
29455         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29456         * intl/tst-codeset.sh: Remove.
29457         * intl/tst-gettext3.sh: Likewise.
29458         * intl/tst-gettext5.sh: Likewise.
29459
29460 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29461
29462         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
29463         * sysdeps/unix/syscalls.list: ... here.
29464
29465         * sysdeps/posix/getaddrinfo.c
29466         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29467         (gaiconf_init, gaiconf_reload): Use them.
29468         [!_STATBUF_ST_NSEC]
29469         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29470         Define using time_t rather than struct timespec.
29471
29472         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29473         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29474         Macros removed.
29475         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29476         [!NO_THREADS].
29477         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29478         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29479         Likewise.
29480
29481         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29482         __libc_cleanup_push argument.
29483
29484         * bits/param.h: New file.
29485         * misc/sys/param.h: New file.
29486         * include/sys/param.h: New file.
29487         * misc/Makefile (headers): Add bits/param.h.
29488         * sysdeps/generic/sys/param.h: File removed.
29489         * sysdeps/unix/sysv/linux/bits/param.h: New file.
29490         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29491         * sysdeps/mach/hurd/bits/param.h: New file.
29492         * sysdeps/mach/hurd/sys/param.h: File removed.
29493
29494         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29495         last change.
29496
29497         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29498         [_IO_MTSAFE_IO].
29499         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29500         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29501         New macros.
29502
29503         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29504         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29505         rather than -D_IO_MTSAFE_IO conditionally.
29506         * stdio-common/Makefile (CPPFLAGS): Likewise.
29507         * wcsmbs/Makefile (CPPFLAGS): Likewise.
29508         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29509         Use $(libio-mtsafe).
29510         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29511         of -D_IO_MTSAFE_IO.
29512         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29513         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29514         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29515         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29516         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29517         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29518         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29519         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29520         (CFLAGS-fread_u_chk.c): Likewise.
29521         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29522         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29523         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29524         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29525         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29526         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29527         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29528         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29529         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29530
29531         * libio/Makefile: Test [$(libc-reentrant) = yes]
29532         instead of [$(filter %REENTRANT, $(defines)) nonempty].
29533
29534         * Makeconfig
29535         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29536         * sysdeps/pthread/configure: File removed.
29537         * sysdeps/pthread/Makeconfig: New file.
29538         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29539         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29540
29541 2012-08-16  Gary Benson  <gbenson@redhat.com>
29542
29543         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29544         unmapping the first object in a namespace.
29545
29546 2012-08-16  Roland McGrath  <roland@hack.frob.com>
29547
29548         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29549         (__internal_setnetgrent): ... this.  Add internal_function to
29550         definition.  Add libc_hidden_def.
29551         (setnetgrent): Update caller.
29552         (internal_endnetgrent): Renamed to ...
29553         (__internal_endnetgrent): ... this.  Add internal_function to
29554         definition.  Add libc_hidden_def.
29555         (endnetgrent): Update caller.
29556         (internal_getnetgrent_r): Renamed to ...
29557         (__internal_getnetgrent_r): ... this.  Add internal_function to
29558         definition.  Add libc_hidden_def.
29559         (__getnetgrent_r): Update caller.
29560         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
29561
29562 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29563
29564         * stdlib/longlong.h: Update from GCC.
29565
29566 2012-08-16  Roland McGrath  <roland@hack.frob.com>
29567
29568         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29569         on _QL, which is set by umul_ppmm but never used.
29570         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29571         variables, which are set by GMP macros but never used.
29572         * stdio-common/_itowa.c (_itowa): Likewise.
29573         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29574         * stdlib/mod_1.c (mpn_mod_1): Likewise.
29575
29576 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
29577
29578         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29579         struct La_sh_regs is not constant.
29580         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29581         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29582         and struct La_sparc64_regs are not constant.
29583
29584 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29585
29586         * sysdeps/unix/sysv/linux/kernel-features.h
29587         (__ASSUME_POSIX_TIMERS): Remove.
29588         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29589         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29590         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29591         Make code unconditional.
29592         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29593         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29594         Make code unconditional.
29595         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29596         * sysdeps/unix/sysv/linux/clock_nanosleep.c
29597         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29598         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29599         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29600         Make code unconditional.
29601         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29602         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29603         (__libc_missing_posix_timers): Remove.
29604
29605 2012-08-15  Roland McGrath  <roland@hack.frob.com>
29606
29607         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29608         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29609
29610         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29611
29612         * elf/dl-sym.c: Include <stdlib.h>.
29613
29614         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29615         constants, which avoids warnings in 32-bit builds.
29616
29617         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29618         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29619
29620         * misc/lseek.c: File moved to ...
29621         * io/lseek.c: ... here.
29622
29623         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29624
29625         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29626         shifting LEN more than 31 bits at once.
29627
29628 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29629
29630         [BZ #14195]
29631         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29632         segmentation fault for a case of two empty input strings.
29633         * string/test-strncasecmp.c (check1): Renamed to...
29634         (bz12205): ...this.
29635         (bz14195): Add new testcase for two empty input strings and N > 0.
29636         (test_main): Call new testcase, adapt for renamed function.
29637
29638 2012-08-15  Andreas Jaeger  <aj@suse.de>
29639
29640         [BZ #14090]
29641         * crypt/md5test2.c: New test, based on test supplied by Serge
29642         Belyshev <belyshev@depni.sinp.msu.ru>.
29643         * crypt/Makefile (xtests): Add md5test-giant..
29644         * crypt/Makefile ($(objpfx)md5test-giant): Add.
29645
29646 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
29647
29648         [BZ #14090]
29649         * crypt/md5.c (md5_process_block): Don't assume the buffer
29650         length is less than 2**32.
29651         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29652         length is less than 2**64.
29653
29654 2012-08-15  Roland McGrath  <roland@hack.frob.com>
29655
29656         * string/str-two-way.h: Include <sys/param.h>.
29657         (MAX): Macro removed.
29658
29659         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29660         Move #define and #undef of memmove to just before and after
29661         including <string.h>.
29662
29663         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29664         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29665         and after including <string.h>.  Move declarations of
29666         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29667         to before #include "string/memmove.c".
29668
29669         * include/dirent.h: Declare __getdirentries.
29670
29671         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29672         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29673
29674 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
29675
29676         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29677         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29678         * sysdeps/i386/configure: Regenerated.
29679         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29680         STABS_CURRENT_FILE, and STABS_FUN.
29681         (END): Remove call to STABS_FUN_END.
29682         (STABS_CURRENT_FILE1): Delete.
29683         (STABS_CURRENT_FILE): Likewise.
29684         (STABS_FUN): Likewise.
29685         (STABS_FUN_END): Likewise.
29686         (STABS_FUN2): Likewise.
29687         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29688         * sysdeps/x86_64/configure: Regenerated.
29689
29690 2012-08-14  Roland McGrath  <roland@hack.frob.com>
29691
29692         * elf/dl-open.c: Include <atomic.h>.
29693         * elf/dl-lookup.c: Likewise.
29694
29695 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
29696
29697         * sysdeps/unix/sysv/linux/kernel-features.h
29698         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29699         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29700         unconditionally.
29701         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29702         unconditionally.
29703         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29704         condition on __ASSUME_CLONE_THREAD_FLAGS.
29705
29706 2012-08-14  Andreas Jaeger  <aj@suse.de>
29707
29708         * sysdeps/i386/fpu/libm-test-ulps: Update.
29709
29710 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
29711
29712         * include/atomic.h (atomic_exchange_and_add): Split into ...
29713         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29714         New atomic macros.
29715
29716 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
29717
29718         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29719
29720 2012-08-13  Jeff Law <law@redhat.com>
29721
29722         * manual/stdio.texi (snprintf): Clarify handling of the trailing
29723         null byte in the output string.
29724
29725 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
29726
29727         * sysdeps/unix/sysv/linux/kernel-features.h
29728         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29729         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29730         (__ASSUME_ARG_MAX_STACK_BASED): Define.
29731         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29732         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29733         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
29734         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29735
29736 2012-08-09  Jeff Law <law@redhat.com>
29737
29738         [BZ #13939]
29739         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29740         When avoid_arena is set, don't retry in the that arena.  Pick the
29741         next one, whatever it might be.
29742         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29743         (arena_lock): Pass in new parameter to arena_get2.
29744         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29745         arena_get2.
29746         (__libc_malloc): Unify retrying after main arena failure with
29747         __libc_memalign version.
29748         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29749
29750 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
29751
29752         [BZ #14166]
29753         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29754         to __redirect_strstr.
29755         (__strstr_sse42): Use typeof __redirect_strstr.
29756         (__strstr_ia32): Likewise.
29757         (__libc_strstr): New prototype.
29758         (strstr): Renamed to ...
29759         (__libc_strstr): This.
29760         (strstr): New strong alias of __libc_strstr.
29761         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29762         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29763         __redirect_time.
29764         Include <time.h>.
29765         (__libc_time): New prototype.
29766         (time_ifunc): Replace time with __libc_time.
29767         (time): New strong alias and hidden definition of __libc_time.
29768         (__GI_time): Remove strong alias.
29769         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29770         Include <stddef.h>.
29771         (memmove): Redefined to __redirect_memmove.
29772         (__memmove_sse2): Use typeof __redirect_memmove.
29773         (__memmove_ssse3): Likewise.
29774         (__memmove_ssse3_back): Likewise.
29775         (__libc_memmove): New prototype.
29776         (memmove): Renamed to ...
29777         (__libc_memmove): This.
29778         (memmove): New strong alias of __libc_memmove.
29779
29780 2012-08-08  Mark Salter  <msalter@redhat.com>
29781
29782         * elf/elf.h
29783         (R_MN10300_TLS_GD): Define.
29784         (R_MN10300_TLS_LD): Likewise.
29785         (R_MN10300_TLS_LDO): Likewise.
29786         (R_MN10300_TLS_GOTIE): Likewise.
29787         (R_MN10300_TLS_IE): Likewise.
29788         (R_MN10300_TLS_LE): Likewise.
29789         (R_MN10300_TLS_DTPMOD): Likewise.
29790         (R_MN10300_TLS_DTPOFF): Likewise.
29791         (R_MN10300_TLS_TPOFF): Likewise.
29792         (R_MN10300_SYM_DIFF): Likewise.
29793         (R_MN10300_ALIGN): Likewise.
29794         (R_MN10300_NUM): Update.
29795
29796 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
29797
29798         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29799         Remove.
29800
29801 2012-08-08  Roland McGrath  <roland@hack.frob.com>
29802
29803         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29804
29805         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29806         sysdeps/unix -> sysdeps/posix move.
29807         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29808
29809 2012-08-07      Allan McRae     <allan@archlinux.org>
29810
29811         [BZ #14303]
29812         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29813         (SUNOS_CPP): Likewise.
29814         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29815         not found.
29816         (open_input): Call CPP using execvp.
29817
29818 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
29819
29820         * sysdeps/unix/sysv/linux/kernel-features.h
29821         (__ASSUME_PROT_GROWSUPDOWN): Remove.
29822         (__ASSUME_NO_CLONE_DETACHED): Likewise.
29823         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29824         (__ASSUME_WAITID_SYSCALL): Likewise.
29825         * sysdeps/unix/sysv/linux/dl-execstack.c
29826         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29827         code unconditional.
29828         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29829         conditional code.
29830         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29831         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29832         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29833         code.
29834         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29835         unconditional.
29836         [__ASSUME_WAITID_SYSCALL]: Likewise.
29837         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29838
29839 2012-08-07  Roland McGrath  <roland@hack.frob.com>
29840
29841         * sysdeps/unix/closedir.c: Renamed to ...
29842         * sysdeps/posix/closedir.c: ... here.
29843         * sysdeps/unix/dirfd.c: Renamed to ...
29844         * sysdeps/posix/dirfd.c: ... here.
29845         * sysdeps/unix/dirstream.h: Renamed to ...
29846         * sysdeps/posix/dirstream.h: ... here.
29847         * sysdeps/unix/fdopendir.c: Renamed to ...
29848         * sysdeps/posix/fdopendir.c: ... here.
29849         * sysdeps/unix/opendir.c: Renamed to ...
29850         * sysdeps/posix/opendir.c: ... here.
29851         * sysdeps/unix/readdir.c: Renamed to ...
29852         * sysdeps/posix/readdir.c: ... here.
29853         * sysdeps/unix/readdir_r.c: Renamed to ...
29854         * sysdeps/posix/readdir_r.c: ... here.
29855         * sysdeps/unix/rewinddir.c: Renamed to ...
29856         * sysdeps/posix/rewinddir.c: ... here.
29857         * sysdeps/unix/seekdir.c: Renamed to ...
29858         * sysdeps/posix/seekdir.c: ... here.
29859         * sysdeps/unix/telldir.c: Renamed to ...
29860         * sysdeps/posix/telldir.c: ... here.
29861         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29862         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29863         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29864         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29865
29866         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29867         * bits/fcntl.h: ... here.
29868
29869         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29870         not 0.
29871         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29872         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29873         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29874         (struct flock): Move l_start, l_len to the beginning.
29875         Use __pid_t for l_pid.
29876         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29877         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29878         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29879         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29880         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29881         [__USE_LARGEFILE64] (struct flock64): New type.
29882         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29883
29884         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29885         * bits/dirent.h: ... here.
29886
29887         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29888         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29889
29890 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
29891
29892         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29893         Change from 2.6.0 to 2.6.16.
29894         * sysdeps/unix/sysv/linux/configure: Regenerated.
29895         * sysdeps/unix/sysv/linux/kernel-features.h
29896         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29897         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29898         version.
29899         (__ASSUME_UTIMES): Likewise.
29900         (__ASSUME_CLONE_STOPPED): Remove.
29901         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29902         architectures, not kernel version.
29903         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29904         (__ASSUME_NO_CLONE_DETACHED): Likewise.
29905         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29906         (__ASSUME_WAITID_SYSCALL): Likewise.
29907         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29908         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29909         * README: State 2.6.16 as minimum Linux kernel version.  Do not
29910         refer to older versions.
29911
29912 2012-08-06  Roland McGrath  <roland@hack.frob.com>
29913
29914         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29915         Define alphasort64 as an alias.
29916         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29917         Define versionsort64 as an alias.
29918         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29919         Define scandir64 as an alias.
29920         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29921         Define scandirat64 as an alias.
29922         * dirent/alphasort64.c (alphasort64):
29923         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29924         * dirent/versionsort64.c: Likewise.
29925         * dirent/scandir64.c: Likewise.
29926         * dirent/scandirat64.c: Likewise.
29927         * sysdeps/wordsize-64/alphasort.c: File removed.
29928         * sysdeps/wordsize-64/alphasort64.c: File removed.
29929         * sysdeps/wordsize-64/scandir.c: File removed.
29930         * sysdeps/wordsize-64/scandir64.c: File removed.
29931         * sysdeps/wordsize-64/scandirat.c: File removed.
29932         * sysdeps/wordsize-64/scandirat64.c: File removed.
29933         * sysdeps/wordsize-64/versionsort.c: File removed.
29934         * sysdeps/wordsize-64/versionsort64.c: File removed.
29935         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29936         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29937         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29938         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29939         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29940         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29941         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29942         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29943
29944         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29945         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29946         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29947         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29948         [defined __arch64__ || defined __sparcv9]
29949         (__INO_T_MATCHES_INO64_T): New macro.
29950         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29951         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29952         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29953         * sysdeps/unix/sysv/linux/bits/dirent.h
29954         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29955         (_DIRENT_MATCHES_DIRENT64): New macro.
29956
29957         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29958         Define lockf64 as an alias.
29959         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29960         Define fseeko64 as an alias.
29961         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29962         Define ftello64 as an alias.
29963         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29964         Define _IO_fgetpos64 and fgetpos64 as aliases.
29965         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29966         Define _IO_fsetpos64 and fsetpos64 as aliases.
29967         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29968         Conditionalize body on this.
29969         * libio/fseeko64.c: Likewise.
29970         * libio/ftello64.c: Likewise.
29971         * libio/iofgetpos64.c: Likewise.
29972         * libio/iofsetpos64.c: Likewise.
29973         * sysdeps/wordsize-64/lockf.c: File removed.
29974         * sysdeps/wordsize-64/lockf64.c: File removed.
29975         * sysdeps/wordsize-64/fseeko.c: File removed.
29976         * sysdeps/wordsize-64/fseeko64.c: File removed.
29977         * sysdeps/wordsize-64/ftello.c: File removed.
29978         * sysdeps/wordsize-64/ftello64.c: File removed.
29979         * sysdeps/wordsize-64/iofgetpos.c: File removed.
29980         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29981         * sysdeps/wordsize-64/iofsetpos.c: File removed.
29982         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29983         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29984         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29985         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29986         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29987         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29988         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29989         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29990         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29991         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29992         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29993
29994         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29995         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29996         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29997         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29998         [defined __arch64__ || defined __sparcv9]
29999         (__OFF_T_MATCHES_OFF64_T): New macro.
30000         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30001         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30002         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30003         (__OFF_T_MATCHES_OFF64_T): New macro.
30004
30005 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30006
30007         * stdlib/secure-getenv.c (__secure_getenv): Replace
30008         GLIBC_2_16 with GLIBC_2_17.
30009
30010 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30011
30012         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30013         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30014
30015 2012-08-03  David S. Miller  <davem@davemloft.net>
30016
30017         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30018
30019 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30020
30021         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30022         Remove.
30023         (__ASSUME_CORRECT_SI_PID): Likewise.
30024         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30025         (__ASSUME_TMPFS_NAME): Likewise.
30026         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30027         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30028         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30029         (HAVE_AUX_SECURE): Make definition unconditional.
30030         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30031         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30032
30033 2012-08-03  Roland McGrath  <roland@hack.frob.com>
30034
30035         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30036         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30037         * sysdeps/mach/hurd/eloop-threshold.h: New file.
30038         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30039         __eloop_threshold instead of SYMLOOP_MAX.
30040
30041         * sysdeps/generic/eloop-threshold.h: New file.
30042         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30043         of MAXSYMLINKS.
30044         * elf/chroot_canon.c (chroot_canon): Likewise.
30045
30046 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30047
30048         [BZ #13717]
30049         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30050         Change to 2.6.0 everywhere.
30051         * sysdeps/unix/sysv/linux/configure: Regenerated.
30052         * sysdeps/unix/sysv/linux/kernel-features.h
30053         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30054         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30055         kernel versions.
30056         (__ASSUME_POSIX_TIMERS): Define unconditionally.
30057         (__ASSUME_FUTEX_REQUEUE): Remove.
30058         (__ASSUME_STATFS64): Define unconditionally.
30059         (__ASSUME_AT_SECURE): Likewise.
30060         (__ASSUME_CORRECT_SI_PID): Likewise.
30061         (__ASSUME_TGKILL): Define without depending on kernel version for
30062         i386.
30063         (__ASSUME_UTIMES): Likewise.
30064         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30065         kernel version.
30066         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30067         (__ASSUME_TMPFS_NAME): Likewise.
30068         * README: Update reference to Linux kernel versions.
30069
30070 2012-08-02  Marek Polacek  <polacek@redhat.com>
30071
30072         [BZ# 14150]
30073         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
30074         libc_cv_asm_type_prefix with %.
30075         * configure: Regenerated.
30076         * include/libc-symbols.h: Remove comment about
30077         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30078         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30079         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30080         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30081         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30082         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30083         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30084         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30085         * elf/tst-unique2mod1.c: Likewise.
30086         * elf/tst-unique1mod2.c: Likewise.
30087         * elf/tst-unique1mod1.c: Likewise.
30088         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30089         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30090         Replace ASM_TYPE_DIRECTIVE with .type.
30091         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30092         * sysdeps/i386/sysdep.h: Likewise.
30093         * sysdeps/x86_64/sysdep.h: Likewise.
30094         * sysdeps/sh/sysdep.h: Likewise.
30095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30096         Do not define ASM_TYPE_DIRECTIVE.
30097         * sysdeps/powerpc/sysdep.h: Likewise.
30098         * sysdeps/powerpc/powerpc32/sysdep.h:
30099         Replace ASM_TYPE_DIRECTIVE with .type.
30100         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30101         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30102         * sysdeps/i386/fpu/e_powf.S: Likewise.
30103         * sysdeps/i386/fpu/e_expl.S: Likewise.
30104         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30105         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30106         * sysdeps/i386/fpu/e_pow.S: Likewise.
30107         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30108         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30109         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30110         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30111         * sysdeps/i386/fpu/e_log2.S: Likewise.
30112         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30113         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30114         * sysdeps/i386/fpu/e_powl.S: Likewise.
30115         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30116         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30117         * sysdeps/i386/fpu/e_logl.S: Likewise.
30118         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30119         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30120         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30121         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30122         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30123         * sysdeps/i386/fpu/e_log.S: Likewise.
30124         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30125         * sysdeps/i386/fpu/e_logf.S: Likewise.
30126         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30127         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30128         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30129         * sysdeps/i386/fpu/e_log10.S: Likewise.
30130         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30131         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30132         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30133         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30134         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30135         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30136         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30137         * sysdeps/i386/i686/strtok.S: Likewise.
30138         * sysdeps/i386/i386-mcount.S: Likewise.
30139         * sysdeps/i386/strtok.S: Likewise.
30140         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30141         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30142         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30143         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30144         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30145         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30146         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30147         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30148         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30149         * sysdeps/x86_64/_mcount.S: Likewise.
30150         * sysdeps/x86_64/strtok.S: Likewise.
30151         * sysdeps/sh/_mcount.S: Likewise.
30152
30153 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30154
30155         * libio/iofopen.c: Include <fcntl.h>.
30156         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30157         (_IO_fopen64, fopen64): Define as aliases.
30158         * libio/iofopen64.c: Include <fcntl.h>.
30159         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30160         Conditionalize body on this.
30161         * sysdeps/wordsize-64/iofopen.c: File removed.
30162         * sysdeps/wordsize-64/iofopen64.c: File removed.
30163
30164 2012-08-01  Marek Polacek  <polacek@redhat.com>
30165
30166         * libc/Makeconfig: Use elf in place of binfmt-subdir.
30167         Use dlfcn directly instead of a variable.
30168         (binfmt-subdir): Do not define.
30169         (dlfcn): Likewise.
30170
30171 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
30172
30173         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30174         Remove all definitions.
30175         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30176         <kernel-features.h>.
30177         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30178         (miss_F_GETOWN_EX): Remove all definitions.
30179         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30180         macro definition.
30181         [!__ASSUME_FCNTL64]: Remove conditional code.
30182         [__ASSUME_FCNTL64]: Make code unconditional.
30183         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30184         <kernel-features.h>.
30185         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30186         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30187         (lockf64) [__NR_fcntl64]: Make code unconditional.
30188         (lockf64) [__ASSUME_FCNTL64]: Likewise.
30189
30190         * sysdeps/unix/sysv/linux/kernel-features.h
30191         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30192         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30193         Make code unconditional.
30194         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30195         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30197         [__NR_vfork]: Make code unconditional.
30198         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30199         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30201         [__NR_vfork]: Make code unconditional.
30202         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30203         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30204
30205 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30206
30207         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30208         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30209
30210         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30211         Define mkstemp64 as an alias.
30212         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30213         Define mkstemps64 as an alias.
30214         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30215         Define mkostemp64 as an alias.
30216         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30217         Define mkostemps64 as an alias.
30218         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30219         Conditionalize body on this.
30220         * misc/mkostemp64.c: Likewise.
30221         * misc/mkostemps64.c: Likewise.
30222         * misc/mkstemps64.c: Likewise.
30223         * sysdeps/wordsize-64/mkstemp64.c: File removed.
30224         * sysdeps/wordsize-64/mkostemp64.c: File removed.
30225         * sysdeps/wordsize-64/mkostemp.c: File removed.
30226         * sysdeps/wordsize-64/mkstemp.c: File removed.
30227         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30228         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30229         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30230         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30231
30232         [BZ #14138]
30233         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30234         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30235         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30236         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30237
30238         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30239         compat_symbol macros from <shlib-compat.h> rather than the underlying
30240         default_symbol_version and symbol_version macros, so that DEFAULT
30241         lines in shlib-versions are respected.
30242         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30243
30244 2012-08-01  Florian Weimer  <fweimer@redhat.com>
30245
30246         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30247         Declare with warn_unused_result.
30248         (setgid, setregid, setegid, setresgid): Likewise.
30249         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30250         Likewise.
30251         * WUR-REPORT: Remove set*id functions.
30252
30253 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
30254
30255         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30256
30257 2012-07-31  Roland McGrath  <roland@hack.frob.com>
30258
30259         [BZ #10191]
30260         * include/sys/socket.h (__libc_accept, __libc_accept4):
30261         Add attribute_hidden.
30262         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30263
30264         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30265         use of PTR_MANGLE.
30266         * inet/getnetgrent_r.c (setup): Likewise.
30267
30268         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30269
30270 2012-07-31  David S. Miller  <davem@davemloft.net>
30271
30272         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30273
30274 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
30275
30276         [BZ #13629]
30277         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30278         value between 1.0 and 2.0 and smaller part has absolute value less
30279         than 1.0.
30280         * math/s_clog10.c (__clog10): Likewise.
30281         * math/s_clog10f.c (__clog10f): Likewise.
30282         * math/s_clog10l.c (__clog10l): Likewise.
30283         * math/s_clogf.c (__clogf): Likewise.
30284         * math/s_clogl.c (__clogl): Likewise.
30285         * math/libm-test.inc (clog_test): Add more tests.
30286         (clog10_test): Likewise.
30287         * sysdeps/i386/fpu/libm-test-ulps: Update.
30288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30289
30290 2012-07-31  Florian Weimer  <fweimer@redhat.com>
30291
30292         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30293         Exit with zero in case no suitable GID is found, and write a
30294         message to standard error.
30295
30296 2012-07-30  Roland McGrath  <roland@hack.frob.com>
30297
30298         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30299         rather than to 1.
30300         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30301         (MAXPATHLEN): Removed.
30302         (NOGROUP, NODEV): New macros.
30303         (setbit, clrbit, isset, isclr): New macros.
30304         (howmany, roundup, powerof2): New macros.
30305         (DEV_BSIZE): New macro.
30306
30307         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30308         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30309
30310         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30311         definition on [!__NO_LONG_DOUBLE_MATH].
30312
30313         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30314         PTR_MANGLE and PTR_DEMANGLE.
30315
30316         * socket/accept4.c (accept4): Rename to __libc_accept4.
30317         Define accept4 as a weak alias.
30318
30319         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30320         on [_DIRENT_HAVE_D_TYPE].
30321         * io/ftw.c (ftw_dir): Likewise.
30322
30323         * io/xmknod.c (__xmknod): Don't check PATH for being null.
30324
30325         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30326
30327         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30328         Use the BSD numbers rather than the arbitrary ones we had.
30329         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30330         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30331         (SIGXCPU, SIGXFSZ): New macros.
30332         (_NSIG): Now 32.
30333
30334         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30335         initializer on [_LIBC_REENTRANT].
30336
30337         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30338         definitions inside [_POSIX_MAPPED_FILES].
30339
30340         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30341
30342         * dirent/opendir.c: Include <fcntl.h>.
30343
30344         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30345         (__libc_getspecific): Likewise.
30346         (__libc_key_create): Likewise.
30347
30348         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30349         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30350         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30351         (tmpfile64): Define as alias.
30352         * sysdeps/wordsize-64/tmpfile.c: File removed.
30353         * sysdeps/wordsize-64/tmpfile64.c: File removed.
30354         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30355         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30356
30357         * stdio-common/vfscanf.c: Include <stdbool.h>.
30358         * nss/makedb.c: Likewise.
30359         * stdio-common/_i18n_number.h: Likewise.
30360         * argp/argp-help.c: Likewise.
30361         * posix/wordexp.c: Likewise.
30362         * sysdeps/posix/spawni.c: Likewise.
30363         * nss/nss_files/files-initgroups.c: Likewise.
30364         * stdio-common/reg-modifier.c: Include <stdlib.h>.
30365         * nss/nss_files/files-initgroups.c: Likewise.
30366         * nss/nss_db/db-netgrp.c: Likewise.
30367         * nss/nss_db/db-initgroups.c: Likewise.
30368         * io/fchmodat.c: Include <sys/stat.h>.
30369
30370         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30371         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30372
30373         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30374         [HAVE_MMAP].
30375
30376         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30377         Add multiple inclusion protection.
30378
30379 2012-07-27  David S. Miller  <davem@davemloft.net>
30380
30381         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30382
30383 2012-07-27  Gary Benson  <gbenson@redhat.com>
30384
30385         [BZ #14298]
30386         * elf/rtld.c: Include <stap-probe.h>.
30387         (dl_main): Added static probes "init_start" and "init_complete".
30388         * elf/dl-load.c: Include <stap-probe.h>.
30389         (lose): Take new parameter "nsid".
30390         Added static probe "map_failed".
30391         (_dl_map_object_from_fd): Pass namespace id to lose.
30392         Added static probe "map_start".
30393         (open_verify): Pass namespace id to lose.
30394         * elf/dl-open.c: Include <stap-probe.h>.
30395         (dl_open_worker) Added static probes "map_complete", "reloc_start"
30396         and "reloc_complete".
30397         * elf/dl-close.c: Include <stap-probe.h>.
30398         (_dl_close_worker): Added static probes "unmap_start" and
30399         "unmap_complete".
30400         * elf/rtld-debugger-interface.txt: New file documenting the above.
30401
30402 2012-07-26  Roland McGrath  <roland@hack.frob.com>
30403
30404         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30405         rather than a string variable.
30406         * sunrpc/rpc_main.c (h_output): Likewise.
30407         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30408
30409 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
30410
30411         * inet/check_native.c: New file.
30412
30413 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
30414
30415         [BZ #13629]
30416         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30417         if larger part has absolute value 1.0.
30418         * math/s_clog10.c (__clog10): Likewise.
30419         * math/s_clog10f.c (__clog10f): Likewise.
30420         * math/s_clog10l.c (__clog10l): Likewise.
30421         * math/s_clogf.c (__clogf): Likewise.
30422         * math/s_clogl.c (__clogl): Likewise.
30423         * math/libm-test.inc (clog_test): Add more tests.
30424         (clog10_test): Likewise.
30425         * sysdeps/i386/fpu/libm-test-ulps: Update.
30426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30427
30428         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30429         (pltexit): Likewise.
30430         (La_regs): Likewise.
30431         (La_retval): Likewise.
30432         (int_retval): Likewise.
30433         Update #error for removed macros to refer only to definitions in
30434         tst-audit.h.
30435         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30436         macro.
30437         (pltexit): Likewise.
30438         (La_regs): Likewise.
30439         (La_retval): Likewise.
30440         (int_retval): Likewise.
30441         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30442         macro.
30443         (pltexit): Likewise.
30444         (La_regs): Likewise.
30445         (La_retval): Likewise.
30446         (int_retval): Likewise.
30447         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30448         macro.
30449         (pltexit): Likewise.
30450         (La_regs): Likewise.
30451         (La_retval): Likewise.
30452         (int_retval): Likewise.
30453         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30454         macro.
30455         (pltexit): Likewise.
30456         (La_regs): Likewise.
30457         (La_retval): Likewise.
30458         (int_retval): Likewise.
30459         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30460         macro.
30461         (pltexit): Likewise.
30462         (La_regs): Likewise.
30463         (La_retval): Likewise.
30464         (int_retval): Likewise.
30465         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30466         macro.
30467         (pltexit): Likewise.
30468         (La_regs): Likewise.
30469         (La_retval): Likewise.
30470         (int_retval): Likewise.
30471         * sysdeps/generic/tst-audit.h: Update comment to refer only to
30472         macro definitions in tst-audit.h.
30473         * sysdeps/i386/tst-audit.h: New file.
30474         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30475         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30476         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30477         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30478         * sysdeps/sh/tst-audit.h: Likewise.
30479         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30480         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30481         * sysdeps/x86_64/tst-audit.h: Likewise.
30482
30483 2012-07-26  Andreas Jaeger  <aj@suse.de>
30484
30485         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30486         ptrace.
30487
30488         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30489         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30490         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30491         PTRACE_O_MASK.
30492         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30493         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30494         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30495
30496         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30497         value.
30498
30499         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30500         _sigsys.
30501         (si_call_addr, si_syscall, si_arch): Define new macro.
30502         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30503         _sigsys.
30504         (si_call_addr, si_syscall, si_arch): Define new marcro.
30505         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30506         _sigsys.
30507         (si_call_addr, si_syscall, si_arch): Define new macro.
30508         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30509         _sigsys.
30510         (si_call_addr, si_syscall, si_arch): Define new macro.
30511
30512 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
30513
30514         [BZ #13717]
30515         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30516         Change to 2.4.21 where previously 2.4.1.
30517         * sysdeps/unix/sysv/linux/configure: Regenerated.
30518         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30519         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30520         Linux kernel version.
30521         (__ASSUME_STD_AUXV): Remove.
30522         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30523         kernel version.
30524         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30525         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30526         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30527         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30528         (__ASSUME_NETLINK_SUPPORT): Likewise.
30529         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30530         (__no_netlink_support): Remove conditional definition.
30531         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30532         Remove.
30533         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30534         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30535         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30536         (if_nameindex_ioctl): Remove.
30537         (if_nameindex_netlink): Do not handle __no_netlink_support.
30538         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30539         code.
30540         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30541         Remove conditional code.
30542         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30543         code.
30544         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30545         unconditional.
30546         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30547         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30548         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30549         Remove.
30550         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30551         [!__ASSUME_STD_AUXV]: Remove conditional code.
30552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30553         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30554         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30556         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30557         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30558         code.
30559         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30561         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30562         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30563         conditional code.
30564         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30566         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30567         code.
30568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30569         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30570         conditional code.
30571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30572         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30573         code unconditional.
30574         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30575         conditional code.
30576         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30577         unconditional.
30578         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30579         conditional code.
30580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30581         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30582         unconditional.
30583         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30584         conditional code.
30585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30586         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30587         code unconditional.
30588         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30589         conditional code.
30590         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30591         unconditional.
30592         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30593         conditional code.
30594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30595         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30596         code unconditional.
30597         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30598         conditional code.
30599         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30600         unconditional.
30601         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30602         conditional code.
30603
30604 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
30605
30606         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30607         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30608         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30609         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30610         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30611         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30612         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30613         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30614         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30615         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30616         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30617         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30618         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30619         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30620         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30621         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30622         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30623         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30624         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30625         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30626         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30627         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30628         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30629
30630 2012-07-25  Florian Weimer  <fweimer@redhat.com>
30631
30632         * Versions.def: Add GLIBC_2.17.
30633         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30634         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30635         Introduce __libc_secure_getenv.
30636         * stdlib/Versions (2.17): Add secure_getenv
30637         (GLIBC_PRIVATE): Add __libc_secure_getenv.
30638         * stdlib/secure-getenv.c: Rename __secure_getenv to
30639         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
30640         symbol __secure_getenv for GLIBC_2.0.
30641         * stdlib/tst-secure-getenv.c: New.
30642         * stdlib/Makefile (tests): Add testcase.
30643         * manual/startup.texi (Environment Access): Document
30644         secure_getenv.
30645         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30646         __libc_secure_getenv.
30647         * inet/ruserpass.c (ruserpass): Likewise.
30648         * malloc/mtrace.c (mtrace): Likewise.
30649         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30650         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30651         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30652         * sysdeps/posix/tempname.c: Likewise.  Evaluate
30653         HAVE_SECURE_GETENV.
30654         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30655         __secure_getenv to __libc_secure_getenv.
30656         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30658         Likewise.
30659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30660         Likewise.
30661         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30663         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30664         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30665         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30666         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30667         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30668
30669 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
30670
30671         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30672         (struct La_i86_retval): Likewise.
30673         (struct La_x86_64_regs): Likewise.
30674         (struct La_x86_64_retval): Likewise.
30675         (struct La_x32_regs): Likewise.
30676         (struct La_x32_retval): Likewise.
30677         (struct La_ppc32_regs): Likewise.
30678         (struct La_ppc32_retval): Likewise.
30679         (struct La_ppc64_regs): Likewise.
30680         (struct La_ppc64_retval): Likewise.
30681         (struct La_sh_regs): Likewise.
30682         (struct La_sh_retval): Likewise.
30683         (struct La_s390_32_regs): Likewise.
30684         (struct La_s390_32_retval): Likewise.
30685         (struct La_s390_64_regs): Likewise.
30686         (struct La_s390_64_retval): Likewise.
30687         (struct La_sparc32_regs): Likewise.
30688         (struct La_sparc32_retval): Likewise.
30689         (struct La_sparc64_regs): Likewise.
30690         (struct La_sparc64_retval): Likewise.
30691         (struct audit_ifaces): Remove architecture-specific pltenter and
30692         pltexit members.
30693         * sysdeps/i386/ldsodefs.h: New file.
30694         * sysdeps/powerpc/ldsodefs.h: Likewise.
30695         * sysdeps/s390/ldsodefs.h: Likewise.
30696         * sysdeps/sh/ldsodefs.h: Likewise.
30697         * sysdeps/sparc/ldsodefs.h: Likewise.
30698         * sysdeps/x86_64/ldsodefs.h: Likewise.
30699
30700 2012-07-25  Marek Polacek  <polacek@redhat.com>
30701
30702         [BZ #6808]
30703         * math/libm-test.inc (yn_test): Add another test.
30704         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30705         to ERANGE when the result is +-Inf.
30706         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30707         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30708         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30709         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30710
30711 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
30712
30713         * conform/data/time.h-data (NULL): Use macro-constant.  Require
30714         equal to 0.
30715         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
30716         clock_t.
30717         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
30718
30719 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
30720
30721         * configure.in <sysdeps resolving>: Correct printing
30722         Implies_before.
30723         * configure: Regenerate.
30724
30725 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
30726
30727         * math/w_ilogb.c: Include <limits.h>.
30728         * math/w_ilogbl.c: Likewise.
30729
30730 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
30731
30732         * manual/lang.texi (__va_copy): Document primarily as ISO C99
30733         va_copy.  Document allowing for unavailable va_copy only as
30734         pre-C99 compatibility.
30735         * manual/string.texi (Copying and Concatenation): Use va_copy
30736         instead of __va_copy in concat example.
30737
30738 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
30739
30740         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30741         (__sendto): Use create_address_port.  Initialize APORT and deallocate
30742         it if not null.
30743
30744         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30745         with O_NOLINK passed to __file_name_lookup.
30746
30747         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30748         with O_NOLINK passed to __file_name_lookup.
30749
30750         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30751         negative N or less than NGIDS.
30752
30753         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30754         type to string_t.  Set ERANGE as errno and return it if NAME is not big
30755         enough.  Use memcpy instead of strncpy.
30756
30757 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
30758
30759         * elf/Makefile (check-data): Remove.
30760         (localplt.data): New vpath directive.
30761         ($(objpfx)check-localplt.out): Use localplt.data from vpath
30762         instead of $(check-data).
30763         * scripts/data/localplt-generic.data: Move to ...
30764         * sysdeps/generic/localplt.data: ... here.
30765         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30766         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30767         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30769         ... here.
30770         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30772         ... here.
30773         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30774         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30775         ... here.
30776         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30777         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30778         ... here.
30779         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30780         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30781         ... here.
30782         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30783         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30784         ... here.
30785
30786 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30787
30788         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30789         PPC32 and PPC64 files.
30790         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30791         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30792
30793 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30794
30795         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30796         __makecontext_ret to ...
30797         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30798         ... here and call exit if uc_link is NULL.  New file.
30799         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30800         __makecontext_ret.S.
30801         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30802         __makecontext_ret to ...
30803         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30804         ... here and call exit if uc_link is NULL.  New file.
30805         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30806         __makecontext_ret.S.
30807
30808 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30809
30810         * elf/elf.h (R_390_IRELATIVE): New definition.
30811         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30812         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
30813         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30814         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30815         (elf_machine_lazy_rel): Likewise.
30816         * sysdeps/s390/dl-irel.h: New file.
30817         * sysdeps/s390/s390-64/memcpy.S: New asm code.
30818         * sysdeps/s390/s390-64/memset.S: New asm code.
30819         * sysdeps/s390/s390-64/memcmp.S: New asm code.
30820         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30821         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30822         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30823         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30824         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30825         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30826         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30827         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30828         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30829         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30830         * sysdeps/s390/s390-32/memcpy.S: New asm code.
30831         * sysdeps/s390/s390-32/memset.S: New asm code.
30832         * sysdeps/s390/s390-32/memcmp.S: New asm code.
30833
30834 2012-07-17  Marek Polacek  <polacek@redhat.com>
30835
30836         [BZ #14349]
30837         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30838         * sysdeps/s390/s390-64/configure.in: Likewise.
30839         * sysdeps/sparc/configure.in: Likewise.
30840         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30841         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30842         * sysdeps/i386/configure.in: Likewise.
30843         * sysdeps/x86_64/configure.in: Likewise.
30844         * sysdeps/sh/configure.in: Likewise.
30845         * sysdeps/s390/s390-32/configure: Regenerated.
30846         * sysdeps/s390/s390-64/configure: Likewise.
30847         * sysdeps/x86_64/configure: Likewise.
30848         * sysdeps/sh/configure: Likewise.
30849         * sysdeps/powerpc/powerpc64/configure: Likewise.
30850         * sysdeps/powerpc/powerpc32/configure: Likewise.
30851         * sysdeps/sparc/configure: Likwise.
30852         * sysdeps/i386/configure: Likewise.
30853
30854         * elf/dl-open.c: Comment fixes.
30855
30856 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
30857
30858         * Makefile [CXX] (check-data): Remove.
30859         [CXX] (c++-types.data): New vpath directive.
30860         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30861         vpath.  Do not allow for C++ type data being missing.
30862         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30863         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30864         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30865         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30866         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30867         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30868         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30870         ... here.
30871         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30873         ... here.
30874         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30875         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30876         ... here.
30877         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30878         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30879         ... here.
30880         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30881         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30882         ... here.
30883         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30884         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30885         ... here.
30886         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30887         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30888         ... here.
30889         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30890         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30891
30892         * elf/tls-macros.h (TLS_LE): Move architecture-specific
30893         definitions to architecture-specific files.
30894         (TLS_IE): Likewise.
30895         (TLS_LD): Likewise.
30896         (TLS_GD): Likewise.
30897         * sysdeps/i386/tls-macros.h: New file.
30898         * sysdeps/powerpc/tls-macros.h: Likewise.
30899         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30900         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30901         * sysdeps/sh/tls-macros.h: Likewise.
30902         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30903         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30904         * sysdeps/x86_64/tls-macros.h: Likewise.
30905
30906 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
30907
30908         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30909         zero value for regular exit case.
30910
30911         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30912         (__start_context): Preserve zero value for regular exit case.
30913
30914 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
30915             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30916
30917         * manual/setjmp.texi (setcontext): Clarify normal process
30918         termination when uc_link is the null pointer.
30919         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30920         exit call.
30921
30922 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
30923
30924         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30925         preprocessor.  Test for each exception mask separately.
30926
30927 2012-07-16  Andreas Jaeger  <aj@suse.de>
30928
30929         * po/ru.po: Update from translation team.
30930
30931 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
30932
30933         * conform/data/string.h-data (NULL): Use macro-constant.  Require
30934         equal to 0.
30935         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30936         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30937         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30938         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30939         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30940
30941 2012-07-13  Andreas Jaeger  <aj@suse.de>
30942
30943         * po/fr.po: Update from translation team.
30944
30945 2012-07-12  Marek Polacek  <polacek@redhat.com>
30946
30947         [BZ #14173]
30948         * math/libm-test.inc (yn_test): Add test for BZ #14173.
30949         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30950         loop condition.
30951
30952 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
30953
30954         [BZ #13717]
30955         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30956         Change to 2.4.1 where previously 2.4.0.
30957         * sysdeps/unix/sysv/linux/configure: Regenerated.
30958         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30959         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30960         version.
30961         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30962         (__ASSUME_AT_CLKTCK): Remove.
30963         (__ASSUME_AT_PAGESIZE): Likewise.
30964         (__ASSUME_AT_XID): Likewise.
30965         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30966         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30967         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30968         unconditionally.
30969         (HAVE_AUX_PAGESIZE): Likewise.
30970         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30971         [__ASSUME_AT_CLKTCK]: Make code unconditional.
30972         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30973
30974 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
30975
30976         [BZ #14307]
30977         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30978         the temporary buffer used to invoke __gethostbyname2_r,
30979         __gethostbyaddr_r and gethostbyname4_r to make room for struct
30980         host_data / struct gaih_addrtuple.
30981         * resolv/nss_dns/dns-host.c (global scope): Move definition of
30982         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30983         header file nss/nsswitch.h.
30984         * nss/nsswitch.h (global scope): Add definition of implementation
30985         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30986         resolv/nss_dns/dns-host.c).
30987
30988 2012-07-11  Andreas Jaeger  <aj@suse.de>
30989
30990         * po/fr.po: Update from translation team.
30991
30992         * po/sv.po: Update from translation team
30993         * po/fr.po: Another update from translation team.
30994
30995 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30996
30997         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30998         for subnormals or multiply small sinh result by itself.
30999         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31000         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31001
31002 2012-07-11  David S. Miller  <davem@davemloft.net>
31003
31004         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31005
31006 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
31007
31008         [BZ #14347]
31009         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31010         (INTERNAL_MARK): Shift it here.
31011
31012 2012-07-10  Marek Polacek  <polacek@redhat.com>
31013
31014         [BZ #14151]
31015         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
31016         libc_cv_asm_global_directive with .globl.
31017         * configure: Regenerated.
31018         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31019         with .globl.
31020         * sysdeps/i386/configure: Regenerated.
31021         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31022         with .globl.
31023         * sysdeps/x86_64/configure: Regenerated.
31024         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31025         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31026         * elf/tst-unique2mod2.c: Likewise.
31027         * elf/tst-unique2mod1.c: Likewise.
31028         * elf/tst-unique1mod2.c: Likewise.
31029         * elf/tst-unique1mod1.c: Likewise.
31030         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31031         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31032         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31033         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31034         * sysdeps/mach/sysdep.h: Likewise.
31035         * sysdeps/i386/sysdep.h: Likewise.
31036         * sysdeps/i386/i386-mcount.S: Likewise.
31037         * sysdeps/x86_64/_mcount.S: Likewise.
31038         * sysdeps/x86_64/sysdep.h: Likewise.
31039         * sysdeps/sh/_mcount.S: Likewise.
31040         * sysdeps/sh/sysdep.h: Likewise.
31041         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31042         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31043         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31044         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31045         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31046         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31047         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31048         * locale/localeinfo.h: Likewise.
31049         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31050         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31051
31052 2012-07-09  Roland McGrath  <roland@hack.frob.com>
31053
31054         [BZ #14336]
31055         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31056         system".
31057         * manual/message.texi (The Uniforum approach): Likewise.
31058         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31059         (glibc iconv Implementation): Likewise.
31060
31061 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
31062
31063         [BZ #14337]
31064         * math/s_clog.c (__clog): Avoid scaling a value down where that
31065         could result in underflow.
31066         * math/s_clog10.c (__clog10): Likewise.
31067         * math/s_clog10f.c (__clog10f): Likewise.
31068         * math/s_clog10l.c (__clog10l): Likewise.
31069         * math/s_clogf.c (__clogf): Likewise.
31070         * math/s_clogl.c (__clogl): Likewise.
31071         * math/libm-test.inc (clog_test): Add more tests.
31072         (clog10_test): Likewise.
31073         * sysdeps/i386/fpu/libm-test-ulps: Update.
31074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31075
31076 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
31077
31078         [BZ #14283]
31079         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31080         by 7 not 8 to examine high bit of fractional part.
31081
31082         [BZ #14042]
31083         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31084         for call to __mcount_internal.
31085         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31086         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31087         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31088
31089 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
31090
31091         [BZ #14154]
31092         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31093         approximation for values within 0x1p-13f of an odd multiple of
31094         pi/4.
31095         * math/libm-test.inc (tan_test): Do not allow spurious underflow
31096         exception.  Add more tests.
31097         * sysdeps/i386/fpu/libm-test-ulps: Update.
31098
31099         [BZ #6778]
31100         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31101         inputs and return -1 for them.  Do not check for +Inf in case not
31102         reachable for +Inf.
31103         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31104         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31105         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31106         and return -1 for them.  Do not check for +Inf in case not
31107         reachable for +Inf.
31108         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31109         define.
31110         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31111         and return -1 for them.  Do not check for +Inf in case not
31112         reachable for +Inf.
31113         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
31114         spurious underflow.
31115         * sysdeps/i386/fpu/libm-test-ulps: Update.
31116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31117
31118 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
31119
31120         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31121
31122 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
31123
31124         [BZ #14157]
31125         [BZ #14331]
31126         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31127         could result in spurious underflow.  Scale down values above
31128         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31129         * math/s_csqrtf.c (__csqrtf): Likewise.
31130         * math/s_csqrtl.c (__csqrtl): Likewise.
31131         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
31132         spurious underflow.
31133         * sysdeps/i386/fpu/libm-test-ulps: Update.
31134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31135
31136 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
31137
31138         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31139         xopen-msg.sed.
31140         * catgets/xopen-msg.awk: New file.
31141         * catgets/xopen-msg.sed: Removed.
31142
31143         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31144         po2text.sed.
31145         * intl/po2test.awk: New file.
31146         * intl/po2test.sed: Removed.
31147
31148 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
31149
31150         [BZ #14328]
31151         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31152         or multiply small sinh result by itself.
31153         * math/s_ctanf.c (__ctanf): Likewise.
31154         * math/s_ctanh.c (__ctanh): Likewise.
31155         * math/s_ctanhf.c (__ctanhf): Likewise.
31156         * math/s_ctanhl.c (__ctanhl): Likewise.
31157         * math/s_ctanl.c (__ctanl): Likewise.
31158         * math/libm-test.inc (ctan_test_tonearest): New function.
31159         (ctan_test_towardzero): Likewise.
31160         (ctan_test_downward): Likewise.
31161         (ctan_test_upward): Likewise.
31162         (ctanh_test_tonearest): Likewise.
31163         (ctanh_test_towardzero): Likewise.
31164         (ctanh_test_downward): Likewise.
31165         (ctanh_test_upward): Likewise.
31166         (main): Call these new functions.
31167         * sysdeps/i386/fpu/libm-test-ulps: Update.
31168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31169
31170 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
31171
31172         * .gitignore: Delete /ports entry.
31173
31174 2012-07-03  Andreas Jaeger  <aj@suse.de>
31175
31176         * po/bg.po: Update from translation team.
31177         * po/cs.po: Likewise.
31178         * po/de.po: Likewise.
31179         * po/hr.po: Likewise.
31180         * po/nl.pl: Likewise.
31181         * po/pl.po: Likewise.
31182         * po/vi.po: Likewise.
31183
31184 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
31185
31186         * Makeconfig [!+link] (+link-before-libc): New variable.
31187         [!+link] (+link-after-libc): Likewise.
31188         [!+link] (+link-tests): Likewise.
31189         [!+link] (+link): Define in terms of $(+link-before-libc) and
31190         $(+link-after-libc).
31191         [!+link-static] (+link-static-before-libc): New variable.
31192         [!+link-static] (+link-static-after-libc): Likewise.
31193         [!+link-static] (+link-static-tests): Likewise.
31194         [!+link-static] (+link-static): Define in terms of
31195         $(+link-static-before-libc) and $(+link-static-after-libc).
31196         [build-shared] (link-libc-before-gnulib): New variable.
31197         [build-shared] (link-libc-tests): Likewise.
31198         [build-shared] (link-libc): Define in terms of
31199         $(link-libc-before-gnulib).
31200         [!build-shared] (link-libc-tests): New variable.
31201         (link-libc-static-tests): New variable.
31202         [!gnulib] (gnulib-arch): New variable.
31203         [!gnulib] (gnulib-tests): Likewise.
31204         [!gnulib] (static-gnulib-arch): Likewise.
31205         [!gnulib] (static-gnulib-tests): Likewise.
31206         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
31207         Define with "=" instead of ":=".
31208         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
31209         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
31210         * Rules (binaries-all-notests): New variable.
31211         (binaries-all-tests): Likewise.
31212         (binaries-static-notests): Likewise.
31213         (binaries-static-tests): Likewise.
31214         (binaries-all): Define using $(binaries-all-notests) and
31215         $(binaries-all-tests).
31216         (binaries-static): Define using $(binaries-static-notests) and
31217         $(binaries-static-tests).
31218         (binaries-shared-tests): New variable.
31219         (binaries-shared-notests): Likewise.
31220         (binaries-shared): Remove variable.
31221         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31222         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31223         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31224         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31225         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31226         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31227         * elf/Makefile (sln-modules): New variable.
31228         (extra-objs): Add $(sln-modules:=.o).
31229         (ldconfig-modules): Add static-stubs.
31230         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31231         * elf/static-stubs.c: New file.
31232
31233         [BZ #14283]
31234         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31235         by 7 not 8 to examine high bit of fractional part.  Use volatile
31236         variables when splitting into final array of floats if
31237         __FLT_EVAL_METHOD__ != 0.
31238         * math/libm-test.inc (cos_test): Add another test.
31239         (sin_test): Likewise.
31240         * sysdeps/i386/fpu/libm-test-ulps: Update.
31241
31242         [BZ #14273]
31243         * math/libm-test.inc (cosh_test): Add more tests.
31244
31245         * version.h (RELEASE): Set to "development".
31246         (VERSION): Set to "2.16.90".
31247
31248 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
31249
31250         * NEWS: Update copyright. Remove last-updated date.
31251         Mention math library bug fixes and timezone data changes.
31252         * README: Mention GNU/Hurd, x32, and HPPA support status.
31253
31254 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
31255
31256         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31257
31258 2012-06-27  Andreas Jaeger  <aj@suse.de>
31259
31260         * manual/contrib.texi (Contributors): Add Samuel Thibault.
31261
31262 2012-06-25  Andreas Jaeger  <aj@suse.de>
31263
31264         * sysdeps/s390/fpu/libm-test-ulps: Update.
31265
31266 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
31267             Thomas Schwinge  <thomas@codesourcery.com>
31268
31269         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31270         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31271         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31272         fanotify_mark.
31273
31274 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
31275
31276         * sysdeps/mach/start.c: Remove file.
31277         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31278         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31279         * sysdeps/sh/init-first.c: Likewise.
31280
31281         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31282         registers for frame unwinding purposes, add CFI directives.
31283         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31284         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31285         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31286         Likewise.
31287
31288         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31289         __fortify_fail returning.
31290         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31291
31292         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31293         sysdeps/sh/____longjmp_chk.S.
31294         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31295         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31296         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31297         (gen-as-const-headers): Append sigaltstack-offsets.sym.
31298
31299         * sysdeps/sh/abort-instr.h: New file.
31300         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31301         process in case exit returns.
31302
31303         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31304         initialize the GOT register before use.
31305
31306         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31307         calculation of ARGC > 4.
31308
31309         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31310         meaningful names to some local labels.
31311
31312 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31313             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31314
31315         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31316         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31317         (__arch_compare_and_exchange_val_16_acq): Likewise.
31318         (__arch_compare_and_exchange_val_32_acq): Likewise.
31319         (atomic_exchange_and_add): Fix gUSA sequence.
31320         (atomic_add): Likewise.
31321         (atomic_add_negative): Likewise.
31322         (atomic_add_zero): Likewise.
31323         (atomic_bit_test_set): Likewise.
31324
31325 2012-06-22  Andreas Schwab  <schwab@redhat.com>
31326
31327         [BZ #13579]
31328         * include/link.h (struct link_map): Add l_free_initfini.
31329         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31330         l_initfini.
31331         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31332         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31333         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31334         set.
31335
31336 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
31337
31338         * configure.in: Use AC_LANG_SOURCE.
31339         * configure: Regenerate.
31340
31341 2012-06-22  Roland McGrath  <roland@hack.frob.com>
31342
31343         * configure.in (libc_cv_localstatedir): New substituted variable.
31344         * configure: Regenerated.
31345         * config.make.in (localstatedir): New variable, substituted from
31346         libc_cv_localstatedir.
31347         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31348         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31349         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31350         * sysdeps/gnu/configure: Regenerated.
31351
31352 2012-06-21  Jeff Law  <law@redhat.com>
31353
31354         [BZ #14277]
31355         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31356         free.  Simplify list management for _LIBC case.
31357
31358 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
31359
31360         [BZ #14273]
31361         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31362         Clear sign bit of 64-bit integer value before comparing against
31363         overflow value.
31364
31365         * sysdeps/mach/configure: Regenerated.
31366
31367 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
31368
31369         [BZ #14278]
31370         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31371
31372 2012-06-21  Jeff Law  <law@redhat.com>
31373
31374         [BZ #13882]
31375         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
31376         uint16_t for elements in the "seen" array to avoid char overflows.
31377         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31378         * elf/dl-open.c (dl_open_worker): Likewise.
31379
31380 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
31381
31382         * scripts/list-sources.sh: Scan PORTS for translations.
31383         * po/libc.pot: Regenerated.
31384
31385 2012-06-21  Andreas Jaeger  <aj@suse.de>
31386
31387         [BZ #12194]
31388         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31389         warning.
31390         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31391         * bits/byteswap-16.h (__bswap_16): Likewise.
31392         * bits/byteswap.h (__bswap_constant_16): Likewise.
31393
31394 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
31395
31396         [BZ #14117]
31397         * sysdeps/i386/fpu_control.h: Removed.
31398         * sysdeps/x86_64/fpu_control.h: Moved to ...
31399         * sysdeps/x86/fpu_control.h: Here.
31400
31401         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31402         (_FPU_SETCW): Likewise.
31403
31404 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
31405
31406         [BZ #14117]
31407         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31408         * sysdeps/x86/fpu/bits/mathinline.h: This.
31409         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31410
31411         [BZ #14050]
31412         [BZ #14117]
31413         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31414         functions if __x86_64__ is defined.
31415
31416 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
31417
31418         * string/endian.h: Add !__ASSEMBLER__ condition for including
31419         conversion interfaces.
31420
31421 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
31422
31423         [BZ #14241]
31424         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31425         of ABS(x) in calculating zero to negative powers other than odd
31426         integers.
31427         * math/libm-test.inc (pow_test): Add more tests.
31428
31429 2012-06-15  Andreas Jaeger  <aj@suse.de>
31430
31431         * manual/contrib.texi (Contributors): Update entry of Liubov
31432         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31433         Machado Filho.
31434
31435 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
31436
31437         * string/string.h: Add __wur to GNU version of strerror_r.
31438
31439 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
31440
31441         [BZ #14229]
31442         * string/Makefile (tests): Add tst-strtok_r.
31443         * string/tst-strtok_r.c: New file.
31444         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31445         RAX_LP/RDX_LP on SAVE_PTR.
31446
31447 2012-06-14  Roland McGrath  <roland@hack.frob.com>
31448
31449         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31450
31451 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
31452
31453         * libm_test.inc (csqrt_test): Allow more spurious underflow
31454         exceptions.
31455         (j0_test): Likewise.
31456         (j1_test): Likewise.
31457         (y0_test): Likewise.
31458         (y1_test): Likewise.
31459
31460 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
31461
31462         * po/Makefile (libc.pot): Use UTF-8 charset.
31463
31464 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
31465
31466         [BZ #14210]
31467         Suppress sign-conversion warning from FD_SET.
31468         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31469         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31470         not unsigned long int.
31471         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31472
31473 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
31474
31475         [BZ #14050]
31476         [BZ #14117]
31477         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31478         __extern_always_inline instead of __extern_inline.
31479         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31480         (__signbit): Likewise.
31481         (__signbitl): Support C++ namespace.
31482         (lrintf): New inline function.
31483         (lrint): Likewise.
31484         (llrintf): Likewise.
31485         (llrint): Likewise.
31486         (fmaxf): Likewise.
31487         (fmax): Likewise.
31488         (fminf): Likewise.
31489         (fmin): Likewise.
31490         (rint): Likewise.
31491         (rintf): Likewise.
31492         (ceil): Likewise.
31493         (ceilf): Likewise.
31494         (floor): Likewise.
31495         (floorf): Likewise.
31496         (nearbyint): Likewise.
31497         (nearbyintf): Likewise.
31498
31499 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
31500
31501         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31502         non-default versions.
31503
31504 2012-06-11  Roland McGrath  <roland@hack.frob.com>
31505
31506         [BZ #14218]
31507         * manual/argp.texi (Argp): Reword argp_parse description slightly.
31508
31509 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
31510
31511         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31512         (FE_UPWARD, FE_DOWNWARD): Don't define.
31513         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31514         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31515
31516         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31517         reading it.
31518         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31519         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31520
31521 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31522
31523         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31524         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31525         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31526         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31527
31528 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
31529
31530         [BZ #14117]
31531         * sysdeps/i386/fpu/bits/fenv.h: Removed.
31532         * sysdeps/i386/fpu/Implies: New file.
31533         * sysdeps/x86_64/fpu/Implies: Likewise.
31534         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31535         * sysdeps/x86/fpu/bits/fenv.h: This.
31536
31537         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31538         __SSE_MATH__.
31539
31540 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31541
31542         [BZ #14134]
31543         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31544         character 0xffff that matches the last element of the
31545         conversion table.
31546
31547 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31548
31549         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31550         fmodl commit.
31551
31552 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31553
31554         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31555         values higher than 25.6283.
31556
31557 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31558
31559         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31560         subnormal exponent extraction and add some __builtin_expect.
31561         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31562         Fix for subnormal mantissa calculation.
31563
31564 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
31565
31566         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31567         cpu2 is -1 and errno is not ENOSYS.
31568
31569 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
31570
31571         [BZ #14117]
31572         * sysdeps/i386/i486/bits/string.h: Renamed to ...
31573         * sysdeps/x86/bits/string.h: This.
31574         * sysdeps/x86_64/bits/string.h: Removed.
31575
31576         * sysdeps/i386/i486/bits/string.h: Define inline functions only
31577         if not compiling for x86-64, but compiling for >= i486.
31578
31579         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31580         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31581
31582         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31583         New macro from Linux kernel 3.4.0.
31584         (FP_XSTATE_MAGIC2): Likewise.
31585         (FP_XSTATE_MAGIC2_SIZE): Likewise.
31586         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31587         (struct _fpx_sw_bytes): New struct.
31588         (struct _xsave_hdr): Likewise.
31589         (struct _ymmh_state): Likewise.
31590         (struct _xstate): Likewise.
31591
31592         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31593         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31594         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31595         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31596         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31597         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31598
31599         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31600         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31601         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31602         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31603         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31604         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31605
31606 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31607
31608         [BZ #13743]
31609         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31610         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31611         (sysdep_headers): Include sys/platform/ppc.h.
31612         * sysdeps/powerpc/test-gettimebase.c: Test for
31613         __ppc_get_timebase() to catch future ISA opcode/insn changes.
31614         * manual/Makefile (appendices): Include platform.texi.
31615         * manual/contrib.texi (Contributors): Update @node pointers.
31616         * manual/maint.texi (Maintenance): Likewise.
31617         (Platform): New node.
31618         * manual/platform.texi: New file.  Document the new features.
31619
31620 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31621             Jakub Jelinek  <jakub@redhat.com>
31622
31623         [BZ #14188]
31624         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31625         where __builtin_expect is unavailable.
31626
31627 2012-06-03  David S. Miller  <davem@davemloft.net>
31628
31629         * stdlib/longlong.h: Updated from GCC.
31630
31631 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
31632
31633         [BZ #14042]
31634         * sysdeps/powerpc/powerpc32/mcount.c: New file.
31635         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31636         __mcount_internal.
31637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31638         (GLIBC_2.16): Likewise.
31639
31640 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31641
31642         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31643
31644 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
31645
31646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31647         (default-abi): New variable.
31648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31649         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31650         variable.
31651         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31652         Likewise.
31653         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31654         Likewise.
31655         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31656         Likewise.
31657
31658         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31659         definition.  Document in comment.
31660
31661 2012-06-01  David S. Miller  <davem@davemloft.net>
31662
31663         * stdlib/longlong.h: Updated from GCC.
31664
31665 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31666
31667         [BZ #14117]
31668         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31669         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31670         sys/debugreg.h sys/io.h here.
31671         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31672         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31673         sys/io.h.
31674         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31675         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31676         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31677         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31678         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31679         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31680
31681         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31682         Define only if __x86_64__ is defined.
31683
31684 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
31685
31686         [BZ #14048]
31687         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31688         Use int64_t for variable i.
31689         * math/libm-test.inc (fmod_test): Add more tests.
31690
31691         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31692         z computation is not scheduled after fetestexcept.
31693         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31694         Use math_force_eval instead of asm to ensure calculation scheduled
31695         before exception test.
31696         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31697         Ensure a1 + u.d computation is not scheduled after fetestexcept.
31698
31699 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
31700
31701         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31702         computation is not scheduled after fetestexcept.
31703
31704 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31705
31706         [BZ #14117]
31707         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31708         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31709
31710 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31711
31712         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31713         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31714
31715 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
31716
31717         [BZ #14117]
31718         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31719         <bits/wordsize.h>.
31720         (__WCHAR_MIN): Support __WORDSIZE == 64.
31721         (__WCHAR_MAX): Likewise.
31722
31723         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31724         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31725
31726         [BZ #14183]
31727         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31728         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31729
31730         [BZ #14117]
31731         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31732         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31733
31734         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31735         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31736
31737         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31738         Defined to 1 if __x86_64__ isn't defined.
31739         (_STAT_VER_LINUX_OLD): New.
31740         (st_atime): Remove duplicate.
31741         (st_mtime): Likewise.
31742         (st_ctime): Likewise.
31743
31744 2012-05-31  David S. Miller  <davem@davemloft.net>
31745
31746         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31747         entries.
31748
31749 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
31750
31751         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31752         gen-libm-test.pl.
31753
31754         [BZ #14132]
31755         * elf/dl-reloc.c: Include <_itoa.h>.
31756         (_dl_reloc_bad_type): Remove use of INTUSE.
31757         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31758         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31759         * stdio-common/psiginfo.c (psiginfo): Likewise.
31760         * stdio-common/psignal.c (psignal): Likewise.
31761         * string/strsignal.c (strsignal): Likewise.
31762         * include/signal.h (_sys_siglist): Declare hidden proto.
31763         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
31764         INTVARDEF with libc_hidden_data_def.
31765         * stdio-common/itoa-udigits.c: Likewise.
31766         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31767         (_itoa_lower_digits_internal): Remove declaration.
31768         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31769         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31770         (_sys_sigabbrev_internal): Remove aliases.
31771         (_sys_siglist): Define hidden alias.
31772
31773 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
31774
31775         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31776         bits/sysctl.h.
31777
31778 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
31779
31780         [BZ #14117]
31781         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31782         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31783
31784         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31785         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31786         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31787         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31788         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31789         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31790
31791         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31792         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31793         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31794
31795         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31796         with __addr.
31797         (insw): Likewise.
31798         (insl): Likewise.
31799         (outsb): Likewise.
31800         (outsw): Likewise.
31801         (outsl): Likewise.
31802
31803         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31804         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31805         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31806
31807         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31808         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31809         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31810         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31811         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31812         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31813
31814         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31815         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31816
31817         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31818         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31819
31820         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31821         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31822         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31823
31824         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31825         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31826         to ...
31827         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31828
31829         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31830         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31831         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31832
31833         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31834         for x86-64.
31835         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31836
31837 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
31838
31839         * math/math.h (M_El): Use two more decimal places.
31840         (M_LOG2El): Likewise.
31841         (M_LOG10El): Likewise.
31842         (M_LN2l): Likewise.
31843         (M_LN10l): Likewise.
31844         (M_PIl): Likewise.
31845         (M_PI_2l): Likewise.
31846         (M_PI_4l): Likewise.
31847         (M_1_PIl): Likewise.
31848         (M_2_PIl): Likewise.
31849         (M_2_SQRTPIl): Likewise.
31850         (M_SQRT2l): Likewise.
31851         (M_SQRT1_2l): Likewise.
31852
31853 2012-05-31  David S. Miller  <davem@davemloft.net>
31854
31855         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31856         values between float registers.
31857         * sysdeps/sparc/sparc64/memset.S: Likewise.
31858         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31859
31860 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
31861
31862         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31863         -D_FORTIFY_SOURCE=1.
31864         (CPPFLAGS-tst-longjmp_chk.c): Define.
31865         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31866         (CPPFLAGS-tst-longjmp_chk2.c): Define.
31867         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31868         CFLAGS-tst-wchar-h.c.
31869
31870 2012-05-31  Marek Polacek  <polacek@redhat.com>
31871
31872         [BZ #14132]
31873         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31874         __endmntent_internal): Remove declaration.
31875         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31876         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31877         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31878
31879 2012-05-30  David S. Miller  <davem@davemloft.net>
31880
31881         * sysdeps/sparc/sparc32/soft-fp/q_util.c
31882         (___Q_simulate_exceptions): Use real FP ops rather than writing
31883         into the %fsr.
31884         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31885         Likewise.
31886
31887 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31888
31889         [BZ #14117]
31890         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31891         * sysdeps/x86/bits/xtitypes.h: This.
31892
31893         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31894         * sysdeps/x86/bits/wordsize.h: This.
31895
31896         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31897         * sysdeps/x86/bits/huge_vall.h: This.
31898
31899         * sysdeps/i386/bits/select.h: Removed.
31900         * sysdeps/x86_64/bits/select.h: Renamed to ...
31901         * sysdeps/x86/bits/select.h: This.
31902
31903         * sysdeps/i386/bits/setjmp.h: Removed.
31904         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31905         * sysdeps/x86/bits/setjmp.h: This.
31906
31907         * sysdeps/i386/bits/mathdef.h: Removed.
31908         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31909         * sysdeps/x86/bits/mathdef.h: This.
31910
31911 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
31912
31913         [BZ #14132]
31914         * include/sys/socket.h (__connect_internal)
31915         (__libc_sa_len_internal): Remove declaration.
31916         (__connect, __libc_sa_len): Declare hidden_proto.
31917         (SA_LEN): Remove use of INTUSE.
31918         * socket/connect.c: Add libc_hidden_def.
31919         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31920         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31921         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31922         alias.
31923         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31924         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31925         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31926         of adding _internal alias.
31927
31928 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31929
31930         [BZ #14117]
31931         * sysdeps/i386/bits/link.h: Removed.
31932         * sysdeps/i386/bits/linkmap.h: Likewise.
31933         * sysdeps/x86_64/bits/link.h: Renamed to ...
31934         * sysdeps/x86/bits/link.h: This.
31935         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31936         * sysdeps/x86/bits/linkmap.h: This.
31937
31938         * sysdeps/i386/bits/endian.h: Removed.
31939         * sysdeps/x86_64/bits/endian.h: Renamed to ...
31940         * sysdeps/x86/bits/endian.h: This.
31941
31942         * sysdeps/i386/bits/byteswap.h: Removed.
31943         * sysdeps/i386/bits/byteswap-16.h: Likewise.
31944         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31945         * sysdeps/x86/bits/byteswap.h: This.
31946         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31947         * sysdeps/x86/bits/byteswap-16.h: This.
31948         * sysdeps/i386/Implies: Add x86.
31949         * sysdeps/x86_64/Implies: Likewise.
31950
31951 2012-05-30  David S. Miller  <davem@davemloft.net>
31952
31953         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31954         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31955         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31956         (FP_TRAPPING_EXCEPTIONS): Define.
31957         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31958         (FP_TRAPPING_EXCEPTIONS): Define.
31959         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31960         subnormals only when inexact has been signalled or underflow
31961         exceptions are enabled.
31962         (_FP_PACK_CANONICAL): Likewise.
31963
31964 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31965
31966         [BZ #14183]
31967         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31968         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31969
31970 2012-05-30  Richard Henderson  <rth@twiddle.net>
31971
31972         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31973         with #ifndef NOT_IN_libc.
31974
31975         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
31976         marked to avoid plt entry.
31977
31978 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31979
31980         [BZ #14112]
31981         * Makeconfig (default-abi): New macro.
31982         (abi-includes): Likewise.
31983         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
31984         $(abi-$(default-abi)-lib-soname) for soname if defined.
31985         ($(common-objpfx)gnu/lib-names.stmp): Generate from
31986         abi-variants.
31987         * Makefile (installed-stubs): Likewise.
31988         * include/stubs-biarch.h: Removed.
31989         * scripts/lib-names.awk: Only handle one library at a time.
31990         * scripts/soversions.awk: Remove WORDSIZE support.
31991         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31992         entries.
31993         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31994         Removed.
31995         (syscall-list-default-condition): Likewise.
31996         (syscall-list-default-condition): Likewise.
31997         (syscall-list-includes): Likewise.
31998         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31999         syscall-list-* with abi-*.  Handle undefined abi-variants.
32000         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32001         * sysdeps/unix/sysv/linux/i386/Implies: New file.
32002         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32003         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32004         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32005         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32006         Removed.
32007         (syscall-list-32-options): Likewise.
32008         (syscall-list-32-condition): Likewise.
32009         (syscall-list-64-options): Likewise.
32010         (syscall-list-64-condition): Likewise.
32011         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32012         macro.
32013         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32014         Renamed to ...
32015         (abi-*): This.
32016         (abi-64-ld-soname): New macro.
32017         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32018         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32019         Renamed to ...
32020         (abi-*): This.
32021         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32022         * sysdeps/x86_64/x32/shlib-versions: Likewise.
32023
32024 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
32025
32026         * sysdeps/unix/sysv/linux/kernel-features.h
32027         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32028         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32029         include <kernel-features.h>.
32030         [!__NR_ftruncate64]: Remove conditional code.
32031         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32032         [__NR_ftruncate64]: Make code unconditional.
32033         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32034         * sysdeps/unix/sysv/linux/truncate64.c: Do not
32035         include <kernel-features.h>.
32036         [!__NR_ftruncate64]: Remove conditional code.
32037         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32038         [__NR_ftruncate64]: Make code unconditional.
32039         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32041         include <kernel-features.h>.
32042         [!__NR_ftruncate64]: Remove conditional code.
32043         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32044         [__NR_ftruncate64]: Make code unconditional.
32045         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32047         include <kernel-features.h>.
32048         [!__NR_ftruncate64]: Remove conditional code.
32049         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32050         [__NR_ftruncate64]: Make code unconditional.
32051         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32052
32053         * configure.in (libc_cv_fpie): Weaken to a compile test using
32054         LIBC_TRY_CC_OPTION.
32055         * configure: Regenerated.
32056
32057 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32058
32059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32061         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32062         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32063         Refreshed.
32064         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32065         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32066         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32067         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32068         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32069         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32070         Refreshed.
32071
32072 2012-05-27  David S. Miller  <davem@davemloft.net>
32073
32074         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32075         (___Q_zero): New.
32076         (__Q_simulate_exceptions): Return void.  Change to simulate
32077         exceptions by writing into the %fsr.
32078         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32079         (__Qp_handle_exceptions): Likewise.
32080         (numbers): Delete.
32081         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32082         __Qp_handle_exceptions.
32083         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32084         __Qp_handle_exceptions.
32085         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32086         as unused and give dummy FP_RND_NEAREST initializer.
32087         (FP_INHIBIT_RESULTS): Define.
32088         (___Q_simulate_exceptions): Update declaration.
32089         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32090         formatting.
32091         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32092         as unused and give dummy FP_RND_NEAREST initializer.
32093         (__Qp_handle_exceptions): Update declaration.
32094         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32095         formatting.
32096
32097 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
32098
32099         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32100         the temporary FPU control word.
32101         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32102         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32103         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32104         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32105         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32106         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32107         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32108         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32109         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32110         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32111         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32112
32113 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32114
32115         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32116         fields.
32117
32118 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
32119
32120         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32121         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32122         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32123         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32124         Likewise.
32125         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32126         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32127         Likewise.
32128
32129 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
32130
32131         * po/h.po: Update from translation team.
32132
32133 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
32134
32135         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32136
32137         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32138         handling of denormals.
32139         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32140         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32141         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32142         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32143         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32144         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32145         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32146         Likewise.
32147
32148 2012-05-26  Marek Polacek  <polacek@redhat.com>
32149
32150         [BZ #14152]
32151         * math/libm-test.inc (fma_test): Don't always expect underflow
32152         exception.
32153
32154 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32155
32156         [BZ #12416]
32157         * elf/tst-execstack.c: Include stackinfo.h.
32158         (do_test): Adjust test case to ensure that pthread_getattr_np
32159         behaviour remains the same after marking stack executable.
32160
32161 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32162
32163         * sysdeps/unix/sysv/linux/kernel-features.h
32164         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32165         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32166         kernel-features.h.
32167         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32168         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32169         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32170         kernel-features.h.
32171         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32172         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32173
32174 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
32175
32176         * configure.in: Define the default includes to being none.
32177         * configure: Regenerated.
32178
32179 2012-05-25  Roland McGrath  <roland@hack.frob.com>
32180
32181         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32182         * sysdeps/x86_64/setjmp.S: Likewise.
32183         * sysdeps/i386/bsd-setjmp.S: Likewise.
32184         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32185         * sysdeps/i386/setjmp.S: Likewise.
32186         * sysdeps/i386/__longjmp.S: Likewise.
32187         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32188         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32189
32190         * include/stap-probe.h: New file.
32191         * configure.in: Handle --enable-systemtap.
32192         * configure: Regenerated.
32193         * config.h.in (USE_STAP_PROBE): New #undef.
32194         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32195         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32196         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32197
32198 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32199
32200         [BZ #13717]
32201         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32202         to 2.4.0 where earlier.
32203         * sysdeps/unix/sysv/linux/configure: Regenerated.
32204         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32205         <kernel-features.h>.
32206         [__ASSUME_32BITUIDS]: Make code unconditional.
32207         [!__ASSUME_32BITUIDS]: Remove conditional code.
32208         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32209         <kernel-features.h>.
32210         [__ASSUME_32BITUIDS]: Make code unconditional.
32211         [!__ASSUME_32BITUIDS]: Remove conditional code.
32212         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32213         [__ASSUME_32BITUIDS]: Make code unconditional.
32214         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32215         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32216         <kernel-features.h>.
32217         [__ASSUME_32BITUIDS]: Make code unconditional.
32218         [!__ASSUME_32BITUIDS]: Remove conditional code.
32219         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32220         <kernel-features.h>.
32221         [__ASSUME_32BITUIDS]: Make code unconditional.
32222         [!__ASSUME_32BITUIDS]: Remove conditional code.
32223         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32224         <kernel-features.h>.
32225         [__ASSUME_32BITUIDS]: Make code unconditional.
32226         [!__ASSUME_32BITUIDS]: Remove conditional code.
32227         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32228         <kernel-features.h>.
32229         [__ASSUME_32BITUIDS]: Make code unconditional.
32230         [!__ASSUME_32BITUIDS]: Remove conditional code.
32231         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32232         <kernel-features.h>.
32233         [__ASSUME_32BITUIDS]: Make code unconditional.
32234         [!__ASSUME_32BITUIDS]: Remove conditional code.
32235         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32236         <kernel-features.h>.
32237         [__ASSUME_32BITUIDS]: Make code unconditional.
32238         [!__ASSUME_32BITUIDS]: Remove conditional code.
32239         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32240         <kernel-features.h>.
32241         [__ASSUME_32BITUIDS]: Make code unconditional.
32242         [!__ASSUME_32BITUIDS]: Remove conditional code.
32243         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32244         <kernel-features.h>.
32245         [__ASSUME_32BITUIDS]: Make code unconditional.
32246         [!__ASSUME_32BITUIDS]: Remove conditional code.
32247         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32248         <kernel-features.h>.
32249         [__ASSUME_32BITUIDS]: Make code unconditional.
32250         [!__ASSUME_32BITUIDS]: Remove conditional code.
32251         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32252         <kernel-features.h>.
32253         [__ASSUME_32BITUIDS]: Make code unconditional.
32254         [!__ASSUME_32BITUIDS]: Remove conditional code.
32255         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32256         <kernel-features.h>.
32257         [__NR_setresgid] (__setresgid): Do not declare.
32258         [__ASSUME_32BITUIDS]: Make code unconditional.
32259         [!__ASSUME_32BITUIDS]: Remove conditional code.
32260         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32261         <kernel-features.h>.
32262         [__NR_setresuid] (__setresuid): Do not declare.
32263         [__ASSUME_32BITUIDS]: Make code unconditional.
32264         [!__ASSUME_32BITUIDS]: Remove conditional code.
32265         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32266         <kernel-features.h>.
32267         [__ASSUME_32BITUIDS]: Make code unconditional.
32268         [!__ASSUME_32BITUIDS]: Remove conditional code.
32269         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32270         <kernel-features.h>.
32271         [__ASSUME_32BITUIDS]: Make code unconditional.
32272         [!__ASSUME_32BITUIDS]: Remove conditional code.
32273         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32274         <kernel-features.h>.
32275         [__ASSUME_32BITUIDS]: Make code unconditional.
32276         [!__ASSUME_32BITUIDS]: Remove conditional code.
32277         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32278         <kernel-features.h>.
32279         [__ASSUME_32BITUIDS]: Make code unconditional.
32280         [!__ASSUME_32BITUIDS]: Remove conditional code.
32281         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32282         <kernel-features.h>.
32283         [__ASSUME_32BITUIDS]: Make code unconditional.
32284         [!__ASSUME_32BITUIDS]: Remove conditional code.
32285         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32286         <kernel-features.h>.
32287         [__ASSUME_32BITUIDS]: Make code unconditional.
32288         [!__ASSUME_32BITUIDS]: Remove conditional code.
32289         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32290         <kernel-features.h>.
32291         [__ASSUME_32BITUIDS]: Make code unconditional.
32292         [!__ASSUME_32BITUIDS]: Remove conditional code.
32293         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32294         <kernel-features.h>.
32295         [__ASSUME_32BITUIDS]: Make code unconditional.
32296         [!__ASSUME_32BITUIDS]: Remove conditional code.
32297         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32298         <kernel-features.h>.
32299         [__ASSUME_32BITUIDS]: Make code unconditional.
32300         [!__ASSUME_32BITUIDS]: Remove conditional code.
32301         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32302         <kernel-features.h>.
32303         [__ASSUME_32BITUIDS]: Make code unconditional.
32304         [!__ASSUME_32BITUIDS]: Remove conditional code.
32305         * sysdeps/unix/sysv/linux/kernel-features.h
32306         (__ASSUME_SETRESUID_SYSCALL): Remove.
32307         (__ASSUME_SETRESGID_SYSCALL): Likewise.
32308         (__ASSUME_32BITUIDS): Likewise.
32309         (__ASSUME_LDT_WORKS): Likewise.
32310         (__ASSUME_O_DIRECTORY): Likewise.
32311         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32312         architecture but not kernel version.
32313         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32314         (__ASSUME_MMAP2_SYSCALL): Likewise.
32315         (__ASSUME_STAT64_SYSCALL): Likewise.
32316         (__ASSUME_IPC64): Likewise.
32317         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32318         <kernel-features.h>.
32319         [__ASSUME_32BITUIDS]: Make code unconditional.
32320         [!__ASSUME_32BITUIDS]: Remove conditional code.
32321         * sysdeps/unix/sysv/linux/opendir.c: Do not include
32322         <kernel-features.h>.
32323         [__ASSUME_O_DIRECTORY]: Make code unconditional.
32324         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32325         132096]: Remove conditional code.
32326         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32327         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32328         <kernel-features.h>.
32329         [__ASSUME_32BITUIDS]: Make code unconditional.
32330         [!__ASSUME_32BITUIDS]: Remove conditional code.
32331         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32332         <kernel-features.h>.
32333         [__ASSUME_32BITUIDS]: Make code unconditional.
32334         [!__ASSUME_32BITUIDS]: Remove conditional code.
32335         * sysdeps/unix/sysv/linux/setegid.c: Do not include
32336         <kernel-features.h>.
32337         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32338         unconditional.
32339         (__setresgid): Do not declare.
32340         [__ASSUME_32BITUIDS]: Make code unconditional.
32341         [!__ASSUME_32BITUIDS]: Remove conditional code.
32342         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32343         <kernel-features.h>.
32344         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32345         unconditional.
32346         (__setresuid): Do not declare.
32347         [__ASSUME_32BITUIDS]: Make code unconditional.
32348         [!__ASSUME_32BITUIDS]: Remove conditional code.
32349         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32350         <kernel-features.h>.
32351         [__ASSUME_32BITUIDS]: Make code unconditional.
32352         [!__ASSUME_32BITUIDS]: Remove conditional code.
32353         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32354         <kernel-features.h>.
32355         [__ASSUME_32BITUIDS]: Make code unconditional.
32356         [!__ASSUME_32BITUIDS]: Remove conditional code.
32357
32358 2012-05-25  Richard Henderson  <rth@twiddle.net>
32359
32360         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32361         dl_hwcap to ifunc resolver.
32362         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32363         elf_ifunc_invoke.
32364         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32365         dl_hwcap to ifunc resolver.
32366         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32367
32368 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32369
32370         [BZ #14153]
32371         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32372         for |x| <= 2**-26, not 2**-57.
32373         * math/libm-test.inc (acos_test): Do not allow spurious underflow
32374         exception.
32375
32376 2012-05-24  Jeff Law  <law@redhat.com>
32377
32378         * stdio-common/Makefile (tests): Add bug25.
32379         * stdio-common/bug25.c: New test.
32380
32381 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32382
32383         [BZ #13576]
32384         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32385         multiple of MALLOC_ALIGNMENT in size.
32386         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32387
32388 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32389
32390         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32391         Require >= 256.
32392         (FILENAME_MAX): Use macro-int-constant.
32393         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
32394         (_IOFBF): Use macro-int-constant.
32395         (_IOLBF): Likewise.
32396         (_IONBF): Likewise.
32397         (SEEK_CUR): Likewise.
32398         (SEEK_END): Likewise.
32399         (SEEK_SET): Likewise.
32400         (TMP_MAX): Likewise.
32401         (EOF): Use macro-int-constant.  Require < 0.
32402         (NULL): Use macro-constant.  Require == 0.
32403         (stdin): Require type to be FILE *.
32404         (stdout): Likewise.
32405         (stderr): Likewise.
32406         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32407         macro-int-constant.
32408         (EXIT_SUCCESS): Likewise.
32409         (NULL): Use macro-constant.  Require == 0.
32410         (RAND_MAX): Use macro-int-constant.
32411         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32412         [C99-based standards] (strtof): Require function.
32413         [C99-based standards] (strtold): Likewise.
32414         [C99-based standards] (strtoll): Likewise.
32415         [C99-based standards] (strtoull): Likewise.
32416         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32417         [ISO || ISO99 || ISO11] (limits.h): Likewise.
32418         [ISO || ISO99 || ISO11] (math.h): Likewise.
32419         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32420         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32421         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32422
32423 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
32424
32425         [BZ #14132]
32426         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32427         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32428         * intl/dgettext.c (DCGETTEXT): Likewise.
32429         * intl/gettext.c (DCGETTEXT): Likewise.
32430         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32431         * posix/regex_internal.h (gettext): Likewise.
32432         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32433         Remove declaration.
32434         * include/argz.h (__argz_count_internal)
32435         (__argz_stringify_internal): Remove declaration.
32436         (__argz_count, __argz_stringify): Declare hidden proto.
32437         * intl/dcgettext.c: Remove use of INTDEF.
32438         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32439         * string/argz-stringify.c: Likewise.
32440         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32441         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32442         Declare hidden proto.
32443         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32444         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32445         Declare hidden proto.
32446         * include/stdio.h (__asprintf_internal): Don't declare.
32447         (__asprintf): Don't define as macro.  Declare hidden proto.
32448         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32449         (__fsetlocking): Declare hidden proto.
32450         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32451         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32452         hidden proto.
32453         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32454         (_IO_setlinebuf): Remove use of INTUSE.
32455         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32456         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32457         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32458         Remove declaration.
32459         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32460         (_IO_do_flush): Remove use of INTUSE.
32461         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32462         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32463         (_IO_adjust_column, _IO_least_wmarker)
32464         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32465         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32466         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32467         (_IO_default_doallocate, _IO_wdefault_doallocate)
32468         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32469         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32470         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32471         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32472         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32473         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32474         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32475         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32476         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32477         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32478         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32479         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32480         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32481         proto.
32482         (_IO_flush_all_internal, _IO_adjust_column_internal)
32483         (_IO_default_uflow_internal, _IO_default_finish_internal)
32484         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32485         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32486         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32487         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32488         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32489         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32490         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32491         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32492         (_IO_file_close_internal, _IO_file_close_it_internal)
32493         (_IO_file_underflow_internal, _IO_file_overflow_internal)
32494         (_IO_file_init_internal, _IO_file_attach_internal)
32495         (_IO_file_fopen_internal, _IO_file_read_internal)
32496         (_IO_file_sync_internal, _IO_file_seek_internal)
32497         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32498         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32499         (_IO_str_underflow_internal, _IO_str_overflow_internal)
32500         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32501         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32502         (_IO_list_all_internal, _IO_link_in_internal)
32503         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32504         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32505         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32506         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32507         (_IO_do_write_internal, _IO_padn_internal)
32508         (_IO_getline_info_internal, _IO_getline_internal)
32509         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32510         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32511         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32512         (_IO_vfscanf_internal, _IO_vfprintf_internal)
32513         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32514         (_IO_init_internal, _IO_un_link_internal): Don't declare.
32515         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32516         with libc_hidden_ver, remove use of INTUSE.
32517         * libio/genops.c: Likewise.
32518         * libio/freopen.c: Likewise.
32519         * libio/freopen64.c: Likewise.
32520         * libio/iofclose.c: Likewise.
32521         * libio/iofdopen.c: Likewise.
32522         * libio/iofflush.c: Likewise.
32523         * libio/iofflush_u.c: Likewise.
32524         * libio/iofgets.c: Likewise.
32525         * libio/iofgets_u.c: Likewise.
32526         * libio/iofopen.c: Likewise.
32527         * libio/iofopncook.c: Likewise.
32528         * libio/iofread.c: Likewise.
32529         * libio/iofread_u.c: Likewise.
32530         * libio/ioftell.c: Likewise.
32531         * libio/iofwrite.c: Likewise.
32532         * libio/iogetline.c: Likewise.
32533         * libio/iogets.c: Likewise.
32534         * libio/iogetwline.c: Likewise.
32535         * libio/iopadn.c: Likewise.
32536         * libio/iopopen.c: Likewise.
32537         * libio/ioseekoff.c: Likewise.
32538         * libio/ioseekpos.c: Likewise.
32539         * libio/iosetbuffer.c: Likewise.
32540         * libio/iosetvbuf.c: Likewise.
32541         * libio/ioungetc.c: Likewise.
32542         * libio/ioungetwc.c: Likewise.
32543         * libio/iovdprintf.c: Likewise.
32544         * libio/iovsprintf.c: Likewise.
32545         * libio/iovsscanf.c: Likewise.
32546         * libio/memstream.c: Likewise.
32547         * libio/obprintf.c: Likewise.
32548         * libio/oldfileops.c: Likewise.
32549         * libio/oldiofclose.c: Likewise.
32550         * libio/oldiofdopen.c: Likewise.
32551         * libio/oldiofopen.c: Likewise.
32552         * libio/oldiopopen.c: Likewise.
32553         * libio/oldstdfiles.c: Likewise.
32554         * libio/putc.c: Likewise.
32555         * libio/setbuf.c: Likewise.
32556         * libio/setlinebuf.c: Likewise.
32557         * libio/stdfiles.c: Likewise.
32558         * libio/strops.c: Likewise.
32559         * libio/vasprintf.c: Likewise.
32560         * libio/vscanf.c: Likewise.
32561         * libio/vsnprintf.c: Likewise.
32562         * libio/vswprintf.c: Likewise.
32563         * libio/wfiledoalloc.c: Likewise.
32564         * libio/wfileops.c: Likewise.
32565         * libio/wgenops.c: Likewise.
32566         * libio/wmemstream.c: Likewise.
32567         * libio/wstrops.c: Likewise.
32568         * libio/__fpurge.c: Likewise.
32569         * libio/__fsetlocking.c: Likewise.
32570         * assert/assert.c: Likewise.
32571         * debug/fgets_chk.c: Likewise.
32572         * debug/fgets_u_chk.c: Likewise.
32573         * debug/fread_chk.c: Likewise.
32574         * debug/fread_u_chk.c: Likewise.
32575         * debug/gets_chk.c: Likewise.
32576         * debug/obprintf_chk.c: Likewise.
32577         * debug/vasprintf_chk.c: Likewise.
32578         * debug/vdprintf_chk.c: Likewise.
32579         * debug/vsnprintf_chk.c: Likewise.
32580         * debug/vsprintf_chk.c: Likewise.
32581         * malloc/mtrace.c: Likewise.
32582         * misc/error.c: Likewise.
32583         * misc/syslog.c: Likewise.
32584         * stdio-common/asprintf.c: Likewise.
32585         * stdio-common/fxprintf.c: Likewise.
32586         * stdio-common/getw.c: Likewise.
32587         * stdio-common/isoc99_fscanf.c: Likewise.
32588         * stdio-common/isoc99_scanf.c: Likewise.
32589         * stdio-common/isoc99_vfscanf.c: Likewise.
32590         * stdio-common/isoc99_vscanf.c: Likewise.
32591         * stdio-common/isoc99_vsscanf.c: Likewise.
32592         * stdio-common/printf-prs.c: Likewise.
32593         * stdio-common/printf_fp.c: Likewise.
32594         * stdio-common/printf_fphex.c: Likewise.
32595         * stdio-common/printf_size.c: Likewise.
32596         * stdio-common/putw.c: Likewise.
32597         * stdio-common/scanf.c: Likewise.
32598         * stdio-common/sprintf.c: Likewise.
32599         * stdio-common/tmpfile.c: Likewise.
32600         * stdio-common/vfprintf.c: Likewise.
32601         * stdio-common/vfscanf.c: Likewise.
32602         * stdlib/strfmon_l.c: Likewise.
32603         * sunrpc/openchild.c: Likewise.
32604         * sunrpc/xdr_stdio.c: Likewise.
32605         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32606         * sysdeps/mach/hurd/tmpfile.c: Likewise.
32607
32608 2012-05-24  Roland McGrath  <roland@hack.frob.com>
32609
32610         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32611
32612         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32613         in the third column, to generate for the shared library an IFUNC
32614         that uses _dl_vdso_vsym.
32615         * Makerules (COMPILE.c, compile-stdin.c): New variables.
32616         * Makeconfig (object-suffixes-noshared): New variable.
32617
32618         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32619         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32620         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32621         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32622
32623         [BZ #14132]
32624         * include/sys/time.h (__gettimeofday): Remove macro.
32625         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32626         * time/gettimeofday.c (__gettimeofday): Remove #undef.
32627         Remove INTDEF.
32628         (__gettimeofday): Add libc_hidden_def.
32629         (gettimeofday): Add libc_hidden_weak.
32630         * sysdeps/mach/gettimeofday.c: Likewise.
32631         * sysdeps/posix/gettimeofday.c: Likewise.
32632         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32633         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32634         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32635         (__gettimeofday_internal): Remove strong_alias.
32636         (__gettimeofday): Add libc_hidden_def.
32637         (gettimeofday): Add libc_hidden_weak.
32638         * sysdeps/unix/syscalls.list (gettimeofday):
32639         Remove __gettimeofday_internal alias.
32640
32641 2012-05-24  Daniel Jacobowitz  <drow@false.org>
32642             H.J. Lu  <hongjiu.lu@intel.com>
32643
32644         [BZ #12495]
32645         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32646         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32647         (largebin_index_32_big): New.
32648         (largebin_index): Use it for 16-byte alignment.
32649         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
32650         correction with front_misalign.
32651
32652 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32653
32654         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32655         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32656         Likewise.
32657         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32658         Likewise.
32659         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32660         Likewise.
32661         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32662         Likewise.
32663         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32664         Likewise.
32665         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32666         Likewise.
32667         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32668         Likewise.
32669         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32670         Likewise.
32671         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32672         Likewise.
32673         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32674         Likewise.
32675         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32676         Likewise.
32677         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32678         Likewise.
32679
32680         * scripts/data/c++-types-x32-linux-gnu.data: New file.
32681         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32682
32683 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32684
32685         [BZ #10846]
32686         [BZ #14036]
32687         * math/libm-test.inc (exp_test): Add test from bug 14036.
32688         (pow_test): Add test from bug 10846.
32689
32690         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32691         and other flags.
32692         (special_function): Do not include flags in test name.
32693         (parse_args): Likewise.
32694         * sysdeps/i386/fpu/libm-test-ulps: Update.
32695         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32696         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32697         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32699
32700         * math/gen-libm-test.pl (%beautify): Add entries for underflow
32701         exceptions.
32702         * math/libm-test.inc ("Philosophy"): Update comment about
32703         exception testing.
32704         (UNDERFLOW_EXCEPTION): New macro.
32705         (UNDERFLOW_EXCEPTION_OK): Likewise.
32706         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32707         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32708         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32709         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32710         (INVALID_EXCEPTION_OK): Update value.
32711         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32712         (OVERFLOW_EXCEPTION_OK): Likewise.
32713         (IGNORE_ZERO_INF_SIGN): Likewise.
32714         (test_exceptions): Handle underflow exceptions.
32715         (acos_test): Update for underflow exception expectations.
32716         (cexp_test): Likewise.
32717         (clog_test): Likewise.
32718         (clog10_test): Likewise.
32719         (csqrt_test): Likewise.
32720         (ctan_test): Likewise.
32721         (ctanh_test): Likewise.
32722         (exp_test): Likewise.
32723         (exp10_test): Likewise.
32724         (exp2_test): Likewise.
32725         (expm1_test): Likewise.
32726         (fma_test): Likewise.
32727         (j0_test): Likewise.
32728         (jn_test): Likewise.
32729         (nexttoward_test): Likewise.
32730         (pow_test): Likewise.
32731         (scalbn_test): Likewise.
32732         (scalbln_test): Likewise.
32733         (tan_test): Likewise.
32734         (y1_test): Likewise.
32735         * sysdeps/i386/fpu/libm-test-ulps: Update.
32736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32737
32738 2012-05-23  David S. Miller  <davem@davemloft.net>
32739
32740         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32741         (__libc_sigaction): Remove unused local variables.
32742
32743 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32744
32745         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32746
32747 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
32748
32749         mktime: avoid signed integer overflow
32750         * time/mktime.c (__mktime_internal): Do not mishandle the case
32751         where diff == INT_MIN.
32752
32753         mktime: simplify computation of average
32754         * time/mktime.c (ranged_convert): Use new time_t_avg function
32755         instead of rolling our own (probably-slower) code.
32756
32757         mktime: do not assume signed right shift propagates sign bit
32758         * time/mktime.c (isdst_differ): New static function.
32759         (__mktime_internal): No need to normalize tm_isdst now.
32760         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32761         tm_isdst values.
32762
32763         mktime: merge another wrapv change from gnulib
32764         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32765         from some compilers.
32766
32767         mktime: remove incorrect attempt at unusual arithmetics
32768         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32769         The code didn't really work on such machines anyway.
32770         (TYPE_MINIMUM): Assume two's complement.
32771         (twos_complement_arithmetic): Verify that long_int and time_t
32772         are two's complement (or unsigned, in the latter case).
32773
32774         mktime: check signed shifts on long_int and time_t, too
32775         * time/mktime.c (SHR): Check that shifts work as desired
32776         on the types long_int and time_t too, as SHR is used on
32777         such types.
32778
32779         mktime: do not assume 'long' is wide enough
32780         * time/mktime.c (verify): Move decl up.
32781         (long_int): New type.
32782         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32783         to remove assumption in the code that 'long' is wide enough to
32784         store year values.  This assumption is not true on x32 and on
32785         some non-glibc platforms.
32786
32787         mktime: merge wrapv change from gnulib
32788         * time/mktime.c (WRAPV): New macro.
32789         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32790         (guess_time_tm, __mktime_internal): Do not assume that signed
32791         integer overflow wraps around; modern compilers generate code
32792         where this assumption is no longer valid.
32793
32794 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32795
32796         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32797         Replace "jmp L(pseudo_end)" with "ret".
32798         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32799         Likewise.
32800
32801 2012-05-23  Andreas Jaeger  <aj@suse.de>
32802
32803         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32804         * sysdeps/unix/sysv/linux/poll.c: Remove file.
32805
32806 2012-05-23  Andreas Jaeger  <aj@suse.de>
32807             Maximilian Attems  <max@stro.at>
32808
32809         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32810         New macros.
32811
32812 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32813
32814         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32815         code so that pseudo_end is just ret and the stack pointer is
32816         correct also for static library in error case.
32817
32818 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
32819
32820         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32821         move to syscalls.list.
32822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32826
32827         * manual/install.texi (Running make install): Do not mention Linux
32828         kernel version for which pt_chown is not needed.
32829         (Linux): Do not mention problems with nscd with 2.0 kernels.
32830         * INSTALL: Regenerated.
32831
32832 2012-05-23  Andreas Jaeger  <aj@suse.de>
32833
32834         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32835         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32836         macro.
32837         * sysdeps/unix/sysv/linux/s390/bits/mman.h
32838         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32839         * sysdeps/unix/sysv/linux/sh/bits/mman.h
32840         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32841         * sysdeps/unix/sysv/linux/i386/bits/mman.h
32842         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32843         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32844         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32845         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32846         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32847         * sysdeps/unix/sysv/linux/bits/in.h
32848         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32849
32850 2012-05-22  Roland McGrath  <roland@hack.frob.com>
32851
32852         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32853         (PREPARE_VERSION): Just use assert instead, it will be elided
32854         under [NDEBUG] anyway.
32855
32856 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32857
32858         * sysdeps/unix/sysv/linux/Makefile: Include
32859         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32860         (sysdep_routines): Remove sysctl.
32861         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32862         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32863         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32864         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32865         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32866
32867 2012-05-22  Andreas Jaeger  <aj@suse.de>
32868
32869         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32870         that pseudo_end is just ret and the stack pointer is correct also
32871         for static library in error case.
32872
32873 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
32874
32875         [BZ #14122]
32876         * nss/nsswitch.c (defconfig_entries): New variable.
32877         (__nss_database_lookup): Don't leak defconfig entries.
32878         (nss_parse_service_list): Don't leak on error paths.
32879         (free_database_entries): New function.
32880         (free_defconfig): New function.
32881         (free_mem): Move common code to free_database_entries.
32882
32883 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32884
32885         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32886         Add arch_prctl.
32887         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32888
32889         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32890         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32891         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32892         New macro.
32893         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32894         (INTERNAL_SYSCALL_TYPES): Likewise.
32895         (LOAD_ARGS_TYPES_[1-6]): Likewise.
32896         (LOAD_REGS_TYPES_[1-6]): Likewise.
32897         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32898         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32899
32900 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32901
32902         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32903         copysignl for GLIBC_2_0.
32904         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32905         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32906         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32907         logbl for GLIBC_2_0.
32908         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32909         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32910
32911 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32912
32913         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32914         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32915
32916         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32917         Use "neg %eax".
32918
32919         * time/mktime.c: Update copyright years.
32920
32921 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
32922
32923         mktime: merge comment-quoting-style change from gnulib
32924         * time/mktime.c: Quote 'like this' in comments.
32925         The GNU coding standards suggest that we no longer quote `like this',
32926         as "`" and "'" are typically rendered asymmetrically nowadays.
32927         The typical gnulib style is to quote 'like this' when quoting
32928         code, and "like this" when quoting English.
32929
32930         * time/mktime.c (compile-command): Add "-I.".
32931
32932         mktime: merge mktime-internal.h change from gnulib
32933         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32934
32935         mktime: merge time_r change from gnulib
32936         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32937
32938         mktime: merge DEBUG change from gnulib
32939         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32940         case system <time.h> has a #define.
32941
32942         mktime: merge <sys/types.h> change from gnulib
32943         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32944         since <time.t> is now guaranteed to define time_t.
32945
32946         mktime: merge HAVE_CONFIG_H change from gnulib
32947         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32948
32949 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32950
32951         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32952         Use "neg %eax".
32953
32954         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32955         __rlim_t cast.
32956         (struct rusage): Use anonymous union to pad each field to
32957         __syscall_slong_t.
32958
32959 2012-05-21  David S. Miller  <davem@davemloft.net>
32960
32961         * Makefules (o-iterator): Remove .s cases.
32962         (compile-command.s): Delete.
32963         (COMPILE.s): Delete.
32964         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32965
32966 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
32967
32968         * configure.in (libc_cv_predef_stack_protector): Only consider
32969         "foobar" and "__stack_chk_fail" lines in libc_undefs.
32970         * configure: Regenerated.
32971
32972 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
32973
32974         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32975         New macro.  Use R*LP on int and pointer.
32976         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
32977         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32978         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
32979         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32980
32981         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32982         [__WORDSIZE_TIME64_COMPAT32] instead of
32983         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32984         (struct utmp): Likewise.
32985         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32986         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32987         Renamed to ...
32988         (__WORDSIZE_TIME64_COMPAT32): This.
32989         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32990         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32991         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32992         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32993         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32994         (__WORDSIZE_TIME64_COMPAT32): New macro.
32995
32996 2012-05-21  Andreas Jaeger  <aj@suse.de>
32997
32998         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32999         only if [SHARED]. Add prototype for __wcschr_ia32.
33000
33001 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33002
33003         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33004         of %rbp unmolested in the jmp_buf while mangling the low bits.
33005         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33006         unmolested high bits of %rbp while demangling the low bits.
33007         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33008
33009 2012-05-21  Andreas Jaeger  <aj@suse.de>
33010
33011         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33012         * sunrpc/svc_simple.c: Use it for registerrpc.
33013         * sunrpc/xcrypt.c: Use it for passwd2des.
33014
33015         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33016
33017 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33018
33019         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33020         Don't define if [__SYSCALL_WORDSIZE != 32].
33021         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33022         New macro.
33023
33024 2012-05-21  Bruno Haible  <bruno@clisp.org>
33025             Andreas Jaeger  <aj@suse.de>
33026
33027         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33028         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33029         inptr and inend for must_buffer_ch.
33030         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33031         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33032         * stdio-common/Makefile (tests): Remove bug15.
33033         (bug15-ENV): Remove macro.
33034         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33035         anymore.
33036
33037 2012-05-19  Andreas Jaeger  <aj@suse.de>
33038             Roland McGrath  <roland@hack.frob.com>
33039
33040         * manual/contrib.texi: Completely rewritten. It contains now an
33041         alphabetical list of contributors and their contributions.
33042
33043 2012-05-21  Richard Henderson  <rth@twiddle.net>
33044
33045         * misc/getauxval.c (__getauxval): Use unsigned long int.
33046         * misc/sys/auxv.h: Include <sys/cdefs.h>.
33047         (getauxval): Use unsigned long int.
33048
33049 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33050
33051         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33052
33053 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33054
33055         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33056         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33057         __alignof__ (long double).
33058
33059 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33060
33061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33062
33063 2012-05-20  Richard Henderson  <rth@twiddle.net>
33064
33065         * misc/getauxval.c: New file.
33066         * misc/sys/auxv.h: New file.
33067         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33068         (routines): Add getauxval.
33069         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33070         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33071         * elf/dl-sysdep.c (_dl_auxv): Remove.
33072         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33073         * elf/dl-support.c (_dl_auxv): New variable.
33074         (_dl_aux_init): Initialize it.
33075         * manual/startup.texi (Auxiliary Vector): New node.
33076         * sysdeps/generic/bits/hwcap.h: New file.
33077         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33078         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
33079         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33080         * sysdeps/sparc/sysdep.h: ... here.  Include it.
33081         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33082         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33084         Update.
33085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33086         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33087         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33088         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33089         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33090         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33091         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33092         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33093
33094 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33095
33096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33097
33098 2012-05-19  David S. Miller  <davem@davemloft.net>
33099
33100         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33101
33102 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33103
33104         [BZ #14123]
33105         * math/s_ccosh.c: Include <float.h>
33106         (__ccosh): Avoid internal overflow calculating sinh and cosh
33107         values before multiplying by sin and cos values.
33108         * math/s_ccoshf.c: Likewise.
33109         * math/s_ccoshl.c: Likewise.
33110         * math/s_csin.c: Likewise.
33111         * math/s_csinf.c: Likewise.
33112         * math/s_csinl.c: Likewise.
33113         * math/s_csinh.c: Likewise.
33114         * math/s_csinhf.c: Likewise.
33115         * math/s_csinhl.c: Likewise.
33116         * math/libm-test.inc (ccos_test): Add more tests.
33117         (ccosh_test): Likewise.
33118         (csin_test): Likewise.
33119         (csinh_test): Likewise.
33120         * sysdeps/i386/fpu/libm-test-ulps: Update.
33121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33122
33123 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
33124
33125         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33126         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33127
33128         * sysdeps/x86_64/x32/_itoa.h: Add comment.
33129
33130 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33131
33132         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33133         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33134         * sysdeps/powerpc/soft-fp/Versions: Likewise.
33135         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33136         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33137         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33138         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33139         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33140         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33141         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33142         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33143         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33144         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33145         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33146         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33147         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33148         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33149         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33150         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33151         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33152         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33153         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33154         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33155         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33156         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33157         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33158         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33159         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33160         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33161         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33162         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33163
33164 2012-05-18  Andreas Jaeger  <aj@suse.de>
33165
33166         * csu/.gitignore: Delete.
33167
33168 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33169
33170         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33171         (timex): Use __syscall_slong_t.
33172
33173 2012-05-18  Andreas Jaeger  <aj@suse.de>
33174             Carlos O'Donell  <carlos_odonell@mentor.com>
33175
33176         * manual/install.texi (Configuring and compiling): Update
33177         description about files modified in the source directory.
33178         * INSTALL: Regenerated.
33179
33180 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33181
33182         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33183         value.  Use "or" to set return value to -1.
33184         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33185         negate return value.
33186
33187 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33188
33189         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33190         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33191         failure if the compiler has Graphite support disabled.
33192         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33193         Likewise.
33194         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33195         (CFLAGS-memmove.c): Likewise.
33196         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33197         Likewise.
33198
33199 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33200
33201         * sysdeps/x86_64/x32/_itoa.h: New file.
33202
33203         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33204         getdents system call only if kernel and user dirents have the
33205         same d_ino and d_off.
33206
33207         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33208         LLONG_MAX != LONG_MAX.
33209         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33210         (_fitoa_word): Likewise.
33211
33212         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33213         years.
33214         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33215         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33216         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33217
33218         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33219         include <bits/wordsize.h>.  Check __x86_64__ instead of
33220         __WORDSIZE.
33221         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33222         if __x86_64__ is defined.  Use anonymous union on fpstate.
33223
33224         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33225         anonymous union.
33226
33227 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
33228
33229         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33230         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33231         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33232         Refer to _rtld_local_ro instead of _rtld_global_ro.
33233         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33234         Likewise.
33235         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33236         Likewise.
33237         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33238         Likewise.
33239         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33240         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33241         of _rtld_global, and rtld_progname instead of _dl_argv[0].
33242
33243         * sysdeps/powerpc/powerpc32/dl-machine.c
33244         (__elf_machine_runtime_setup) [PROF]: Don't reference
33245         _dl_prof_resolve.
33246
33247 2012-05-18  Andreas Jaeger  <aj@suse.de>
33248
33249         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33250         function only available for GCCs before 3.4 since GCC 3.4
33251         introduced a builtin.
33252         (lrint): Likewise.
33253         (llrintf): Likewise.
33254         (llrint): Likewise.
33255         (fmaxf): Likewise.
33256         (fmax): Likewise.
33257         (fminf): Likewise.
33258         (fmin): Likewise.
33259         (rint): Likewise.
33260         (rintf): Likewise.
33261         (nearbyint): Likewise.
33262         (nearbyintf): Likewise.
33263         (ceil): Likewise.
33264         (ceilf): Likewise.
33265         (floor): Likewise.
33266         (floorf): Likewise.
33267
33268 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33269
33270         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33271         on both fields and cast pointer to __syscall_ulong_t.
33272
33273         * bits/types.h (__fsword_t): New type.
33274         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33275         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33276         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33277         (__FSWORD_T_TYPE): Likewise.
33278         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33279         (__FSWORD_T_TYPE): Likewise.
33280         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33281         (__FSWORD_T_TYPE): Likewise.
33282         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33283         (__FSWORD_T_TYPE): Likewise.
33284         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33285         __SWORD_TYPE with __fsword_t.
33286         (statfs64): Likewise.
33287
33288 2012-05-17  David S. Miller  <davem@davemloft.net>
33289
33290         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33291
33292 2012-05-17  Andreas Jaeger  <aj@suse.de>
33293
33294         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33295         warning.
33296
33297 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33298
33299         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33300
33301 2012-05-17  Andreas Jaeger  <aj@suse.de>
33302
33303         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33304         when it is used.
33305
33306 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33307
33308         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33309
33310 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33311
33312         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33313         * sysdeps/x86_64/tst-mallocalign1.c: New file.
33314
33315 2012-05-17  Andreas Jaeger  <aj@suse.de>
33316             Carlos O'Donell  <carlos_odonell@mentor.com>
33317
33318         [BZ #14059]
33319         * sysdeps/x86_64/multiarch/init-arch.h
33320         (bit_YMM_Usable): Rename to...
33321         (bit_AVX_Usable): ... this.
33322         (bit_FMA4_Usable): New macro.
33323         (bit_XMM_state): New macro.
33324         (bit_YMM_state): New macro.
33325         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33326         [__ASSEMBLER__] (index_AVX_Usable): ... this.
33327         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33328         (CPUID_OSXSAVE): New macro.
33329         (CPUID_AVX): New macro.
33330         (CPUID_FMA4): New macro.
33331         (index_YMM_Usable): Rename to...
33332         (index_AVX_Usable): ... this.
33333         (HAS_AVX): Use HAS_ARCH_FEATURE.
33334         (HAS_FMA4): Likewise.
33335         (HAS_YMM_USABLE): Remove.
33336         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33337         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33338         are present.
33339         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33340         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33341         * sysdeps/x86_64/multiarch/Makefile: Likewise.
33342         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33343         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33344
33345 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33346
33347         * math/libm-test.c: Support platforms without multiple rounding modes.
33348         * math/bug-nextafter.c: Support platforms without FP exceptions.
33349         * math/bug-nexttoward.c: Likewise.
33350         * math/test-fenv.c: Likewise.
33351         * math/test-misc.c: Likewise.
33352         * stdlib/bug-getcontext.c: Likewise.
33353
33354 2012-05-17  Andreas Jaeger  <aj@suse.de>
33355
33356         * manual/examples/search.c (critter_cmp): Change signature to
33357         avoid warnings.
33358         * manual/string.texi (Collation Functions): Likewise.
33359
33360 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33361
33362         * bits/types.h: Fold copyright years.
33363         * bits/typesizes.h: Likewise.
33364         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33365         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33366         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33367         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33368         * time/time.h: Likewise.
33369
33370 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
33371
33372         [BZ #208]
33373         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33374         in instead of returning them.  Return void.
33375         (__libc_mallinfo): Accumulate over all arenas.
33376         (__malloc_stats): Adjust for change in int_mallinfo interface.
33377
33378 2012-05-16  Roland McGrath  <roland@hack.frob.com>
33379
33380         [BZ #10375]
33381         * configure.in (NM): Add AC_CHECK_TOOL for it.
33382         (libc_extra_cflags): New substituted variable.
33383         Check for -fstack-protector being used implicitly.
33384         * configure: Regenerated.
33385         * config.make.in (config-extra-cflags): New variable,
33386         gets @libc_extra_cflags@.
33387         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33388
33389         [BZ #10375]
33390         * configure.in: Check for _FORTIFY_SOURCE being predefined.
33391         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33392         * configure: Regenerated.
33393         * config.make.in (CPPUNDEFS): New substituted variable.
33394         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33395         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33396         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33397
33398 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33399
33400         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33401         (mq_attr): Use __syscall_slong_t.
33402
33403 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33404
33405         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33406         Check __x86_64__ instead of __WORDSIZE.
33407         (_STAT_VER_LINUX): Likewise.
33408         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
33409         __syscall_ulong_t and __syscall_slong_t.
33410         (stat64): Likewise.
33411
33412 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33413
33414         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33415
33416 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33417
33418         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33419
33420 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33421
33422         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33423         __syscall_ulong_t.
33424
33425         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33426         include <bits/wordsize.h>.  Check __x86_64__ instead of
33427         __WORDSIZE.
33428         (greg_t): Use "__extension__ long long int" if __x86_64__ is
33429         defined.
33430         (mcontext_t): Replace "unsigned long" with "unsigned long long".
33431
33432         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33433         include <bits/wordsize.h>.  Check __x86_64__ instead of
33434         __WORDSIZE.
33435         (user_regs_struct): Use "__extension__ unsigned long long"
33436         instead of "unsigned long" if __x86_64__ is defined.
33437         (user): Likewise.  Pad after pointer field if __ILP32__ is
33438         defined.
33439
33440 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
33441
33442         * configure.in (makeinfo): Require version 4.5 or later.  Allow
33443         versions 5 to 9.
33444         * configure: Regenerated.
33445         * manual/install.texi (texinfo): Increase version requirement to
33446         4.5 or later.
33447         * INSTALL: Regenerated.
33448
33449         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33450
33451 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33452
33453         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33454
33455         * sysdeps/x86_64/x32/ffs.c: New file.
33456
33457         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33458         __syscall_ulong_t.
33459         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33460         defined.  Use __syscall_ulong_t.
33461         (shminfo): Use __syscall_ulong_t.
33462         (shm_info): Likewise.
33463
33464         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33465         __syscall_ulong_t.
33466
33467         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33468         <bits/wordsize.h>.
33469         (msgqnum_t): Use __syscall_ulong_t.
33470         (msglen_t): Likewise.
33471         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
33472         __syscall_ulong_t.
33473
33474         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33475         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33476
33477         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33478
33479         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33480         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33481
33482         * sysvipc/sys/msg.h (msgbuf): Replace long int with
33483         __syscall_slong_t.
33484
33485         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33486         include <bits/wordsize.h>.  Check __x86_64__ instead of
33487         __WORDSIZE.
33488
33489         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33490         "unsigned long long int" if __x86_64__ is defined.
33491         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33492
33493         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33494         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33495         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33496
33497         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33498         <stdint.h>.
33499         (GET_PC): Cast to uintptr_t first.
33500         (GET_FRAME): Likewise.
33501         (GET_STACK): Likewise.
33502
33503         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33504         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33505         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33506         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33507         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33508         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33509         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33510         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33511         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33512         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33513         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33514         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33515         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33516         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33517         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33518         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33519         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33520         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33521         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33522         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33523         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33524         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33525         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33526         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33527         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33528         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33529         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33530         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33531         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33532
33533 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
33534
33535         * Makerules (+depfiles): Also collect depfiles from .oS in
33536         $(extra-objs).
33537         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33538         .oS, $(libnldbl-routines)).
33539
33540         * Makerules (native-compile-mkdep-flags): Define.
33541         * sunrpc/Makefile (extra-objs): Add $(addprefix
33542         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33543         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33544         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
33545         calling $(make-target-directory).
33546
33547 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33548
33549         * bits/types.h (__snseconds_t): Removed.
33550         * time/time.h (struct timespec): Replace __snseconds_t with
33551         __syscall_slong_t.
33552         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33553         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33554         Likewise.
33555         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33556         (__SNSECONDS_T_TYPE): Likewise.
33557         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33558         (__SNSECONDS_T_TYPE): Likewise.
33559         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33560         (__SNSECONDS_T_TYPE): Likewise.
33561
33562 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33563
33564         * sysdeps/mach/hurd/bits/typesizes.h
33565         (__SYSCALL_SLONG_TYPE): New macro.
33566         (__SYSCALL_ULONG_TYPE): Likewise.
33567
33568 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33569
33570         * bits/types.h (__syscall_slong_t): New type.
33571         (__syscall_ulong_t): Likewise.
33572
33573         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33574         (__SYSCALL_ULONG_TYPE): Likewise.
33575         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33576         (__SYSCALL_SLONG_TYPE): Likewise.
33577         (__SYSCALL_ULONG_TYPE): Likewise.
33578         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33579         (__SYSCALL_SLONG_TYPE): Likewise.
33580         (__SYSCALL_ULONG_TYPE): Likewise.
33581         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33582         (__SYSCALL_SLONG_TYPE): Likewise.
33583         (__SYSCALL_ULONG_TYPE): Likewise.
33584
33585 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33586
33587         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33588         Add sigaltstack-offsets.sym.
33589         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33590         <sigaltstack-offsets.h>.
33591         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
33592         longjmp_msg pointer.
33593         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
33594         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33595         signal stack.
33596         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33597
33598 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
33599
33600         * elf/stackguard-macros.h: Remove file.
33601         * sysdeps/generic/stackguard-macros.h: New file.
33602         * sysdeps/i386/stackguard-macros.h: Likewise.
33603         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33604         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33605         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33606         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33607         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33608         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33609         * sysdeps/x86_64/stackguard-macros.h: Likewise.
33610         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33611         <elf/stackguard-macros.h>.
33612
33613         [BZ #14109]
33614         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33615         __aligned__ in attribute.
33616         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33617         (gregset_t): Likewise.
33618
33619 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33620
33621         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33622         * sysdeps/x86_64/64/Implies-after: Here.  New file.
33623         * sysdeps/x86_64/x32/Implies-after: New file.
33624
33625 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33626
33627         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33628         and access return value for _dl_profile_fixup.  Use R10_LP to
33629         load frame size.
33630
33631 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33632
33633         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33634
33635 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33636
33637         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33638         * sysdeps/x86_64/x32/sysdep.h: New file.
33639
33640 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33641
33642         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33643         * sysdeps/x86_64/setjmp.S: Likewise.
33644
33645 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33646
33647         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33648         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33649         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33650         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33651         remove unused global constant.
33652
33653 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
33654
33655         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33656         include of <not-cancel.h>.
33657
33658 2012-05-15  Roland McGrath  <roland@hack.frob.com>
33659
33660         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33661
33662 2012-05-15  Jeff Law  <law@redhat.com>
33663             Andreas Jaeger  <aj@suse.de>
33664
33665         [BZ #13594]
33666         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33667         out from...
33668         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33669         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33670         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33671         code changing __hst_map_handle.map.
33672
33673 2012-05-15  Roland McGrath  <roland@hack.frob.com>
33674
33675         * configure.in (sysnames): Look for Implies-before and Implies-after
33676         files.
33677         * configure: Regenerated.
33678
33679 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33680
33681         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33682         8-byte data alignment with LP_SIZE alignment.
33683
33684 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33685
33686         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33687         into R10_LP.
33688
33689 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33690
33691         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33692
33693 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33694
33695         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33696         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33697         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33698         Likewise.
33699         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33700
33701 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33702
33703         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33704         (stackinfo_sub_sp): Likewise.
33705
33706 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33707
33708         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33709         RAX_LP.
33710
33711 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33712
33713         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33714         into R*_LP.
33715
33716 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33717
33718         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33719         sizes into R*_LP.
33720
33721 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33722
33723         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33724
33725 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33726
33727         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33728         into R11_LP and load __x86_64_shared_cache_size_half into
33729         R8_LP.
33730
33731 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33732
33733         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33734         R8_LP.
33735
33736 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33737
33738         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33739         logb for POWER7.
33740         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33741         logbf for POWER7.
33742         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33743         logbl for POWER7.
33744         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33745         powerpc32/power7/fpu/s_logb.c via #include.
33746         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33747         powerpc32/power7/fpu/s_logbf.c via #include.
33748         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33749         powerpc32/power7/fpu/s_logbl.c via #include.
33750
33751 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
33752
33753         * README.libm: Remove file.
33754
33755 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33756
33757         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33758         count for x32.  Use R*_LP and omit operand-size suffix.
33759
33760 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33761
33762         * shlib-versions: Move x86_64-.*-linux.* entries to ...
33763         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
33764         * sysdeps/x86_64/x32/shlib-versions: New file.
33765
33766 2012-05-14  Roland McGrath  <roland@hack.frob.com>
33767
33768         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33769         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33770         Use _dl_fatal_printf instead.
33771
33772 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
33773
33774         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33775         set if not set by the user.  Do not allow for being unset.
33776         * sysdeps/unix/sysv/linux/configure: Regenerated.
33777
33778 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33779
33780         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33781         the `q' suffix from lea and replace .quad with ASM_ADDR.
33782
33783 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33784
33785         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33786         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
33787         instead of $17.
33788         (PTR_DEMANGLE): Likewise.
33789
33790 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33791
33792         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33793         (LP_OP): Likewise.
33794         (ASM_ADDR): Likewise.
33795         (RAX_LP): Likewise.
33796         (RBP_LP): Likewise.
33797         (RBX_LP): Likewise.
33798         (RCX_LP): Likewise.
33799         (RDI_LP): Likewise.
33800         (RSI_LP): Likewise.
33801         (RSP_LP): Likewise.
33802         (R8_LP): Likewise.
33803         (R9_LP): Likewise.
33804         (R10_LP): Likewise.
33805         (R10_LP): Likewise.
33806         (R11_LP): Likewise.
33807         (R12_LP): Likewise.
33808         (R13_LP): Likewise.
33809         (R14_LP): Likewise.
33810         (R15_LP): Likewise.
33811
33812 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33813
33814         * sysdeps/x86_64/x32/dl-machine.h: New file.
33815
33816 2012-05-14  Andreas Jaeger  <aj@suse.de>
33817
33818         * manual/Makefile (subdir): Remove export of subdir.
33819         (all): Remove target.
33820         (.PHONY): Remove all from list.
33821         (mkinstalldirs): Remove.
33822         (.PHONY): Remove installdirs from list.
33823         ($(inst_infodir)/libc.info): Use make-target-directory.
33824         (installdirs): Remove.
33825         (subdir_%): Remove.
33826         (glibc-targets): Remove.
33827         (lib): Remove.
33828         (stubs): Remove.
33829         ($(objpfx)stubs ../po/manual.pot): Remove.
33830         ($(objpfx)stamp%): Remove.
33831         (make-target-directory): Remove.
33832         (subdir_install): Remove.
33833         (routines): Remove.
33834         (aux): Remove.
33835         (sources): Remove.
33836         (objects): Remove.
33837         (headers): Remove.
33838
33839         [BZ #13750]
33840         * manual/.gitignore: Remove, it's not needed anymore.
33841         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33842         all files in it.
33843         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33844         directory.
33845         (texis): Renamed to $(objpfx)texis.
33846         (texis-path): New, contains path to generated files.
33847         (chapters.%): Use texis-path for complete path, add extra argument
33848         libc-texinfo.sh.
33849         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33850         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33851         (summary,texi, stamp-summary): Use complete path of
33852         files. Generate files in build dir.
33853         (dir-add.texi): Build in build dir.
33854         (libm-err.texi,stamp-libm-err): Likewise.
33855         (version.texi, stamp-version): Likewise.
33856         (.%c.texi): Likewise.
33857         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33858         (mostlyclean): Remove target.
33859         (realclean): Remove target.
33860         (generated): Add new variable with contents from mostlyclean and
33861         realclean, remove entries duplicated in common-mostlyclean, add
33862         stamp-libm-err and stamp-version.
33863         (generated-dirs): Add libc directory.
33864         ($(inst_infodir)/libc.info): Install files from build dir.
33865
33866         * manual/install.texi (Configuring and compiling): Adjust since
33867         the info files are not part of the tar ball anymore.
33868
33869 2012-05-14  Andreas Jaeger  <aj@suse.de>
33870
33871         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33872         variable.
33873
33874 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
33875
33876         [BZ #13717]
33877         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33878         to 2.2.0 where earlier.
33879         * sysdeps/unix/sysv/linux/configure: Regenerated.
33880         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33881         Remove conditional code.
33882         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33883         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33884         Remove conditional code.
33885         [!__NR_lchown]: Likewise.
33886         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33887         [__NR_lchown]: Likewise.
33888         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33889         comment referencing __ASSUME_LCHOWN_SYSCALL.
33890         * sysdeps/unix/sysv/linux/i386/sigaction.c
33891         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33892         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33893         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33894         Remove conditional code.
33895         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33896         (__protocol_available): Remove #if 0 code.
33897         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33898         conditional code.
33899         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33900         * sysdeps/unix/sysv/linux/kernel-features.h
33901         (__ASSUME_GETCWD_SYSCALL): Don't define.
33902         (__ASSUME_REALTIME_SIGNALS): Likewise.
33903         (__ASSUME_PREAD_SYSCALL): Likewise.
33904         (__ASSUME_PWRITE_SYSCALL): Likewise.
33905         (__ASSUME_POLL_SYSCALL): Likewise.
33906         (__ASSUME_LCHOWN_SYSCALL): Likewise.
33907         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33908         non-SPARC.
33909         (__ASSUME_SIOCGIFNAME): Don't define.
33910         (__ASSUME_MSG_NOSIGNAL): Likewise.
33911         (__ASSUME_SENDFILE): Define unconditionally.
33912         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33913         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33914         conditional code.
33915         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33916         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33917         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33918         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33919         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33920         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33921         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33923         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33924         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33926         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33927         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33929         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33930         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33932         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33933         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33935         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33936         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33938         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33939         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33941         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33942         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33944         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33945         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33946         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33947         Remove conditional code.
33948         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33949         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33950         Remove conditional code.
33951         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33952         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33953         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33954         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33955         Remove conditional code.
33956         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33957         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33958         Remove conditional code.
33959         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33960         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33961         Remove conditional code.
33962         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33963         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33964         Remove conditional code.
33965         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33966         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33967         Remove conditional code.
33968         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33969         * sysdeps/unix/sysv/linux/sh/pwrite64.c
33970         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33971         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33972         * sysdeps/unix/sysv/linux/sigaction.c
33973         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33974         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33975         * sysdeps/unix/sysv/linux/sigpending.c
33976         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33977         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33978         * sysdeps/unix/sysv/linux/sigprocmask.c
33979         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33980         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33981         * sysdeps/unix/sysv/linux/sigsuspend.c
33982         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33983         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33984         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33985         (__libc_missing_rt_sigs): Remove.
33986         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33987         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33988         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33989         Remove conditional code.
33990         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33991         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33992         return 1.
33993         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33994         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33995         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33996         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33997
33998 2012-05-14  Andreas Jaeger  <aj@suse.de>
33999
34000         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34001         it's not used in glibc.
34002         (__coshm1): Likewise.
34003         (__acosh1p): Likewise.
34004         (__sgn): Likewise.
34005
34006         * manual/string.texi (Copying and Concatenation): Add missing
34007         variable in concat example.
34008         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34009
34010 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34011
34012         [BZ #14103]
34013         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34014         __builtin_clzl with __builtin_clzll.
34015
34016 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34017
34018         [BZ #14104]
34019         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34020         libc_freeres_ptr.
34021
34022 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34023
34024         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34025         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34026         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34027         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34028
34029 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
34030
34031         * NEWS: Update ia64 info.
34032
34033 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
34034
34035         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34036         used as bcopy.
34037
34038 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
34039
34040         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34041         * sysdeps/unix/syscalls.list (dup3): Likewise.
34042         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34043         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34044
34045 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34046
34047         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34048         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34049
34050 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34051
34052         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34053         thread pointer.
34054         (TLS_IE): Use mov/add instead of movq/addq to load thread
34055         pointer.
34056         (TLS_GD_PREFIX): New.
34057         (TLS_GD): Use it.
34058
34059 2012-05-11  David S. Miller  <davem@davemloft.net>
34060
34061         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34062         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34063         (_FPU_SETCW): Likewise.
34064
34065 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34066
34067         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34068         is 32-byte aligned.
34069
34070 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
34071
34072         [BZ #11837]
34073         * iconvdata/gb18030.c: Update tables.
34074         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
34075         characters specially.
34076         (BODY for TO_LOOP): Add encoding of missing ranges.
34077
34078 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
34079
34080         [BZ #13673]
34081         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34082         * sysdeps/mach/hurd/dup3.c: Likewise.
34083         * sysdeps/mach/hurd/readlinkat.c: Likewise.
34084         * sysdeps/powerpc/memmove.c:: Likewise.
34085
34086 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34087
34088         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34089         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34090
34091 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34092
34093         * elf/elf.h (R_X86_64_RELATIVE64): New.
34094         (R_X86_64_NUM): Updated.
34095         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34096         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
34097         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34098         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34099         tst-quad1pie tst-quad2pie
34100         (modules-names): Add tst-quadmod1 tst-quadmod2.
34101         ($(objpfx)tst-quad1): New dependency.
34102         ($(objpfx)tst-quad2): Likewise.
34103         ($(objpfx)tst-quad1pie): Likewise.
34104         ($(objpfx)tst-quad2pie): Likewise.
34105         * sysdeps/x86_64/tst-quad1.c: New file.
34106         * sysdeps/x86_64/tst-quad1pie.c: New file.
34107         * sysdeps/x86_64/tst-quad2.c: Likewise.
34108         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34109         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34110         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34111         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34112         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34113
34114 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34115
34116         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34117         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34118         * streams/stropts.h (t_scalar_t): Define type.
34119
34120         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34121         (_PATH_PRESERVE): Set to "/var/lib".
34122         (_PATH_RWHODIR): Set to "/var/spool/rwho".
34123
34124         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34125         instead of int.
34126
34127         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34128         if __dir_mkfile succeeded.
34129
34130         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34131         checking for _hurd_dtablesize.  Unlock it right after having
34132         finished _hurd_dtable allocation.
34133
34134 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34135
34136         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34137         * sysdeps/mach/hurd/configure: Regenerated.
34138         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34139         special-casing to...
34140         * sysdeps/gnu/configure.in: ... this new file.
34141         * sysdeps/unix/sysv/linux/configure: Regenerated.
34142         * sysdeps/gnu/configure: New generated file.
34143
34144         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34145         for Linux: use nsec instead of usec, as well as:
34146         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34147         members of type struct timespec.
34148         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34149         New macros.
34150         (struct stat64): Likewise.
34151         (_STATBUF_ST_NSEC): New macro.
34152         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34153
34154         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34155         __strtoul_internal rather than strtoul.
34156
34157 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34158
34159         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34160         and reject them.
34161
34162 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34163
34164         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34165         which preserves existing values.
34166         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34167
34168 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34169
34170         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34171         TIMEOUT values.  Return EINVAL for NFDS values either negative or
34172         greater than FD_SETSIZE.
34173
34174 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34175
34176         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34177         allocated, call __vm_protect to finish enabling the existing space, and
34178         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34179         allocate the remainder.
34180
34181 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34182
34183         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34184         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
34185
34186 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34187
34188         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34189         sysdeps/mach/hurd/readlink.c.
34190
34191         * posix/tst-sysconf.c (posix_options): Only use
34192         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34193         _POSIX_SYNCHRONIZED_IO when they are defined
34194         * sysdeps/mach/hurd/bits/posix_opt.h:
34195         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34196         (_XOPEN_REALTIME): Undefine macro.
34197         (_XOPEN_REALTIME_THREADS): Undefine macro.
34198         (_XOPEN_SHM): Undefine macro.
34199         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34200         macro to -1.
34201         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34202         macro to -1.
34203         (_POSIX_ASYNC_IO): Undefine macro.
34204         (_POSIX_PRIORITIZED_IO): Undefine macro.
34205         (_POSIX_SPIN_LOCKS): Define macro to -1.
34206
34207         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34208         SA_NODEFER, SA_RESETHAND.
34209         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34210         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34211         F_DUPFD_CLOEXEC.
34212
34213 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34214
34215         * elf/Makefile (pldd-modules): Define unconditionally.
34216
34217 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34218
34219         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34220
34221 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34222
34223         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34224         Return ENOENT when name is empty.
34225         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34226
34227 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34228
34229         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34230
34231         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34232
34233 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34234
34235         Fix mlock in all cases except non-readable pages.
34236         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34237         instead of VM_PROT_ALL as parameter to __vm_wire function.
34238
34239         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34240         (__mkdir): When path is `/', just fail with EEXIST.
34241         * sysdeps/mach/hurd/mkdirat.c: Likewise.
34242
34243 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34244
34245         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34246         <sys/uio.h> (for writev).
34247         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34248         and <sys/param.h> (for MIN).
34249
34250 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34251
34252         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34253         REQUESTED_TIME.  Properly set the remaining time and return EINTR
34254         if interrupted.
34255
34256 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34257
34258         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34259         Depend on against $(link-rpcuserlibs).
34260
34261 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34262
34263         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34264         (__libc_stack_end): Do not use attribute_relro.
34265         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34266         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34267         to libthread-provided value.
34268         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34269         attribute_relro.
34270
34271 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34272
34273         [BZ #3748]
34274         * bits/libc-lock.h (__libc_once_get): New macro.
34275         * sysdeps/mach/bits/libc-lock.h: Likewise.
34276         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34277         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34278         instead of using implementation details.
34279
34280         * libio/fileops.c: Unconditionally include <kernel-features.h>.
34281         * libio/freopen.c: Likewise.
34282         * libio/freopen64.c: Likewise.
34283         * misc/syslog.c: Likewise.
34284         * nscd/connections.c: Likewise.
34285         * nscd/netgroupcache.c: Likewise.
34286         * sysdeps/posix/getcwd.c: Likewise.
34287
34288 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34289
34290         * math/w_ilogbf.c: Add #include <limits.h>.
34291
34292 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34293
34294         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34295         path instead of returning without unlocking.
34296
34297         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34298         immediate-write ioctls.
34299         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34300
34301 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34302
34303         * sysdeps/mach/hurd/i386/init-first.c (init): Use
34304         __builtin_frame_address instead of making assumptions about the
34305         location of the return address relative to DATA.  Force early load of
34306         the return address.
34307         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34308         __builtin_frame_address.
34309
34310         dup3 for GNU Hurd.
34311         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34312         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
34313         implement dup3 and do some further code clean-ups.
34314         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34315         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34316
34317 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34318
34319         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34320
34321         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34322         HURD_CRITICAL_END around holding _hurd_dtable_lock.
34323         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34324         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34325         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34326         d->port.lock.
34327
34328         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34329         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
34330         when handler == SIG_ERR, not when handler != SIG_ERR.
34331
34332 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34333
34334         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34335         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34336         definitions.
34337
34338         accept4 for GNU Hurd.
34339         * include/sys/socket.h (__libc_accept4): New prototype.
34340         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
34341         to implement __libc_accept4.
34342         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34343         __libc_accept4.
34344         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34345
34346         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34347         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34348         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34349         signal-defines.sym.
34350
34351 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34352
34353         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34354
34355 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34356
34357         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34358         assertion on O_CLOEXEC flag.
34359         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34360         * hurd/intern-fd.c: Likewise.
34361         * hurd/port2fd.c: Likewise.
34362
34363 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34364
34365         [BZ #3906]
34366         * bits/in.h (IPV6_PKTINFO): Define new macro.
34367         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34368
34369 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34370
34371         [BZ #13954]
34372         [BZ #13955]
34373         [BZ #13956]
34374         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34375         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34376         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34377         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34378         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34379         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34380         * math/libm-test.inc (logb_test) : Additional logb tests.
34381
34382 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
34383             Andreas Jaeger  <aj@suse.de>
34384
34385         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34386         * configure: Regenerated.
34387         * config.h.in (LINK_OBSOLETE_RPC): New macro.
34388         * config.make.in (link-obsolete-rpc): New substituted variable.
34389         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34390         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34391         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34392         (shared-only-routines): Don't set it under [link-obsolete-rpc],
34393         so that libc.a contains the symbols.
34394         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34395         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34396         * sunrpc/auth_none.c: Likewise.
34397         * sunrpc/auth_unix.c: Likewise.
34398         * sunrpc/authdes_prot.c: Likewise.
34399         * sunrpc/authuxprot.c: Likewise.
34400         * sunrpc/clnt_gen.c: Likewise.
34401         * sunrpc/clnt_perr.c: Likewise.
34402         * sunrpc/clnt_raw.c: Likewise.
34403         * sunrpc/clnt_simp.c: Likewise.
34404         * sunrpc/clnt_tcp.c: Likewise.
34405         * sunrpc/clnt_udp.c: Likewise.
34406         * sunrpc/clnt_unix.c: Likewise.
34407         * sunrpc/des_crypt.c: Likewise.
34408         * sunrpc/des_soft.c: Likewise.
34409         * sunrpc/get_myaddr.c: Likewise.
34410         * sunrpc/key_call.c: Likewise.
34411         * sunrpc/key_prot.c: Likewise.
34412         * sunrpc/netname.c: Likewise.
34413         * sunrpc/pm_getmaps.c: Likewise.
34414         * sunrpc/pm_getport.c: Likewise.
34415         * sunrpc/pmap_clnt.c: Likewise.
34416         * sunrpc/pmap_prot.c: Likewise.
34417         * sunrpc/pmap_prot2.c: Likewise.
34418         * sunrpc/pmap_rmt.c: Likewise.
34419         * sunrpc/publickey.c: Likewise.
34420         * sunrpc/rpc_cmsg.c: Likewise.
34421         * sunrpc/rpc_common.c: Likewise.
34422         * sunrpc/rpc_dtable.c: Likewise.
34423         * sunrpc/rpc_prot.c: Likewise.
34424         * sunrpc/rpc_thread.c: Likewise.
34425         * sunrpc/rtime.c: Likewise.
34426         * sunrpc/svc.c: Likewise.
34427         * sunrpc/svc_auth.c: Likewise.
34428         * sunrpc/svc_raw.c: Likewise.
34429         * sunrpc/svc_run.c: Likewise.
34430         * sunrpc/svc_tcp.c: Likewise.
34431         * sunrpc/svc_udp.c: Likewise.
34432         * sunrpc/svc_unix.c: Likewise.
34433         * sunrpc/svcauth_des.c: Likewise.
34434         * sunrpc/xcrypt.c: Likewise.
34435         * sunrpc/xdr.c: Likewise.
34436         * sunrpc/xdr_array.c: Likewise.
34437         * sunrpc/xdr_float.c: Likewise.
34438         * sunrpc/xdr_intXX_t.c: Likewise.
34439         * sunrpc/xdr_mem.c: Likewise.
34440         * sunrpc/xdr_rec.c: Likewise.
34441         * sunrpc/xdr_ref.c: Likewise.
34442         * sunrpc/xdr_sizeof.c: Likewise.
34443         * sunrpc/xdr_stdio.c: Likewise.
34444
34445 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34446
34447         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34448         change.  Update copyright years.
34449
34450 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34451
34452         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34453
34454 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
34455             Joseph Myers  <joseph@codesourcery.com>
34456             Paul Pluzhnikov  <ppluzhnikov@google.com>
34457
34458         [BZ #14012]
34459         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34460         requiring rpcgen.
34461         [cross-compiling] (extra-libs): Likewise.
34462         [cross-compiling] (extra-libs-others): Likewise.
34463         [cross-compiling] (librpcsvc-routines): Likewise.
34464         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34465         [cross-compiling] (omit-deps): Likewise.
34466         (sunrpc-CPPFLAGS): New variable.
34467         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34468         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34469         (cross-rpcgen-objs): New variable.
34470         (extra-objs): Append $(cross-rpcgen-objs).
34471         ($(cross-rpcgen-objs)): New rule.
34472         ($(objpfx)cross-rpcgen): Likewise.
34473         (rpcgen-cmd): Define to use $(built-program-file).  Expand
34474         comment.
34475         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34476         ($(objpfx)x%.stmp): Likewise.
34477         * sunrpc/proto.h [IS_IN_build] (_): Define.
34478         [IS_IN_build] (_libc_intl_domainname): Likewise.
34479
34480 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34481
34482         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34483         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34484         and R_X86_64_TPOFF64.
34485
34486 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34487
34488         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34489         sysdeps/unix/sysv/syscalls.list.
34490         (stime): Likewise.
34491         (utime): Likewise.
34492         * sysdeps/unix/sysv/syscalls.list: Remove file.
34493
34494 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
34495
34496         [BZ #3440]
34497         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34498         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34499         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34500         (__LC_IDENTIFICATION): Make these macros useful in #if
34501         expressions, as required by C99.
34502
34503 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
34504
34505         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34506         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
34507         after this.
34508
34509 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
34510
34511         * stdlib/longlong.h: Updated from GCC.
34512
34513 2012-05-09  Andreas Jaeger  <aj@suse.de>
34514
34515         * nscd/nscd.c (run_modes): Make named enum, reorder so that
34516         default is first entry.
34517         (run_mode): Set type.
34518         (main): Remove informal message about syslog.
34519         (options): Fix typo.
34520
34521         [BZ #14053]
34522         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34523         to asm.
34524         (lrint): Likewise.
34525         (llrintf): Likewise.
34526         (llrint): Likewise.
34527         (rint): Likewise.
34528         (rintf): Likewise.
34529         (nearbyint): Likewise.
34530         (nearbyintf): Likewise.
34531
34532 2012-05-09  Andreas Jaeger  <aj@suse.de>
34533             Pedro Alves  <palves@redhat.com>
34534
34535         * nscd/nscd.c (run_mode): Use enum.
34536         (main): Cleanup coding style issue.
34537
34538 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
34539             Andreas Jaeger  <aj@suse.de>
34540
34541         * nscd/nscd.c (go_background): Replaced with...
34542         (run_mode): ... this.
34543         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34544         (options): Add -F --foreground.
34545         (main): Implement it.
34546         (parse_opt): Parse it.
34547
34548 2012-05-09  Andreas Jaeger  <aj@suse.de>
34549
34550         [BZ #14083]
34551         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34552         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34553         -Wconversion warning.
34554         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34555         Likewise.
34556
34557 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
34558
34559         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
34560         == 0.
34561         (LC_ALL): Use macro-int-constant.
34562         (LC_COLLATE): Likewise.
34563         (LC_CTYPE): Likewise.
34564         (LC_MESSAGES): Likewise.
34565         (LC_MONETARY): Likewise.
34566         (LC_NUMERIC): Likewise.
34567         (LC_TIME): Likewise.
34568         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34569         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34570         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34571         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34572         Specify type.
34573         [C99-based standards] (float_t): Expect type.
34574         [C99-based standards] (double_t): Expect type.
34575         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
34576         type.
34577         [C99-based standards] (HUGE_VALL): Likewise.
34578         [C99-based standards] (INFINITY): Likewise.
34579         [C99-based standards] (NAN): Likewise.
34580         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34581         [C99-based standards] (FP_NAN): Likewise.
34582         [C99-based standards] (FP_NORMAL): Likewise.
34583         [C99-based standards] (FP_SUBNORMAL): Likewise.
34584         [C99-based standards] (FP_ZERO): Likewise.
34585         [C99-based standards] (FP_FAST_FMA): Use
34586         optional-macro-int-constant.  Specify type.  Require == 1.
34587         [C99-based standards] (FP_FAST_FMAF): Likewise.
34588         [C99-based standards] (FP_FAST_FMAL): Likewise.
34589         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34590         [C99-based standards] (FP_ILOGBNAN): Likewise.
34591         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34592         Specify type.
34593         [C99-based standards] (MATH_ERREXCEPT): Likewise.
34594         [C99-based standards] (math_errhandling): Specify type.
34595         [ISO99 || ISO11] (signgam): Do not allow.
34596         [non-C99-based standards] (copysignf): Do not allow.
34597         [non-C99-based standards] (exp2f): Likewise.
34598         [non-C99-based standards] (log2f): Likewise.
34599         [non-C99-based standards] (modff): Allow.
34600         [non-C99-based standards] (erff): Do not allow.
34601         [non-C99-based standards] (erfcf): Likewise.
34602         [non-C99-based standards] (gammaf): Likewise.
34603         [non-C99-based standards] (hypotf): Likewise.
34604         [non-C99-based standards] (j0f): Likewise.
34605         [non-C99-based standards] (j1f): Likewise.
34606         [non-C99-based standards] (jnf): Likewise.
34607         [non-C99-based standards] (lgammaf): Likewise.
34608         [non-C99-based standards] (tgammaf): Likewise.
34609         [non-C99-based standards] (y0f): Likewise.
34610         [non-C99-based standards] (y1f): Likewise.
34611         [non-C99-based standards] (ynf): Likewise.
34612         [non-C99-based standards] (isnanf): Likewise.
34613         [non-C99-based standards] (acoshf): Likewise.
34614         [non-C99-based standards] (asinhf): Likewise.
34615         [non-C99-based standards] (atanhf): Likewise.
34616         [non-C99-based standards] (cbrtf): Likewise.
34617         [non-C99-based standards] (expm1f): Likewise.
34618         [non-C99-based standards] (ilogbf): Likewise.
34619         [non-C99-based standards] (log1pf): Likewise.
34620         [non-C99-based standards] (logbf): Likewise.
34621         [non-C99-based standards] (nextafterf): Likewise.
34622         [non-C99-based standards] (remainderf): Likewise.
34623         [non-C99-based standards] (rintf): Likewise.
34624         [non-C99-based standards] (scalbf): Likewise.
34625         [non-C99-based standards] (copysignl): Likewise.
34626         [non-C99-based standards] (exp2l): Likewise.
34627         [non-C99-based standards] (log2l): Likewise.
34628         [non-C99-based standards] (modfl): Allow.
34629         [non-C99-based standards] (erfl): Do not allow.
34630         [non-C99-based standards] (erfcl): Likewise.
34631         [non-C99-based standards] (gammal): Likewise.
34632         [non-C99-based standards] (hypotl): Likewise.
34633         [non-C99-based standards] (j0l): Likewise.
34634         [non-C99-based standards] (j1l): Likewise.
34635         [non-C99-based standards] (jnl): Likewise.
34636         [non-C99-based standards] (lgammal): Likewise.
34637         [non-C99-based standards] (tgammal): Likewise.
34638         [non-C99-based standards] (y0l): Likewise.
34639         [non-C99-based standards] (y1l): Likewise.
34640         [non-C99-based standards] (ynl): Likewise.
34641         [non-C99-based standards] (isnanl): Likewise.
34642         [non-C99-based standards] (acoshl): Likewise.
34643         [non-C99-based standards] (asinhl): Likewise.
34644         [non-C99-based standards] (atanhl): Likewise.
34645         [non-C99-based standards] (cbrtl): Likewise.
34646         [non-C99-based standards] (expm1l): Likewise.
34647         [non-C99-based standards] (ilogbl): Likewise.
34648         [non-C99-based standards] (log1pl): Likewise.
34649         [non-C99-based standards] (logbl): Likewise.
34650         [non-C99-based standards] (nextafterl): Likewise.
34651         [non-C99-based standards] (remainderl): Likewise.
34652         [non-C99-based standards] (rintl): Likewise.
34653         [non-C99-based standards] (scalbl): Likewise.
34654         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34655         [non-C99-based standards] (FP_*): Do not allow.
34656         [C99-based standards] (FP_*): Change to
34657         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34658         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34659         allow.
34660         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34661         (SIG_ERR): Likewise.
34662         [X/Open-based standards] (SIG_HOLD): Likewise.
34663         (SIG_IGN): Likewise.
34664         (SIGABRT): Use macro-int-constant.  Specify type.  Require
34665         positive value.
34666         (SIGFPE): Likewise.
34667         (SIGILL): Likewise.
34668         (SIGINT): Likewise.
34669         (SIGSEGV): Likewise.
34670         (SIGTER): Likewise.
34671         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34672         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34673         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34674         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34675         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34676         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34677         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34678         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34679         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34680         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34681         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34682         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34683         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34684         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34685         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34686         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34687         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34688         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34689         [X/Open-based standards] (SIGTRAP): Likewise.
34690         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34691         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34692         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34693         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34694         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34695         allow.
34696
34697 2012-05-08  Ian Wienand  <ianw@vmware.com>
34698
34699         [BZ #14080]
34700         * time/tzset.c (__tzset_parse_tz): Update default rules for
34701         daylight time changes in the Energy Policy Act of 2005.
34702
34703 2012-05-09  Andreas Jaeger  <aj@suse.de>
34704
34705         [BZ #13983]
34706         * elf/ldconfig.c (parse_conf): Change string to make clear that
34707         ldconfig only issued a warning if ld.so.conf does not exist.
34708
34709 2012-05-08  David S. Miller  <davem@davemloft.net>
34710
34711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34712         movxtod instead of popping the value on the stack.
34713
34714         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34715
34716 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
34717
34718         * config.h.in: Add HAVE_ARM_PCS_VFP.
34719
34720 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
34721
34722         [BZ #13979]
34723         * include/features.h: Warn if user requests __FORTIFY_SOURCE
34724         checking but the checks are disabled for any reason.
34725
34726 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
34727
34728         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34729         and ELF64_R_TYPE with ELFW(R_TYPE).
34730
34731 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
34732
34733         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34734         (ulimit): Likewise.
34735
34736         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34737         (settimeofday): Likewise.
34738
34739 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
34740
34741         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
34742         a struct th_u2 inside the union, and move tu_block/tu_code into
34743         a new th_u3 union of tu_block/tu_code inside of that.  Move
34744         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
34745         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
34746         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34747         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34748         (th_stuff): Change to th_u1.tu_stuff.
34749         (th_data): Define.
34750         (th_msg): Change to th_u1.th_u2.tu_data.
34751
34752 2012-05-07  David S. Miller  <davem@davemloft.net>
34753
34754         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34755
34756         [BZ #14074]
34757         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34758         (SETUP_PIC_REG): Use it.
34759         (SETUP_PIC_REG_LEAF): Use it.
34760
34761 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
34762
34763         [BZ #13885]
34764         [BZ #13923]
34765         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34766         USE_AS_EXPM1L.
34767         (EXPL_FINITE): Likewise.
34768         (FLDLOG): Likewise.
34769         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34770         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34771         e_expl.S.
34772         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34773         USE_AS_EXPM1L.
34774         (EXPL_FINITE): Likewise.
34775         (FLDLOG): Likewise.
34776         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34777         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34778         e_expl.S.
34779         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
34780         test of -max_value argument for long double.
34781         * sysdeps/i386/fpu/libm-test-ulps: Update.
34782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34783
34784 2012-05-06  David S. Miller  <davem@davemloft.net>
34785
34786         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34787         quad soft-float symbols whose references which are compiler
34788         generated.
34789         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34790
34791 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
34792
34793         [BZ #13884]
34794         [BZ #13914]
34795         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34796         USE_AS_EXP10L.
34797         (EXPL_FINITE): Likewise.
34798         (FLDLOG): Likewise.
34799         (c0): Likewise.
34800         (c1): Likewise.
34801         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
34802         Adjust comments for base varying.
34803         (__expl_finite): Change alias to EXPL_FINITE.
34804         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34805         e_expl.S.
34806         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34807         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34808         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34809         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34810         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34811         USE_AS_EXP10L.
34812         (EXPL_FINITE): Likewise.
34813         (FLDLOG): Likewise.
34814         (c0): Likewise.
34815         (c1): Likewise.
34816         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
34817         Adjust comments for base varying.
34818         (__expl_finite): Change alias to EXPL_FINITE.
34819         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
34820         tests for bugs.
34821         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34822
34823         [BZ #14064]
34824         * math/libm-test.inc (check_float_internal): Correct ulp
34825         calculation for subnormal expected results.
34826
34827 2012-05-06  Andreas Jaeger  <aj@suse.de>
34828
34829         * Makeconfig (+math-flags): New, set to -frounding-math.
34830         (+cflags): Add +math-flags so that all of glibc gets compiled with
34831         it.
34832
34833         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34834
34835 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
34836
34837         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34838         Disable one test.
34839
34840         [BZ #13787]
34841         [BZ #13922]
34842         [BZ #14036]
34843         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34844         (__ieee754_expl): Allow for and saturate large arguments.
34845         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34846         (u_threshold): Likewise.
34847         (__exp): Call __ieee754_exp before checking for overflow and
34848         underflow.
34849         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34850         (u_threshold): Likewise.
34851         (__expf): Call __ieee754_expf before checking for overflow and
34852         underflow.
34853         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34854         (u_threshold): Likewise.
34855         (__expl): Call __ieee754_expl before checking for overflow and
34856         underflow.
34857         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34858         (__ieee754_expl): Allow for and saturate large arguments.
34859         * math/libm-test.inc (exp_test): Add another test.  Do not allow
34860         missing overflow exception on overflow.
34861         (expm1_test): Do not allow missing overflow exception on overflow.
34862
34863         * sysdeps/i386/fpu/e_expl.c: Move to ...
34864         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
34865         rather than using inline asm.
34866         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34867         * sysdeps/x86_64/fpu/e_expl.S: Copy from
34868         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34869
34870         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34871         (nice): Likewise.
34872         (poll): Likewise.
34873         (signal): Likewise.
34874         (time): Likewise.
34875         (times): Likewise.
34876
34877 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34878
34879         * sysdeps/unix/syscalls.list (adjtime): Add entry from
34880         sysdeps/unix/common/syscalls.list.
34881         (fchmod): Likewise.
34882         (fchown): Likewise.
34883         (ftruncate): Likewise.
34884         (getrusage): Likewise.
34885         (gettimeofday): Likewise.
34886         (setpgid): Likewise.
34887         (setregid): Likewise.
34888         (setreuid): Likewise.
34889         (sigaction): Likewise.
34890         (truncate): Likewise.
34891         (vhangup): Likewise.
34892         * sysdeps/unix/common/syscalls.list: Remove file.
34893         * sysdeps/unix/bsd/Implies: Don't include unix/common.
34894         * sysdeps/unix/sysv/linux/Implies: Likewise.
34895
34896 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
34897
34898         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34899         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34900         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34901         Moved to ...
34902         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34903         Here.
34904         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34905         to ...
34906         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34907         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34908         to ...
34909         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34910         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34911         to ...
34912         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34913         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34914         to ...
34915         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34916         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34917         to ...
34918         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34919         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34920         to ...
34921         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34922         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34923         to ...
34924         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34925         Here.
34926         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34927         to ...
34928         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34929         Here.
34930         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34931         to ...
34932         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34933         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34934         Moved to ...
34935         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34936         Here.
34937         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34938         to ...
34939         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34940
34941 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34942
34943         * sysdeps/unix/common/bits/dirent.h: Remove file.
34944         * sysdeps/unix/common/bits/fcntl.h: Likewise.
34945
34946         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34947         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34948         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34949         * sysdeps/unix/bsd/isatty.c: Likewise.
34950         * sysdeps/unix/bsd/tcdrain.c: Likewise.
34951         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34952         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34953
34954 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34955
34956         [BZ #13563]
34957         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34958         long double comparison inaccuracies.
34959         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34960         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34961
34962 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
34963
34964         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34965         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34966
34967 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34968
34969         [BZ #14049]
34970         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34971         nonzero digits before rounding a hex value.
34972         * stdlib/tst-strtod.c (tests): Add another test.
34973
34974 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34975
34976         * sysdeps/s390/fpu/libm-test-ulps: Update.
34977
34978 2012-05-03  Andreas Jaeger  <aj@suse.de>
34979
34980         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34981         does not get optimized out.
34982         (malloc_opt_barrier): New.
34983
34984 2012-05-03  Andreas Jaeger  <aj@suse.de>
34985             Roland McGrath  <roland@hack.frob.com>
34986
34987         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
34988         intermediate file deletion.
34989         (generated): Add .symlist files.
34990
34991 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
34992
34993         [BZ #13775]
34994         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34995         Redirect under this condition.
34996         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34997         [__USE_GNU] (__dprintf_chk): Not under this condition.
34998         [__USE_GNU] (__vdprintf_chk): Likewise.
34999         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35000         under this condition.
35001         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35002         [__USE_XOPEN2K8] (dprintf): Define under this condition.
35003         [__USE_XOPEN2K8] (vdprintf): Likewise.
35004         [__USE_GNU] (__dprintf_chk): Not under this condition.
35005         [__USE_GNU] (__vdprintf_chk): Likewise.
35006         [__USE_GNU] (dprintf): Likewise.
35007         [__USE_GNU] (vdprintf): Likewise.
35008
35009 2012-05-03  Roland McGrath  <roland@hack.frob.com>
35010
35011         * elf/Makefile (common-generated): Set this instead of generated for
35012         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
35013         $(all-built-dso)-derived lists.
35014
35015 2012-05-03  Andreas Jaeger  <aj@suse.de>
35016
35017         * sysdeps/i386/fpu/libm-test-ulps: Update.
35018
35019         * FAQ: Removed.
35020         * FAQ.in: Likewise.
35021         * scripts/gen-FAQ.pl: Likewise.
35022         * manual/install.texi (Installation): Point to online location of
35023         FAQ.
35024         * Makefile (files-for-dist): Remove FAQ.
35025         (FAQ): Remove.
35026
35027 2012-05-02  Allan McRae  <allan@archlinux.org>
35028
35029         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35030         (LDFLAGS-reldepmod5.so): Likewise.
35031         (LDFLAGS-reldep6mod1.so): Likewise.
35032         (LDFLAGS-reldep6mod4.so): Likewise.
35033         (LDFLAGS-reldep8mod3.so): Likewise.
35034         (LDFLAGS-unload4mod1.so): Likewise.
35035         (LDFLAGS-unload4mod2.so): Likewise.
35036         (LDFLAGS-tst-initorder): Likewise.
35037         (LDFLAGS-tst-initordera2.so): Likewise.
35038         (LDFLAGS-tst-initordera3.so): Likewise.
35039         (LDFLAGS-tst-initordera4.so): Likewise.
35040         (LDFLAGS-tst-initorderb2.so): Likewise.
35041         (LDFLAGS-noload): Likewise.
35042         (LDFLAGS-next): Likewise.
35043         (LDFLAGS-order2mod1.so): Likewise.
35044         (LDFLAGS-order2mod2.so): Likewise.
35045         (LDFLAGS-tst-initorder2): Likewise.
35046         (LDFLAGS-tst-initorder2a.so): Likewise.
35047         (LDFLAGS-tst-initorder2b.so): Likewise.
35048         (LDFLAGS-tst-initorder2c.so): Likewise.
35049         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35050
35051 2012-05-02  David S. Miller  <davem@davemloft.net>
35052
35053         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35054
35055 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
35056
35057         [BZ #14055]
35058         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35059
35060 2012-05-02  Andreas Jaeger  <aj@suse.de>
35061
35062         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35063         since we manipulate rounding mode.
35064         (CPPFLAGS-test-idouble.c): Likewise.
35065         (CPPFLAGS-test-ifloat.c): Likewise.
35066         (CFLAGS-test-ldouble.c): Likewise.
35067         (CFLAGS-test-double.c): Likewise.
35068         (CFLAGS-test-float.c): Likewise.
35069         (CFLAGS-test-misc.c): Likewise.
35070         (CFLAGS-test-test-fenv.c): Likewise.
35071
35072 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35073
35074         [BZ #2550]
35075         [BZ #2570]
35076         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35077         comparisons to determine direction to adjust input.
35078
35079 2012-05-01  Roland McGrath  <roland@hack.frob.com>
35080
35081         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35082         output to the target.
35083
35084         * scripts/localplt.awk: New file.
35085         * elf/Makefile ($(objpfx)check-localplt): Target removed.
35086         (check-localplt-CFLAGS): Variable removed.
35087         ($(all-built-dso:=.jmprel)): New static pattern rule.
35088         (generated): Add those targets.
35089         (localplt-built-dso): New variable.
35090         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35091
35092         * elf/check-localplt.c: File removed.
35093
35094         * scripts/check-execstack.awk: New file.
35095         * elf/Makefile ($(objpfx)check-execstack): Target removed.
35096         (check-execstack-CFLAGS): Variable removed.
35097         ($(objpfx)check-execstack.h): Target removed.
35098         ($(objpfx)execstack-default): New target.
35099         (generated): Add that instead of check-execstack.h.
35100         ($(all-built-dso:=.phdr)): New static pattern rule.
35101         (generated): Add those targets.
35102         * elf/check-execstack.c: File removed.
35103
35104         * scripts/check-textrel.awk: New file.
35105         * elf/Makefile ($(objpfx)check-textrel): Target removed.
35106         (check-textrel-CFLAGS): Variable removed.
35107         (all-built-dso): Use := to define.o
35108         ($(all-built-dso:=.dyn)): New static pattern rule.
35109         (generated): Add those targets.
35110         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35111         * config.make.in (READELF): New substituted variable.
35112         * elf/check-textrel.c: File removed.
35113
35114 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35115
35116         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35117         allow.
35118         * conform/data/ctype.h-data [C99-based standards] (isblank):
35119         Expect function.
35120         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35121         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35122         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35123         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35124         Specify type.  Require positive value.
35125         (EILSEQ): Likewise.
35126         (ERANGE): Likewise.
35127         [ISO || POSIX] (EILSEQ): Do not expect.
35128         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35129         Specify type.  Require positive value.
35130         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35131         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35132         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35133         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35134         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35135         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35136         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35137         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35138         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35139         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35140         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35141         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35142         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35143         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35144         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35145         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35146         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35147         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35148         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35149         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35150         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35151         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35152         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35153         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35154         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35155         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35156         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35157         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35158         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35159         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35160         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35161         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35162         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35163         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35164         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35165         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35166         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35167         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35168         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35169         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35170         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35171         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35172         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35173         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35174         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35175         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35176         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35177         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35178         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35179         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35180         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35181         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35182         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35183         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35184         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35185         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35186         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35187         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35188         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35189         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35190         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35191         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35192         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35193         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35194         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35195         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35196         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35197         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35198         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35199         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35200         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35201         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35202         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35203         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35204         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35205         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35206         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35207         Require >= 2.
35208         (FLT_ROUNDS): Expect as macro, not constant.
35209         (FLT_MANT_DIG): Use macro-int-constant.
35210         (DBL_MANT_DIG): Likewise.
35211         (LDBL_MANT_DIG): Likewise.
35212         (FLT_DIG): Likewise.
35213         (DBL_DIG): Likewise.
35214         (LDBL_DIG): Likewise.
35215         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
35216         (DBL_MIN_EXP): Likewise.
35217         (LDBL_MIN_EXP): Likewise.
35218         (FLT_MAX_EXP): Use macro-int-constant.
35219         (DBL_MAX_EXP): Likewise.
35220         (LDBL_MAX_EXP): Likewise.
35221         (FLT_MAX_10_EXP): Likewise.
35222         (DBL_MAX_10_EXP): Likewise.
35223         (LDBL_MAX_10_EXP): Likewise.
35224         (FLT_MAX): Use macro-constant.
35225         (DBL_MAX): Likewise.
35226         (LDBL_MAX): Likewise.
35227         (FLT_EPSILON): Use macro-constant.  Give upper bound.
35228         (DBL_EPSILON): Likewise.
35229         (LDBL_EPSILON): Likewise.
35230         (FLT_MIN): Likewise.
35231         (DBL_MIN): Likewise.
35232         (LDBL_MIN): Likewise.
35233         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35234         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35235         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35236         [ISO11] (FLT_HAS_SUBNORM): Likewise.
35237         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35238         [ISO11] (DBL_DECIMAL_DIG): Likewise.
35239         [ISO11] (FLT_DECIMAL_DIG): Likewise.
35240         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35241         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35242         [ISO11] (FLT_TRUE_MIN): Likewise.
35243         [ISO11] (LDBL_TRUE_MIN): Likewise.
35244         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35245         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35246         (SCHAR_MIN): Use macro-int-constant.  Specify type.
35247         (SCHAR_MAX): Likewise.
35248         (UCHAR_MAX): Likewise.
35249         (CHAR_MIN): Likewise.
35250         (CHAR_MAX): Likewise.
35251         (MB_LEN_MAX): Use macro-int-constant.
35252         (SHRT_MIN): Use macro-int-constant.  Specify type.
35253         (SHRT_MAX): Likewise.
35254         (USHRT_MAX): Likewise.
35255         (INT_MAX): Likewise.
35256         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
35257         bound negative.
35258         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35259         bound with "U".
35260         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35261         bound with "L".
35262         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
35263         bound negative.  Suffix upper bound with "L".
35264         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35265         bound with "UL".
35266         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35267         Specify type.
35268         [C99-based standards] (LLONG_MAX): Likewise.
35269         [C99-based standards] (ULLONG_MAX): Likewise.
35270         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
35271         == 0.
35272         [ISO11] (max_align_t): Require type.
35273         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35274
35275         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35276         from $CFLAGS, without defining away __attribute__ calls.
35277         (checknamespace): Use $CFLAGS_namespace.
35278
35279         * conform/conformtest.pl (@keywords): Only include C99 keywords
35280         for standards based on C99 or C11.
35281
35282         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35283         Disable tests.
35284         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35285         UNIX98]: Likewise.
35286
35287         * conform/conformtest.pl: Handle "macro-int-constant" and test for
35288         usability of symbols in #if.
35289
35290         * conform/conformtest.pl: If macro or constant types start
35291         "promoted:", expect the symbol to be of the following type
35292         promoted by the integer promotions.
35293
35294         * conform/conformtest.pl: Parse all "constant" and "macro" lines
35295         in one place.  Also handle "macro-constant".
35296
35297         * conform/conformtest.pl: Only accept expected macro values with
35298         "==".  Parse all "macro" lines in one place.
35299         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35300
35301         * conform/conformtest.pl: Handle braced types on "constant" lines
35302         instead of handling "typed-constant".
35303         * conform/data/signal.h-data: Use "constant" instead of
35304         "typed-constant".
35305
35306         * conform/conformtest.pl: Handle "optional-" at start of lines in
35307         one place rather than duplicating several cases.  Handle each
35308         format of "macro" line with initial "optional-".
35309
35310         * conform/conformtest.pl: Only accept expected constant or
35311         optional-constant values with "==".  Parse all "constant" lines in
35312         one place.  Parse all "optional-constant" lines in one place.
35313         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35314         * conform/data/fmtmsg.h-data: Likewise.
35315         * conform/data/netinet/in.h-data: Likewise.
35316         * conform/data/tar.h-data: Likewise.
35317         * conform/data/limits.h-data: Use "==" form on "constant" and
35318         "optional-constant" lines.
35319
35320         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35321         Use -std=c99 for XOPEN2K.
35322         (@knownproblems): Remove.
35323         (newtoken): Don't check %isknown.
35324
35325         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35326         Do not expect macro.
35327         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35328         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35329         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35330         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35331         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35332         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35333         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35334         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35335         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35336         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35337         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35338         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35339         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35340         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35341         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35342         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35343         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35344         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35345         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35346         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35347         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35348         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35349         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35350         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35351         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35352         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35353         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35354         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35355         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35356         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35357         [XPG3] (acosh): Likewise.
35358         [XPG3] (asinh): Likewise.
35359         [XPG3] (atanh): Likewise.
35360         [XPG3] (cbrt): Likewise.
35361         [XPG3] (expm1): Likewise.
35362         [XPG3] (ilogb): Likewise.
35363         [XPG3] (log1p): Likewise.
35364         [XPG3] (logb): Likewise.
35365         [XPG3] (nextafter): Likewise.
35366         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35367         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35368         [XPG3] (remainder): Likewise.
35369         [XPG3] (rint): Likewise.
35370         [XPG3 || XPG4 || UNIX98] (round): Likewise.
35371         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35372         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35373         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35374         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35375         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35376         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35377         [UNIX98 || XOPEN2K] (scalb): Expect.
35378         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35379         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35380         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35381         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35382         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35383         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35384         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35385         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35386         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35387         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35388         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35389         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35390         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35391         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35392         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35393         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35394         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35395         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35396         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35397         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35398         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35399         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35400         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35401         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35402         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35403         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35404         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35405         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35406         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35407         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35408         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35409         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35410         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35411         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35412         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35413         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35414         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35415         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35416         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35417         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35418         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35419         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35420         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35421         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35422         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35423         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35424         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35425         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35426         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35427         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35428         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35429         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35430         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35431         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35432         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35433         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35434         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35435         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35436         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35437         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35438         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35439         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35440         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35441         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35442         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35443         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35444         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35445         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35446         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35447         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35448         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35449         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35450         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35451         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35452         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35453         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35454         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35455         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35456         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35457         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35458         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35459         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35460         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35461         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35462         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35463         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35464         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35465         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35466         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35467         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35468         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35469         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35470         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35471         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35472         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35473         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35474         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35475         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35476         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35477         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35478         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35479         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35480         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35481         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35482         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35483         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35484         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35485         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35486         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35487         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35488         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35489         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35490         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35491         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35492         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35493         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35494         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35495         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35496         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35497         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35498         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35499         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35500         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35501         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35502         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35503         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35504         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35505         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35506         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35507         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35508         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35509         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35510         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35511         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35512         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35513         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35514         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35515
35516         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35517         _XOPEN_SOURCE_EXTENDED for XPG4.
35518
35519         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35520
35521         * Makeconfig (localtime): Remove variable.
35522         (inst_localtime-file): Likewise.
35523
35524 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35525
35526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35527         Update.
35528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35529         Update.
35530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35531         Update.
35532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35533         Update.
35534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35535         Update.
35536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35537         Update.
35538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35539         Update.
35540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35541         Update.
35542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35543         Update.
35544
35545 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35546
35547         [BZ #2550]
35548         [BZ #2570]
35549         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35550         comparisons to determine direction to adjust input.
35551         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35552         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35553         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35554         Likewise.
35555         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35556         Likewise.
35557         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35558         Likewise.
35559         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35560         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35561         Likewise.
35562         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35563         Likewise.
35564         * math/libm-test.inc (nexttoward_test): Add more tests.
35565
35566 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35567
35568         [BZ #14040]
35569         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35570         in version GLIBC_2.1, not GLIBC_2.0.
35571         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35572         Likewise.
35573
35574 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
35575
35576         [BZ #13942]
35577         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35578         (1 - x) * (1 + x).
35579         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35580         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35581         * math/libm-test.inc (acos_test): Add more tests.
35582         (asin_test): Likewise.
35583         * sysdeps/i386/fpu/libm-test-ulps: Update.
35584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35585
35586         [BZ #14034]
35587         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35588         of square root.
35589         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35590         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35591         * math/libm-test.inc (acos_test_tonearest): New function.
35592         (acos_test_towardzero): Likewise.
35593         (acos_test_downward): Likewise.
35594         (acos_test_upward): Likewise.
35595         (asin_test_tonearest): Likewise.
35596         (asin_test_towardzero): Likewise.
35597         (asin_test_downward): Likewise.
35598         (asin_test_upward): Likewise.
35599         (main): Call the new functions.
35600         * sysdeps/i386/fpu/libm-test-ulps: Update.
35601         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35602
35603         [BZ #13884]
35604         [BZ #13924]
35605         * math/e_exp10.c: Include <float.h>.
35606         (__ieee754_exp10): Handle underflow here rather than multiplying
35607         large negative argument by M_LN10.
35608         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35609         of __ieee754_expf.
35610         * math/e_exp10l.c: Include <float.h>.
35611         (__ieee754_exp10l): Handle underflow here rather than multiplying
35612         large negative argument by M_LN10l.
35613         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
35614         spurious overflow exception on underflow.
35615
35616 2012-04-29  Marek Polacek  <polacek@redhat.com>
35617
35618         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35619         (__fortify_function): New macro.
35620         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35621         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35622         __extern_always_inline.
35623         * libio/bits/stdio2.h: Likewise.
35624         * libio/bits/stdio.h: Likewise.
35625         * string/string.h: Likewise.
35626         * string/bits/string3.h: Likewise.
35627         * include/stdio.h: Likewise.
35628         * stdlib/bits/stdlib.h: Likewise.
35629         * stdlib/stdlib.h: Likewise.
35630         * rt/bits/mqueue2.h: Likewise.
35631         * rt/mqueue.h: Likewise.
35632         * posix/bits/unistd.h: Likewise.
35633         * posix/unistd.h: Likewise.
35634         * io/bits/poll2.h: Likewise.
35635         * io/bits/fcntl2.h: Likewise.
35636         * io/fcntl.h: Likewise.
35637         * io/sys/poll.h: Likewise.
35638         * misc/bits/syslog.h: Likewise.
35639         * misc/bits/syslog-ldbl.h: Likewise.
35640         * misc/sys/syslog.h: Likewise.
35641         * socket/bits/socket2.h: Likewise.
35642         * socket/sys/socket.h: Likewise.
35643         * debug/tst-chk1.c: Likewise.
35644         * wcsmbs/bits/wchar2.h: Likewise.
35645         * wcsmbs/bits/wchar-ldbl.h: Likewise.
35646         * wcsmbs/wchar.h: Likewise.
35647
35648 2012-04-29  Andreas Jaeger  <aj@suse.de>
35649
35650         * Makerules (tests): Remove enable-check-abi protection.
35651         (check-abi-warn): Remove.
35652         (check-abi-%): Remove check-abi-warn usage.
35653
35654         * configure.in: Remove check-abi configure option.
35655         * configure: Regenerated.
35656         * config.make.in (enable-check-abi): Remove.
35657
35658 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
35659
35660         [BZ #14033]
35661         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35662         double functions to double *_finite functions.
35663
35664         [BZ #13941]
35665         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35666         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35667         LDBL_MIN_EXP.
35668         * stdio-common/Makefile (tests): Add tst-sprintf3.
35669         * stdio-common/tst-sprintf3.c: New file.
35670
35671         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35672         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35673
35674 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
35675
35676         * conform/conformtest.pl: Remove duplicate typed-constant
35677         handling.
35678
35679 2012-04-28  David S. Miller  <davem@davemloft.net>
35680
35681         * Makerules (%.abilist): Add vpath on sysdep_dirs.
35682         (check-abi-%): Remove AWK script prerequisite and explicit
35683         abilist directory.
35684         (check-abi): Rewrite to just diff the symlist with the abilist.
35685         (config-tls, config-abi-config): Delete, no longer used.
35686         (update-abi-%): Remove AWK script and explicit abilist directory.
35687         (update-abi): Rewrite to simply compare and conditionally copy the
35688         symlist and the sysdep abilist file.  Remove update-abi-config
35689         checks.
35690         * abilist/ld.abilist: Remove.
35691         * abilist/libBrokenLocale.abilist: Remove.
35692         * abilist/libanl.abilist: Remove.
35693         * abilist/libcrypt.abilist: Remove.
35694         * abilist/libdl.abilist: Remove.
35695         * abilist/librt.abilist: Remove.
35696         * abilist/libthread_db.abilist: Remove.
35697         * abilist/libutil.abilist: Remove.
35698         * scripts/extract-abilist.awk: Remove.
35699         * scripts/merge-abilist.awk: Remove.
35700         * sysdeps/generic/libcidn.abilist: New file.
35701         * sysdeps/generic/libnss_compat.abilist: New file.
35702         * sysdeps/generic/libnss_db.abilist: New file.
35703         * sysdeps/generic/libnss_dns.abilist: New file.
35704         * sysdeps/generic/libnss_files.abilist: New file.
35705         * sysdeps/generic/libnss_hesiod.abilist: New file.
35706         * sysdeps/generic/libnss_nis.abilist: New file.
35707         * sysdeps/generic/libnss_nisplus.abilist: New file.
35708         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35709         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35710         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35711         file.
35712         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35713         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35714         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35715         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35716         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35717         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35718         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35719         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35720         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35721         file.
35722         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35723         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35724         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35725         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35726         file.
35727         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35728         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35729         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35730         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35731         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35732         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35733         file.
35734         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35735         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35736         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35737         file.
35738         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35739         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35740         New file.
35741         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35742         New file.
35743         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35744         New file.
35745         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35746         New file.
35747         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35748         New file.
35749         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35750         New file.
35751         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35752         New file.
35753         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35754         New file.
35755         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35756         New file.
35757         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35758         New file.
35759         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35760         New file.
35761         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35762         New file.
35763         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35764         New file.
35765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35766         file.
35767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35768         New file.
35769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35770         New file.
35771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35772         file.
35773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35774         New file.
35775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35776         New file.
35777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35778         file.
35779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35780         New file.
35781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35782         New file.
35783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35784         New file.
35785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35786         New file.
35787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35788         New file.
35789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35790         New file.
35791         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35792         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35793         file.
35794         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35795         New file.
35796         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35797         file.
35798         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35799         file.
35800         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35801         file.
35802         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35803         file.
35804         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35805         file.
35806         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35807         New file.
35808         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35809         file.
35810         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35811         file.
35812         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35813         New file.
35814         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35815         file.
35816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35817         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35818         file.
35819         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35820         New file.
35821         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35822         file.
35823         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35824         file.
35825         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35826         file.
35827         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35828         file.
35829         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35830         file.
35831         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35832         New file.
35833         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35834         file.
35835         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35836         file.
35837         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35838         New file.
35839         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35840         file.
35841         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35842         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35843         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35844         file.
35845         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35846         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35847         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35848         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35849         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35850         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35851         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35852         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35853         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35854         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35855         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35856         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35857         file.
35858         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35859         New file.
35860         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35861         file.
35862         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35863         file.
35864         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35865         file.
35866         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35867         file.
35868         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35869         file.
35870         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35871         New file.
35872         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35873         New file.
35874         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35875         file.
35876         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35877         New file.
35878         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35879         file.
35880         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35881         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35882         file.
35883         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35884         New file.
35885         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35886         file.
35887         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35888         file.
35889         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35890         file.
35891         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35892         file.
35893         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35894         file.
35895         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35896         New file.
35897         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35898         New file.
35899         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35900         file.
35901         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35902         New file.
35903         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35904         file.
35905
35906 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
35907
35908         * conform/conformtest.pl: Fix typo in handling typed-constant from
35909         allow-header.
35910
35911 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
35912
35913         * README: Cut down references to pre-2.6 Linux kernels and
35914         Linuxthreads.  Update lists of configurations in libc and ports
35915         and sort alphabetically.  Say "or newer" with Linux kernel version
35916         requirements.
35917
35918         * config.h.in [IS_IN_build]: Allow compiling without optimization.
35919
35920 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35921
35922         [BZ #887]
35923         * math/libm-test.inc (logb_test_downward): New test to expose
35924         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35925         rounding mode.
35926
35927 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
35928
35929         [BZ #14027]
35930         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35931         to be done.
35932         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35933         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35934
35935 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
35936
35937         * sysdeps/unix/i386/brk.S: Remove file.
35938         * sysdeps/unix/i386/dl-brk.S: Likewise.
35939         * sysdeps/unix/i386/pipe.S: Likewise.
35940         * sysdeps/unix/i386/sigreturn.S: Likewise.
35941         * sysdeps/unix/i386/syscall.S: Likewise.
35942         * sysdeps/unix/i386/vfork.S: Likewise.
35943         * sysdeps/unix/i386/wait.S: Likewise.
35944
35945         * sysdeps/unix/common/tcsendbrk.c: Move to ...
35946         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35947
35948         * configure.in (arm*-none*): Do not allow without
35949         --enable-hacker-mode.
35950         (netbsd*): Remove case setting base_os.
35951         (386bsd*): Likewise.
35952         (freebsd*): Likewise.
35953         (bsdi*): Likewise.
35954         (osf*): Likewise.
35955         (sunos*): Likewise.
35956         (ultrix*): Likewise.
35957         (newsos*): Likewise.
35958         (dynix*): Likewise.
35959         (*bsd*): Likewise.
35960         (sysv*): Likewise.
35961         (isc*): Likewise.
35962         (esix*): Likewise.
35963         (sco*): Likewise.
35964         (minix*): Likewise.
35965         (irix4*): Likewise.
35966         (irix6*): Likewise.
35967         (solaris[2-9]*): Likewise.
35968         (none): Likewise.
35969         * configure: Regenerated.
35970
35971 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35972
35973         [BZ #11521]
35974         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35975         overflow or cancellation in calculating denominator.
35976         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35977         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35978         down expression to avoid unexpected rounding in newer GCCs.
35979         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35980
35981 2012-04-26  David S. Miller  <davem@davemloft.net>
35982
35983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35984         long-double compat symbols.
35985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35990         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35991         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35992         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35993         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35994         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35997         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35998
35999 2012-04-25  David S. Miller  <davem@davemloft.net>
36000
36001         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36002         HWCAP_* values only after the memory barriers have been defined.
36003         (atomic_full_barrier): Define.
36004         (atomic_read_barrier): Define.
36005         (atomic_write_barrier): Define.
36006
36007 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36008
36009         * shlib-versions: Add libgcc_s version information.
36010         * sysdeps/generic/libgcc_s.h: Remove.
36011         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36012         libgcc_s.h.
36013         * sysdeps/gnu/unwind-resume.c: Likewise.
36014         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36015
36016 2012-04-25  David S. Miller  <davem@davemloft.net>
36017
36018         * sysdeps/unix/sparc/brk.S: Delete.
36019         * sysdeps/unix/sparc/dl-brk.S: Delete.
36020         * sysdeps/unix/sparc/pipe.S: Delete.
36021         * sysdeps/unix/sparc/sysdep.S: Delete.
36022         * sysdeps/unix/sparc/sysdep.h: Delete.
36023         * sysdeps/unix/sparc/vfork.S: Delete.
36024         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36025         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36026         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36027         (ret_ERRVAL, r0, r1, MOVE): Define.
36028         (JUMPTARGET): Remove.
36029         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36030         sysdeps/unix/sparc/sysdep.h
36031         (ENTRY, END): Remove.
36032         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36033
36034 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
36035
36036         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36037         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36038         -DIS_IN_build.
36039
36040         * timezone/README: Update upstream location and email address for
36041         tzcode and tzdata.
36042         * timezone/zdump.c: Update from tzcode 2012b.
36043         * timezone/zic.c: Likewise.
36044
36045         * configure.in (libc_cv_as_needed): Remove test.
36046         * configure: Regenerated.
36047         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36048         conditional definition.
36049         [$(have-as-needed) != yes] (no-as-needed): Likewise.
36050         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36051         * config.make.in (have-as-needed): Remove variable.
36052
36053 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36054             Paul Pluzhnikov  <ppluzhnikov@google.com>
36055
36056         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36057         strings correctly.
36058
36059 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
36060
36061         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36062         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36063         * sysdeps/sh/strlen.S: Likewise.
36064
36065 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36066
36067         * sysdeps/unix/fork.S: Remove file.
36068         * sysdeps/unix/i386/fork.S: Likewise.
36069         * sysdeps/unix/sparc/fork.S: Likewise.
36070
36071         * sysdeps/unix/system.c: Remove file.
36072         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36073
36074         * sysdeps/unix/getegid.S: Remove file.
36075         * sysdeps/unix/geteuid.S: Likewise.
36076
36077 2012-04-24  Roland McGrath  <roland@hack.frob.com>
36078
36079         * scripts/check-localplt.awk: New file.
36080         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36081         of diff.
36082         * scripts/data/localplt-generic.data: Add a comment.
36083
36084         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36085         NODE when __dir_mkfile failed.
36086         * sysdeps/mach/hurd/symlinkat.c: Likewise.
36087         Reported by Ludovic Courtès <ludo@gnu.org>.
36088
36089 2012-04-24  Andreas Jaeger  <aj@suse.de>
36090
36091         * Makerules (common-clean): Also remove gen-as-const-headers
36092         files.
36093
36094 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36095
36096         * Makerules (native-compile): Do not change working directory for
36097         build.  Use $(OUTPUT_OPTION) in command.
36098         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36099
36100 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36101
36102         [BZ #13886]
36103         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36104         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36105         * math/libm-test.inc (floor_test): Add more tests.
36106         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36107
36108 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36109
36110         * sysdeps/unix/getdents.c: Remove file.
36111         * sysdeps/unix/sysv/getdents.c: Likewise.
36112         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36113
36114         * sysdeps/unix/syscalls.list (madvise): Add syscall from
36115         sysdeps/unix/mman/syscalls.list.
36116         (mmap): Likewise.
36117         (mprotect): Likewise.
36118         (msync): Likewise.
36119         (munmap): Likewise.
36120         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36121         * sysdeps/unix/mman/syscalls.list: Remove.
36122         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36123
36124         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36125         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36126         * configure: Regenerated.
36127         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36128         $(libgcc_s_suffix).
36129         * config.make.in (libgcc_s_suffix): Remove variable.
36130
36131 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
36132
36133         * sysdeps/unix/sysv/gethostname.c: Move to ...
36134         * sysdeps/posix/gethostname.c: ... here.
36135
36136         * sysdeps/unix/execve.S: Remove file.
36137
36138         * sysdeps/unix/_exit.S: Remove file.
36139
36140 2012-04-23  Andreas Jaeger  <aj@suse.de>
36141
36142         [BZ #13739]
36143         * manual/Makefile: Remove make dist support, there's no
36144         need for a stand-alone documentation tar ball.
36145         (TEXI2DVI): Define always, it's not in Makeconfig.
36146         (dist): Removed.
36147         (tar-it): Removed.
36148         (edition): Removed.
36149         (glibc-doc-$(edition).tar): Removed
36150         (%.Z): Removed.
36151         (%.gz): Removed.
36152         (%.uu): Removed.
36153         (ETAGS): Remove, it's in Makeconfig.
36154         (move-if-change): Remove, it's in Makeconfig.
36155
36156 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
36157
36158         [BZ #13970]
36159         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36160         (strtod, strtof, strtold, strtol, strtoul, strtoq)
36161         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36162         (strtod_l, strtof_l, strtold_l): Remove __wur.
36163         It is not necessarily an error to ignore strtol's return value.
36164         One can reliably look at the stored endptr to decide whether
36165         the number had valid syntax.
36166
36167 2012-04-21  Andreas Jaeger  <aj@suse.de>
36168
36169         [BZ #13739]
36170         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36171
36172 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
36173
36174         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36175         * sysdeps/unix/sysv/Versions: Remove file.
36176
36177 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
36178
36179         [BZ #13927]
36180         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36181
36182 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
36183
36184         [BZ #7064]
36185         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36186         version from __vm86.
36187
36188 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
36189
36190         * sysdeps/unix/common/lxstat.c: Remove file.
36191         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36192
36193         * sysdeps/unix/sysv/Makefile: Remove file.
36194
36195         * sysdeps/unix/sysv/direct.h: Remove file.
36196
36197         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36198         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36199         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36200         * sysdeps/unix/sysv/bits/signum.h: Likewise.
36201         * sysdeps/unix/sysv/bits/stat.h: Likewise.
36202         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36203         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36204
36205         * sysdeps/unix/sysv/setrlimit.c: Remove file.
36206
36207         * sysdeps/unix/xmknod.c: Remove file.
36208         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36209
36210         * sysdeps/unix/sysv/settimeofday.c: Remove file.
36211
36212         * sysdeps/unix/sysv/i386/time.S: Remove file.
36213
36214         * sysdeps/unix/fxstat.c: Remove file.
36215         * sysdeps/unix/xstat.c: Likewise.
36216         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36217
36218         * sysdeps/unix/sysv/sigaction.c: Remove file.
36219
36220         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36221         (sysdep_headers): Remove variable.
36222         [termio.h not in sysdep_headers] (generated): Likewise.
36223         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36224         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36225         * sysdeps/unix/sysv/tcdrain.c: Likewise.
36226         * sysdeps/unix/sysv/tcflow.c: Likewise.
36227         * sysdeps/unix/sysv/tcflush.c: Likewise.
36228         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36229         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36230         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36231         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36232         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36233
36234         * sysdeps/unix/siglist.c: Remove file.
36235
36236         * sysdeps/unix/getppid.S: Remove file.
36237
36238         * sysdeps/unix/mkdir.c: Remove file.
36239         * sysdeps/unix/rmdir.c: Likewise.
36240
36241 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
36242
36243         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36244         ERR_MAX value.
36245         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36246         errlist-compat value.
36247
36248 2012-04-18  David S. Miller  <davem@davemloft.net>
36249
36250         * sysdeps/generic/memcopy.h (reg_char): Delete.
36251         * debug/strcat_chk.c: Use char, not reg_char.
36252         * debug/strcpy_chk.c: Likewise.
36253         * debug/strncat_chk.c: Likewise.
36254         * debug/strncpy_chk.c: Likewise.
36255         * string/memchr.c: Likewise.
36256         * string/memrchr.c: Likewise.
36257         * string/rawmemchr.c: Likewise.
36258         * string/strcat.c: Likewise.
36259         * string/strchr.c: Likewise.
36260         * string/strchrnul.c: Likewise.
36261         * string/strcmp.c: Likewise.
36262         * string/strcpy.c: Likewise.
36263         * string/strncat.c: Likewise.
36264         * string/strncmp.c: Likewise.
36265         * string/strncpy.c: Likewise.
36266
36267 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36268
36269         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36270         __builtin_memcopy is called when src and dest ranges are known to not
36271         overlap.
36272
36273 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36274
36275         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36276         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36277         fwd_align_merge macro call.
36278         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36279         bwd_align_merge macro call.
36280         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36281
36282 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36283
36284         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36285         bwd_align_merge macros.
36286         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36287         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36288         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36289
36290 2012-04-18  David S. Miller  <davem@davemloft.net>
36291
36292         * sysdeps/sparc/sparc64/memcopy.h: Delete.
36293
36294 2012-04-18  Andreas Jaeger  <aj@suse.de>
36295
36296         [BZ# 6794]
36297         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36298         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36299         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36300
36301         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36302         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36303         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36304
36305         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36306         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36307         Adjust for changed ldbl-128 files.
36308
36309         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36310         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36311         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36312
36313 2012-04-17  David S. Miller  <davem@davemloft.net>
36314
36315         * sysdeps/sparc/sparc32/memcopy.h: Delete.
36316
36317 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
36318
36319         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36320         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36321         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36322         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36323         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36324         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36325
36326 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36327
36328         [BZ #6794]
36329         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36330         * math/libm-test.inc: Add ilogb errno and exception tests.
36331         * math/w_ilogb.c: New file: ilogb wrapper.
36332         * math/w_ilogbf.c: New file: ilogbf wrapper.
36333         * math/w_ilogbl.c: New file: ilogbl wrapper.
36334         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36335         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36336         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36337         exception being thrown with 0.0 as argument.
36338         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36339         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36340         exception being thrown with 0.0 as argument.
36341         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36342         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36343         exception being thrown with 0.0 as argument.
36344         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36345         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36346         exception being thrown with 0.0 as argument.
36347         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36348         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36349         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36350         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36351         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36352         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36353         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36354         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36355         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36356
36357 2012-04-17  Petr Baudis  <pasky@ucw.cz>
36358
36359         * include/sys/uio.h: Change __vector to __iovec to avoid clash
36360         with altivec.
36361
36362 2012-04-16  Marek Polacek  <polacek@redhat.com>
36363
36364         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36365
36366 2012-04-16  Marek Polacek  <polacek@redhat.com>
36367
36368         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36369         operands of fdivp instruction.
36370
36371 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36372
36373         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36374         * elf/tst-auditmod3b.c: Likewise.
36375         * elf/tst-auditmod4b.c: Likewise.
36376         * elf/tst-auditmod5b.c: Likewise.
36377         * elf/tst-auditmod6b.c: Likewise.
36378         * elf/tst-auditmod6c.c: Likewise.
36379         * elf/tst-auditmod7b.c: Likewise.
36380         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36381         * sysdeps/x86_64/preconfigure.in: Likewise.
36382         * sysdeps/x86_64/preconfigure: Regenerated.
36383
36384 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36385
36386         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36387         __ILP32__.
36388
36389 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
36390
36391         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36392         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36393
36394 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
36395
36396         [BZ #13973]
36397         * locale/iso-639.def: Fix gl language name. Spotted by
36398         Yaron Shahrabani.
36399
36400 2012-04-12  Roland McGrath  <roland@hack.frob.com>
36401
36402         [BZ #2074]
36403         * libio/libio.h (__io_write_fn): Update comment.
36404
36405 2012-04-12  Petr Baudis  <pasky@ucw.cz>
36406
36407         [BZ #2074]
36408         * stdio.texi (Hook Functions): The user provided writer function
36409         is not allowed to return -1.
36410
36411 2012-04-11  David S. Miller  <davem@davemloft.net>
36412
36413         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36414
36415 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
36416
36417         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36418         Add a leading slash to rtkaio.
36419
36420 2012-04-11  Jim Meyering  <meyering@redhat.com>
36421
36422         [BZ #11959]
36423         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36424         It is not necessarily an error to ignore fwrite's return
36425         value.  One can reliably use ferror to test for errors after
36426         the fact.
36427
36428 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36429
36430         * bits/types.h (__snseconds_t): New type.
36431         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36432
36433         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36434         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36435         (__SNSECONDS_T_TYPE): Likewise.
36436         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36437         (__SNSECONDS_T_TYPE): Likewise.
36438         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36439         (__SNSECONDS_T_TYPE): Likewise.
36440
36441 2012-04-10  Andreas Jaeger  <aj@suse.de>
36442
36443         [BZ #2636]
36444         * manual/time.texi (Processor Time): Return type of times is
36445         elapsed real time since an arbitrary point in the past.
36446         (CPU Time): Move CLK_TCK from here...
36447         (Processor Time): ...to here.  Correct description.
36448         * manual/conf.texi (Constants for Sysconf): Correct description of
36449         _SC_CLK_TCK.
36450
36451 2012-04-10  David S. Miller  <davem@davemloft.net>
36452
36453         [BZ #13967]
36454         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36455         where the is a gap between DT_REL(A) and DT_JMPREL.
36456
36457 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36458
36459         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36460         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36461         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36462
36463 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36464
36465         * elf/dl-support.c (_dl_inhibit_cache): New variable.
36466         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36467         (dl_main): Handle --inhibit-cache.
36468         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36469         _dl_inhibit_cache.
36470         * elf/dl-load.c (_dl_map_object): Use it.
36471         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36472
36473 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36474
36475         [BZ #13872]
36476         * sysdeps/i386/fpu/e_powl.S (p78): New object.
36477         (__ieee754_powl): Saturate large exponents rather than testing for
36478         overflow of y*log2(x).
36479         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36480         * math/libm-test.inc (pow_test): Do not permit spurious overflow
36481         exceptions.
36482
36483         [BZ #11521]
36484         * math/s_ctan.c: Include <float.h>.
36485         (__ctan): Avoid internal overflow or cancellation in calculating
36486         denominator.
36487         * math/s_ctanf.c: Likewise.
36488         * math/s_ctanl.c: Likewise.
36489         * math/s_ctanh.c: Likewise.
36490         * math/s_ctanhf.c: Likewise.
36491         * math/s_ctanhl.c: Likewise.
36492         * math/libm-test.inc (ctan_test): Add more tests.
36493         (ctanh_test): Likewise.
36494         * sysdeps/i386/fpu/libm-test-ulps: Update.
36495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36496
36497 2012-04-09  Andreas Jaeger  <aj@suse.de>
36498
36499         [BZ #6894]
36500         * manual/filesys.texi (Directory Entries): Mention that d_namlen
36501         is an optional BSD extension.
36502
36503         [BZ #10254]
36504         * manual/stdio.texi (Opening Streams): Document additional fopen
36505         parameters.
36506
36507 2012-04-09  Roland McGrath  <roland@hack.frob.com>
36508
36509         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36510         %eax without telling the compiler.
36511
36512 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
36513
36514         [BZ # 13963]
36515         * manual/install.texi: Use sourceware.org.
36516
36517 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36518
36519         [BZ #13873]
36520         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36521         (__ieee754_pow): Generate overflow and underflow using huge*huge
36522         and tiny*tiny rather than just returning constant infinity or zero
36523         for large exponents.
36524         * math/libm-test.inc (pow_test): Require overflow exceptions for
36525         applicable cases of large exponents.
36526
36527         [BZ #706]
36528         * sysdeps/i386/fpu/e_pow.S (p10): New object.
36529         (__ieee754_pow): Use iterative multiplication algorithm only for
36530         integer exponents with absolute value below 1024.  Check for odd
36531         integer exponents when using algorithm for real exponents.
36532         * math/libm-test.inc (pow_test): Add more tests.
36533         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36534
36535 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
36536
36537         [BZ #13705]
36538         * math/libm-test.inc (exp_test): Do not allow overflow exception
36539         on underflow test.
36540
36541 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
36542
36543         [BZ #13705]
36544         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36545         instead of __kernel_standard_f.
36546
36547 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
36548
36549         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36550         * sysdeps/x86_64/memset_chk.S: Likewise.
36551
36552 2012-04-08  Andreas Jaeger  <aj@suse.de>
36553
36554         [BZ #10153]
36555         * manual/startup.texi (Environment Access): Describe return value
36556         for putenv and setenv.
36557
36558         [BZ #6895]
36559         * manual/filesys.texi (Directory Entries): Add description for
36560         DT_LNK.
36561
36562         [BZ #6890]
36563         * manual/filesys.texi (Directory Entries): Clarify that it's file
36564         system not operating system in the description of DT_UNKNOWN.
36565
36566         [BZ #6578]
36567         * manual/syslog.texi (closelog): Fix reference, it's openlog.
36568
36569 2012-04-08  Stephen Compall  <s11@member.fsf.org>
36570
36571         [BZ #6649]
36572         * manual/llio.texi (Opening and Closing Files): Add cross
36573         reference to explain mode argument.
36574
36575 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
36576
36577         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36578         * sysdeps/x86_64/memset_chk.S: Likewise.
36579
36580 2012-04-07  David S. Miller  <davem@davemloft.net>
36581
36582         * elf/elf.h (R_SPARC_WDISP10): Define.
36583         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36584         R_SPARC_SIZE32.
36585         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36586         R_SPARC_SIZE64 and R_SPARC_H34.
36587
36588 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
36589
36590         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36591         conditions and remove no longer applicable assertion.
36592
36593 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36594
36595         * bits/byteswap.h: Include <features.h>.
36596         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36597         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36598
36599 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36600
36601         * bits/byteswap.h (__bswap_16): Removed.
36602         Include <bits/byteswap-16.h> to get __bswap_16.
36603         * sysdeps/i386/bits/byteswap.h: Likewise.
36604         * sysdeps/s390/bits/byteswap.h: Likewise.
36605         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36606         * bits/byteswap-16.h: New file.
36607         * sysdeps/i386/bits/byteswap-16.h: Likewise.
36608         * sysdeps/s390/bits/byteswap-16.h: Likewise.
36609         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36610         * string/Makefile (headers): Add bits/byteswap-16.h.
36611
36612 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36613
36614         [BZ #13895]
36615         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36616         extra indirection.
36617         * nss/Makefile (tests-static, tests): Add tst-nss-static.
36618         * nss/tst-nss-static.c: New.
36619
36620 2012-04-06  Robert Millan  <rmh@gnu.org>
36621
36622         [BZ #6486]
36623         * manual/llio.texi (File Position Primitive): lseek
36624         refers to WHENCE when it really means OFFSET.
36625
36626 2012-04-06  Andreas Jaeger  <aj@suse.de>
36627
36628         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36629         strncmp declarations.
36630
36631         * abilist/libc.abilist: Add __poll and __ppoll.
36632
36633 2012-04-05  David S. Miller  <davem@davemloft.net>
36634
36635         * scripts/check-local-headers.sh: Accept a host triplet in the
36636         path matched by the exclude regexp.
36637
36638         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36639         definition.
36640         * sysdeps/powerpc/powerpc32/dl-machine.h
36641         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36642         * sysdeps/s390/s390-32/dl-machine.h
36643         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36644         * sysdeps/sparc/sparc32/dl-machine.h
36645         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36646         * sysdeps/sparc/sparc64/dl-machine.h
36647         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36648
36649         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36650         lazy binding.
36651         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36652         undefined symbol errors.
36653
36654         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36655         DT_NEEDED entries.
36656
36657 2012-04-05  Michael Matz  <matz@suse.de>
36658
36659         [BZ #13592]
36660         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36661
36662 2012-04-05  Andreas Jaeger  <aj@suse.de>
36663
36664         [BZ #13908]
36665         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36666         comment.
36667
36668 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36669
36670         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36671         which ROUND is no valid rounding mode.
36672
36673 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36674
36675         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36676         read again.
36677         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36678
36679 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36680
36681         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36682         an exception using FPU order intentionally.
36683
36684 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36685
36686         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36687         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36688         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36689         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36690
36691 2012-04-05  Simon Josefsson  <simon@josefsson.org>
36692
36693         [BZ #12340]
36694         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36695         EINVAL when BUFLEN is too smal.
36696
36697 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36698
36699         [BZ #13553]
36700         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36701         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36702
36703 2012-04-03  Andreas Jaeger  <aj@suse.de>
36704
36705         [BZ #13938]
36706         * manual/setjmp.texi (System V contexts): Fix sentence.
36707
36708         [BZ #13926]
36709         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36710         New macro for this case.
36711         [!__GNUC__] (__bswap_64): New inline function for this case.
36712         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36713         * bits/byteswap.h: Likewise.
36714         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36715         ull, guard with __GLIBC_HAVE_LONG_LONG.
36716
36717         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36718         __GLIBC_HAVE_LONG_LONG.
36719
36720         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36721         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36722
36723 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36724
36725         [BZ #13691]
36726         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36727         inptr and inend, rather than using last_ch.
36728
36729 2012-04-02  David S. Miller  <davem@davemloft.net>
36730
36731         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36732         * stdio-common/printf-parse.h (read_int): Change return type to
36733         'int', return -1 on INT_MAX overflow.
36734         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36735         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
36736         overflows INT_MAX.  Check for overflow of in-format-string precision
36737         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
36738         SIZE_MAX not INT_MAX for integer overflow test.
36739         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36740         skip the construct in the format string but do not record anything.
36741         * stdio-common/bug22.c: Adjust to test both width/prevision
36742         INT_MAX overflow as well as total length INT_MAX overflow.  Check
36743         explicitly for proper errno values.
36744
36745 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36746
36747         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36748         CHAR_MAX.
36749         * string/test-strcmp.c [! WIDE]: Likewise.
36750         * time/tst-mktime2.c: Likewise for INT_MAX.
36751         * string/test-string.h: #include <sys/param.h> for MIN.
36752
36753         * csu/init-first.c (__libc_init_first): Call __ctype_init.
36754         * sysdeps/i386/init-first.c (init): Likewise.
36755         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36756         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36757         * sysdeps/sh/init-first.c (init): Likewise.
36758
36759 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
36760
36761         * po/ru.po: Update from translation team.
36762         * po/vi.po: Likewise.
36763
36764 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36765
36766         * resolv/nss_dns/dns-host.c: Merge copyright years.
36767
36768 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36769
36770         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36771         Optimize memcpy with prefetch if
36772         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
36773         src, dst pointers have unequal 16 byte alignments.
36774
36775 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36776
36777         [BZ #13928]
36778         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36779         from a CNAME entry and return the minimum ttl for the query.
36780         (gaih_getanswer_slice): Likewise.
36781
36782 2012-03-30  Jeff Law  <law@redhat.com>
36783
36784         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36785         due to long keys.
36786         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36787         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36788
36789         * resolv/nss_dns/dns-host.c: Update copyright year.
36790
36791 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
36792
36793         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36794         requests to save a system call.  Fix check that all bytes are sent.
36795
36796         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36797         comments for sendmmsg.
36798
36799 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36800
36801         [BZ #13691]
36802         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36803         with only 1 character between 0x0041 and 0x01b0.
36804         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36805         * wcsmbs/tst-mbsnrtowcs.c: New file.
36806
36807 2012-03-29  David S. Miller  <davem@davemloft.net>
36808
36809         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36810         small copies by hand.
36811
36812 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36813
36814         [BZ #13761]
36815         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36816         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36817         group memberships.
36818
36819 2012-03-28  David S. Miller  <davem@davemloft.net>
36820
36821         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36822         that branches into memcpy.
36823         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36824         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36825         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36826         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36827         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36828         bits.
36829         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36830         implementation too.
36831         * sysdeps/sparc/mempcpy.S: New file.
36832
36833         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36834         the IFUNC routine in the libc case.
36835         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36836
36837         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36838         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36839         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36840         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36841         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36842         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36843         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36844         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36845
36846         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36847         loop to 256 bytes instead of 64 bytes and fix test signedness.
36848
36849         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36850         * sysdeps/sparc/sparc32/Makefile: rather than here...
36851         * sysdeps/sparc/sparc64/Makefile: and here.
36852
36853 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
36854
36855         * malloc/mallocbug.c: Avoid warnings about unused variables.
36856
36857 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36858
36859         [BZ #13760]
36860         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36861         in the right place. Discard and retry query if response is
36862         larger than input buffer size.
36863
36864 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
36865
36866         [BZ #369]
36867         [BZ #2678]
36868         [BZ #3866]
36869         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36870         x for large integer exponent.
36871         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36872         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
36873         sign of result as needed afterwards.
36874         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36875         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36876         result for underflowing pow the same as for overflow.
36877         (__kernel_standard_l): Handle powl overflow and underflow here
36878         rather than calling __kernel_standard.
36879         * math/libm-test.inc (pow_test): Add more tests.
36880
36881         [BZ #3868]
36882         [BZ #13879]
36883         [BZ #13910]
36884         [BZ #13911]
36885         [BZ #13912]
36886         [BZ #13913]
36887         [BZ #13915]
36888         [BZ #13916]
36889         [BZ #13917]
36890         [BZ #13918]
36891         [BZ #13919]
36892         [BZ #13920]
36893         [BZ #13921]
36894         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36895         * sysdeps/ieee754/k_standard.c: Include <float.h>.
36896         (__kernel_standard_l): New function.
36897         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36898         __kernel_standard.
36899         * math/w_acosl.c (__acosl): Likewise.
36900         * math/w_asinl.c (__asinl): Likewise.
36901         * math/w_atan2l.c (__atan2l): Likewise.
36902         * math/w_atanhl.c (__atanhl): Likewise.
36903         * math/w_coshl.c (__coshl): Likewise.
36904         * math/w_exp10l.c (__exp10l): Likewise.
36905         * math/w_exp2l.c (__exp2l): Likewise.
36906         * math/w_fmodl.c (__fmodl): Likewise.
36907         * math/w_hypotl.c (__hypotl): Likewise.
36908         * math/w_j0l.c (__j0l, __y0l): Likewise.
36909         * math/w_j1l.c (__j1l, __y1l): Likewise.
36910         * math/w_jnl.c (__jnl, __ynl): Likewise.
36911         * math/w_lgammal.c (__lgammal): Likewise.
36912         * math/w_log10l.c (__log10l): Likewise.
36913         * math/w_log2l.c (__log2l): Likewise.
36914         * math/w_logl.c (__logl): Likewise.
36915         * math/w_powl.c (__powl): Likewise.
36916         * math/w_remainderl.c (__remainderl): Likewise.
36917         * math/w_scalbl.c (sysv_scalbl): Likewise.
36918         * math/w_sinhl.c (__sinhl): Likewise.
36919         * math/w_sqrtl.c (__sqrtl): Likewise.
36920         * math/w_tgammal.c (__tgammal): Likewise.
36921         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36922         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36923         * math/libm-test.inc (acos_test): Add more tests.
36924         (acosh_test): Likewise.
36925         (asin_test): Likewise.
36926         (atanh_test): Likewise.
36927         (exp_test): Likewise.
36928         (exp10_test): Likewise.
36929         (exp2_test): Likewise.
36930         (expm1_test): Likewise.
36931         (lgamma_test): Likewise.
36932         (log_test): Likewise.
36933         (log10_test): Likewise.
36934         (log1p_test): Likewise.
36935         (log2_test): Likewise.
36936         (pow_test): Do not allow some spurious overflow exceptions.
36937         (sqrt_test): Add more tests.
36938         (tgamma_test): Likewise.
36939         (y0_test): Likewise.
36940         (y1_test): Likewise.
36941         (yn_test): Likewise.
36942
36943 2012-03-27  Anton Blanchard  <anton@samba.org>
36944
36945         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36946         MAP_HUGETLB.
36947         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36948         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36949         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36950
36951 2012-03-27  David S. Miller  <davem@davemloft.net>
36952
36953         * conform/Makefile: Run run-conformtest.sh using $(BASH).
36954
36955         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36956         have-as-vis3 check.
36957
36958 2012-03-27  Andreas Jaeger  <aj@suse.de>
36959
36960         * sysdeps/x86_64/elf/configure.in: Moved to ...
36961         * sysdeps/x86_64/configure.in: ... here.
36962         * sysdeps/x86_64/elf/start.S: Moved to ...
36963         * sysdeps/x86_64/start.S: ... here.
36964         * sysdeps/x86_64/elf/configure: Delete.
36965
36966         * sysdeps/x86_64/configure.in: Merge contents from
36967         sysdeps/i386/configure.in (without i686 check).
36968
36969         * sysdeps/i386/elf/Versions: Merge into ...
36970         * sysdeps/i386/Versions: ... this.
36971         * sysdeps/i386/elf/Versions: Delete file.
36972         * sysdeps/i386/elf/start.S: Moved to ...
36973         * sysdeps/i386/start.S: ...here.
36974         * sysdeps/i386/elf/configure.in: Merge into...
36975         * sysdeps/i386/configure.in: ...here.
36976         * sysdeps/i386/elf/configure.in: Delete file.
36977         * sysdeps/i386/elf/configure: Delete file.
36978
36979         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36980         * debug/backtracesyms.c: ... here.
36981         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36982         * debug/backtracesymsfd.c: ... here.
36983         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36984         * sysdeps/generic/ifunc-sel.h: ... here.
36985
36986         * sysdeps/unix/i386/start.c: Delete file.
36987         * sysdeps/unix/sparc/start.c: Delete file.
36988         * sysdeps/unix/start.c: Delete file.
36989
36990         * sysdeps/sh/elf/configure.in: Moved to ...
36991         * sysdeps/sh/configure.in: ... here.
36992         * sysdeps/sh/elf/start.S: Moved to ...
36993         * sysdeps/sh/start.S: ... here.
36994         * sysdeps/sh/elf/configure: Delete file.
36995
36996         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36997         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36998         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36999         * sysdeps/powerpc/powerpc64/entry.h: ... here.
37000         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37001         * sysdeps/powerpc/powerpc64/start.S: here.
37002         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37003         * sysdeps/powerpc/powerpc64/Makefile: ... this.
37004         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37005         * sysdeps/powerpc/powerpc64/configure.in: ... this.
37006         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37007
37008         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37009         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37010         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37011         * sysdeps/powerpc/powerpc32/start.S: ... here.
37012         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37013         * sysdeps/powerpc/powerpc32/configure.in: ... this.
37014         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37015
37016         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37017         * sysdeps/powerpc/ifunc-sel.h: ... here.
37018         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37019         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37020
37021         * sysdeps/sparc/elf/configure.in: Moved to ...
37022         * sysdeps/sparc/configure.in: ... here.
37023         * sysdeps/sparc/elf/configure: Delete file.
37024         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37025         * sysdeps/sparc/sparc32/start.S: ... here.
37026         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37027         * sysdeps/sparc/sparc64/start.S: ... here.
37028         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37029         * sysdeps/sparc/sparc32/Makefile: ... this.
37030         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37031         * sysdeps/sparc/sparc64/Makefile: ... this.
37032
37033         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37034         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37035         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37036         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37037         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37038         * sysdeps/s390/s390-32/setjmp.S: ... here.
37039         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37040         * sysdeps/s390/s390-32/configure.in: ... here.
37041         * sysdeps/s390/s390-32/elf/configure: Delete file.
37042         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37043         * sysdeps/s390/s390-32/start.S: ... here.
37044
37045         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37046         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37047         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37048         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37049         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37050         * sysdeps/s390/s390-64/setjmp.S: ... here.
37051         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37052         * sysdeps/s390/s390-64/configure.in: ... here
37053         * sysdeps/s390/s390-64/elf/configure: Delete file.
37054         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37055         * sysdeps/s390/s390-64/start.S: ... here.
37056         * sysdeps/s390/s390-64/elf/configure: Delete.
37057
37058         * configure.in: Remove support for elf directories in sysdeps.
37059
37060         * configure: Regenerated.
37061         * sysdeps/i386/configure: Regenerated.
37062         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37063         * sysdeps/powerpc/powerpc64/configure: Regenerated.
37064         * sysdeps/s390/s390-32/configure: Regenerated.
37065         * sysdeps/s390/s390-64/configure: Regenerated.
37066         * sysdeps/sh/configure: Regenerated.
37067         * sysdeps/sparc/configure: Regenerated.
37068         * sysdeps/x86_64/configure: Regenerated.
37069
37070 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
37071
37072         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37073
37074         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37075         denormal result into account.
37076
37077 2012-03-25  Roland McGrath  <roland@hack.frob.com>
37078
37079         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37080         Reported by Allan McRae <allan@archlinux.org>.
37081
37082 2012-03-23  Jeff Law  <law@redhat.com>
37083
37084         * nss/getnssent.c (__nss_getent): Fix typo.
37085
37086 2012-03-23  David S. Miller  <davem@davemloft.net>
37087
37088         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37089
37090 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
37091
37092         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37093         to pad to uint64_t for each field.
37094         (dl_tls_index): Replace unsigned long with uint64_t.
37095
37096 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
37097         Paul Pluzhnikov  <ppluzhnikov@google.com>
37098
37099         [BZ #6528]
37100         * grp/Makefile (otherlibs): Don't set it.
37101         * inet/Makefile (otherlibs): Likewise.
37102         * login/Makefile (otherlibs): Likewise.
37103         * nscd/Makefile (otherlibs): Likewise.
37104         * posix/Makefile (otherlibs): Likewise.
37105         * pwd/Makefile (otherlibs): Likewise.
37106         * rt/Makefile (otherlibs): Likewise.
37107         * sunrpc/Makefile (otherlibs): Likewise.
37108         * nss/Makefile (otherlibs): Likewise.
37109         Add libnss_files to routines and static-only-routines.
37110         ($(objpfx)getent): Remove rule.
37111         * resolv/Makefile: Add libnss_dns and libresolv to routines and
37112         static-only-routines.
37113
37114 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37115
37116         [BZ #13892]
37117         * math/s_cexp.c: Include <float.h>.
37118         (__cexp): Handle exp result overflowing not necessarily
37119         overflowing both real and imaginary parts of result.
37120         * math/s_cexpf.c: Likewise.
37121         * math/s_cexpl.c: Likewise.
37122         * math/libm-test.inc (cexp_test): Add more tests.
37123         * sysdeps/i386/fpu/libm-test-ulps: Update.
37124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37125
37126 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37127
37128         * include/link.h (ELFW): New macro.
37129         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37130         Replace ELF64_R_TYPE with ELFW(R_TYPE).
37131
37132 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37133
37134         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37135         with uint64_t.
37136
37137 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37138
37139         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37140         declaration.
37141         (struct La_x32_retval): Likewise.
37142
37143 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37144
37145         * sysdeps/x86_64/preconfigure.in: New file.
37146         * sysdeps/x86_64/preconfigure: New generated file.
37147
37148 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37149
37150         [BZ #13824]
37151         * math/e_exp2l.c: Include <float.h>.
37152         (__ieee754_exp2l): Handle overflow and underflow cases
37153         separately.  Only pass fractional part of argument to
37154         __ieee754_expl.
37155         * math/libm-test.inc (exp2_test): Add more tests.
37156
37157         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37158         negating x to take absolute value.
37159         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37160         Likewise.
37161         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37162         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37163         Likewise.
37164         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37165         computing low part if x was negated.
37166         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37167
37168 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37169
37170         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37171         la_x32_gnu_pltexit.
37172         (pltexit): Cast int_retval to ptrdiff_t.
37173         * elf/tst-auditmod3b.c: Likewise.
37174         * elf/tst-auditmod4b.c: Likewise.
37175         * elf/tst-auditmod5b.c: Likewise.
37176         * elf/tst-auditmod6b.c: Likewise.
37177         * elf/tst-auditmod6c.c: Likewise.
37178         * elf/tst-auditmod7b.c: Likewise.
37179
37180         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37181         and x32_gnu_pltexit.
37182
37183         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37184         __ELF_NATIVE_CLASS.
37185         (La_x32_regs): New macro.
37186         (La_x32_retval): Likewise.
37187         (la_x32_gnu_pltenter): New function prototype.
37188         (la_x32_gnu_pltexit): Likewise.
37189
37190 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
37191
37192         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37193         exponent.
37194
37195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37196
37197         * configure.in (libc_cv_cc_nofma): Check for option to disable
37198         generation of FMA instructions.
37199         * configure: Regenerate.
37200         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37201         * sysdeps/ieee754/dbl-64/Makefile: New file.
37202         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37203         Remove brandred-fma4.
37204         (CFLAGS-brandred-fma4.c): Remove.
37205         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37206         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37207         define.
37208         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37209         define.
37210
37211 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37212
37213         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37214         LLONG_MAX != LONG_MAX.
37215         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37216         (_fitoa_word): Likewise.
37217         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37218         LLONG_MAX != LONG_MAX.
37219         * stdio-common/_itowa.h: Include <_itoa.h>.
37220         (_itowa_word): Use _ITOA_WORD_TYPE on value.
37221         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
37222         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
37223         only if not defined.
37224         (_ITOA_WORD_TYPE): Likewise.
37225         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37226         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37227
37228 2012-03-21  David S. Miller  <davem@davemloft.net>
37229
37230         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37231
37232 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37233
37234         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37235         of x86_64 when setting libc_cv_slibdir, libdir and
37236         libc_cv_localedir.
37237         * sysdeps/unix/sysv/linux/configure: Regenerated.
37238
37239 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37240
37241         * manual/lang.texi (Old Varargs): Remove section.
37242         (How Variadic): Update menu.
37243         (va_start): Do not mention varargs.h.
37244
37245 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37246             Joseph Myers  <joseph@codesourcery.com>
37247
37248         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37249         link test.
37250         * configure: Regenerated.
37251
37252 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37253
37254         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37255         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37256         conformtest.pl
37257
37258 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37259
37260         * NOTES: Remove.
37261         * Makefile (files-for-dist): Remove NOTES.
37262         (NOTES): Remove rule.
37263         * README: Don't refer to NOTES.
37264         * manual/creature.texi: Don't include macros.texi.
37265         * manual/intro.texi (creature.texi): Remove comment referring to
37266         NOTES.
37267
37268         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37269         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37270         * configure: Regenerated.
37271         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37272         LIBC_TRY_CC_OPTION.
37273         (libc_cv_as_i686): Likewise.
37274         (libc_cv_cc_avx): Likewise.
37275         (libc_cv_cc_sse2avx): Likewise.
37276         (libc_cv_cc_fma4): Likewise.
37277         (libc_cv_cc_novzeroupper): Likewise.
37278         * sysdeps/i386/configure: Regenerated.
37279
37280         [BZ #13883]
37281         * sysdeps/i386/fpu/s_cexp.S: Remove.
37282         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37283         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37284         * math/libm-test.inc (cexp_test): Add more tests.
37285         * sysdeps/i386/fpu/libm-test-ulps: Update.
37286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37287
37288 2012-03-21  Allan McRae  <allan@archlinux.org>
37289
37290         * timezone/Makefile: Do not install iso3166.tab and zone.tab
37291
37292 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37293
37294         [BZ #13871]
37295         * math/w_exp2.c: Do not include <float.h>.
37296         (o_threshold, u_threshold): Remove.
37297         (__exp2): Calculate result before checking finiteness and calling
37298         __kernel_standard.
37299         * math/w_exp2f.c: Likewise.
37300         * math/w_exp2l.c: Likewise.
37301         * math/libm-test.inc (exp2_test): Require overflow exception for
37302         1e6 input.
37303
37304         [BZ #3866]
37305         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37306         range of signed 64-bit integers before using fistpll.  Remove
37307         checks for whether integers fit in mantissa bits.
37308         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37309         the range of signed 32-bit integers before using fistpl.  Remove
37310         checks for whether integers fit in mantissa bits.
37311         * sysdeps/i386/fpu/e_powl.S (p64): New object.
37312         (__ieee754_powl): Test for y outside the range of signed 64-bit
37313         integers before using fistpll.  Reduce 64-bit values to 63-bit
37314         ones as needed.
37315         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37316         divide-by-zero is raised for zero to large negative powers.
37317         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37318         (__ieee754_powl): Test for y outside the range of signed 64-bit
37319         integers before using fistpll.  Reduce 64-bit values to 63-bit
37320         ones as needed.
37321         * math/libm-test.inc (pow_test): Add more tests.
37322
37323 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37324
37325         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37326         <stdio-common/_itoa.h>.
37327         * debug/segfault.c: Likewise.
37328         * elf/dl-cache.c: Likewise.
37329         * elf/dl-minimal.c: Likewise.
37330         * elf/dl-misc.c: Likewise.
37331         * elf/dl-sysdep.c: Likewise.
37332         * elf/dl-version.c: Likewise.
37333         * elf/rtld.c: Likewise.
37334         * hurd/hurdsock.c: Likewise.
37335         * hurd/lookup-retry.c: Likewise.
37336         * malloc/malloc.c: Likewise.
37337         * malloc/mtrace.c: Likewise.
37338         * nscd/nscd_getgr_r.c: Likewise.
37339         * nscd/nscd_getpw_r.c: Likewise.
37340         * nscd/nscd_getserv_r.c: Likewise.
37341         * posix/getopt_init.c: Likewise.
37342         * posix/wordexp.c: Likewise.
37343         * stdio-common/_itoa.c: Likewise.
37344         * stdio-common/printf_fphex.c: Likewise.
37345         * stdio-common/vfprintf.c: Likewise.
37346         * string/_strerror.c: Likewise.
37347         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37348         * sysdeps/i386/i686/hp-timing.h: Likewise.
37349         * sysdeps/mach/_strerror.c: Likewise.
37350         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37351         * sysdeps/mach/hurd/sethostid.c: Likewise.
37352         * sysdeps/mach/hurd/xmknodat.c: Likewise.
37353         * sysdeps/mach/xpg-strerror.c: Likewise.
37354         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37355         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37356         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37357         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37358         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37359         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37360         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37361         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37362         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37363         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37364         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37365         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37366         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37367         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37368         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37369         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37370         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37371         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37372         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37373         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37374         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37375
37376         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37377
37378         * stdio-common/_itoa.h: Moved to ...
37379         * sysdeps/generic/_itoa.h: Here.
37380
37381         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37382
37383         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37384         instead of "_itoa.h" and "_itowa.h".
37385         * stdio-common/vfprintf.: Likewise.
37386
37387 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37388
37389         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37390         <bits/wordsize.h>.
37391         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37392         (__signbit): Likwise.
37393         (llrintf): Likwise.
37394         (llrint): Likwise.
37395
37396 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37397
37398         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37399         __WORDSIZE != 64.
37400
37401 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
37402
37403         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37404         OVERFLOW_EXCEPTION_OK.
37405         * math/libm-test.inc ("Philosophy"): Update comment about
37406         exception testing.
37407         (OVERFLOW_EXCEPTION): Define.
37408         (OVERFLOW_EXCEPTION_OK): Likewise.
37409         (INVALID_EXCEPTION_OK): Renumber.
37410         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37411         (IGNORE_ZERO_INF_SIGN): Likewise.
37412         (test_exceptions): Handle FE_OVERFLOW.
37413         (exp10_test): Expect overflow exceptions.
37414         (exp2_test): Likewise.
37415         (expm1_test): Likewise.
37416         (nextafter_test): Likewise.
37417         (pow_test): Likewise.
37418         (scalbn_test): Likewise.
37419         (scalbln_test): Likewise.
37420
37421 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37422
37423         * sysdeps/x86_64/bits/atomic.h
37424         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37425         64bit integer.
37426         (atomic_exchange_acq): Likewise.
37427         (__arch_exchange_and_add_body): Likewise.
37428         (__arch_add_body): Likewise.
37429         (atomic_add_negative): Likewise.
37430         (atomic_add_zero): Likewise.
37431
37432 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37433
37434         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37435         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37436
37437 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37438
37439         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37440         Check __x86_64__ instead of __WORDSIZE.
37441
37442 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37443
37444         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37445
37446 2012-03-19  David S. Miller  <davem@davemloft.net>
37447
37448         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37449
37450         * sysdeps/sparc/fpu/fenv_private.h: New file.
37451         * sysdeps/sparc/fpu/math_private.h: Use it.
37452         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37453         Remove.
37454         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37455         (libc_feholdexcept_setroundl): Remove.
37456         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37457         Remove.
37458         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37459         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37460
37461 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37462
37463         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37464         int64_t instead of long int.
37465         (INSERT_WORDS64): Likwise.
37466
37467 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37468
37469         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37470         _Unwind_GetCFA return to _Unwind_Ptr first.
37471
37472 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
37473
37474         [BZ #13629]
37475         * math/s_clog.c: Include <float.h>.
37476         (__clog): Scale large or subnormal inputs.
37477         * math/s_clogf.c: Likewise.
37478         * math/s_clogl.c: Likewise.
37479         * math/s_clog10.c: Include <float.h>.
37480         (M_LOG10_2): Define.
37481         (__clog10): Scale large or subnormal inputs.
37482         * math/s_clog10f.c: Likewise.
37483         * math/s_clog10l.c: Likewise.
37484         * math/libm-test.inc (clog_test): Add more tests.
37485         (clog10_test): Likewise.
37486         * sysdeps/i386/fpu/libm-test-ulps: Update.
37487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37488
37489         [BZ #11451]
37490         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37491         x and y.
37492         * math/libm-test.inc (atan2_test): Add another test.
37493
37494         * Makerules (common-objdir-compile): Remove.
37495         * sysdeps/unix/Makefile (config-generated): Do not add
37496         $(unix-generated) to variable.
37497         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37498         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37499         Remove rule.
37500         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37501         Likewise.
37502         [generic bits/local_lim.h] (before-compile): Do not append to
37503         variable.
37504         [generic bits/local_lim.h] (common-generated): Likewise.
37505         [generic sys/param.h] (before-compile): Do not append to variable.
37506         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37507         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37508         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37509         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37510         include.
37511         [generic sys/param.h] (sys/param.h-includes): Remove variable.
37512         [generic sys/param.h] (sys/param.h-includes): Remove rule.
37513         [generic sys/param.h] ($(addprefix
37514         $(common-objpfx),$(sys/param.h-includes))): Likewise.
37515         [generic sys/param.h] (common-generated): Do not append to
37516         variable.
37517         [generic sys/param.h] (sysdep_headers): Likewise.
37518         [generic bits/errno.h] (before-compile): Do not append to
37519         variable.
37520         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37521         rule.
37522         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37523         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37524         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37525         [generic bits/errno.h] (common-generated): Do not append to
37526         variable.
37527         [generic bits/ioctls.h] (before-compile): Do not append to
37528         variable.
37529         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37530         rule.
37531         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37532         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37533         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37534         rule.
37535         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37536         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37537         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37538         [generic bits/ioctls.h] (common-generated): Do not append to
37539         variable.
37540         [generic sys/syscall.h] (syscall.h): Remove variable.
37541         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37542         rule.
37543         [generic sys/syscall.h] (before-compile): Do not append to
37544         variable.
37545         [generic sys/syscall.h] (common-generated): Likewise.
37546         * sysdeps/unix/errnos-tmpl.c: Remove file.
37547         * sysdeps/unix/errnos.awk: Likewise.
37548         * sysdeps/unix/ioctls-tmpl.c: Likewise.
37549         * sysdeps/unix/ioctls.awk: Likewise.
37550         * sysdeps/unix/mk-local_lim.c: Likewise.
37551         * sysdeps/unix/snarf-ioctls: Likewise.
37552
37553 2012-03-19  Richard Henderson  <rth@twiddle.net>
37554
37555         * sysdeps/i386/fpu/fenv_private.h: New file.
37556         * sysdeps/i386/fpu/math_private.h: Use it.
37557         (math_opt_barrier, math_force_eval): Remove.
37558         (libc_feholdexcept_setround_53bit): Remove.
37559         (libc_feupdateenv_53bit): Remove.
37560         * sysdeps/x86_64/fpu/math_private.h: Likewise.
37561         (math_opt_barrier, math_force_eval): Remove.
37562         (libc_feholdexcept): Remove.
37563         (libc_feholdexcept_setround): Remove.
37564         (libc_fetestexcept, libc_fesetenv): Remove.
37565         (libc_feupdateenv_test): Remove.
37566         (libc_feupdateenv, libc_feholdsetround): Remove.
37567         (libc_feresetround): Remove.
37568
37569         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37570         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37571
37572         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37573         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37574         (libc_feupdateenv_testl): New.
37575         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37576         (libc_feupdateenv_testf): New.
37577         (libc_feupdateenv): Use libc_feupdateenv_test.
37578         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37579         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37580
37581         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37582         (libc_feholdsetroundf, libc_feholdsetroundl): New.
37583         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37584         (libc_feresetround_noex): New.
37585         (libc_feresetround_noexf): New.
37586         (libc_feresetround_noexl): New.
37587         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37588         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37589         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37590         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37591         SET_RESTORE_ROUND.
37592         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37593         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37594         (__cos): Likewise.
37595         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37596         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37597         SET_RESTORE_ROUND_NOEX.
37598         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37599         SET_RESTORE_ROUND_NOEXF.
37600         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37601         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37602         (libc_feholdsetroundf): New.
37603         (libc_feresetround, libc_feresetroundf): New.
37604
37605         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37606         (libc_feholdexcept_setround_53bit): Convert from macro to function.
37607         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
37608
37609         * sysdeps/generic/math_private.h: Include <fenv.h>.
37610         (default_libc_feholdexcept): New.
37611         (default_libc_feholdexcept_setround): New.
37612         (default_libc_fesetenv, default_libc_feupdateenv): New.
37613         (libc_feholdexcept): Only define if undefined.
37614         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37615         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37616         (libc_feholdexcept_setroundl): Likewise.
37617         (libc_feholdexcept_setround_53bit): Likewise.
37618         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37619         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37620         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37621         (libc_feupdateenv_53bit): Likewise.
37622         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37623         (libc_feholdexcept): Convert from macro to inline function.
37624         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37625         (libc_fesetenv, libc_feupdateenv): Likewise.
37626
37627         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37628         not previously defined.
37629         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37630         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37631         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37632         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37633         * sysdeps/ieee754/flt-32/math_private.h: New file.
37634         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37635         math_private.h below SET_FLOAT_WORD.
37636         (__isnan, __isinf_ns, __finite): Remove.
37637         (__isnanf, __isinf_nsf, __finitef): Remove.
37638
37639 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
37640
37641         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37642
37643 2012-03-17  David S. Miller  <davem@davemloft.net>
37644
37645         [BZ #6471]
37646         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37647         for 2.16.
37648
37649 2012-03-16  David S. Miller  <davem@davemloft.net>
37650
37651         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37652         warnings.
37653
37654         [BZ #6471]
37655         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37656         properly.
37657         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37658         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37659         sysdep_routines when subdir is sysvipc.
37660         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37661         __getshmlba helper.
37662
37663         * sysdeps/sparc/fpu/libm-test/ulps: Update.
37664
37665 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37666
37667         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37668         [__LP64__].
37669
37670 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37671
37672         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37673         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37674         (__lround): Renamed to ...
37675         (__llround): This.  Replace long int with long long int.
37676         Define lround functions as aliases of llround functions.
37677         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37678
37679 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37680
37681         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37682         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
37683         adresses to uintptr_t.  Replace "long int" and "unsigned long
37684         int" with "greg_t" on va_arg.
37685
37686 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37687
37688         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37689         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37690
37691         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37692         Move e_machine check before EI_CLASS check.  Handle x32
37693         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37694         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37695         SKIP_EM_IA_64 and include
37696         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37697
37698         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37699         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37700         (add_system_dir): New macro.
37701
37702         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37703         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37704
37705 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
37706
37707         [BZ #2551]
37708         [BZ #2552]
37709         [BZ #2553]
37710         [BZ #2554]
37711         [BZ #2562]
37712         [BZ #2563]
37713         [BZ #2565]
37714         [BZ #2566]
37715         [BZ #2576]
37716         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37717         (y0): Likewise.
37718         * math/w_j0f.c (j0f): Likewise.
37719         (y0f): Likewise.
37720         * math/w_j0l.c (__j0l): Likewise.
37721         (__y0l): Likewise.
37722         * math/w_j1.c (j1): Likewise.
37723         (y1): Likewise.
37724         * math/w_j1f.c (j1f): Likewise.
37725         (y1f): Likewise.
37726         * math/w_j1l.c (__j1l): Likewise.
37727         (__y1l): Likewise.
37728         * math/w_jn.c (jn): Likewise.
37729         (yn): Likewise.
37730         * math/w_jnf.c (jnf): Likewise.
37731         (ynf): Likewise.
37732         * math/w_jnl.c (__jnl): Likewise.
37733         (__ynl): Likewise.
37734         * math/libm-test.inc (j0_test): Add more tests.
37735         (j1_test): Likewise.
37736         (jn_test): Likewise.  Add trailing semicolon to existing test.
37737         (y0_test): Likewise.
37738         (y1_test): Likewise.
37739         * sysdeps/i386/fpu/libm-test-ulps: Update.
37740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37741
37742         [BZ #13851]
37743         [BZ #13854]
37744         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37745         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37746         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37747         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37748         (__tanl): Set errno for infinite argument.
37749         * sysdeps/i386/fpu/mptan.c: Remove.
37750         * sysdeps/i386/fpu/s_tan.S: Likewise.
37751         * sysdeps/i386/fpu/s_tanl.S: Likewise.
37752         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37753         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37754         * math/libm-test.inc (tan_test): Add more tests and enable more
37755         tests for double and long double.
37756         * sysdeps/i386/fpu/libm-test-ulps: Update.
37757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37758
37759 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
37760
37761         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37762         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37763
37764 2012-03-16  Roland McGrath  <roland@hack.frob.com>
37765
37766         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37767         * configure.in: Use it for both main tree and add-ons.
37768         * configure: Regenerated.
37769
37770 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37771
37772         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37773
37774 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
37775
37776         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37777         in comment.
37778
37779         [BZ #13851]
37780         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37781         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37782         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37783         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37784         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37785         infinite argument.
37786         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37787         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37788         != 0 for prec == 2.
37789         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37790         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37791         * sysdeps/i386/fpu/s_cosl.S: Likewise.
37792         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37793         * sysdeps/i386/fpu/s_sinl.S: Likewise.
37794         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37795         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37796         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37797         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37798         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37799         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37800         * math/libm-test.inc (cos_test): Add more tests and enable more
37801         tests for long double.
37802         (sin_test): Likewise.
37803         (sincos_test): Likewise.
37804         * sysdeps/i386/fpu/libm-test-ulps: Update.
37805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37806
37807 2012-03-16  David S. Miller  <davem@davemloft.net>
37808
37809         * sysdeps/sparc/fpu/math_private.h: New file.
37810
37811 2012-03-15  David S. Miller  <davem@davemloft.net>
37812
37813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37814         file.
37815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37817         file.
37818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37819         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37820         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37821         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37822         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37823         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37824         sysdep routines.
37825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37826
37827         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37828         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37829
37830         * sysdeps/sparc/sparc-ifunc.h: New file.
37831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37832         sparc-ifunc.h
37833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37835         Likewise.
37836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37837         Likewise.
37838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37842         Likewise.
37843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37848         Likewise.
37849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37850         Likewise.
37851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37855         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37856         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37857         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37858         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37859         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37860         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37861         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37862         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37863         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37864         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37865         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37866         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37867         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37868         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37869         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37870         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37871         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37872         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37873         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37874         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37875
37876 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
37877
37878         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37879         scaling.
37880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37881
37882 2012-03-15  Andreas Jaeger  <aj@suse.de>
37883
37884         [BZ #13852]
37885         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37886         ieee754/flt-32 implementation for sin, cos and sincos.
37887         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37888         * sysdeps/i386/fpu/s_cosf.S: Likewise.
37889         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37890         * sysdeps/i386/fpu/s_sinf.S: Likewise.
37891         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37892         ieee754/flt-32 implementation for tan.
37893
37894         * math/libm-test.inc (cos_test): Enable some large input tests for
37895         float as well
37896         (sin_test): Likewise.
37897         (sincos_test): Likewise.
37898         (tan_test): Add tests for large input.
37899
37900         * sysdeps/i386/fpu/libm-test-ulps: Update.
37901
37902 2012-03-15  Andreas Jaeger  <aj@suse.de>
37903
37904         [BZ #13658]
37905         * math/libm-test.inc (cos_test): Add more test cases.
37906         (sin_test): Likewise.
37907         (sincos_test): Likewise.
37908
37909 2012-03-15  Andreas Jaeger  <aj@suse.de>
37910
37911         [BZ #13837]
37912         * math/libm-test.inc (cos_test): Add a test case for large input
37913         value.
37914         (sin_test): Likewise.
37915         (sincos_test): Likewise.
37916
37917 2012-03-15  Andreas Jaeger  <aj@suse.de>
37918             Joseph Myers  <joseph@codesourcery.com>
37919
37920         [BZ #13658]
37921         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37922         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37923         * sysdeps/i386/fpu/branred.c: Likewise.
37924         * sysdeps/i386/fpu/dosincos.c: Likewise.
37925         * sysdeps/i386/fpu/mpa.c: Likewise.
37926         * sysdeps/i386/fpu/s_cos.S: Likewise.
37927         * sysdeps/i386/fpu/s_sin.S: Likewise.
37928         * sysdeps/i386/fpu/s_sincos.S: Likewise.
37929         * sysdeps/i386/fpu/sincos32.c: Likewise.
37930
37931         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37932         Define.
37933         (libc_feupdateenv_53bit): Define.
37934         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37935         Define.
37936         (libc_feupdateenv_53bit): Define.
37937
37938         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37939         53 bit (without extend i386 double precision).
37940
37941         * math/libm-test.inc (sincos_test): Add tests for large input.
37942         (sin): Likewise.
37943         (cos): Likewise.
37944
37945         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37946
37947 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
37948
37949         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37950
37951 2012-03-15  David S. Miller  <davem@davemloft.net>
37952
37953         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37954         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37955         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37956         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37957         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37958         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37959         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37960         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37961         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37962         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37963         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37964         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37965         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37966         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37967         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
37968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37969         file.
37970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
37971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37972         file.
37973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
37974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37975         file.
37976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
37977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37978         file.
37979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37980         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37981         fmin/fmax sysdep routines.
37982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37983
37984 2012-03-14  David S. Miller  <davem@davemloft.net>
37985
37986         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37987         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37988         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37989         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37990         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37991         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37992         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37993         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37994         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37995         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37996         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37997         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37998         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37999         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38000         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38001         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38002         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38003         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38004         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38005         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38006         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38007         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38008         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38009         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38010         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38011         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38012         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38013         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38014         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38015         routines.
38016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38017         file.
38018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38020         file.
38021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38023         file.
38024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38026         file.
38027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38029         file.
38030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38032         file.
38033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38034         file.
38035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38036         file.
38037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38038         file.
38039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38040         New file.
38041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38042         file.
38043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38044         file.
38045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38047         file.
38048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38050         file.
38051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38053         file.
38054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38056         VIS3 routines.
38057
38058         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38059         New file.
38060
38061         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38062
38063         * sysdeps/sparc/configure.in: New file.
38064         * sysdeps/sparc/configure: Generate.
38065         * configure.in (libc_cv_sparc_as_vis3): Substitute.
38066         * configure: Regenerate.
38067         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38068         * config.make.in (have-as-vis3): New.
38069         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38070         available use -Av9d instead of -Av9a.
38071         * sysdeps/sparc/sparc64/Makefile: Likewise.
38072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38074         New file.
38075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38076         file.
38077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38078         New file.
38079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38080         file.
38081         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38082         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38083         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38084         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38085         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38086
38087         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38088         fzeros/fnegs to load 0x80000000 into a float register instead of
38089         using the stack.
38090         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38091
38092 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38093
38094         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38095         bits/syscall.h.
38096         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38097         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38098         ($(inst_includedir)/bits/syscall.h): Remove rule.
38099         ($(objpfx)bits/syscall.d): Include instead of
38100         $(objpfx)syscall-list.d.
38101         (generated): Change syscall-list.h and syscall-list.d to
38102         bits/syscall.h and bits/syscall.d.
38103
38104 2012-03-14  Roland McGrath  <roland@hack.frob.com>
38105
38106         [BZ #13846]
38107         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38108
38109 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38110
38111         [BZ #13841]
38112         * math/s_csqrt.c: Include <float.h>.
38113         (__csqrt): Scale large or subnormal inputs.
38114         * math/s_csqrtf.c: Likewise.
38115         * math/s_csqrtl.c: Likewise.
38116         * math/libm-test.inc (csqrt_test): Add more tests.
38117         * sysdeps/i386/fpu/libm-test-ulps: Update.
38118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38119
38120         [BZ #13840]
38121         * math/libm-test.inc (hypot_test): Add more tests.
38122
38123 2012-03-13  David S. Miller  <davem@davemloft.net>
38124
38125         [BZ #13840]
38126         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38127         double-precision for the calculation instead of scaling.
38128
38129 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
38130
38131         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38132         manipulate bits before adding and subtracting TWO52[sx].
38133         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38134         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38135         Likewise.
38136         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38137
38138 2012-03-13  David S. Miller  <davem@davemloft.net>
38139
38140         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38141         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38142         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38143         rtld-global-offsets.h
38144         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38145
38146         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38147         large parameters.
38148
38149         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38150
38151         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38152         'err' in the ifdef scope in which it is actually used.
38153
38154         * nss/nss_db/db-init.c: Include string.h
38155
38156 2012-03-12  David S. Miller  <davem@davemloft.net>
38157
38158         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38159         masking out of the most significant byte of random value used.
38160         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38161         Fix coding style in previous change.
38162
38163         * sysdeps/unix/sysv/linux/kernel-features.h
38164         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38165         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38166         expression.
38167         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38168         later.
38169
38170 2012-03-11  David S. Miller  <davem@davemloft.net>
38171
38172         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38173         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38174         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38175         for 'resultvar' otherwise things get truncated on 64-bit.
38176
38177         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38178         Fix masking out of the most significant byte of random value used.
38179
38180         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38181
38182 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
38183
38184         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38185
38186 2012-03-09  David S. Miller  <davem@davemloft.net>
38187
38188         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38189         variables with appropriate CPP guards.
38190         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38191         from the frame pointer, not the stack pointer.  Correct layout
38192         comments.  Fix test on resulting framesize and the management of
38193         the outregs buffer for pltexit.  Preserve floating point return
38194         values across _dl_call_pltexit call.
38195         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38196         framesize and the management of the outregs buffer for pltexit.
38197         Preserve floating point return values across _dl_call_pltexit
38198         call.
38199         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38200         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38201         (la_sparc64_gnu_pltexit): New functions.
38202         (print_exit): Fix format string for return register value.
38203
38204 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
38205
38206         * sunrpc/Makefile (others): Add rpcgen.
38207         ($(objpfx)rpcgen): Remove special build rule and dependency on
38208         libc.
38209         * sunrpc/rpcgen.c: New file.
38210
38211 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
38212
38213         [BZ #13673]
38214         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38215         * stdio-common/bug-vfprintf-nargs.c: Likewise.
38216         * sysdeps/i386/crti.S: Likewise.
38217         * sysdeps/i386/crtn.S: Likewise.
38218         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38219         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38220         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38221         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38222         * sysdeps/sh/crti.S: Likewise.
38223         * sysdeps/sh/crtn.S: Likewise.
38224         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38225
38226         [BZ #13673]
38227         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38228         with URL.
38229         * locale/programs/locfile-kw.gperf: Likewise.
38230         * locale/programs/charmap-kw.h: Regenerated.
38231         * locale/programs/locfile-kw.h: Likewise.
38232
38233         [BZ #13673]
38234         * intl/plural.y: Replace FSF snail mail address with URL.
38235         * intl/plural.c: Regenerated.
38236
38237 2012-03-09  Richard Henderson  <rth@twiddle.net>
38238
38239         * include/math_private.h: Remove file.
38240         * math/math_private.h: Move file ...
38241         * sysdeps/generic/math_private.h: ... here.
38242
38243         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38244         * sysdeps/powerpc/fpu/math_private.h: Likewise.
38245         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38246
38247         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38248         and <math_private.h>.
38249         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38250         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38251         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38252         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38253         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38254         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38255         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38256         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38257         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38258         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38259         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38260         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38261         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38262         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38263         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38264         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38265         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38266         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38267         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38268         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38269         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38270         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38271         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38272         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38273         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38274         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38275         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38276         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38277         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38278         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38279         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38280         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38281         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38282         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38283         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38284         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38285         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38286         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38287         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38288         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38289         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38290         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38291         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38292         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38293         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38294         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38295         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38296         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38297         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38298         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38299         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38300         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38301         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38302         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38303         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38304         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38305         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38306         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38307         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38308         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38309         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38310         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38311         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38312         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38313         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38314         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38315         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38316         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38317         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38318         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38319         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38320         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38321         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38322         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38323         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38324         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38325         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38326         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38327         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38328         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38329         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38330         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38331         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38332         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38333         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38334         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38335         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38336         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38337         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38338         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38339         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38340         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38341         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38342         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38343         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38344         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38345         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38346         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38347         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38348         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38349         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38350         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38351         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38352         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38353         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38354         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38355         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38356         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38357         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38358         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38359         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38360         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38361         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38362         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38363         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38364         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38365         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38366         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38367         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38368         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38369         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38370         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38371         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38372         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38373         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38374         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38375         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38376         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38377         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38378         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38379         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38380         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38381         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38382         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38383         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38384         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38385         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38386         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38387         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38388         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38389         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38390         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38391         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38392         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38393         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38394         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38395         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38396         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38397         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38398         * sysdeps/ieee754/k_standard.c: Likewise.
38399         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38400         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38401         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38402         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38403         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38404         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38405         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38406         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38407         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38408         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38409         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38410         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38411         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38412         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38413         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38414         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38415         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38416         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38417         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38418         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38419         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38420         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38421         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38422         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38423         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38424         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38425         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38426         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38427         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38428         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38429         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38430         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38431         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38432         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38433         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38434         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38435         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38436         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38437         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38438         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38439         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38440         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38441         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38442         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38443         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38444         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38445         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38446         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38447         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38448         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38449         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38450         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38451         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38452         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38453         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38454         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38455         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38456         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38457         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38458         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38459         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38460         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38461         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38462         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38463         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38464         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38465         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38466         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38467         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38468         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38469         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38470         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38471         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38472         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38473         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38474         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38475         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38476         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38477         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38478         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38479         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38480         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38481         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38482         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38483         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38484         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38485         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38486         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38487         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38488         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38489         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38490         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38491         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38492         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38493         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38494         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38495         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38496         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38497         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38498         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38499         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38500         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38501         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38502         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38503         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38504         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38505         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38506         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38507         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38508         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38509         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38510         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38511         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38512         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38513         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38514         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38515         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38516         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38517         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38518         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38519         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38520         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38521         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38522         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38523         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38524         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38525         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38526         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38527         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38528         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38529         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38530         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38531         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38532         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38533         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38534         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38535         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38536         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38537         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38538         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38539         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38540         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38541         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38542         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38543         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38544         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38545         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38546         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38547         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38548         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38549         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38550         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38551         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38552         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38553         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38554         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38555         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38556         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38557         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38558         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38559         * sysdeps/ieee754/s_lib_version.c: Likewise.
38560         * sysdeps/ieee754/s_matherr.c: Likewise.
38561         * sysdeps/ieee754/s_signgam.c: Likewise.
38562         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38563         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38564         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38565         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38566         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38567         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38568         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38569         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38570         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38571         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38572         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38573         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38574         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38575         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38576         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38577         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38578         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38579         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38580         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38581         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38582         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38583
38584 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38585
38586         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38587         * sunrpc/rpc_main.c: Likewise.
38588         * sunrpc/rpc_svcout.c: Likewise.
38589
38590 2012-03-09  David S. Miller  <davem@davemloft.net>
38591
38592         * include/math_private.h: New file.
38593
38594 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38595
38596         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38597         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38598         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38599         from <bits/socket_type.h>.
38600         (enum __socket_type): Don't define here.
38601         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38602         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38603         bits/socket_type.h.
38604
38605         [BZ #13566]
38606         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38607         checking __USE_GNU.
38608
38609         * Makerules ($(inst_includedir)/%.h): New rule.
38610         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38611         (install-others): Remove variable setting.
38612         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38613
38614 2012-03-08  Richard Henderson  <rth@twiddle.net>
38615
38616         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38617         from macro to inline function; merge with the
38618         !__LIBC_INTERNAL_MATH_INLINES version.
38619         (__ieee754_sqrtf): Likewise.
38620
38621         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38622         to inline function.
38623         (__rintf, __floor, __floorf): Likewise.
38624
38625         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38626         macro to inline function.
38627         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38628
38629         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38630         not <math/math_private.h>.
38631
38632 2012-03-08  David S. Miller  <davem@davemloft.net>
38633
38634         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38635         copyright year.
38636         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38637
38638 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
38639
38640         * resolv/gai_misc.c (handle_requests): Fix struct timespec
38641         normalization.
38642         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38643         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38644
38645 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
38646
38647         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
38648         be defined individually, they must be defined as a block.  Define
38649         S for printing a string instead of hidint the different by using a
38650         macro for adding the 'l'.
38651         * stdio-common/tst-fphex-wide.c: Adjust.
38652
38653 2012-03-07  Marek Polacek  <polacek@redhat.com>
38654
38655         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38656
38657 2012-03-08  Marek Polacek  <polacek@redhat.com>
38658
38659         [BZ #13806]
38660         * stdio-common/Makefile (tests): Add tst-fphex-wide.
38661         * stdio-common/tst-fphex.c: Define a few macros to make the
38662         test reusable.  Use them.
38663         * stdio-common/tst-fphex-wide.c: New file.
38664
38665 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
38666
38667         [BZ #6911]
38668         * manual/macros.texi (gnusystems): New macro.
38669         (nongnusystems): Likewise.
38670         (gnulinuxhurdsystems): Likewise.
38671         (gnuhurdsystems): Likewise..
38672         (gnulinuxsystems): Likewise.
38673         * manual/charset.texi: Use new macros or @theglibc{} to refer to
38674         variants of the GNU system, not "GNU system".
38675         * manual/conf.texi: Likewise.
38676         * manual/errno.texi: Likewise.  Update example of errno macro
38677         expansion.
38678         * manual/filesys.texi: Likewise.
38679         (getumask): Document as specific to GNU/Hurd.
38680         * manual/install.texi: Likewise.  Reword some references to
38681         GNU/Linux.
38682         * manual/intro.texi: Likewise.
38683         * manual/io.texi: Likewise.
38684         (File Name Portability): Detail which constraints are inapplicable
38685         to all GNU systems and which are only inapplicable to GNU/Hurd.
38686         * manual/job.texi: Likewise.
38687         * manual/llio.texi: Likewise.
38688         (O_NOCTTY): Document as present on GNU/Linux.
38689         * manual/maint.texi: Likewise.
38690         * manual/memory.texi: Likewise.
38691         * manual/pattern.texi: Likewise.
38692         * manual/pipe.texi: Likewise.
38693         * manual/process.texi: Likewise.
38694         * manual/resource.texi: Likewise.
38695         (RUSAGE_CHILDREN): Remove statement about specifying a particular
38696         child on GNU/Hurd.
38697         * manual/setjmp.texi: Likewise.
38698         * manual/signal.texi: Likewise.
38699         * manual/startup.texi: Likewise.
38700         * manual/stdio.texi: Likewise.
38701         * manual/terminal.texi: Likewise.
38702         (ONLCR): Document as POSIX.
38703         (OXTABS): Document availability on GNU/Linux as XTABS.
38704         (ONOEOT): Document availability separately from other bits.
38705         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38706         * manual/time.texi: Likewise.
38707         * manual/users.texi: Likewise.
38708         * INSTALL: Regenerated.
38709         * sysdeps/gnu/errlist.c: Regenerated.
38710
38711         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38712         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38713         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
38714         puts.
38715         * configure: Regenerated.
38716
38717 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
38718
38719         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38720         default includes instead of AC_HEADER_CHECK.
38721         * sysdeps/i386/configure: Regenerated.
38722
38723         [BZ #10716]
38724         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38725         * math/s_cacoshf.c (__cacoshf): Likewise.
38726         * math/s_cacoshl.c (__cacoshl): Likewise.
38727         * math/s_casinh.c (__casinh): Set signs of result from argument.
38728         * math/s_casinhf.c (__casinhf): Likewise.
38729         * math/s_casinhl.c (__casinhl): Likewise.
38730         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38731         (casinh_test): Add more tests.
38732         * sysdeps/i386/fpu/libm-test-ulps: Update.
38733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38734
38735 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
38736
38737         * po/zh_TW.po: Update from translation team.
38738
38739         * login/Makefile (distribute): Remove variable.
38740         * catgets/Makefile: Likewise.
38741         * mach/Makefile: Likewise.
38742         * malloc/Makefile: Likewise.
38743         * misc/Makefile: Likewise.
38744         * iconv/Makefile: Likewise.
38745         * nscd/Makefile: Likewise.
38746         * hurd/Makefile: Likewise.
38747         * manual/Makefile: Likewise.
38748         * locale/Makefile: Likewise.
38749         * intl/Makefile: Likewise.
38750         * conform/Makefile: Likewise.
38751         * nss/Makefile: Likewise.
38752         * time/Makefile: Likewise.
38753         * soft-fp/Makefile: Likewise.
38754         * dirent/Makefile: Likewise.
38755         * gmon/Makefile: Likewise.
38756         * po/Makefile: Likewise.
38757         * rt/Makefile: Likewise.
38758         * socket/Makefile: Likewise.
38759         * math/Makefile: Likewise.
38760         * signal/Makefile: Likewise.
38761         * debug/Makefile: Likewise.
38762         * elf/Makefile: Likewise.
38763         * timezone/Makefile: Likewise.
38764         * stdlib/Makefile: Likewise.
38765         * iconvdata/Makefile: Likewise.
38766         * sunrpc/Makefile: Likewise.
38767         * io/Makefile: Likewise.
38768         * argp/Makefile: Likewise.
38769         * inet/Makefile: Likewise.
38770         * hesiod/Makefile: Likewise.
38771         * grp/Makefile: Likewise.
38772         * csu/Makefile: Likewise.
38773         * wctype/Makefile: Likewise.
38774         * crypt/Makefile: Likewise.
38775         * libio/Makefile: Likewise.
38776         * string/Makefile: Likewise.
38777         * nis/Makefile: Likewise.
38778         * resolv/Makefile: Likewise.
38779         * stdio-common/Makefile: Likewise.
38780         * wcsmbs/Makefile: Likewise.
38781         * dlfcn/Makefile: Likewise.
38782         * posix/Makefile: Likewise.
38783
38784         [BZ #6959]
38785         * timezone/Makefile: Don't install timezone files, just the programs
38786         and scripts.
38787
38788 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
38789
38790         * nss/databases.def: Add missing gshadow entry.
38791
38792         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
38793
38794 2012-03-06  Marek Polacek  <polacek@redhat.com>
38795
38796         [BZ #13726]
38797         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38798         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38799         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38800         * stdio-common/tst-long-dbl-fphex.c: New file.
38801
38802 2012-03-06  David S. Miller  <davem@davemloft.net>
38803
38804         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38805         (set_obp_int): New function.
38806         (get_obp_int): New function.
38807         (__get_clockfreq_via_dev_openprom): Likewise.
38808         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38809         Avoid unused variable warnings on 'val' and use builtin_expect.
38810         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38811         __builtin_expect.
38812         (INLINE_CLONE_SYSCALL): Likewise.
38813
38814 2012-03-05  David S. Miller  <davem@davemloft.net>
38815
38816         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38817
38818 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
38819
38820         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38821
38822         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38823         only for |x| >= 40.
38824         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38825
38826 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
38827
38828         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38829         Replace gettimeofday with __vdso_gettimeofday.
38830
38831         * sysdeps/unix/sysv/linux/x86_64/init-first.c
38832         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38833         __vdso_clock_gettime and __vdso_getcpu.
38834
38835         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38836         time with __vdso_time.
38837
38838 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
38839
38840         * manual/lang.texi (size_t): Note types to which size_t may be
38841         equivalent with the GNU C Library, but do not describe when
38842         differences between them are significant.
38843
38844 2012-03-05  Andreas Jaeger  <aj@suse.de>
38845
38846         * sysdeps/i386/fpu/libm-test-ulps: Update.
38847
38848 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
38849
38850         [BZ #3976]
38851         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38852         (__ieee754_pow): Save and restore rounding mode and use
38853         round-to-nearest for main computations.
38854         * math/libm-test.inc (pow_test_tonearest): New function.
38855         (pow_test_towardzero): Likewise.
38856         (pow_test_downward): Likewise.
38857         (pow_test_upward): Likewise.
38858         (main): Call the new functions.
38859         * sysdeps/i386/fpu/libm-test-ulps: Update.
38860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38861
38862         [BZ #3976]
38863         * math/libm-test.inc (cosh_test_tonearest): New function.
38864         (cosh_test_towardzero): Likewise.
38865         (cosh_test_downward): Likewise.
38866         (cosh_test_upward): Likewise.
38867         (sinh_test_tonearest): Likewise.
38868         (sinh_test_towardzero): Likewise.
38869         (sinh_test_downward): Likewise.
38870         (sinh_test_upward): Likewise.
38871         (main): Call the new functions.
38872         * sysdeps/i386/fpu/libm-test-ulps: Update.
38873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38874
38875 2012-03-05  Tom de Vries  <tom@codesourcery.com>
38876
38877         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38878         default stack guard is set in last bytes.
38879         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38880
38881 2012-03-05  Kees Cook  <keescook@chromium.org>
38882
38883         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38884
38885         [BZ #13656]
38886         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38887         possibly allocate from heap instead of stack.
38888         * stdio-common/bug-vfprintf-nargs.c: New file.
38889         * stdio-common/Makefile (tests): Add nargs overflow test.
38890
38891 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
38892
38893         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38894
38895 2012-03-03  Marek Polacek  <polacek@redhat.com>
38896
38897         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38898         * math/math_private.h: Likewise.
38899         * stdlib/tst-strtod.c: Likewise.
38900         * sysdeps/i386/i486/bits/atomic.h: Likewise.
38901         * sysdeps/x86_64/bits/atomic.h: Likewise.
38902
38903 2012-03-02  David S. Miller  <davem@davemloft.net>
38904
38905         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38906         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38907         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38908         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38909         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38910         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38911         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38912         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38913
38914 2012-03-02  Roland McGrath  <roland@hack.frob.com>
38915
38916         [BZ #13792]
38917         * manual/examples/README: New file, says the example source files
38918         can be used under GPL>=2.
38919         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38920         line containing just "*/".
38921         * manual/examples/add.c: Add copyright header (GPL>=2).
38922         * manual/examples/argp-ex1.c: Likewise.
38923         * manual/examples/argp-ex2.c: Likewise.
38924         * manual/examples/argp-ex3.c: Likewise.
38925         * manual/examples/argp-ex4.c: Likewise.
38926         * manual/examples/atexit.c: Likewise.
38927         * manual/examples/db.c: Likewise.
38928         * manual/examples/dir.c: Likewise.
38929         * manual/examples/dir2.c: Likewise.
38930         * manual/examples/execinfo.c: Likewise.
38931         * manual/examples/filecli.c: Likewise.
38932         * manual/examples/filesrv.c: Likewise.
38933         * manual/examples/fmtmsgexpl.c: Likewise.
38934         * manual/examples/genpass.c: Likewise.
38935         * manual/examples/inetcli.c: Likewise.
38936         * manual/examples/inetsrv.c: Likewise.
38937         * manual/examples/isockad.c: Likewise.
38938         * manual/examples/longopt.c: Likewise.
38939         * manual/examples/memopen.c: Likewise.
38940         * manual/examples/memstrm.c: Likewise.
38941         * manual/examples/mkfsock.c: Likewise.
38942         * manual/examples/mkisock.c: Likewise.
38943         * manual/examples/mygetpass.c: Likewise.
38944         * manual/examples/pipe.c: Likewise.
38945         * manual/examples/popen.c: Likewise.
38946         * manual/examples/rprintf.c: Likewise.
38947         * manual/examples/search.c: Likewise.
38948         * manual/examples/select.c: Likewise.
38949         * manual/examples/setjmp.c: Likewise.
38950         * manual/examples/sigh1.c: Likewise.
38951         * manual/examples/sigusr.c: Likewise.
38952         * manual/examples/stpcpy.c: Likewise.
38953         * manual/examples/strdupa.c: Likewise.
38954         * manual/examples/strftim.c: Likewise.
38955         * manual/examples/strncat.c: Likewise.
38956         * manual/examples/subopt.c: Likewise.
38957         * manual/examples/swapcontext.c: Likewise.
38958         * manual/examples/termios.c: Likewise.
38959         * manual/examples/testopt.c: Likewise.
38960         * manual/examples/testpass.c: Likewise.
38961         * manual/examples/timeval_subtract.c: Likewise.
38962
38963         [BZ #13792]
38964         * manual/time.texi (Elapsed Time): Move timeval_subtract example
38965         function to ...
38966         * manual/timeval_subtract.c.texi: ... here, new file.
38967
38968 2012-03-02  David S. Miller  <davem@davemloft.net>
38969
38970         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38971
38972 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
38973
38974         [BZ #3976]
38975         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38976         (__sin): Save and restore rounding mode and use round-to-nearest
38977         for all computations.
38978         (__cos): Save and restore rounding mode and use round-to-nearest
38979         for all computations.
38980         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38981         <fenv.h>.
38982         (tan): Save and restore rounding mode and use round-to-nearest for
38983         all computations.
38984         * math/libm-test.inc (cos_test_tonearest): New function.
38985         (cos_test_towardzero): Likewise.
38986         (cos_test_downward): Likewise.
38987         (cos_test_upward): Likewise.
38988         (sin_test_tonearest): Likewise.
38989         (sin_test_towardzero): Likewise.
38990         (sin_test_downward): Likewise.
38991         (sin_test_upward): Likewise.
38992         (tan_test_tonearest): Likewise.
38993         (tan_test_towardzero): Likewise.
38994         (tan_test_downward): Likewise.
38995         (tan_test_upward): Likewise.
38996         (main): Call the new functions.
38997         * sysdeps/i386/fpu/libm-test-ulps: Update.
38998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38999
39000         [BZ #10135]
39001         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39002         small n, then large n, before computing and testing k+n.
39003         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39004         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39005         Likewise.
39006         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39007         Likewise.
39008         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39009         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39010         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39011         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39012         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39013         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39014         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39015         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39016         * math/libm-test.inc (scalbn_test): Add more tests.
39017         (scalbln_test): Likewise.
39018
39019         * manual/filesys.texi (mode_t): Describe constraints on size and
39020         signedness, not exact equivalence to a particular type.
39021         (ino_t): Likewise.
39022         (ino64_t): Likewise.
39023         (dev_t): Likewise.
39024         (nlink_t): Likewise.
39025         (blkcnt_t): Likewise.
39026         (blkcnt64_t): Likewise.
39027         * manual/llio.texi (off_t): Likewise.
39028
39029         [BZ #3976]
39030         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39031         (__ieee754_exp): Save and restore rounding mode and use
39032         round-to-nearest for all computations.
39033         * math/libm-test.inc (exp_test_tonearest): New function.
39034         (exp_test_towardzero): Likewise.
39035         (exp_test_downward): Likewise.
39036         (exp_test_upward): Likewise.
39037         (main): Call the new functions.
39038         * sysdeps/i386/fpu/libm-test-ulps: Update.
39039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39040
39041 2012-03-01  Chris Demetriou  <cgd@google.com>
39042
39043         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39044         have predictable order.
39045
39046 2012-03-01  David S. Miller  <davem@davemloft.net>
39047
39048         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39049
39050         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39051         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39052         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39053         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39054
39055         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39056         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39057         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39059         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39060         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39061         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39062         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39063         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39064
39065         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39066
39067         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39068         * sysdeps/sparc/fpu/libm-test-ulps: to here.
39069         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39070
39071         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39072         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39073         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39074         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39075         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39076         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39077         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39078         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39079         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39080         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39081         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39082         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39083         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39084         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39085         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39086         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39087         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39088         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39089         * sysdeps/sparc/elf/configure: Regenerated.
39090
39091 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
39092
39093         * configure.in (AS, LD): Require binutils 2.20 or later.
39094         * configure: Regenerated.
39095         * manual/install.texi (Tools for Compilation): Give binutils 2.20
39096         as required minimum version.
39097         * INSTALL: Regenerated.
39098
39099         [BZ #2541]
39100         [BZ #4108]
39101         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39102         before squaring exponent.
39103         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39104         bottom long double and 27 bits of top long double before squaring
39105         exponent.
39106         * math/libm-test.inc (erfc_test): Add more tests.
39107         * sysdeps/i386/fpu/libm-test-ulps: Update.
39108         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39110
39111 2012-03-01  Kai Tietz  <ktietz@redhat.com>
39112
39113         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39114         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39115         containing bit-fields.
39116         * soft-fp/extended.h (_FP_UNION_E): Likewise.
39117         * soft-fp/single.h (_FP_UNION_S): Likewise.
39118         * soft-fp/double.h (_FP_UNION_D): Likewise.
39119
39120 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39121
39122         [BZ #13786]
39123         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39124         not include ../strcmp.S.
39125         [USE_AS_STRNCASECMP_L]: Likewise.
39126         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39127         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39128         * sysdeps/i386/i686/multiarch/strncase_l-c.c
39129         (__strncasecmp_l_ia32): Define as alias to
39130         __strncasecmp_l_nonascii.
39131
39132         [BZ #5794]
39133         * math/libm-test.inc (expm1_test): Add test for bug 5794.
39134         * sysdeps/i386/fpu/libm-test-ulps: Update.
39135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39136
39137         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39139
39140 2012-02-29  Jeff Law  <law@redhat.com>
39141
39142         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39143         out of bounds read.
39144
39145 2012-02-29  Marek Polacek  <polacek@redhat.com>
39146
39147         [BZ #13706]
39148         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39149         * elf/Makefile: Add rules to run tst-unused-dep.out.
39150
39151 2012-02-28  David S. Miller  <davem@davemloft.net>
39152
39153         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39154         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39155         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39156         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39157         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39158         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39159
39160 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39161
39162         * math/libm-test.inc (llround_test): Move one test from
39163         lround_test.  Use TEST_f_L in moved test.
39164         (lround_test): Move misplaced test to llround_test.  Add testcase
39165         from bug 2561.
39166
39167 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
39168
39169         * sysdeps/x86_64/fpu/e_expf.S: New file.
39170         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39171
39172 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
39173
39174         [BZ #13637]
39175         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39176         of remain_len that may cause incomplete multi-byte character and
39177         false match.
39178         * posix/bug-regex33.c: New file.
39179         * posix/Makefile (tests): Add bug-regex33.
39180
39181 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
39182
39183         * manual/macros.texi: New file.
39184         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39185         * manual/libc.texinfo: Include macros.texi.
39186         * manual/creatute.texi: Likewise.
39187         * manual/install.texi: Likewise.
39188         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39189         @glibcadj{} in references to the GNU C Library.
39190         * manual/charset.texi: Likewise.
39191         * manual/conf.texi: Likewise.
39192         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
39193         when not using those macros.
39194         * manual/creature.texi: Likewise.
39195         * manual/crypt.texi: Likewise.
39196         * manual/errno.texi: Likewise.
39197         * manual/filesys.texi: Likewise.
39198         * manual/header.texi: Likewise.
39199         * manual/install.texi: Likewise.
39200         * manual/intro.texi: Likewise.
39201         * manual/io.texi: Likewise.
39202         * manual/job.texi: Likewise.
39203         * manual/lang.texi: Likewise.
39204         * manual/libc.texiinfo: Likewise.
39205         * manual/llio.texi: Likewise.
39206         * manual/locale.texi: Likewise.
39207         * manual/maint.texi: Likewise.
39208         * manual/math.texi: Likewise.
39209         * manual/memory.texi: Likewise.
39210         * manual/message.texi: Likewise.
39211         * manual/nss.texi: Likewise.
39212         * manual/pattern.texi: Likewise.
39213         * manual/process.texi: Likewise.
39214         * manual/resource.texi: Likewise.
39215         * manual/search.texi: Likewise.
39216         * manual/setjmp.texi: Likewise.
39217         * manual/signal.texi: Likewise.
39218         * manual/socket.texi: Likewise.
39219         * manual/startup.texi: Likewise.
39220         * manual/stdio.texi: Likewise.
39221         * manual/string.texi: Likewise.
39222         * manual/sysinfo.texi: Likewise.
39223         * manual/syslog.texi: Likewise.
39224         * manual/terminal.texi: Likewise.
39225         * manual/time.texi: Likewise.
39226         * manual/users.texi: Likewise.
39227         * INSTALL: Regenerated.
39228         * NOTES: Regenerated.
39229         * sysdeps/gnu/errlist.c: Regenerated.
39230
39231 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
39232
39233         * include/dirent.h: Include <dirstream.h> before
39234         <dirent/dirent.h>.
39235
39236 2012-02-28  David S. Miller  <davem@davemloft.net>
39237
39238         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39239         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39240         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39241         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39242
39243 2012-02-27  David S. Miller  <davem@davemloft.net>
39244
39245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39247         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39248         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39249
39250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39251         frame pointer instead of stack pointer relative arg slot.
39252         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39253         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39254         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39255
39256 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
39257
39258         [BZ #3992]
39259         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39260
39261 2012-02-27  David S. Miller  <davem@davemloft.net>
39262
39263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39264         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39265         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39266         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39267         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39268         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39269         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39270         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39271
39272 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39273
39274         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39275         later.  Allow versions 5-9.
39276         * configure: Regenerated.
39277         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39278         required minimum version and 4.6 as recommended version.  Do not
39279         mention bugs in GCC 2.7 and 2.8.
39280         * INSTALL: Regenerated.
39281
39282 2012-02-27  David S. Miller  <davem@davemloft.net>
39283
39284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39288         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39289         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39290         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39291         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39292
39293         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39294         manipulate bits before adding and subtracting TWO112[sx].
39295         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39296
39297 2012-02-27  Roland McGrath  <roland@hack.frob.com>
39298
39299         [BZ #13775]
39300         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39301         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39302         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39303         being in POSIX, because they are in 1003.1-2008.
39304
39305         * rt/tst-aio.c: Include <fcntl.h>.
39306         * rt/tst-aio7.c: Likewise.
39307         * rt/tst-aio64.c: Likewise.
39308
39309         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39310
39311 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39312
39313         * manual/install.texi (--with-headers): Describe headers as
39314         interface headers, not private headers.
39315         (Specific advice for GNU/Linux systems): Describe use of headers
39316         from "make headers_install", not private headers from older
39317         kernels.
39318         * INSTALL: Regenerated.
39319         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39320         Change to 2.6.19.
39321         * sysdeps/unix/sysv/linux/configure: Regenerated.
39322
39323         * manual/llio.texi (fclean): Remove documentation.
39324
39325         * manual/Makefile (libc-texi-generated): New variable.  Include
39326         version.texi.
39327         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39328         $(libc-texi-generated), not duplicated list of files.
39329         (version.texi, stamp-version): New rules.
39330         (realclean): Remove $(libc-texi-generated), not individual files
39331         from that list.  Do not remove dir-add.texinfo.
39332         * manual/libc.texinfo: Comment out uses of edition numbers and
39333         references to printed manual.  Remove last-updated dates.
39334         (EDITION): Comment out.
39335         (ISBN): Likewise.
39336         (VERSION, UPDATED): Remove.
39337         (version.texi): Include.
39338
39339 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
39340
39341         * sysdeps/posix/spawni.c: Include <signal.h>.
39342         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39343         * sysdeps/pthread/aio_fsync.c: Likewise.
39344
39345 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
39346
39347         * conform/Makefile (tests): Run only when not cross-compiling and
39348         when fast-check is not defined.
39349
39350         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39351         * conform/data/limits.h-data: Fixes for POSIX2008.
39352         * conform/run-conformtest.sh: Run all tests.
39353         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39354         headers.
39355         * include/bits/dlfcn.h: Likewise.
39356         * include/langinfo.h: Likewise.
39357         * include/monetary.h: Likewise.
39358         * include/sys/poll.h: Likewise.
39359
39360         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39361         for __USE_GNU.
39362         * posix/spawn.h: Define __need_sigset_t.
39363         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39364         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39365         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
39366         to get sigevent_t only.
39367         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39368         only for __USE_GNU.
39369         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39370         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39371         process_vm_writev only for __USE_GNU.
39372         * termios/termios.h: Declare tcgetsid also for POSIX2008.
39373
39374         * conform/Makefile: For now ignore errors from run-conformtest.
39375         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
39376         POSIX to avoid namespace pollution.  Don't prepend headers.
39377         * conform/data/aio.h-data: Fixes for POSIX testing.
39378         * conform/data/fcntl.h-data: Likewise.
39379         * conform/data/glob.h-data: Likewise.
39380         * conform/data/grp.h-data: Likewise.
39381         * conform/data/pthread.h-data: Likewise.
39382         * conform/data/pwd.h-data: Likewise.
39383         * conform/data/signal.h-data: Likewise.
39384         * conform/data/spawn.h-data: Likewise.
39385         * conform/data/stdio.h-data: Likewise.
39386         * conform/data/stdlib.h-data: Likewise.
39387         * conform/data/stropts.h-data: Likewise.
39388         * conform/data/sys/mman.h-data: Likewise.
39389         * conform/data/sys/stat.h-data: Likewise.
39390         * conform/data/sys/types.h-data: Likewise.
39391         * conform/data/sys/wait.h-data: Likewise.
39392         * conform/data/time.h-data: Likewise.
39393         * conform/data/unistd.h-data: Likewise.
39394         * conform/data/utime.h-data: Likewise.
39395
39396         * io/sys/stat.h: fchmod was always in POSIX.
39397         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39398         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39399         * rt/aio.h: Define __need_timespec before including <time.h>.
39400         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39401         struct.  Add forward declaration of pthread_attr_t and use it in
39402         sigevent.
39403         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39404         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39405         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39406         always remove CLK_TCK definition.
39407
39408 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
39409
39410         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39411
39412 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
39413
39414         * conform/run-conformtest.sh: New file.
39415         * conform/Makefile: Run run-conformtest for tests.
39416         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
39417         support.
39418
39419         * conform/data/uchar.h-data: New file.
39420         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39421         * conform/data/arpa/inet.h-data: Likewise.
39422         * conform/data/assert.h-data: Likewise.
39423         * conform/data/complex.h-data: Likewise.
39424         * conform/data/cpio.h-data: Likewise.
39425         * conform/data/ctype.h-data: Likewise.
39426         * conform/data/dirent.h-data: Likewise.
39427         * conform/data/dlfcn.h-data: Likewise.
39428         * conform/data/errno.h-data: Likewise.
39429         * conform/data/fcntl.h-data: Likewise.
39430         * conform/data/float.h-data: Likewise.
39431         * conform/data/fmtmsg.h-data: Likewise.
39432         * conform/data/fnmatch.h-data: Likewise.
39433         * conform/data/ftw.h-data: Likewise.
39434         * conform/data/glob.h-data: Likewise.
39435         * conform/data/grp.h-data: Likewise.
39436         * conform/data/iconv.h-data: Likewise.
39437         * conform/data/inttypes.h-data: Likewise.
39438         * conform/data/langinfo.h-data: Likewise.
39439         * conform/data/libgen.h-data: Likewise.
39440         * conform/data/limits.h-data: Likewise.
39441         * conform/data/locale.h-data: Likewise.
39442         * conform/data/math.h-data: Likewise.
39443         * conform/data/monetary.h-data: Likewise.
39444         * conform/data/mqueue.h-data: Likewise.
39445         * conform/data/ndbm.h-data: Likewise.
39446         * conform/data/net/if.h-data: Likewise.
39447         * conform/data/netdb.h-data: Likewise.
39448         * conform/data/netinet/in.h-data: Likewise.
39449         * conform/data/nl_types.h-data: Likewise.
39450         * conform/data/poll.h-data: Likewise.
39451         * conform/data/pthread.h-data: Likewise.
39452         * conform/data/pwd.h-data: Likewise.
39453         * conform/data/regex.h-data: Likewise.
39454         * conform/data/sched.h-data: Likewise.
39455         * conform/data/search.h-data: Likewise.
39456         * conform/data/semaphore.h-data: Likewise.
39457         * conform/data/setjmp.h-data: Likewise.
39458         * conform/data/signal.h-data: Likewise.
39459         * conform/data/spawn.h-data: Likewise.
39460         * conform/data/stdarg.h-data: Likewise.
39461         * conform/data/stdio.h-data: Likewise.
39462         * conform/data/stdlib.h-data: Likewise.
39463         * conform/data/string.h-data: Likewise.
39464         * conform/data/strings.h-data: Likewise.
39465         * conform/data/stropts.h-data: Likewise.
39466         * conform/data/sys/ipc.h-data: Likewise.
39467         * conform/data/sys/mman.h-data: Likewise.
39468         * conform/data/sys/msg.h-data: Likewise.
39469         * conform/data/sys/resource.h-data: Likewise.
39470         * conform/data/sys/select.h-data: Likewise.
39471         * conform/data/sys/sem.h-data: Likewise.
39472         * conform/data/sys/shm.h-data: Likewise.
39473         * conform/data/sys/socket.h-data: Likewise.
39474         * conform/data/sys/stat.h-data: Likewise.
39475         * conform/data/sys/statvfs.h-data: Likewise.
39476         * conform/data/sys/time.h-data: Likewise.
39477         * conform/data/sys/timeb.h-data: Likewise.
39478         * conform/data/sys/times.h-data: Likewise.
39479         * conform/data/sys/types.h-data: Likewise.
39480         * conform/data/sys/uio.h-data: Likewise.
39481         * conform/data/sys/un.h-data: Likewise.
39482         * conform/data/sys/utsname.h-data: Likewise.
39483         * conform/data/sys/wait.h-data: Likewise.
39484         * conform/data/syslog.h-data: Likewise.
39485         * conform/data/tar.h-data: Likewise.
39486         * conform/data/termios.h-data: Likewise.
39487         * conform/data/utime.h-data: Likewise.
39488         * conform/data/utmpx.h-data: Likewise.
39489         * conform/data/varargs.h-data: Likewise.
39490         * conform/data/wchar.h-data: Likewise.
39491         * conform/data/wctype.h-data: Likewise.
39492         * conform/data/wordexp.h-data: Likewise.
39493
39494         * include/stropts.h: New file.
39495         * include/uchar.h: New file.
39496         * include/aio.h: Changes to allow conformtest.pl to use the headers.
39497         * include/assert.h: Likewise.
39498         * include/ctype.h: Likewise.
39499         * include/dirent.h: Likewise.
39500         * include/dlfcn.h: Likewise.
39501         * include/fcntl.h: Likewise.
39502         * include/fnmatch.h: Likewise.
39503         * include/glob.h: Likewise.
39504         * include/grp.h: Likewise.
39505         * include/libio.h: Likewise.
39506         * include/locale.h: Likewise.
39507         * include/math.h: Likewise.
39508         * include/net/if.h: Likewise.
39509         * include/netdb.h: Likewise.
39510         * include/netinet/in.h: Likewise.
39511         * include/pthread.h: Likewise.
39512         * include/pwd.h: Likewise.
39513         * include/regex.h: Likewise.
39514         * include/sched.h: Likewise.
39515         * include/search.h: Likewise.
39516         * include/setjmp.h: Likewise.
39517         * include/signal.h: Likewise.
39518         * include/stdio.h: Likewise.
39519         * include/stdlib.h: Likewise.
39520         * include/string.h: Likewise.
39521         * include/sys/cdefs.h: Likewise.
39522         * include/sys/mman.h: Likewise.
39523         * include/sys/msg.h: Likewise.
39524         * include/sys/resource.h: Likewise.
39525         * include/sys/select.h: Likewise.
39526         * include/sys/socket.h: Likewise.
39527         * include/sys/stat.h: Likewise.
39528         * include/sys/statvfs.h: Likewise.
39529         * include/sys/time.h: Likewise.
39530         * include/sys/times.h: Likewise.
39531         * include/sys/uio.h: Likewise.
39532         * include/sys/utsname.h: Likewise.
39533         * include/sys/wait.h: Likewise.
39534         * include/termios.h: Likewise.
39535         * include/time.h: Likewise.
39536         * include/ulimit.h: Likewise.
39537         * include/unistd.h: Likewise.
39538         * include/utime.h: Likewise.
39539         * include/wchar.h: Likewise.
39540         * include/wctype.h: Likewise.
39541         * include/wordexp.h: Likewise.
39542
39543         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39544
39545         * time/time.h: TIME_UTC must be a macro.
39546         Make timespec_get available for ISO C11 only as well.
39547
39548 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
39549
39550         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39551         Reported by Peng Haitao <penght@cn.fujitsu.com>.
39552
39553 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39554
39555         * configure.in: Use -o not -a in test for unsupported multi-arch.
39556
39557 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39558
39559         * manual/texinfo.tex: Update to version 2012-01-19.16.
39560
39561 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39562
39563         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39564
39565 2012-02-24  Roland McGrath  <roland@hack.frob.com>
39566
39567         [BZ #13738]
39568         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39569         * manual/fdl-1.3.texi: New file.
39570         * manual/fdl-1.1.texi: File removed.
39571
39572         [BZ #13738]
39573         * manual/libc.texinfo (FDL_VERSION): New @set.
39574         Use it for mention of FDL in cover text.
39575         (Documentation License): Use it in @include file name.
39576
39577 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39578             Roland McGrath  <roland@hack.frob.com>
39579
39580         [BZ #5461]
39581         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39582         (not LONG_LONG_MAX and LONG_LONG_MIN.
39583         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39584         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
39585         name.
39586         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39587
39588 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39589
39590         [BZ #2547]
39591         [BZ #11365]
39592         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39593         manipulate bits before adding and subtracting TWO23[sx].
39594         * math/libm-test.inc (nearbyint_test): Add more tests.
39595
39596 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39597
39598         [BZ #2548]
39599         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39600         bits before adding and subtracting TWO23[sx].
39601         * math/libm-test.inc (rint_test): Add more tests.
39602         (rint_test_tonearest): Likewise.
39603         (rint_test_towardzero): Likewise.
39604         (rint_test_downward): Likewise.
39605         (rint_test_upward: Likewise.
39606
39607 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39608
39609         [BZ #10110]
39610         * include/stdc-predef.h: New file.  Extracted from features.h.
39611         * include/features.h: Include stdc-predef.h.
39612         * Makefile (headers): Add stdc-predef.h.
39613         * CONFORMANCE (Compiler limitations): Update.
39614
39615 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39616
39617         * manual/libc.texinfo (VERSION, UPDATED): Revert.
39618
39619 2012-02-21  David S. Miller  <davem@davemloft.net>
39620
39621         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39622         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39623
39624 2012-02-20  David S. Miller  <davem@davemloft.net>
39625
39626         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39627         using a normal save/restore sequence, rather than allocating a
39628         dummy stack frame just to store a frame pointer and restore.
39629         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39630
39631 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39632
39633         * manual/install.texi: Fix stray word in line-wrapped comment.
39634
39635 2012-02-20  David S. Miller  <davem@davemloft.net>
39636
39637         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39638         both binutils and gcc support GOTDATA.
39639
39640         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39641         "rd %pc" in the PIC register setup sequences.
39642
39643         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39644         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39645         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39646         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39647         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39648         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39649         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39650         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39651         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39652         (SYSCALL_ERROR_HANDLER): Likewise.
39653         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39654         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39655         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39656         (SYSCALL_ERROR_HANDLER): Likewise.
39657
39658         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39659         (HAVE_GCC_GOTDATA): New.
39660         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39661         relocation support in both binutils and gcc.
39662         * sysdeps/sparc/elf/configure: Regenerate.
39663
39664         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39665         * sysdeps/sparc/sparc32/elf/configure: Delete.
39666         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39667         * sysdeps/sparc/sparc64/elf/configure: Delete.
39668         * sysdeps/sparc/elf/configure.in: New file.
39669         * sysdeps/sparc/elf/configure: Generate.
39670
39671         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39672         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39673         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39674         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39675         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39676
39677 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39678
39679         * manual/install.texi: Do not mention specific glibc version
39680         numbers.
39681         * manual/libc.texinfo (VERSION, UPDATED): Update.
39682         (@copying): Use @copyright{} and range of years.
39683
39684 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39685
39686         [BZ #13695]
39687         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39688         [crti.S not in sysdirs] (generated): Do not append.
39689         [crti.S not in sysdirs] (omit-deps): Likewise.
39690         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39691         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39692         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39693         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39694         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39695         Likewise.
39696         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39697         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39698         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39699         * csu/defs.awk: Remove file.
39700         * sysdeps/generic/initfini.c: Likewise.
39701         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39702         variable.
39703         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39704         Likewise.
39705
39706 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39707
39708         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39709         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39710         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39711         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39712         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39713         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39714         <bits/epoll.h>.
39715         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39716         (__EPOLL_PACKED): Define to empty if not defined by
39717         <bits/epoll.h>.
39718         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39719         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39720         bits/epoll.h.
39721
39722 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39723
39724         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39725         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39726         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39727         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39728         <bits/timerfd.h>.
39729         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39730         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39731         bits/timerfd.h.
39732
39733 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39734
39735         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39736         in C locale.
39737         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39738         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39739         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39741
39742 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
39743
39744         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39745         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39746
39747 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
39748
39749         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39750         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39751         defined.
39752         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39753         Likewise.
39754         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39755         entry for 2.16.
39756
39757 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
39758
39759         * math/w_acos.c: Use non-signaling floating-point comparisons.
39760         * math/w_acosf.c: Likewise.
39761         * math/w_acosh.c: Likewise.
39762         * math/w_acoshf.c: Likewise.
39763         * math/w_acoshl.c: Likewise.
39764         * math/w_acosl.c: Likewise.
39765         * math/w_asin.c: Likewise.
39766         * math/w_asinf.c: Likewise.
39767         * math/w_asinl.c: Likewise.
39768         * math/w_atanh.c: Likewise.
39769         * math/w_atanhf.c: Likewise.
39770         * math/w_atanhl.c: Likewise.
39771         * math/w_exp2.c: Likewise.
39772         * math/w_exp2f.c: Likewise.
39773         * math/w_exp2l.c: Likewise.
39774         * math/w_j0.c: Likewise.
39775         * math/w_j0f.c: Likewise.
39776         * math/w_j0l.c: Likewise.
39777         * math/w_j1.c: Likewise.
39778         * math/w_j1f.c: Likewise.
39779         * math/w_j1l.c: Likewise.
39780         * math/w_jn.c: Likewise.
39781         * math/w_jnf.c: Likewise.
39782         * math/w_log.c: Likewise.
39783         * math/w_log10.c: Likewise.
39784         * math/w_log10f.c: Likewise.
39785         * math/w_log10l.c: Likewise.
39786         * math/w_log2.c: Likewise.
39787         * math/w_log2f.c: Likewise.
39788         * math/w_log2l.c: Likewise.
39789         * math/w_logf.c: Likewise.
39790         * math/w_logl.c: Likewise.
39791         * math/w_sqrt.c: Likewise.
39792         * math/w_sqrtf.c: Likewise.
39793         * math/w_sqrtl.c: Likewise.
39794         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39795         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39796         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39797         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39798         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39799
39800 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39801
39802         [BZ #9739]
39803         * manual/string.texi (strnlen): Use correct parameter name in
39804         equivalent expression.
39805
39806 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39807
39808         [BZ #11174]
39809         * manual/users.texi (seteuid): Consistently use neweuid for
39810         argument name.
39811
39812 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39813
39814         [BZ #13704]
39815         * manual/nss.texi (Services in the NSS configuration): Correct
39816         list of services in example configuration file.
39817
39818 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
39819
39820         [BZ #11322]
39821         * manual/arith.texi: Remove statements about negative zero
39822         behaving identically to zero.
39823
39824 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
39825
39826         [BZ #5993]
39827         * manual/install.texi: Do not document upgrading from libc5.
39828
39829 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
39830
39831         [BZ #4596]
39832         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39833
39834 2012-02-18  David S. Miller  <davem@davemloft.net>
39835
39836         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39837         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39838         %o7 across the call.
39839         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39840         instead.
39841         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39842         SETUP_PIC_REG_LEAF.
39843         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39844         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39845         * sysdeps/sparc/crtn.S: Likewise.
39846
39847 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
39848
39849         * aout/Makefile: Remove.
39850
39851 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
39852
39853         [BZ #13058]
39854         * manual/examples/argp-ex1.c (main): Format definition in GNU
39855         style.
39856         * manual/examples/argp-ex2.c (main): Likewise.
39857         * manual/examples/argp-ex3.c (main): Likewise.
39858         * manual/examples/argp-ex4.c (main): Likewise.
39859         * manual/examples/longopt.c (main): Use new-style prototype
39860         definition.
39861         * manual/examples/strncat.c (main): Specify return type and use
39862         (void) for arguments.
39863         * manual/examples/subopt.c (main): Use char **argv argument.
39864
39865 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39866
39867         [BZ #5077]
39868         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39869         rounding modes.
39870
39871 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
39872
39873         [BZ #6907]
39874         * manual/string.texi (strchr): Change when strchrnul is
39875         recommended.
39876
39877 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
39878
39879         [BZ #174]
39880         * manual/locale.texi (setlocale): Document LOCPATH.
39881
39882 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39883
39884         [BZ #10210]
39885         * manual/process.texi (execle): Move @dots{} before last argument.
39886
39887 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
39888
39889         [BZ #12047]
39890         * manual/charset.texi (Generic Charset Conversion): Fix typo
39891         (LC_TYPE -> LC_CTYPE).
39892
39893 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
39894
39895         [BZ #5805]
39896         * manual/arith.texi (scalbn): Use @var{} on parameter names.
39897         (scalbnf): Likewise.
39898         (scalbnl): Likewise.
39899         (scalbln): Likewise.
39900         (scalblnf): Likewise.
39901         (scalblnl): Likewise.
39902         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39903         (vwarnx): Likewise.
39904         (verr): Likewise.
39905         (verrx): Likewise.
39906         * manual/filesys.texi (telldir): Use braces around return type.
39907         * manual/llio.texi (mmap): Add space after comma.
39908         (mmap64): Likewise.
39909         * manual/math.texi (jn): Use @var{} on parameter names.
39910         (jnf): Likewise.
39911         (jnl): Likewise.
39912         (yn): Likewise.
39913         (ynf): Likewise.
39914         (ynl): Likewise.
39915         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39916         line.
39917         * manual/resource.texi (ulimit): Use @dots{} instead of literal
39918         "...".
39919         (sched_get_priority_min): Remove semicolon on @deftypefun line.
39920         (sched_get_priority_max): Likewise.
39921         * manual/signal.texi (sigvec): Add space after comma.
39922         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39923         names.
39924         (if_indextoname): Likewise.
39925         (if_freenameindex): Likewise.
39926         (sendto): Use ',' instead of '.' in prototype.
39927         * manual/startup.texi (syscall): Use @dots{} instead of literal
39928         "...".
39929         * manual/stdio.texi (__fpending): Separate initial words of
39930         paragraph from @deftypefun line.
39931         * manual/syslog.texi (syslog): Use @dots{} instead of literal
39932         "...".
39933         (vsyslog): Use @var{} on parameter names.
39934         * manual/terminal.texi (stty): Use @var{} on parameter names.
39935         * manual/users.texi (getutmp): Use @var{} on parameter names.
39936         (getutmpx): Likewise.
39937
39938 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39939
39940         [BZ #6884]
39941         * manual/stdio.texi (fopen): Fix typos in description of
39942         ",ccs=STRING".
39943
39944 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
39945
39946         [BZ #4026]
39947         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39948         get clock_id definition.
39949
39950 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
39951
39952         [BZ #4822]
39953         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39954         (madvise): Cast every argument to void on its own.
39955
39956 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39957
39958         [BZ #9902]
39959         * manual/startup.texi (Exit Status): Fix typo.
39960
39961 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39962
39963         [BZ #10140]
39964         * manual/examples/argp-ex1.c: Include <stdlib.h>.
39965         * manual/examples/argp-ex2.c: Likewise.
39966         * manual/examples/argp-ex3.c: Likewise.
39967
39968 2012-02-16  Richard Henderson  <rth@redhat.com>
39969
39970         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39971         * sysdeps/s390/s390-32/initfini.c: Remove.
39972         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39973         * sysdeps/s390/s390-64/initfini.c: Remove.
39974
39975 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39976
39977         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39978         compiler output for sysdeps/generic/initfini.c.
39979         * sysdeps/sh/elf/initfini.c: Remove file.
39980
39981 2012-02-16  David S. Miller  <davem@davemloft.net>
39982
39983         [BZ #11494]
39984         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39985
39986         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39987         * sysdeps/sparc/crti.S: New file.
39988         * sysdeps/sparc/crtn.S: New file.
39989         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39990         * sysdeps/sparc/sparc64/Makefile: Likewise.
39991
39992 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
39993
39994         [BZ #3335]
39995         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39996
39997 2012-02-15  Roland McGrath  <roland@hack.frob.com>
39998
39999         [BZ #4822]
40000         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40001
40002         * mach/devstream.c (cookie_io_functions_t): Macro removed.
40003         (write, read, close): Likewise.
40004         Patch by Aurelien Jarno <aurelien@aurel32.net>.
40005
40006 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
40007
40008         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40009         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40010         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40011         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40012         <bits/signalfd.h>.
40013         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40014         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40015         bits/signalfd.h.
40016
40017 2012-02-14  Marek Polacek  <polacek@redhat.com>
40018
40019         * sysdeps/x86_64/crti.S: New file.
40020         * sysdeps/x86_64/crtn.S: New file.
40021         * sysdeps/x86_64/elf/initfini.c: Remove file.
40022
40023 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40024
40025         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40026         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40027         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40028         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40029         <bits/inotify.h>.
40030         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40031         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40032         bits/inotify.h.
40033
40034 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40035
40036         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40037         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40038         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40039         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40040         <bits/eventfd.h>.
40041         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40042         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40043         bits/eventfd.h.
40044
40045 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
40046
40047         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40048         __feraiseexcept instead of feraiseexcept.
40049
40050         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40051         nanosleep invocations.
40052         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40053         strings, and add error checking for a nanosleep invocations.
40054
40055 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
40056
40057         Replace FSF snail mail address with URLs, as per GNU coding standards.
40058         Most of the snail mail addresses were wrong anyway, and omitting
40059         them makes the source code easier to maintain.  Almost all of the
40060         changes are to license notices and to locale LC_IDENTIFICATION
40061         addresses, except for this one:
40062         * manual/libc.texinfo: In "Published by", give the FSF's URL,
40063         not its snail mail address.
40064
40065 2012-02-09  Richard Henderson  <rth@twiddle.net>
40066
40067         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40068         of kernel-features.h.
40069
40070         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40071
40072 2012-02-08  Marek Polacek  <polacek@redhat.com>
40073
40074         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40075         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40076         * sysdeps/gnu/_G_config.h: Likewise.
40077         * sysdeps/generic/_G_config.h: Likewise.
40078
40079 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
40080
40081         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40082         tests.
40083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40084
40085         * sysdeps/powerpc/powerpc32/crti.S: New file.
40086         * sysdeps/powerpc/powerpc32/crtn.S: New file.
40087         * sysdeps/powerpc/powerpc64/crti.S: New file.
40088         * sysdeps/powerpc/powerpc64/crtn.S: New file.
40089
40090         * Makeconfig (have-initfini): Don't set.
40091         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40092         * configure.in (nopic_initfini): Don't substitute.
40093         * config.h.in (HAVE_INITFINI): Don't #undef.
40094         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40095         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40096
40097 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
40098
40099         Support crti.S and crtn.S provided directly by architectures.
40100         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40101         [crti.S in sysdirs] (omit-deps): Likewise.
40102         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40103         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40104         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40105         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40106         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40107         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40108         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40109         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40110         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40111         compiler output for sysdeps/generic/initfini.c.
40112         * sysdeps/i386/elf/Makefile: Remove file.
40113         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40114
40115 2012-02-07  Marek Polacek  <polacek@redhat.com>
40116
40117         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40118         * sysdeps/gnu/_G_config.h: Likewise.
40119         * sysdeps/mach/hurd/_G_config.h: Likewise.
40120
40121 2012-02-07  Marek Polacek  <polacek@redhat.com>
40122
40123         * math/Makefile (tests): Add tst-CMPLX2.
40124         * math/tst-CMPLX2.c: New file.
40125
40126 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
40127
40128         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40129
40130         * math/libm-test.inc (jn_test): Add missing L suffix.
40131
40132 2012-02-06  Marek Polacek  <polacek@redhat.com>
40133
40134         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40135         * sysdeps/i386/fpu/e_powf.S: Likewise.
40136         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40137         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40138         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40139         * sysdeps/i386/fpu/e_pow.S: Likewise.
40140         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40141         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40142         * sysdeps/i386/fpu/s_expm1.S: Likewise.
40143         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40144         * sysdeps/i386/fpu/e_log2.S: Likewise.
40145         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40146         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40147         * sysdeps/i386/fpu/e_powl.S: Likewise.
40148         * sysdeps/i386/fpu/s_log1p.S: Likewise.
40149         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40150         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40151         * sysdeps/i386/fpu/e_logl.S: Likewise.
40152         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40153         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40154         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40155         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40156         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40157         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40158         * sysdeps/i386/fpu/e_log.S: Likewise.
40159         * sysdeps/i386/fpu/s_cexp.S: Likewise.
40160         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40161         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40162         * sysdeps/i386/fpu/e_logf.S: Likewise.
40163         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40164         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40165         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40166         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40167         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40168         * sysdeps/i386/fpu/e_log10.S: Likewise.
40169         * sysdeps/i386/fpu/s_frexp.S: Likewise.
40170         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40171         * sysdeps/i386/fpu/s_asinh.S: Likewise.
40172         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40173         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40174         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40175         * sysdeps/i386/asm-syntax.h: Likewise.
40176         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40177         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40178         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40179         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40180         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40181         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40182         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40183         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40184         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40185         * sysdeps/powerpc/sysdep.h: Likewise.
40186         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40187         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40188
40189 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40190
40191         [BZ #411]
40192         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40193
40194 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40195
40196         * sysdeps/i386/sysdep.h: Include <features.h>.
40197         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40198         version.
40199
40200 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
40201
40202         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40203         Define.
40204         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40205         LOAD_PIC_REG_STR.
40206
40207 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40208
40209         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40210         (SETUP_PIC_REG): Use GET_PC_THUNK.
40211         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40212         macro.
40213
40214 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40215
40216         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40217         for non-PIC compilation.
40218         (SETUP_PIC_REG): Add .p2align directive.
40219         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40220         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40221         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40222         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40223         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40224         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40225         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40226         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40227         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40228         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40229         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40230         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40231         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40232         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40233         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40234         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40235         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40236         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40237         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40238         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40239         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40240         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40241         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40242         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40243         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40244         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40245         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40246         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40247         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40248         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40249         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40250         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40251         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40252         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40253         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40254         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40255         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40256         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40257         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40258         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40259         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40260
40261 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40262
40263         * math/tst-CMPLX.c: Include <stdio.h>.
40264
40265 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
40266
40267         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40268         float.
40269         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40270         * sysdeps/sparc/bits/mathdef.h: Likewise.
40271
40272 2012-01-31  Marek Polacek  <polacek@redhat.com>
40273
40274         * libio/libio.h: Don't define _PARAMS.
40275         * locale/programs/config.h: Don't define PARAMS.
40276         * stdlib/strtol_l.c: Likewise.
40277         (__strtol_l): Remove PARAMS from the prototype.
40278
40279 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
40280
40281         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
40282         names.  Just use the correct names.  Remove unnecessary wrapper
40283         functions.
40284         * malloc/arena.c: Likewise.
40285         * malloc/hooks.c: Likewise.
40286
40287         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40288         ARENA_TEST says not to.  Simplify test for creation of a new arena.
40289         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40290
40291 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
40292
40293         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40294         into tail calls.
40295         (update_get_addr): New function.
40296         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40297         GET_ADDR_MODULE parameter.
40298
40299 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40300
40301         * crypt/cert.c: Remove __STDC__ conditionals.
40302         * crypt/crypt-entry.c: Likewise.
40303         * crypt/crypt_util.c: Likewise.
40304         * libio/filedoalloc.c: Likewise.
40305         * libio/fileops.c: Likewise.
40306         * libio/genops.c: Likewise.
40307         * libio/iofclose.c: Likewise.
40308         * libio/iofdopen.c: Likewise.
40309         * libio/iofopen.c: Likewise.
40310         * libio/iofopen64.c: Likewise.
40311         * libio/iogetdelim.c: Likewise.
40312         * libio/iopopen.c: Likewise.
40313         * libio/obprintf.c: Likewise.
40314         * libio/oldfileops.c: Likewise.
40315         * libio/oldiofclose.c: Likewise.
40316         * libio/oldiofdopen.c: Likewise.
40317         * libio/oldiofopen.c: Likewise.
40318         * libio/oldiopopen.c: Likewise.
40319         * libio/wfiledoalloc.c: Likewise.
40320         * libio/wgenops.c: Likewise.
40321         * locale/programs/xmalloc.c: Likewise.
40322         * misc/syslog.c: Likewise.
40323         * stdio-common/xbug.c: Likewise.
40324         * string/memchr.c: Likewise.
40325         * string/memcmp.c: Likewise.
40326         * string/memrchr.c: Likewise.
40327         * string/rawmemchr.c: Likewise.
40328         * sysdeps/posix/getcwd.c: Likewise.
40329         * time/strftime_l.c: Likewise.
40330
40331 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40332
40333         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40334         * config.make.in (config-cflags-sse2avx): Define.
40335         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40336         Fix typo.
40337
40338 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
40339
40340         * scripts/config.guess: Update from upstream config git repository.
40341         * scripts/config.sub: Likewise.
40342
40343 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
40344
40345         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40346         (EM_NUM): Update.
40347         (R_TILEPRO_*, R_TILEGX_*): New macros.
40348
40349         * scripts/firstversions.awk: Fix bug in version range handling.
40350
40351         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40352
40353         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40354
40355         * include/sys/epoll.h: New file.
40356         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40357         libc_hidden_def.
40358
40359 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
40360
40361         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40362         Avoid unnecessary __WORDSIZE == 64 test.
40363         (fmaxf): Use VEX format if possible.
40364         (fmax): Likewise.
40365         (fminf): Likewise.
40366         (fmin): Likewise.
40367
40368         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40369         * math/math_private.h: Remove libc_fegetround* and
40370         libc_fesetround*.
40371         * sysdeps/i386/configure.in: Check for -msse2avx.
40372         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40373         also if SSE2AVX is defined.
40374         Remove libc_fegetround* and libc_fesetround*.
40375         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40376         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
40377         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40378         of HAS_YMM_USABLE.
40379         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40380         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40381         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40382         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40383         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40384
40385         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40386
40387 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40388
40389         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40390         size is not set.
40391         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40392
40393 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
40394
40395         [BZ #13618]
40396         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40397         relocation.
40398         * Makeconfig (libm): Define.
40399         * elf/Makefile: Add rules to build and run tst-relsort1.
40400         * elf/tst-relsort1.c: New file.
40401         * elf/tst-relsort1mod1.c: New file.
40402         * elf/tst-relsort1mod2.c: New file.
40403
40404 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
40405
40406         * math/s_ldexp.c: Remove __STDC__ conditionals.
40407         * math/s_ldexpf.c: Likewise.
40408         * math/s_ldexpl.c: Likewise.
40409         * math/s_nextafter.c: Likewise.
40410         * math/s_nexttowardf.c: Likewise.
40411         * math/s_significand.c: Likewise.
40412         * math/s_significandf.c: Likewise.
40413         * math/s_significandl.c: Likewise.
40414         * math/w_jnl.c: Likewise.
40415         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40416         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40417         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40418         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40419         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40420         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40421         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40422         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40423         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40424         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40425         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40426         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40427         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40428         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40429         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40430         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40431         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40432         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40433         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40434         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40435         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40436         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40437         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40438         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40439         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40440         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40441         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40442         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40443         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40444         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40445         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40446         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40447         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40448         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40449         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40450         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40451         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40452         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40453         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40454         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40455         * sysdeps/ieee754/k_standard.c: Likewise.
40456         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40457         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40458         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40459         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40460         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40461         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40462         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40463         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40464         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40465         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40466         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40467         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40468         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40469         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40470         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40471         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40472         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40473         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40474         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40475         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40476         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40477         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40478         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40479         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40480         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40481         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40482         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40483         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40484         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40485         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40486         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40487         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40488         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40489         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40490         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40491         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40492         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40493         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40494         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40495         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40496         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40497         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40498         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40499         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40500         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40501         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40502         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40503         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40504         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40505         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40506         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40507         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40508         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40509         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40510         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40511         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40512         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40513         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40514         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40515         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40516         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40517         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40518         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40519         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40520         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40521         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40522         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40523         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40524         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40525         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40526         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40527         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40528         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40529         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40530         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40531         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40532         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40533         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40534         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40535         * sysdeps/ieee754/s_matherr.c: Likewise.
40536         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40537         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40538         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40539         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40540
40541 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
40542
40543         * crypt/md5.h: Remove __STDC__ conditionals.
40544         * libio/libioP.h: Likewise.
40545         * locale/programs/config.h: Likewise.
40546         * sysdeps/generic/sysdep.h: Likewise.
40547         * sysdeps/i386/asm-syntax.h: Likewise.
40548         * sysdeps/s390/asm-syntax.h: Likewise.
40549         * sysdeps/unix/sysdep.h: Likewise.
40550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40552
40553 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
40554
40555         * libio/libio.h: Remove __STDC__ conditionals.
40556         * malloc/obstack.h: Likewise.
40557         * math/complex.h: Likewise.
40558         * math/math.h: Likewise.
40559         * sysdeps/generic/_G_config.h: Likewise.
40560         * sysdeps/gnu/_G_config.h: Likewise.
40561         * sysdeps/mach/hurd/_G_config.h: Likewise.
40562         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40563         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40564         * sysdeps/sparc/bits/mathdef.h: Likewise.
40565
40566 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
40567
40568         [BZ #13583]
40569         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40570         Clean up HAS_* macros.
40571         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40572         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40573         possible.
40574         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40575         HAS_AVX.
40576         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40577         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40578         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40579         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40580         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40581
40582 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
40583
40584         * elf/tst-unique3.cc (gets): Remove declaration.
40585         * elf/tst-unique3lib.cc (gets): Likewise.
40586         * elf/tst-unique3lib2.cc (gets): Likewise.
40587         * elf/tst-unique4.cc (gets): Likewise.
40588
40589 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
40590
40591         * include/stdio.h: Add C++ protection.  Add gets declarations and
40592         definitions.
40593         * debug/tst-chk1.c: Don't declare gets here.
40594         * stdio-common/tst-gets.c: Likewise.
40595
40596 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40597
40598         * posix/glob: Remove directory.
40599
40600 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40601
40602         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40603
40604 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
40605
40606         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40607         of the non-standard EPFNOSUPPORT.
40608
40609 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40610
40611         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40612         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40613         ANYWHERE set to 1 only on KERN_NO_SPACE error.
40614
40615 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
40616
40617         * wcsmbs/uchar.h: Test __STDC_VERSION__.
40618
40619 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
40620
40621         * nscd/aicache.c (addhstaiX): Do not cache negative results of
40622         transient errors.
40623         * nscd/grpcache.c (cache_addgr): Likewise.
40624         * nscd/hstcache.c (cache_addhst): Likewise.
40625         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40626         * nscd/pwdcache.c (cache_addpw): Likewise.
40627         * nscd/servicescache.c (cache_addserv): Likewise.
40628
40629 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
40630
40631         * malloc/malloc.c: Various cleanups.
40632         * malloc/hooks.c: Likewise.
40633
40634         * stdlib/Makefile (tests): Add bug-fmtmsg1.
40635         * stdlib/bug-fmtmsg1.c: New file.
40636
40637         * stdlib/fmtmsg.c (init): Add missing unlock.
40638         Patch by Peng Haitao <penght@cn.fujitsu.com>.
40639
40640 2012-01-12  Marek Polacek  <polacek@redhat.com>
40641
40642         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40643         and _GNU_SOURCE.
40644
40645 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
40646
40647         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40648         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40649         macro to ensure uniqueness of label name.
40650         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40651         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40652
40653 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
40654
40655         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40656
40657         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40658         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40659         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40660         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40661
40662 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
40663
40664         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40665
40666         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40667         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40668         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40669
40670         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40671
40672         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40673         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40674         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40675         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40676
40677         * math/bits/math-finite.h: Add ldexp support.
40678
40679 2012-01-10  Marek Polacek  <polacek@redhat.com>
40680
40681         * locale/programs/localedef.h (show_archive_content): Add noreturn
40682         attribute.
40683
40684 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
40685
40686         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40687
40688 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40689
40690         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40691
40692         * io/Makefile (headers): Add bits/poll2.h.
40693
40694 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
40695
40696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40697         typo #include statement.
40698
40699 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40700
40701         * include/sys/cdefs.h: Define __attribute_alloc_size.
40702         * catgets/gencat.c: Add alloc_size attribute and apply consistently
40703         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40704         * elf/pldd.c: Likewise.
40705         * iconv/iconv_charmap.c: Likewise.
40706         * iconv/iconvconfig.c: Likewise.
40707         * iconv/strtab.c: Likewise.
40708         * locale/programs/locale.c: Likewise.
40709         * locale/programs/localedef.h: Likewise.
40710         * locale/programs/simple-hash.c: Likewise.
40711         * nscd/nscd.h: Likewise.
40712         * nss/makedb.c: Likewise.
40713         * sysdeps/generic/ldconfig.h: Likewise.
40714         * locale/programs/localedef.c: Remove xmalloc prototype.
40715         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40716
40717 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40718
40719         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40720         appropriate.
40721
40722 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40723
40724         * math/Makefile (tests): Add tst-CMPLX.
40725         * math/tst-CMPLX.c: New file.
40726
40727         * math/complex.h (CMPLXL): Fix typo.
40728
40729         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40730         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40731         GLIBC_2.16.
40732         * debug/tst-chk1.c: Add poll and ppoll tests.
40733         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40734         * include/sys/poll.h: Add hidden proto for ppoll.
40735         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40736         * sysdeps/mach/hurd/ppoll.c: Likewise.
40737         * io/ppoll.c: Likewise.
40738         * debug/poll_chk.c: New file.
40739         * debug/ppoll_chk.c: New file.
40740         * include/bits/poll2.h: New file.
40741         * io/bits/poll2.h: New file.
40742
40743         [BZ #1350]
40744         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40745
40746         * configure.in: static is always set to yes.  Remove.
40747         * config.make.in: Don't set build-static.
40748         * Makeconfig: Remove use of build-static.
40749         * dlfcn/Makefile: Likewise.
40750         * elf/Makefile: Likewise.
40751         * math/Makefile: Likewise.
40752         * misc/Makefile: Likewise.
40753         * nptl/Makefile: Likewise.
40754         * sysdeps/mach/hurd/Makefile: Likewise.
40755
40756         * configure.in: PWD_P is not used anymore.
40757         * config.make.in: Remove PWD_P entry.
40758
40759         * configure.in: Remove last remnants of RANLIB.
40760         No need to check for signed size_t anymore.
40761         Don't set libc_commonpagesize and libc_relro_required here for Alpha
40762         and IA-64.
40763         Remove __builtin_expect test because we require at least gcc 3.4.
40764         * aclocal.m4: Likewise.
40765
40766         * wcsmbs/mbrtoc16.c: Implement using towc function.
40767         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40768         * wcsmbs/wcsmbsload.c: Likewise.
40769         * iconv/gconv_simple.c: Likewise.
40770         * iconv/gconv_int.h: Likewise.
40771         * iconv/gconv_builtin.h: Likewise.
40772         * iconv/iconv_prog.c: Remove CHAR16 handling.
40773
40774         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40775
40776         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40777
40778         * configure.in: Remove --with-elf and --enable-bounded options.
40779         Dont set base_machine for ia64.  More non-ELF conditions removed.
40780         Remove testing and setting of leading underscore information.
40781         * config.make.in (build-bounded): Set to no.
40782         * config.h.in: Remove NO_UNDERSCORES entry.
40783         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
40784         them.
40785         * csu/start.c: Remove !NO_UNDERSCORE code.
40786         * locale/localeinfo.h: Likewise.
40787         * sysdeps/generic/machine-gmon.h: Likewise.
40788         * sysdeps/generic/sysdep.h: Likewise.
40789         * sysdeps/i386/sysdep.h: Likewise.
40790         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40791         * sysdeps/mach/sysdep.h: Likewise.
40792         * sysdeps/s390/s390-32/sysdep.h: Likewise.
40793         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40794         * sysdeps/sh/sysdep.h: Likewise.
40795         * sysdeps/sparc/sparc32/alloca.S: Likewise.
40796         * sysdeps/unix/i386/sysdep.S: Likewise.
40797         * sysdeps/unix/sparc/start.c: Likewise.
40798         * sysdeps/unix/sparc/sysdep.S: Likewise.
40799         * sysdeps/unix/sparc/sysdep.h: Likewise.
40800         * sysdeps/unix/start.c: Likewise.
40801         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40802         * sysdeps/x86_64/sysdep.h: Likewise.
40803
40804 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
40805
40806         [BZ #13553]
40807         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40808         for non-gcc.
40809         * argp/argp-fmtstream.h: Use const instead __const.
40810         * argp/argp.h: Likewise.
40811         * assert/assert.h: Likewise.
40812         * bits/fenv.h: Likewise.
40813         * bits/sched.h: Likewise.
40814         * bits/sigset.h: Likewise.
40815         * bits/sigthread.h: Likewise.
40816         * catgets/nl_types.h: Likewise.
40817         * conform/data/pthread.h-data: Likewise.
40818         * crypt/crypt-private.h: Likewise.
40819         * crypt/crypt.h: Likewise.
40820         * crypt/crypt_util.c: Likewise.
40821         * ctype/ctype.h: Likewise.
40822         * debug/execinfo.h: Likewise.
40823         * debug/mbsnrtowcs_chk.c: Likewise.
40824         * debug/mbsrtowcs_chk.c: Likewise.
40825         * debug/wcsnrtombs_chk.c: Likewise.
40826         * debug/wcsrtombs_chk.c: Likewise.
40827         * debug/wcstombs_chk.c: Likewise.
40828         * dirent/dirent.h: Likewise.
40829         * dlfcn/dlfcn.h: Likewise.
40830         * elf/neededtest4.c: Likewise.
40831         * grp/grp.h: Likewise.
40832         * gshadow/gshadow.h: Likewise.
40833         * iconv/gconv.h: Likewise.
40834         * iconv/gconv_int.h: Likewise.
40835         * iconv/gconv_simple.c: Likewise.
40836         * iconv/iconv.h: Likewise.
40837         * iconv/loop.c: Likewise.
40838         * iconv/skeleton.c: Likewise.
40839         * include/aio.h: Likewise.
40840         * include/aliases.h: Likewise.
40841         * include/argz.h: Likewise.
40842         * include/arpa/inet.h: Likewise.
40843         * include/assert.h: Likewise.
40844         * include/dirent.h: Likewise.
40845         * include/dlfcn.h: Likewise.
40846         * include/execinfo.h: Likewise.
40847         * include/fcntl.h: Likewise.
40848         * include/fenv.h: Likewise.
40849         * include/glob.h: Likewise.
40850         * include/grp.h: Likewise.
40851         * include/libintl.h: Likewise.
40852         * include/mntent.h: Likewise.
40853         * include/netdb.h: Likewise.
40854         * include/pwd.h: Likewise.
40855         * include/rpc/netdb.h: Likewise.
40856         * include/sched.h: Likewise.
40857         * include/search.h: Likewise.
40858         * include/shadow.h: Likewise.
40859         * include/signal.h: Likewise.
40860         * include/stdio.h: Likewise.
40861         * include/stdlib.h: Likewise.
40862         * include/string.h: Likewise.
40863         * include/sys/socket.h: Likewise.
40864         * include/sys/stat.h: Likewise.
40865         * include/sys/statfs.h: Likewise.
40866         * include/sys/statvfs.h: Likewise.
40867         * include/sys/syslog.h: Likewise.
40868         * include/sys/time.h: Likewise.
40869         * include/sys/uio.h: Likewise.
40870         * include/time.h: Likewise.
40871         * include/unistd.h: Likewise.
40872         * include/utmp.h: Likewise.
40873         * include/wchar.h: Likewise.
40874         * include/wctype.h: Likewise.
40875         * inet/aliases.h: Likewise.
40876         * inet/arpa/inet.h: Likewise.
40877         * inet/netinet/ether.h: Likewise.
40878         * inet/netinet/in.h: Likewise.
40879         * intl/libintl.h: Likewise.
40880         * io/bits/fcntl2.h: Likewise.
40881         * io/fcntl.h: Likewise.
40882         * io/ftw.h: Likewise.
40883         * io/sys/poll.h: Likewise.
40884         * io/sys/stat.h: Likewise.
40885         * io/sys/statfs.h: Likewise.
40886         * io/sys/statvfs.h: Likewise.
40887         * io/utime.h: Likewise.
40888         * libio/bits/stdio.h: Likewise.
40889         * libio/bits/stdio2.h: Likewise.
40890         * libio/libio.h: Likewise.
40891         * libio/libioP.h: Likewise.
40892         * libio/stdio.h: Likewise.
40893         * locale/lc-ctype.c: Likewise.
40894         * locale/locale.h: Likewise.
40895         * login/utmp.h: Likewise.
40896         * malloc/arena.c: Likewise.
40897         * malloc/malloc.c: Likewise.
40898         * malloc/malloc.h: Likewise.
40899         * malloc/mcheck.c: Likewise.
40900         * malloc/mtrace.c: Likewise.
40901         * math/bits/mathcalls.h: Likewise.
40902         * math/fenv.h: Likewise.
40903         * math/math_private.h: Likewise.
40904         * misc/bits/error.h: Likewise.
40905         * misc/bits/syslog.h: Likewise.
40906         * misc/err.h: Likewise.
40907         * misc/error.h: Likewise.
40908         * misc/fstab.h: Likewise.
40909         * misc/mntent.h: Likewise.
40910         * misc/regexp.h: Likewise.
40911         * misc/search.h: Likewise.
40912         * misc/sgtty.h: Likewise.
40913         * misc/sys/mman.h: Likewise.
40914         * misc/sys/syslog.h: Likewise.
40915         * misc/sys/uio.h: Likewise.
40916         * misc/sys/xattr.h: Likewise.
40917         * misc/ttyent.h: Likewise.
40918         * nis/rpcsvc/ypclnt.h: Likewise.
40919         * nss/nss.h: Likewise.
40920         * posix/bits/unistd.h: Likewise.
40921         * posix/fnmatch.h: Likewise.
40922         * posix/glob.h: Likewise.
40923         * posix/sched.h: Likewise.
40924         * posix/spawn.h: Likewise.
40925         * posix/sys/wait.h: Likewise.
40926         * posix/unistd.h: Likewise.
40927         * posix/wordexp.h: Likewise.
40928         * pwd/pwd.h: Likewise.
40929         * resolv/netdb.h: Likewise.
40930         * resource/sys/resource.h: Likewise.
40931         * rt/aio.h: Likewise.
40932         * rt/bits/mqueue2.h: Likewise.
40933         * rt/mqueue.h: Likewise.
40934         * shadow/shadow.h: Likewise.
40935         * signal/signal.h: Likewise.
40936         * socket/send.c: Likewise.
40937         * socket/sendto.c: Likewise.
40938         * socket/sys/socket.h: Likewise.
40939         * stdio-common/printf.h: Likewise.
40940         * stdlib/bits/stdlib.h: Likewise.
40941         * stdlib/fmtmsg.h: Likewise.
40942         * stdlib/monetary.h: Likewise.
40943         * stdlib/stdlib.h: Likewise.
40944         * stdlib/ucontext.h: Likewise.
40945         * streams/stropts.h: Likewise.
40946         * string/argz.h: Likewise.
40947         * string/bits/string2.h: Likewise.
40948         * string/string.h: Likewise.
40949         * string/strings.h: Likewise.
40950         * sunrpc/rpc/auth.h: Likewise.
40951         * sunrpc/rpc/auth_des.h: Likewise.
40952         * sunrpc/rpc/clnt.h: Likewise.
40953         * sunrpc/rpc/netdb.h: Likewise.
40954         * sunrpc/rpc/pmap_clnt.h: Likewise.
40955         * sunrpc/rpc/xdr.h: Likewise.
40956         * sysdeps/generic/inttypes.h: Likewise.
40957         * sysdeps/generic/net/if.h: Likewise.
40958         * sysdeps/generic/sys/swap.h: Likewise.
40959         * sysdeps/gnu/net/if.h: Likewise.
40960         * sysdeps/gnu/utmpx.h: Likewise.
40961         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40962         * sysdeps/i386/i486/bits/string.h: Likewise.
40963         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40964         * sysdeps/s390/bits/string.h: Likewise.
40965         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40966         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40967         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40968         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40969         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40970         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40971         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40972         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40973         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40974         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40975         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40976         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40977         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40978         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40979         * sysdeps/unix/sysv/linux/readv.c: Likewise.
40980         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40981         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40982         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40983         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40984         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40985         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40986         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40987         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40988         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40989         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40990         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40991         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40992         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40993         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40994         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40995         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40996         * sysvipc/sys/ipc.h: Likewise.
40997         * sysvipc/sys/msg.h: Likewise.
40998         * sysvipc/sys/sem.h: Likewise.
40999         * sysvipc/sys/shm.h: Likewise.
41000         * termios/termios.h: Likewise.
41001         * time/sys/time.h: Likewise.
41002         * time/time.h: Likewise.
41003         * wcsmbs/bits/wchar2.h: Likewise.
41004         * wcsmbs/uchar.h: Likewise.
41005         * wcsmbs/wchar.h: Likewise.
41006         * wctype/wctype.h: Likewise.
41007
41008         [BZ #13551]
41009         * Makeconfig: Remove all but ELF support including AIX support.
41010         * Makerules: Likewise.
41011         * config.h.in: Likewise.
41012         * config.make.in: Likewise.
41013         * configure: Likewise.
41014         * configure.in: Likewise.
41015         * csu/Makefile: Likewise.
41016         * csu/version.c: Likewise.
41017         * debug/Makefile: Likewise.
41018         * dlfcn/Makefile: Likewise.
41019         * elf/Makefile: Likewise.
41020         * extra-lib.mk: Likewise.
41021         * iconv/Makefile: Likewise.
41022         * include/libc-symbols.h: Likewise.
41023         * include/shlib-compat.h: Likewise.
41024         * resolv/Makefile: Likewise.
41025         * resolv/res_libc.c: Likewise.
41026         * rt/Makefile: Likewise.
41027         * sysdeps/i386/asm-syntax.h: Likewise.
41028         * sysdeps/i386/sysdep.h: Likewise.
41029         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41030         * sysdeps/mach/sysdep.h: Likewise.
41031         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41032         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41033         * sysdeps/s390/asm-syntax.h: Likewise.
41034         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41035         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41036         * sysdeps/sh/sysdep.h: Likewise.
41037         * sysdeps/unix/sparc/sysdep.h: Likewise.
41038         * sysdeps/wordsize-32/divdi3.c: Likewise.
41039         * sysdeps/x86_64/sysdep.h: Likewise.
41040
41041         * argp/Versions: Remove _argp_unlock_xxx.
41042
41043         [BZ #13559]
41044         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
41045         * abilist/libBrokenLocale.abilist: Likewise.
41046         * abilist/libanl.abilist: Likewise.
41047         * abilist/libc.abilist: Likewise.
41048         * abilist/libcrypt.abilist: Likewise.
41049         * abilist/libdl.abilist: Likewise.
41050         * abilist/libm.abilist: Likewise.
41051         * abilist/libnsl.abilist: Likewise.
41052         * abilist/libpthread.abilist: Likewise.
41053         * abilist/libresolv.abilist: Likewise.
41054         * abilist/librt.abilist: Likewise.
41055         * abilist/libthread_db.abilist: Likewise.
41056         * abilist/libutil.abilist: Likewise.
41057         * abilist/libnss_db.abilist: New file.
41058
41059         * scripts/abilist.awk: Add support for indirect functions.
41060
41061         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41062
41063         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41064
41065         * shlib-versions: Remove entries for ports architectures.
41066
41067         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
41068         files in ports.
41069         * elf/stackguard-macros.h: Remove support for IA-64.
41070         * elf/tst-auditmod1.c: Likewise.
41071         * sysdeps/generic/ldsodefs.h: Likewise.
41072
41073         * sysdeps/unix/sysv/linux/configure.in: Ports should define
41074         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41075         configure files.
41076
41077         [BZ #13552]
41078         * configure.in: Remove --enable-omitfp support.
41079         * FAQ.in: Adjust.
41080         * config.make.in: Likewise.
41081         * Makeconfig: Likewise.
41082         * manual/install.texi: Likewise.
41083
41084         In case anyone cares, the IA-64 architecture could move to ports.
41085         * sysdeps/ia64/*: Removed.
41086         * sysdeps/unix/sysv/linux/ia64/*: Removed.
41087         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41088
41089         [BZ #13555]
41090         * configure.in: Remove entries for unsupported architectures.
41091
41092         [BZ #13533]
41093         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41094         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
41095         routines.
41096         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41097         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41098         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
41099         fall back to using wcrtomb.
41100         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41101         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
41102         renaming.
41103         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41104         * wcsmbs/tst-c16c32-1.c: New file.
41105
41106         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41107         local variable.
41108
41109         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41110
41111         * elf/tst-unique3.cc: Add explicit declaration of gets.
41112         * elf/tst-unique3lib.cc: Likewise.
41113         * elf/tst-unique3lib2.cc: Likewise.
41114         * elf/tst-unique4.cc: Likewise.
41115
41116         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41117
41118 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
41119
41120         [BZ #13566]
41121         * assert/assert.h (static_assert): Don't define for C++.
41122         * libio/stdio.h (gets): Do declare for C++ <= C++11.
41123         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41124
41125 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
41126
41127         * iconv/loop.c (single loop): Fix assertion in storing of
41128         remaining bytes.
41129
41130         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41131
41132 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
41133
41134         * posix/getconf.c: Update copyright year.
41135         * nss/getent.c: Likewise.
41136         * nss/makedb.c: Likewise.
41137         * iconv/iconvconfig.c: Likewise.
41138         * iconv/iconv_prog.c: Likewise.
41139         * elf/ldconfig.c: Likewise.
41140         * elf/pldd.c: Likewise.
41141         * elf/sotruss.ksh: Likewise.
41142         * catgets/gencat.c: Likewise.
41143         * csu/version.c: Likewise.
41144         * elf/ldd.bash.in: Likewise.
41145         * elf/sprof.c (print_version): Likewise.
41146         * locale/programs/locale.c: Likewise.
41147         * locale/programs/localedef.c: Likewise.
41148         * login/programs/pt_chown.c: Likewise.
41149         * nscd/nscd.c (print_version): Likewise.
41150         * debug/xtrace.sh: Likewise.
41151         * malloc/memusage.sh: Likewise.
41152         * malloc/mtrace.pl: Likewise.
41153         * debug/catchsegv.sh: Likewise.
41154
41155 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
41156
41157         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41158         pure attribute.
41159
41160 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
41161
41162         [BZ #13533]
41163         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41164         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41165         transformations.
41166         * iconv/gconv_int.h: Likewise.
41167         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41168         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41169         from libc for GLIBC_2.16.
41170         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41171         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41172         * wcsmbs/uchar.h: Really define mbstate_t.
41173         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41174         * wcsmbs/c16rtomb.c: New file.
41175         * wcsmbs/mbrtoc16.c: New file.
41176         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41177         for C/POSIX locale.
41178         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41179         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41180
41181         * wcsmbs/wchar.h: Add missing __restrict.
41182
41183 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41184
41185         [BZ #13532]
41186         * time/Makefile (routines): Add timespec_get.
41187         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41188         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
41189         timespec for ISO C11.
41190         * time/timespec_get.c: New file.
41191         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41192         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41193
41194         [BZ #13531]
41195         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41196         * stdlib/stdlib.h: Declare aligned_alloc.
41197         * Versions.def: Add GLIBC_2.16 for libc.
41198         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41199
41200         [BZ 13527]
41201         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41202         ISO C11.
41203
41204         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41205         code.
41206
41207         [BZ #13528]
41208         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41209
41210         [BZ #13529]
41211         * assert/assert.h (static_assert): Define.
41212
41213         * version.h: Update for 2.16 development version.
41214
41215         [BZ #13526]
41216         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41217         _ISOC11_SOURCE.
41218
41219         * version.h (RELEASE): Bump for 2.15 release.
41220         * include/features.h (__GLIBC_MINOR__): Bump to 15.
41221
41222         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41223         Patch by Marek Polacek <mpolacek@redhat.com>.
41224
41225         * bits/byteswap.h: Protect long long constants with __extension__.
41226         * sysdeps/i386/bits/byteswap.h: Likewise.
41227         * sysdeps/ia64/bits/byteswap.h: Likewise.
41228         * sysdeps/s390/bits/byteswap.h: Likewise.
41229         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41230
41231 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41232
41233         [BZ #13540]
41234         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41235         destination buffer.
41236         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41237
41238 2011-12-23  Marek Polacek  <polacek@redhat.com>
41239
41240         * elf/dl-addr.c (determine_info): Add inline keyword.
41241         * elf/tst-auditmod4b.c (check_avx): Likewise.
41242         * elf/tst-auditmod6b.c (check_avx): Likewise.
41243         * elf/tst-auditmod6c.c (check_avx): Likewise.
41244         * elf/tst-auditmod7b.c (check_avx): Likewise.
41245
41246 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41247
41248         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41249         !__SSE_MATH__.
41250
41251 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41252
41253         [BZ #13540]
41254         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41255         processing for last bytes.
41256
41257 2011-08-06  Bruno Haible  <bruno@clisp.org>
41258
41259         [BZ #13061]
41260         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41261         U+0385, not to U+1FEE.
41262
41263         [BZ #13062]
41264         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41265         entry for U+00A5 U+0301.
41266
41267 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41268
41269         [BZ #13166]
41270         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41271         buffer for the output is too small.
41272
41273         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41274         optimization.
41275
41276         [BZ #13185]
41277         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41278         SSE flags if possible.
41279
41280 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41281
41282         [BZ #13540]
41283         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41284         processing for last bytes.
41285
41286 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
41287
41288         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41289         (syscall-list-default-options, syscall-list-default-condition)
41290         (syscall-list-includes): Define.
41291         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41292         list of ABIs and options and #if conditions for each ABI.  Do not
41293         handle common syscalls between ABIs specially.
41294         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41295         Remove.
41296         (syscall-list-variants, syscall-list-32bit-options)
41297         (syscall-list-32bit-condition, syscall-list-64bit-options)
41298         (syscall-list-64bit-condition): Define.
41299         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41300         (syscall-list-variants, syscall-list-32bit-options)
41301         (syscall-list-32bit-condition, syscall-list-64bit-options)
41302         (syscall-list-64bit-condition): Define.
41303         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41304         Remove.
41305         (syscall-list-variants, syscall-list-32bit-options)
41306         (syscall-list-32bit-condition, syscall-list-64bit-options)
41307         (syscall-list-64bit-condition): Define.
41308         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41309         Remove.
41310         (syscall-list-variants, syscall-list-32bit-options)
41311         (syscall-list-32bit-condition, syscall-list-64bit-options)
41312         (syscall-list-64bit-condition): Define.
41313
41314 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41315
41316         * locale/iso-639.def: Add brx entry.
41317
41318         [BZ #13328]
41319         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41320         Proposed by Mariusz_Cukr <marcukr@op.pl>.
41321
41322         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41323         __feraiseexcept_renamed.
41324
41325 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41326
41327         [BZ #13538]
41328         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41329         EPOLLET with unsigned values.
41330         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41331         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41332
41333         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41334         to large cancellation.
41335         * math/s_cacoshf.c: Likewise.
41336         * math/s_cacoshl.c: Likewise.
41337
41338 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
41339
41340         [BZ #13305]
41341         [BZ #12786]
41342         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41343         * math/s_cacoshf.c: Likewise.
41344         * math/s_cacoshl.c: Likewise.
41345
41346 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41347
41348         [BZ #13439]
41349         * iconv/gconv.h: Define __GCONV_SWAP.
41350         * iconvdata/unicode.c: The swap bit must be stored in __flags.
41351         * iconvdata/utf-16.c: Likewise.
41352         * iconvdata/utf-32.c: Likewise.
41353
41354 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
41355
41356         [BZ #13524]
41357         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41358         numerator after shifting it by one limb.
41359
41360 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
41361
41362         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41363         under [__USE_EXTERN_INLINES].
41364
41365 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41366
41367         [BZ #13446]
41368         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41369
41370 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41371
41372         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41373         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41374         optimized code.
41375         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41376         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41377         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41378         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41379         for strncasecmp/strncasecmp_l compilation.
41380         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41381         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41382
41383 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
41384
41385         [BZ #13484]
41386         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41387         of __asm__.
41388
41389 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41390
41391         [BZ #13506]
41392         * time/tzfile.c (__tzfile_read): Check values from file header.
41393
41394 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
41395
41396         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41397         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41398         * powerpc/powerpc32/dl-start.S: Likewise.
41399         * powerpc/powerpc32/elf/start.S: Likewise.
41400         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41401         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41402         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41403         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41404         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41405         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41406         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41407         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41408         * powerpc/powerpc32/fpu/s_round.S: Likewise.
41409         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41410         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41411         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41412         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41413         * powerpc/powerpc32/memset.S: Likewise.
41414         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41415         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41416         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41417         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41418         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41419         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41420         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41421         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41422         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41423         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41424         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41425         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41426         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41427
41428 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41429
41430         * math/libm-test.inc: Added more nearbyint tests.
41431         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41432         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41433         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41434         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41435
41436 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
41437
41438         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41439         FD_CLOEXEC.
41440
41441 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41442
41443         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41444         Add wcscpy-ssse3 wcscpy-c.
41445         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41446         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41447         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41448         * sysdeps/x86_64/wcschr.S: New file.
41449         * sysdeps/x86_64/wcsrchr.S: New file.
41450         * string/test-strcmp.c: Remove checking of wcscmp function for
41451         wrong alignments.
41452         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41453         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41454         wcsrchr-sse2 wcsrchr-c.
41455         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41456         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41457         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41458         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41459         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41460         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41461         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41462         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41463         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41464         * wcsmbc/wcschr.c (WCSCHR): New macro.
41465
41466 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41467
41468         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41469         * wcsmbs/test-wcsrchr.c: New file.
41470         * string/test-strrchr.c: Add wcsrchr support.
41471         (WIDE): New macro.
41472         * wcsmbs/test-wcscpy.c: New file.
41473         * string/test-strcpy.c: Add wcscpy support.
41474         (WIDE): New macro.
41475
41476 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
41477
41478         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41479         the inner loop.
41480
41481 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
41482
41483         [BZ #13472]
41484         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41485
41486 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
41487
41488         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41489         Minor optimizations.
41490
41491         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41492         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41493         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41494
41495 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
41496
41497         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41498         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41499         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41500         for gcc to avoid warnings.
41501         * inet/Makefile (tests): Add tst-checks.
41502         * inet/tst-checks.c: New file.
41503
41504         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41505         warning.
41506
41507         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41508         __wmemcmp_sse2.
41509
41510         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41511         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41512
41513         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41514
41515 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
41516
41517         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41518         problem.
41519
41520         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41521
41522 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
41523
41524         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41525         conditional on GCC version.
41526         (__arch_compare_and_exchange_val_8_acq)
41527         (__arch_compare_and_exchange_val_16_acq)
41528         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41529         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41530         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41531
41532 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
41533
41534         * sysdeps/sh/backtrace.c: New file.
41535
41536 2011-12-02  Andreas Schwab  <schwab@redhat.com>
41537
41538         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
41539         parenthesis.
41540
41541 2011-12-01  Andreas Schwab  <schwab@redhat.com>
41542
41543         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41544         falling back to utime.
41545
41546 2011-11-30  Andreas Schwab  <schwab@redhat.com>
41547
41548         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41549         expectations for float.
41550
41551 2011-11-29  Andreas Schwab  <schwab@redhat.com>
41552
41553         * locale/weight.h (findidx): Add parameter len.
41554         * locale/weightwc.h (findidx): Likewise.
41555         * posix/fnmatch_loop.c (FCT): Adjust caller.
41556         * posix/regcomp.c (build_equiv_class): Likewise.
41557         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41558         * posix/regexec.c (check_node_accept_bytes): Likewise.
41559         * string/strcoll_l.c (STRCOLL): Likewise.
41560         * string/strxfrm_l.c (STRXFRM): Likewise.
41561
41562 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
41563
41564         * Makefile.in: Remove CVSOPT handling.
41565         * configure.in: Remove use of AC_REVISION.
41566         * iconvdata/Makefile (distribute): No need to filter out CVS.
41567         * scripts/list-sources.sh: Remove CVS, subversion and monotone
41568         handling.
41569
41570 2011-11-16  Andreas Schwab  <schwab@redhat.com>
41571
41572         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41573         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41574         [USE_AS_STRNCASECMP_L]: Likewise.
41575         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41576         NO_TLS_DIRECT_SEG_REFS.
41577         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41578         Fix argument offsets for non-PIC.
41579         [USE_AS_STRNCASECMP_L]: Likewise.
41580         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41581         NO_TLS_DIRECT_SEG_REFS.
41582
41583 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41584
41585         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41586         O_CLOEXEC.
41587         * locale/loadlocale.c (_nl_load_locale): Likewise.
41588
41589 2011-11-15  Andreas Schwab  <schwab@redhat.com>
41590
41591         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41592         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41593         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41594         (SYSCALL_GETTIME): Set errno on error.
41595
41596         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41597         count references to noai6ai_cached.
41598
41599 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41600
41601         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41602
41603         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41604         FD_CLOEXEC for /proc/self/maps.
41605
41606         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41607         FD_CLOEXEC for /proc/meminfo.
41608
41609         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41610         gai.conf.
41611
41612         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
41613         FD_CLOEXEC for given file.
41614
41615         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41616
41617         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41618         FD_CLOEXEC for /etc/hosts.
41619         (_gethtent): Likewise.
41620
41621         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41622
41623         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41624         cancellation and set FD_CLOEXEC for /etc/netgroup.
41625
41626         * nss/nss_files/files-key.c (search): Don't allow cancellation when
41627         reading /etc/publickey.
41628
41629         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41630         allow cancellation when reading /etc/group.
41631
41632         * nss/nss_files/files-alias.c (internal_setent): Don't allow
41633         cancellation.
41634         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
41635
41636         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41637         when using data file.
41638
41639         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41640
41641         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41642         (write_nis_obj): Use "c" and "e" in fopen.
41643
41644         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41645
41646         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41647
41648         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41649
41650         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41651
41652         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41653         locale.alias.
41654
41655         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41656
41657         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41658
41659         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41660
41661         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41662         file parsing and set FD_CLOEXEC.
41663
41664 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
41665
41666         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41667
41668 2011-11-14  Andreas Schwab  <schwab@redhat.com>
41669
41670         * malloc/arena.c (arena_get2): Don't call reused_arena when
41671         _int_new_arena failed.
41672
41673 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
41674
41675         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41676         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41677         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41678         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41679         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41680         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41681         to compile strcasecmp and strncasecmp.
41682         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41683         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41684
41685         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41686
41687 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
41688
41689         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41690         locale-defines.sym to gen-as-const-headers.
41691         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41692         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41693         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41694         to compile strcasecmp and strncasecmp.
41695         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41696         strcasecmp_l and strncasecmp_l.
41697         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41698         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41699         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41700         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41701         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41702         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41703         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41704         * sysdeps/i386/i686/multiarch/strncase.S: New file.
41705         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41706         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41707         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41708
41709 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
41710
41711         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41712         result of SYSDEP_GETTIME_CPU to retval.
41713         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41714         parameter list to macro.  Remove trailing semicolon.  Adjust users.
41715
41716         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41717         variable.
41718
41719         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41720         mantissa words.
41721         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41722
41723         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41724         from unused variable.
41725
41726         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41727         DWARF definitions.
41728         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41729         for assembling.
41730
41731         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41732         over namespaces.
41733
41734         * sunrpc/rpc_prot.c (rejected): Fix case value.
41735
41736         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41737         unsigned long long int to avoid warnings in shift.
41738
41739         * posix/regex_internal.c (re_string_reconstruct): Actually use result
41740         of use of trans.
41741         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41742         variable tmp.
41743
41744         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41745         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41746         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41747
41748         * nis/nis_table.c (nis_list): Use variable of correct type for
41749         result of __follow_path call.
41750
41751 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41752
41753         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41754         of math functions ceil, trunc, floor, round, and sqrt, when
41755         avaliable on the platform.
41756         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41757         name clash.
41758         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41759         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41760         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41761
41762 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
41763
41764         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41765         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41766
41767 2011-11-11  Roland McGrath  <roland@hack.frob.com>
41768
41769         * include/unistd.h: Fix __readlink return type.
41770         Reported by Chris Metcalf <cmetcalf@tilera.com>.
41771
41772 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
41773
41774         * stdlib/ucontext.h: Undo last change for makecontext.
41775
41776 2011-11-11  Andreas Schwab  <schwab@redhat.com>
41777
41778         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41779
41780         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41781         * setjmp/setjmp.h: Mark functions as non-leaf.
41782         * setjmp/bits/setjmp2.h: Likewise.
41783         * stdlib/ucontext.h: Likewise.
41784
41785 2011-11-10  Andreas Schwab  <schwab@redhat.com>
41786
41787         * malloc/arena.c (_int_new_arena): Don't increment narenas.
41788         (reused_arena): Don't check arena limit.
41789         (arena_get2): Atomically check arena limit.
41790
41791 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
41792
41793         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41794         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41795
41796         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41797         instructions.
41798
41799 2011-11-07  Andreas Schwab  <schwab@redhat.com>
41800
41801         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41802         handler when locking.
41803
41804         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41805         Fix size of allocated buffer.
41806
41807 2011-11-04  Andreas Schwab  <schwab@redhat.com>
41808
41809         [BZ #10103]
41810         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41811         declarations for long double functions.
41812         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41813
41814         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41815
41816 2011-11-03  Andreas Schwab  <schwab@redhat.com>
41817
41818         * nscd/nscd.c (main): Don't start AVC thread until credentials are
41819         installed.
41820
41821         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41822         is disabled.
41823
41824 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41825
41826         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41827
41828 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41829
41830         * include/alloca.h (stackinfo_alloca_round): Define.
41831         (extend_alloca): Use it.
41832         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41833         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41834         here.
41835
41836         * scripts/check-local-headers.sh: Ignore libaudit.h.
41837
41838         * nscd/Makefile (extra-objs): Make recursively expanded.
41839
41840 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
41841
41842         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41843         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41844
41845         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41846         * posix/tst-rfc3484-2.c: Likewise.
41847         * posix/tst-rfc3484-3.c: Likewise.
41848
41849         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41850         process_vm_writev.
41851         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41852         process_vm_writev.
41853         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41854         process_vm_writev from libc using GLIBC_2.15 version.
41855
41856         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41857
41858 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
41859
41860         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41861         stack usage.
41862
41863 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
41864
41865         [BZ #13367]
41866         * nss/getent.c (initgroups_keys): Show error message in case no group
41867         names are given.
41868
41869         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41870         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41871         __bump_nl_timestamp.
41872         * nscd/connections (nscd_init): When host database is served open
41873         netlink socket and request notification about configuration changes.
41874         (main_loop_poll): Track netlink file descriptor and bump timestamp
41875         in case data becomes available.
41876         (main_loop_epoll): Likewise.
41877         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41878         (database_pers_head): Add extra_data fileds.
41879         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41880         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41881         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41882         Adjust caller.
41883         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41884         in6ai data, call __free_in6ai.
41885         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41886         Add -DHAVE_NETLINK.
41887         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
41888         interface information.  Reuse previous data if netlink timestamp
41889         is not changed.
41890         (__bump_nl_timestamp): New function.
41891         (__free_in6ai): New function.
41892
41893 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
41894
41895         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41896         close_not_cancel_no_status here.
41897         (__check_pf): Reorganize code a bit to not call close twice if OOM.
41898
41899 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
41900
41901         [BZ #13276]
41902         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41903         return value.
41904
41905         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41906         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41907         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41908
41909 2011-07-03  Andreas Jaeger  <aj@suse.de>
41910
41911         [BZ #10709]
41912         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41913         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41914         * math/libm-test.inc (sin_test): Add test case.
41915
41916 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
41917
41918         [BZ #13337]
41919         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41920         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41921
41922         * elf/chroot_canon.c (chroot_canon): Cleanups.
41923
41924         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41925
41926         [BZ #13335]
41927         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41928         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41929
41930         * string/test-strchr.c: Make usable for strchrnul testing.
41931         * string/test-strchrnul.c: New file.
41932         * string/Makefile (strop-tests): Add strchrnul.
41933
41934         * po/it.po: Update from translation team.
41935         * po/es.po: Likewise.
41936
41937 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
41938
41939         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41940         the three constants needed as parameters.  Drop the others.
41941         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41942         __m128i_strloadu_tolower.
41943         Create and initialize variable zero and use it in all the places
41944         where _mm_setzero_si128 was used.
41945
41946         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41947         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41948         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41949         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41950         anymore.
41951         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41952         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41953         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41954         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41955         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41956         __mpranred, __mptan.
41957         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41958         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41959         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41960         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41961         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41962         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41963         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41964         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41965         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41966
41967 2011-10-28  Andreas Schwab  <schwab@redhat.com>
41968
41969         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41970         redefine if SHARED.
41971         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41972
41973         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41974         wide char related routines to wcsmbs subdir.
41975
41976 2011-10-27  Andreas Schwab  <schwab@redhat.com>
41977
41978         [BZ #13344]
41979         * misc/sys/cdefs.h (__THROWNL): Define.
41980         * posix/unistd.h: Use __THREADNL instead of __THREAD
41981         for memory synchronization functions.
41982
41983 2011-10-26  Roland McGrath  <roland@hack.frob.com>
41984
41985         [BZ #13349]
41986         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41987         doesn't exist.
41988         * manual/stdio.texi (Obstack Streams): Node removed.
41989
41990 2011-10-26  Andreas Schwab  <schwab@redhat.com>
41991
41992         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41993         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41994         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41995
41996         * math/math_private.h (math_force_eval): Allow non-addressable
41997         arguments.
41998         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41999
42000 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42001
42002         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42003         file is not needed.
42004
42005         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42006         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42007         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42008         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42009         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42010         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42011         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42012         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42013         Add AVX variants.
42014         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42015         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42016         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42017         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42018         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42019         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42020         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42021         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42022         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42023         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42024         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42025         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42026         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42027         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42028         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42029         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42030         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42031         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42032         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42033
42034         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42035         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
42036
42037         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42038         place.  Use VEX encoding when compiling for AVX.
42039
42040 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42041
42042         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42043         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42044
42045         * string/test-strchr.c (do_test): Don't generate NUL bytes.
42046
42047 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42048
42049         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42050         useless if() expression.
42051         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42052         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42053         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42054         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42055         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42056         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42057         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42058         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42059         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42060         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42061         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42062         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42063         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42064         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42065         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42066         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42067         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42068         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42069         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42070
42071         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42072
42073 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42074
42075         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42076         condition.
42077         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42078
42079 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42080
42081         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42082         .text section.  Avoid duplicate constants.
42083         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42084         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42085         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42086         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42087         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42088         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42089         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42090         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42091         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42092         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42093         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42094         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42095         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42096         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42097         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42098         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42099         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42100         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42101         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42102         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42103         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42104         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42105         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42106         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42107         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42108         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42109         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42110         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42111         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42112         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42113         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42114         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42115         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42116         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42117         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42118         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42119         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42120         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42121         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42122         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42123         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42124         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42125         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42126         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42127         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42128
42129 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
42130
42131         * sysdeps/x86_64/dla.h: Move to ...
42132         * sysdeps/x86_64/fpu/dla.h: ...here.
42133         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42134         situations.  Use __builtin_fma only for gcc 4.6 and up.
42135
42136         * config.make.in: Add have-mfma4 entry.
42137         * configure.in: Substitute libc_cv_cc_fma4.
42138         * math/Makefile (dbl-only-routines): Add sincostab.
42139         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42140         Use __sincostab not sincos.
42141         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42142         name is a macro.
42143         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42144         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42145         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42146         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
42147         using __copysign.
42148         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
42149         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
42150         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42151         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42152         and __inv.
42153         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42154         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42155         __copysign.
42156         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
42157         define aliases when function name is a macro.
42158         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42159         sysdeps/ieee754/dbl-64/sincos.tbl.
42160         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42161         fma4-enabled routines.
42162         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42163         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42164         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42165         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42166         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42167         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42168         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42169         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42170         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42171         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42172         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42173         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42174         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42175         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42176         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42177         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42178         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42179         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42180         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42181         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42182         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42183         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42184         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42185         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42186         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42187         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42188         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42189         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42190         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42191         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42192
42193         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42194         rename.
42195         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42196         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42197         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42198         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42199         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42200         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42201         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42202         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42203
42204 2011-10-24  Andreas Schwab  <schwab@redhat.com>
42205
42206         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42207
42208 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42209
42210         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42211
42212         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42213         prediction.
42214         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42215
42216         * string/strnlen.c: Don't define STRNLEN, reverse logic.
42217         Remove unused variable magic_bits.
42218         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42219
42220         * string/strnlen.c: Define and use STRNLEN macro.
42221         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42222         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42223         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42224         * wcsmbs/wcslen.c: Define and use WCSLEN.
42225         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42226         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42227         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42228         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42229         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42230         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42231         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42232
42233 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42234
42235         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42236         strnlen-sse2-no-bsf.
42237         Rename strlen-no-bsf to strlen-sse2-no-bsf.
42238         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42239         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42240         Add strnlen support.
42241         (USE_AS_STRNLEN): New macro.
42242         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42243         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42244         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42245         * sysdeps/x86_64/wcslen.S: New file.
42246
42247 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
42248
42249         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42250         XMM-moves are used for copying on small sizes.
42251
42252 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42253
42254         * wcsmbs/Makefile (strop-tests): Add wcschr.
42255         * wcsmbs/test-wcschr.c: New file.
42256         * string/test-strchr.c: Update.
42257         Add wcschr support.
42258         (WIDE): New macro.
42259
42260 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42261
42262         * wcsmbs/Makefile (strop-tests): Add wcslen.
42263         * wcsmbs/test-wcslen.c: New file.
42264         * string/test-strlen.c: Update.
42265         Add wcslen support.
42266         (WIDE): New macro.
42267
42268 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42269
42270         * po/it.po: Update from translation team.
42271
42272 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42273
42274         * sysdeps/x86_64/wcscmp.S: Update.
42275         Fix wrong comparison semantics.
42276         wcscmp shall use signed comparison not unsigned.
42277         Don't use substraction to avoid overflow bug.
42278         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42279         * wcsmbc/wcscmp.c: Likewise.
42280         * string/test-strcmp.c: Likewise.
42281         Add new tests to check cases with negative values.
42282
42283 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42284
42285         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42286         * sysdeps/x86_64/dla.h: ...here.  New file.
42287         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42288         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42289         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42290         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42291         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42292         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42293         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42294         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42295         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42296
42297 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
42298
42299         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42300         __ynl_finite aliases.
42301
42302 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42303
42304         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42305
42306         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42307         define DLA_FMA.
42308         [DLA_FMA] (EMULV): Use DLA_FMA.
42309         [DLA_FMA] (MUL12): Use EMULV.
42310         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42311         that are not needed.
42312         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42313         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42314         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42315         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42316         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42317         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42318         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42319
42320 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
42321
42322         * math/s_nan.c: Undef __nan.
42323         * math/s_nanf.c: Undef __nanf.
42324         * math/s_nanl.c: Undef __nanl.
42325         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42326         "math_private.h".
42327
42328 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42329
42330         * math/s_catan.c: Add branch predictions.
42331         * math/s_catanf.c: Likewise.
42332         * math/s_catanh.c: Likewise.
42333         * math/s_catanhf.c: Likewise.
42334         * math/s_catanhl.c: Likewise.
42335         * math/s_catanl.c: Likewise.
42336         * math/s_cexp.c: Likewise.
42337         * math/s_cexpf.c: Likewise.
42338         * math/s_cexpl.c: Likewise.
42339         * math/s_clog.c: Likewise.
42340         * math/s_clog10.c: Likewise.
42341         * math/s_clog10f.c: Likewise.
42342         * math/s_clog10l.c: Likewise.
42343         * math/s_clogf.c: Likewise.
42344         * math/s_clogl.c: Likewise.
42345         * math/s_csqrt.c: Likewise.
42346         * math/s_csqrtf.c: Likewise.
42347         * math/s_csqrtl.c: Likewise.
42348         * math/s_ctanf.c: Likewise.
42349         * math/s_ctanh.c: Likewise.
42350         * math/s_ctanhf.c: Likewise.
42351         * math/s_ctanhl.c: Likewise.
42352         * math/s_ctanl.c: Likewise.
42353
42354         * math/math_private.h: Define __nan, __nanf, __nanl.
42355         * math/s_cacosh.c: Include <math_private.h>.
42356         * math/s_cacoshl.c: Likewise.
42357         * math/s_casinh.c: Likewise.
42358         * math/s_casinhf.c: Likewise.
42359         * math/s_casinhl.c: Likewise.
42360         * math/s_ccos.c: Rely entire on ccosh.
42361         * math/s_ccosf.c: Rely entire on ccoshf.
42362         * math/s_ccosl.c: Rely entirely on ccoshl.
42363         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
42364         Remove tests for FE_INVALID.
42365         * math/s_ccoshf.c: Likewise.
42366         * math/s_ccoshl.c: Likewise.
42367         * math/s_csin.c: Likewise.
42368         * math/s_csinf.c: Likewise.
42369         * math/s_csinh.c Likewise.
42370         * math/s_csinhf.c: Likewise.
42371         * math/s_csinhl.c: Likewise.
42372         * math/s_csinl.c: Likewise.
42373         * math/s_ctan.c: Likewise.
42374         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42375         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42376         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42377
42378 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
42379
42380         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42381         compilation problems.
42382
42383         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42384         __builtin_expect.
42385
42386 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
42387
42388         * sysdeps/i386/configure.in: Test for -mfma4 option.
42389         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42390         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42391         COMMON_CPUID_INDEX_80000001.
42392         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42393         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42394         use it if FMA3 is not supported.
42395         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42396
42397         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42398         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42399
42400 2011-10-20  Andreas Schwab  <schwab@redhat.com>
42401
42402         [BZ #12892]
42403         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42404         it would create a cycle with a link time dependency.
42405
42406 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
42407
42408         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42409         instruction.
42410         * string/Makefile (strop-tests): Add rawmemchr.
42411         * string/test-rawmemchr.c: New file.
42412
42413         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42414         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
42415         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
42416         when compiling str{,n}casecmp and when AVX is available.  Hook up
42417         new optimized code in initializers.
42418
42419 2011-10-19  Andreas Schwab  <schwab@redhat.com>
42420
42421         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42422         __feraiseexcept instead of feraiseexcept.
42423
42424 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
42425
42426         * math/math_private.h: Define defaults for libc_fetestexcept and
42427         libc_feupdateenv.
42428         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42429         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42430         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42431         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42432         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42433         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42434         libc_fetestexcept and libc_feupdateenv.
42435
42436         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42437         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42438         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42439         * sysdeps/x86_64/fpu/math_private.h: Define special version of
42440         libc_feholdexcept_setround.
42441
42442         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42443         Add s_nearbyint-c and s_nearbyintf-c.
42444         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42445         nearbyintf inlines.
42446         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42447         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42448         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42449         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42450
42451         * math/math_private.h: Define defaults for libc_fegetround,
42452         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42453         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42454         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42455         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42456         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42457         standard functions.
42458         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42459         Remove comments and hacks for old compiler versions.
42460         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42461         libc_fegetround, libc_fesetround, libc_feholdexcept, and
42462         libc_feholdexceptl.
42463
42464 2011-10-18  Andreas Schwab  <schwab@redhat.com>
42465
42466         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42467         (__feraiseexcept_renamed): Add __NTH.
42468         (feraiseexcept): Add __NTH.  Rename local variables to fix
42469         namespace violations.
42470
42471 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
42472
42473         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42474
42475         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42476
42477         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42478         recently added interfaces.
42479         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42480
42481         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42482         about macro parameter expansion.
42483
42484         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42485         __NO_MATH_INLINES is defined.  Cleanups.
42486
42487         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42488         and __floorf is target has SSE4.1.
42489         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42490         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42491         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42492         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42493
42494         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42495         name.
42496         (floorf): Likewise.
42497
42498         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42499
42500 2011-10-17  Andreas Schwab  <schwab@redhat.com>
42501
42502         * misc/sys/cdefs.h: Fix last change.
42503
42504         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42505         database lookup.
42506
42507 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
42508
42509         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42510
42511         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42512         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42513         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42514         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42515         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42516         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42517         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42518         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42519         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42520         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42521         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42522         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42523         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42524         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42525         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42526         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42527         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42528         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42529         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42530         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42531         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42532         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42533
42534         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42535         ceil, ceilf, floor, floorf.
42536
42537         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42538         Perform IRELATIVE relocations last.
42539
42540         * elf/do-rel.h: Add another parameter nrelative, replacing the
42541         local variable with the same name.  Change name of the function
42542         to end in Rel or Rela (uppercase).
42543         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42544         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
42545         elf_dynamic_do_##reloc function.
42546
42547 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42548
42549         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42550         is sufficient, at least on modern CPUs.
42551
42552         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42553
42554         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42555         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42556
42557         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42558         __expl_finite.
42559         * math/bits/math-finite.h: Add entries for exp.
42560         * math/e_expl.c: Add __*_finite alias.
42561         * sysdeps/i386/fpu/e_exp.S: Likewise.
42562         * sysdeps/i386/fpu/e_expf.S: Likewise.
42563         * sysdeps/i386/fpu/e_expl.c: Likewise.
42564         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42565         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42566         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42567         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42568         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42569         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42570         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42571
42572         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42573         is sufficient, at least on modern CPUs.
42574
42575         * ctype/ctype-info.c (__ctype_init): Define.
42576         * include/ctype.h (__ctype_init): Declare.
42577         (__ctype_b_loc): The variable is always initialized.
42578         (__ctype_toupper_loc): Likewise.
42579         (__ctype_tolower_loc): Likewise.
42580         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42581         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42582
42583 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
42584
42585         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42586
42587         * configure.in: Also look in $cxxmachine/include for C++ system
42588         headers.
42589
42590 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42591
42592         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42593         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42594         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42595         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
42596         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42597         (USE_AS_WMEMCMP): New macro.
42598         Fixing indents.
42599         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42600         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42601         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42602         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42603         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42604         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42605         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42606         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42607         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42608         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42609         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42610         (USE_AS_WMEMCMP): New macro.
42611         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42612         * sysdeps/string/test-memcmp.c: Update.
42613         Fix simple_wmemcmp.
42614         Add new tests.
42615         * wcsmbs/wmemcmp.c: Update.
42616         (WMEMCMP): New macro.
42617         Fix overflow bug.
42618
42619 2011-10-12  Andreas Jaeger  <aj@suse.de>
42620
42621         [BZ #13268]
42622         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42623
42624 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42625
42626         * libio/iofwide.c (do_length): Avoid warning.
42627
42628         * ctype/ctype.h (__isctype_f): Add missing __THROW.
42629
42630 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
42631
42632         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42633
42634         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42635         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42636         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42637         * sysdeps/i386/i686/fpu/e_log.S: New file.
42638         * sysdeps/i386/i686/fpu/e_logf.S: New file.
42639         * sysdeps/i386/i686/fpu/e_logl.S: New file.
42640
42641         * ctype/ctype.h: Add support for inlined isXXX functions when
42642         compiling C++ code.
42643
42644 2011-10-14  Andreas Schwab  <schwab@redhat.com>
42645
42646         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42647
42648         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42649
42650 2011-10-13  Roland McGrath  <roland@hack.frob.com>
42651
42652         [BZ #13291]
42653         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42654
42655 2011-10-13  Andreas Schwab  <schwab@redhat.com>
42656
42657         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42658         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42659         feraiseexcept.
42660
42661         * sysdeps/x86_64/memrchr.S: Check for zero size.
42662
42663         * string/stratcliff.c: Add memrchr tests.
42664
42665 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42666
42667         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42668         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42669         rawmemchr-sse2 rawmemchr-sse2-bsf.
42670         * sysdeps/i386/i686/multiarch/memchr.S: New file.
42671         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42672         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42673         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42674         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42675         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42676         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42677         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42678         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42679         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42680         * string/memrchr.c (MEMRCHR): New macro.
42681
42682 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
42683
42684         Add integration with gcc's -ffinite-math-only and optimize wrapper
42685         functions in libm.
42686         * Versions.def: Define GLIBC_2.15 version for libm.
42687         * math/Makefile (headers): Add bits/math-finite.h.
42688         * math/bits/math-finite.h: New file.
42689         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42690         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42691         * math/e_acoshl.c: Add __*_finite alias.
42692         * math/e_acosl.c: Likewise.
42693         * math/e_asinl.c: Likewise.
42694         * math/e_atan2l.c: Likewise.
42695         * math/e_atanhl.c: Likewise.
42696         * math/e_coshl.c: Likewise.
42697         * math/e_exp10.c: Likewise.
42698         * math/e_exp10f.c: Likewise.
42699         * math/e_exp10l.c: Likewise.
42700         * math/e_exp2l.c: Likewise.
42701         * math/e_fmodl.c: Likewise.
42702         * math/e_gammal_r.c: Likewise.
42703         * math/e_hypotl.c: Likewise.
42704         * math/e_j0l.c: Likewise.
42705         * math/e_j1l.c: Likewise.
42706         * math/e_jnl.c: Likewise.
42707         * math/e_lgammal_r.c: Likewise.
42708         * math/e_log10l.c: Likewise.
42709         * math/e_log2l.c: Likewise.
42710         * math/e_logl.c: Likewise.
42711         * math/e_powl.c: Likewise.
42712         * math/e_sinhl.c: Likewise.
42713         * math/e_sqrtl.c: Likewise.
42714         * math/e_scalb.c: Completely rewritten and optimized.
42715         * math/e_scalbf.c: Likewise.
42716         * math/e_scalbl.c: Likewise.
42717         * math/w_acos.c: Likewise.
42718         * math/w_acosf.c: Likewise.
42719         * math/w_acosl.c: Likewise.
42720         * math/w_acosh.c: Likewise.
42721         * math/w_acoshf.c: Likewise.
42722         * math/w_acoshl.c: Likewise.
42723         * math/w_asin.c: Likewise.
42724         * math/w_asinf.c: Likewise.
42725         * math/w_asinl.c: Likewise.
42726         * math/w_atan2.c: Likewise.
42727         * math/w_atan2f.c: Likewise.
42728         * math/w_atan2l.c: Likewise.
42729         * math/w_atanh.c: Likewise.
42730         * math/w_atanhf.c: Likewise.
42731         * math/w_atanhl.c: Likewise.
42732         * math/w_exp10.c: Likewise.
42733         * math/w_exp10f.c: Likewise.
42734         * math/w_exp10l.c: Likewise.
42735         * math/w_fmod.c: Likewise.
42736         * math/w_fmodf.c: Likewise.
42737         * math/w_fmodl.c: Likewise.
42738         * math/w_j0.c: Likewise.
42739         * math/w_j0f.c: Likewise.
42740         * math/w_j0l.c: Likewise.
42741         * math/w_j1.c: Likewise.
42742         * math/w_j1f.c: Likewise.
42743         * math/w_j1l.c: Likewise.
42744         * math/w_jn.c: Likewise.
42745         * math/w_jnf.c: Likewise.
42746         * math/w_log.c: Likewise.
42747         * math/w_logf.c: Likewise.
42748         * math/w_logl.c: Likewise.
42749         * math/w_log10.c: Likewise.
42750         * math/w_log10f.c: Likewise.
42751         * math/w_log10l.c: Likewise.
42752         * math/w_log2.c: Likewise.
42753         * math/w_log2f.c: Likewise.
42754         * math/w_log2l.c: Likewise.
42755         * math/w_pow.c: Likewise.
42756         * math/w_powf.c: Likewise.
42757         * math/w_powl.c: Likewise.
42758         * math/w_remainder.c: Likewise.
42759         * math/w_remainderf.c: Likewise.
42760         * math/w_remainderl.c: Likewise.
42761         * math/w_scalb.c: Likewise.
42762         * math/w_scalbf.c: Likewise.
42763         * math/w_scalbl.c: Likewise.
42764         * math/w_sqrt.c: Likewise.
42765         * math/w_sqrtf.c: Likewise.
42766         * math/w_sqrtl.c: Likewise.
42767         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42768         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
42769         used.
42770         * math/math_private.h: Declare __kernel_standard_f.
42771         * math/w_cosh.c: Remove cruft and optimize a bit.
42772         * math/w_coshf.c: Likewise.
42773         * math/w_coshl.c: Likewise.
42774         * math/w_exp2.c: Likewise.
42775         * math/w_exp2f.c: Likewise.
42776         * math/w_exp2l.c: Likewise.
42777         * math/w_hypot.c: Likewise.
42778         * math/w_hypotf.c: Likewise.
42779         * math/w_hypotl.c: Likewise.
42780         * math/w_lgamma.c: Likewise.
42781         * math/w_lgamma_r.c: Likewise.
42782         * math/w_lgammaf.c: Likewise.
42783         * math/w_lgammaf_r.c: Likewise.
42784         * math/w_lgammal.c: Likewise.
42785         * math/w_lgammal_r.c: Likewise.
42786         * math/w_sinh.c: Likewise.
42787         * math/w_sinhf.c: Likewise.
42788         * math/w_sinhl.c: Likewise.
42789         * math/w_tgamma.c: Likewise.
42790         * math/w_tgammaf.c: Likewise.
42791         * math/w_tgammal.c: Likewise.
42792         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42793         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42794         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42795         Minor optimizations.  Pretty printing.  Remove cruft.
42796         * sysdeps/i386/fpu/e_acosf.S: Likewise.
42797         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42798         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42799         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42800         * sysdeps/i386/fpu/e_acosl.c: Likewise.
42801         * sysdeps/i386/fpu/e_asin.S: Likewise.
42802         * sysdeps/i386/fpu/e_asinf.S: Likewise.
42803         * sysdeps/i386/fpu/e_atan2.S: Likewise.
42804         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42805         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42806         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42807         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42808         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42809         * sysdeps/i386/fpu/e_exp10.S: Likewise.
42810         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42811         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42812         * sysdeps/i386/fpu/e_exp2.S: Likewise.
42813         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42814         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42815         * sysdeps/i386/fpu/e_fmod.S: Likewise.
42816         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42817         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42818         * sysdeps/i386/fpu/e_hypot.S: Likewise.
42819         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42820         * sysdeps/i386/fpu/e_log.S: Likewise.
42821         * sysdeps/i386/fpu/e_log10.S: Likewise.
42822         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42823         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42824         * sysdeps/i386/fpu/e_log2.S: Likewise.
42825         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42826         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42827         * sysdeps/i386/fpu/e_logf.S: Likewise.
42828         * sysdeps/i386/fpu/e_logl.S: Likewise.
42829         * sysdeps/i386/fpu/e_pow.S: Likewise.
42830         * sysdeps/i386/fpu/e_powf.S: Likewise.
42831         * sysdeps/i386/fpu/e_powl.S: Likewise.
42832         * sysdeps/i386/fpu/e_remainder.S: Likewise.
42833         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42834         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42835         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42836         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42837         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42838         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42839         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42840         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42841         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42842         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42843         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42844         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42845         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42846         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42847         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42848         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42849         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42850         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42851         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42852         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42853         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42854         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42855         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42856         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42857         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42858         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42859         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42860         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42861         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42862         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42863         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42864         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42865         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42866         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42867         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42868         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42869         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42870         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42871         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42872         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42873         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42874         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42875         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42876         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42877         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42878         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42879         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42880         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42881         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42882         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42883         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42884         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42885         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42886         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42887         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42888         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42889         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42890         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42891         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42892         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42893         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42894         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42895         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42896         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42897         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42898         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42899         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42900         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42901         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42902         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42903         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42904         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42905         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42906         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42907         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42908         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42909         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42910         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42911         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42912         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42913         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42914         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42915         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42916         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42917         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42918         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42919         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42920         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42921         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42922         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42923         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42924         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42925         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42926         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42927         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42928         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42929         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42930         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42931         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42932         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42933         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42934         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42935         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42936         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42937         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42938         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42939         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42940         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42941         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42942         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42943         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42944         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42945         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42946         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42947         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42948         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42949         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42950         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42951         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
42952         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42953         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42954         (__isnanf): Likewise.
42955         (__isinf_ns): Likewise.
42956         (__isinf_nsf): Likewise.
42957         (__finite): Likewise.
42958         (__finitef): Likewise.
42959         (__ieee754_sqrt): Define as macro.
42960         (__ieee754_sqrtf): Define as macro.
42961         (__ieee754_sqrtl): Define as macro.
42962         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42963         inlined copy.
42964         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42965         __FINITE_MATH_ONLY__ consistent.
42966         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42967
42968 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
42969
42970         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42971         of rawmemchr.
42972
42973         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42974
42975 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
42976
42977         * po/ja.po: Update from translation team.
42978
42979 2011-10-08  Roland McGrath  <roland@hack.frob.com>
42980
42981         * locale/programs/locarchive.c (prepare_address_space): New function.
42982         (create_archive, enlarge_archive, open_archive): Use it.
42983
42984         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42985         inside [SHARED], where it is used.
42986
42987         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42988
42989         * nss/getent.c (netgroup_keys): Remove unused variable.
42990         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42991
42992 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
42993
42994         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42995         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42996         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42997         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42998         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42999         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43000         * math/Makefile (libm-calls): Add s_isinf_ns.
43001         * math/divtc3.c: Use __isinf_nsl instead of isinf.
43002         * math/multc3.c: Likewise.
43003         * math/s_casin.c: Likewise.
43004         * math/s_casinf.c: Likewise.
43005         * math/s_casinl.c: Likewise.
43006         * math/s_ccos.c: Likewise.
43007         * math/s_ccosf.c: Likewise.
43008         * math/s_ccosl.c: Likewise.
43009         * math/s_ctan.c: Likewise.
43010         * math/s_ctanf.c: Likewise.
43011         * math/s_ctanh.c: Likewise.
43012         * math/s_ctanhf.c: Likewise.
43013         * math/s_ctanhl.c: Likewise.
43014         * math/s_ctanl.c: Likewise.
43015         * math/w_fmod.c: Likewise.
43016         * math/w_fmodf.c: Likewise.
43017         * math/w_fmodl.c: Likewise.
43018         * math/w_remainder.c: Likewise.
43019         * math/w_remainderf.c: Likewise.
43020         * math/w_remainderl.c: Likewise.
43021         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43022         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43023         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43024         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43025         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43026         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43027         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43028         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43029
43030         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43031         of the number.
43032         * stdio-common/printf_fphex.c: Likewise.
43033         * stdio-common/printf_size.c: Likewise.
43034
43035         * math/e_exp10.c: Include math_private.h using <...> not "...".
43036         * math/e_exp10f.c: Likewise.
43037         * math/e_exp10l.c: Likewise.
43038         * math/e_exp2l.c: Likewise.
43039         * math/e_j0l.c: Likewise.
43040         * math/e_j1l.c: Likewise.
43041         * math/e_jnl.c: Likewise.
43042         * math/e_lgammal_r.c: Likewise.
43043         * math/e_rem_pio2l.c: Likewise.
43044         * math/e_scalb.c: Likewise.
43045         * math/e_scalbf.c: Likewise.
43046         * math/e_scalbl.c: Likewise.
43047         * math/k_cosl.c: Likewise.
43048         * math/k_sinl.c: Likewise.
43049         * math/k_tanl.c: Likewise.
43050         * math/s_cacoshf.c: Likewise.
43051         * math/s_catan.c: Likewise.
43052         * math/s_catanf.c: Likewise.
43053         * math/s_catanh.c: Likewise.
43054         * math/s_catanhf.c: Likewise.
43055         * math/s_catanhl.c: Likewise.
43056         * math/s_catanl.c: Likewise.
43057         * math/s_ccosh.c: Likewise.
43058         * math/s_ccoshf.c: Likewise.
43059         * math/s_ccoshl.c: Likewise.
43060         * math/s_cexp.c: Likewise.
43061         * math/s_cexpf.c: Likewise.
43062         * math/s_cexpl.c: Likewise.
43063         * math/s_clog.c: Likewise.
43064         * math/s_clog10.c: Likewise.
43065         * math/s_clog10f.c: Likewise.
43066         * math/s_clog10l.c: Likewise.
43067         * math/s_clogf.c: Likewise.
43068         * math/s_clogl.c: Likewise.
43069         * math/s_csin.c: Likewise.
43070         * math/s_csinf.c: Likewise.
43071         * math/s_csinh.c: Likewise.
43072         * math/s_csinhf.c: Likewise.
43073         * math/s_csinhl.c: Likewise.
43074         * math/s_csinl.c: Likewise.
43075         * math/s_csqrt.c: Likewise.
43076         * math/s_csqrtf.c: Likewise.
43077         * math/s_csqrtl.c: Likewise.
43078         * math/s_ctan.c: Likewise.
43079         * math/s_ctanf.c: Likewise.
43080         * math/s_ctanh.c: Likewise.
43081         * math/s_ctanhf.c: Likewise.
43082         * math/s_ctanhl.c: Likewise.
43083         * math/s_ctanl.c: Likewise.
43084         * math/s_ldexp.c: Likewise.
43085         * math/s_ldexpf.c: Likewise.
43086         * math/s_ldexpl.c: Likewise.
43087         * math/s_significand.c: Likewise.
43088         * math/s_significandf.c: Likewise.
43089         * math/s_significandl.c: Likewise.
43090         * math/w_acos.c: Likewise.
43091         * math/w_acosf.c: Likewise.
43092         * math/w_acosh.c: Likewise.
43093         * math/w_acoshf.c: Likewise.
43094         * math/w_acoshl.c: Likewise.
43095         * math/w_acosl.c: Likewise.
43096         * math/w_asin.c: Likewise.
43097         * math/w_asinf.c: Likewise.
43098         * math/w_asinl.c: Likewise.
43099         * math/w_atan2.c: Likewise.
43100         * math/w_atan2f.c: Likewise.
43101         * math/w_atan2l.c: Likewise.
43102         * math/w_atanh.c: Likewise.
43103         * math/w_atanhf.c: Likewise.
43104         * math/w_atanhl.c: Likewise.
43105         * math/w_cosh.c: Likewise.
43106         * math/w_coshf.c: Likewise.
43107         * math/w_coshl.c: Likewise.
43108         * math/w_dremf.c: Likewise.
43109         * math/w_exp10.c: Likewise.
43110         * math/w_exp10f.c: Likewise.
43111         * math/w_exp10l.c: Likewise.
43112         * math/w_exp2.c: Likewise.
43113         * math/w_exp2f.c: Likewise.
43114         * math/w_fmod.c: Likewise.
43115         * math/w_fmodf.c: Likewise.
43116         * math/w_fmodl.c: Likewise.
43117         * math/w_hypot.c: Likewise.
43118         * math/w_hypotf.c: Likewise.
43119         * math/w_hypotl.c: Likewise.
43120         * math/w_j0.c: Likewise.
43121         * math/w_j0f.c: Likewise.
43122         * math/w_j0l.c: Likewise.
43123         * math/w_j1.c: Likewise.
43124         * math/w_j1f.c: Likewise.
43125         * math/w_j1l.c: Likewise.
43126         * math/w_jn.c: Likewise.
43127         * math/w_jnf.c: Likewise.
43128         * math/w_jnl.c: Likewise.
43129         * math/w_lgamma.c: Likewise.
43130         * math/w_lgamma_r.c: Likewise.
43131         * math/w_lgammaf.c: Likewise.
43132         * math/w_lgammaf_r.c: Likewise.
43133         * math/w_lgammal.c: Likewise.
43134         * math/w_lgammal_r.c: Likewise.
43135         * math/w_log.c: Likewise.
43136         * math/w_log10.c: Likewise.
43137         * math/w_log10f.c: Likewise.
43138         * math/w_log10l.c: Likewise.
43139         * math/w_log2.c: Likewise.
43140         * math/w_log2f.c: Likewise.
43141         * math/w_log2l.c: Likewise.
43142         * math/w_logf.c: Likewise.
43143         * math/w_logl.c: Likewise.
43144         * math/w_pow.c: Likewise.
43145         * math/w_powf.c: Likewise.
43146         * math/w_powl.c: Likewise.
43147         * math/w_remainder.c: Likewise.
43148         * math/w_remainderf.c: Likewise.
43149         * math/w_remainderl.c: Likewise.
43150         * math/w_scalb.c: Likewise.
43151         * math/w_scalbf.c: Likewise.
43152         * math/w_scalbl.c: Likewise.
43153         * math/w_sinh.c: Likewise.
43154         * math/w_sinhf.c: Likewise.
43155         * math/w_sinhl.c: Likewise.
43156         * math/w_sqrt.c: Likewise.
43157         * math/w_sqrtf.c: Likewise.
43158         * math/w_sqrtl.c: Likewise.
43159         * math/w_tgamma.c: Likewise.
43160         * math/w_tgammaf.c: Likewise.
43161         * math/w_tgammal.c: Likewise.
43162
43163         * po/ja.po: Update from translation team.
43164
43165 2011-09-29  Andreas Jaeger  <aj@suse.de>
43166
43167         [BZ #13179]
43168         * sunrpc/netname.c (netname2host): Fix logic.
43169
43170         [BZ #6779]
43171         [BZ #6783]
43172         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43173         correctly.
43174         * math/w_remainder.c (__remainder): Likewise.
43175         * math/w_remainderf.c (__remainderf): Likewise.
43176         * math/libm-test.inc (remainder_test): Add test cases.
43177
43178 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43179
43180         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
43181         sdiv_qrnnd.
43182
43183 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43184
43185         * string/test-memcmp.c: Avoid unncessary #defines.
43186         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43187
43188 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43189
43190         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43191         Use new sse2 version for core i3 - i7 as it's faster
43192         than sse42 version.
43193         (bit_Prefer_PMINUB_for_stringop): New.
43194         * sysdeps/x86_64/rawmemchr.S: Update.
43195         Replace with faster SSE2 version.
43196         * sysdeps/x86_64/memrchr.S: New file.
43197         * sysdeps/x86_64/memchr.S: Update.
43198         Replace with faster SSE2 version.
43199
43200 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
43201
43202         * elf/dl-load.c (lose): Add cast to avoid warning.
43203
43204 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43205
43206         * po/ca.po: Update from translation team.
43207
43208         * inet/getnetgrent_r.c: Hook up nscd.
43209         * nscd/Makefile (routines): Add nscd_netgroup.
43210         (nscd-modules): Add netgroupcache.
43211         (CFLAGS-netgroupcache.c): Define.
43212         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43213         (cache_search): Add const to second parameter.
43214         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43215         INNETGR.
43216         (dbs): Add netgrdb entry.
43217         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43218         (verify_persistent_db): Handle netgrdb.
43219         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43220         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43221         GETFDNETGR.
43222         (netgroup_response_header): Define.
43223         (innetgroup_response_header): Define.
43224         (datahead): Add netgroup_response_header and innetgroup_response_header
43225         elements.
43226         * nscd/nscd.conf: Add entries for netgroup cache.
43227         * nscd/nscd.h (dbtype): Add netgrdb.
43228         (_PATH_NSCD_NETGROUP_DB): Define.
43229         (netgroup_iov_disabled): Declare.
43230         (xmalloc, xcalloc, xrealloc): Move declarations here.
43231         (cache_search): Adjust prototype.
43232         Add netgroup-related prototypes.
43233         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43234         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43235         (__nscd_innetgr): Declare.
43236         * nscd/selinux.c (perms): Use access_vector_t as element type and
43237         add netgroup-related initializers.
43238         * nscd/netgroupcache.c: New file.
43239         * nscd/nscd_netgroup.c: New file.
43240         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43241         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43242         For four parameters use innetgr.
43243         * nss/nss_files/files-init.c: Add definition and callback for netgr.
43244         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43245         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43246         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43247
43248         * nscd/connections.c (register_traced_file): Don't register file
43249         for disabled databases.
43250
43251 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
43252
43253         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43254
43255         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43256         from tree and freeing node.
43257
43258 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
43259
43260         * nss/nsswitch.c (__nss_database_lookup): Handle
43261         nss_parse_service_list out of memory case.
43262
43263 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
43264
43265         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43266         out of memory case.
43267
43268 2011-10-04  Andreas Schwab  <schwab@redhat.com>
43269
43270         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43271         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43272         pass it down.
43273         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43274         elf_machine_rela, elf_machine_lazy_rel.
43275         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43276         (ELF_DYNAMIC_DO_REL): Likewise.
43277         (ELF_DYNAMIC_DO_RELA): Likewise.
43278         (ELF_DYNAMIC_RELOCATE): Likewise.
43279         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43280         to ELF_DYNAMIC_DO_REL.
43281         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43282         (dl_main): In trace mode always set __RTLD_NOIFUNC.
43283         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43284         elf_machine_rela.
43285         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43286         skip_ifunc, don't call ifunc function if non-zero.
43287         (elf_machine_rela): Likewise.
43288         (elf_machine_lazy_rel): Likewise.
43289         (elf_machine_lazy_rela): Likewise.
43290         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43291         (elf_machine_lazy_rel): Likewise.
43292         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43293         Likewise.
43294         (elf_machine_lazy_rel): Likewise.
43295         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43296         Likewise.
43297         (elf_machine_lazy_rel): Likewise.
43298         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43299         (elf_machine_lazy_rel): Likewise.
43300         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43301         (elf_machine_lazy_rel): Likewise.
43302         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43303         (elf_machine_lazy_rel): Likewise.
43304         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43305         (elf_machine_lazy_rel): Likewise.
43306         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43307         (elf_machine_lazy_rel): Likewise.
43308         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43309         (elf_machine_lazy_rel): Likewise.
43310
43311 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
43312
43313         * nss/nss_files/files-init.c (_nss_files_init): Use static
43314         initialization for all the *_traced_file variables.
43315
43316 2011-09-28  Andreas Schwab  <schwab@redhat.com>
43317
43318         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43319
43320 2011-09-27  Roland McGrath  <roland@hack.frob.com>
43321
43322         [BZ #13226]
43323         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43324
43325 2011-09-27  Andreas Schwab  <schwab@redhat.com>
43326
43327         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43328         Reread the line before reparsing it.
43329
43330 2011-09-26  Andreas Schwab  <schwab@redhat.com>
43331
43332         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43333
43334 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
43335             Maxim Kuvyrkov  <maxim@codesourcery.com>
43336             Joseph Myers  <joseph@codesourcery.com>
43337
43338         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43339         if needed for __stack_chk_guard.
43340
43341 2011-09-19  Roland McGrath  <roland@hack.frob.com>
43342
43343         * sysdeps/posix/spawni.c (script_execute): Always define it.
43344         It will be optimized away if unused.
43345         (maybe_script_execute): New function.
43346         (__spawni): Call it.
43347
43348         * Makerules: Don't include tls.make.
43349         (config-tls): Always set to thread.
43350         * tls.make.c: File removed.
43351
43352 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
43353
43354         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43355         * config.make.in (CPPFLAGS-config): New substituted variable.
43356
43357 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43358
43359         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43360
43361         [BZ #13192]
43362         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43363         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43364
43365 2011-09-15  Roland McGrath  <roland@hack.frob.com>
43366
43367         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43368         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43369         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43370         (CALL_FAIL): Likewise.
43371         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43372         (CALL_FAIL): Macro removed.
43373         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43374
43375 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43376
43377         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43378         for __FINITE_MATH_ONLY__ == 1.
43379
43380 2011-09-15  Andreas Schwab  <schwab@redhat.com>
43381
43382         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43383         __ieee754_sqrt instead of sqrt.
43384         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43385         __ieee754_sqrtf instead of sqrtf.
43386         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43387         __floorf instead of floorf.
43388         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43389         __floorf, __truncf instead of floorf, truncf.
43390
43391 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
43392
43393         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43394
43395         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43396         __extern_always_inline.
43397         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43398         32-bit.
43399
43400 2011-09-14  Andreas Schwab  <schwab@redhat.com>
43401
43402         * elf/rtld.c (dl_main): Also relocate in dependency order when
43403         doing symbol dependency testing.
43404
43405 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
43406
43407         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43408         Always define `refsym'.
43409
43410 2011-09-13  Andreas Schwab  <schwab@redhat.com>
43411
43412         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43413         (__FD_ELT): Renamed from __FDELT.
43414         * misc/bits/select2.h (__FD_ELT): Likewise.
43415         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43416         __FD_MASK instead of __FDELT, __FDMASK.
43417         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43418         Likewise.
43419         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43420         Likewise.
43421
43422         * elf/Makefile (gen-ldd): Fix pattern.
43423
43424         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43425         (init_tls): Likewise.
43426
43427 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
43428
43429         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43430
43431 2011-09-12  Andreas Schwab  <schwab@redhat.com>
43432
43433         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43434         `struct cmsghdr *' instead of `void *'.
43435         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43436         Likewise.
43437
43438 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
43439
43440         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43441         if non-absolute.
43442         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43443         ldd_rewrite_script.
43444
43445 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
43446
43447         * configure.in: Remove --with-tls option.
43448         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43449         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43450         out in case it is missing.
43451         * sysdeps/ia64/elf/configure.in: Likewise.
43452         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43453         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43454         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43455         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43456         * sysdeps/sh/elf/configure.in: Likewise.
43457         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43458         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43459         * sysdeps/x86_64/elf/configure.in: Likewise.
43460         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43461         * sysdeps/mach/hurd/tls.h: Likewise.
43462
43463         [BZ #13067]
43464         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43465
43466         [BZ #13090]
43467         * configure.in: Fix use of AC_INIT.
43468
43469         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43470
43471 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
43472
43473         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43474         __set_errno.
43475         * malloc/hooks.c: Likewise.
43476
43477         [BZ #11929]
43478         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
43479         variables statically.
43480         (narenas): Initialize.
43481         (list_lock): Initialize.
43482         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
43483         initializtion of main_arena and list_lock.  Small cleanups.
43484         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43485         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
43486         Add initializers to main_arena and mp_.
43487         (malloc_state): Remove pagesize member.  Change all users to use
43488         GLRO(dl_pagesize).
43489
43490         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43491         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
43492         is always initialized.
43493
43494         * malloc/malloc.c: Removed unused configurations and dead code.
43495         * malloc/arena.c: Likewise.
43496         * malloc/hooks.c: Likewise.
43497         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43498
43499         * include/tls.h: Removed.  USE___THREAD must always be defined.
43500         * bits/libc-tsd.h: Don't handle !USE___THREAD.
43501         * elf/dl-libc.c: Likewise.
43502         * elf/dl-tsd.c: Likewise.
43503         * include/errno.h: Likewise.
43504         * include/netdb.h: Likewise.
43505         * include/resolv.h: Likewise.
43506         * inet/herrno-loc.c: Likewise.
43507         * inet/herrno.c: Likewise.
43508         * malloc/arena.c: Likewise.
43509         * malloc/hooks.c: Likewise.
43510         * malloc/malloc.c: Likewise.
43511         * resolv/res-state.c: Likewise.
43512         * resolv/res_libc.c: Likewise.
43513         * sysdeps/i386/dl-machine.h: Likewise.
43514         * sysdeps/ia64/dl-machine.h: Likewise.
43515         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43516         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43517         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43518         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43519         * sysdeps/sh/dl-machine.h: Likewise.
43520         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43521         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43522         * sysdeps/unix/i386/sysdep.S: Likewise.
43523         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43524         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43525         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43526         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43527         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43528         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43529         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43530         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43531         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43532         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43533         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43534         * sysdeps/x86_64/dl-machine.h: Likewise.
43535         * tls.make.c: Likewise.
43536
43537         * configure.in: Remove --with-__thread option.  Make tests for
43538         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43539         tls_model attribute fail if no support is available.  Remove
43540         USE_IN_LIBIO.
43541         * Makeconfig: Adjust for dropped configure option.  All features are
43542         now mandatory.
43543         * Makerules: Likewise.
43544         * Versions.def: Likewise.
43545         * argp/argp-fmtstream.c: Likewise.
43546         * argp/argp-fmtstream.h: Likewise.
43547         * argp/argp-help.c: Likewise.
43548         * assert/assert.c: Likewise.
43549         * config.h.in: Likewise.
43550         * config.make.in: Likewise.
43551         * configure: Likewise.
43552         * configure.in: Likewise.
43553         * csu/Versions: Likewise.
43554         * csu/init.c: Likewise.
43555         * elf/tst-audit2.c: Likewise.
43556         * elf/tst-tls10.c: Likewise.
43557         * elf/tst-tls10.h: Likewise.
43558         * elf/tst-tls11.c: Likewise.
43559         * elf/tst-tls12.c: Likewise.
43560         * elf/tst-tls14.c: Likewise.
43561         * elf/tst-tlsmod11.c: Likewise.
43562         * elf/tst-tlsmod12.c: Likewise.
43563         * elf/tst-tlsmod13.c: Likewise.
43564         * elf/tst-tlsmod13a.c: Likewise.
43565         * elf/tst-tlsmod14a.c: Likewise.
43566         * elf/tst-tlsmod15b.c: Likewise.
43567         * elf/tst-tlsmod16a.c: Likewise.
43568         * elf/tst-tlsmod16b.c: Likewise.
43569         * elf/tst-tlsmod7.c: Likewise.
43570         * elf/tst-tlsmod8.c: Likewise.
43571         * elf/tst-tlsmod9.c: Likewise.
43572         * gmon/gmon.c: Likewise.
43573         * grp/fgetgrent_r.c: Likewise.
43574         * grp/putgrent.c: Likewise.
43575         * hurd/fopenport.c: Likewise.
43576         * include/libc-symbols.h: Likewise.
43577         * include/tls.h: Likewise.
43578         * intl/gettextP.h: Likewise.
43579         * intl/loadinfo.h: Likewise.
43580         * locale/global-locale.c: Likewise.
43581         * locale/localeinfo.h: Likewise.
43582         * mach/devstream.c: Likewise.
43583         * malloc/arena.c: Likewise.
43584         * malloc/set-freeres.c: Likewise.
43585         * misc/err.c: Likewise.
43586         * misc/getttyent.c: Likewise.
43587         * misc/mntent_r.c: Likewise.
43588         * posix/getopt.c: Likewise.
43589         * posix/wordexp.c: Likewise.
43590         * pwd/fgetpwent_r.c: Likewise.
43591         * resolv/Versions: Likewise.
43592         * resolv/res_hconf.c: Likewise.
43593         * shadow/fgetspent_r.c: Likewise.
43594         * shadow/putspent.c: Likewise.
43595         * stdio-common/printf_fphex.c: Likewise.
43596         * stdio-common/tmpfile.c: Likewise.
43597         * stdlib/abort.c: Likewise.
43598         * stdlib/fmtmsg.c: Likewise.
43599         * sunrpc/auth_unix.c: Likewise.
43600         * sunrpc/clnt_perr.c: Likewise.
43601         * sunrpc/clnt_tcp.c: Likewise.
43602         * sunrpc/clnt_udp.c: Likewise.
43603         * sunrpc/clnt_unix.c: Likewise.
43604         * sunrpc/openchild.c: Likewise.
43605         * sunrpc/svc_simple.c: Likewise.
43606         * sunrpc/svc_tcp.c: Likewise.
43607         * sunrpc/svc_udp.c: Likewise.
43608         * sunrpc/svc_unix.c: Likewise.
43609         * sunrpc/xdr.c: Likewise.
43610         * sunrpc/xdr_array.c: Likewise.
43611         * sunrpc/xdr_rec.c: Likewise.
43612         * sunrpc/xdr_ref.c: Likewise.
43613         * sunrpc/xdr_stdio.c: Likewise.
43614
43615 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43616
43617         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43618
43619 2011-07-03  Andreas Jaeger  <aj@suse.de>
43620
43621         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43622         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43623         regenerate with gen-libm-tests.pl.
43624
43625 2010-05-12  Petr Baudis  <pasky@suse.cz>
43626
43627         [BZ #11589]
43628         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43629         around j0() zero points by switching to j1().
43630         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43631         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43632         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43633         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43634
43635 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43636
43637         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43638         instead of 0.
43639         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43640         instead of 0.
43641         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43642         Patch in part by Pavel Roskin <proski@gnu.org>.
43643
43644         [BZ #13138]
43645         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43646         realloc.
43647         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
43648         Free memory block if necessary.
43649
43650         [BZ #12847]
43651         * libio/genops.c (INTDEF): For string streams the _lock pointer can
43652         be NULL.  Don't lock in this case.
43653
43654 2011-09-09  Roland McGrath  <roland@hack.frob.com>
43655
43656         * elf/elf.h (ELFOSABI_GNU): New macro.
43657         (ELFOSABI_LINUX): Define to that.
43658
43659 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
43660
43661         * string/strncat.c (strncat): Undef the symbol in case it has been
43662         defined in bits/string.h.
43663
43664 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43665
43666         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43667
43668         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43669         link map.
43670
43671 2011-08-17  Andreas Jaeger  <aj@suse.de>
43672
43673         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43674
43675 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
43676             Ian Lance Taylor  <iant@google.com>
43677
43678         * math/libm-test.inc (lround_test): New testcase.
43679         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43680
43681 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
43682
43683         * Makefile: Remove support for automatic cvs check-ins.
43684         * Makerules: Likewise.
43685         * config.make.in: Likewise.
43686         * configure.in: Likewise.
43687         * intl/Makefile: Likewise.
43688         * locale/Makefile: Likewise.
43689         * po/Makefile: Likewise.
43690         * posix/Makefile: Likewise.
43691         * sysdeps/gnu/Makefile: Likewise.
43692         * sysdeps/mach/hurd/Makefile: Likewise.
43693         * sysdeps/sparc/sparc32/Makefile: Likewise.
43694
43695         [BZ #13118]
43696         * posix/Makefile (bug-regex32-ENV): Define.
43697         Patch by John Stanley <jpsinthemix@verizon.net>.
43698
43699         * misc/Makefile (headers): Add bits/select2.h.
43700         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43701         * misc/bits/select2.h: New file.
43702         * include/bits/select2.h: New file.
43703         * debug/Makefile (routines): Add fdelt_chk.
43704         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43705         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43706         FD_ISSET.
43707         * debug/fdelt_chk.c: New file.
43708
43709         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
43710         * wcsmbs/test-wmemcmp.c: Likewise.
43711         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43712         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43713
43714 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43715
43716         * string/Makefile (strop-tests): Add memcmp.
43717         * string/test-wmemcmp.c: New file.
43718         * string/test-memcmp.c: Add wmemcmp support.
43719
43720 2011-09-08  Roland McGrath  <roland@hack.frob.com>
43721
43722         [BZ #13153]
43723         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43724         2011-07-19 change.
43725
43726         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43727         garbage value in a __mach_port_mod_refs call in the cases of the
43728         task-self and thread-self ports.
43729
43730 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43731
43732         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43733
43734 2011-09-08  Andreas Schwab  <schwab@redhat.com>
43735
43736         * elf/dl-load.c (lose): Check for non-null L.
43737
43738 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
43739
43740         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43741
43742         * elf/dl-libc.c (dlerror_run): Pass back error code from
43743         dl_catch_error.
43744
43745         [BZ #13123]
43746         * elf/dl-load.c (lose): Free l_origin if it is valid.
43747
43748         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43749         names.
43750         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43751         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43752         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43753         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43754         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43755         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43756
43757 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43758
43759         * sysdeps/powerpc/fpu/e_hypot.c: New file.
43760         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43761         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43762         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43763         * sysdeps/powerpc/fpu/k_cosf.c: New file.
43764         * sysdeps/powerpc/fpu/k_sinf.c: New file.
43765         * sysdeps/powerpc/fpu/s_cosf.c: New file.
43766         * sysdeps/powerpc/fpu/s_sinf.c: New file.
43767         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43768         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43769
43770 2011-08-15  Alan Modra  <amodra@gmail.com>
43771
43772         [BZ #13092]
43773         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43774         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43775         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
43776         ppc_mcount to static-only-routines.
43777         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43778         __mcount_internal.
43779         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43780         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
43781
43782 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
43783
43784         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43785         for finite and infinity parameters.
43786
43787 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
43788
43789         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43790         and add nop instructions for throughput optimization.
43791         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43792
43793 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
43794
43795         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43796         aligned copy for power7 with vector-scalar instructions.
43797         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43798
43799 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
43800
43801         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43802         AVX check.
43803
43804 2011-09-07  Andreas Schwab  <schwab@redhat.com>
43805
43806         [BZ #13144]
43807         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43808         last change.
43809
43810 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
43811
43812         * sysdeps/unix/sysv/linux/x86_64/init-first.c
43813         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43814         syscall wrapper around clock_gettime in __vdso_clock_gettime.
43815         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43816         clock_gettime.
43817
43818 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
43819
43820         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43821         Forgot to demangle the pointer.
43822
43823         * sysdeps/i386/sysdep.h: Define atom_text_section.
43824         * sysdeps/x86_64/sysdep.h: Likewise.
43825         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43826         section with atom_text_section.
43827         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43828         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43829         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43830         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43831         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43832
43833         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43834         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43835         already be defined.  Change to take two parameters and don't assign
43836         result to variable.  Adjust all users.
43837         Define INTERNAL_GETTIME if not already defined.
43838         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43839         call.
43840         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43841         HAVE_CLOCK_GETTIME_VSYSCALL.
43842         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43843
43844         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43845         gettimeofday vsyscall, just use time.
43846
43847 2011-09-06  Andreas Schwab  <schwab@redhat.com>
43848
43849         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43850         <errno.h>.
43851
43852 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
43853
43854         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43855         syscall on x86-64.
43856         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43857         syscall.
43858         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43859         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43860         syscall if possible.
43861
43862 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43863
43864         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43865         e_ident.  Don't pass to find_mapsXX.
43866         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43867
43868 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43869
43870         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43871         strchr-sse2-no-bsf strrchr-sse2-no-bsf
43872         * sysdeps/x86_64/multiarch/strchr.S: Update.
43873         Check bit_slow_BSF bit.
43874         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43875         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43876         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43877
43878 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43879
43880         [BZ #13134]
43881         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43882         before glibc 2.15.
43883         (tryshell): Define.
43884         (__spawni): Change last parameter to be flag.  Test
43885         SPAWN_XFLAGS_USE_PATH flag to use path or not.
43886         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43887         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43888         * posix/spawni.c: Likewise.
43889         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43890         * posix/spawnp.c: Likewise.  Change normal version to use
43891         SPAWN_XFLAGS_USE_PATH.
43892         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43893         SPAWN_XFLAGS_TRY_SHELL.
43894
43895         [BZ #13150]
43896         * posix/glob.h: Remove gcc 1.x support.
43897
43898         [BZ #13068]
43899         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43900
43901 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43902
43903         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43904         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43905         strrchr-sse2-bsf
43906         * sysdeps/i386/i686/multiarch/strchr.S: New file.
43907         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43908         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43909         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43910         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43911         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43912
43913 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43914
43915         * sysdeps/x86_64/wcscmp.S: New file.
43916
43917         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43918         wcscmp-c wcscmp-sse2
43919         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43920         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43921         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43922         * wcsmbs/wcscmp.c: Allow renaming.
43923
43924 2011-09-05  David S. Miller  <davem@davemloft.net>
43925
43926         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43927         stack slot, rather than the struct return pointer slot.
43928         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43929         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43930         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43931         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43932
43933 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43934
43935         * po/ja.po: Update from translation team.
43936
43937         [BZ #13144]
43938         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43939         kernel in 64-bit binaries.
43940
43941 2011-09-01  David S. Miller  <davem@davemloft.net>
43942
43943         * elf/elf.h (HWCAP_SPARC_*): Move to..
43944         * sysdeps/sparc/sysdep.h: this new file and add new values.
43945         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43946         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43947         _DL_HWCAP_COUNT to 24.
43948         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43949         entries.
43950         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43951         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43952         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43953         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43954         instead of magic constants.
43955         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43956
43957 2011-08-31  David S. Miller  <davem@davemloft.net>
43958
43959         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43960         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43961         Reimplement to do errno handling inline.
43962         (SYSCALL_ERROR_HANDLER): New macro.
43963         (__SYSCALL_STRING): Do not do errno handling in asm.
43964         (__CLONE_SYSCALL_STRING): Delete.
43965         (__INTERNAL_SYSCALL_STRING): Delete.
43966         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43967         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43968         (PSEUDO): Reimplement to do errno handling inline.
43969         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43970         (SYSCALL_ERROR_HANDLER): New macro.
43971         (__SYSCALL_STRING): Do not do errno handling in asm.
43972         (__CLONE_SYSCALL_STRING): Delete.
43973         (__INTERNAL_SYSCALL_STRING): Delete.
43974         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43975         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43976         i386.
43977         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43978         (inline_syscall*): Add 'err' argument.
43979         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43980         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43981         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43982         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43983
43984         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43985         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43986
43987 2011-08-30  Andreas Schwab  <schwab@redhat.com>
43988
43989         * elf/rtld.c (dl_main): Relocate objects in dependency order.
43990
43991 2011-08-29  Jiri Olsa <jolsa@redhat.com>
43992
43993         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43994         directive.
43995
43996 2011-08-24  David S. Miller  <davem@davemloft.net>
43997
43998         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43999
44000 2011-08-24  Andreas Schwab  <schwab@redhat.com>
44001
44002         * elf/Makefile: Add rules to build and run unload8 test.
44003         * elf/unload8.c: New file.
44004         * elf/unload8mod1.c: New file.
44005         * elf/unload8mod1x.c: New file.
44006         * elf/unload8mod2.c: New file.
44007         * elf/unload8mod3.c: New file.
44008
44009         * elf/dl-close.c (_dl_close_worker): Reset private search list if
44010         it wasn't used.
44011
44012 2011-08-23  David S. Miller  <davem@davemloft.net>
44013
44014         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44015         subtract stack bias.
44016         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44017         %sp not %fp in calculations.
44018         (_JMPBUF_UNWINDS_ADJ): Likewise.
44019
44020         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44021         (aio_suspend): Call it to force an exception region around the
44022         AIO_MISC_WAIT() invocation.
44023
44024 2011-08-23  Andreas Schwab  <schwab@redhat.com>
44025
44026         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44027         backslash.
44028
44029 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
44030
44031         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44032         protection macro.
44033         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44034         and <dl-machine.h>.
44035         (Elf64_FuncDesc): Remove.
44036
44037 2011-08-22  David S. Miller  <davem@davemloft.net>
44038
44039         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44040         sigaltstack check, add missing cfi directives.
44041         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44042         missing cfi directives, and sigaltstack handling.
44043
44044 2011-08-16  Andreas Schwab  <schwab@redhat.com>
44045
44046         [BZ #11724]
44047         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44048         object is seen twice.
44049         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44050
44051         * elf/Makefile (distribute): Add tst-initorder2.c.
44052         (tests): Add tst-initorder2.
44053         (modules-names): Add tst-initorder2a tst-initorder2b
44054         tst-initorder2c tst-initorder2d.  Add rules to build them.
44055         ($(objpfx)tst-initorder2.out): New rule.
44056         * elf/tst-initorder2.c: New file.
44057         * elf/tst-initorder2.exp: New file.
44058
44059 2011-08-22  Andreas Schwab  <schwab@redhat.com>
44060
44061         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44062
44063         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44064         dependencies back to end of function.
44065
44066         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44067         $(elfobjdir)/ld.so.
44068
44069 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
44070
44071         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44072         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44073         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44074         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44075         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44076         of __vdso_gettimeofday.
44077         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44078         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
44079         attribute_hidden.
44080         (_libc_vdso_platform_setup): Remove initialization of
44081         __vdso_gettimeofday and __vdso_time.
44082
44083 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44084
44085         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44086         and fgetc_unlocked.
44087         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44088         getc_unlocked.
44089
44090         * elf/dl-open.c (add_to_global): Report additions to the global scope
44091         for LD_DEBUG=scopes.
44092         (dl_open_worker): Also print scope of newly loaded dependencies.
44093         (_dl_show_scope): Indicate if there is no scope.
44094
44095         [BZ #13114]
44096         * stdio-common/Makefile (tests): Add bug24.
44097         * stdio-common/bug24.c: New file.
44098
44099 2011-08-19  Andreas Jaeger  <aj@suse.de>
44100
44101         [BZ #13114]
44102         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44103         non-existant file when using close-on-exec mode.
44104
44105 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44106
44107         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44108         the very first instruction.
44109
44110         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44111         the CFI state in the end.
44112         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44113         inclusion of dl-trampoline.h.
44114         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44115
44116 2011-08-19  Andreas Schwab  <schwab@redhat.com>
44117
44118         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44119         expectations for long double.
44120
44121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44122         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44123
44124 2011-08-14  David S. Miller  <davem@davemloft.net>
44125
44126         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44127         artificual limit depends upon the system page size.
44128
44129 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44130
44131         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44132         * resolv/Makefile: Define CFLAGS-libresolv.
44133
44134 2011-08-17  Andreas Schwab  <schwab@redhat.com>
44135
44136         * nss/makedb.c (compute_tables): Make variables used in nested
44137         function static.
44138
44139 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44140
44141         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44142         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44143         if buffer was too small.
44144
44145         * elf/pldd.c (main): Attach to all threads in the process.
44146         Rewrite /proc handling to use *at functions.
44147
44148 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
44149
44150         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44151         specifies first scope to show.
44152         (dl_open_worker): Update callers.  Move printing scope of new
44153         object to before the relocation.
44154         * elf/rtld.c (dl_main): Update _dl_show_scope call.
44155         * sysdeps/generic/ldsodefs.h: Update declaration.
44156
44157         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44158         string for the scope number.
44159
44160 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
44161
44162         * nscd/servicescache.c (cache_addserv): Make sure written is always
44163         initialized.
44164
44165 2011-08-14  Roland McGrath  <roland@hack.frob.com>
44166
44167         * sysdeps/i386/i486/bits/atomic.h
44168         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44169         statement expression, so as to suppress "set but not used" warning.
44170         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44171
44172         * string/strncat.c (STRNCAT): Use prototype definition.
44173
44174         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44175         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44176         -Iprograms here.
44177         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44178         (localedef-modules): Add localedef.
44179         (locale-modules): Add locale.
44180
44181         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44182         * elf/rtld.c (dl_main): Invert order of assignment in last change,
44183         to avoid a warning.
44184
44185 2011-08-14  David S. Miller  <davem@davemloft.net>
44186
44187         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44188         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44189
44190 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
44191
44192         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44193         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44194         * elf/rtld.c (dl_main): Set l_name of vDSO.
44195         Call _dl_show_scope when DL_DEBUG_SCOPES.
44196         (process_dl_debug): Recognize scopes flag and also set it for all.
44197         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44198         Declare _dl_show_scope.
44199
44200         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44201         (do_dlopen): Pass caller_dlopen to dl_open.
44202         (__libc_dlopen_mode): Initialize caller_dlopen.
44203
44204         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44205         of libc.  Make tolower call locale-independent.  Optimize a bit by
44206         using isdigit instead of isalnum.
44207         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44208
44209 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
44210
44211         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44212         was a dependency or dynamically loaded.
44213
44214 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
44215
44216         * intl/l10nflist.c: Allow architecture-specific pop function.
44217         * sysdeps/x86_64/l10nflist.c: New file.
44218
44219         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44220         classification.
44221
44222 2011-08-10  Andreas Schwab  <schwab@redhat.com>
44223
44224         * include/dirent.h: Add libc_hidden_proto for scandirat and
44225         scandirat64.  Don't declare __scandirat64.
44226         * dirent/scandirat.c: Add libc_hidden_def.
44227         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44228         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44229
44230 2011-08-10  David S. Miller  <davem@davemloft.net>
44231
44232         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44233         enum.
44234         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44235         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44236         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44237
44238 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
44239
44240         * Versions.def [libc]: Add GLIBC_2.15.
44241         * dirent/Makefile (routines): Add scandirat and scandirat64.
44242         * dirent/Versions [libc]: Export scandirat and scandirat64 for
44243         GLIBC_2.15.
44244         * dirent/dirent.h: Declare scandirat and scandirat64.
44245         * dirent/scandirat.c: New file.
44246         * dirent/scandirat64.c: New file.
44247         * sysdeps/wordsize-64/scandirat.c: New file.
44248         * sysdeps/wordsize-64/scandirat64.c: New file.
44249         * dirent/opendir.c: Define opendirat.
44250         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
44251         using scandirat.
44252         * dirent/scandir64.c: Adjust for scandir.c change.
44253         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
44254         __scandirat64, and __scandir_cancel_handler.
44255         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
44256         additional parameter and use openat instead of open (outside of ld.so).
44257         Add new __opendir as wrapper around __opendirat.
44258         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44259         here without requiring old scandirat implementation.
44260
44261 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
44262
44263         * dirent/scandir.c (cancel_handler): Renamed to
44264         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
44265         defined.  Adjust users.
44266         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44267         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44268
44269 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
44270
44271         * string/test-string.h (IMPL): Use __STRING to expand name and then
44272         stringify it.
44273
44274         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
44275         of cleanups.
44276
44277 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44278
44279         * string/Makefile: Update.
44280         (strop-tests): Append strncat.
44281         * string/test-wcscmp.c: New file.
44282         New comprehensive test for wcscmp.
44283         * string/test-strcmp.c: Update.
44284         (WIDE): New define.
44285
44286 2011-07-22  Andreas Schwab  <schwab@redhat.com>
44287
44288         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44289         line.
44290
44291 2011-07-26  Andreas Schwab  <schwab@redhat.com>
44292
44293         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44294         encoding to ACE if AI_IDN.
44295
44296 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
44297
44298         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44299         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44300
44301 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44302
44303         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44304         Fix overflow bug in strncat.
44305         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44306
44307         * string/test-strncat.c: Update.
44308         Add new tests for checking overflow bugs.
44309
44310 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44311
44312         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44313         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44314         * sysdeps/i386/i686/multiarch/strcat.S: New file.
44315         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44316         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44317         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44318         * sysdeps/i386/i686/multiarch/strncat.S: New file.
44319         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44320         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44321
44322         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44323         (USE_AS_STRCAT): Define.
44324         Add strcat and strncat support.
44325         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44326
44327 2011-07-25  Andreas Schwab  <schwab@redhat.com>
44328
44329         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44330         __n bigger than INT_MAX+1.
44331         (__strncmp_g): Likewise.
44332
44333 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
44334
44335         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44336         * libio/stido.h: Likewise.
44337
44338         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44339         (AF_NFC): Define.
44340         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44341         (AF_NFC): Define.
44342
44343         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44344         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44345         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44346         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44347         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44348
44349         [BZ #13021]
44350         * scripts/test-installation.pl: Don't expect libnss_test1 to be
44351         installed.
44352
44353         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44354         typo.
44355         (_dl_x86_64_save_sse): Likewise.
44356
44357 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
44358
44359         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44360         OSXSAVE.
44361         (_dl_x86_64_save_sse): Likewise.
44362
44363         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44364
44365         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44366
44367 2011-07-21  Andreas Schwab  <schwab@redhat.com>
44368
44369         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44370         change.
44371         (_dl_x86_64_save_sse): Use correct AVX check.
44372
44373 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44374
44375         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44376         bug in strncpy/strncat.
44377         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44378
44379 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
44380
44381         * string/tester.c (test_strcat): Add tests for different alignments
44382         of source and destination.
44383         (test_strncat): Likewise.
44384
44385 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44386
44387         [BZ #12852]
44388         * posix/glob.c (glob): Check passed in values before using them in
44389         expressions to avoid some overflows.
44390         (glob_in_dir): Likewise.
44391
44392         [BZ #13007]
44393         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44394         check for AVX enablement so that we don't crash with old kernels and
44395         new hardware.
44396         * elf/tst-audit4.c: Add same checks here.
44397         * elf/tst-audit6.c: Likewise.
44398
44399         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44400
44401 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
44402
44403         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44404
44405 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44406
44407         * po/cs.po: Update from translation team.
44408         * po/bg.po: Likewise.
44409
44410 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
44411
44412         * misc/sys/cdefs.h: Add support for const attribute.
44413         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44414         to gnu_dev_{major,minor,makedev} functions.
44415
44416 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
44417
44418         * intl/dcigettext.c (get_output_charset): Add missing bracket.
44419
44420 2011-07-20  Andreas Schwab  <schwab@redhat.com>
44421
44422         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44423         strlen results.
44424
44425 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44426
44427         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44428         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44429         register in order to avoid conflicts with the soft frame pointer
44430         being held in r11 when necessary.
44431         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44432         (INTERNAL_VSYSCALL_NCS): Likewise.
44433
44434 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
44435
44436         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44437         * elf/dl-fini.c (_dl_fini): Adjust caller.
44438         * elf/dl-close.c (_dl_close_worker): Likewise.
44439         * sysdeps/generic/ldsodefs.h: Adjust declaration.
44440
44441 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44442
44443         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44444         "aux_cache->nlibs < 0".
44445
44446         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44447         in the reload-count case.
44448
44449 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44450
44451         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44452         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44453         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44454         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44455         * sysdeps/x86_64/multiarch/strcat.S: New file.
44456         * sysdeps/x86_64/multiarch/strncat.S: New file.
44457         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44458         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44459         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44460         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44461         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44462         (USE_AS_STRCAT): Define.
44463         Add strcat and strncat support.
44464         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44465         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44466         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44467         * string/strncat.c: Update.
44468         (USE_AS_STRNCAT): Define.
44469         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44470         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44471         and i7.
44472         * sysdeps/x86_64/multiarch/init-arch.h
44473         (bit_Prefer_PMINUB_for_stringop): New.
44474         (index_Prefer_PMINUB_for_stringop): Likewise.
44475         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44476         bit_Prefer_PMINUB_for_stringop.
44477
44478 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44479
44480         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44481         buffer64.
44482         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44483         of casting of buffer.
44484         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44485         buffer32 and buffer64.
44486         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44487         writes instead of casting of buffer.
44488         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44489         buffer32.
44490         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44491         casting of buffer.
44492
44493 2011-07-19  Andreas Schwab  <schwab@redhat.com>
44494
44495         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44496
44497 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44498
44499         * nscd/nscd.c (termination_handler): Don't do anything for a database
44500         if it has not yet been initialized.
44501
44502 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44503
44504         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44505
44506 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44507
44508         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44509
44510 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44511
44512         * po/nl.po: Update from translation team.
44513         * po/sv.po: Likewise.
44514
44515 2011-07-16  Roland McGrath  <roland@hack.frob.com>
44516
44517         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44518         now disallowed by GCC.
44519
44520         * configure.in (use-default-link): Default to yes if a test -shared
44521         link meets our qualifications.
44522         * configure: Regenerated.
44523
44524         * config.make.in (output-format): New variable.
44525         * configure.in: Check for ld --print-output-format support.
44526         * configure: Regenerated.
44527         * Makerules ($(common-objpfx)format.lds)
44528         [$(output-format) != unknown]: Just use $(output-format),
44529         instead of the linker-script munging.
44530
44531 2011-07-14  Roland McGrath  <roland@hack.frob.com>
44532
44533         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44534         of $(common-objpfx)shlib.lds.
44535         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44536
44537         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44538         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44539
44540         * configure.in (-z relro check): Adjust test code to add a large
44541         writable data section after it.
44542         * configure: Regenerated.
44543
44544 2011-07-11  Roland McGrath  <roland@hack.frob.com>
44545
44546         * configure.in (-z relro check): Fix test code to make the variable
44547         truly const.
44548         * configure: Regenerated.
44549
44550 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
44551
44552         * nscd/nscd.h (struct traced_file): Define.
44553         (struct database_dyn): Remove inotify_descr, reset_res, and filename
44554         elements.  Add traced_files.
44555         (inotify_fd): Declare.
44556         (register_traced_file): Declare.
44557         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44558         (inotify_fd): Export.
44559         (resolv_conf_descr): Remove.
44560         (nscd_init): Move inotify descriptor creation to main.
44561         Don't register files for notification here.
44562         (register_traced_file): New function.
44563         (invalidate_cache): Don't use reset_res to determine whether to call
44564         res_init, go through the list of registered files.
44565         (main_loop_poll): The inotify descriptors are now stored in the
44566         structures for the traced files.
44567         (main_loop_epoll): Likewise
44568         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
44569         to __nss_disable_nscd.
44570         * nscd/cache.c (prune_cache): There is no single inotify descriptor
44571         for a database anymore.  Check the records for all the registered
44572         files instead.
44573         * nss/Makefile (libnss_files-routines): Add files-init.
44574         (libnss_db-routines): Add db-init.
44575         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44576         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44577         * nss/nss_db/db-init.c: New file.
44578         * nss/nss_files/files-init.c: New file.
44579         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
44580         __nss_lookup_function.
44581         (__nss_lookup_function): Call nss_load_library.
44582         (nss_load_all_libraries): New function.
44583         (__nss_disable_nscd): Take parameter with callback function for files
44584         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
44585         used for the cached services.
44586         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44587         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44588         options for features to all the files in nscd.
44589
44590         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44591
44592 2011-07-10  Roland McGrath  <roland@hack.frob.com>
44593
44594         * csu/elf-init.c (__libc_csu_init): Comment typo.
44595
44596 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
44597
44598         * po/pl.po: Update from translation team.
44599         * po/ja.po: Likewise.
44600         * po/ru.po: Likewise.
44601         * po/ko.po: Likewise.
44602         * po/fr.po: Likewise.
44603
44604 2011-07-09  Roland McGrath  <roland@hack.frob.com>
44605
44606         * configure.in (.ctors/.dtors header and trailer check):
44607         Use an empirical test on a built program.
44608         * configure: Regenerated.
44609
44610         * configure.in (-z relro check): Use an empirical test on a built DSO.
44611         Detect, but do not require, on ia64.
44612         * configure: Regenerated.
44613
44614         * configure.in (READELF): Find it with AC_CHECK_TOOL.
44615         Update tests that use readelf to use $READELF instead.
44616         * configure: Regenerated.
44617
44618 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
44619
44620         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44621         if the result is not used.
44622
44623 2011-07-05  Andreas Jaeger  <aj@suse.de>
44624
44625         [BZ#9696]
44626         * stdlib/tst-strtod.c: Add testcase.
44627
44628 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
44629
44630         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44631         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44632         The latter has a higher limit.  Take additional parameter to pass to
44633         the new function.
44634         (__pathconf): Pass file to __statfs_link_max.
44635         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44636         __statfs_link_max.
44637         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44638         __statfs_link_max.
44639
44640         [BZ #12868]
44641         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44642         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44643         Handle Lustre.
44644         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44645         (__statfs_filesize_max): Likewise.
44646         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44647
44648 2011-07-05  Andreas Jaeger  <aj@suse.de>
44649
44650         * resolv/res_comp.c (dn_skipname): Remove unused variable.
44651
44652 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
44653
44654         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44655         `status' variable.
44656         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44657         Likewise.
44658
44659 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
44660
44661         * Makefile (strop-tests): Add strncat.
44662         * string/test-strncat.c: New file.
44663
44664 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
44665
44666         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44667
44668 2011-06-21  Andreas Jaeger  <aj@suse.de>
44669
44670         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44671         Copy rule from iconvdata/Makefile.
44672
44673 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
44674
44675         [BZ #12922]
44676         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44677         but no long options are defined, just return 'W'.
44678
44679 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
44680
44681         [BZ #9696]
44682         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44683
44684 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
44685
44686         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44687         netgroups to read.
44688         (innetgr): Likewise.
44689
44690 2011-07-05  Roland McGrath  <roland@hack.frob.com>
44691
44692         * config.make.in (install_root): Default to $(DESTDIR).
44693
44694 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
44695
44696         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44697
44698 2011-07-02  Roland McGrath  <roland@hack.frob.com>
44699
44700         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44701
44702         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44703         containing directory rather than embedding absolute directory names.
44704
44705         * scripts/check-local-headers.sh: Rewritten using awk.
44706         Match by word, not by line.  Print error messages for matches.
44707         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44708
44709         * Makerules [shlib-lds-flags empty]:
44710         ($(common-objpfx)libc_pic.opts): New target.
44711         ($(common-objpfx)libc_pic.os.clean): New target.
44712         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44713
44714         * config.make.in (OBJCOPY): New variable.
44715         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44716         * configure: Regenerated.
44717
44718         * config.make.in (use-default-link): New variable.
44719         * configure.in (use_default_link): Grok --with-default-link to set it.
44720         * configure: Regenerated.
44721         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44722         (shlib-lds, shlib-lds-flags): Define to empty.
44723
44724         * Makerules (shlib-lds): New variable.
44725         (shlib-lds-flags): New variable.
44726         (build-shlib, build-moduile, build-module-asneeded): Use it.
44727         ($(common-objpfx)libc.so): Use $(shlib-lds).
44728         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44729         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44730
44731         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44732         DT_FLAGS/DT_FLAGS_1 with zero flags.
44733
44734         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44735         linker script munging.
44736
44737 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
44738
44739         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44740         as 128-bit value.
44741         * crypt/sha512.c (sha512_process_block): Perform total addition using
44742         128-bit if possible.
44743         (__sha512_finish_ctx): Likewise.
44744         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44745         as 64-bit value.
44746         * crypt/sha256.c (SWAP64): Define.
44747         (sha256_process_block): Perform total addition using 64-bit if
44748         possible.
44749         (__sha256_finish_ctx): Likewise.
44750
44751 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
44752
44753         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
44754         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44755         * nscd/hstcache.c (cache_addhst): Likewise.
44756         * nscd/grpcache.c (cache_addgr): Likewise.
44757         * nscd/aicache.c (addhstaiX): Likewise
44758         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44759
44760 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
44761
44762         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44763         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44764         * nscd/hstcache.c (cache_addhst): Likewise.
44765         * nscd/grpcache.c (cache_addgr): Likewise.
44766         * nscd/aicache.c (addhstaiX): Likewise
44767
44768 2011-07-01  Andreas Schwab  <schwab@redhat.com>
44769
44770         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44771         domain only when needed.
44772
44773 2011-06-30  Andreas Schwab  <schwab@redhat.com>
44774
44775         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44776         is always restored.
44777
44778 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
44779
44780         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44781         are re-adding the entry.
44782         * nscd/servicescache.c (cache_addserv): Likewise.
44783
44784 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
44785
44786         * sysdeps/generic/dl-irel.h: fix protection against multiple
44787         inclusions.
44788         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44789
44790 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
44791
44792         [BZ #12935]
44793         * malloc/memusage.sh: Fix quoting in message.
44794         * debug/xtrace.sh: Likewise.
44795
44796         * configure.in: Remove support for --experimental-malloc option, make
44797         it the default.
44798         * config.make.in: Likewise.
44799         * malloc/Makefile: Likewise.
44800
44801 2011-06-27  Andreas Schwab  <schwab@redhat.com>
44802
44803         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44804         two-byte characters.
44805
44806 2011-06-27  Roland McGrath  <roland@hack.frob.com>
44807
44808         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44809         AC_CACHE_CHECK invocation.
44810         * configure: Regenerated.
44811
44812         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44813
44814 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
44815
44816         [BZ #12350]
44817         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
44818         bit from old_res_options.
44819
44820         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44821
44822         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44823         value type for setfct.
44824
44825 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
44826
44827         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44828         __gettimeofday instead of gettimeofday.
44829
44830 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
44831
44832         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44833
44834 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
44835
44836         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44837
44838         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44839         info.
44840
44841 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
44842
44843         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44844         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44845         strcpy-sse2-unaligned strncpy-sse2-unaligned
44846         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44847         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44848         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44849         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44850         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44851         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44852         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44853         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44854         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44855         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44856         (STRCPY): Support SSE2 and SSSE3 versions.
44857
44858 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
44859
44860         [BZ #12874]
44861         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44862         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44863         kernels which artificially limit size of requests.
44864
44865 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
44866
44867         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44868         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44869         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44870         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44871         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44872         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44873         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44874         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44875         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44876         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44877         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44878         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44879         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44880         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44881         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44882         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44883         Enable unaligned load optimization for Intel Core i3, i5 and i7
44884         processors.
44885         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44886         Define.
44887         (index_Fast_Unaligned_Load): Define.
44888         (HAS_FAST_UNALIGNED_LOAD): Define.
44889
44890 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
44891
44892         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44893
44894 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
44895
44896         [BZ #12907]
44897         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44898         until it is clear that the information is realy needed.
44899         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44900
44901 2011-06-22  Andreas Schwab  <schwab@redhat.com>
44902
44903         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44904
44905 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
44906
44907         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44908         /sys/devices/system/cpu/online if it is usable.
44909
44910         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44911         reading the information from the /proc filesystem to once a second.
44912
44913 2011-06-21  Andreas Jaeger  <aj@suse.de>
44914
44915         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44916         NULL after inclusion of kernel headers.
44917
44918 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
44919
44920         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44921         calls to internal_setent.
44922
44923         [BZ #12885]
44924         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44925         addresses using gethostbyname4_r ignore IPv4 addresses.
44926
44927         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44928         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
44929
44930         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44931
44932 2011-06-20  David S. Miller  <davem@davemloft.net>
44933
44934         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44935         inclusions.
44936         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44937
44938         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44939         (elf_irel): Use it.
44940         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44941         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44942         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44943         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44944         * sysdeps/x86_64/dl-irel.h: Likewise.
44945
44946         * elf/dl-runtime.c: Use elf_ifunc_invoke.
44947         * elf/dl-sym.c: Likewise.
44948
44949 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
44950
44951         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
44952         need to dereference resplen2.
44953
44954 2011-06-14  Andreas Schwab  <schwab@redhat.com>
44955
44956         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44957
44958 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
44959
44960         * Makeconfig: Define vardbdir and inst_vardbdir.
44961         * nss/Makefile: Add rules to install db-Makefile.
44962
44963         * nss/nss_db/db-XXX.c: Cleanup.
44964
44965         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44966         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44967         GLIBC_PRIVATE.
44968         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44969         * nss/makedb.c: Implement -g option to specify that value strings
44970         are generated and should not be added to table iterated over for
44971         get*ent calls.
44972         * nss/nss_db/db-initgroups.c: New file.
44973
44974         * nss/getent.c: Add support for initgroups lookups through getgrouplist
44975         interface.
44976
44977         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44978         (internal_getgrouplist): Adjust to name change.
44979         Update use_initgroups_entry if this is not the first call.
44980         * nss/databases.def: Add initgroups entry.
44981
44982         * nss/makedb.c (compute_tables): Check result of multiple hash table
44983         sizes to minimize maximum chain length.
44984
44985 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
44986
44987         * Versions.def: Add entry for libnss_db.
44988         * shlib-versions: Likewise.
44989         * nss/Makefile: Add rules to build libnss_db.
44990         * nss/Versions: Add libnss_db information.  Organize libnss_files
44991         entries better.
44992         * nss/db-Makefile: Add gshadow support.  Change rules for the new
44993         makedb progra.  Some minor improvements to generate smaller files.
44994         * nss/nss_db/nss_db.h: Move NSS database header data structures to
44995         here from...
44996         * nss/makedb.c: ...here.
44997         Improve database format to be smaller and require less memory at
44998         runtime.
44999         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
45000         db anymore.
45001         * nss/nss_db/db-netgrp.c: Likewise.
45002         * nss/nss_db/db-open.c: Likewise.
45003         * nss/nss_files/flies-XXX.x: Adjust comments.
45004         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45005         * nss/nss_files/files-grp.c: Likewise.
45006         * nss/nss_files/files-hosts.c: Likewise.
45007         * nss/nss_files/files-network.c: Likewise.
45008         * nss/nss_files/files-proto.c: Likewise.
45009         * nss/nss_files/files-pwd.c: Likewise.
45010         * nss/nss_files/files-rpc.c: Likewise.
45011         * nss/nss_files/files-service.c: Likewise.
45012         * nss/nss_files/files-sgrp.c: Likewise.
45013         * nss/nss_files/files-spwd.c: Likewise.
45014         * nss/nss_db/db-alias.c: Removed.
45015         * nss/nss_db/dummy-db.h: Removed.
45016
45017 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
45018
45019         * nss/makedb.c: Rewritten to not use database library.
45020         * nss/Makefile: Update to build new makedb program.
45021
45022 2011-06-14  Andreas Jaeger  <aj@suse.de>
45023
45024         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45025         memset declaration.
45026
45027 2011-06-10  Andreas Schwab  <schwab@redhat.com>
45028
45029         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45030         tmpbuf.
45031
45032 2011-06-10  Roland McGrath  <roland@hack.frob.com>
45033
45034         * Makerules (shlib.lds): Fail if the linker script comes out empty.
45035         * elf/Makefile ($(objpfx)ld.so): Likewise.
45036
45037         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45038         Don't list ld.so twice in dependencies.
45039
45040         * posix/bug-regex31.c: Include <stdlib.h>.
45041
45042         * nscd/hstcache.c (cache_addhst): Remove unused variable.
45043
45044         * nis/nss_compat/compat-spwd.c
45045         (getspent_next_nss_netgr): Remove unused variable.
45046         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45047
45048         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45049         nonmembers" output to use the right array.
45050
45051         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45052
45053         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45054
45055         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45056         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45057         * catgets/gencat.c (read_input_file): Likewise.
45058         * locale/programs/locarchive.c (enlarge_archive): Likewise.
45059
45060         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45061         variable definition inside #if's controlling its use.
45062
45063         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45064
45065         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45066
45067         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45068
45069         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45070         unreachable code.
45071
45072         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45073
45074         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45075         * configure: Regenerated.
45076
45077         * Makerules: Revert last change.
45078         * elf/Makefile: Likewise.
45079
45080 2011-06-09  Roland McGrath  <roland@hack.frob.com>
45081
45082         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45083         * elf/Makefile ($(objpfx)librtld.os): Likewise.
45084         (reloc-link): Likewise.
45085
45086 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
45087
45088         * elf/Makefile: Add rules to build pldd.
45089         * elf/pldd.c: New file.
45090         * elf/pldd-xx.c: New file.
45091
45092 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
45093
45094         * version.h: Update for 2.15 development version.
45095
45096 2011-06-07  David S. Miller  <davem@davemloft.net>
45097
45098         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45099         ifuncs.
45100         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45101         elf_machine_lazy_rel): Likewise.
45102         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45103         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45104         elf_machine_lazy_rel): Likewise.
45105         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45106         dl_hwcap via passed in argument.
45107         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45108         Likewise.
45109
45110 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45111
45112         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
45113
45114 2011-06-06  Roland McGrath  <roland@hack.frob.com>
45115
45116         [BZ #12849]
45117         * manual/fdl-1.1.texi: New file, verbatim from:
45118         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45119         * manual/lgpl-2.1.texi: New file, verbatim from:
45120         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45121         * manual/Makefile (licenses): New variable, list those new file names.
45122         (texis): Use it.
45123         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45124
45125         * manual/fdl.texi: File removed.
45126         * manual/lesser.texi: File removed.
45127         * manual/libc.texinfo (Copying, Documentation License):
45128         Use new @include file names, put @appendix directive before @include.
45129
45130 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
45131
45132         [BZ #12841]
45133         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45134         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45135         (mq_open): Add __NTH.
45136
45137 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
45138
45139         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45140         Assume Intel Core i3/i5/i7 processor if AVX is available.
45141
45142 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45143
45144         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45145         typo.
45146
45147 2011-05-31  Andreas Schwab  <schwab@redhat.com>
45148
45149         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45150         memory.  Use alloca_account.  Fix memory leak when retrying.
45151
45152 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45153
45154         * version.h (RELEASE): Bump for 2.14 release.
45155         * include/features.h (__GLIBC_MINOR__): Bump to 14.
45156
45157         * config.make.in (RANLIB): Remove entry.
45158
45159 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
45160
45161         * po/Makefile (po-sed-cmd): Add ksh to extensions.
45162         (libc.pot): Work around missing support for .ksh extension in xgettext.
45163
45164         [BZ #12684]
45165         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45166         if both request failed.
45167         (send_dg): In case of server errors clear resplen or *resplen2.
45168
45169         [BZ #12454]
45170         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45171         when there are multiple maps.
45172         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45173         (_dl_fini): Remove test here.
45174
45175         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45176
45177 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
45178
45179         [BZ #12350]
45180         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45181         bit from old_res_options.
45182         (gaih_inet): Likewise.
45183
45184         [BZ #11099]
45185         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45186         as signed.
45187
45188         * resolv/res_init.c (res_setoptions): Make the code more compact.
45189
45190         [BZ #11558]
45191         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45192         set RES_USEVC.
45193
45194         [BZ #11634]
45195         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45196
45197         * malloc/malloc.h: Mark malloc hook variables as deprecated.
45198
45199         [BZ #11781]
45200         * malloc/malloc.h: Declare malloc hook variables as volatile.
45201
45202         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45203         in last patch.
45204
45205         [BZ #11799]
45206         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45207         raise in the comment.
45208         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45209         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45210         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45211
45212 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
45213
45214         [BZ #12811]
45215         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45216         grow the buffers more if it already has to be sufficient.
45217         (build_wcs_upper_buffer): Likewise.
45218         * posix/regexec.c (check_matching): Likewise.
45219         (clean_state_log_if_needed): Likewise.
45220         (extend_buffers): Don't enlarge buffers beyond size of the input
45221         buffer.
45222         Patches mostly by Emil Wojak <emil@wojak.eu>.
45223         * posix/bug-regex32.c: New file.
45224         * posix/Makefile (tests): Add bug-regex32.
45225
45226         * locale/findlocale.c (_nl_find_locale): Return right away if
45227         _nl_explode_name failed.
45228         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45229
45230         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45231
45232         * debug/xtrace.sh: Unify messages.
45233         * malloc/memusage.sh: Likewise.
45234
45235         [BZ #12813]
45236         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45237         time symbol from vDSO.  Substitute with vsyscall if not available.
45238         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45239         __vdso_time.
45240
45241         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45242         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45243         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45244         Add sendmmsg and internal_sendmmsg.
45245         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45246         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45247         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45248
45249         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45250         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45251         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45252
45253 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
45254
45255         [BZ #12813]
45256         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45257         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
45258         available.
45259         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45260         __vdso_getcpu.
45261
45262         [BZ #12814]
45263         * iconvdata/Makefile (tests): Add bug-iconv9.
45264         * iconvdata/bug-iconv9.c: New file.
45265
45266 2011-05-27  Andreas Schwab  <schwab@redhat.com>
45267
45268         [BZ #12814]
45269         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45270
45271 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
45272
45273         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45274         (struct user_regs_struct): Change intcs field back to cs.
45275
45276 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
45277
45278         * po/ja.po: Update from translation team.
45279
45280 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
45281
45282         [BZ #12795]
45283         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45284         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45285
45286 2011-05-20  Andreas Schwab  <schwab@redhat.com>
45287
45288         * stdlib/longlong.h: Update from GCC.
45289
45290 2011-05-23  Andreas Schwab  <schwab@redhat.com>
45291
45292         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45293         parameter name.
45294         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45295         Add parameter name.
45296         (__sysconf): Pass it down.
45297
45298 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
45299
45300         [BZ #12671]
45301         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45302         some situations.
45303         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45304         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45305         add in in __libc_use_alloca calls.  Adjust callers.
45306         (glob): Use malloc in some situations.
45307
45308         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45309         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45310         pltexit.
45311
45312 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
45313
45314         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45315         and CLOCK_BOOTTIME_ALARM.
45316
45317         [BZ #12782]
45318         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45319         is returned.
45320
45321         * string/_strerror.c (__strerror_r): Print negative errors as signed
45322         numbers.
45323
45324         [BZ #12777]
45325         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45326         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45327         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45328
45329         * configure.in: Fix typo in redirection and correct removal of test
45330         files in two cases.
45331
45332         [BZ #12788]
45333         * locale/setlocale.c (new_composite_name): Fix test to check for
45334         identical name of all categories.
45335
45336         [BZ #12792]
45337         * libio/filedoalloc.c (local_isatty): New function.
45338         (_IO_file_doallocate): Use local_isatty.
45339         * stdio-common/perror.c (perror): In case a new stream is used
45340         forward the stream error.
45341         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45342         error flag.
45343
45344 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
45345
45346         [BZ #11869]
45347         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45348         alloca.
45349         * include/alloca.h (extend_alloca_account): Define.
45350
45351         [BZ #11857]
45352         * posix/regex.h: Fix comments with documentation of user-accessible
45353         fields after compilation and describe correct free'ing of pattern
45354         after re_compile_pattern.
45355         Patch by Reuben Thomas <rrt@sc3d.org>.
45356
45357 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
45358
45359         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45360         and -mno-altivec to prevent the compiler from using Altivec and/or
45361         VSX instructions when the corresponding registers are not available.
45362
45363 2011-05-19  Andreas Schwab  <schwab@redhat.com>
45364
45365         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45366
45367 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
45368
45369         * libio/freopen.c (freopen): Use __dup2, not dup2.
45370         * libio/freopen64.c (freopen64): Likewise.
45371
45372 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45373
45374         [BZ #12775]
45375         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45376         * math/Makefile (tests): Add test-powl.
45377         (CFLAGS-test-powl.c): Define.
45378         * math/test-powl.c: New file.
45379
45380 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45381
45382         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45383
45384 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
45385
45386         [BZ #11837]
45387         * iconvdata/gb18030.c: Update to GB18020-2005.
45388
45389 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
45390
45391         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45392         RE_SYNTAX_POSIX_AWK): Update to match recent development.
45393         Patch by Aharon Robbins <arnold@skeeve.com>.
45394
45395         [BZ #11892]
45396         * stdlib/putenv.c (putenv): Don't always create copy of the variable
45397         on the stack.
45398
45399         [BZ #11895]
45400         * misc/pselect.c (__pselect): Handle timeout value errors hidden
45401         through underflows.
45402
45403         [BZ #12766]
45404         * misc/error.c (error_at_line): Ensure file_name and old_file_name
45405         point to strings before performing equality test for error_one_per_line
45406         mode.
45407
45408         [BZ #11697]
45409         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45410
45411         [BZ #11820]
45412         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45413         (struct user_fpregs_struct): Avoid __uint*_t types.
45414
45415         [BZ #6420]
45416         * malloc/mtrace.c (tr_where): Add additional parameter to point to
45417         symbol info.  Use it instead of calling _dl_addr locally.
45418         (lock_and_info): New function.
45419         (tr_freehook): Call lock_and_info and pass symbol info as additional
45420         parameter to tr_where.
45421         (tr_mallochook): Likewise.
45422         (tr_reallochook): Likewise.
45423         (tr_memalignhook): Likewise.
45424
45425         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
45426         used and couldn't be at all thread-safe.
45427
45428 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
45429
45430         * libio/freopen.c (freopen): Don't close old file descriptor
45431         before the new one is opened.  Instead dup the new file descriptor
45432         to the old one after the new stream is created.
45433         * libio/freopen64.c (freopen64): Likewise.
45434         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45435         * libio/fileops.c (_IO_new_file_close_it): Handle new
45436         _IO_FLAGS2_NOCLOSE flag.
45437         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45438         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45439         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45440         _IO_FLAGS2_NOCLOSE flag.
45441         * include/unistd.h: Add hidden_proto for dup3.
45442         Define __have_dup3.
45443         * io/dup3.c: Define hidden symbol.
45444         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45445
45446         [BZ #7101]
45447         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45448         when an incomplete long option is used.
45449         * posix/tst-getopt_long1.c: New file.
45450         * posix/Makefile (tests): Add tst-getopt_long1.
45451
45452         [BZ #10138]
45453         * scripts/config.guess: Update from autoconf-2.68.
45454         * scripts/config.sub: Likewise.
45455
45456         [BZ #10157]
45457         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45458         tests into ...
45459         (has_cpuclock): ...this.  New function.
45460         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45461         macro here based on has_cpuclock code.
45462
45463         [BZ #10149]
45464         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45465         First byte (not low byte) is now always NUL.
45466         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45467
45468         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45469         Use non-cancelable interfaces.
45470
45471         [BZ #9809]
45472         * locale/iso-639.def: Add entry for Sorani.
45473
45474         [BZ #11901]
45475         * include/stdlib.h: Move include protection to the right place.
45476         Define abort_msg_s.  Declare __abort_msg with it.
45477         * stdlib/abort.c (__abort_msg): Adjust type.
45478         * assert/assert.c (__assert_fail_base): New function.  Majority
45479         of code from __assert_fail.  Allocate memory for __abort_msg with
45480         mmap.
45481         (__assert_fail): Now call __assert_fail_base.
45482         * assert/assert-perr.c: Remove bulk of implementation.  Use
45483         __assert_fail_base.
45484         * include/assert.hL Declare __assert_fail_base.
45485         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45486         mmap.
45487         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45488
45489 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
45490
45491         [BZ #11952]
45492         [BZ #12453]
45493         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45494         until all modules are registered in the DTV.
45495         * elf/Makefile: Add rules to build and run tst-tls19.
45496         * elf/tst-tls19.c: New file.
45497         * elf/tst-tls19mod1.c: New file.
45498         * elf/tst-tls19mod2.c: New file.
45499         * elf/tst-tls19mod3.c: New file.
45500         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45501
45502         [BZ #12083]
45503         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45504         correctly.
45505
45506         [BZ #12601]
45507         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45508         two-byte sequence errors.
45509         * iconvdata/Makefile (tests): Add bug-iconv8.
45510         * iconvdata/bug-iconv8.c: New file.
45511
45512         [BZ #12626]
45513         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45514         buf2 definition.
45515
45516         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45517
45518         [BZ #12432]
45519         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45520         (dummy_getcfa): New function.
45521         (init): Get _Unwind_GetCFA address, use dummy if not found.
45522         (backtrace_helper): In recursion check, also check whether CFA changes.
45523         (__backtrace): Completely initialize arg.
45524
45525         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45526         storing incomplete byte sequence in state object.  Avoid testing for
45527         guaranteed too small input if we know there is enough data available.
45528
45529 2011-05-11  Andreas Schwab  <schwab@redhat.com>
45530
45531         * Makeconfig (+link-pie): Indent.
45532         * Rules (binaries-pie): Define if $(have-fpie) and
45533         $(build-shared).
45534         (binaries-shared): Also filter out $(binaries-pie).
45535         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45536         * nscd/Makefile (others-pie): Add nscd.
45537         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45538         ($(objpfx)nscd): Remove command override.
45539         * login/Makefile (others-pie): Add pt_chown.
45540         ($(objpfx)pt_chown): Remove command override.
45541         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45542         remove command overrides.
45543
45544 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
45545
45546         * libio/tst_putwc.c: Fix error messages.
45547
45548         [BZ #12724]
45549         * libio/fileops.c (_IO_new_file_close_it): Always flush when
45550         currently writing and seek to current position when not.
45551         * libio/Makefile (tests): Add bug-fclose1.
45552         * libio/bug-fclose1.c: New file.
45553
45554 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
45555
45556         [BZ #12511]
45557         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45558         don't set DF_1_NODELETE here.
45559         (do_lookup_x): When entering new entry test for copy relocation
45560         and if necessary set DF_1_NODELETE flag.
45561         * elf/tst-unique4.cc: New file.
45562         * elf/tst-unique4.h: New file.
45563         * elf/tst-unique4lib.cc: New file.
45564         * elf/Makefile: Add rules to build and run tst-unique4.
45565         Patch by Piotr Bury <pbury@goahead.com>.
45566
45567 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
45568
45569         [BZ #12052]
45570         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45571
45572         [BZ #12625]
45573         * misc/mntent_r.c (addmntent): Flush the stream after the output
45574
45575         [BZ #12393]
45576         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45577         (is_trusted_path_normalize): Skip initial colon.  Append slash
45578         to empty buffer.  Duplicate is_trusted_path code but allow
45579         constructed patch to be prefix.
45580         (is_dst): Allow $ORIGIN followed by /.
45581         (_dl_dst_substitute): Correct clearing of check_for_trusted.
45582         Correct testing of result of is_trusted_path_normalize
45583         (decompose_rpath): Fix warning.
45584
45585 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
45586
45587         [BZ #11257]
45588         * grp/initgroups.c (internal_getgrouplist): When we found the service
45589         list through the initgroups entry in nsswitch.conf do not always
45590         continue on a successful lookup.  Don't always use the
45591         __nss_group_database value if it is set.
45592         * nss/nsswitch.conf (initgroups): Change action for successful db
45593         lookup to continue for compatibility.
45594
45595 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
45596
45597         [BZ #11532]
45598         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45599         and CP774 modules.
45600         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45601         and CP774 modules.
45602         * iconvdata/tst-tables.sh: Likewise.
45603         * iconvdata/cp770.c: New file.
45604         * iconvdata/cp771.c: New file.
45605         * iconvdata/cp772.c: New file.
45606         * iconvdata/cp773.c: New file.
45607         * iconvdata/cp774.c: New file.
45608         * iconvdata/testdata/CP770: New file.
45609         * iconvdata/testdata/CP770..UTF8: New file.
45610         * iconvdata/testdata/CP771: New file.
45611         * iconvdata/testdata/CP771..UTF8: New file.
45612         * iconvdata/testdata/CP772: New file.
45613         * iconvdata/testdata/CP772..UTF8: New file.
45614         * iconvdata/testdata/CP773: New file.
45615         * iconvdata/testdata/CP773..UTF8: New file.
45616         * iconvdata/testdata/CP774: New file.
45617         * iconvdata/testdata/CP774..UTF8: New file.
45618
45619         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45620         END CHARMAP line.
45621         * iconvdata/gen-8bit-gap.sh: Likewise.
45622         * iconvdata/gen-8bit.sh: Likewise.
45623
45624         * locale/iso-639.def: Add ary entry.
45625
45626         [BZ #11258]
45627         * locale/C-translit.h.in: Add U20A1 transliteration.
45628
45629         [BZ #12178]
45630         * locale/iso-639.def: Add wae entry.
45631         Patch by Kevin Bortis <bortis@translate-wae.ch>.
45632
45633         [BZ #12545]
45634         * locale/programs/localedef.c (construct_output_path): Use ssize_t
45635         for n.
45636
45637         [BZ #12711]
45638         * locale/C-translit.h.in: Add entry for U20B9.
45639         Patch by pravin.d.s@gmail.com.
45640
45641 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
45642
45643         [BZ #12713]
45644         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45645         ENAMETOOLONG use generic getcwd.
45646         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
45647         in rtld.  Use *stat64.
45648         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45649         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45650         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45651         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45652         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45653         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45654         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45655         __fstatat64 macros.
45656         * include/dirent.h: Add libc_hidden_proto for rewinddir.
45657         * dirent/rewinddir.c: Add libc_hidden_def.
45658         * sysdeps/mach/hurd/rewinddir.c: Likewise.
45659         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
45660
45661         * include/dirent.h (__alloc_dir): Add flags parameter.
45662         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45663         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45664         __alloc_dir.
45665         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
45666         from fdopendir if O_CLOEXEC is already set.
45667
45668 2011-03-15  Alan Modra  <amodra@gmail.com>
45669
45670         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45671         l_tls_firstbyte_offset non-zero.  Save padding offset in
45672         l_tls_firstbyte_offset for later use.
45673         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45674         freeing static tls block.
45675
45676 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
45677
45678         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45679         where #ifdef was intended.  The intent is to prevent ARG_MAX from
45680         being defined by the kernel headers.
45681
45682 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
45683
45684         [BZ #12734]
45685         * resolv/resolv.h: Define RES_NOTLDQUERY.
45686         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45687         no-tld-query and set RES_NOTLDQUERY.
45688         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45689         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45690         modern BIND to search name as TLD unless forbidden.
45691
45692 2011-05-07  Petr Baudis  <pasky@suse.cz>
45693             Ulrich Drepper  <drepper@gmail.com>
45694
45695         [BZ #12393]
45696         * elf/dl-load.c (fillin_rpath): Move trusted path check...
45697         (is_trusted_path): ...to here.
45698         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45699         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45700         using is_trusted_path_normalize() in setuid scripts.
45701
45702 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45703
45704         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45705         __BEGIN/__END_DECLS.
45706
45707 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
45708
45709         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45710         NSS_STATUS_NOTFOUND if no record was found.
45711
45712 2011-05-05  Andreas Schwab  <schwab@redhat.com>
45713
45714         * sunrpc/Makefile (headers): Add rpc/netdb.h.
45715         (headers-not-in-tirpc): Remove rpc/netdb.h
45716         * resolv/netdb.h: Revert last change.
45717
45718 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45719
45720         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45721         circular dependency between libgcc.a and libc.a.
45722
45723 2011-05-05  Andreas Schwab  <schwab@redhat.com>
45724
45725         * resolv/netdb.h: Don't include <rpc/netdb.h>.
45726         * nis/Makefile: Don't install rpcsvc/*.
45727         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45728         instead of <rpc/types.h>.
45729         (MAXHOSTNAMELEN): Define.
45730
45731 2011-05-03  Andreas Schwab  <schwab@redhat.com>
45732
45733         * elf/ldconfig.c (add_dir): Don't crash on empty path.
45734
45735 2011-04-28  Maciej Babinski  <mbabinski@google.com>
45736
45737         [BZ #12714]
45738         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45739         gethostbyname4_r when IPv6 results are possible.
45740
45741 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
45742
45743         [BZ #12723]
45744         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45745         _PC_PIPE_BUF handling.
45746
45747 2011-04-30  Bruno Haible  <bruno@clisp.org>
45748
45749         [BZ #12717]
45750         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45751         * resolv/netdb.h (getnameinfo): Change type of flags parameter
45752         to 'int'.
45753         * inet/getnameinfo.c (getnameinfo): Likewise.
45754
45755 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
45756
45757         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45758         to groups setting in database lookup.
45759         * nss/nsswitch.conf: Add initgroups entry.
45760
45761 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
45762
45763         [BZ #12685]
45764         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45765         mode string.
45766         Patch by Eric Blake <eblake@redhat.com>.
45767
45768 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
45769
45770         * sunrpc/Makefile (need-export-routines): Add svc_run.
45771         (routines): Remove svc_run.
45772         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45773         * sunrpc/clnt_perr.c (clnt_perrno): Export.
45774         * sunrpc/svc_run.c (svc_run): Likewise.
45775         * sunrpc/svc_udp.c (svcudp_create): Likewise.
45776
45777 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
45778
45779         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45780         problem in reallocation in last patch.
45781
45782 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
45783
45784         * sunrpc/Makefile: Move inclusion of Rules.
45785
45786 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
45787
45788         * nss/nss_files/files-initgroups.c: New file.
45789         * nss/Makefile (libnss_files-routines): Add files-initgroups.
45790         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45791         _nss_files_initgroups_dyn.
45792
45793 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
45794
45795         * elf/elf.h (R_ARM_IRELATIVE): Define.
45796
45797 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
45798
45799         * po/ru.po: Update from translation team.
45800
45801 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
45802
45803         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45804         dependencies.
45805
45806 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
45807
45808         [BZ #12653]
45809         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45810         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45811         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45812         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45813         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45814
45815 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
45816
45817         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45818         differing bytes.
45819         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45820         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45821         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45822
45823 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
45824
45825         [BZ #12420]
45826         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45827         storing it.
45828         * stdlib/bug-getcontext.c: New file.
45829         * stdlib/Makefile: Add rules to build and run bug-getcontext.
45830
45831 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45832
45833         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45834         instructions into .machine "z9-109".
45835         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45836         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45837
45838 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45839
45840         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45841         between environment variables and auxiliary vector.
45842
45843 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
45844
45845         * Makefile: Add rules to build linkobj/libc.so.
45846         * include/libc-symbols.h: Define libc_hidden_nolink.
45847         * include/rpc/auth.h: Mark functions which are to be hidden.
45848         * include/rpc/auth_des.h: Likewise.
45849         * include/rpc/auth_unix.h: Likewise.
45850         * include/rpc/clnt.h: Likewise.
45851         * include/rpc/des_crypt.h: Likewise.
45852         * include/rpc/key_prot.h: Likewise.
45853         * include/rpc/pmap_clnt.h: Likewise.
45854         * include/rpc/pmap_prot.h: Likewise.
45855         * include/rpc/pmap_rmt.h: Likewise.
45856         * include/rpc/rpc_msg.h: Likewise.
45857         * include/rpc/svc.h: Likewise.
45858         * include/rpc/svc_auth.h: Likewise.
45859         * include/rpc/xdr.h: Likewise.
45860         * nis/Makefile: Link all DSOs against linkobj/libc.so.
45861         * nss/Makefile: Likewise.
45862         * sunrpc/Makefile: Don't install headers.  Build library with normal
45863         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
45864         * sunrpc/auth_des.c: Hide exported symbols by default, export some
45865         for the compat linking library.  Remove use of INTDEF/INTUSE.
45866         * sunrpc/auth_none.c: Likewise.
45867         * sunrpc/auth_unix.c: Likewise.
45868         * sunrpc/authdes_prot.c: Likewise.
45869         * sunrpc/authuxprot.c: Likewise.
45870         * sunrpc/clnt_gen.c: Likewise.
45871         * sunrpc/clnt_perr.c: Likewise.
45872         * sunrpc/clnt_raw.c: Likewise.
45873         * sunrpc/clnt_simp.c: Likewise.
45874         * sunrpc/clnt_tcp.c: Likewise.
45875         * sunrpc/clnt_udp.c: Likewise.
45876         * sunrpc/clnt_unix.c: Likewise.
45877         * sunrpc/des_crypt.c: Likewise.
45878         * sunrpc/des_soft.c: Likewise.
45879         * sunrpc/get_myaddr.c: Likewise.
45880         * sunrpc/key_call.c: Likewise.
45881         * sunrpc/key_prot.c: Likewise.
45882         * sunrpc/netname.c: Likewise.
45883         * sunrpc/pm_getmaps.c: Likewise.
45884         * sunrpc/pm_getport.c: Likewise.
45885         * sunrpc/pmap_clnt.c: Likewise.
45886         * sunrpc/pmap_prot.c: Likewise.
45887         * sunrpc/pmap_prot2.c: Likewise.
45888         * sunrpc/pmap_rmt.c: Likewise.
45889         * sunrpc/publickey.c: Likewise.
45890         * sunrpc/rpc_cmsg.c: Likewise.
45891         * sunrpc/rpc_common.c: Likewise.
45892         * sunrpc/rpc_dtable.c: Likewise.
45893         * sunrpc/rpc_prot.c: Likewise.
45894         * sunrpc/rpc_thread.c: Likewise.
45895         * sunrpc/rtime.c: Likewise.
45896         * sunrpc/svc.c: Likewise.
45897         * sunrpc/svc_auth.c: Likewise.
45898         * sunrpc/svc_authux.c: Likewise.
45899         * sunrpc/svc_raw.c: Likewise.
45900         * sunrpc/svc_run.c: Likewise.
45901         * sunrpc/svc_simple.c: Likewise.
45902         * sunrpc/svc_tcp.c: Likewise.
45903         * sunrpc/svc_udp.c: Likewise.
45904         * sunrpc/svc_unix.c: Likewise.
45905         * sunrpc/svcauth_des.c: Likewise.
45906         * sunrpc/xcrypt.c: Likewise.
45907         * sunrpc/xdr.c: Likewise.
45908         * sunrpc/xdr_array.c: Likewise.
45909         * sunrpc/xdr_float.c: Likewise.
45910         * sunrpc/xdr_intXX_t.c: Likewise.
45911         * sunrpc/xdr_mem.c: Likewise.
45912         * sunrpc/xdr_rec.c: Likewise.
45913         * sunrpc/xdr_ref.c: Likewise.
45914         * sunrpc/xdr_sizeof.c: Likewise.
45915         * sunrpc/xdr_stdio.c: Likewise.
45916
45917 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
45918
45919         [BZ #12650]
45920         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45921         * sysdeps/ia64/dl-tls.h: Likewise.
45922         * sysdeps/powerpc/dl-tls.h: Likewise.
45923         * sysdeps/s390/dl-tls.h: Likewise.
45924         * sysdeps/sh/dl-tls.h: Likewise.
45925         * sysdeps/sparc/dl-tls.h: Likewise.
45926         * sysdeps/x86_64/dl-tls.h: Likewise.
45927         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45928
45929 2011-03-14  Andreas Schwab  <schwab@redhat.com>
45930
45931         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45932         rpath element also skip the following colon.
45933         (expand_dynamic_string_token): Add is_path parameter and pass
45934         down to DL_DST_REQUIRED and _dl_dst_substitute.
45935         (decompose_rpath): Call expand_dynamic_string_token with
45936         non-zero is_path.  Ignore empty rpaths.
45937         (_dl_map_object_from_fd): Call expand_dynamic_string_token
45938         with zero is_path.
45939
45940 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
45941
45942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45943         Make cancelable.
45944
45945 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
45946
45947         [BZ #12655]
45948         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45949         Patch by Filipe David Manana <fdmanana@apache.org>.
45950
45951 2011-04-07  Andreas Schwab  <schwab@redhat.com>
45952
45953         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45954         Maintain aligned stack.
45955         (CHECK_RSP): Remove unused macro.
45956
45957 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
45958
45959         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45960         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45961
45962 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
45963
45964         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45965
45966         * include/features.h: Mention __USE_XOPEN2K8 in comment.
45967
45968 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
45969
45970         [BZ #12518]
45971         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45972         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45973         * sysdeps/x86_64/memmove.c: New file.
45974         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45975         (memcpy): Renamed to ...
45976         (__new_memcpy): This.
45977         (memcpy): Provide GLIBC_2_14 memcpy.
45978         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45979         (memcpy): Provide GLIBC_2_2_5 memcpy.
45980
45981 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
45982
45983         [BZ #12631]
45984         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45985
45986 2011-03-30  Andreas Schwab  <schwab@redhat.com>
45987
45988         * misc/syncfs.c: New file.
45989         * misc/Makefile (routines): Add syncfs.
45990         * posix/unistd.h: Declare syncfs.
45991         * sysdeps/unix/syscalls.list: Add syncfs.
45992
45993 2011-04-01  Andreas Schwab  <schwab@redhat.com>
45994
45995         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45996         open_by_handle_at.
45997         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45998         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45999         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46000         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46001         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46002         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46003         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46004
46005 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46006
46007         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46008         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46009         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46010         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46011         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46012         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46013         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46014
46015         * io/Makefile: Compile fallocate.c, fallocate64.c, and
46016         sync_file_range.c with -fexceptions.
46017         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46018         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46019         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46020         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46021         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46022         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46023         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46024         sync_file_range as cancellation point
46025         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
46026         now a wrapper around __call_sync_file_range with cancellation handling.
46027         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46028         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
46029         function name to __call_sync_file_range.
46030         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46031         Add call_sync_file_range.
46032
46033 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46034
46035         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46036         bits/timex.h.
46037
46038 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46039
46040         * iconv/iconv.h: Fix typo in comment.
46041         * io/fcntl.h: Likewise.
46042         * libio/stdio.h: Likewise.
46043         * posix/spawn.h: Likewise.
46044         * posix/unistd.h: Likewise.
46045         * stdlib/stdlib.h: Likewise.
46046         * time/time.h: Likewise.
46047         * wcsmbs/wchar.h: Likewise.
46048
46049         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46050         open_by_handle): Add.
46051         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46052         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
46053         Augment a few comments.
46054         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46055         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46056         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46057         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46058         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46059         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46060         open_by_handle.
46061
46062         * io/fcntl.h (AT_EMPTY_PATH): Define.
46063
46064 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
46065
46066         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46067         * sysdeps/unix/sysv/linux/bits/time.h: New file.
46068         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46069         to...
46070         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
46071         * Versions.def: Add GLIBC_2.14.
46072         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46073         Export.
46074
46075 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
46076
46077         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46078         round counter.
46079         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46080
46081 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46082
46083         [BZ #12597]
46084         * string/test-strncmp.c (do_page_test): New function.
46085         (check2): Likewise.
46086         (test_main): Call check2.
46087         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46088
46089 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
46090
46091         [BZ #12587]
46092         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46093         Handle cache information in CPU leaf 4.
46094         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46095
46096 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
46097
46098         [BZ #12583]
46099         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46100         character representation.
46101         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46102
46103 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
46104
46105         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46106         END(__isnan) to END(__isnanf) to match function entry point/label
46107         EALIGN(__isnanf,...).
46108
46109 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
46110
46111         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46112
46113 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
46114
46115         [BZ #12510]
46116         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46117         copy from the symbol referenced in the relocation to initialize the
46118         used variable.
46119         Patch by Piotr Bury <pbury@goahead.com>.
46120         * elf/Makefile: Add rules to build and tst-unique3.
46121         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46122         * elf/tst-unique3.cc: New file.
46123         * elf/tst-unique3.h: New file.
46124         * elf/tst-unique3lib.cc: New file.
46125         * elf/tst-unique3lib2.cc: New file.
46126
46127         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46128
46129 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
46130
46131         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46132         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
46133         to _start.
46134
46135 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
46136
46137         * elf/dl-load.c (_dl_map_object): If we are looking for the first
46138         to-be-loaded object along a path to loader is ld.so.
46139
46140 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46141             Ulrich Drepper  <drepper@gmail.com>
46142
46143         * sysdeps/x86_64/memset.S: After aligning destination, code
46144         branches to different locations depending on the value of
46145         misalignment, when multiarch is enabled. Fix this.
46146
46147 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46148
46149         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46150         Set _x86_64_preferred_memory_instruction for AMD processsors.
46151         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46152         Set bit_Prefer_SSE_for_memop for AMD processors.
46153
46154 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
46155
46156         * libio/fmemopen.c (fmemopen): Optimize a bit.
46157
46158 2011-03-03  Andreas Schwab  <schwab@redhat.com>
46159
46160         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46161
46162 2011-03-03  Roland McGrath  <roland@redhat.com>
46163
46164         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46165
46166 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
46167
46168         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46169         __bzero_ultra1 instead of __memset_ultra1.
46170
46171 2011-02-23  Andreas Schwab  <schwab@redhat.com>
46172             Ulrich Drepper  <drepper@gmail.com>
46173
46174         [BZ #12509]
46175         * include/link.h (struct link_map): Add l_orig_initfini.
46176         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46177         returning unsuccessfully.
46178         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46179         close of a file loaded at startup, restore the original l_initfini
46180         list.
46181         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46182         list, store the pointer.
46183         * elf/Makefile ($(objpfx)noload-mem): New rule.
46184         (noload-ENV): Define.
46185         (tests): Add $(objpfx)noload-mem.
46186         * elf/noload.c: Include <memcheck.h>.
46187         (main): Call mtrace.  Close all opened handles.
46188
46189 2011-02-17  Andreas Schwab  <schwab@redhat.com>
46190
46191         [BZ #12454]
46192         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46193         dependencies are missing.
46194
46195 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46196
46197         Fix __if_freereq crash: Unlike the generic version which uses free,
46198         Hurd needs munmap.
46199         * sysdeps/mach/hurd/ifreq.h: New file.
46200
46201 2011-01-27  Petr Baudis  <pasky@suse.cz>
46202             Ulrich Drepper  <drepper@gmail.com>
46203
46204         [BZ 12445]#
46205         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46206         to extend_alloca().
46207         * stdio-common/bug23.c: New file.
46208         * stdio-common/Makefile (tests): Add bug23.
46209
46210 2010-09-28  Andreas Schwab  <schwab@redhat.com>
46211             Ulrich Drepper  <drepper@gmail.com>
46212
46213         [BZ #12489]
46214         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46215         before performing relro protection.  At old place add assertion
46216         to make sure nothing changed.
46217
46218 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
46219             Glauber de Oliveira Costa  <glommer@gmail.com>
46220
46221         * elf/elf.h: Add new ARM TLS relocs.
46222
46223 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
46224
46225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46226         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46227         cast from r3.
46228         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
46229         'tests' variable.
46230         * sysdeps/wordsize-64/tst-writev.c: New file.
46231
46232 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
46233
46234         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46235         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46236         insns in _dl_start to prevent a TOC reference before relocs are
46237         resolved.
46238
46239 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
46240
46241         [BZ #12469]
46242         * Makeconfig: Remove RANLIB definition.
46243         * Makerules: Don't use RANLIB.
46244         * aclocal.m4: Remove ranlib test.
46245         * configure.in: No need to check for ranlib.
46246         * elf/rtld-Rules: Don't use RANLIB.
46247
46248 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46249
46250         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46251         protection macro.
46252         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46253         inclusion protection macro.
46254
46255         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46256         SIGRTMIN and SIGRTMAX and print information in that case only when
46257         SIGRTMIN is defined.
46258
46259 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
46260
46261         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46262         arginfo fn returning -1.
46263
46264         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46265         and thousands string is zero terminated.
46266
46267 2011-02-03  Andreas Schwab  <schwab@redhat.com>
46268
46269         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46270         sysdeps/unix/sysv/linux/bits/socket.h.
46271
46272 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46273
46274         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46275         (__CPU_COUNT): Remove old macros.
46276         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46277         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46278         (__CPU_ALLOC, __CPU_FREE): Add macros.
46279         (__sched_cpualloc, __sched_cpufree): Add declarations.
46280
46281 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
46282
46283         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46284         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46285         * nscd/aicache.c (addhstaiX): Return timeout of added value.
46286         (readdhstai): Return value of addhstaiX call.
46287         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46288         (addgrbyX): Return value returned by cache_addgr.
46289         (readdgrbyname): Return value returned by addgrbyX.
46290         (readdgrbygid): Likewise.
46291         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46292         (addpwbyX): Return value returned by cache_addpw.
46293         (readdpwbyname): Return value returned by addhstbyX.
46294         (readdpwbyuid): Likewise.
46295         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46296         (addservbyX): Return value returned by cache_addserv.
46297         (readdservbyname): Return value returned by addservbyX:
46298         (readdservbyport): Likewise.
46299         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46300         (addhstbyX): Return value returned by cache_addhst.
46301         (readdhstbyname): Return value returned by addhstbyX.
46302         (readdhstbyaddr): Likewise.
46303         (readdhstbynamev6): Likewise.
46304         (readdhstbyaddrv6): Likewise.
46305         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46306         (readdinitgroups): Return value returned by addinitgroupsX.
46307         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46308         (prune_cache): Keep track of timeout value of re-added entries.
46309         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46310         * nscd/nscd.h: Adjust prototypes of readd* functions.
46311
46312 2011-02-04  Roland McGrath  <roland@redhat.com>
46313
46314         * nis/nis_server.c (nis_servstate): Use the right name for 0.
46315         (nis_stats): Likewise.
46316         * nis/nis_modify.c (nis_modify): Likewise.
46317         * nis/nis_remove.c (nis_remove): Likewise.
46318         * nis/nis_add.c (nis_add): Likewise.
46319
46320         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46321
46322         * posix/fnmatch_loop.c: Add some consts.
46323
46324         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46325
46326 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
46327
46328         [BZ #12460]
46329         * config.make.in (config-cflags-novzeroupper): Define.
46330         * configure.in: Substitute libc_cv_cc_novzeroupper.
46331         * elf/Makefile (AVX-CFLAGS): Define.
46332         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46333         (CFLAGS-tst-auditmod4a.c): Likewise.
46334         (CFLAGS-tst-auditmod4b.c): Likewise.
46335         (CFLAGS-tst-auditmod6b.c): Likewise.
46336         (CFLAGS-tst-auditmod6c.c): Likewise.
46337         (CFLAGS-tst-auditmod7b.c): Likewise.
46338         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46339
46340 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
46341
46342         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46343         function to the callback.
46344         Patch partly by Jiri Olsa <jolsa@redhat.com>.
46345
46346 2011-02-02  Andreas Schwab  <schwab@redhat.com>
46347
46348         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46349         of errno.
46350
46351 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
46352
46353         [BZ #11724]
46354         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46355         of constructors.
46356         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46357         of destructors.
46358         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46359
46360         [BZ #11724]
46361         * elf/Makefile: Add rules to build and run new test.
46362         * elf/tst-initorder.c: New file.
46363         * elf/tst-initorder.exp: New file.
46364         * elf/tst-initordera1.c: New file.
46365         * elf/tst-initordera2.c: New file.
46366         * elf/tst-initordera3.c: New file.
46367         * elf/tst-initordera4.c: New file.
46368         * elf/tst-initorderb1.c: New file.
46369         * elf/tst-initorderb2.c: New file.
46370         * elf/tst-order-a1.c: New file.
46371         * elf/tst-order-a2.c: New file.
46372         * elf/tst-order-a3.c: New file.
46373         * elf/tst-order-a4.c: New file.
46374         * elf/tst-order-b1.c: New file.
46375         * elf/tst-order-b2.c: New file.
46376         * elf/tst-order-main.c: New file.
46377         New test case by George Gensure <werkt0@gmail.com>.
46378
46379 2010-10-01  Andreas Schwab  <schwab@redhat.com>
46380
46381         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46382         decoding ACE if AI_CANONIDN.
46383
46384 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
46385
46386         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46387
46388 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
46389
46390         * version.h (RELEASE): Bump for 2.13 release.
46391         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46392
46393         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46394
46395         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46396         MADV_NOHUGEPAGE.
46397         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46398         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46399         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46400         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46401         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46402         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46403
46404         * posix/getconf.c: Update copyright year.
46405         * catgets/gencat.c: Likewise.
46406         * csu/version.c: Likewise.
46407         * debug/catchsegv.sh: Likewise.
46408         * debug/xtrace.sh: Likewise.
46409         * elf/ldconfig.c: Likewise.
46410         * elf/ldd.bash.in: Likewise.
46411         * elf/sprof.c (print_version): Likewise.
46412         * iconv/iconv_prog.c: Likewise.
46413         * iconv/iconvconfig.c: Likewise.
46414         * locale/programs/locale.c: Likewise.
46415         * locale/programs/localedef.c: Likewise.
46416         * malloc/memusage.sh: Likewise.
46417         * malloc/mtrace.pl: Likewise.
46418         * nscd/nscd.c (print_version): Likewise.
46419         * nss/getent.c: Likewise.
46420
46421         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46422         PF_CAIF, and PF_ALG.
46423         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46424
46425 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
46426
46427         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46428         (modules-names): Use them.
46429         (ifunc-test-modules, ifunc-pie-tests): Define.
46430         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46431         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46432         (test-extras): Likewise.
46433         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46434         $(compile-command.c).
46435         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46436         (all-built-dso): Define.
46437         (check-textrel.out, check-execstack.out): Depend on it.
46438
46439         * configure.in: Don't override --enable-multi-arch.
46440
46441 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
46442
46443         [BZ #6812]
46444         * nscd/hstcache.c (tryagain): Define.
46445         (cache_addhst): Return tryagain not notfound for temporary errors.
46446         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46447         failed.
46448
46449 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
46450
46451         [BZ #10563]
46452         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46453         to make the syscall.
46454         * sysdeps/unix/sysv/linux/setgroups.c: New file.
46455
46456         [BZ #12378]
46457         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46458         and fall back to matching as normal character if the string ends before
46459         the matching ']' is found.  This is what POSIX requires.
46460         * posix/testfnm.c: Adjust test result.
46461         * posix/globtest.sh: Adjust test result.  Add new test.
46462         * posix/tst-fnmatch.input: Likewise.
46463         * posix/tst-fnmatch2.c: Add new test.
46464
46465 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
46466
46467         * elf/Makefile (check-execstack): Revert last change.  Depend on
46468         check-execstack.h.
46469         (check-execstack.h): New target.
46470         (generated): Add check-execstack.h.
46471         * elf/check-execstack.c: Include "check-execstack.h".
46472         (main): Revert last change.
46473         (handle_file): Return zero if GNU_STACK is absent and
46474         DEFAULT_STACK_PERMS doesn't include PF_X.
46475
46476 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
46477
46478         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46479         in child fails because the descriptor is already closed.
46480         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46481         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46482         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46483
46484         [BZ #12397]
46485         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46486         syscall.
46487
46488         [BZ #10484]
46489         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46490         temporary buffer used to handle multi lookups locally.
46491         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46492
46493 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46494
46495         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46496         loader is ld.so.
46497
46498 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
46499
46500         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46501         alignment for SSE2.
46502
46503 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46504
46505         [BZ #12394]
46506         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46507         characters.  When rounding increased number of integer digits recompute
46508         number of groups.
46509         * stdio-common/tst-grouping.c: New file.
46510         * stdio-common/Makefile: Add rules to build and run tst-grouping.
46511
46512 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
46513
46514         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46515         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
46516
46517         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46518         void.
46519         * bits/select.h: Likewise.
46520
46521 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
46522
46523         * po/ja.po: Update from translation team.
46524
46525 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
46526
46527         [BZ #11155]
46528         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46529         implementation just like for lxstat, fxstatat, et al.
46530
46531 2010-12-27  Jim Meyering  <meyering@redhat.com>
46532
46533         [BZ #12348]
46534         * posix/regexec.c (build_trtable): Return failure indication upon
46535         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
46536
46537 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
46538
46539         [BZ #12201]
46540         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46541         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46542         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46543         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46544
46545         [BZ #12207]
46546         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46547
46548         [BZ #12204]
46549         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46550         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46551
46552 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
46553
46554         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46555         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46556         script has SORT_BY_INIT_PRIORITY.
46557         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46558         NO_CTORS_DTORS_SECTIONS is defined.
46559         * elf/soinit.c: Likewise.
46560         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46561         NO_CTORS_DTORS_SECTIONS is defined.
46562         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46563         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46564         * sysdeps/sh/init-first.c: Likewise.
46565         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46566
46567 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
46568
46569         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46570         always use the slow path.
46571
46572 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
46573
46574         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46575         similar rule which adds the sysdep directories to the header search in
46576         order to pick up the correct platform stackinfo.h.
46577         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46578         perform test if it is, otherwise return successfully without testing.
46579         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46580         DEFAULT_STACK_PERMS define in stackinfo.h.
46581         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46582         defined in stackinfo.h.
46583         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46584         DEFAULT_STACK_PERMS defined in stackinfo.h.
46585         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46586         * sysdeps/ia64/stackinfo.h: Likewise.
46587         * sysdeps/s390/stackinfo.h: Likewise.
46588         * sysdeps/sh/stackinfo.h: Likewise.
46589         * sysdeps/sparc/stackinfo.h: Likewise.
46590         * sysdeps/x86_64/stackinfo.h: Likewise.
46591         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46592         PF_X for powerpc64.  Retain PF_X for powerpc32.
46593
46594 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
46595
46596         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46597         accurately.
46598         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46599         GETDENTS_64BIT_ALIGNED.
46600
46601 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
46602
46603         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46604
46605 2010-12-10  Andreas Schwab  <schwab@redhat.com>
46606
46607         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46608         _GNU_SOURCE.
46609
46610         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46611         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46612         Remove __restrict.
46613         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46614         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46615
46616 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
46617
46618         [BZ #11655]
46619         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46620         are initialized.
46621
46622 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
46623
46624         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46625
46626 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
46627
46628         * po/it.po: Update from translation team.
46629
46630 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
46631
46632         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46633         unused codes.
46634
46635 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
46636
46637         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46638
46639 2010-11-24  Andreas Schwab  <schwab@redhat.com>
46640
46641         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46642         specially.
46643         (gaih_getanswer_slice): Likewise.
46644
46645 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
46646
46647         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46648
46649 2010-05-31  Petr Baudis  <pasky@suse.cz>
46650
46651         [BZ #11149]
46652         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46653         silently even in the chroot mode.
46654
46655 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
46656
46657         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46658         last patch a bit.  Pretty printing
46659
46660 2010-05-31  Petr Baudis <pasky@suse.cz>
46661
46662         [BZ #10085]
46663         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46664         initialization of skip_initgroups_dyn.
46665
46666 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
46667
46668         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46669         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46670
46671 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
46672
46673         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46674
46675 2010-11-11  Andreas Schwab  <schwab@redhat.com>
46676
46677         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46678         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46679         (tst-fnmatch-ENV): Set MALLOC_TRACE.
46680         ($(objpfx)tst-fnmatch-mem): New rule.
46681         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46682         * posix/tst-fnmatch.c (main): Call mtrace.
46683
46684 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
46685
46686         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46687         Support Intel processor model 6 and model 0x2c.
46688
46689 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
46690
46691         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46692           signed comparison.
46693
46694 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
46695
46696         [BZ #12205]
46697         * string/test-strncasecmp.c (check_result): New function.
46698         (do_one_test): Use it.
46699         (check1): New function.
46700         (test_main): Use it.
46701         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46702         Support strcasecmp and strncasecmp.
46703
46704 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
46705
46706         [BZ #12194]
46707         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46708         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46709
46710 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
46711
46712         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46713         IFUNC support.
46714         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46715         memset-x86-64.
46716         * sysdeps/x86_64/multiarch/bzero.S: New file.
46717         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46718         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46719         * sysdeps/x86_64/multiarch/memset.S: New file.
46720         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46721         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46722         Set bit_Prefer_SSE_for_memop for Intel processors.
46723         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46724         Define.
46725         (index_Prefer_SSE_for_memop): Define.
46726         (HAS_PREFER_SSE_FOR_MEMOP): Define.
46727
46728 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
46729
46730         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46731         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46732
46733 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
46734
46735         [BZ #12191]
46736         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46737         (__x86_64_raw_data_cache_size_half): Likewise.
46738         (__x86_64_raw_shared_cache_size): Likewise.
46739         (__x86_64_raw_shared_cache_size_half): Likewise.
46740
46741         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46742         (__x86_64_raw_data_cache_size_half): Likewise.
46743         (__x86_64_raw_shared_cache_size): Likewise.
46744         (__x86_64_raw_shared_cache_size_half): Likewise.
46745         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46746         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46747         and __x86_64_raw_shared_cache_size_half.  Round
46748         __x86_64_data_cache_size_half, __x86_64_data_cache_size
46749         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46750         to multiple of 256 bytes.
46751
46752 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
46753
46754         [BZ #12167]
46755         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46756         of inacessible symlinks.  Verify result of symlink before returning it.
46757         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46758         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46759
46760 2010-10-28  Erich Ritz  <erichritz@gmail.com>
46761
46762         * math/math.h (isinf): Fix typo in comment.
46763
46764 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
46765
46766         * po/da.po: Update from translation team.
46767
46768 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
46769
46770         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46771         is added to the list.
46772
46773 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46774             Ulrich Drepper  <drepper@gmail.com>
46775
46776         * elf/dl-object.c (_dl_new_object): Don't append the new object to
46777         the global list here.  Move code to...
46778         (_dl_add_to_namespace_list): ...here.  New function.
46779         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46780         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46781         * elf/dl-load.c (lose): Don't remove the element from the list.
46782         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46783         (_dl_map_object): Likewise.
46784
46785 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
46786
46787         [BZ #12159]
46788         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46789         into all bytes of SSE register.
46790         Patch by Richard Li <richardpku@gmail.com>.
46791
46792 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
46793
46794         [BZ #12140]
46795         * malloc/malloc.c (_int_free): Fill correct number of bytes when
46796         perturbing.
46797
46798 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
46799
46800         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46801         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46802         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46803         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46805         submachine.
46806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46807
46808 2010-10-22  Andreas Schwab  <schwab@redhat.com>
46809
46810         * include/dlfcn.h (__RTLD_SECURE): Define.
46811         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
46812         mode & __RTLD_SECURE instead.
46813         (open_path): Rename preloaded parameter to secure.
46814         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46815         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46816         * elf/dl-deps.c (openaux): Likewise.
46817         * elf/rtld.c (struct map_args): Remove is_preloaded.
46818         (map_doit): Don't use it.
46819         (dl_main): Likewise.
46820         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46821         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46822
46823 2010-09-09  Andreas Schwab  <schwab@redhat.com>
46824
46825         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46826         (sysd-rules-targets): Remove duplicates.
46827         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46828         rtld-%.$o dependency.
46829
46830 2010-10-18  Andreas Schwab  <schwab@redhat.com>
46831
46832         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46833         _dl_map_object do it.
46834
46835 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
46836
46837         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46838         fast fma builtins, define the macros in the C99 standard.
46839         (FP_FAST_FMAF): Likewise.
46840         (FP_FAST_FMAL): Likewise.
46841         * sysdeps/x86_64/bits/mathdef.h: Likewise.
46842
46843         * bits/mathdef.h: Update copyright year.
46844         * sysdeps/powerpc/bits/mathdef.h: Likewise.
46845
46846 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
46847
46848         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46849         builtins, define the macros in the C99 standard.
46850         (FP_FAST_FMAF): Likewise.
46851         (FP_FAST_FMAL): Likewise.
46852         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46853         multiply/add.
46854         (FP_FAST_FMAF): Likewise.
46855
46856 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
46857
46858         [BZ #3268]
46859         * math/libm-test.inc (fma_test): Some new testcases.
46860         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46861         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46862         y and infinite z.  Do multiplication by C already in long double.
46863         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46864         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46865         y and infinite z.  Do bitwise or of inexact bit into u.d.
46866         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46867         * sysdeps/i386/fpu/s_fmaf.S: Removed.
46868         * sysdeps/i386/fpu/s_fma.S: Removed.
46869         * sysdeps/i386/fpu/s_fmal.S: Removed.
46870
46871 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
46872
46873         [BZ #3268]
46874         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46875         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46876         computation is not scheduled after fetestexcept.  Fix value
46877         of minimum denormal long double.
46878
46879 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
46880
46881         [BZ #3268]
46882         * math/libm-test.inc (fma_test): Add some more tests.
46883         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46884         correctly.
46885
46886 2010-10-15  Andreas Schwab  <schwab@redhat.com>
46887
46888         * scripts/data/localplt-s390-linux-gnu.data: New file.
46889         * scripts/data/localplt-s390x-linux-gnu.data: New file.
46890
46891 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
46892
46893         [BZ #3268]
46894         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46895         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46896         instead of dbl-64.
46897         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46898         inlines.
46899         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46900         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46901         if one of x and y is very large and the other is subnormal.
46902         * sysdeps/s390/fpu/s_fmaf.c: New file.
46903         * sysdeps/s390/fpu/s_fma.c: New file.
46904         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46905         * sysdeps/powerpc/fpu/s_fma.S: New file.
46906         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46907         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46908         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46909
46910 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
46911
46912         [BZ #3268]
46913         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46914         fma tests.
46915         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46916         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46917         * sysdeps/i386/i686/multiarch/s_fma.c: Include
46918         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46919         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46920         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46921         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46922
46923 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
46924
46925         [BZ #12078]
46926         * posix/regcomp.c (parse_branch): One more memory leak plugged.
46927         * posix/bug-regex31.input: Add test case.
46928
46929 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
46930
46931         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46932         * posix/bug-regex31.input: New file.
46933
46934         [BZ #12078]
46935         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46936         (parse_sub_exp): Fix last change, use postorder.
46937
46938         * posix/bug-regex31.c: New file.
46939         * posix/Makefile: Add rules to build and run bug-regex31.
46940
46941         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46942
46943         [BZ #12078]
46944         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46945
46946         [BZ #12108]
46947         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46948         to have entries in sys_siglist.
46949
46950         [BZ #12093]
46951         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46952         be NULL.
46953
46954 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
46955
46956         [BZ #3268]
46957         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46958         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46959         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46960         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46961         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46962         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46963         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46964         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46965         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46966         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46967         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46968         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46969         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46970         * math/ftestexcept.c (fetestexcept): Likewise.
46971         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46972         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46973         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46974         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46975         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46976         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46977         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46978
46979 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
46980
46981         [BZ #12107]
46982         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46983         newline.
46984
46985 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
46986
46987         * string/bug-strstr1.c: New file.
46988         * string/Makefile: Add rules to build and run bug-strstr1.
46989
46990 2010-10-05  Eric Blake  <eblake@redhat.com>
46991
46992         [BZ #12092]
46993         * string/str-two-way.h (two_way_long_needle): Always clear memory
46994         when skipping input due to the shift table.
46995
46996 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
46997
46998         [BZ #12005]
46999         * malloc/mcheck.c: Handle large requests.
47000
47001         [BZ #12077]
47002         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47003         for strncmp and strncasecmp.
47004         * string/stratcliff.c: Add tests for strcmp and strncmp.
47005         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47006
47007 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47008
47009         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47010         __set_fpscr.
47011
47012 2010-09-30  Andreas Jaeger  <aj@suse.de>
47013
47014         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47015         (CGROUP_SUPER_MAGIC): Define.
47016         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47017         Handle btrfs and cgroup file systems.
47018         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47019         Likewise.
47020
47021 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
47022
47023         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47024         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47025
47026 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47027
47028         [BZ #12067]
47029         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47030         trying to locate the ELF header.
47031
47032 2010-09-27  Andreas Schwab  <schwab@redhat.com>
47033
47034         [BZ #11611]
47035         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47036         Mask out sign-bit copies when constructing f_fsid.
47037
47038 2010-09-24  Petr Baudis <pasky@suse.cz>
47039
47040         * debug/stack_chk_fail_local.c: Add missing licence exception.
47041         * debug/warning-nop.c: Likewise.
47042
47043 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
47044
47045         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47046         implementing getdents64 using getdents syscall, set d_type if
47047         __ASSUME_GETDENTS32_D_TYPE.
47048
47049 2010-09-16  Andreas Schwab  <schwab@redhat.com>
47050
47051         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47052         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47053
47054 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
47055
47056         [BZ #12037]
47057         * posix/unistd.h: Undo change of feature selection for ftruncate from
47058         2010-01-11.
47059
47060 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
47061
47062         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47063         detection.
47064
47065 2010-09-20  Andreas Schwab  <schwab@redhat.com>
47066
47067         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47068         fanotify_mark.
47069         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47070
47071 2010-09-14  Andreas Schwab  <schwab@redhat.com>
47072
47073         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47074         variables after CHECK_SP call.
47075         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47076
47077 2010-09-13  Andreas Schwab  <schwab@redhat.com>
47078             Ulrich Drepper  <drepper@redhat.com>
47079
47080         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47081         re-relocationg ld.so.
47082         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47083         _dl_init_paths call.
47084         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
47085         here anymore.
47086
47087 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
47088
47089         * resolv/res_init.c (__res_vinit): Count the default server we added.
47090
47091 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
47092             Ulrich Drepper  <drepper@redhat.com>
47093
47094         [BZ #11968]
47095         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47096         (____longjmp_chk): Use %ebx for saving value across system call.
47097         Add unwind info.
47098
47099 2010-09-06  Andreas Schwab  <schwab@redhat.com>
47100
47101         * manual/Makefile: Don't mix pattern rules with normal rules.
47102
47103 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
47104
47105         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47106         operation.
47107         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47108         * libio/iofopncook.c (_IO_cookie_init): Likewise.
47109         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47110         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47111         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47112         Likewise.
47113
47114 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
47115
47116         [BZ #11979]
47117         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47118         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47119
47120 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
47121
47122         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47123         * sysdeps/x86_64/addmul_1.S: Likewise.
47124         * sysdeps/x86_64/lshift.S: Likewise.
47125         * sysdeps/x86_64/mul_1.S: Likewise.
47126         * sysdeps/x86_64/rshift.S: Likewise.
47127         * sysdeps/x86_64/sub_n.S: Likewise.
47128         * sysdeps/x86_64/submul_1.S: Likewise.
47129
47130 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47131
47132         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47133         Define __sched_param instead of SCHED_* and sched_param when
47134         <bits/sched.h> is included with __need_schedparam defined.
47135         * bits/sched.h [__need_schedparam]
47136         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47137         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47138         (__defined_schedparam): Define to 1.
47139         (__sched_param): New structure, identical to sched_param.
47140         (__need_schedparam): Undefine.
47141
47142 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
47143
47144         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47145         (epoll_create1): Declare.
47146
47147         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47148
47149 2010-08-31  Andreas Schwab  <schwab@redhat.com>
47150
47151         [BZ #7066]
47152         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47153         shifting retval into place.
47154
47155 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
47156
47157         * nis/rpcsvc/nis.h: Update copyright notice.
47158         * nis/rpcsvc/nis.x: Likewise.
47159         * nis/rpcsvc/nis_callback.h: Likewise.
47160         * nis/rpcsvc/nis_callback.x: Likewise.
47161         * nis/rpcsvc/nis_object.x: Likewise.
47162         * nis/rpcsvc/nis_tags.h: Likewise.
47163         * nis/rpcsvc/yp.h: Likewise.
47164         * nis/rpcsvc/yp.x: Likewise.
47165         * nis/rpcsvc/ypupd.h: Likewise.
47166         * nis/yp_xdr.c: Likewise.
47167         * nis/ypupdate_xdr.c: Likewise.
47168
47169         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
47170         mainly the body of pmap_getport.  Add parameters to specify timeouts.
47171         (pmap_getport): Use __libc_rpc_getport.
47172         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47173         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47174         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47175
47176 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
47177
47178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47179         fanotify_mark.
47180
47181 2010-08-27  Roland McGrath  <roland@redhat.com>
47182
47183         * sysdeps/i386/i686/multiarch/Makefile
47184         (CFLAGS-varshift.c): New variable.
47185
47186 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
47187
47188         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47189         * sysdeps/i386/i686/multiarch/varshift.c: New file.
47190
47191         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47192
47193         * sysdeps/x86_64/strlen.S: Minimal code improvement.
47194
47195 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
47196
47197         * sysdeps/x86_64/strlen.S: Unroll the loop.
47198         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47199         strlen-sse2 strlen-sse2-bsf.
47200         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47201         __strlen_no_bsf if bit_Slow_BSF is set.
47202         (__strlen_sse42): Removed.
47203         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47204         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47205
47206 2010-08-25  Roland McGrath  <roland@redhat.com>
47207
47208         * sysdeps/x86_64/multiarch/varshift.S: File removed.
47209         * sysdeps/x86_64/multiarch/varshift.c: New file.
47210         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47211         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47212         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47213         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47214
47215 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
47216
47217         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47218         strlen-sse2 strlen-sse2-bsf.
47219         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47220         __strlen_sse2_bsf if bit_Slow_BSF is unset.
47221         (__strlen_sse2): Removed.
47222         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47223         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47224         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47225         bit_Slow_BSF for Atom.
47226         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47227         (index_Slow_BSF): Define.
47228         (HAS_SLOW_BSF): Define.
47229
47230 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
47231
47232         [BZ #10851]
47233         * resolv/res_init.c (__res_vinit): When no server address at all
47234         is given default to loopback.
47235
47236 2010-08-24  Roland McGrath  <roland@redhat.com>
47237
47238         * configure.in: Remove config-name.h generation.
47239         * configure: Regenerated.
47240         * config-name.in: File removed.
47241         * scripts/config-uname.sh: New file.
47242         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47243         ($(objdir)config-name.h): New target.
47244
47245         * sunrpc/rpc_parse.h: Avoid nested comment.
47246
47247 2010-08-24  Richard Henderson  <rth@redhat.com>
47248             Ulrich Drepper  <drepper@redhat.com>
47249             H.J. Lu  <hongjiu.lu@intel.com>
47250
47251         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47252         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47253         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47254         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
47255         _mm_alignr_epi8 with _mm_loadu_si128.
47256         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47257         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47258         (__m128i_shift_right): Removed.
47259         * sysdeps/i386/i686/multiarch/varshift.h: New file.
47260         * sysdeps/i386/i686/multiarch/varshift.S: New file.
47261         * sysdeps/x86_64/multiarch/varshift.h: New file.
47262         * sysdeps/x86_64/multiarch/varshift.S: New file.
47263
47264 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
47265
47266         * configure.in: Move assembler checks to before sysdep dir checking.
47267
47268 2010-08-20  Petr Baudis  <pasky@suse.cz>
47269
47270         * LICENSES: Sync the sunrpc license.
47271
47272 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
47273
47274         * sunrpc/auth_des.c: Update copyright notice once again.
47275         * sunrpc/auth_none.c: Likewise.
47276         * sunrpc/auth_unix.c: Likewise.
47277         * sunrpc/authdes_prot.c: Likewise.
47278         * sunrpc/authuxprot.c: Likewise.
47279         * sunrpc/bindrsvprt.c: Likewise.
47280         * sunrpc/clnt_gen.c: Likewise.
47281         * sunrpc/clnt_perr.c: Likewise.
47282         * sunrpc/clnt_raw.c: Likewise.
47283         * sunrpc/clnt_simp.c: Likewise.
47284         * sunrpc/clnt_tcp.c: Likewise.
47285         * sunrpc/clnt_udp.c: Likewise.
47286         * sunrpc/clnt_unix.c: Likewise.
47287         * sunrpc/des_crypt.c: Likewise.
47288         * sunrpc/des_soft.c: Likewise.
47289         * sunrpc/get_myaddr.c: Likewise.
47290         * sunrpc/getrpcport.c: Likewise.
47291         * sunrpc/key_call.c: Likewise.
47292         * sunrpc/key_prot.c: Likewise.
47293         * sunrpc/openchild.c: Likewise.
47294         * sunrpc/pm_getmaps.c: Likewise.
47295         * sunrpc/pm_getport.c: Likewise.
47296         * sunrpc/pmap_clnt.c: Likewise.
47297         * sunrpc/pmap_prot.c: Likewise.
47298         * sunrpc/pmap_prot2.c: Likewise.
47299         * sunrpc/pmap_rmt.c: Likewise.
47300         * sunrpc/rpc/auth.h: Likewise.
47301         * sunrpc/rpc/auth_unix.h: Likewise.
47302         * sunrpc/rpc/clnt.h: Likewise.
47303         * sunrpc/rpc/des_crypt.h: Likewise.
47304         * sunrpc/rpc/key_prot.h: Likewise.
47305         * sunrpc/rpc/netdb.h: Likewise.
47306         * sunrpc/rpc/pmap_clnt.h: Likewise.
47307         * sunrpc/rpc/pmap_prot.h: Likewise.
47308         * sunrpc/rpc/pmap_rmt.h: Likewise.
47309         * sunrpc/rpc/rpc.h: Likewise.
47310         * sunrpc/rpc/rpc_des.h: Likewise.
47311         * sunrpc/rpc/rpc_msg.h: Likewise.
47312         * sunrpc/rpc/svc.h: Likewise.
47313         * sunrpc/rpc/svc_auth.h: Likewise.
47314         * sunrpc/rpc/types.h: Likewise.
47315         * sunrpc/rpc/xdr.h: Likewise.
47316         * sunrpc/rpc_clntout.c: Likewise.
47317         * sunrpc/rpc_cmsg.c: Likewise.
47318         * sunrpc/rpc_common.c: Likewise.
47319         * sunrpc/rpc_cout.c: Likewise.
47320         * sunrpc/rpc_dtable.c: Likewise.
47321         * sunrpc/rpc_hout.c: Likewise.
47322         * sunrpc/rpc_main.c: Likewise.
47323         * sunrpc/rpc_parse.c: Likewise.
47324         * sunrpc/rpc_parse.h: Likewise.
47325         * sunrpc/rpc_prot.c: Likewise.
47326         * sunrpc/rpc_sample.c: Likewise.
47327         * sunrpc/rpc_scan.c: Likewise.
47328         * sunrpc/rpc_scan.h: Likewise.
47329         * sunrpc/rpc_svcout.c: Likewise.
47330         * sunrpc/rpc_tblout.c: Likewise.
47331         * sunrpc/rpc_util.c: Likewise.
47332         * sunrpc/rpc_util.h: Likewise.
47333         * sunrpc/rpcinfo.c: Likewise.
47334         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47335         * sunrpc/rpcsvc/key_prot.x: Likewise.
47336         * sunrpc/rpcsvc/klm_prot.x: Likewise.
47337         * sunrpc/rpcsvc/mount.x: Likewise.
47338         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47339         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47340         * sunrpc/rpcsvc/rex.x: Likewise.
47341         * sunrpc/rpcsvc/rstat.x: Likewise.
47342         * sunrpc/rpcsvc/rusers.x: Likewise.
47343         * sunrpc/rpcsvc/sm_inter.x: Likewise.
47344         * sunrpc/rpcsvc/spray.x: Likewise.
47345         * sunrpc/rpcsvc/yppasswd.x: Likewise.
47346         * sunrpc/rtime.c: Likewise.
47347         * sunrpc/svc.c: Likewise.
47348         * sunrpc/svc_auth.c: Likewise.
47349         * sunrpc/svc_authux.c: Likewise.
47350         * sunrpc/svc_raw.c: Likewise.
47351         * sunrpc/svc_run.c: Likewise.
47352         * sunrpc/svc_simple.c: Likewise.
47353         * sunrpc/svc_tcp.c: Likewise.
47354         * sunrpc/svc_udp.c: Likewise.
47355         * sunrpc/svc_unix.c: Likewise.
47356         * sunrpc/svcauth_des.c: Likewise.
47357         * sunrpc/xcrypt.c: Likewise.
47358         * sunrpc/xdr.c: Likewise.
47359         * sunrpc/xdr_array.c: Likewise.
47360         * sunrpc/xdr_float.c: Likewise.
47361         * sunrpc/xdr_mem.c: Likewise.
47362         * sunrpc/xdr_rec.c: Likewise.
47363         * sunrpc/xdr_ref.c: Likewise.
47364         * sunrpc/xdr_sizeof.c: Likewise.
47365         * sunrpc/xdr_stdio.c: Likewise.
47366
47367         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47368         handling.
47369
47370 2010-08-19  Andreas Schwab  <schwab@redhat.com>
47371
47372         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47373
47374 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
47375
47376         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47377         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47378         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47379         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47380         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47381         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47382         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47383         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47384         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47385         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47386         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47387         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47388         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47389         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47390
47391 2010-07-26  Anton Blanchard  <anton@samba.org>
47392
47393         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47394         * malloc/arena.c (heap_trim): Likewise.
47395
47396 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
47397
47398         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47399         here.  Not...
47400         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47401         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47402
47403 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
47404
47405         * sysdeps/i386/elf/Makefile: New file.
47406
47407 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47408
47409         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47410         from fanotify_init.
47411         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47412         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47413
47414 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
47415
47416         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47417         of strncasecmp_l.
47418         * sysdeps/multiarch/strcmp.S: Likewise.
47419
47420 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
47421
47422         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47423         strncase_l-nonascii.
47424         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47425         Add strncase_l-ssse3.
47426         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47427         * sysdeps/x86_64/strcmp.S: Likewise.
47428         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47429         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47430         * sysdeps/x86_64/strncase.S: New file.
47431         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47432         * sysdeps/x86_64/strncase_l.S: New file.
47433         * string/Makefile (strop-tests): Add strncasecmp.
47434         * string/test-strncasecmp.c: New file.
47435
47436         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47437         warning.
47438
47439         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47440         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47441
47442 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47443
47444         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47445
47446 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
47447
47448         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47449         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47450         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47451
47452 2010-05-01  Alan Modra  <amodra@gmail.com>
47453
47454         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47455         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47456         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47457         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47458         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47459         tidying.  Don't tail-call __sigjmp_save for static lib.
47460         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47461         save location.
47462         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47463         (CALL_MCOUNT): Add eh info, and nop after bl.
47464         (TAIL_CALL_SYSCALL_ERROR): New macro.
47465         (PSEUDO_RET): Use it.
47466         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47467         Correct save location of integer regs and cr.
47468         (_dl_profile_resolve): Correct cr save location.  Delete nops
47469         after bl when SHARED.  Reduce cfi size a little by better
47470         placement of cfi directives.
47471         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47472         make a stack frame.  Instead use parm save area as a temp.
47473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47474         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
47475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47476         Don't make a stack frame for parent, use parm save area.
47477         Increase child stack frame to 112 bytes.  Don't save unused reg,
47478         and adjust reg usage.  Set up cfi on error recovery and
47479         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47481         (__makecontext): Add dummy nop after jump to exit.
47482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47483         Use correct parm save area and cr save, reduce stack frame.
47484         Correct cfi for possible PSEUDO_RET frame setup.
47485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47486         Branch to local label emitted by PSEUDO_RET rather than
47487         __syscall_error.
47488
47489 2010-08-12  Andreas Schwab  <schwab@redhat.com>
47490
47491         [BZ #11904]
47492         * locale/programs/locale.c (print_assignment): New function.
47493         (show_locale_vars): Use it.
47494
47495 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
47496
47497         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47498         field.
47499         (struct statfs64): Likewise.
47500         (_STATFS_F_FLAGS): Define.
47501         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47502         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47503         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47504         (ST_VALID): Define locally.
47505         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47506         __statvfs_getflags, use the provided value.
47507         * sysdeps/unix/sysv/linux/kernel-features.h: Define
47508         __ASSUME_STATFS_F_FLAGS.
47509
47510         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47511
47512         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47513         Add sys/fanotify.h.
47514         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47515         fanotify_mask for GLIBC_2.13.
47516         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47517         fanotify_init and fanotify_mark.
47518         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47519         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47520
47521         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47522         Add prlimit.
47523         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47524         prlimit64 for GLIBC_2.13.
47525         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47526         prlimit64.
47527         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47528         syscall.
47529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47530         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47531         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47532         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47533         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
47534         add prlimit alias.
47535         * sysdeps/unix/sysv/linux/prlimit.c: New file.
47536
47537         [BZ #11903]
47538         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47539         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47540
47541         * nss/Makefile: Add rules to build and run tst-nss-test1.
47542         * shlib-versions: Add entry for libnss_test1.
47543         * nss/nss_test1.c: New file.
47544         * nss/tst-nss-test1.c: New file.
47545
47546         * nss/nsswitch.c (__nss_database_custom): Define new variable.
47547         (__nss_configure_lookup): Set appropriate entry in
47548         __nss_configure_lookup to true.
47549         * nss/nsswitch.h: Define enum with indeces of databases in
47550         databases and __nss_database_custom arrays.  Declare
47551         __nss_database_custom.
47552         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47553         to avoid using nscd when custom rules are installed.
47554         * nss/getXXbyYY_r.c: Likewise.
47555         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47556
47557         * nss/nss_files/files-parse.c: Whitespace fixes.
47558
47559 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
47560
47561         [BZ #11883]
47562         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47563         * posix/fnmatch_loop.c: Likewise.
47564
47565 2010-07-17  Andi Kleen  <ak@linux.intel.com>
47566
47567         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47568         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47569         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47570         * Versions.def [GLIBC_2.13]: Add.
47571
47572 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
47573
47574         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47575         Also fail if tpwd after pwuid call is NULL.
47576
47577 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47578
47579         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47580         when converting to ms.
47581
47582 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47583
47584         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47585         EOPNOTSUPP errors with ENOTTY.
47586         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47587         EOPNOTSUPP errors with ENOTTY.
47588
47589 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
47590
47591         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47592         Add strcasecmp_l-ssse3.
47593         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47594         strcasecmp.
47595         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47596         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47597         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47598
47599 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
47600
47601         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47602
47603         * string/Makefile (strop-tests): Add strcasecmp.
47604         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47605         strcasecmp_l-nonascii.
47606         (gen-as-const-headers): Add locale-defines.sym.
47607         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47608         * sysdeps/x86_64/strcasecmp.S: New file.
47609         * sysdeps/x86_64/strcasecmp_l.S: New file.
47610         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47611         * sysdeps/x86_64/locale-defines.sym: New file.
47612         * string/test-strcasecmp.c: New file.
47613
47614         * string/test-strcasestr.c: Test both ends of the range of characters.
47615         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47616
47617 2010-07-29  Roland McGrath  <roland@redhat.com>
47618
47619         [BZ #11856]
47620         * manual/locale.texi (Yes-or-No Questions): Fix example code.
47621
47622 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
47623
47624         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47625         for ld.so.
47626
47627 2010-07-27  Andreas Schwab  <schwab@redhat.com>
47628
47629         * manual/memory.texi (Malloc Tunable Parameters): Document
47630         M_PERTURB.
47631
47632 2010-07-26  Roland McGrath  <roland@redhat.com>
47633
47634         [BZ #11840]
47635         * configure.in (-fgnu89-inline check): Set and substitute
47636         gnu89_inline, not libc_cv_gnu89_inline.
47637         * configure: Regenerated.
47638         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47639
47640 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
47641
47642         * string/test-strnlen.c: New file.
47643         * string/Makefile (strop-tests): Add strnlen.
47644         * string/tester.c (test_strnlen): Add a few more test cases.
47645         * string/tst-strlen.c: Better error reporting.
47646
47647         * sysdeps/x86_64/strnlen.S: New file.
47648
47649 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
47650
47651         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47652         lower-latency instructions.
47653
47654 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
47655
47656         * string/test-strcasestr.c: New file.
47657         * string/test-strstr.c: New file.
47658         * string/Makefile (strop-tests): Add strstr and strcasestr.
47659         * string/str-two-way.h: Don't undefine MAX.
47660         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47661
47662 2010-07-21  Andreas Schwab  <schwab@redhat.com>
47663
47664         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47665         strcasestr-nonascii.
47666         (CFLAGS-strcasestr-nonascii.c): Define.
47667         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47668         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47669         Remove unused attribute.
47670
47671 2010-07-20  Roland McGrath  <roland@redhat.com>
47672
47673         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47674         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
47675         ld.so.cache was broken.  With it, there is no way to disable dsocaps
47676         like LD_HWCAP_MASK can disable hwcaps.
47677
47678 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
47679
47680         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47681
47682 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
47683
47684         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47685         call in strcasestr.
47686         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47687         __strcasestr_sse42_nonascii.
47688         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47689         strcasestr-nonascii.c.
47690         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47691
47692 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
47693
47694         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47695         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47696         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47697         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47698
47699 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
47700
47701         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47702         fcntl.
47703
47704 2010-07-06  Andreas Schwab  <schwab@redhat.com>
47705
47706         [BZ #11577]
47707         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47708         dl_signal_cerror.
47709
47710 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
47711
47712         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47713         _PC_PIPE_BUF using F_GETPIPE_SZ.
47714
47715 2010-07-05  Roland McGrath  <roland@redhat.com>
47716
47717         * manual/arith.texi (Rounding Functions): Fix rint description
47718         implicit in round description.
47719
47720 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
47721
47722         * elf/Makefile: Fix linking for a few tests to make recent linker
47723         happy.
47724
47725 2010-06-30  Andreas Schwab  <schwab@redhat.com>
47726
47727         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47728         $(common-objpfx)libc_nonshared.a.
47729
47730 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
47731
47732         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47733         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47734         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47735         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47736         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47737         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47738         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47739         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47754         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47755         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47756         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47757         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47758         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47759         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47760         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47761         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47762         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47763         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47764         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47765         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47780
47781 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
47782
47783         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47784         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
47785         * string/memmove.c (memmove): Renamed to ...
47786         (MEMMOVE): ...this.  Default to memmove.
47787         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47788         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47789         (END_CHK): Define.
47790         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47791         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47792         mempcpy-ssse3-back memmove-ssse3-back.
47793         * sysdeps/x86_64/multiarch/bcopy.S: New file .
47794         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47795         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47796         * sysdeps/x86_64/multiarch/memcpy.S: New file.
47797         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47798         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47799         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47800         * sysdeps/x86_64/multiarch/memmove.c: New file.
47801         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47802         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47803         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47804         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47805         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47806         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47807         Define.
47808         (index_Fast_Copy_Backward): Define.
47809         (HAS_ARCH_FEATURE): Define.
47810         (HAS_FAST_REP_STRING): Define.
47811         (HAS_FAST_COPY_BACKWARD): Define.
47812
47813 2010-06-21  Andreas Schwab  <schwab@redhat.com>
47814
47815         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47816         Restore proper fallback handling.
47817
47818 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
47819
47820         [BZ #11701]
47821         * posix/group_member.c (__group_member): Correct checking loop.
47822
47823         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47824         OOM in getpwuid_r correctly.  Return error number when the caller
47825         should return, otherwise -1.
47826         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47827         call returning > 0 value.
47828         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47829
47830 2010-06-07  Andreas Schwab  <schwab@redhat.com>
47831
47832         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47833         libc_nonshared.a from targets in modules-names.
47834
47835 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
47836
47837         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47838         requires it.
47839
47840 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
47841
47842         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47843         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47844         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47845         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47846
47847 2010-06-02  Andreas Schwab  <schwab@redhat.com>
47848
47849         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47850
47851 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
47852
47853         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47854         and F_GETPIPE_SZ.
47855         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47856         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47857         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47858         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47859         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47860         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47861
47862 2010-06-14  Roland McGrath  <roland@redhat.com>
47863
47864         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47865
47866 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
47867
47868         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47869         __REDIRECT followed by __THROW.
47870         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47871         * posix/getopt.h (getopt): Likewise.
47872
47873 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
47874
47875         * hurd/lookup-at.c (__file_name_lookup_at): Accept
47876         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
47877         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47878         in AT_FLAGS.
47879         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47880         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47881
47882 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
47883
47884         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47885
47886 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
47887
47888         [BZ #11640]
47889         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47890         Properly check family and model.
47891
47892 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
47893
47894         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47895
47896 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
47897
47898         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47899
47900 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
47901
47902         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47903         symbol reference.
47904
47905 2010-05-19  Andreas Schwab  <schwab@redhat.com>
47906
47907         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47908         symbol reference.
47909
47910 2010-05-21  Andreas Schwab  <schwab@redhat.com>
47911
47912         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47913         and internal_recvmmsg.
47914         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47915         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47916         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47917         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47918
47919         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47920         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47921         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47922
47923 2010-05-20  Andreas Schwab  <schwab@redhat.com>
47924
47925         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47926
47927 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
47928
47929         POWER7 optimizations.
47930         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47931         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47932
47933 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
47934
47935         * version.h: Update for 2.13 development version.
47936
47937 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
47938
47939         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47940         exceptions.  Return 0.
47941
47942 2010-05-07  Roland McGrath  <roland@redhat.com>
47943
47944         * elf/ldconfig.c (main): Add a const.
47945
47946 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
47947
47948         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47949         (args_options): Add no-idn option.
47950         (ahosts_keys_int): Add idn_flags to ai_flags.
47951         (parse_option): Handle 'i' option to clear idn_flags.
47952
47953         * malloc/malloc.c (_int_free): Possible race in the most recently
47954         added check.  Only act on the data if no current modification
47955         happened.
47956
47957 See ChangeLog.17 for earlier changes.