1 2014-05-14 Roland McGrath <roland@hack.frob.com>
3 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
7 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
8 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
9 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
10 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
14 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
15 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
17 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
18 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
19 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
20 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
21 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
22 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
23 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
24 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
25 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
26 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
27 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
28 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
29 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
30 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
31 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
33 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
35 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
37 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
39 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
41 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
43 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
45 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
47 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
49 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
51 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
52 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
53 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
54 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
55 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
57 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
58 that was previously under [RESET_PID].
59 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
60 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
61 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
63 * sysdeps/i386/nptl/Implies: New file.
64 * sysdeps/x86_64/nptl/Implies: New file.
65 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
66 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
67 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
68 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
70 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
71 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
72 (__libc_vfork): New strong alias.
73 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
74 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
76 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
77 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
78 (__libc_vfork): New strong alias.
79 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
80 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
82 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
83 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
84 (__libc_vfork): New strong alias.
85 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
86 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
87 * nptl/pt-vfork.c: New file.
88 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
89 (libpthread: GLIBC_2.20): New version set (empty).
91 2014-05-14 Will Newton <will.newton@linaro.org>
93 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
96 2014-05-14 Joseph Myers <joseph@codesourcery.com>
99 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
100 arguments with exponent 65 or above.
101 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
102 arguments 0x1p113L or above.
103 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
104 to arguments 0x1p107L or above.
105 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
106 positive arguments with exponent 65 or above.
107 * math/auto-libm-test-in: Add more tests of log1p.
108 * math/auto-libm-test-out: Regenerated.
111 * math/s_cacos.c (__cacos): Ensure zero real part of result from
112 non-finite arguments is +0.
113 * math/s_cacosf.c (__cacosf): Likewise.
114 * math/s_cacosl.c (__cacosl): Likewise.
115 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
116 * sysdeps/i386/fpu/libm-test-ulps: Update.
117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
120 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
122 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
123 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
124 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
125 for explicit high bit of mantissa when testing for argument equal
127 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
128 * sysdeps/i386/fpu/libm-test-ulps: Update.
129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
132 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
133 (__erf): Scale by 16 instead of 8 in potentially underflowing
134 case. Ensure exception if result actually underflows.
135 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
136 (__erff): Scale by 16 instead of 8 in potentially underflowing
137 case. Ensure exception if result actually underflows.
138 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
139 (efx8): Remove variable.
140 (__erfl): Scale by 16 instead of 8 in potentially underflowing
141 case. Ensure exception if result actually underflows.
142 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
143 (efx8): Remove variable.
144 (__erfl): Scale by 16 instead of 8 in potentially underflowing
145 case. Ensure exception if result actually underflows.
146 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
147 (efx8): Remove variable.
148 (__erfl): Scale by 16 instead of 8 in potentially underflowing
149 case. Ensure exception if result actually underflows.
150 * math/auto-libm-test-in: Add more tests of erf.
151 * math/auto-libm-test-out: Regenerated.
153 2014-05-14 Andreas Schwab <schwab@suse.de>
155 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
156 Remove code conditionalized on USE___THREAD.
158 * config.h.in (HAVE_PT_CHOWN): Define as 0.
159 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
162 2014-05-14 Joseph Myers <joseph@codesourcery.com>
164 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
165 Define unconditionally.
166 (__ASSUME_O_CLOEXEC): Likewise.
167 (__ASSUME_SOCK_CLOEXEC): Likewise.
168 (__ASSUME_IN_NONBLOCK): Likewise.
169 (__ASSUME_PIPE2): Likewise.
170 (__ASSUME_EVENTFD2): Likewise.
171 (__ASSUME_SIGNALFD4): Likewise.
172 (__ASSUME_DUP3): Likewise.
173 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
174 (__ASSUME_DUP3): Do not define.
175 (__ASSUME_EVENTFD2): Likewise.
176 (__ASSUME_IN_NONBLOCK): Likewise.
177 (__ASSUME_O_CLOEXEC): Likewise.
178 (__ASSUME_PIPE2): Likewise.
179 (__ASSUME_SIGNALFD4): Likewise.
180 (__ASSUME_SOCK_CLOEXEC): Likewise.
181 (__ASSUME_UTIMES): Undefine.
182 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
183 (__ASSUME_UTIMES): Do not define.
184 (__ASSUME_O_CLOEXEC): Likewise.
185 (__ASSUME_SOCK_CLOEXEC): Likewise.
186 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
187 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
189 (__ASSUME_PIPE2): Likewise.
190 (__ASSUME_EVENTFD2): Likewise.
191 (__ASSUME_SIGNALFD4): Likewise.
192 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
193 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
195 (__ASSUME_EVENTFD2): Likewise.
196 (__ASSUME_SIGNALFD4): Likewise.
197 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
198 (__ASSUME_32BITUIDS): Likewise.
199 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
200 (__ASSUME_IPC64): Likewise.
201 (__ASSUME_ST_INO_64_BIT): Likewise.
202 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
203 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
204 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
205 (__ASSUME_UTIMES): Do not define.
206 (__ASSUME_PSELECT): Likewise.
207 (__ASSUME_PPOLL): Likewise.
208 (__ASSUME_O_CLOEXEC): Likewise.
209 (__ASSUME_SOCK_CLOEXEC): Likewise.
210 (__ASSUME_IN_NONBLOCK): Likewise.
211 (__ASSUME_PIPE2): Likewise.
212 (__ASSUME_EVENTFD2): Likewise.
213 (__ASSUME_SIGNALFD4): Likewise.
214 (__ASSUME_DUP3): Likewise.
215 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
216 (__ASSUME_UTIMES): Likewise.
217 (__ASSUME_O_CLOEXEC): Likewise.
218 (__ASSUME_SOCK_CLOEXEC): Likewise.
219 (__ASSUME_IN_NONBLOCK): Likewise.
220 (__ASSUME_PIPE2): Likewise.
221 (__ASSUME_EVENTFD2): Likewise.
222 (__ASSUME_SIGNALFD4): Likewise.
223 (__ASSUME_DUP3): Likewise.
224 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
225 (__ASSUME_UTIMES): Likewise.
226 (__ASSUME_O_CLOEXEC): Likewise.
227 (__ASSUME_SOCK_CLOEXEC): Likewise.
228 (__ASSUME_IN_NONBLOCK): Likewise.
229 (__ASSUME_PIPE2): Likewise.
230 (__ASSUME_EVENTFD2): Likewise.
231 (__ASSUME_SIGNALFD4): Likewise.
232 (__ASSUME_DUP3): Likewise.
233 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
235 (__ASSUME_UTIMES): Likewise.
236 (__ASSUME_EVENTFD2): Likewise.
237 (__ASSUME_SIGNALFD4): Likewise.
238 * sysdeps/unix/sysv/linux/tile/kernel-features.h
239 (__ASSUME_O_CLOEXEC): Likewise.
240 (__ASSUME_SOCK_CLOEXEC): Likewise.
241 (__ASSUME_IN_NONBLOCK): Likewise.
242 (__ASSUME_PIPE2): Likewise.
243 (__ASSUME_EVENTFD2): Likewise.
244 (__ASSUME_SIGNALFD4): Likewise.
245 (__ASSUME_DUP3): Likewise.
246 (__ASSUME_UTIMES): Undefine.
248 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
249 feclearexcept. Remove symbol versioning code.
250 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
251 symbol versioning code.
252 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
253 symbol versioning code.
254 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
255 feupdateenv. Remove symbol versioning code.
256 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
257 fegetexceptflag. Remove symbol versioning code.
258 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
259 fesetexceptflag. Remove symbol versioning code.
260 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
261 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
262 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
263 (__posix_fadvise64_l32): Remove prototype.
264 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
267 2014-05-13 Roland McGrath <roland@hack.frob.com>
269 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
270 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
271 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
272 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
274 2014-05-13 Sami Kerola <kerolasa@iki.fi>
276 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
277 current working directory
279 2014-05-13 Roland McGrath <roland@hack.frob.com>
281 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
282 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
283 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
284 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
285 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
286 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
287 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
288 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
289 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
290 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
291 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
292 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
293 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
294 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
295 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
296 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
297 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
298 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
299 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
300 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
301 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
302 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
303 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
304 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
305 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
306 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
307 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
308 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
309 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
310 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
311 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
312 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
313 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
314 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
315 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
316 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
317 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
318 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
319 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
320 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
321 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
322 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
324 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
325 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
327 * sysdeps/unix/sysv/linux/arm/Makefile
328 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
329 Add rt-aeabi_unwind_cpp_pr1.
330 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
331 Add nptl-aeabi_unwind_cpp_pr1.
332 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
333 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
334 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
335 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
336 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
337 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
339 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
340 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
341 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
342 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
344 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
345 Deconditionalize the code that was previously under [RESET_PID].
346 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
348 * sysdeps/generic/exit-thread.h: New file.
349 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
350 * include/unistd.h (__exit_thread): Remove declaration.
351 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
352 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
353 * csu/libc-start.c: Include <exit-thread.h>.
354 (LIBC_START_MAIN): Pass no argument to __exit_thread.
355 * nptl/pthread_create.c: Include <exit-thread.h>.
356 (start_thread): Call __exit_thread in place of __exit_thread_inline.
357 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
358 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
359 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
360 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
361 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
362 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
363 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
364 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
365 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
366 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
367 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
368 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
369 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
370 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
371 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
372 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
374 2014-05-13 Andreas Schwab <schwab@suse.de>
376 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
378 2014-05-12 Joseph Myers <joseph@codesourcery.com>
380 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
381 (__ASSUME_UTIMES): Do not condition on kernel version.
382 (__ASSUME_PSELECT): Define unconditionally.
383 (__ASSUME_PPOLL): Likewise.
384 (__ASSUME_ATFCTS): Likewise.
385 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
386 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
387 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
388 (__ASSUME_UTIMENSAT): Define unconditionally.
389 (__ASSUME_PRIVATE_FUTEX): Likewise.
390 (__ASSUME_FALLOCATE): Likewise.
391 (__ASSUME_O_CLOEXEC): Likewise.
392 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
393 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
394 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
395 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
396 (__ASSUME_IN_NONBLOCK): Likewise.
397 (__ASSUME_PIPE2): Likewise.
398 (__ASSUME_EVENTFD2): Likewise.
399 (__ASSUME_SIGNALFD4): Likewise.
400 (__ASSUME_DUP3): Likewise.
401 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
402 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
403 (__ASSUME_AT_RANDOM): Likewise.
404 (__ASSUME_PREADV): Likewise.
405 (__ASSUME_PWRITEV): Likewise.
406 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
407 (__ASSUME_F_GETOWN_EX): Define unconditionally.
408 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
409 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
410 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
411 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
412 (__ASSUME_O_CLOEXEC): Define unconditionally.
413 (__ASSUME_PSELECT): Do not undefine conditionally.
414 (__ASSUME_PPOLL): Likewise.
415 (__ASSUME_ATFCTS): Likewise.
416 (__ASSUME_SET_ROBUST_LIST): Likewise.
417 (__ASSUME_UTIMENSAT): Likewise.
418 (__ASSUME_FDATASYNC): Define unconditionally.
419 * sysdeps/unix/sysv/linux/arm/kernel-features.h
420 (__ASSUME_SIGFRAME_V2): Likewise.
421 )__ASSUME_EVENTFD2): Likewise.
422 (__ASSUME_SIGNALFD4): Likewise.
423 (__ASSUME_PSELECT): Do not undefine conditionally.
424 (__ASSUME_PPOLL): Likewise.
425 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
426 (__ASSUME_PSELECT): Define unconditionally.
427 (__ASSUME_PPOLL): Likewise.
428 (__ASSUME_O_CLOEXEC): Likewise.
429 (__ASSUME_SOCK_CLOEXEC): Likewise.
430 (__ASSUME_IN_NONBLOCK): Likewise.
431 (__ASSUME_PIPE2): Likewise.
432 (__ASSUME_EVENTFD2): Likewise.
433 (__ASSUME_SIGNALFD4): Likewise.
434 (__ASSUME_DUP3): Likewise.
435 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
436 (__ASSUME_O_CLOEXEC): Likewise.
437 (__ASSUME_SOCK_CLOEXEC): Likewise.
438 (__ASSUME_IN_NONBLOCK): Likewise.
439 (__ASSUME_PIPE2): Likewise.
440 (__ASSUME_EVENTFD2): Likewise.
441 (__ASSUME_SIGNALFD4): Likewise.
442 (__ASSUME_DUP3): Likewise.
443 * sysdeps/unix/sysv/linux/mips/kernel-features.h
444 (__ASSUME_EVENTFD2): Likewise.
445 (__ASSUME_SIGNALFD4): Likewise.
446 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
448 2014-05-12 Andreas Schwab <schwab@suse.de>
451 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
452 (_nss_nis_gethostbyname4_r): Return error if item length is larger
453 than maximum RPC packet size.
454 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
455 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
456 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
457 (_nss_nis_getservbyport_r): Likewise.
459 2014-05-12 Will Newton <will.newton@linaro.org>
461 * malloc/Makefile (tests): Add tst-mallopt.
462 * malloc/tst-mallopt.c: New file.
464 2014-05-09 Roland McGrath <roland@hack.frob.com>
466 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
467 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
469 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
471 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
472 (tst-tlsmod6.so): Likewise.
474 2014-05-09 Roland McGrath <roland@hack.frob.com>
476 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
478 2014-05-09 Joseph Myers <joseph@codesourcery.com>
481 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
483 (__fegetenv): Save SSE state in envp->__eip if supported.
484 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
485 envp->__eip if supported.
486 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
488 (__fesetenv): Always set __eip, __cs_selector, __opcode,
489 __data_offset and __data_selector in environment to 0. Set SSE
491 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
493 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
495 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
497 2014-05-09 Will Newton <will.newton@linaro.org>
499 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
500 and libc_relro_required for ARM.
501 * sysdeps/arm/preconfigure: Regenerate.
503 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
504 Stefan Liebler <stli@linux.vnet.ibm.com>
506 * config.make.in (enable-lock-elision): New Makefile variable.
507 * configure.ac: Likewise.
508 * configure: Regenerate.
509 * sysdeps/s390/configure.ac:
510 Add check for gcc transactions support.
511 * sysdeps/s390/configure: Regenerate.
512 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
513 Build elision files if enabled.
514 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
515 Add lock elision support for s390.
516 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
517 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
518 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
519 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
520 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
521 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
522 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
524 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
526 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
528 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
530 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
531 (__lll_timedlock_elision, __lll_lock_elision)
532 (__lll_unlock_elision, __lll_trylock_elision)
533 (lll_timedlock_elision, lll_lock_elision)
534 (lll_unlock_elision, lll_trylock_elision): Add.
535 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
536 (pthread_mutex_t): Add lock elision support for s390.
538 2014-05-09 Will Newton <will.newton@linaro.org>
540 * sysdeps/arm/armv7/strcmp.S: New file.
541 * NEWS: Mention addition of ARMv7 optimized strcmp.
543 2014-05-08 Roland McGrath <roland@hack.frob.com>
545 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
546 look for %.ac rather than %.in.
548 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
549 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
550 * sysdeps/mach/hurd/configure: Regenerated.
551 * sysdeps/unix/sysv/linux/configure: Regenerated.
553 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
555 2014-05-07 Steve Ellcey <sellcey@mips.com>
558 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
562 2014-05-07 Andreas Schwab <schwab@suse.de>
564 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
565 when skipping over non-matching result from nscd.
567 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
570 * nptl/sockperf.c (client): Check socket return value.
573 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
576 2014-05-06 Roland McGrath <roland@hack.frob.com>
578 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
579 * sysdeps/arm/unwind.h: ... here.
581 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
584 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
587 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
589 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
590 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
591 multiarch strncpy for PPC64.
592 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
593 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
594 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
595 multiarch optimizations.
596 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
597 (__libc_ifunc_impl_list): Likewise.
598 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
599 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
600 multiarch stpncpy for PPC64.
601 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
602 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
604 2014-05-06 Andreas Schwab <schwab@suse.de>
607 * gmon/mcount.c (_MCOUNT_DECL): Use
608 atomic_compare_and_exchange_bool_acq instead of
609 catomic_compare_and_exchange_bool_acq.
611 2014-05-05 Roland McGrath <roland@hack.frob.com>
613 * elf/Makefile (others, install-bin): Remove pldd.
614 (pldd-modules): Variable removed.
615 ($(objpfx)pldd): Target removed.
616 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
617 (others, install-bin): Append pldd here.
618 ($(objpfx)pldd): New target.
620 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
621 to 0, so the first #if test emitted later doesn't see it undefined.
622 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
623 * sysdeps/gnu/errlist.c: Regenerated.
625 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
627 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
628 [libc_hidden_builtin_def]: Define to empty value.
629 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
630 [libc_hidden_builtin_def]: Likewise.
631 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
632 [libc_hidden_builtin_def]: Likewise.
633 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
634 [libc_hidden_builtin_def]: Likewise.
635 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
636 __redirect_memcpy and define ifunc as default hidden symbol.
637 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
638 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
640 2014-05-04 Adam Conrad <adconrad@0c3.net>
642 * locale/iso-4217.def: Reintroduce XDR currency.
644 2014-05-04 Allan McRae <allan@archlinux.org>
646 * po/eo.po: Update Esperanto translation from translation project.
648 2014-05-02 Carlos O'Donell <carlos@redhat.com>
650 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
651 and FEATURE_INDEX_MAX to 1.
652 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
654 2014-05-01 Steve Ellcey <sellcey@mips.com>
656 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
657 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
658 * iconvdata/big5.c (ONE_DIRECTION): Define.
659 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
660 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
661 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
662 * iconvdata/cp932.c (ONE_DIRECTION): Define.
663 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
664 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
665 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
666 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
667 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
668 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
669 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
670 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
671 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
672 * iconvdata/gbk.c (ONE_DIRECTION): Define.
673 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
674 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
675 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
676 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
677 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
678 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
679 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
680 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
681 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
682 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
683 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
684 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
685 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
686 * iconvdata/iso646.c (ONE_DIRECTION): Define.
687 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
688 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
689 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
690 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
691 * iconvdata/johab.c (ONE_DIRECTION): Define.
692 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
693 * iconvdata/sjis.c (ONE_DIRECTION): Define.
694 * iconvdata/t.61.c (ONE_DIRECTION): Define.
695 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
696 * iconvdata/tscii.c (ONE_DIRECTION): Define.
697 * iconvdata/uhc.c (ONE_DIRECTION): Define.
698 * iconvdata/unicode.c (ONE_DIRECTION): Define.
699 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
700 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
701 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
703 2014-05-01 Roland McGrath <roland@hack.frob.com>
705 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
706 (_IO_JUMPS_OFFSET): Define to 0.
708 * nptl/sysdeps/pthread/bits/libc-lock.h
709 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
710 (__libc_lock_define_initialized_recursive): Always define using
711 initializer. Modern compilers treat uninitialized (implicit zero) and
712 explicit zero initializers the same (i.e. put the datum in bss).
714 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
716 * nscd/nscd-client.h: Include <string.h>.
718 2014-05-01 David S. Miller <davem@davemloft.net>
721 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
722 multiple zero bytes exist at the end of a string.
723 Reported by Aurelien Jarno <aurelien@aurel32.net>
725 * string/test-strcmp.c (check): Add explicit test for situations where
726 there are multiple zero bytes after the first.
728 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
731 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
732 when compiling wprintf.
733 * stdio-common/tstdiomisc.c (t3): New function.
736 2014-05-01 Steve Ellcey <sellcey@mips.com>
738 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
739 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
740 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
741 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
743 2014-05-01 Steve Ellcey <sellcey@mips.com>
745 * stdlib/longlong.h: Updated from GCC.
747 2014-05-01 Will Newton <will.newton@linaro.org>
748 Bernard Ogden <bernie.ogden@linaro.org>
750 * NEWS: Update fixed bug list.
753 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
755 2014-04-30 David S. Miller <davem@davemloft.net>
757 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
758 (libc_feholdexcept_setround_sparc_ctx): New function.
759 (libc_fesetenv_sparc_ctx): Likewise.
760 (libc_feupdateenv_sparc_ctx): Likewise.
761 (libc_feholdsetround_sparc_ctx): Likewise.
762 (libc_feholdexcept_setround_ctx): Define.
763 (libc_feholdexcept_setroundf_ctx): Likewise.
764 (libc_feholdexcept_setroundl_ctx): Likewise.
765 (libc_fesetenv_ctx): Likewise.
766 (libc_fesetenvf_ctx): Likewise.
767 (libc_fesetenvl_ctx): Likewise.
768 (libc_feupdateenv_ctx): Likewise.
769 (libc_feupdateenvf_ctx): Likewise.
770 (libc_feupdateenvl_ctx): Likewise.
771 (libc_feresetround_ctx): Likewise.
772 (libc_feresetroundf_ctx): Likewise.
773 (libc_feresetroundl_ctx): Likewise.
774 (libc_feholdsetround_ctx): Likewise.
775 (libc_feholdsetroundf_ctx): Likewise.
776 (libc_feholdsetroundl_ctx): Likewise.
778 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
779 with __USE_GNU instead of XOPEN cpp guards.
781 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
784 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
785 with XOPEN cpp guards.
787 2014-04-30 Julian Brown <julian@codesourcery.com>
790 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
793 2014-04-30 Joseph Myers <joseph@codesourcery.com>
796 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
798 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
799 * sysdeps/unix/sysv/linux/configure: Regenerated.
800 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
801 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
802 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
803 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
804 * README: Update reference to required Linux kernel version.
805 * manual/install.texi (Linux): Update reference to required Linux
806 kernel headers version.
807 * INSTALL: Regenerated.
809 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
811 [POSIX] (limits.h): Likewise.
812 [POSIX] (math.h): Likewise.
813 [POSIX] (sys/wait.h): Likewise.
814 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
816 [POSIX] (stddef.h): Do not allow header inclusion.
818 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
820 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
822 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
824 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
825 Return immediately after lll_futex_wake.
827 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
830 * nscd/nscd-client.h (datahead_init_common): Initialize entire
832 (datahead_init_pos): Call datahead_init_common early.
833 (datahead_init_neg): Likewise.
835 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
836 datahead_init_neg): New functions.
837 * nscd/aicache.c (addhstaiX): Use them.
838 * nscd/grpcache.c (cache_addgr): Likewise.
839 * nscd/hstcache.c (cache_addhst): Likewise.
840 * nscd/initgrcache.c (addinitgroupsX): Likewise.
841 * nscd/netgroupcache.c (do_notfound): Likewise.
842 (addgetnetgrentX): Likewise.
843 (addinnetgrX): Likewise.
844 * nscd/pwdcache.c (cache_addpw): Likewise.
845 * nscd/servicescache.c (cache_addserv): Likewise.
847 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
848 Atsushi Onoe <atsushi@onoe.org>
853 * resolv/res_query.c (__libc_res_nsearch): Return if at least
854 one response is valid.
855 * resolv/res_send.c (send_dg): Check for validity of other
856 response if the current response is a referral.
858 2014-04-29 Steve Ellcey <sellcey@mips.com>
860 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
862 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
865 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
866 Always divide by positive zero when computing -Inf result.
867 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
868 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
870 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
872 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
873 FPSCR if value do not change.
874 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
875 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
876 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
877 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
878 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
879 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
882 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
884 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
885 * sysdeps/unix/sysv/linux/hppa: Move directory from
886 ports/systeps/unix/sysv/linux/hppa.
887 * README: Update listing for hppa-*-linux-gnu.
889 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
892 * manual/stdio.texi (Hook functions): Fix types of stream hook
895 * socket/sys/socket.h: Fix typo in comment.
897 2014-04-28 Wilco <wdijkstr@arm.com>
899 * sysdeps/arm/fenv_private.h: New file.
900 * sysdeps/arm/math_private.h: New file.
901 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
903 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
905 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
907 (La_x86_64_retval): Likewise.
909 2014-04-24 Ian Bolton <ian.bolton@arm.com>
911 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
912 fpsr if value didn't change.
913 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
914 to fpcr if value didn't change.
915 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
916 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
917 fpsr or fpcr if value didn't change.
918 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
919 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
920 fpcr if value didn't change.
921 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
922 to fpsr if value didn't change.
924 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
926 * nptl/tst-sem3.c: Use test-skeleton.c
927 (main): Rename to do_test. Use return instead of
929 * nptl/tst-sem4.c: Use test-skeleton.c
930 (main): Rename to do_test.
932 2014-04-22 David S. Miller <davem@davemloft.net>
934 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
935 (struct sigaction): New struct member __glibc_reserved0, change
936 type of sa_flags to int.
938 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
940 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
941 (COUNT_LEADING_ZEROS_0): Define for AArch64.
943 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
945 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
946 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
948 2014-04-22 Will Newton <will.newton@linaro.org>
949 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
951 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
952 (__longjmp): Add longjmp and longjmp_target SystemTap
954 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
955 (__sigsetjmp): Add setjmp SystemTap probe.
957 2014-04-17 Carlos O'Donell <carlos@redhat.com>
959 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
962 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
964 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
966 * sysdeps/powerpc/fpu/fenv_private.h
967 (libc_feholdexcept_setroundl_ctx): Define to
968 libc_feholdexcept_setround_ppc_ctx.
969 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
970 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
971 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
972 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
974 2014-04-17 Ian Bolton <ian.bolton@arm.com>
976 * sysdeps/aarch64/math-tests.h: New file.
978 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
980 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
982 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
983 Check and set bit_AVX2_Usable.
984 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
986 (bit_AVX2): Likewise.
987 (index_AVX2_Usable): Likewise.
988 (CPUID_AVX2): Likewise.
989 (HAS_AVX2): Likewise.
991 2014-04-17 Will Newton <will.newton@linaro.org>
993 * manual/setjmp.texi (System V contexts): Add note that
994 calling setcontext on a context created by a call to a
995 signal handler is undefined. Update text to note that
996 setcontext from a signal handler is possible but not
1000 * stdlib/tst-setcontext.c: Include signal.h.
1001 (main): Check that the signal stack before and
1002 after swapcontext is the same.
1004 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
1005 Re-implement to restore registers in user code and avoid
1006 rt_sigreturn system call.
1008 2014-04-17 Wilco <wdijkstr@arm.com>
1010 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
1011 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
1012 * math/test-fenv.c: Skip exception trap tests on targets which only
1013 support non-stop mode.
1015 2014-04-17 Ian Bolton <ian.bolton@arm.com>
1016 Wilco Dijkstra <wilco.dijkstra@arm.com>
1018 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1019 (libc_feholdsetround_aarch64_ctx)
1020 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1021 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1022 (libc_feresetround_ctx, libc_feresetroundf_ctx)
1023 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1024 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1025 (libc_feresetround_noexl_ctx): Define.
1027 2014-04-16 Richard Henderson <rth@redhat.com>
1029 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1031 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1034 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1035 const from the non-libc, non-ldso copy.
1037 * sysdeps/alpha/libm-test-ulps: Regenerate.
1039 2014-04-16 Ian Bolton <ian.bolton@arm.com>
1040 Wilco Dijkstra <wilco.dijkstra@arm.com>
1042 * sysdeps/aarch64/fpu/math_private.h: New file.
1044 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
1046 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1048 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
1050 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1051 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1052 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1053 Intel MPX bound registers before _dl_profile_fixup.
1054 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1055 registers after _dl_profile_fixup. Save and restore bound
1056 registers bnd0/bnd1 when calling _dl_call_pltexit.
1057 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1058 (LR_BND_OFFSET): Likewise.
1059 (LRV_BND0_OFFSET): Likewise.
1060 (LRV_BND1_OFFSET): Likewise.
1062 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1064 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1066 * sysdeps/mach/hurd/i386/tls.h: ... here.
1067 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1068 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1071 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1073 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1075 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1077 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1079 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1082 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1083 * sysdeps/s390/configure: Regenerate.
1086 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1087 Set round-to-nearest internally to reduce error accumulation.
1089 2014-04-16 Alan Modra <amodra@gmail.com>
1093 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1094 * math/libm-test.inc (frexp_test_data): Add tests.
1095 * NEWS: Update fixed bug list.
1097 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1099 * benchtests/Makefile: Depend on libraries in build directory.
1100 (bench-math): Separate out math tests.
1101 (bench-pthread): Separate out pthread tests.
1102 (bench): Include math and pthread tests.
1104 2014-04-14 Carlos O'Donell <carlos@redhat.com>
1107 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1108 _dl_debug_initialize.
1110 * configure.ac: Remove SELinux header check.
1111 * configure: Regenerate.
1112 * nscd/selinux.c (perms): Array of const char* to permission names.
1113 (nscd_request_avc_has_perm): Call security_deny_unknown to find
1114 default policy. Call string_to_security_class and string_to_av_perm to
1115 translate strings. Enforce default policy and call avs_has_perm with
1116 results of translated strings.
1118 2014-04-13 David S. Miller <davem@davemloft.net>
1120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1122 2014-04-12 Allan McRae <allan@archlinux.org>
1125 * manual/string.texi (Collation Functions): Fix qsort argument
1127 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1129 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
1131 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1132 Make the test a no-op if there are no exceptions defined.
1134 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1136 * elf/Makefile (tests): make tst-dlopen-aout conditional on
1137 enable-hardcoded-path-in-tests
1139 2014-04-11 Will Newton <will.newton@linaro.org>
1141 * benchtests/Makefile (extra-objs): Add json-lib.o.
1142 (bench-func): Tidy up JSON output.
1143 * benchtests/bench-skeleton.c: Include json-lib.h.
1144 (main): Use JSON library functions to do output of
1146 * benchtests/bench-timing-type.c (main): Output the
1147 timing type simply, leaving formatting to the user.
1148 * benchtests/json-lib.c: New file.
1149 * benchtests/json-lib.h: Likewise.
1151 2014-04-11 Torvald Riegel <triegel@redhat.com>
1154 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1155 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
1156 memory barriers. Add comments.
1157 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1158 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1159 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1160 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1161 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1162 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1164 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1166 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1167 * sysdeps/s390/s390-64/configure.ac: ... this ...
1168 * sysdeps/s390/configure.ac: ... to here.
1169 * sysdeps/s390/s390-32/configure: Delete file.
1170 * sysdeps/s390/s390-64/configure: Delete file.
1171 * sysdeps/s390/configure: Regenerate.
1173 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
1175 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1177 2014-04-11 Will Newton <will.newton@linaro.org>
1179 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1180 to zero if it is not defined elsewhere. (mtrim): Test
1181 the value of MALLOC_DEBUG with #if rather than #ifdef.
1183 2014-04-10 Torvald Riegel <triegel@redhat.com>
1185 * benchtests/pthread_once-inputs: New file.
1186 * benchtests/pthread_once-source.c: New file.
1187 * benchtests/README: Update documentation.
1189 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
1190 H.J. Lu <hongjiu.lu@intel.com>
1192 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1193 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1194 * sysdeps/x86_64/configure: Regenerated.
1195 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1197 (REGISTER_SAVE_RAX): Likewise.
1198 (REGISTER_SAVE_RCX): Likewise.
1199 (REGISTER_SAVE_RDX): Likewise.
1200 (REGISTER_SAVE_RSI): Likewise.
1201 (REGISTER_SAVE_RDI): Likewise.
1202 (REGISTER_SAVE_R8): Likewise.
1203 (REGISTER_SAVE_R9): Likewise.
1204 (REGISTER_SAVE_BND0): Likewise.
1205 (REGISTER_SAVE_BND1): Likewise.
1206 (REGISTER_SAVE_BND2): Likewise.
1207 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
1208 bound registers when calling _dl_fixup.
1210 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1212 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
1213 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1215 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1216 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1217 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1218 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1219 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1220 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1221 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1223 2014-04-09 Peter Brett <peter@peter-b.co.uk>
1226 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1227 pathconf(_PC_NAME_MAX).
1229 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1231 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1233 (__PTHREAD_SPINS): Move definition to ...
1234 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1235 (__PTHREAD_SPINS): ... here.
1236 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1237 (__PTHREAD_SPIN): Likewise.
1238 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1239 (__PTHREAD_SPIN): Likewise.
1240 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1241 (__PTHREAD_SPIN): Likewise.
1242 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1243 (__PTHREAD_SPIN): Likewise.
1244 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1245 (__PTHREAD_SPIN): Likewise.
1246 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1247 (__PTHREAD_SPIN): Likewise.
1248 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
1249 (__PTHREAD_SPIN): Likewise.
1250 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1251 (__PTHREAD_SPIN): Likewise.
1252 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1253 (__PTHREAD_SPIN): Likewise.
1254 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1255 (__PTHREAD_SPIN): Likewise.
1256 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1257 (__PTHREAD_SPIN): Likewise.
1258 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
1259 (__PTHREAD_SPIN): Likewise.
1261 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
1262 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
1263 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
1264 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
1266 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
1267 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
1268 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
1269 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
1271 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
1272 strlen symbol for non multi-arch builds.
1273 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
1274 missing hidden_def and weak_alias.
1276 2014-04-08 Carlos O'Donell <carlos@redhat.com>
1278 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
1280 2014-04-07 Will Newton <will.newton@linaro.org>
1282 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
1283 and contents. [!_LIBC] Remove #ifndef and contents.
1284 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
1285 * string/memccpy.c (__memccpy): Use ANSI prototype.
1286 * string/memfrob.c (memfrob): Likewise.
1287 * string/strcoll.c (STRCOLL): Likewise.
1288 * string/strlen.c (strlen): Likewise.
1289 * string/strtok.c (STRTOK): Likewise.
1290 * string/strcat.c: Remove unused #include of memcopy.h.
1291 (strcat): Use ANSI prototype.
1292 * string/strchr.c: Remove unused #include of memcopy.h.
1293 (strchr): Use ANSI prototype.
1294 * string/strcmp.c: Remove unused #include of memcopy.h.
1295 (strcmp): Use ANSI prototype.
1296 * string/strcpy.c: Remove unused #include of memcopy.h.
1297 (strcpy): Use ANSI prototype.
1299 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1301 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
1302 * config.make.in (config-extra-cppflags): Set it from
1303 libc_extra_cppflags.
1304 * configure.ac (libc_extra_cflags): Make it accumulate over
1305 configure fragments.
1306 (libc_extra_cppflags): New flag.
1307 * configure. Regenerate.
1308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1309 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
1310 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
1311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1314 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
1315 result for FE_DOWNWARD rounding mode.
1316 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1320 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
1322 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
1323 in function argument name.
1325 2014-04-03 David Svoboda <svoboda@cert.org>
1328 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
1331 2014-04-03 Roland McGrath <roland@hack.frob.com>
1333 * elf/dl-unmap-segments.h: New file.
1334 * sysdeps/generic/ldsodefs.h
1335 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
1336 * elf/dl-close.c: Include <dl-unmap-segments.h>.
1337 * elf/dl-fptr.c: Likewise.
1338 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
1339 * sysdeps/aarch64/tlsdesc.c: Likewise.
1340 * sysdeps/arm/tlsdesc.c: Likewise.
1341 * sysdeps/i386/tlsdesc.c: Likewise.
1342 * sysdeps/tile/dl-runtime.c: Likewise.
1343 * sysdeps/x86_64/tlsdesc.c: Likewise.
1344 * elf/dl-load.h: New file.
1345 * elf/dl-load.c: Include it.
1346 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
1347 Macros moved to dl-load.h.
1348 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
1349 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
1350 Use _dl_unmap_segments in place of __munmap.
1351 Break out segment-mapping loop into ...
1352 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
1354 2014-04-03 Will Newton <will.newton@linaro.org>
1356 * elf/dl-lookup.c (do_lookup_x): Remove comment
1357 referring to nested function and move variable
1358 declarations down to before first use.
1360 2014-04-02 Joseph Myers <joseph@codesourcery.com>
1364 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
1366 * math/s_catanf.c (__catanf): Likewise.
1367 * math/s_catanh.c (__catanh): Likewise.
1368 * math/s_catanhf.c (__catanhf): Likewise.
1369 * math/s_catanhl.c (__catanhl): Likewise.
1370 * math/s_catanl.c (__catanl): Likewise.
1371 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
1372 by positive zero when computing -Inf result.
1373 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1374 (catanh_test): Likewise.
1375 * sysdeps/i386/fpu/libm-test-ulps: Update.
1376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1379 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1380 instead of using underflowing value in computing result.
1381 * math/s_clog10.c (__clog10): Likewise.
1382 * math/s_clog10f.c (__clog10f): Likewise.
1383 * math/s_clog10l.c (__clog10l): Likewise.
1384 * math/s_clogf.c (__clogf): Likewise.
1385 * math/s_clogl.c (__clogl): Likewise.
1386 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1387 (clog10_test): Likewise.
1388 * sysdeps/i386/fpu/libm-test-ulps: Update.
1389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1391 2014-04-02 Alan Modra <amodra@gmail.com>
1394 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
1395 output when value is near a power of two. Use int64_t for lx and
1396 remove casts. Use decimal rather than hex exponent constants.
1397 Don't use long double multiplication when double will suffice.
1398 * math/libm-test.inc (nextafter_test_data): Add tests.
1399 * NEWS: Add 16739 and 16786 to bug list.
1401 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
1403 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
1405 2014-04-01 Will Newton <will.newton@linaro.org>
1407 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
1408 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
1410 2014-04-01 Florian Weimer <fweimer@redhat.com>
1413 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
1414 * nptl/tst-setuid2.c: New file.
1415 * nptl/Makefile (xtests): Add tst-setuid2.
1417 2014-04-01 Alan Modra <amodra@gmail.com>
1420 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
1422 2014-03-31 Joseph Myers <joseph@codesourcery.com>
1426 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
1427 set errno as appropriate.
1428 * math/w_scalbf.c (__scalbf): Likewise.
1429 * math/w_scalbl.c (__scalbl): Likewise.
1430 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
1431 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
1432 * math/libm-test.inc (scalb_test_data): Add errno expectations.
1436 * math/w_atan2.c: Include <errno.h>.
1437 (__atan2): Set errno for result underflowing to zero.
1438 * math/w_atan2f.c: Include <errno.h>.
1439 (__atan2f): Set errno for result underflowing to zero.
1440 * math/w_atan2l.c: Include <errno.h>.
1441 (__atan2l): Set errno for result underflowing to zero.
1442 * math/auto-libm-test-in: Don't allow missing errno for some atan2
1444 * math/auto-libm-test-out: Regenerated.
1446 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1448 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1449 Encode instruction correctly in little endian.
1450 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1452 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1454 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1456 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1459 2014-03-31 Joseph Myers <joseph@codesourcery.com>
1462 * sysdeps/unix/sysv/linux/kernel-features.h
1463 [__sparc__ && !__arch64__ && !__sparc_v9__]
1464 (__ASSUME_SET_ROBUST_LIST): Do not define.
1465 [__sparc__ && !__arch64__ && !__sparc_v9__]
1466 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1467 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1469 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1470 (__ASSUME_FUTEX_LOCK_PI): Undefine.
1471 (__ASSUME_REQUEUE_PI): Likewise.
1472 (__ASSUME_SET_ROBUST_LIST): Likewise.
1473 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1474 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1476 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1477 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1479 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1481 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1483 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1484 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1486 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1487 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1491 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1492 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1493 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1495 2014-03-31 Will Newton <will.newton@linaro.org>
1497 * benchtests/Makefile (bench): Add ffs and ffsll to list
1499 * benchtests/ffs-inputs: New file.
1500 * benchtests/ffsll-inputs: Likewise.
1502 2014-03-29 Joseph Myers <joseph@codesourcery.com>
1505 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
1506 too large before casting to int.
1507 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
1508 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
1509 * math/libm-test.inc (scalb_test_data): Add more tests.
1511 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1513 * benchtests/Makefile (DETAILED_OPT): New make option.
1514 (bench-func): Run benchmark program with -d if DETAILED_OPT is
1516 * benchtests/bench-skeleton.c: Include stdbool.h.
1517 (main): Store and print timings per input.
1518 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
1519 member to each argument value.
1520 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
1521 (_print_arg_data): Initialize per-input timing to 0.
1523 * benchtests/Makefile (timing-type): New binary.
1524 (bench-clean): Also remove bench-timing-type.
1525 (bench): New target for timing-type.
1526 (bench-func): Print output in JSON format.
1527 * benchtests/bench-skeleton.c (main): Print output in JSON
1529 * benchtests/bench-timing-type.c: New file.
1530 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
1531 (TIMING_PRINT_STATS): Remove.
1532 * benchtests/scripts/bench.py (_print_arg_data): Store variant
1535 * benchtests/bench-modf.c: Remove.
1536 * benchtests/modf-inputs: New inputs file.
1538 2014-03-28 Joseph Myers <joseph@codesourcery.com>
1541 * math/s_clog10.c (M_PI_LOG10E): New macro.
1542 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
1543 imaginary parts are 0.
1544 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
1545 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
1546 imaginary parts are 0.
1547 * math/s_clog10l.c (M_PI_LOG10El): New macro.
1548 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
1549 imaginary parts are 0.
1550 * math/libm-test.inc (clog10_test_data): Update expected results
1551 for when real and imaginary parts are 0.
1553 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1555 * elf/dl-load.c: Finish conversion of __builtin_expect into
1558 2014-03-27 Joseph Myers <joseph@codesourcery.com>
1561 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1562 1+x for argument with exponent below -67.
1563 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1565 * math/auto-libm-test-in: Add more tests of exp.
1566 * math/auto-libm-test-out: Regenerated.
1568 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1571 * inet/getnetgrent_r.c (get_nonempty_val): New function.
1572 (nscd_getnetgrent): Use it.
1575 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
1578 2014-03-27 Andi Kleen <ak@linux.intel.com>
1580 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
1581 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1582 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1583 (lll_robust_unlock): Remove out of line section. Use cfi
1585 (LLL_STUB_UNWIND_INFO*): Remove.
1586 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
1587 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1588 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1589 (lll_robust_unlock): Remove out of line section. Use cfi
1591 (LLL_STUB_UNWIND_INFO*): Remove.
1593 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1596 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
1599 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
1601 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
1603 2014-03-26 Joseph Myers <joseph@codesourcery.com>
1606 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
1608 * math/test-fenv-preserve.c: New file.
1609 * math/Makefile (tests): Add test-fenv-preserve.
1611 2014-03-26 Will Newton <will.newton@linaro.org>
1613 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
1615 2014-03-25 Roland McGrath <roland@hack.frob.com>
1617 * scripts/versionlist.awk: Partition the version sets and emit all
1618 GLIBC_* (sorted) before all others (sorted).
1620 2014-03-25 Joseph Myers <joseph@codesourcery.com>
1622 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
1623 GLIBC_2.2.5 version.
1625 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1627 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1630 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1635 2014-03-25 Andreas Schwab <schwab@suse.de>
1637 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1638 label to be used after in6ailist is initialized.
1640 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1642 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1643 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1645 2014-03-25 Joseph Myers <joseph@codesourcery.com>
1649 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1651 (fp_formats): Update initializers.
1652 (init_fp_formats): Initialize new field.
1653 (output_for_one_input_case): Allow underflow for results up to
1655 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1656 * math/auto-libm-test-in: Don't mark some underflows from asin and
1658 * math/auto-libm-test-out: Regenerated.
1659 * sysdeps/i386/fpu/libm-test-ulps: Update.
1660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1662 2014-03-25 Andreas Schwab <schwab@suse.de>
1664 * libio/Makefile (tst-ftell-partial-wide-ENV)
1665 (tst-ftell-active-handler-ENV): Define.
1667 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1669 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1671 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1673 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1675 2014-03-24 Joseph Myers <joseph@codesourcery.com>
1677 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1678 * sysdeps/x86_64/fpu/multiarch/e_exp.c
1679 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1681 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1684 * elf/dl-load.c (open_verify): Add mode parameter.
1685 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1686 (open_path): Change from boolean 'secure' to complete flag 'mode'
1687 (_dl_map_object): Adjust.
1688 * elf/Makefile (tests): Add tst-dlopen-aout.
1689 * elf/tst-dlopen-aout.c: New test.
1691 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1694 * sysdeps/unix/sysv/linux/s390/bits/stat.h
1695 (struct stat): Rename member pad0 to __glibc_reserved0.
1698 * sysdeps/s390/s390-32/bits/wordsize.h
1699 (__WORDSIZE32_SIZE_ULONG): New define.
1700 * sysdeps/s390/s390-64/bits/wordsize.h
1701 (__WORDSIZE32_SIZE_ULONG): Likewise.
1702 * sysdeps/generic/stdint.h (SIZE_MAX):
1703 Define as UL if __WORDSIZE32_SIZE_ULONG.
1706 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1707 (__glibc_reserved0): New variable.
1708 (sa_flags): Change type to int.
1710 * posix/Makefile (before-compile): Use += before-compile instead
1713 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1714 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1716 2014-03-20 Andreas Schwab <schwab@suse.de>
1719 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1720 non-matching result from nscd.
1722 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1724 * scripts/bench.py: Moved to ...
1725 * benchtests/scripts/bench.py: ... here.
1726 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1728 2014-03-24 Andreas Schwab <schwab@suse.de>
1731 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1732 alloca_account and account alloca use for struct in6ailist.
1734 2014-03-24 Joseph Myers <joseph@codesourcery.com>
1737 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1738 rounding mode to recompute results that overflow to infinity or
1740 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1742 * math/auto-libm-test-out: Regenerated.
1743 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1744 (ccosh_test): Likewise.
1745 (csin_test_data): Use plus_oflow.
1746 (csin_test): Use ALL_RM_TEST.
1747 (csinh_test_data): Use plus_oflow.
1748 (csinh_test): Use ALL_RM_TEST.
1749 * sysdeps/i386/fpu/libm-test-ulps: Update.
1750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1752 2014-03-21 Joseph Myers <joseph@codesourcery.com>
1754 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1755 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1756 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1759 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1761 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1762 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1763 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1764 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1766 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1767 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1769 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1770 * sysdeps/i386/fpu/libm-test-ulps: Update.
1771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1773 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1775 * scripts/bench.pl: Remove file.
1776 * scripts/bench.py: New benchmark script.
1777 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1778 * benchtests/README: Mention python dependency.
1779 * scripts/pylintrc: New file.
1780 * scripts/pylint: New file.
1782 * bits/mathdef.h: Use #ifdef instead of #if.
1783 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1784 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1785 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1786 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1787 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1788 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1790 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1791 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1793 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1794 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1795 and strpbrk-ppc64 objects.
1796 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1797 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1798 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1799 multiarch strpbrk for POWER7.
1800 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1801 multiarch strpbrk for PPC64.
1802 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1804 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1807 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1809 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1810 (atan_test): Likewise.
1811 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1812 (atanh_test): Use ALL_RM_TEST.
1813 (atan2_test_data): Likewise.
1814 (cabs_test): Likewise.
1815 (cacosh_test): Likewise.
1816 (carg_test): Likewise.
1817 (casin_test): Likewise.
1818 (casinh_test): Likewise.
1819 (cbrt_test): Likewise.
1820 (csqrt_test): Likewise.
1821 (erf_test): Likewise.
1822 (erfc_test): Likewise.
1823 (pow10_test): Likewise.
1824 (exp2_test): Likewise.
1825 (hypot_test): Likewise.
1826 (j0_test): Likewise.
1827 (j1_test): Likewise.
1828 (lgamma_test): Likewise.
1829 (gamma_test): Likewise.
1830 (sincos_test): Likewise.
1831 (tanh_test): Likewise.
1832 (y0_test): Likewise.
1833 (y1_test): Likewise.
1834 * sysdeps/i386/fpu/libm-test-ulps: Update.
1835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1837 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1839 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1840 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
1841 and strcspn-ppc64 objects.
1842 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1843 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1844 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1845 multiarch strcspn for POWER7.
1846 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1847 multiarch strcspn for PPC64.
1848 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1850 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1853 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1855 * math/gen-libm-test.pl (generate_testfile): Expect only function
1856 name as argument to AUTO_TESTS_* and pass results for all rounding
1857 modes to parse_args.
1858 (parse_auto_input): Separate inputs of automatic tests from
1859 outputs before storing in %auto_tests.
1860 * math/libm-test.inc (acos_test_data): Update call to
1862 (acos_test): Use ALL_RM_TEST.
1863 (acos_tonearest_test_data): Remove.
1864 (acos_test_tonearest): Likewise.
1865 (acos_towardzero_test_data): Likewise.
1866 (acos_test_towardzero): Likewise.
1867 (acos_downward_test_data): Likewise.
1868 (acos_test_downward): Likewise.
1869 (acos_upward_test_data): Likewise.
1870 (acos_test_upward): Likewise.
1871 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1872 (asin_test_data): Likewise.
1873 (asin_test): Use ALL_RM_TEST.
1874 (asin_tonearest_test_data): Remove.
1875 (asin_test_tonearest): Likewise.
1876 (asin_towardzero_test_data): Likewise.
1877 (asin_test_towardzero): Likewise.
1878 (asin_downward_test_data): Likewise.
1879 (asin_test_downward): Likewise.
1880 (asin_upward_test_data): Likewise.
1881 (asin_test_upward): Likewise.
1882 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1883 (atan_test_data): Likewise.
1884 (atanh_test_data): Likewise.
1885 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1886 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1887 (carg_test_data): Likewise.
1888 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1889 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1890 (ccosh_test_data): Likewise.
1891 (cexp_test_data): Likewise.
1892 (clog_test_data): Likewise.
1893 (clog10_test_data): Likewise.
1894 (cos_test_data): Update call to AUTO_TESTS_f_f.
1895 (cos_test): Use ALL_RM_TEST.
1896 (cos_tonearest_test_data): Remove.
1897 (cos_test_tonearest): Likewise.
1898 (cos_towardzero_test_data): Likewise.
1899 (cos_test_towardzero): Likewise.
1900 (cos_downward_test_data): Likewise.
1901 (cos_test_downward): Likewise.
1902 (cos_upward_test_data): Likewise.
1903 (cos_test_upward): Likewise.
1904 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1905 (cosh_test): Use ALL_RM_TEST.
1906 (cosh_tonearest_test_data): Remove.
1907 (cosh_test_tonearest): Likewise.
1908 (cosh_towardzero_test_data): Likewise.
1909 (cosh_test_towardzero): Likewise.
1910 (cosh_downward_test_data): Likewise.
1911 (cosh_test_downward): Likewise.
1912 (cosh_upward_test_data): Likewise.
1913 (cosh_test_upward): Likewise.
1914 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1915 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1916 (ctan_test_data): Likewise.
1917 (ctan_test): Use ALL_RM_TEST.
1918 (ctan_tonearest_test_data): Remove.
1919 (ctan_test_tonearest): Likewise.
1920 (ctan_towardzero_test_data): Likewise.
1921 (ctan_test_towardzero): Likewise.
1922 (ctan_downward_test_data): Likewise.
1923 (ctan_test_downward): Likewise.
1924 (ctan_upward_test_data): Likewise.
1925 (ctan_test_upward): Likewise.
1926 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1927 (ctanh_test): Use ALL_RM_TEST.
1928 (ctanh_tonearest_test_data): Remove.
1929 (ctanh_test_tonearest): Likewise.
1930 (ctanh_towardzero_test_data): Likewise.
1931 (ctanh_test_towardzero): Likewise.
1932 (ctanh_downward_test_data): Likewise.
1933 (ctanh_test_downward): Likewise.
1934 (ctanh_upward_test_data): Likewise.
1935 (ctanh_test_upward): Likewise.
1936 (erf_test_data): Update call to AUTO_TESTS_f_f.
1937 (erfc_test_data): Likewise.
1938 (exp_test_data): Likewise.
1939 (exp_test): Use ALL_RM_TEST.
1940 (exp_tonearest_test_data): Remove.
1941 (exp_test_tonearest): Likewise.
1942 (exp_towardzero_test_data): Likewise.
1943 (exp_test_towardzero): Likewise.
1944 (exp_downward_test_data): Likewise.
1945 (exp_test_downward): Likewise.
1946 (exp_upward_test_data): Likewise.
1947 (exp_test_upward): Likewise.
1948 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1949 (exp10_test): Use ALL_RM_TEST.
1950 (exp10_tonearest_test_data): Remove.
1951 (exp10_test_tonearest): Likewise.
1952 (exp10_towardzero_test_data): Likewise.
1953 (exp10_test_towardzero): Likewise.
1954 (exp10_downward_test_data): Likewise.
1955 (exp10_test_downward): Likewise.
1956 (exp10_upward_test_data): Likewise.
1957 (exp10_test_upward): Likewise.
1958 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1959 (expm1_test_data): Likewise.
1960 (expm1_test): Use ALL_RM_TEST.
1961 (expm1_tonearest_test_data): Remove.
1962 (expm1_test_tonearest): Likewise.
1963 (expm1_towardzero_test_data): Likewise.
1964 (expm1_test_towardzero): Likewise.
1965 (expm1_downward_test_data): Likewise.
1966 (expm1_test_downward): Likewise.
1967 (expm1_upward_test_data): Likewise.
1968 (expm1_test_upward): Likewise.
1969 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1970 (fma_test): Use ALL_RM_TEST.
1971 (fma_towardzero_test_data): Remove.
1972 (fma_test_towardzero): Likewise.
1973 (fma_downward_test_data): Likewise.
1974 (fma_test_downward): Likewise.
1975 (fma_upward_test_data): Likewise.
1976 (fma_test_upward): Likewise.
1977 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1978 (j0_test_data): Update call to AUTO_TESTS_f_f.
1979 (j1_test_data): Likewise.
1980 (jn_test_data): Update call to AUTO_TESTS_if_f.
1981 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1982 (log_test_data): Update call to AUTO_TESTS_f_f.
1983 (log10_test_data): Likewise.
1984 (log1p_test_data): Likewise.
1985 (log2_test_data): Likewise.
1986 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1987 (pow_tonearest_test_data): Likewise.
1988 (sin_test_data): Update call to AUTO_TESTS_f_f.
1989 (sin_test): Use ALL_RM_TEST.
1990 (sin_tonearest_test_data): Remove.
1991 (sin_test_tonearest): Likewise.
1992 (sin_towardzero_test_data): Likewise.
1993 (sin_test_towardzero): Likewise.
1994 (sin_downward_test_data): Likewise.
1995 (sin_test_downward): Likewise.
1996 (sin_upward_test_data): Likewise.
1997 (sin_test_upward): Likewise.
1998 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1999 (sinh_test_data): Update call to AUTO_TESTS_f_f.
2000 (sinh_test): Use ALL_RM_TEST.
2001 (sinh_tonearest_test_data): Remove.
2002 (sinh_test_tonearest): Likewise.
2003 (sinh_towardzero_test_data): Likewise.
2004 (sinh_test_towardzero): Likewise.
2005 (sinh_downward_test_data): Likewise.
2006 (sinh_test_downward): Likewise.
2007 (sinh_upward_test_data): Likewise.
2008 (sinh_test_upward): Likewise.
2009 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
2010 (sqrt_test): Use ALL_RM_TEST.
2011 (sqrt_tonearest_test_data): Remove.
2012 (sqrt_test_tonearest): Likewise.
2013 (sqrt_towardzero_test_data): Likewise.
2014 (sqrt_test_towardzero): Likewise.
2015 (sqrt_downward_test_data): Likewise.
2016 (sqrt_test_downward): Likewise.
2017 (sqrt_upward_test_data): Likewise.
2018 (sqrt_test_upward): Likewise.
2019 (tan_test_data): Update call to AUTO_TESTS_f_f.
2020 (tan_test): Use ALL_RM_TEST.
2021 (tan_tonearest_test_data): Remove.
2022 (tan_test_tonearest): Likewise.
2023 (tan_towardzero_test_data): Likewise.
2024 (tan_test_towardzero): Likewise.
2025 (tan_downward_test_data): Likewise.
2026 (tan_test_downward): Likewise.
2027 (tan_upward_test_data): Likewise.
2028 (tan_test_upward): Likewise.
2029 (tanh_test_data): Update call to AUTO_TESTS_f_f.
2030 (tgamma_test_data): Likewise.
2031 (y0_test_data): Likewise.
2032 (y1_test_data): Likewise.
2033 (yn_test_data): Update call to AUTO_TESTS_if_f.
2034 (main): Do not call removed functions.
2036 2014-03-19 Joseph Myers <joseph@codesourcery.com>
2038 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2039 (ldexp_test_data): Remove.
2040 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
2042 (scalb_test): Use ALL_RM_TEST.
2044 2014-03-19 Andreas Schwab <schwab@suse.de>
2046 * nscd/nscd.service: Also invalidate netgroup cache on reload.
2048 2014-03-19 Joseph Myers <joseph@codesourcery.com>
2051 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2052 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2053 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2054 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2055 (__ASSUME_PREADV): Undefine.
2056 (__ASSUME_PWRITEV): Likewise.
2058 2014-03-18 Roland McGrath <roland@hack.frob.com>
2060 * bits/mman-linux.h: Add comment about non-Linux use.
2061 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2062 bits/mman-linux.h resting place.
2064 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2065 * bits/mman-linux.h: ... here.
2067 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2069 * conform/conformtest.pl: Add standard definition when calling C
2070 preprocessor on data files.
2071 (checknamespace): Remove unused variable.
2073 2014-03-18 Joseph Myers <joseph@codesourcery.com>
2075 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2076 minus_oflow, plus_uflow and minus_uflow in expected results.
2077 * math/libm-test.inc (scalbn_test_data): Add more tests of
2078 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
2080 (scalbn_test): Use ALL_RM_TEST.
2081 (scalbln_test_data): Add more tests of negative arguments. Use
2082 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2083 (scalbln_test): Use ALL_RM_TEST.
2085 2014-03-18 Roland McGrath <roland@hack.frob.com>
2087 * scripts/abilist.awk: Ignore symbols marked with .hidden.
2089 2014-03-18 Will Newton <will.newton@linaro.org>
2091 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2094 2014-03-18 Joseph Myers <joseph@codesourcery.com>
2096 * Makerules [!subdir] (check-abi): Exit with error status if a
2099 2014-03-17 Joseph Myers <joseph@codesourcery.com>
2101 * math/libm-test.inc (nearbyint_test_data): Include all tests used
2102 for rint. Include results for all rounding modes.
2103 (nearbyint_test): Use ALL_RM_TEST.
2104 (rint_test_data): Include all tests used for nearbyint.
2106 2014-03-17 Will Newton <will.newton@linaro.org>
2108 * nptl/sysdeps/pthread/pthread.h: Revert previous
2111 * sysdeps/generic/ldsodefs.h: Revert previous
2114 * libio/genops.c: Revert previous change.
2115 * libio/libioP.h: Likewise.
2116 * stdio-common/vfprintf.c: Likewise.
2118 * sysdeps/generic/math_private.h: Revert previous
2121 * sysdeps/generic/math_private.h: Check whether
2122 HAVE_RM_CTX is defined with #ifdef rather
2125 * argp/argp-fmtstream.h: Check whether
2126 __STRICT_ANSI__ is defined with #ifdef rather
2128 * argp/argp.h: Likewise.
2130 * libio/genops.c: Check whether
2131 _IO_JUMPS_OFFSET is defined with #ifdef rather
2133 * libio/libioP.h: Likewise.
2134 * stdio-common/vfprintf.c: Likewise.
2136 * sysdeps/generic/ldsodefs.h: Check whether
2137 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2140 * nptl/sysdeps/pthread/pthread.h: Check
2141 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2144 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2146 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2148 * libio/tst-ftell-active-handler.c (do_append_test): Add a
2152 * libio/fileops.c (_IO_file_open): Seek to end of file but
2153 don't cache the offset.
2154 (get_file_offset): Remove function.
2155 (do_ftell): Use cached offset when available.
2156 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2157 don't cache the offset.
2158 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2160 (do_one_test): Call it.
2161 (do_ftell_test): Fix up expected old offset for a+ mode.
2162 * libio/wfileops.c (do_ftell_wide): Used cached offset when
2165 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2166 up test status with function return status.
2167 (do_write_test): Likewise.
2168 (do_append_test): Likewise.
2170 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2171 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2174 2014-03-17 Joseph Myers <joseph@codesourcery.com>
2176 * math/gen-libm-test.pl (parse_args): Handle results specified for
2177 each rounding mode separately.
2178 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2179 tests and results from lrint_tonearest_test_data,
2180 lrint_towardzero_test_data, lrint_downward_test_data and
2181 lrint_upward_test_data.
2182 (lrint_test): Use ALL_RM_TEST.
2183 (lrint_tonearest_test_data): Remove.
2184 (lrint_test_tonearest): Likewise.
2185 (lrint_towardzero_test_data): Likewise.
2186 (lrint_test_towardzero): Likewise.
2187 (lrint_downward_test_data): Likewise.
2188 (lrint_test_downward): Likewise.
2189 (lrint_upward_test_data): Likewise.
2190 (lrint_test_upward): Likewise.
2191 (llrint_test_data): Merge in per-rounding-mode tests and results
2192 from llrint_tonearest_test_data, llrint_towardzero_test_data,
2193 llrint_downward_test_data and llrint_upward_test_data.
2194 (llrint_test): Use ALL_RM_TEST.
2195 (llrint_tonearest_test_data): Remove.
2196 (llrint_test_tonearest): Likewise.
2197 (llrint_towardzero_test_data): Likewise.
2198 (llrint_test_towardzero): Likewise.
2199 (llrint_downward_test_data): Likewise.
2200 (llrint_test_downward): Likewise.
2201 (llrint_upward_test_data): Likewise.
2202 (llrint_test_upward): Likewise.
2203 (rint_test_data): Merge in per-rounding-mode tests and results
2204 from rint_tonearest_test_data, rint_towardzero_test_data,
2205 rint_downward_test_data and rint_upward_test_data. Add
2206 per-rounding-mode results for tests not in those arrays.
2207 (rint_test): Use ALL_RM_TEST.
2208 (rint_tonearest_test_data): Remove.
2209 (rint_test_tonearest): Likewise.
2210 (rint_towardzero_test_data): Likewise.
2211 (rint_test_towardzero): Likewise.
2212 (rint_downward_test_data): Likewise.
2213 (rint_test_downward): Likewise.
2214 (rint_upward_test_data): Likewise.
2215 (rint_test_upward): Likewise.
2216 (main): Don't call removed functions.
2218 2014-03-14 Roland McGrath <roland@hack.frob.com>
2220 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2221 "Compiled on ..." crapola. It is anti-useful.
2223 2014-03-14 Joseph Myers <joseph@codesourcery.com>
2225 * scripts/evaluate-test.sh: Handle fourth argument to determine
2226 whether test run should stop on failure.
2227 * Makeconfig (stop-on-test-failure): New variable.
2228 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2229 $(stop-on-test-failure).
2230 * Makefile (tests): Give a summary of results from testing and
2231 exit with failure status if they include an ERROR or FAIL.
2233 * manual/install.texi (Configuring and compiling): Mention
2234 stop-on-test-failure=y.
2235 * INSTALL: Regenerated.
2237 2014-03-14 Roland McGrath <roland@hack.frob.com>
2239 * scripts/versionlist.awk: New file.
2240 * Makerules [$(build-shared) = yes]
2241 (postclean-generated): Add Versions.def, not Versions.def.v and
2243 ($(common-objpfx)Versions.def.v.i): Target removed.
2244 ($(common-objpfx)Versions.def): New target.
2245 ($(common-objpfx)Versions.all): Depend on that rather that
2246 $(common-objpfx)Versions.def.v.
2247 * Versions.def: File removed.
2249 * Makeconfig (+gccwarn): Add -Wundef.
2250 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
2251 a dl-sysdep.h breaking its contract.
2252 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
2253 * include/stackinfo.h: New file.
2254 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
2255 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
2256 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
2257 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
2258 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
2259 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
2260 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2261 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2262 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2263 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2264 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2265 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
2266 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2267 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2268 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2270 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2273 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
2275 * math/libm-test.inc (round_test_data): Add more tests.
2278 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
2280 * math/libm-test.inc (nearbyint_test_data): Add more tests.
2283 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
2285 * math/libm-test.inc (ceil_test_data): Add more tests.
2287 * math/libm-test.inc (trunc_test_data): Add more tests related to
2290 2014-03-14 Roland McGrath <roland@hack.frob.com>
2292 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
2293 with #if rather than #ifdef.
2294 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
2296 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
2298 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
2299 first. Disable AVX-512 GCC support if assembler doesn't support
2301 * sysdeps/x86_64/configure: Regenerated.
2303 2014-03-13 Carlos O'Donell <carlos@redhat.com>
2305 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
2306 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
2307 (__old_pthread_attr_setstack): Likewise.
2308 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
2309 [!_STACK_GROWS_DOWN]: Likewise.
2311 2014-03-13 Mike Frysinger <vapier@gentoo.org>
2313 * config.make.in (have-bash2): Delete.
2314 * configure.ac (libc_cv_have_bash2): Delete.
2315 * configure: Regenerate.
2316 * elf/Makefile (common-ldd-rewrite): Rename to ...
2317 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
2318 (sh-ldd-rewrite): Delete.
2319 (bash-ldd-rewrite): Delete.
2320 (have-bash2): Delete checks.
2321 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
2324 * config.make.in (have-ksh): Delete.
2326 * configure.ac (libc_cv_have_ksh): Delete.
2327 * configure: Regenerate.
2329 * elf/Makefile: Delete $(have-ksh) check.
2330 ($(objpfx)sotruss): Change KSH to BASH.
2331 * elf/sotruss.ksh: Rename to ...
2332 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
2333 function style to match POSIX. Drop ksh vim mode setting.
2335 * manual/time.texi (Specifying the Time Zone with TZ): Change
2336 Tuesday to Thursday.
2338 * debug/tst-longjmp_chk2.c: Update header comment.
2339 (stackoverflow_handler): Add comment. Call assert on pass value.
2341 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
2343 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
2344 (HAVE_AVX512_ASM_SUPPORT): Likewise.
2345 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
2346 (La_x86_64_vector): Add zmm.
2347 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
2348 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
2349 ($(objpfx)tst-audit10): New target.
2350 ($(objpfx)tst-audit10.out): Likewise.
2351 (tst-audit10-ENV): New.
2352 (AVX512-CFLAGS): Likewise.
2353 (CFLAGS-tst-audit10.c): Likewise.
2354 (CFLAGS-tst-auditmod10a.c): Likewise.
2355 (CFLAGS-tst-auditmod10b.c): Likewise.
2356 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
2357 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
2358 * sysdeps/x86_64/configure: Regenerated.
2359 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
2360 AVX-512 zmm register support.
2361 (_dl_x86_64_save_sse): Likewise.
2362 (_dl_x86_64_restore_sse): Likewise.
2363 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
2364 size vector registers.
2365 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
2366 (ZMM_SIZE): Likewise.
2367 * sysdeps/x86_64/tst-audit10.c: New file.
2368 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
2369 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
2371 2014-03-13 Roland McGrath <roland@hack.frob.com>
2373 * configure.ac (HAVE_EHDR_START): New check.
2374 * configure: Regenerated.
2375 * config.h.in (HAVE_EHDR_START): New #undef.
2376 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2377 assuming the lowest-addressed segment maps the start of the file.
2379 2014-03-13 Joseph Myers <joseph@codesourcery.com>
2381 * INSTALL: Regenerated.
2383 2014-03-13 Will Newton <will.newton@linaro.org>
2385 * manual/setjmp.texi (System V contexts): Improve
2386 clarity and grammar of documentation.
2388 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2391 * elf/Makefile (tests): Add tst-pie2.
2392 (tests-pie): Add tst-pie2.
2393 * elf/tst-pie2.c: New file.
2394 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
2396 * elf/rtld.c (map_doit): Load executable as lt_executable.
2397 (dl_main): Likewise.
2399 2014-03-12 Joseph Myers <joseph@codesourcery.com>
2402 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2403 (__ASSUME_PSELECT): Undefine.
2405 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2408 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
2409 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
2411 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
2412 selector for static builds.
2414 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2417 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
2420 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2422 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
2423 IFUNC selector for static builds.
2425 2014-03-11 Joseph Myers <joseph@codesourcery.com>
2427 * sysdeps/mips/math_private.h [__mips_hard_float]
2428 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
2429 libc_feresetround_mips_ctx.
2430 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
2431 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
2432 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
2435 * math/s_nextafter.c (__nextafter): Do not return value from
2436 overflowing computation.
2437 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2438 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
2439 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2441 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2443 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2444 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
2446 2014-03-11 Roland McGrath <roland@hack.frob.com>
2448 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
2449 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
2450 Move sfi_sp use from the load-multiple (that no longer sets sp) to
2451 the new mov targetting sp.
2453 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2456 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
2457 Define it for static builds as well.
2458 (NO_BZERO_IMPL): Likewise.
2460 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2462 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2463 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2464 multiarch strspn for PPC64.
2465 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2466 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2467 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2468 (__libc_ifunc_impl_list): Likewise.
2469 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2470 multiarch optimizations
2471 * string/strspn.c (strspn): Using macro to redefine symbol name.
2473 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2474 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2476 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2477 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2478 multiarch strncat for PPC64.
2479 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2480 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2481 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2482 (__libc_ifunc_impl_list): Likewise.
2483 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2484 multiarch optimizations
2486 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2489 * nscd/nscd.service: Make service type forking.
2491 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2493 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2494 sign in non default rounding modes.
2495 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2497 2014-03-08 Joseph Myers <joseph@codesourcery.com>
2499 * math/libm-test.inc (ALL_RM_TEST): New macro.
2500 (ceil_test): Use ALL_RM_TEST.
2501 (cimag_test): Likewise.
2502 (conj_test): Likewise.
2503 (copysign_test): Likewise.
2504 (cproj_test): Likewise.
2505 (creal_test): Likewise.
2506 (fabs_test): Likewise.
2507 (floor_test): Likewise.
2508 (fmax_test): Likewise.
2509 (fmin_test): Likewise.
2510 (fmod_test): Likewise.
2511 (fpclassify_test): Likewise.
2512 (frexp_test): Likewise.
2513 (ilogb_test): Likewise.
2514 (isfinite_test): Likewise.
2515 (finite_test): Likewise.
2516 (isgreater_test): Likewise.
2517 (isgreaterequal_test): Likewise.
2518 (isinf_test): Likewise.
2519 (isless_test): Likewise.
2520 (islessequal_test): Likewise.
2521 (islessgreater_test): Likewise.
2522 (isnan_test): Likewise.
2523 (isnormal_test): Likewise.
2524 (issignaling_test): Likewise.
2525 (isunordered_test): Likewise.
2526 (logb_test): Likewise.
2527 (logb_downward_test_data): Remove.
2528 (logb_test_downward): Likewise.
2529 (lround_test): Use ALL_RM_TEST.
2530 (llround_test): Likewise.
2531 (modf_test): Likewise.
2532 (nexttoward_test): Likewise.
2533 (remainder_test): Likewise.
2534 (drem_test): Likewise.
2535 (remainder_tonearest_test_data): Likewise.
2536 (remainder_test_tonearest): Likewise.
2537 (drem_test_tonearest): Likewise.
2538 (remainder_towardzero_test_data): Likewise.
2539 (remainder_test_towardzero): Likewise.
2540 (drem_test_towardzero): Likewise.
2541 (remainder_downward_test_data): Likewise.
2542 (remainder_test_downward): Likewise.
2543 (drem_test_downward): Likewise.
2544 (remainder_upward_test_data): Likewise.
2545 (remainder_test_upward): Likewise.
2546 (drem_test_upward): Likewise.
2547 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
2548 (round_test): Use ALL_RM_TEST.
2549 (signbit_test): Likewise.
2550 (trunc_test): Likewise.
2551 (significand_test): Likewise.
2552 (main): Don't call removed functions.
2554 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2557 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2559 (ILL_ILLOPN): Likewise.
2560 (ILL_ILLADR): Likewise.
2561 (ILL_ILLTRP): Likewise.
2562 (ILL_PRVOPC): Likewise.
2563 (ILL_PRVREG): Likewise.
2564 (ILL_COPROC): Likewise.
2565 (ILL_BADSTK): Likewise.
2566 (FPE_INTDIV): Likewise.
2567 (FPE_INTOVF): Likewise.
2568 (FPE_FLTDIV): Likewise.
2569 (FPE_FLTOVF): Likewise.
2570 (FPE_FLTUND): Likewise.
2571 (FPE_FLTRES): Likewise.
2572 (FPE_FLTINV): Likewise.
2573 (FPE_FLTSUB): Likewise.
2574 (SEGV_MAPERR): Likewise.
2575 (SEGV_ACCERR): Likewise.
2576 (BUS_ADRALN): Likewise.
2577 (BUS_ADRERR): Likewise.
2578 (BUS_OBJERR): Likewise.
2579 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2580 (TRAP_TRACE): Likewise.
2581 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2583 (CLD_KILLED): Likewise.
2584 (CLD_DUMPED): Likewise.
2585 (CLD_TRAPPED): Likewise.
2586 (CLD_STOPPED): Likewise.
2587 (CLD_CONTINUED): Likewise.
2588 (POLL_IN): Likewise.
2589 (POLL_OUT): Likewise.
2590 (POLL_MSG): Likewise.
2591 (POLL_ERR): Likewise.
2592 (POLL_PRI): Likewise.
2593 (POLL_HUP): Likewise.
2594 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
2596 (ILL_ILLOPN): Likewise.
2597 (ILL_ILLADR): Likewise.
2598 (ILL_ILLTRP): Likewise.
2599 (ILL_PRVOPC): Likewise.
2600 (ILL_PRVREG): Likewise.
2601 (ILL_COPROC): Likewise.
2602 (ILL_BADSTK): Likewise.
2603 (FPE_INTDIV): Likewise.
2604 (FPE_INTOVF): Likewise.
2605 (FPE_FLTDIV): Likewise.
2606 (FPE_FLTOVF): Likewise.
2607 (FPE_FLTUND): Likewise.
2608 (FPE_FLTRES): Likewise.
2609 (FPE_FLTINV): Likewise.
2610 (FPE_FLTSUB): Likewise.
2611 (SEGV_MAPERR): Likewise.
2612 (SEGV_ACCERR): Likewise.
2613 (BUS_ADRALN): Likewise.
2614 (BUS_ADRERR): Likewise.
2615 (BUS_OBJERR): Likewise.
2616 (BUS_MCEERR_AR): Likewise.
2617 (BUS_MCEERR_AO): Likewise.
2618 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2619 (TRAP_TRACE): Likewise.
2620 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2622 (CLD_KILLED): Likewise.
2623 (CLD_DUMPED): Likewise.
2624 (CLD_TRAPPED): Likewise.
2625 (CLD_STOPPED): Likewise.
2626 (CLD_CONTINUED): Likewise.
2627 (POLL_IN): Likewise.
2628 (POLL_OUT): Likewise.
2629 (POLL_MSG): Likewise.
2630 (POLL_ERR): Likewise.
2631 (POLL_PRI): Likewise.
2632 (POLL_HUP): Likewise.
2633 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
2634 (ILL_ILLOPN): Likewise.
2635 (ILL_ILLADR): Likewise.
2636 (ILL_ILLTRP): Likewise.
2637 (ILL_PRVOPC): Likewise.
2638 (ILL_PRVREG): Likewise.
2639 (ILL_COPROC): Likewise.
2640 (ILL_BADSTK): Likewise.
2641 (FPE_INTDIV): Likewise.
2642 (FPE_INTOVF): Likewise.
2643 (FPE_FLTDIV): Likewise.
2644 (FPE_FLTOVF): Likewise.
2645 (FPE_FLTUND): Likewise.
2646 (FPE_FLTRES): Likewise.
2647 (FPE_FLTINV): Likewise.
2648 (FPE_FLTSUB): Likewise.
2649 (SEGV_MAPERR): Likewise.
2650 (SEGV_ACCERR): Likewise.
2651 (BUS_ADRALN): Likewise.
2652 (BUS_ADRERR): Likewise.
2653 (BUS_OBJERR): Likewise.
2654 (BUS_MCEERR_AR): Likewise.
2655 (BUS_MCEERR_AO): Likewise.
2656 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2657 (TRAP_TRACE): Likewise.
2658 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2660 (CLD_KILLED): Likewise.
2661 (CLD_DUMPED): Likewise.
2662 (CLD_TRAPPED): Likewise.
2663 (CLD_STOPPED): Likewise.
2664 (CLD_CONTINUED): Likewise.
2665 (POLL_IN): Likewise.
2666 (POLL_OUT): Likewise.
2667 (POLL_MSG): Likewise.
2668 (POLL_ERR): Likewise.
2669 (POLL_PRI): Likewise.
2670 (POLL_HUP): Likewise.
2671 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2673 (ILL_ILLOPN): Likewise.
2674 (ILL_ILLADR): Likewise.
2675 (ILL_ILLTRP): Likewise.
2676 (ILL_PRVOPC): Likewise.
2677 (ILL_PRVREG): Likewise.
2678 (ILL_COPROC): Likewise.
2679 (ILL_BADSTK): Likewise.
2680 (ILL_BADIADDR): Likewise.
2681 (ILL_BREAK): Likewise.
2682 (FPE_INTDIV): Likewise.
2683 (FPE_INTOVF): Likewise.
2684 (FPE_FLTDIV): Likewise.
2685 (FPE_FLTOVF): Likewise.
2686 (FPE_FLTUND): Likewise.
2687 (FPE_FLTRES): Likewise.
2688 (FPE_FLTINV): Likewise.
2689 (FPE_FLTSUB): Likewise.
2690 (FPE_DECOVF): Likewise.
2691 (FPE_DECDIV): Likewise.
2692 (FPE_DECERR): Likewise.
2693 (FPE_INVASC): Likewise.
2694 (FPE_INVDEC): Likewise.
2695 (SEGV_MAPERR): Likewise.
2696 (SEGV_ACCERR): Likewise.
2697 (SEGV_PSTKOVF): Likewise.
2698 (BUS_ADRALN): Likewise.
2699 (BUS_ADRERR): Likewise.
2700 (BUS_OBJERR): Likewise.
2701 (BUS_MCEERR_AR): Likewise.
2702 (BUS_MCEERR_AO): Likewise.
2703 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2704 (TRAP_TRACE): Likewise.
2705 (TRAP_BRANCH): Likewise.
2706 (TRAP_HWBKPT): Likewise.
2707 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2709 (CLD_KILLED): Likewise.
2710 (CLD_DUMPED): Likewise.
2711 (CLD_TRAPPED): Likewise.
2712 (CLD_STOPPED): Likewise.
2713 (CLD_CONTINUED): Likewise.
2714 (POLL_IN): Likewise.
2715 (POLL_OUT): Likewise.
2716 (POLL_MSG): Likewise.
2717 (POLL_ERR): Likewise.
2718 (POLL_PRI): Likewise.
2719 (POLL_HUP): Likewise.
2720 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2721 (ILL_ILLOPN): Likewise.
2722 (ILL_ILLADR): Likewise.
2723 (ILL_ILLTRP): Likewise.
2724 (ILL_PRVOPC): Likewise.
2725 (ILL_PRVREG): Likewise.
2726 (ILL_COPROC): Likewise.
2727 (ILL_BADSTK): Likewise.
2728 (FPE_INTDIV): Likewise.
2729 (FPE_INTOVF): Likewise.
2730 (FPE_FLTDIV): Likewise.
2731 (FPE_FLTOVF): Likewise.
2732 (FPE_FLTUND): Likewise.
2733 (FPE_FLTRES): Likewise.
2734 (FPE_FLTINV): Likewise.
2735 (FPE_FLTSUB): Likewise.
2736 (SEGV_MAPERR): Likewise.
2737 (SEGV_ACCERR): Likewise.
2738 (BUS_ADRALN): Likewise.
2739 (BUS_ADRERR): Likewise.
2740 (BUS_OBJERR): Likewise.
2741 (BUS_MCEERR_AR): Likewise.
2742 (BUS_MCEERR_AO): Likewise.
2743 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2744 (TRAP_TRACE): Likewise.
2745 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2747 (CLD_KILLED): Likewise.
2748 (CLD_DUMPED): Likewise.
2749 (CLD_TRAPPED): Likewise.
2750 (CLD_STOPPED): Likewise.
2751 (CLD_CONTINUED): Likewise.
2752 (POLL_IN): Likewise.
2753 (POLL_OUT): Likewise.
2754 (POLL_MSG): Likewise.
2755 (POLL_ERR): Likewise.
2756 (POLL_PRI): Likewise.
2757 (POLL_HUP): Likewise.
2758 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2759 (ILL_ILLOPN): Likewise.
2760 (ILL_ILLADR): Likewise.
2761 (ILL_ILLTRP): Likewise.
2762 (ILL_PRVOPC): Likewise.
2763 (ILL_PRVREG): Likewise.
2764 (ILL_COPROC): Likewise.
2765 (ILL_BADSTK): Likewise.
2766 (FPE_INTDIV): Likewise.
2767 (FPE_INTOVF): Likewise.
2768 (FPE_FLTDIV): Likewise.
2769 (FPE_FLTOVF): Likewise.
2770 (FPE_FLTUND): Likewise.
2771 (FPE_FLTRES): Likewise.
2772 (FPE_FLTINV): Likewise.
2773 (FPE_FLTSUB): Likewise.
2774 (SEGV_MAPERR): Likewise.
2775 (SEGV_ACCERR): Likewise.
2776 (BUS_ADRALN): Likewise.
2777 (BUS_ADRERR): Likewise.
2778 (BUS_OBJERR): Likewise.
2779 (BUS_MCEERR_AR): Likewise.
2780 (BUS_MCEERR_AO): Likewise.
2781 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2782 (TRAP_TRACE): Likewise.
2783 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2785 (CLD_KILLED): Likewise.
2786 (CLD_DUMPED): Likewise.
2787 (CLD_TRAPPED): Likewise.
2788 (CLD_STOPPED): Likewise.
2789 (CLD_CONTINUED): Likewise.
2790 (POLL_IN): Likewise.
2791 (POLL_OUT): Likewise.
2792 (POLL_MSG): Likewise.
2793 (POLL_ERR): Likewise.
2794 (POLL_PRI): Likewise.
2795 (POLL_HUP): Likewise.
2796 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2797 (ILL_ILLOPN): Likewise.
2798 (ILL_ILLADR): Likewise.
2799 (ILL_ILLTRP): Likewise.
2800 (ILL_PRVOPC): Likewise.
2801 (ILL_PRVREG): Likewise.
2802 (ILL_COPROC): Likewise.
2803 (ILL_BADSTK): Likewise.
2804 (FPE_INTDIV): Likewise.
2805 (FPE_INTOVF): Likewise.
2806 (FPE_FLTDIV): Likewise.
2807 (FPE_FLTOVF): Likewise.
2808 (FPE_FLTUND): Likewise.
2809 (FPE_FLTRES): Likewise.
2810 (FPE_FLTINV): Likewise.
2811 (FPE_FLTSUB): Likewise.
2812 (SEGV_MAPERR): Likewise.
2813 (SEGV_ACCERR): Likewise.
2814 (BUS_ADRALN): Likewise.
2815 (BUS_ADRERR): Likewise.
2816 (BUS_OBJERR): Likewise.
2817 (BUS_MCEERR_AR): Likewise.
2818 (BUS_MCEERR_AO): Likewise.
2819 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2820 (TRAP_TRACE): Likewise.
2821 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2823 (CLD_KILLED): Likewise.
2824 (CLD_DUMPED): Likewise.
2825 (CLD_TRAPPED): Likewise.
2826 (CLD_STOPPED): Likewise.
2827 (CLD_CONTINUED): Likewise.
2828 (POLL_IN): Likewise.
2829 (POLL_OUT): Likewise.
2830 (POLL_MSG): Likewise.
2831 (POLL_ERR): Likewise.
2832 (POLL_PRI): Likewise.
2833 (POLL_HUP): Likewise.
2834 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2835 (ILL_ILLOPN): Likewise.
2836 (ILL_ILLADR): Likewise.
2837 (ILL_ILLTRP): Likewise.
2838 (ILL_PRVOPC): Likewise.
2839 (ILL_PRVREG): Likewise.
2840 (ILL_COPROC): Likewise.
2841 (ILL_BADSTK): Likewise.
2842 (ILL_DBLFLT): Likewise.
2843 (ILL_HARDWALL): Likewise.
2844 (FPE_INTDIV): Likewise.
2845 (FPE_INTOVF): Likewise.
2846 (FPE_FLTDIV): Likewise.
2847 (FPE_FLTOVF): Likewise.
2848 (FPE_FLTUND): Likewise.
2849 (FPE_FLTRES): Likewise.
2850 (FPE_FLTINV): Likewise.
2851 (FPE_FLTSUB): Likewise.
2852 (SEGV_MAPERR): Likewise.
2853 (SEGV_ACCERR): Likewise.
2854 (BUS_ADRALN): Likewise.
2855 (BUS_ADRERR): Likewise.
2856 (BUS_OBJERR): Likewise.
2857 (BUS_MCEERR_AR): Likewise.
2858 (BUS_MCEERR_AO): Likewise.
2859 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2860 (TRAP_TRACE): Likewise.
2861 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2863 (CLD_KILLED): Likewise.
2864 (CLD_DUMPED): Likewise.
2865 (CLD_TRAPPED): Likewise.
2866 (CLD_STOPPED): Likewise.
2867 (CLD_CONTINUED): Likewise.
2868 (POLL_IN): Likewise.
2869 (POLL_OUT): Likewise.
2870 (POLL_MSG): Likewise.
2871 (POLL_ERR): Likewise.
2872 (POLL_PRI): Likewise.
2873 (POLL_HUP): Likewise.
2874 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2875 (ILL_ILLOPN): Likewise.
2876 (ILL_ILLADR): Likewise.
2877 (ILL_ILLTRP): Likewise.
2878 (ILL_PRVOPC): Likewise.
2879 (ILL_PRVREG): Likewise.
2880 (ILL_COPROC): Likewise.
2881 (ILL_BADSTK): Likewise.
2882 (FPE_INTDIV): Likewise.
2883 (FPE_INTOVF): Likewise.
2884 (FPE_FLTDIV): Likewise.
2885 (FPE_FLTOVF): Likewise.
2886 (FPE_FLTUND): Likewise.
2887 (FPE_FLTRES): Likewise.
2888 (FPE_FLTINV): Likewise.
2889 (FPE_FLTSUB): Likewise.
2890 (SEGV_MAPERR): Likewise.
2891 (SEGV_ACCERR): Likewise.
2892 (BUS_ADRALN): Likewise.
2893 (BUS_ADRERR): Likewise.
2894 (BUS_OBJERR): Likewise.
2895 (BUS_MCEERR_AR): Likewise.
2896 (BUS_MCEERR_AO): Likewise.
2897 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2898 (TRAP_TRACE): Likewise.
2899 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2901 (CLD_KILLED): Likewise.
2902 (CLD_DUMPED): Likewise.
2903 (CLD_TRAPPED): Likewise.
2904 (CLD_STOPPED): Likewise.
2905 (CLD_CONTINUED): Likewise.
2906 (POLL_IN): Likewise.
2907 (POLL_OUT): Likewise.
2908 (POLL_MSG): Likewise.
2909 (POLL_ERR): Likewise.
2910 (POLL_PRI): Likewise.
2911 (POLL_HUP): Likewise.
2912 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2913 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2916 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2917 before #include of <time.h>.
2918 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2919 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2920 (test-xfail-UNIX98/sched.h/conform): Likewise.
2922 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2924 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2925 error absence of trapping exception support.
2926 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2928 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2930 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2931 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2932 * timezone/Makefile (testdata): Move definition above include of
2934 (test-zones): New variable.
2935 (tests-special): Add zone files.
2936 (build-testdata): Use $(evaluate-test).
2938 * elf/Makefile (tests-special): Rename tests to end with .out.
2939 ($(objpfx)noload-mem): Likewise.
2940 ($(objpfx)tst-leaks1-mem): Likewise.
2941 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2942 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2943 $(objpfx)test-iconvconfig.out.
2944 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2945 set -e inside subshell and redirect output to file.
2946 * iconvdata/Makefile (generated): Rename tests to end with .out.
2948 (tests-special): Rename tests to end with .out.
2949 ($(objpfx)mtrace-tst-loading): Likewise.
2950 * intl/Makefile (generated): Likewise.
2951 (tests-special): Likewise.
2952 ($(objpfx)mtrace-tst-gettext): Likewise.
2953 * misc/Makefile (generated): Likewise.
2954 (tests-special): Likewise.
2955 ($(objpfx)tst-error1-mem): Likewise.
2956 * nptl/Makefile (tests-special): Likewise.
2957 ($(objpfx)tst-stack3-mem): Likewise.
2958 (generated): Likewise.
2959 * posix/Makefile (generated): Likewise.
2960 (tests-special): Likewise.
2961 (xtests-special): Likewise.
2962 ($(objpfx)tst-fnmatch-mem): Likewise.
2963 ($(objpfx)bug-regex2-mem): Likewise.
2964 ($(objpfx)bug-regex14-mem): Likewise.
2965 ($(objpfx)bug-regex21-mem): Likewise.
2966 ($(objpfx)bug-regex31-mem): Likewise.
2967 ($(objpfx)tst-vfork3-mem): Likewise.
2968 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2969 ($(objpfx)tst-pcre-mem): Likewise.
2970 ($(objpfx)tst-boost-mem): Likewise.
2971 ($(objpfx)bug-ga2-mem): Likewise.
2972 ($(objpfx)bug-glob2-mem): Likewise.
2973 * resolv/Makefile (generate): Likewise.
2974 (tests-special): Likewise.
2975 (xtests-special): Likewise.
2976 (generated): Likewise.
2977 ($(objpfx)mtrace-tst-leaks): Likewise.
2978 ($(objpfx)mtrace-tst-leaks2): Likewise.
2980 * scripts/merge-test-results.sh: New file.
2981 * Makefile (tests-special-notdir): New variable.
2982 (tests): Run merge-test-results.sh.
2984 * Rules (tests-special-notdir): New variable.
2985 (xtests-special-notdir): Likewise.
2986 (tests): Run merge-test-results.sh
2989 * Makeconfig (test-xfail-name): New variable.
2990 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2991 compute variable name for expected failures.
2992 * conform/Makefile (conformtest-headers-data): New variable.
2993 (conformtest-standards): Likewise.
2994 (conformtest-headers-ISO): Likewise.
2995 (conformtest-headers-ISO99): Likewise.
2996 (conformtest-headers-ISO11): Likewise.
2997 (conformtest-headers-POSIX): Likewise.
2998 (conformtest-headers-XPG3): Likewise.
2999 (conformtest-headers-XPG4): Likewise.
3000 (conformtest-headers-UNIX98): Likewise.
3001 (conformtest-headers-XOPEN2K): Likewise.
3002 (conformtest-headers-POSIX2008): Likewise.
3003 (conformtest-headers-XOPEN2K8): Likewise.
3004 (conformtest-header-list-base): Likewise.
3005 (conformtest-header-list-tests): Likewise.
3006 (conformtest-header-base): Likewise.
3007 (conformtest-header-tests): Likewise.
3008 (tests-special): Add $(conformtest-header-list-tests). If
3009 [$(fast-check) && !$(cross-compiling)], add
3010 $(conformtest-header-tests) instead of
3011 $(objpfx)run-conformtest.out.
3012 (generated): Add $(conformtest-header-list-base). If
3013 [$(fast-check) && !$(cross-compiling)], add
3014 $(conformtest-header-base). Remove previous setting.
3015 ($(conformtest-header-list-tests)): New target.
3016 (test-xfail-run-conformtest): Remove variable.
3017 ($(objpfx)run-conformtest.out): Remove target.
3018 (test-xfail-ISO11/complex.h/conform): New variable.
3019 (test-xfail-ISO11/stdalign.h/conform): Likewise.
3020 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3021 (test-xfail-XPG3/varargs.h/conform): Likewise.
3022 (test-xfail-XPG4/varargs.h/conform): Likewise.
3023 (test-xfail-UNIX98/varargs.h/conform): Likewise.
3024 (test-xfail-XPG4/ndbm.h/conform): Likewise.
3025 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3026 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3027 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3028 (test-xfail-XPG3/fcntl.h/conform): Likewise.
3029 (test-xfail-XPG3/ftw.h/conform): Likewise.
3030 (test-xfail-XPG3/grp.h/conform): Likewise.
3031 (test-xfail-XPG3/langinfo.h/conform): Likewise.
3032 (test-xfail-XPG3/limits.h/conform): Likewise.
3033 (test-xfail-XPG3/pwd.h/conform): Likewise.
3034 (test-xfail-XPG3/search.h/conform): Likewise.
3035 (test-xfail-XPG3/signal.h/conform): Likewise.
3036 (test-xfail-XPG3/stdio.h/conform): Likewise.
3037 (test-xfail-XPG3/stdlib.h/conform): Likewise.
3038 (test-xfail-XPG3/string.h/conform): Likewise.
3039 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3040 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3041 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3042 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3043 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3044 (test-xfail-XPG3/sys/types.h/conform): Likewise.
3045 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3046 (test-xfail-XPG3/termios.h/conform): Likewise.
3047 (test-xfail-XPG3/time.h/conform): Likewise.
3048 (test-xfail-XPG3/unistd.h/conform): Likewise.
3049 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3050 (test-xfail-XPG4/fcntl.h/conform): Likewise.
3051 (test-xfail-XPG4/langinfo.h/conform): Likewise.
3052 (test-xfail-XPG4/netdb.h/conform): Likewise.
3053 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3054 (test-xfail-XPG4/signal.h/conform): Likewise.
3055 (test-xfail-XPG4/stdio.h/conform): Likewise.
3056 (test-xfail-XPG4/stdlib.h/conform): Likewise.
3057 (test-xfail-XPG4/stropts.h/conform): Likewise.
3058 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3059 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3060 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3061 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3062 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3063 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3064 (test-xfail-XPG4/sys/time.h/conform): Likewise.
3065 (test-xfail-XPG4/sys/types.h/conform): Likewise.
3066 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3067 (test-xfail-XPG4/termios.h/conform): Likewise.
3068 (test-xfail-XPG4/ucontext.h/conform): Likewise.
3069 (test-xfail-XPG4/unistd.h/conform): Likewise.
3070 (test-xfail-XPG4/utmpx.h/conform): Likewise.
3071 (test-xfail-POSIX/sched.h/conform): Likewise.
3072 (test-xfail-POSIX/signal.h/conform): Likewise.
3073 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3074 (test-xfail-POSIX/tar.h/conform): Likewise.
3075 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3076 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3077 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3078 (test-xfail-UNIX98/netdb.h/conform): Likewise.
3079 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3080 (test-xfail-UNIX98/sched.h/conform): Likewise.
3081 (test-xfail-UNIX98/signal.h/conform): Likewise.
3082 (test-xfail-UNIX98/stdio.h/conform): Likewise.
3083 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3084 (test-xfail-UNIX98/stropts.h/conform): Likewise.
3085 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3086 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3087 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3088 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3089 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3090 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3091 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3092 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3093 (test-xfail-UNIX98/unistd.h/conform): Likewise.
3094 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3095 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3096 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3097 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3098 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3099 (test-xfail-XOPEN2K/math.h/conform): Likewise.
3100 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3101 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3102 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3103 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3104 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3105 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3106 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3107 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3108 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3109 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3110 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3111 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3112 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3113 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3114 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3115 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3116 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3117 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3118 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3119 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3120 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3121 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3122 (test-xfail-POSIX2008/signal.h/conform): Likewise.
3123 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3124 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3125 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3126 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3127 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3128 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3129 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3130 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3131 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3132 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3133 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3134 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3135 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3136 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3137 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3138 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3139 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3140 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3141 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3142 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3143 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3144 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3145 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3146 (conformtest-cc-flags): Likewise.
3147 ($(conformtest-header-tests): New target.
3148 * conform/check-header-lists.sh: New file.
3149 * conform/run-conformtest.sh: Remove.
3151 * conform/conformtest.pl: Allow ' and \ in values given for
3153 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3155 [POSIX] (sys/types.h): Likewise.
3156 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3158 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3160 * conform/data/signal.h-data (SIGIO): Remove expectation.
3161 [XPG3] (SIGBUS): Do not expect.
3162 [POSIX || XPG3] (SIGPOLL): Likewise.
3163 [POSIX || XPG3] (SIGPROF): Likewise.
3164 [POSIX || XPG3] (SIGSYS): Likewise.
3165 [XPG3] (SIGTRAP): Likewise.
3166 [POSIX || XPG3] (SIGURG): Likewise.
3167 [POSIX || XPG3] (SIGVTALRM): Likewise.
3168 [POSIX || XPG3] (SIGXCPU): Likewise.
3169 [POSIX || XPG3] (SIGXFSZ): Likewise.
3170 [POSIX] (SA_SIGINFO): Expect.
3171 [XPG3] (siginfo_t): Do not expect type or contents.
3172 [POSIX] (si_pid): Do not expect element.
3173 [POSIX] (si_uid): Likewise.
3174 [POSIX] (si_addr): Likewise.
3175 [POSIX] (si_status): Likewise.
3176 [POSIX] (si_band): Likewise.
3177 [XPG4] (si_value): Likewise.
3178 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3179 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3180 [POSIX || XPG3] (ILL_ILLADR): Likewise.
3181 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3182 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3183 [POSIX || XPG3] (ILL_PRVREG): Likewise.
3184 [POSIX || XPG3] (ILL_COPROC): Likewise.
3185 [POSIX || XPG3] (ILL_BADSTK): Likewise.
3186 [POSIX || XPG3] (FPE_INTDIV): Likewise.
3187 [POSIX || XPG3] (FPE_INTOVF): Likewise.
3188 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3189 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3190 [POSIX || XPG3] (FPE_FLTUND): Likewise.
3191 [POSIX || XPG3] (FPE_FLTRES): Likewise.
3192 [POSIX || XPG3] (FPE_FLTINV): Likewise.
3193 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3194 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3195 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3196 [POSIX || XPG3] (BUS_ADRALN): Likewise.
3197 [POSIX || XPG3] (BUS_ADRERR): Likewise.
3198 [POSIX || XPG3] (BUS_OBJERR): Likewise.
3199 [POSIX || XPG3] (CLD_EXITED): Likewise.
3200 [POSIX || XPG3] (CLD_KILLED): Likewise.
3201 [POSIX || XPG3] (CLD_DUMPED): Likewise.
3202 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3203 [POSIX || XPG3] (CLD_STOPPED): Likewise.
3204 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3205 [POSIX || XPG3] (POLL_IN): Likewise.
3206 [POSIX || XPG3] (POLL_OUT): Likewise.
3207 [POSIX || XPG3] (POLL_MSG): Likewise.
3208 [POSIX || XPG3] (POLL_ERR): Likewise.
3209 [POSIX || XPG3] (POLL_PRI): Likewise.
3210 [POSIX || XPG3] (POLL_HUP): Likewise.
3211 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3212 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3213 (SIG*): Do not allow.
3214 [XPG3] (si_*): Likewise.
3215 [XPG3] (SI_*): Likewise.
3216 [XPG3 || XPG4] (sigev_*): Likewise.
3217 [XPG3 || XPG4] (SIGEV_*): Likewise.
3218 [XPG3 || XPG4] (sival_*): Likewise.
3219 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3220 [POSIX || XPG3] (BUS_*): Likewise.
3221 [POSIX || XPG3] (CLD_*): Likewise.
3222 [POSIX || XPG3] (FPE_*): Likewise.
3223 [POSIX || XPG3] (ILL_*): Likewise.
3224 [POSIX || XPG3] (POLL_*): Likewise.
3225 [POSIX || XPG3] (SEGV_*): Likewise.
3226 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3227 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3228 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3229 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3230 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3231 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3232 Specify type and value.
3233 (TVERSLEN): Likewise.
3234 (REGTYPE): Likewise.
3235 (AREGTYPE): Likewise.
3236 (LNKTYPE): Likewise.
3237 (SYMTYPE): Likewise.
3238 (CHRTYPE): Likewise.
3239 (BLKTYPE): Likewise.
3240 (DIRTYPE): Likewise.
3241 (FIFOTYPE): Likewise.
3242 (CONTTYPE): Likewise.
3247 (TUWRITE): Likewise.
3250 (TGWRITE): Likewise.
3253 (TOWRITE): Likewise.
3255 [POSIX] (TSVTX): Expect constant.
3257 2014-03-06 Joseph Myers <joseph@codesourcery.com>
3259 * Makefile (tests): Change dependencies to ....
3260 (tests-special): ... additions to this variable.
3261 (tests): Depend on $(tests-special).
3262 * Makerules (check-abi-list): New variable.
3263 (check-abi): Depend on $(check-abi-list).
3264 [$(subdir) = elf] (tests-special): Add
3265 $(objpfx)check-abi-libc.out.
3266 [$(build-shared) = yes && subdir] (tests-special): Add
3268 [$(build-shared) = yes && subdir] (tests): Do not depend on
3270 * Rules (tests): Depend on $(tests-special).
3271 (xtests): Depend on $(xtests-special).
3272 * catgets/Makefile (tests): Change dependencies to ....
3273 (tests-special): ... additions to this variable.
3274 * conform/Makefile (tests): Change dependencies to ....
3275 (tests-special): ... additions to this variable.
3276 * elf/Makefile (tests): Change dependencies to ....
3277 (tests-special): ... additions to this variable.
3278 * grp/Makefile (tests): Change dependencies to ....
3279 (tests-special): ... additions to this variable.
3280 * iconv/Makefile (xtests): Change dependencies to ....
3281 (xtests-special): ... additions to this variable.
3282 * iconvdata/Makefile (tests): Change dependencies to ....
3283 (tests-special): ... additions to this variable.
3284 * intl/Makefile (tests): Change dependencies to ....
3285 (tests-special): ... additions to this variable. Also add
3286 $(objpfx)tst-gettext.out.
3287 * io/Makefile (tests): Change dependencies to ....
3288 (tests-special): ... additions to this variable.
3289 * libio/Makefile (tests): Change dependencies to ....
3290 (tests-special): ... additions to this variable.
3291 * malloc/Makefile (tests): Change dependencies to ....
3292 (tests-special): ... additions to this variable.
3293 * misc/Makefile (tests): Change dependencies to ....
3294 (tests-special): ... additions to this variable.
3295 * nptl/Makefile (tests): Change dependencies to ....
3296 (tests-special): ... additions to this variable.
3297 * nptl_db/Makefile (tests): Change dependencies to ....
3298 (tests-special): ... additions to this variable.
3299 * posix/Makefile (tests): Change dependencies to ....
3300 (tests-special): ... additions to this variable.
3301 (xtests): Change dependencies to ....
3302 (xtests-special): ... additions to this variable.
3303 * resolv/Makefile (tests): Change dependencies to ....
3304 (tests-special): ... additions to this variable.
3305 (xtests): Change dependencies to ....
3306 (xtests-special): ... additions to this variable.
3307 * stdio-common/Makefile (tests): Change dependencies to ....
3308 (tests-special): ... additions to this variable.
3309 (do-tst-unbputc): Remove target.
3310 (do-tst-printf): Likewise.
3311 * stdlib/Makefile (tests): Change dependencies to ....
3312 (tests-special): ... additions to this variable.
3313 * string/Makefile (tests): Change dependencies to ....
3314 (tests-special): ... additions to this variable.
3315 * sysdeps/x86/Makefile (tests): Change dependencies to ....
3316 (tests-special): ... additions to this variable.
3318 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
3320 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
3322 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
3323 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
3325 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
3326 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
3327 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
3328 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
3329 * conform/data/libgen.h-data [XPG3]: Likewise.
3330 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
3331 * conform/data/ndbm.h-data [XPG3]: Likewise.
3332 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3333 * conform/data/netdb.h-data [XPG3]: Likewise.
3334 * conform/data/netinet/in.h-data [XPG3]: Likewise.
3335 * conform/data/poll.h-data [XPG3]: Likewise.
3336 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3337 * conform/data/strings.h-data [XPG3]: Likewise.
3338 * conform/data/stropts.h-data [XPG3]: Likewise.
3339 * conform/data/sys/mman.h-data [XPG3]: Likewise.
3340 * conform/data/sys/resource.h-data [XPG3]: Likewise.
3341 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
3343 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
3344 * conform/data/sys/time.h-data [XPG3]: Likewise.
3345 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
3346 * conform/data/sys/uio.h-data [XPG3]: Likewise.
3347 * conform/data/sys/un.h-data [XPG3]: Likewise.
3348 * conform/data/syslog.h-data [XPG3]: Likewise.
3349 * conform/data/ucontext.h-data [XPG3]: Likewise.
3350 * conform/data/utmpx.h-data [XPG3]: Likewise.
3351 * conform/data/varargs.h-data [UNIX98]: Enable file.
3353 * manual/Makefile (INSTALL_INFO): Remove variable setting.
3355 * math/libm-test.inc (struct test_f_f_data): Move expected results
3356 into structure for each rounding mode.
3357 (struct test_ff_f_data): Likewise.
3358 (struct test_ff_f_data_nexttoward): Likewise.
3359 (struct test_fi_f_data): Likewise.
3360 (struct test_fl_f_data): Likewise.
3361 (struct test_if_f_data): Likewise.
3362 (struct test_fff_f_data): Likewise.
3363 (struct test_c_f_data): Likewise.
3364 (struct test_f_f1_data): Likewise.
3365 (struct test_fF_f1_data): Likewise.
3366 (struct test_ffI_f1_data): Likewise.
3367 (struct test_c_c_data): Likewise.
3368 (struct test_cc_c_data): Likewise.
3369 (struct test_f_i_data): Likewise.
3370 (struct test_ff_i_data): Likewise.
3371 (struct test_f_l_data): Likewise.
3372 (struct test_f_L_data): Likewise.
3373 (struct test_fFF_11_data): Likewise.
3375 (RM_FE_DOWNWARD): Likewise.
3376 (RM_FE_TONEAREST): Likewise.
3377 (RM_FE_TOWARDZERO): Likewise.
3378 (RM_FE_UPWARD): Likewise.
3379 (RUN_TEST_LOOP_f_f): Update references to expected results.
3380 (RUN_TEST_LOOP_2_f): Likewise.
3381 (RUN_TEST_LOOP_fff_f): Likewise.
3382 (RUN_TEST_LOOP_c_f): Likewise.
3383 (RUN_TEST_LOOP_f_f1): Likewise.
3384 (RUN_TEST_LOOP_fF_f1): Likewise.
3385 (RUN_TEST_LOOP_fI_f1): Likewise.
3386 (RUN_TEST_LOOP_ffI_f1): Likewise.
3387 (RUN_TEST_LOOP_c_c): Likewise.
3388 (RUN_TEST_LOOP_cc_c): Likewise.
3389 (RUN_TEST_LOOP_f_i): Likewise.
3390 (RUN_TEST_LOOP_f_i_tg): Likewise.
3391 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3392 (RUN_TEST_LOOP_f_b): Likewise.
3393 (RUN_TEST_LOOP_f_b_tg): Likewise.
3394 (RUN_TEST_LOOP_f_l): Likewise.
3395 (RUN_TEST_LOOP_f_L): Likewise.
3396 (RUN_TEST_LOOP_fFF_11): Likewise.
3397 * math/gen-libm-test.pl (parse_args): Output four copies of
3398 expected results for each test.
3400 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3401 (__ASSUME_UTIMES): Remove.
3402 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3403 (__ASSUME_UTIMES): Likewise.
3405 * math/gen-auto-libm-tests.c: Update comment on output format.
3406 (output_for_one_input_case): Generate before-rounding and
3407 after-rounding information as conditions on output flags not
3408 floating-point format.
3409 * math/auto-libm-test-out: Regenerated.
3410 * math/gen-libm-test.pl (cond_value): New function.
3411 (or_cond_value): Use cond_value.
3412 (generate_testfile): Handle conditional exceptions.
3414 2014-03-05 Joseph Myers <joseph@codesourcery.com>
3416 * math/libm-test.inc (max_valid_error): New variable.
3417 (init_max_error): Take new argument specifying whether function
3418 results are exactly determined. Set max_valid_error and bound
3419 other variables for errors based on this argument.
3420 (set_max_error): Do not record results above max_valid_error.
3421 (check_float_internal): Only accept errors of up to 0.5ulps if
3422 also at most max_valid_error.
3423 (START): Take new argument EXACT and pass it to init_max_error.
3424 (acos_test): Update call to START.
3425 (acos_test_tonearest): Likewise.
3426 (acos_test_towardzero): Likewise.
3427 (acos_test_downward): Likewise.
3428 (acos_test_upward): Likewise.
3429 (acosh_test): Likewise.
3430 (asin_test): Likewise.
3431 (asin_test_tonearest): Likewise.
3432 (asin_test_towardzero): Likewise.
3433 (asin_test_downward): Likewise.
3434 (asin_test_upward): Likewise.
3435 (asinh_test): Likewise.
3436 (atan_test): Likewise.
3437 (atanh_test): Likewise.
3438 (atan2_test): Likewise.
3439 (cabs_test): Likewise.
3440 (cacos_test): Likewise.
3441 (cacosh_test): Likewise.
3442 (carg_test): Likewise.
3443 (casin_test): Likewise.
3444 (casinh_test): Likewise.
3445 (catan_test): Likewise.
3446 (catanh_test): Likewise.
3447 (cbrt_test): Likewise.
3448 (ccos_test): Likewise.
3449 (ccosh_test): Likewise.
3450 (ceil_test): Likewise.
3451 (cexp_test): Likewise.
3452 (cimag_test): Likewise.
3453 (clog_test): Likewise.
3454 (clog10_test): Likewise.
3455 (conj_test): Likewise.
3456 (copysign_test): Likewise.
3457 (cos_test): Likewise.
3458 (cos_test_tonearest): Likewise.
3459 (cos_test_towardzero): Likewise.
3460 (cos_test_downward): Likewise.
3461 (cos_test_upward): Likewise.
3462 (cosh_test): Likewise.
3463 (cosh_test_tonearest): Likewise.
3464 (cosh_test_towardzero): Likewise.
3465 (cosh_test_downward): Likewise.
3466 (cosh_test_upward): Likewise.
3467 (cpow_test): Likewise.
3468 (cproj_test): Likewise.
3469 (creal_test): Likewise.
3470 (csin_test): Likewise.
3471 (csinh_test): Likewise.
3472 (csqrt_test): Likewise.
3473 (ctan_test): Likewise.
3474 (ctan_test_tonearest): Likewise.
3475 (ctan_test_towardzero): Likewise.
3476 (ctan_test_downward): Likewise.
3477 (ctan_test_upward): Likewise.
3478 (ctanh_test): Likewise.
3479 (ctanh_test_tonearest): Likewise.
3480 (ctanh_test_towardzero): Likewise.
3481 (ctanh_test_downward): Likewise.
3482 (ctanh_test_upward): Likewise.
3483 (erf_test): Likewise.
3484 (erfc_test): Likewise.
3485 (exp_test): Likewise.
3486 (exp_test_tonearest): Likewise.
3487 (exp_test_towardzero): Likewise.
3488 (exp_test_downward): Likewise.
3489 (exp_test_upward): Likewise.
3490 (exp10_test): Likewise.
3491 (exp10_test_tonearest): Likewise.
3492 (exp10_test_towardzero): Likewise.
3493 (exp10_test_downward): Likewise.
3494 (exp10_test_upward): Likewise.
3495 (pow10_test): Likewise.
3496 (exp2_test): Likewise.
3497 (expm1_test): Likewise.
3498 (expm1_test_tonearest): Likewise.
3499 (expm1_test_towardzero): Likewise.
3500 (expm1_test_downward): Likewise.
3501 (expm1_test_upward): Likewise.
3502 (fabs_test): Likewise.
3503 (fdim_test): Likewise.
3504 (floor_test): Likewise.
3505 (fma_test): Likewise.
3506 (fma_test_towardzero): Likewise.
3507 (fma_test_downward): Likewise.
3508 (fma_test_upward): Likewise.
3509 (fmax_test): Likewise.
3510 (fmin_test): Likewise.
3511 (fmod_test): Likewise.
3512 (fpclassify_test): Likewise.
3513 (frexp_test): Likewise.
3514 (hypot_test): Likewise.
3515 (ilogb_test): Likewise.
3516 (isfinite_test): Likewise.
3517 (finite_test): Likewise.
3518 (isgreater_test): Likewise.
3519 (isgreaterequal_test): Likewise.
3520 (isinf_test): Likewise.
3521 (isless_test): Likewise.
3522 (islessequal_test): Likewise.
3523 (islessgreater_test): Likewise.
3524 (isnan_test): Likewise.
3525 (isnormal_test): Likewise.
3526 (issignaling_test): Likewise.
3527 (isunordered_test): Likewise.
3528 (j0_test): Likewise.
3529 (j1_test): Likewise.
3530 (jn_test): Likewise.
3531 (ldexp_test): Likewise.
3532 (lgamma_test): Likewise.
3533 (gamma_test): Likewise.
3534 (lrint_test): Likewise.
3535 (lrint_test_tonearest): Likewise.
3536 (lrint_test_towardzero): Likewise.
3537 (lrint_test_downward): Likewise.
3538 (lrint_test_upward): Likewise.
3539 (llrint_test): Likewise.
3540 (llrint_test_tonearest): Likewise.
3541 (llrint_test_towardzero): Likewise.
3542 (llrint_test_downward): Likewise.
3543 (llrint_test_upward): Likewise.
3544 (log_test): Likewise.
3545 (log10_test): Likewise.
3546 (log1p_test): Likewise.
3547 (log2_test): Likewise.
3548 (logb_test): Likewise.
3549 (logb_test_downward): Likewise.
3550 (lround_test): Likewise.
3551 (llround_test): Likewise.
3552 (modf_test): Likewise.
3553 (nearbyint_test): Likewise.
3554 (nextafter_test): Likewise.
3555 (nexttoward_test): Likewise.
3556 (pow_test): Likewise.
3557 (pow_test_tonearest): Likewise.
3558 (pow_test_towardzero): Likewise.
3559 (pow_test_downward): Likewise.
3560 (pow_test_upward): Likewise.
3561 (remainder_test): Likewise.
3562 (drem_test): Likewise.
3563 (remainder_test_tonearest): Likewise.
3564 (drem_test_tonearest): Likewise.
3565 (remainder_test_towardzero): Likewise.
3566 (drem_test_towardzero): Likewise.
3567 (remainder_test_downward): Likewise.
3568 (drem_test_downward): Likewise.
3569 (remainder_test_upward): Likewise.
3570 (drem_test_upward): Likewise.
3571 (remquo_test): Likewise.
3572 (rint_test): Likewise.
3573 (rint_test_tonearest): Likewise.
3574 (rint_test_towardzero): Likewise.
3575 (rint_test_downward): Likewise.
3576 (rint_test_upward): Likewise.
3577 (round_test): Likewise.
3578 (scalb_test): Likewise.
3579 (scalbn_test): Likewise.
3580 (scalbln_test): Likewise.
3581 (signbit_test): Likewise.
3582 (sin_test): Likewise.
3583 (sin_test_tonearest): Likewise.
3584 (sin_test_towardzero): Likewise.
3585 (sin_test_downward): Likewise.
3586 (sin_test_upward): Likewise.
3587 (sincos_test): Likewise.
3588 (sinh_test): Likewise.
3589 (sinh_test_tonearest): Likewise.
3590 (sinh_test_towardzero): Likewise.
3591 (sinh_test_downward): Likewise.
3592 (sinh_test_upward): Likewise.
3593 (sqrt_test): Likewise.
3594 (sqrt_test_tonearest): Likewise.
3595 (sqrt_test_towardzero): Likewise.
3596 (sqrt_test_downward): Likewise.
3597 (sqrt_test_upward): Likewise.
3598 (tan_test): Likewise.
3599 (tan_test_tonearest): Likewise.
3600 (tan_test_towardzero): Likewise.
3601 (tan_test_downward): Likewise.
3602 (tan_test_upward): Likewise.
3603 (tanh_test): Likewise.
3604 (tgamma_test): Likewise.
3605 (trunc_test): Likewise.
3606 (y0_test): Likewise.
3607 (y1_test): Likewise.
3608 (yn_test): Likewise.
3609 (significand_test): Likewise.
3611 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
3612 individual tests in comment.
3613 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
3614 (prev_max_error): New variable.
3615 (prev_real_max_error): Likewise.
3616 (prev_imag_max_error): Likewise.
3617 (compare_ulp_data): Don't refer to test names in comment.
3618 (find_test_ulps): Remove function.
3619 (find_function_ulps): Likewise.
3620 (find_complex_function_ulps): Likewise.
3621 (init_max_error): Take function name as argument. Look up ulps
3623 (print_ulps): Remove function.
3624 (print_max_error): Use prev_max_error instead of calling
3626 (print_complex_max_error): Use prev_real_max_error and
3627 prev_imag_max_error instead of calling find_complex_function_ulps.
3628 (check_float_internal): Take max_ulp parameter instead of calling
3629 find_test_ulps. Don't call print_ulps.
3630 (check_float): Update call to check_float_internal.
3631 (check_complex): Update calls to check_float_internal.
3632 (START): Pass argument to init_max_error.
3633 * math/gen-libm-test.pl (%results): Don't include "kind"
3635 (parse_ulps): Don't handle ulps of individual tests.
3636 (print_ulps_file): Likewise.
3637 (output_ulps): Likewise.
3638 * math/README.libm-test: Update.
3639 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3641 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3642 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3643 * sysdeps/arm/libm-test-ulps: Likewise.
3644 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3645 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3646 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3647 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3648 * sysdeps/microblaze/libm-test-ulps: Likewise.
3649 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3650 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3651 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3652 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3653 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3654 * sysdeps/sh/libm-test-ulps: Likewise.
3655 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3656 * sysdeps/tile/libm-test-ulps: Likewise.
3657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3659 2014-03-04 Joseph Myers <joseph@codesourcery.com>
3661 * math/libm-test.inc (print_complex_max_error): Check separately
3662 whether real and imaginary errors are within allowed range and
3663 pass 0 to print_complex_function_ulps instead of value within
3666 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3668 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3670 (get_handles_fopen): Likewise.
3671 (do_write_test): Likewise.
3673 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3675 * libio/fileops.c (do_ftell): Use cached offset when
3677 * libio/iofwide.c (do_ftell_wide): Likewise.
3678 * libio/iofdopen.c (_IO_new_fdopen): Don't use
3680 * libio/wfileops.c (_IO_fwide): Don't cache offset.
3683 * libio/libioP.h (get_file_offset): New function.
3684 * libio/fileops.c (get_file_offset): Likewise.
3685 (do_ftell): Likewise.
3686 (_IO_new_file_seekoff): Split out ftell logic.
3687 * libio/wfileops.c (do_ftell_wide): Likewise.
3688 (_IO_wfile_seekoff): Split out ftell logic.
3689 * libio/tst-ftell-active-handler.c: New test case.
3690 * libio/Makefile (tests): Add it.
3692 2014-03-03 Roland McGrath <roland@hack.frob.com>
3694 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3695 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3697 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3700 * nscd/connections.c (nscd_init): Call do_exit.
3701 (start_threads): Call do_exit and notify_parent.
3702 (begin_drop_privileges): Call do_exit.
3703 (finish_drop_privileges): Likewise.
3704 * nscd/selinux.c (preserve_capabilities): Likewise.
3705 (install_real_capabilities): Likewise.
3706 (nscd_selinux_enabled): Likewise.
3707 (avc_create_thread): Likewise.
3708 (avc_alloc_lock): Likewise.
3709 (nscd_avc_init): Likewise.
3710 * nscd/nscd.c (parent_fd): New static variable.
3711 (main): Create a pipe between parent and child processes.
3712 Skip closing parent_fd.
3713 (monitor_child): New function.
3714 (do_exit): Likewise.
3715 (notify_parent): Likewise.
3716 * nscd/nscd.h (notify_parent): Likewise.
3717 (do_exit): Likewise.
3719 2014-03-03 Carlos O'Donell <carlos@redhat.com>
3721 * malloc/malloc.c (__libc_calloc): Revert last change.
3723 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3727 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3729 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3730 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3732 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3733 (__libc_ifunc_impl_list): Likewise.
3734 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3735 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3736 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3737 * string/strrchr.c: Define STRRCHR.
3739 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
3741 * benchtest/bench-strtok.c (simple_strtok): Delete.
3742 (strtok_string): Use as benchmark.
3743 * string/strtok (STRTOK): New macro.
3745 2014-02-28 Carlos O'Donell <carlos@redhat.com>
3747 * manual/threads.texi: Add header and standard comments to all
3750 * elf/dl-lookup.c (check_match): New function.
3751 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3752 (do_lookup_x): Remove nested function check_match. Use non-nested
3753 function check_match.
3755 2014-02-28 Roland McGrath <roland@hack.frob.com>
3757 * csu/Makefile (generated, before-compile): Use += rather than =.
3758 * catgets/Makefile (generated, generated-dirs): Likewise.
3759 * debug/Makefile (generated): Likewise.
3760 * dlfcn/Makefile (generated): Likewise.
3761 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3762 * iconvdata/Makefile (before-compile, generated): Likewise.
3763 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3764 * libio/Makefile (generated): Likewise.
3765 * malloc/Makefile (generated): Likewise.
3766 * manual/Makefile (generated, generated-dirs): Likewise.
3767 * misc/Makefile (generated): Likewise.
3768 * posix/Makefile (generated): Likewise.
3769 * resolv/Makefile (generated): Likewise.
3770 * sunrpc/Makefile (generated, generated-dirs): Likewise.
3771 * timezone/Makefile (generated, generated-dirs): Likewise.
3773 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3775 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3777 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3778 power8 implementation.
3779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3780 file: POWER8 llround ifunc implementation.
3781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3782 (__lllround): Add POWER8 implementation.
3783 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3784 POWER8 llround implementation.
3786 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3787 power8 implementation.
3788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3789 file: POWER8 llrint ifunc implementation.
3790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3791 Add POWER8 implementation.
3792 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3793 POWER8 llrint implementation.
3795 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3796 power8 implementation.
3797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3798 file: POWER8 finite ifunc implementation.
3799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3800 Add POWER8 implementation.
3801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3803 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3804 POWER8 finite implementation.
3805 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3807 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3808 power8 implementation.
3809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3810 file: POWER8 isinf ifunc implementation.
3811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3812 POWER8 implementation.
3813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3815 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3816 isinf implementation.
3817 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3819 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3820 (INIT_ARCH): Add hwcap2 initialization.
3821 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3822 power8 implementation.
3823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3824 file: POWER8 isnan ifunc implementation.
3825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3826 POWER8 implementation.
3827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3829 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3830 isnan implementation.
3831 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3833 2014-02-27 Joey Ye <joey.ye@arm.com>
3835 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3836 (_FP_NANFRAC_Q): Set to zero.
3838 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3841 * math/auto-libm-test-in: New test inputs.
3842 * math/auto-libm-test-out: Regenerate.
3843 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3846 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3848 2014-02-27 Joseph Myers <joseph@codesourcery.com>
3850 * scripts/evaluate-test.sh: Take new argument indicating whether
3851 failure is expected.
3852 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3853 indicating whether failure is expected.
3854 * conform/Makefile (test-xfail-run-conformtest): New variable.
3855 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3857 * posix/Makefile (test-xfail-annexc): New variable.
3858 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3860 2014-02-26 Joseph Myers <joseph@codesourcery.com>
3862 * argp/Makefile: Include Makeconfig immediately after defining
3864 * assert/Makefile: Likewise.
3865 * benchtests/Makefile: Likewise.
3866 * catgets/Makefile: Likewise.
3867 * conform/Makefile: Likewise.
3868 * crypt/Makefile: Likewise.
3869 * csu/Makefile: Likewise.
3870 (all): Remove target.
3871 * ctype/Makefile: Include Makeconfig immediately after defining
3873 * debug/Makefile: Likewise.
3874 * dirent/Makefile: Likewise.
3875 * dlfcn/Makefile: Likewise.
3876 * gmon/Makefile: Likewise.
3877 * gnulib/Makefile: Likewise.
3878 * grp/Makefile: Likewise.
3879 * gshadow/Makefile: Likewise.
3880 * hesiod/Makefile: Likewise.
3881 * hurd/Makefile: Likewise.
3882 (all): Remove target.
3883 * iconvdata/Makefile: Include Makeconfig immediately after
3885 * inet/Makefile: Likewise.
3886 * intl/Makefile: Likewise.
3887 * io/Makefile: Likewise.
3888 * libio/Makefile: Likewise.
3889 (all): Remove target.
3890 * locale/Makefile: Include Makeconfig immediately after defining
3892 * login/Makefile: Likewise.
3893 * mach/Makefile: Likewise.
3894 (all): Remove target.
3895 * malloc/Makefile: Include Makeconfig immediately after defining
3897 (all): Remove target.
3898 * manual/Makefile: Include Makeconfig immediately after defining
3900 * math/Makefile: Likewise.
3901 * misc/Makefile: Likewise.
3902 * nis/Makefile: Likewise.
3903 * nss/Makefile: Likewise.
3904 * po/Makefile: Likewise.
3905 (all): Remove target.
3906 * posix/Makefile: Include Makeconfig immediately after defining
3908 * pwd/Makefile: Likewise.
3909 * resolv/Makefile: Likewise.
3910 * resource/Makefile: Likewise.
3911 * rt/Makefile: Likewise.
3912 * setjmp/Makefile: Likewise.
3913 * shadow/Makefile: Likewise.
3914 * signal/Makefile: Likewise.
3915 * socket/Makefile: Likewise.
3916 * soft-fp/Makefile: Likewise.
3917 * stdio-common/Makefile: Likewise.
3918 * stdlib/Makefile: Likewise.
3919 * streams/Makefile: Likewise.
3920 * string/Makefile: Likewise.
3921 * sunrpc/Makefile: Likewise.
3922 (all): Remove target.
3923 * sysvipc/Makefile: Include Makeconfig immediately after defining
3925 * termios/Makefile: Likewise.
3926 * time/Makefile: Likewise.
3927 * timezone/Makefile: Likewise.
3928 (all): Remove target.
3929 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3931 * wctype/Makefile: Likewise.
3933 2014-02-26 Steve Ellcey <sellcey@mips.com>
3935 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3936 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3937 (libc_feholdexcept_setround_mips): Ditto.
3938 (libc_feholdsetround): New.
3939 (libc_feholdsetroundf): New.
3940 (libc_feholdsetroundl): New.
3941 (libc_feupdateenv_test_mips): New.
3942 (libc_feupdateenv_test): New.
3943 (libc_feupdateenv_testf): New.
3944 (libc_feupdateenv_testl): New.
3945 (libc_feresetround): New.
3946 (libc_feresetroundf): New.
3947 (libc_feresetroundl): New.
3948 (libc_fetestexcept_mips): New.
3949 (libc_fetestexcept): New.
3950 (libc_fetestexceptf): New.
3951 (libc_fetestexceptl): New.
3953 (libc_feholdexcept_setround_mips_ctx): New.
3954 (libc_feholdexcept_setround_ctx): New.
3955 (libc_feholdexcept_setroundf_ctx): New.
3956 (libc_feholdexcept_setroundl_ctx): New.
3957 (libc_fesetenv_mips_ctx): New.
3958 (libc_fesetenv_ctx): New.
3959 (libc_fesetenv_ctxf): New.
3960 (libc_fesetenv_ctxl): New.
3961 (libc_feupdateenv_mips_ctx): New.
3962 (libc_feupdateenv_ctx): New.
3963 (libc_feupdateenvf_ctx): New.
3964 (libc_feupdateenvl_ctx): New.
3965 (libc_feholdsetround_mips_ctx): New.
3966 (libc_feholdsetround_ctx): New.
3967 (libc_feholdsetroundf_ctx): New.
3968 (libc_feholdsetroundl_ctx): New.
3969 (libc_feresetround_mips_ctx): New.
3970 (libc_feresetround_ctx): New.
3971 (libc_feresetroundf_ctx): New.
3972 (libc_feresetroundl_ctx): New.
3974 2014-02-26 Carlos O'Donell <carlos@redhat.com>
3976 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3978 * manual/ipc.texi: New file.
3979 * manual/Makefile (chapters): Add ipc.
3980 * manual/job.texi: Add "Inter-Process Communication" to next.
3981 * manual/process.texi: Add "Inter-Process Communication" to prev.
3983 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3987 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
3989 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3991 * manual/arith.texi: Fix spaces after sentences.
3992 * manual/charset.texi: Likewise.
3993 * manual/errno.texi: Likewise.
3994 * manual/install.texi: Likewise.
3995 * manual/llio.texi: Likewise.
3996 * manual/locale.texi: Likewise.
3997 * manual/maint.texi: Likewise.
3998 * manual/math.texi: Likewise.
3999 * manual/memory.texi: Likewise.
4000 * manual/message.texi: Likewise.
4001 * manual/probes.texi: Likewise.
4002 * manual/resource.texi: Likewise.
4003 * manual/signal.texi: Likewise.
4004 * manual/socket.texi: Likewise.
4005 * manual/stdio.texi: Likewise.
4006 * manual/string.texi: Likewise.
4007 * manual/time.texi: Likewise.
4008 * manual/users.texi: Likewise.
4010 2014-02-25 Carlos O'Donell <carlos@redhat.com>
4013 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
4014 _DEFAULT_SOURCE is defined.
4016 2014-02-25 Ulrich Drepper <drepper@gmail.com>
4017 Carlos O'Donell <carlos@redhat.com>
4020 * elf/dl-tls.c (_dl_count_modids): New function.
4021 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4022 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4023 audit library and increment generation counter.
4024 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4025 * elf/tst-audit9.c: New file.
4026 * elf/tst-auditmod9a.c: New file.
4027 * elf/tst-auditmod9b.c: New file.
4028 * elf/Makefile: Add rules to build and run tst-audit9.
4030 2014-02-25 Florian Weimer <fweimer@redhat.com>
4033 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4035 2014-02-25 Will Newton <will.newton@linaro.org>
4037 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4038 (__longjmp): Restore sp and lr before restoring callee
4039 saved registers. Add longjmp and longjmp_target
4040 SystemTap probe point.
4041 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4042 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4043 Define to zero to match jmpbuf layout.
4044 * sysdeps/arm/setjmp.S: Include stap-probe.h.
4045 (__sigsetjmp): Save sp and lr before saving callee
4046 saved registers. Add setjmp SystemTap probe point.
4048 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4050 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4052 2014-02-24 Andreas Schwab <schwab@suse.de>
4055 * elf/pldd.c (wait_for_ptrace_stop): New function.
4056 (main): Call it after attaching.
4058 2014-02-22 Roland McGrath <roland@hack.frob.com>
4060 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4061 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4062 Versions files is now verboten.
4063 * hurd/Versions (libc: GLIBC_2.0):
4064 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4065 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4066 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4067 * mach/Versions: Likewise.
4069 * csu/Versions: Remove unused %include.
4070 * resolv/Versions: Likewise.
4072 2014-02-21 Joseph Myers <joseph@codesourcery.com>
4074 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4075 ($(objpfx)check-local-headers.out): Likewise.
4076 ($(objpfx)begin-end-check.out): Likewise.
4077 * Makerules (check-abi-%.out): Likewise.
4078 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4079 ($(objpfx)test2.cat): Likewise.
4080 ($(objpfx)de/libc.cat): Likewise.
4081 ($(objpfx)test-gencat.out): Likewise.
4082 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4083 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4084 ($(objpfx)noload-mem): Likewise.
4085 ($(objpfx)tst-pathopt.out): Likewise.
4086 ($(objpfx)tst-rtld-load-self.out): Likewise.
4087 ($(objpfx)tst-array1-cmp.out): Likewise.
4088 ($(objpfx)tst-array1-static-cmp.out): Likewise.
4089 ($(objpfx)tst-array2-cmp.out): Likewise.
4090 ($(objpfx)tst-array3-cmp.out): Likewise.
4091 ($(objpfx)tst-array4-cmp.out): Likewise.
4092 ($(objpfx)tst-array5-cmp.out): Likewise.
4093 ($(objpfx)tst-array5-static-cmp.out): Likewise.
4094 ($(objpfx)check-textrel.out): Likewise.
4095 ($(objpfx)check-execstack.out): Likewise.
4096 ($(objpfx)check-localplt.out): Likewise.
4097 ($(objpfx)order2-cmp.out): Likewise.
4098 ($(objpfx)tst-leaks1-mem): Likewise.
4099 ($(objpfx)tst-leaks1-static-mem): Likewise.
4100 ($(objpfx)tst-initorder-cmp.out): Likewise.
4101 ($(objpfx)tst-initorder2-cmp.out): Likewise.
4102 ($(objpfx)tst-unused-dep.out): Likewise.
4103 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4104 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4105 * iconv/Makefile (test-iconvconfig): Likewise.
4106 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4107 ($(objpfx)iconv-test.out): Likewise.
4108 ($(objpfx)tst-tables.out): Likewise.
4109 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4110 ($(objpfx)tst-gettext.out): Likewise.
4111 ($(objpfx)tst-translit.out): Likewise.
4112 ($(objpfx)tst-gettext2.out): Likewise.
4113 ($(objpfx)tst-gettext4.out): Likewise.
4114 ($(objpfx)tst-gettext6.out): Likewise.
4115 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4116 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4117 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4118 ($(objpfx)tst-fopenloc-mem.out): Likewise.
4119 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4120 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4121 * posix/Makefile ($(objpfx)globtest.out): Likewise.
4122 ($(objpfx)wordexp-tst.out): Likewise.
4123 ($(objpfx)annexc.out): Likewise.
4124 ($(objpfx)tst-fnmatch-mem): Likewise.
4125 ($(objpfx)bug-regex2-mem): Likewise.
4126 ($(objpfx)bug-regex14-mem): Likewise.
4127 ($(objpfx)bug-regex21-mem): Likewise.
4128 ($(objpfx)bug-regex31-mem): Likewise.
4129 ($(objpfx)tst-vfork3-mem): Likewise.
4130 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4131 ($(objpfx)tst-pcre-mem): Likewise.
4132 ($(objpfx)tst-boost-mem): Likewise.
4133 ($(objpfx)tst-getconf.out): Likewise.
4134 ($(objpfx)bug-ga2-mem): Likewise.
4135 ($(objpfx)bug-glob2-mem): Likewise.
4136 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4137 ($(objpfx)mtrace-tst-leaks2): Likewise.
4138 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4139 ($(objpfx)tst-printf.out): Likewise.
4140 ($(objpfx)tst-setvbuf1.out): Likewise.
4141 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4142 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4143 ($(objpfx)tst-fmtmsg.out): Likewise.
4144 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4145 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4147 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4148 * bits/sigaction.h [__USE_MISC]: Likewise.
4149 * bits/waitstatus.h: Update #endif comments.
4150 * ctype/ctype.h: Likewise.
4151 * dirent/dirent.h: Likewise.
4152 [__USE_MISC]: Remove redundant conditionals.
4153 * grp/grp.h: Update #endif comments.
4154 [__USE_GNU]: Remove redundant conditionals.
4155 [__USE_MISC]: Likewise.
4156 * inet/netinet/in.h [__USE_GNU]: Likewise.
4157 * io/sys/stat.h [__USE_MISC]: Likewise.
4158 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4159 * libio/bits/stdio.h: Update #endif comments.
4160 [__USE_MISC]: Remove redundant conditionals.
4161 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4162 * libio/stdio.h: Update #endif comments.
4163 [__USE_MISC]: Remove redundant conditionals.
4164 * math/bits/math-finite.h [__USE_MISC]: Likewise.
4165 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4166 * math/math.h: Update #else and #endif comments.
4167 [__USE_MISC]: Remove redundant conditionals.
4168 * misc/sys/uio.h: Update #endif comments.
4169 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4170 * posix/glob.h [__USE_MISC]: Likewise.
4171 * posix/sys/types.h: Update #endif comments.
4172 [__USE_MISC]: Remove redundant conditionals.
4173 * posix/sys/wait.h: Update #endif comments.
4174 [__USE_MISC]: Remove redundant conditionals.
4175 * posix/unistd.h: Update #endif comments.
4176 [__USE_MISC]: Remove redundant conditionals.
4177 * pwd/pwd.h [__USE_GNU]: Likewise.
4178 [__USE_MISC]: Likewise.
4179 * resolv/netdb.h [__USE_GNU]: Likewise.
4180 * signal/signal.h: Update #endif comments.
4181 [__USE_MISC]: Remove redundant conditionals.
4182 * stdlib/stdlib.h: Update #else and #endif comments.
4183 [__USE_MISC]: Remove redundant conditionals.
4184 [__USE_GNU]: Likewise.
4185 * string/bits/string2.h [__USE_MISC]: Likewise.
4186 * string/string.h: Update #endif comments.
4187 [__USE_MISC]: Remove redundant conditionals.
4188 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4190 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4191 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4192 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4194 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4196 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4198 [__USE_MISC]: Remove redundant conditionals.
4199 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4200 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4201 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4202 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4203 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4205 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4206 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4208 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4209 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4211 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4213 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4214 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4216 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4218 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4219 * sysdeps/x86/bits/string.h: Update #endif comments.
4220 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4222 * time/sys/time.h: Update #endif comments.
4223 * time/time.h: Likewise.
4224 [__USE_MISC]: Remove redundant conditionals.
4226 2014-02-21 Yury Gribov <y.gribov@samsung.com>
4229 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4231 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
4233 * Versions.def (librt): Add GLIBC_2.17.
4235 2014-02-21 Adam Conrad <adconrad@0c3.net>
4237 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4238 synonym for _SYS_AUXV_H to allow direct inclusion.
4239 * sysdeps/sparc/bits/hwcap.h: Likewise.
4240 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4241 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4242 * sysdeps/sparc/sysdep.h: Likewise.
4244 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4246 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4248 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4250 * benchtests/bench-strrchr.c: Print length instead of position.
4252 2014-02-20 Joseph Myers <joseph@codesourcery.com>
4255 * sysdeps/unix/sysv/linux/kernel-features.h
4256 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
4257 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
4258 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
4259 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
4261 [__i386__ || __powerpc__ || __sh__ || __sparc__]
4262 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4263 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
4264 (__ASSUME_SENDMMSG): Define instead of using previous
4265 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
4266 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4267 (__ASSUME_SENDMMSG_SYSCALL): Define.
4268 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4269 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
4271 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4272 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4274 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4275 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4277 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
4278 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4279 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4280 [__ASSUME_SENDMMSG]: Change conditionals to
4281 [__ASSUME_SENDMMSG_SOCKETCALL].
4282 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4283 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
4285 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4286 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
4288 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
4289 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4290 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4291 [!__ASSUME_SENDMMSG]: Change conditional to
4292 [!__ASSUME_SENDMMSG_SOCKETCALL].
4293 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4294 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4298 * sysdeps/unix/sysv/linux/kernel-features.h
4299 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
4300 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
4301 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
4302 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
4303 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4304 [__i386__ || __sparc__]
4305 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4306 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
4307 (__ASSUME_RECVMMSG): Define instead of using previous
4308 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
4309 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4310 (__ASSUME_RECVMMSG_SYSCALL): Define.
4311 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4312 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4314 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4315 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4317 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4318 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4320 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
4321 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4322 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4323 [__ASSUME_RECVMMSG]: Change condition to
4324 [__ASSUME_RECVMMSG_SOCKETCALL].
4325 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4326 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4328 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4329 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4330 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4332 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
4333 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4334 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4335 [!__ASSUME_RECVMMSG]: Change condition to
4336 [!__ASSUME_RECVMMSG_SOCKETCALL].
4337 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4338 (__ASSUME_RECVMMSG_SYSCALL): Define.
4341 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
4342 __powerpc__ || __s390__ || __sh__ || __sparc__]
4343 (__ASSUME_SOCKETCALL): Define.
4344 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
4345 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
4346 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
4347 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
4348 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4349 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4350 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
4351 (__ASSUME_ACCEPT4): Define instead of using previous
4352 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
4353 __powerpc__ || __sparc__ || __s390__)] condition.
4354 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4355 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4356 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
4357 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4358 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4359 [!__ASSUME_ACCEPT4]: Change condition to
4360 [!__ASSUME_ACCEPT4_SOCKETCALL].
4361 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4362 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
4363 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
4364 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4365 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
4366 __ASSUME_ACCEPT4_SYSCALL.
4367 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
4368 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
4369 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4370 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
4371 __ASSUME_ACCEPT4_SYSCALL.
4372 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4373 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4374 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4375 [__ASSUME_ACCEPT4]: Change condition to
4376 [__ASSUME_ACCEPT4_SOCKETCALL].
4377 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4378 (__ASSUME_SOCKETCALL): Define.
4379 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4380 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4381 (__ASSUME_SOCKETCALL): Define.
4382 (__ASSUME_ACCEPT4): Remove.
4383 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4385 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4386 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4388 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4389 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4391 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4393 (HWCAP_ARM_LPAE): Likewise.
4394 (HWCAP_ARM_EVTSTRM): Likewise.
4395 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
4396 Add vpfd32, lpae and evtstrm.
4397 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4400 2014-02-19 Joseph Myers <joseph@codesourcery.com>
4402 * math/auto-libm-test-in: Add tests of clog10.
4403 * math/auto-libm-test-out: Regenerated.
4404 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
4405 * sysdeps/i386/fpu/libm-test-ulps: Update.
4406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4408 2014-02-18 Andreas Schwab <schwab@suse.de>
4411 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
4412 Store non-zero if the second buffer was newly allocated.
4413 (send_dg): Likewise.
4414 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
4415 to send_vc and send_dg.
4416 (res_nsend): Pass NULL for ansp2_malloced.
4417 * resolv/res_query.c (__libc_res_nquery): Add parameter
4418 answerp2_malloced and pass it down to __libc_res_nsend.
4419 (res_nquery): Pass additional NULL to __libc_res_nquery.
4420 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
4421 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
4422 second answer buffer if answerp2_malloced was set.
4423 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
4424 (__libc_res_nquerydomain): Add parameter
4425 answerp2_malloced and pass it down to __libc_res_nquery.
4426 (res_nquerydomain): Pass additional NULL to
4427 __libc_res_nquerydomain.
4428 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
4429 additional NULL to __libc_res_nsend and __libc_res_nquery.
4430 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
4431 additional NULL to __libc_res_nsearch.
4432 (_nss_dns_gethostbyname4_r): Revert last change. Use new
4433 parameter of __libc_res_nsearch to check for separately allocated
4435 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
4437 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
4438 additional NULL to __libc_res_nquery.
4439 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
4441 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
4442 * include/resolv.h: Update prototypes of __libc_res_nquery,
4443 __libc_res_nsearch, __libc_res_nsend.
4445 2014-02-18 Joseph Myers <joseph@codesourcery.com>
4447 * math/auto-libm-test-in: Add tests of fma.
4448 * math/auto-libm-test-out: Regenerated.
4449 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
4450 (fma_towardzero_test_data): Likewise.
4451 (fma_downward_test_data): Likewise.
4452 (fma_upward_test_data): Likewise.
4453 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
4455 (rounding_modes): Add values for new field.
4456 (func_calc_method): Add value mpfr_fff_f.
4457 (func_calc_desc): Add mpfr_fff_f union field.
4458 (test_function): Add field exact_args.
4459 (FUNC): Add macro argument EXACT_ARGS.
4460 (FUNC_mpfr_f_f): Update call to FUNC.
4461 (FUNC_mpfr_f_f): Likewise.
4462 (FUNC_mpfr_ff_f): Likewise.
4463 (FUNC_mpfr_if_f): Likewise.
4464 (FUNC_mpc_c_f): Likewise.
4465 (FUNC_mpc_c_c): Likewise.
4466 (test_functions): Add fma. Update calls to FUNC.
4467 (handle_input_arg): Add argument exact_args.
4468 (add_test): Update call to handle_input_arg.
4469 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
4470 (output_for_one_input_case): Update call to calc_generic_results.
4471 Recalculate exact zero results in each rounding mode.
4473 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4474 non-negative before setting low bit.
4475 * math/auto-libm-test-in: Mark one asin test possibly having
4477 * math/auto-libm-test-out: Regenerated.
4478 * sysdeps/i386/fpu/libm-test-ulps: Update.
4479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4481 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
4483 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4484 * sysdeps/unix/sysv/linux/microblaze: Move directory from
4485 ports/sysdeps/unix/sysv/linux/microblaze.
4486 * README: Add missing listing for microblaze*-*-linux-gnu.
4488 2014-02-16 Mike Frysinger <vapier@gentoo.org>
4490 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4491 * sysdeps/unix/sysv/linux/ia64: Move directory from
4492 ports/sysdeps/unix/sysv/linux/ia64.
4493 * README: Update listing for ia64-*-linux-gnu.
4495 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
4496 Joseph Myers <joseph@codesourcery.com>
4498 * Makeconfig (test-name): New variable.
4499 (evaluate-test): Likewise.
4500 * Makerules (do-test-clean): Remove .test-result files.
4501 (common-mostlyclean): Likewise.
4502 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
4503 * scripts/evaluate-test.sh: New file.
4505 2014-02-14 Joseph Myers <joseph@codesourcery.com>
4507 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
4508 separate $(objpfx)tst-fopenloc-cmp.out and
4509 $(objpfx)tst-fopenloc-mem.out targets.
4510 (tests): Update dependencies.
4511 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
4512 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
4513 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
4514 (tst-rxspencer-no-utf8-ARGS): New variable.
4515 (tst-rxspencer-no-utf8-ENV): Likewise.
4516 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
4517 instead of $(objpfx)tst-rxspencer-mem.
4518 ($(objpfx)tst-rxspencer-mem): Change target to
4519 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
4520 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
4521 * posix/tst-rxspencer-no-utf8.c: New file.
4523 * elf/Makefile ($(objpfx)order.out): Remove rule.
4524 [$(run-built-tests) = yes] (tests): Depend on
4525 $(objpfx)order-cmp.out.
4526 ($(objpfx)order-cmp.out): New rule.
4527 [$(run-built-tests) = yes] (tests): Depend on
4528 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
4529 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
4530 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
4531 $(objpfx)tst-array5-static-cmp.out.
4532 ($(objpfx)tst-array1.out): Remove rule.
4533 ($(objpfx)tst-array1-cmp.out): New rule.
4534 ($(objpfx)tst-array1-static.out): Remove rule.
4535 ($(objpfx)tst-array1-static-cmp.out): New rule.
4536 ($(objpfx)tst-array2.out): Remove rule.
4537 ($(objpfx)tst-array2-cmp.out): New rule.
4538 ($(objpfx)tst-array3.out): Remove rule.
4539 ($(objpfx)tst-array3-cmp.out): New rule.
4540 ($(objpfx)tst-array4.out): Remove rule.
4541 ($(objpfx)tst-array4-cmp.out): New rule.
4542 ($(objpfx)tst-array5.out): Remove rule.
4543 ($(objpfx)tst-array5-cmp.out): New rule.
4544 ($(objpfx)tst-array5-static.out): Remove rule.
4545 ($(objpfx)tst-array5-static-cmp.out): New rule.
4546 [$(run-built-tests) = yes] (tests): Depend on
4547 $(objpfx)order2-cmp.out.
4548 ($(objpfx)order2.out): Remove rule.
4549 ($(objpfx)order2-cmp.out): New rule.
4550 ($(objpfx)tst-initorder.out): Remove rule.
4551 [$(run-built-tests) = yes] (tests): Depend on
4552 $(objpfx)tst-initorder-cmp.out.
4553 ($(objpfx)tst-initorder-cmp.out): New rule.
4554 ($(objpfx)tst-initorder2.out): Remove rule.
4555 [$(run-built-tests) = yes] (tests): Depend on
4556 $(objpfx)tst-initorder2-cmp.out.
4557 ($(objpfx)tst-initorder2-cmp.out): New rule.
4558 [$(run-built-tests) = yes] (tests): Depend on
4559 $(objpfx)tst-unused-dep-cmp.out.
4560 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4561 ($(objpfx)tst-unused-dep-cmp.out): New rule.
4562 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4563 on $(objpfx)tst-setvbuf1-cmp.out.
4564 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4565 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
4566 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4567 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4568 ($(objpfx)tst-svc.out): Remove rule.
4569 ($(objpfx)tst-svc-cmp.out): New rule.
4571 2014-02-13 Joseph Myers <joseph@codesourcery.com>
4573 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
4574 * ctype/ctype.h [__USE_MISC]: Likewise.
4575 * dirent/dirent.h [__USE_MISC]: Likewise.
4576 * grp/grp.h [__USE_MISC]: Likewise.
4577 * io/fcntl.h [__USE_MISC]: Likewise.
4578 * io/sys/stat.h [__USE_MISC]: Likewise.
4579 * libio/stdio.h [__USE_MISC]: Likewise.
4580 * posix/unistd.h [__USE_MISC]: Likewise.
4581 * pwd/pwd.h [__USE_MISC]: Likewise.
4582 * stdlib.h [__USE_MISC]: Likewise.
4583 * string/bits/string2.h [__USE_MISC]: Likewise.
4584 * string/string.h [__USE_MISC]: Likewise.
4585 * time/time.h [__USE_MISC]: Likewise.
4587 2014-02-13 Andreas Schwab <schwab@suse.de>
4590 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
4591 second answer buffer if it was separately allocated.
4593 2014-02-12 Joseph Myers <joseph@codesourcery.com>
4595 * sysdeps/mips/math-tests.h: Include <features.h>.
4596 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4597 (ROUNDING_TESTS_long_double): Do not define.
4598 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4599 (EXCEPTION_TESTS_long_double): Likewise.
4600 * sysdeps/mips/mips64/libm-test-ulps: Update.
4602 * include/features.h (__USE_BSD): Remove macro definitions.
4603 (__USE_SVID): Likewise.
4604 (_BSD_SOURCE): Likewise.
4605 (_SVID_SOURCE): Likewise.
4606 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
4607 from definition of _DEFAULT_SOURCE.
4608 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
4610 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
4611 * bits/mman.h [__USE_BSD]: Likewise.
4612 * bits/termios.h [__USE_BSD]: Likewise.
4613 * bits/waitstatus.h [__USE_BSD]: Likewise.
4614 * ctype/ctype.h [__USE_SVID]: Likewise.
4615 * dirent/dirent.h [__USE_BSD]: Likewise.
4616 * grp/grp.h [__USE_SVID]: Likewise.
4617 [__USE_BSD]: Likewise.
4618 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
4619 * io/fcntl.h [__USE_BSD]: Likewise.
4620 * io/ftw.h [__USE_BSD]: Likewise.
4621 * io/sys/stat.h [__USE_BSD]: Likewise.
4622 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
4623 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4624 * libio/stdio.h [__USE_SVID]: Likewise.
4625 [__USE_BSD]: Likewise.
4626 * math/math.h [__USE_SVID]: Likewise.
4627 [__USE_BSD]: Likewise.
4628 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4629 * misc/bits/syslog.h [__USE_BSD]: Likewise.
4630 * misc/search.h [__USE_SVID]: Likewise.
4631 * misc/sys/mman.h [__USE_BSD]: Likewise.
4632 * misc/sys/syslog.h [__USE_BSD]: Likewise.
4633 * misc/sys/uio.h [__USE_BSD]: Likewise.
4634 * posix/bits/unistd.h [__USE_BSD]: Likewise.
4635 * posix/glob.h [__USE_BSD]: Likewise.
4636 * posix/regex.h [__USE_BSD]: Likewise.
4637 * posix/sys/types.h [__USE_BSD]: Likewise.
4638 [__USE_SVID]: Likewise.
4639 * posix/sys/utsname.h [__USE_SVID]: Likewise.
4640 * posix/sys/wait.h [__USE_BSD]: Likewise.
4641 [__USE_SVID]: Likewise.
4642 * posix/unistd.h [__USE_BSD]: Likewise.
4643 [__USE_SVID]: Likewise.
4644 * pwd/pwd.h [__USE_SVID]: Likewise.
4645 * resolv/netdb.h [__USE_BSD]: Likewise.
4646 * setjmp/setjmp.h [__USE_BSD]: Likewise.
4647 * signal/signal.h [__USE_BSD]: Likewise.
4648 [__USE_SVID]: Likewise.
4649 * socket/sys/socket.h [__USE_BSD]: Likewise.
4650 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4651 * stdlib/stdlib.h [__USE_BSD]: Likewise.
4652 [__USE_SVID]: Likewise.
4653 * string/bits/string2.h [__USE_BSD]: Likewise.
4654 [__USE_SVID]: Likewise.
4655 * string/bits/string3.h [__USE_BSD]: Likewise.
4656 * string/endian.h [__USE_BSD]: Likewise.
4657 * string/string.h [__USE_SVID]: Likewise.
4658 [__USE_BSD]: Likewise.
4659 * string/strings.h [__USE_BSD]: Likewise.
4660 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4661 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4662 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4663 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4664 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4665 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4667 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4669 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4670 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4672 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4673 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4675 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4677 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4678 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4679 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4681 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4683 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4684 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4685 * termios/termios.h [__USE_BSD]: Likewise.
4686 * time/sys/time.h [__USE_BSD]: Likewise.
4687 * time/time.h [__USE_BSD]: Likewise.
4688 [__USE_SVID]: Likewise.
4690 * Makefile (subdir_targets): Remove subdir_lint.out.
4692 * stdio-common/Makefile (do-tst-unbputc): Remove target.
4693 (do-tst-printf): Likewise.
4694 (tests): Depend directly on $(objpfx)tst-unbputc.out and
4695 $(objpfx)tst-printf.out.
4697 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4699 * Makerules (check-abi-%): Change target to
4700 $(objpfx)check-abi-%.out.
4701 (check-abi target): Update dependencies.
4702 (check-abi-pattern variable): Redirect output of diff to $@.
4703 (check-abi variable): Likewise.
4704 * elf/Makefile (check-abi): Update dependencies.
4706 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4708 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4709 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4711 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4712 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4713 value has largest subnormal exponent.
4714 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4715 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4716 * sysdeps/aarch64/soft-fp/sfp-machine.h
4717 (_FP_TININESS_AFTER_ROUNDING): New macro.
4718 * sysdeps/alpha/soft-fp/sfp-machine.h
4719 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4720 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4722 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4723 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4724 * sysdeps/mips/soft-fp/sfp-machine.h
4725 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4726 * sysdeps/powerpc/soft-fp/sfp-machine.h
4727 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4728 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4730 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4731 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4732 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4733 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4734 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4737 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
4740 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4743 2014-02-12 Richard Henderson <rth@redhat.com>
4745 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
4746 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4747 * sysdeps/unix/sysv/linux/alpha: Move directory from
4748 ports/sysdeps/unix/sysv/linux/alpha.
4749 * README: Update listing for alpha-*-linux-gnu.
4751 2014-02-11 Joseph Myers <joseph@codesourcery.com>
4753 * include/features.h: Update comment documenting feature test
4755 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4757 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4758 (_SVID_SOURCE): Likewise.
4759 (_DEFAULT_SOURCE): Update description of default features.
4760 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4762 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4763 (S_ISVTX): Likewise.
4764 * manual/math.texi (Mathematical Constants): Likewise.
4765 * manual/signal.texi (Interrupted Primitives): Likewise.
4766 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4767 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4768 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4769 Don't refer to _SVID_SOURCE in warning text.
4771 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4773 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4775 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4776 * sysdeps/mips/dl-lookup.c: Remove.
4777 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4779 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4782 * math/auto-libm-test-in: Add testcase for expl.
4783 * math/auto-libm-test-out: Regenerate.
4784 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4785 calculation of unsafe.
4786 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4788 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4790 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4791 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4792 ports/sysdeps/unix/sysv/linux/aarch64.
4793 * README: Update listing for aarch64*-*-linux-gnu.
4795 2014-02-11 Will Newton <will.newton@linaro.org>
4797 * manual/probes.texi (Mathematical Function Probes): Use
4798 "triggered" instead of "hit".
4800 * manual/probes.texi (Internal Probes): Add documentation
4801 of setjmp, longjmp and longjmp_target probes.
4803 * include/stap-probe.h: Add comment about probe argument
4806 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4807 definition. (tr_where, tr_freehook, tr_mallochook,
4808 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4810 2014-02-11 David S. Miller <davem@davemloft.net>
4812 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4813 processing int_tests.
4815 2014-02-10 Joseph Myers <joseph@codesourcery.com>
4817 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4818 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4819 * sysdeps/unix/sysv/linux/mips: Move directory from
4820 ports/sysdeps/unix/sysv/linux/mips.
4821 * README: Update listing for mips-*-linux-gnu and
4824 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4826 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4827 * sysdeps/unix/sysv/linux/m68k: Move directory from
4828 ports/sysdeps/unix/sysv/linux/m68k.
4829 * README: Update listing for m68k-*-linux-gnu.
4831 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4833 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4834 * sysdeps/unix/sysv/linux/generic: Move directory from
4835 ports/sysdeps/unix/sysv/linux/generic.
4836 * sysdeps/unix/sysv/linux/tile: Move directory from
4837 ports/sysdeps/unix/sysv/linux/tile.
4838 * README: Update listing for tile*-*-linux-gnu.
4840 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4842 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4844 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4845 * catgets/open_catalog.c (__open_catalog): Likewise.
4846 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4847 * debug/confstr_chk.c: Likewise.
4848 * debug/fread_chk.c (__fread_chk): Likewise.
4849 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4850 * debug/getgroups_chk.c: Likewise.
4851 * debug/mbsnrtowcs_chk.c: Likewise.
4852 * debug/mbsrtowcs_chk.c: Likewise.
4853 * debug/mbstowcs_chk.c: Likewise.
4854 * debug/memcpy_chk.c: Likewise.
4855 * debug/memmove_chk.c: Likewise.
4856 * debug/mempcpy_chk.c: Likewise.
4857 * debug/memset_chk.c: Likewise.
4858 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4859 * debug/strcat_chk.c (__strcat_chk): Likewise.
4860 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4861 * debug/strncat_chk.c (__strncat_chk): Likewise.
4862 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4863 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4864 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4865 * debug/wcpncpy_chk.c: Likewise.
4866 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4867 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4868 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4869 * debug/wcsncpy_chk.c: Likewise.
4870 * debug/wcsnrtombs_chk.c: Likewise.
4871 * debug/wcsrtombs_chk.c: Likewise.
4872 * debug/wcstombs_chk.c: Likewise.
4873 * debug/wmemcpy_chk.c: Likewise.
4874 * debug/wmemmove_chk.c: Likewise.
4875 * debug/wmempcpy_chk.c: Likewise.
4876 * debug/wmemset_chk.c: Likewise.
4877 * dirent/scandirat.c (SCANDIRAT): Likewise.
4878 * dlfcn/dladdr1.c (dladdr1): Likewise.
4879 * dlfcn/dladdr.c (dladdr): Likewise.
4880 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4881 * dlfcn/dlerror.c (__dlerror): Likewise.
4882 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4883 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4884 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4885 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4886 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4887 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4888 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4889 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4891 * elf/dl-conflict.c: Likewise.
4892 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4893 * elf/dl-dst.h: Likewise.
4894 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4895 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4896 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4897 * elf/dl-init.c (call_init, _dl_init): Likewise.
4898 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4899 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4900 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4902 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4904 * elf/dl-minimal.c (__libc_memalign): Likewise.
4905 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4906 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4907 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4908 * elf/dl-sym.c (do_sym): Likewise.
4909 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4910 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
4911 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4912 * elf/dl-writev.h (_dl_writev): Likewise.
4913 * elf/ldconfig.c (search_dir): Likewise.
4914 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4915 (dl_main): Likewise.
4916 * elf/setup-vdso.h (setup_vdso): Likewise.
4917 * grp/compat-initgroups.c (compat_call): Likewise.
4918 * grp/fgetgrent.c (fgetgrent): Likewise.
4919 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4920 * grp/putgrent.c (putgrent): Likewise.
4921 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4923 * hurd/hurdinit.c: Likewise.
4924 * iconvdata/8bit-gap.c (struct): Likewise.
4925 * iconvdata/ansi_x3.110.c : Likewise.
4926 * iconvdata/big5.c : Likewise.
4927 * iconvdata/big5hkscs.c : Likewise.
4928 * iconvdata/cp1255.c: Likewise.
4929 * iconvdata/cp1258.c : Likewise.
4930 * iconvdata/cp932.c : Likewise.
4931 * iconvdata/euc-cn.c: Likewise.
4932 * iconvdata/euc-jisx0213.c : Likewise.
4933 * iconvdata/euc-jp.c: Likewise.
4934 * iconvdata/euc-jp-ms.c : Likewise.
4935 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4936 * iconvdata/gb18030.c : Likewise.
4937 * iconvdata/gbbig5.c (const): Likewise.
4938 * iconvdata/gbgbk.c: Likewise.
4939 * iconvdata/gbk.c : Likewise.
4940 * iconvdata/ibm1364.c : Likewise.
4941 * iconvdata/ibm930.c : Likewise.
4942 * iconvdata/ibm932.c: Likewise.
4943 * iconvdata/ibm933.c : Likewise.
4944 * iconvdata/ibm935.c : Likewise.
4945 * iconvdata/ibm937.c : Likewise.
4946 * iconvdata/ibm939.c : Likewise.
4947 * iconvdata/ibm943.c: Likewise.
4948 * iconvdata/iso_11548-1.c: Likewise.
4949 * iconvdata/iso-2022-cn.c : Likewise.
4950 * iconvdata/iso-2022-cn-ext.c : Likewise.
4951 * iconvdata/iso-2022-jp-3.c: Likewise.
4952 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4953 * iconvdata/iso-2022-kr.c : Likewise.
4954 * iconvdata/iso646.c (gconv_end): Likewise.
4955 * iconvdata/iso_6937-2.c : Likewise.
4956 * iconvdata/iso_6937.c : Likewise.
4957 * iconvdata/iso8859-1.c: Likewise.
4958 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4959 * iconvdata/shift_jisx0213.c : Likewise.
4960 * iconvdata/sjis.c : Likewise.
4961 * iconvdata/t.61.c : Likewise.
4962 * iconvdata/tcvn5712-1.c : Likewise.
4963 * iconvdata/tscii.c: Likewise.
4964 * iconvdata/uhc.c : Likewise.
4965 * iconvdata/unicode.c (gconv_end): Likewise.
4966 * iconvdata/utf-16.c (gconv_end): Likewise.
4967 * iconvdata/utf-32.c (gconv_end): Likewise.
4968 * iconvdata/utf-7.c (base64): Likewise.
4969 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4970 * iconv/gconv_close.c (__gconv_close): Likewise.
4971 * iconv/gconv_open.c (__gconv_open): Likewise.
4972 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4973 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4974 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4975 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4976 (ucs4le_internal_loop_single): Likewise.
4977 * iconv/iconv.c (iconv): Likewise.
4978 * iconv/iconv_close.c: Likewise.
4979 * iconv/loop.c (SINGLE): Likewise.
4980 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4981 * include/atomic.h: Likewise.
4982 * inet/inet6_option.c (option_alloc): Likewise.
4983 * intl/bindtextdom.c (set_binding_values): Likewise.
4984 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4985 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4986 * intl/localealias.c (read_alias_file): Likewise.
4987 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4988 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4989 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4990 * libio/fmemopen.c (fmemopen): Likewise.
4991 * libio/iofgets.c (_IO_fgets): Likewise.
4992 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4993 * libio/iofgetws.c (fgetws): Likewise.
4994 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4995 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4996 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4997 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
4998 * locale/findlocale.c (_nl_find_locale): Likewise.
4999 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5000 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
5002 * locale/setlocale.c (setlocale): Likewise.
5003 * login/programs/pt_chown.c (main): Likewise.
5004 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
5005 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
5006 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
5007 (mmap, mmap64, mremap, munmap): Likewise.
5008 * math/e_exp2l.c: Likewise.
5009 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
5010 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
5011 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
5012 * math/s_catan.c (__catan): Likewise.
5013 * math/s_catanf.c (__catanf): Likewise.
5014 * math/s_catanh.c (__catanh): Likewise.
5015 * math/s_catanhf.c (__catanhf): Likewise.
5016 * math/s_catanhl.c (__catanhl): Likewise.
5017 * math/s_catanl.c (__catanl): Likewise.
5018 * math/s_ccosh.c (__ccosh): Likewise.
5019 * math/s_ccoshf.c (__ccoshf): Likewise.
5020 * math/s_ccoshl.c (__ccoshl): Likewise.
5021 * math/s_cexp.c (__cexp): Likewise.
5022 * math/s_cexpf.c (__cexpf): Likewise.
5023 * math/s_cexpl.c (__cexpl): Likewise.
5024 * math/s_clog10.c (__clog10): Likewise.
5025 * math/s_clog10f.c (__clog10f): Likewise.
5026 * math/s_clog10l.c (__clog10l): Likewise.
5027 * math/s_clog.c (__clog): Likewise.
5028 * math/s_clogf.c (__clogf): Likewise.
5029 * math/s_clogl.c (__clogl): Likewise.
5030 * math/s_csin.c (__csin): Likewise.
5031 * math/s_csinf.c (__csinf): Likewise.
5032 * math/s_csinh.c (__csinh): Likewise.
5033 * math/s_csinhf.c (__csinhf): Likewise.
5034 * math/s_csinhl.c (__csinhl): Likewise.
5035 * math/s_csinl.c (__csinl): Likewise.
5036 * math/s_csqrt.c (__csqrt): Likewise.
5037 * math/s_csqrtf.c (__csqrtf): Likewise.
5038 * math/s_csqrtl.c (__csqrtl): Likewise.
5039 * math/s_ctan.c (__ctan): Likewise.
5040 * math/s_ctanf.c (__ctanf): Likewise.
5041 * math/s_ctanh.c (__ctanh): Likewise.
5042 * math/s_ctanhf.c (__ctanhf): Likewise.
5043 * math/s_ctanhl.c (__ctanhl): Likewise.
5044 * math/s_ctanl.c (__ctanl): Likewise.
5045 * math/w_pow.c: Likewise.
5046 * math/w_powf.c: Likewise.
5047 * math/w_powl.c: Likewise.
5048 * math/w_scalb.c (sysv_scalb): Likewise.
5049 * math/w_scalbf.c (sysv_scalbf): Likewise.
5050 * math/w_scalbl.c (sysv_scalbl): Likewise.
5051 * misc/error.c (error_tail): Likewise.
5052 * misc/pselect.c (__pselect): Likewise.
5053 * nis/nis_callback.c (__nis_create_callback): Likewise.
5054 * nis/nis_call.c (__nisfind_server): Likewise.
5055 * nis/nis_creategroup.c (nis_creategroup): Likewise.
5056 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5057 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5058 * nis/nis_getservlist.c (nis_getservlist): Likewise.
5059 * nis/nis_lookup.c (nis_lookup): Likewise.
5060 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
5061 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5062 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
5063 * nis/nis_xdr.c (xdr_endpoint): Likewise.
5064 * nis/nss_compat/compat-grp.c (getgrent_next_file)
5065 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5066 * nis/nss_compat/compat-initgroups.c (add_group)
5067 (internal_getgrent_r): Likewise.
5068 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5069 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5070 * nis/nss_compat/compat-spwd.c (getspent_next_file)
5071 (internal_getspnam_r): Likewise.
5072 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5073 (_nss_nis_getaliasbyname_r): Likewise.
5074 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5075 (_nss_nis_getntohost_r): Likewise.
5076 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5077 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5078 (_nss_nis_getgrgid_r): Likewise.
5079 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5080 (internal_nis_gethostent_r, internal_gethostbyname2_r)
5081 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5082 (_nss_nis_gethostbyname4_r): Likewise.
5083 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5084 (initgroups_netid): Likewise.
5085 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
5086 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5087 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5088 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5089 (_nss_nis_getprotobynumber_r): Likewise.
5090 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5091 (_nss_nis_getsecretkey): Likewise.
5092 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5093 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5094 (_nss_nis_getpwuid_r): Likewise.
5095 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5096 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5097 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5098 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5099 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5100 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
5101 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5103 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5104 (_nss_nisplus_getntohost_r): Likewise.
5105 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5106 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5107 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5108 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
5110 * nis/nss_nisplus/nisplus-initgroups.c
5111 (_nss_nisplus_initgroups_dyn): Likewise.
5112 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5113 (_nss_nisplus_getnetbyaddr_r): Likewise.
5114 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5115 (_nss_nisplus_getprotobynumber_r): Likewise.
5116 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5117 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
5118 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5120 * nis/nss_nisplus/nisplus-service.c
5121 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5122 (_nss_nisplus_getservbyport_r): Likewise.
5123 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5124 (_nss_nisplus_getspnam_r): Likewise.
5125 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5127 * nscd/aicache.c (addhstaiX): Likewise.
5128 * nscd/cache.c (cache_search, prune_cache): Likewise.
5129 * nscd/connections.c (register_traced_file, send_ro_fd)
5130 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5131 (main_loop_epoll): Likewise.
5132 * nscd/grpcache.c (addgrbyX): Likewise.
5133 * nscd/hstcache.c (addhstbyX): Likewise.
5134 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5135 * nscd/mem.c (gc, mempool_alloc): Likewise.
5136 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5137 (addinnetgrX): Likewise.
5138 * nscd/nscd-client.h (__nscd_acquire_maplock)
5139 (__nscd_drop_map_ref): Likewise.
5140 * nscd/nscd_getai.c (__nscd_getai): Likewise.
5141 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5142 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5144 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5145 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5146 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5147 (__nscd_get_map_ref): Likewise.
5148 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
5149 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5151 * nscd/pwdcache.c (addpwbyX): Likewise.
5152 * nscd/selinux.c (preserve_capabilities): Likewise.
5153 * nscd/servicescache.c (addservbyX): Likewise.
5154 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5155 * posix/fnmatch.c (fnmatch): Likewise.
5156 * posix/getopt.c (_getopt_internal_r): Likewise.
5157 * posix/glob.c (glob, glob_in_dir): Likewise.
5158 * posix/wordexp.c (exec_comm_child): Likewise.
5159 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5160 (getanswer_r, gaih_getanswer_slice): Likewise.
5161 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5162 * resolv/res_init.c: Likewise.
5163 * resolv/res_mkquery.c (res_nmkquery): Likewise.
5164 * resolv/res_query.c (__libc_res_nquery): Likewise.
5165 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5167 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5168 * stdio-common/perror.c (perror): Likewise.
5169 * stdio-common/printf_fp.c (___printf_fp): Likewise.
5170 * stdio-common/tmpnam.c (tmpnam): Likewise.
5171 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5172 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
5173 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5175 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5176 * stdlib/putenv.c (putenv): Likewise.
5177 * stdlib/setenv.c (__add_to_environ): Likewise.
5178 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5179 * stdlib/strtol_l.c (INTERNAL): Likewise.
5180 * string/memmem.c (memmem): Likewise.
5181 * string/strerror.c (strerror): Likewise.
5182 * string/strnlen.c (__strnlen): Likewise.
5183 * string/test-memmem.c (simple_memmem): Likewise.
5184 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5185 * sunrpc/pm_getport.c (__get_socket): Likewise.
5186 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5187 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
5188 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5189 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
5191 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5192 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5193 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5194 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5195 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
5196 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5198 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5200 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5201 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5202 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5203 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5204 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5205 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5206 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5207 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5208 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5209 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5210 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5211 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5213 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5215 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5217 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5218 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5219 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5220 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5221 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5222 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5223 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5224 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5225 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5226 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5227 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5228 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5229 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5230 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5231 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5232 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5234 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5236 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5238 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5240 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5241 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5242 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5244 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
5245 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
5246 * sysdeps/posix/opendir.c (__opendirat): Likewise.
5247 * sysdeps/posix/sleep.c: Likewise.
5248 * sysdeps/posix/tempname.c: Likewise.
5249 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
5250 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5252 * sysdeps/powerpc/powerpc32/dl-machine.h
5253 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
5254 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5255 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5256 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
5257 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
5259 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
5260 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
5261 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5262 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
5263 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5264 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
5265 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
5266 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
5267 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5268 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
5269 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
5270 (elf_machine_lazy_rel): Likewise.
5271 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
5272 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
5273 (elf_machine_lazy_rel): Likewise.
5274 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
5275 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
5276 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
5277 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5278 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
5279 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
5280 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5281 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5283 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5284 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5285 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
5286 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
5287 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5288 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5289 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
5290 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
5291 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
5292 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5293 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5295 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
5296 (__posix_fallocate64_l64): Likewise.
5297 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
5298 (posix_fallocate): Likewise.
5299 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5301 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5302 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
5303 (getifaddrs_internal): Likewise.
5304 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
5305 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
5306 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5307 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5308 * sysdeps/unix/sysv/linux/posix_fallocate64.c
5309 (__posix_fallocate64_l64): Likewise.
5310 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5312 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
5313 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5314 (__get_clockfreq): Likewise.
5315 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
5316 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5317 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
5318 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5319 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5320 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
5321 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5322 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
5324 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
5325 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
5326 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5327 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
5328 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5329 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
5330 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
5332 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5333 (posix_fallocate): Likewise.
5334 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5335 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5336 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
5337 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
5338 (elf_machine_rela, elf_machine_rela_relative)
5339 (elf_machine_lazy_rel): Likewise.
5340 * time/asctime.c (asctime_internal): Likewise.
5341 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
5342 * time/tzset.c (__tzset_parse_tz): Likewise.
5343 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5344 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5345 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
5346 * wcsmbs/wcsmbsload.h: Likewise.
5349 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5351 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
5352 (arena_get2): Remove THREAD_STATS conditionals.
5353 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
5354 (__malloc_stats, int): Likewise.
5356 2014-02-08 Mike Frysinger <vapier@gentoo.org>
5358 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
5359 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
5361 * manual/setjmp.texi: Fix typos/grammar errors.
5363 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
5364 Only return early when n is <= 0. Delete unused return statement.
5366 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
5367 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5368 * debug/tst-longjmp_chk3.c: New file.
5370 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
5371 (test_main): Replace code with set_fortify_handler call.
5372 * debug/test-strcpy_chk.c: Likewise.
5373 * debug/tst-chk1.c: Likewise.
5374 * debug/tst-longjmp_chk.c: Likewise.
5375 * test-skeleton.c: Include fcntl.h & paths.h
5376 (set_fortify_handler): Define.
5378 * debug/tst-longjmp_chk.c: Add header comment and include
5380 (do_test): Mark static.
5381 (TEST_FUNCTION): Define.
5383 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5384 (IP_PMTUDISC_INTERFACE): Likewise.
5385 (IP_MULTICAST_IF): Likewise.
5386 (IP_MULTICAST_TTL): Likewise.
5387 (IP_MULTICAST_LOOP): Likewise.
5388 (IP_ADD_MEMBERSHIP): Likewise.
5389 (IP_DROP_MEMBERSHIP): Likewise.
5390 (IP_UNBLOCK_SOURCE): Likewise.
5391 (IP_BLOCK_SOURCE): Likewise.
5392 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
5393 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
5394 (IP_MSFILTER): Likewise.
5395 (MCAST_JOIN_GROUP): Likewise.
5396 (MCAST_BLOCK_SOURCE): Likewise.
5397 (MCAST_UNBLOCK_SOURCE): Likewise.
5398 (MCAST_LEAVE_GROUP): Likewise.
5399 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5400 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5401 (MCAST_MSFILTER): Likewise.
5402 (IP_MULTICAST_ALL): Likewise.
5403 (IP_UNICAST_IF): Likewise.
5405 * timezone/Makefile: Delete $(have-ksh) check.
5406 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5407 * timezone/tzselect.ksh: Add +x mode bits.
5409 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
5410 (ANON_INODE_FS_MAGIC): Likewise.
5411 (BDEVFS_MAGIC): Likewise.
5412 (BINFMTFS_MAGIC): Likewise.
5413 (BTRFS_TEST_MAGIC): Likewise.
5414 (CRAMFS_MAGIC_WEND): Likewise.
5415 (DEBUGFS_MAGIC): Likewise.
5416 (ECRYPTFS_SUPER_MAGIC): Likewise.
5417 (EXT3_SUPER_MAGIC): Likewise.
5418 (EXT4_SUPER_MAGIC): Likewise.
5419 (FUTEXFS_SUPER_MAGIC): Likewise.
5420 (HOSTFS_SUPER_MAGIC): Likewise.
5421 (HUGETLBFS_MAGIC): Likewise.
5422 (MINIX3_SUPER_MAGIC): Likewise.
5423 (MTD_INODE_FS_MAGIC): Likewise.
5424 (NILFS_SUPER_MAGIC): Likewise.
5425 (OPENPROM_SUPER_MAGIC): Likewise.
5426 (PIPEFS_MAGIC): Likewise.
5427 (PSTOREFS_MAGIC): Likewise.
5428 (QNX6_SUPER_MAGIC): Likewise.
5429 (RAMFS_MAGIC): Likewise.
5430 (REISERFS_SUPER_MAGIC_STRING): Likewise.
5431 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
5432 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
5433 (SECURITYFS_MAGIC): Likewise.
5434 (SELINUX_MAGIC): Likewise.
5435 (SMACK_MAGIC): Likewise.
5436 (SOCKFS_MAGIC): Likewise.
5437 (SQUASHFS_MAGIC): Likewise.
5438 (STACK_END_MAGIC): Likewise.
5439 (TMPFS_MAGIC): Likewise.
5440 (USBDEVICE_SUPER_MAGIC): Likewise.
5441 (V9FS_MAGIC): Likewise.
5442 (XENFS_SUPER_MAGIC): Likewise.
5443 (CRAMFS_MAGIC): Fix typo in comment.
5444 (EXT2_SUPER_MAGIC): Update comment.
5445 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
5447 2014-02-08 Joseph Myers <joseph@codesourcery.com>
5449 * sysdeps/arm: Move directory from ports/sysdeps/arm.
5450 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5451 * sysdeps/unix/sysv/linux/arm: Move directory from
5452 ports/sysdeps/unix/sysv/linux/arm.
5453 * README: Update listing for arm-*-linux-gnueabi.
5455 * README: Remove mention of am33.
5457 2014-02-07 Roland McGrath <roland@hack.frob.com>
5459 * bits/sigset.h (__sigemptyset): Use a statement expression rather
5460 than the comma operator, to avoid "rhs of comma has no effect"
5462 (__sigfillset, __sigandset, __sigorset): Likewise.
5463 * include/signal.h (__sigemptyset): Likewise.
5464 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5466 2014-02-07 Allan McRae <allan@archlinux.org>
5468 * version.h (RELEASE): Set to "development".
5469 (VERSION): Set to "2.19.90"
5470 * NEWS: Add 2.20 section.
5472 2014-02-06 Carlos O'Donell <carlos@redhat.com>
5475 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5477 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5479 * manual/contrib.texi: Update entry for Carlos O'Donell,
5480 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5482 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
5484 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5486 * sysdeps/unix/sysv/linux/kernel-features.h
5487 [__LINUX_KERNEL_VERSION >= 0x020621]
5488 (__ASSUME_PROC_PID_TASK_COMM): Define.
5490 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5493 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5494 conversion when destination buffer does not have enough space.
5495 * libio/tst-ftell-partial-wide.c: New test case.
5496 * libio/Makefile (tests): Add tst-ftell-partial-wide.
5498 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5499 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
5500 Leonard and Allan McRae.
5502 2014-02-04 David S. Miller <davem@davemloft.net>
5504 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
5507 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5536 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5538 * nptl/shlib-versions: Change powerpc*le start to 2.17.
5539 * shlib-versions: Likewise.
5541 2014-02-04 Roland McGrath <roland@hack.frob.com>
5542 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5544 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
5545 (abilist-pattern): New variable, set to %-le.abilist.
5547 * Makerules (abilist-pattern): New variable.
5548 (vpath): Use $(abilist-pattern) in place of %.abilist.
5549 (check-abi-% pattern rule): Likewise.
5550 (check-abi, update-abi): Likewise.
5552 2014-02-04 Eric Wong <normalperson@yhbt.net>
5554 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5556 2014-02-03 Carlos O'Donell <carlos@redhat.com>
5558 * manual/startup.texi: Add next, previous, and top entries for
5559 the `Program Arguments' and `Environment Variables' nodes.
5561 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
5563 * manual/macros.texi: Add comments before MTASC-safety macros.
5565 * manual/users.texi: Document MTASC-safety properties.
5567 * manual/threads.texi (pthread_key_create, pthread_key_delete)
5568 (pthread_getspecific, pthread_setspecific): Format with
5569 @deftypefun, and add @safety note.
5570 * manual/signal.texi: Move comments that analyze the above
5571 functions to their home place.
5573 2014-02-03 Allan McRae <allan@archlinux.org>
5575 * po/sl.po: Update Slovenian translation from translation project.
5577 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
5579 * manual/time.texi (timegm): Add missing blank after @c.
5580 Reported by Joseph Myers <joseph@codesourcery.com>.
5582 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
5584 * manual/check-safety.sh: New.
5585 * manual/Makefile ($(objpfx)stamp-summary): Run it.
5587 * manual/terminal.texi: Document MTASC-safety properties.
5589 * manual/filesys.texi: Document MTASC-safety properties.
5591 * manual/errno.texi: Document MTASC-safety properties.
5593 * manual/intro.texi: Document safety identifiers and
5596 * manual/string.texi (wcstok): Fix prototype.
5597 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
5599 * manual/time.texi: Document MTASC-safety properties.
5601 * manual/string.texi: Document MTASC-safety properties.
5603 * manual/threads.texi: Document MTASC-safety properties.
5605 * manual/stdio.texi: Document MTASC-safety properties.
5607 * manual/syslog.texi: Document MTASC-safety properties.
5609 * manual/sysinfo.texi: Document MTASC-safety properties.
5611 * manual/startup.texi: Document MTASC-safety properties.
5613 * manual/socket.texi: Document MTASC-safety properties.
5615 * manual/signal.texi: Document MTASC-safety properties.
5617 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
5619 * manual/setjmp.texi: Document MTASC-safety properties.
5621 * manual/search.texi: Document MTASC-safety properties.
5623 * manual/resource.texi: Document MTASC-safety properties.
5625 * manual/process.texi: Document MTASC-safety properties.
5627 * manual/platform.texi: Document MTASC-safety properties.
5629 * manual/pipe.texi: Document MTASC-safety properties.
5631 * manual/pattern.texi: Document MTASC-safety properties.
5633 * manual/message.texi: Document MTASC-safety properties.
5636 * manual/memory.texi: Document MTASC-safety properties.
5638 * manual/math.texi: Document MTASC-safety properties.
5640 * manual/locale.texi: Document MTASC-safety properties.
5642 * manual/llio.texi: Document MTASC-safety properties.
5644 * manual/libdl.texi: New.
5646 * manual/lang.texi: Document MTASC-safety properties.
5648 * manual/job.texi: Document MTASC-safety properties.
5650 * manual/getopt.texi: Document MTASC-safety properties.
5652 * manual/ctype.texi: Document MTASC-safety properties.
5654 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
5657 * csu/libc-tls.c (static_map): Remove variable.
5658 (__libc_setup_tls): Use main executable's link map for TLS data.
5659 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5660 casing for LM_ID_BASE and GL(dl_nns).
5661 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5662 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
5663 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5664 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5665 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5667 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5670 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
5672 * manual/debug.texi: Document MTASC-safety properties.
5674 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
5677 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5678 of __x86_64__ when disabling x87 inline functions.
5680 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
5682 * manual/charset.texi: Document MTASC-safety properties.
5684 * manual/crypt.texi: Document MTASC-safety properties.
5686 * manual/conf.texi: Document MTASC-safety properties.
5688 * manual/arith.texi: Document MTASC-safety properties.
5690 * manual/argp.texi: Document MTASC-safety properties.
5692 * manual/macros.texi: Introduce macros to document multi
5693 thread, asynchronous signal and asynchronous cancellation
5695 * manual/intro.texi: Introduce the properties themselves.
5697 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5699 * sysdeps/sh/sh4/Makefile: New file.
5701 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
5703 * math/gen-libm-test.pl ($srcdir): New variable.
5704 ($auto_input): Use it.
5706 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5709 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5710 access beyond array bounds when parsing netgroups file.
5712 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5713 the old buffer before realloc.
5715 2014-01-27 Allan McRae <allan@archlinux.org>
5717 * po/fr.po: Update French translation from translation project.
5719 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5721 * sysdeps/sh/libm-test-ulps: Regenerate.
5723 2014-01-24 David S. Miller <davem@davemloft.net>
5725 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5727 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5729 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5730 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5732 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5735 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5736 string pointers after reallocation.
5738 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5740 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5741 __SH4A__ instead of __SH_FPU_ANY__.
5743 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5745 * sysdeps/sh/fpu_control.h: New file.
5746 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5747 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5748 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5749 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5750 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5751 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5752 * sysdeps/sh/sys/ucontext.h: Remove.
5753 * sysdeps/sh/sys: Remove directory.
5755 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5757 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5758 s390/sys/ucontext.h.
5759 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5760 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5762 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5765 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5767 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5770 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5771 Adjust the vDSO correctly for internal calls.
5772 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5774 2014-01-20 Allan McRae <allan@archlinux.org>
5776 * po/ca.po: Update Catalan translation from translation project.
5778 2014-01-16 Mike Frysinger <vapier@gentoo.org>
5780 * sysdeps/s390/sotruss-lib.c: New file.
5782 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5785 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
5786 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5787 local calls issues by not having a PLT stub required for IFUNC calls.
5788 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5790 2014-01-16 Joseph Myers <joseph@codesourcery.com>
5792 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5793 * math/test-fpucw-static.c: Likewise.
5795 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5798 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5800 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5802 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5803 implementation for powerpc.
5805 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
5808 * sysdeps/posix/system.c (__libc_system): Do not enable
5809 asynchronous cancellation.
5811 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5814 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5815 handling only for numbers special also in the IEEE case.
5817 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5819 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5821 2014-01-11 Allan McRae <allan@archlinux.org>
5823 * po/bg.po: Update Bulgarian translation from translation project.
5825 * po/de.po: Update German translation from translation project.
5827 2014-01-10 Roland McGrath <roland@hack.frob.com>
5829 * sysdeps/generic/gcc-compat.h: New file.
5831 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5833 * benchtests/asin-inputs: Correct slow inputs.
5834 * benchtests/acos-inputs: Likewise.
5836 2014-01-10 Allan McRae <allan@archlinux.org>
5838 * po:sv.po: Update Swedish translation from translation project.
5840 * po/vi.po: Update Vietnamese translation from translation project.
5842 * po/eo.po: Update Esperanto translation from translation project.
5844 * po/cs.po: Update Czech translation from translation project.
5846 * po/nl.po: Update Dutch translation from translation project.
5848 * po/pl.po: Update Polish translation from translation project.
5850 * po/ru.po: Update Russian translation from translation project.
5852 * po/uk.po: Update Ukrainian translation from translation project.
5854 2014-01-08 Brooks Moses <bmoses@google.com>
5856 * elf/dl-load.c: Fix comment typo.
5858 2014-01-08 Carlos O'Donell <carlos@redhat.com>
5860 * po/header.pot: Rename to...
5861 * po/pot.header: ... this.
5862 * po/Makefile: Use pot.header.
5864 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5865 Maxim Kuvyrkov <maxim@kugelworks.com>
5868 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5869 SRC and DEST against LEN.
5871 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5874 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5876 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5878 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5882 2014-01-08 Joseph Myers <joseph@codesourcery.com>
5885 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5886 for large positive arguments.
5888 2014-01-07 Joseph Myers <joseph@codesourcery.com>
5890 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5892 * math/auto-libm-test-in: Mark various tests with
5893 xfail-rounding:ldbl-128ibm.
5894 * math/auto-libm-test-out: Regenerated.
5897 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5898 Increase overflow threshold.
5900 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
5903 * stdio-common/vfprintf.c: Check for integer overflow.
5905 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5907 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5908 the first argument and return value of __tls_get_addr_internal.
5910 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5912 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5913 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5915 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5917 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5918 * sysdeps/s390/rtld-global-offsets.sym: New file.
5919 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5921 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5922 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5923 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5925 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5926 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5932 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5933 halfs of GPRs for high_gprs contexts.
5934 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5935 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5937 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5939 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5941 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5942 for high GPRs (uc_high_gprs) and for future extensions
5944 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5945 for future extensions (__reserved).
5946 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5948 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5949 SC_HIGHGPRS offset definition.
5950 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5951 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5953 * Versions.def: Add GLIBC_2.19 for libpthread.
5954 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5955 siglongjmp for libpthread with GLIBC_2.19 symver.
5956 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5957 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5958 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5959 * sysdeps/s390/__longjmp.c: New file.
5960 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5961 * sysdeps/s390/longjmp.c: New file.
5962 * sysdeps/s390/setjmp.S: New file.
5963 * sysdeps/s390/sigjmp.S: New file.
5964 * sysdeps/s390/v1-longjmp.c: New file.
5965 * sysdeps/s390/v1-setjmp.h: New file.
5966 * sysdeps/s390/v1-sigjmp.c: New file.
5967 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5968 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5970 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5971 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5972 versioned symbols for ____longjmp_chk.
5973 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5983 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5984 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5985 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5986 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5987 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5988 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5989 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5990 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5991 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5992 * sysdeps/s390/rtld-__longjmp.c: New file.
5993 * sysdeps/s390/rtld-setjmp.S: New file.
5995 2014-01-06 Joseph Myers <joseph@codesourcery.com>
5998 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5999 Return -__logl (x) for small positive arguments without evaluating
6002 2014-01-06 Mike Frysinger <vapier@gentoo.org>
6004 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
6006 (__ptrace_peeksiginfo_args): ... this.
6007 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6008 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6009 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6011 2014-01-06 Allan McRae <allan@archlinux.org>
6013 * inet/netinet/in.h: Fix typo in comment.
6015 2014-01-05 Andreas Jaeger <aj@suse.de>
6017 * sysdeps/i386/fpu/libm-test-ulps: Update.
6019 2014-01-05 Allan McRae <allan@archlinux.org>
6021 * po/libc.pot: Regenerated.
6023 * malloc/memusagestat.c: Fix gettext call formatting.
6025 2014-01-04 Sami Kerola <kerolasa@iki.fi>
6027 * nscd/nscd.c: Improve usage() output.
6029 2014-01-04 Mike Frysinger <vapier@gentoo.org>
6031 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6032 * sysdeps/unix/sysv/linux/configure: Regenerated.
6033 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6034 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6036 2014-01-03 Joseph Myers <joseph@codesourcery.com>
6039 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6040 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6042 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6044 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6045 extra tokens at end of #undef directive.
6046 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6047 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6048 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6050 2014-01-03 Joseph Myers <joseph@codesourcery.com>
6052 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6054 * math/auto-libm-test-in: Mark various tests with
6055 xfail-rounding:ldbl-128ibm.
6056 * math/auto-libm-test-out: Regenerated.
6058 2014-01-02 Joseph Myers <joseph@codesourcery.com>
6061 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6062 numbers with subnormal high part when calculating exponent.
6065 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6069 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6071 (__ieee754_acoshl): Use __log1pl not __log1p.
6073 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
6075 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6076 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6077 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6078 (grow_heap, heap_trim, _int_new_arena, get_free_list)
6079 (reused_arena, arena_get2): Convert to GNU style.
6080 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6081 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6082 (memalign_check, __malloc_set_state): Likewise.
6083 * malloc/mallocbug.c (main): Likewise.
6084 * malloc/malloc.c (__malloc_assert, malloc_init_state)
6085 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6086 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6087 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6088 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6089 (__posix_memalign, malloc_info): Likewise.
6090 * malloc/malloc.h: Likewise.
6091 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6092 (mallochook, memalignhook, reallochook, mabort): Likewise.
6093 * malloc/mcheck.h: Likewise.
6094 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6095 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6096 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6097 * malloc/morecore.c (__default_morecore): Likewise.
6098 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
6099 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6100 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6101 (print_and_abort): Likewise.
6102 * malloc/obstack.h: Likewise.
6103 * malloc/set-freeres.c (__libc_freeres): Likewise.
6104 * malloc/tst-mallocstate.c (main): Likewise.
6105 * malloc/tst-mtrace.c (main): Likewise.
6106 * malloc/tst-realloc.c (do_test): Likewise.
6108 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6111 * nscd/netgroupcache.c (do_notfound): New function.
6112 (addgetnetgrentX): Use it.
6115 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6116 NSS_STATUS_NOTFOUND.
6118 2014-01-01 Joseph Myers <joseph@codesourcery.com>
6120 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6123 2014-01-01 Allan McRae <allan@archlinux.org>
6125 * scripts/update-copyrights: Update configure input file suffix.
6127 * NEWS: Update copyright year.
6128 * catgets/gencat.c: Likewise.
6129 * csu/version.c: Likewise.
6130 * debug/catchsegv.sh: Likewise.
6131 * debug/pcprofiledump.c: Likewise.
6132 * debug/xtrace.sh: Likewise.
6133 * elf/ldconfig.c: Likewise.
6134 * elf/ldd.bash.in: Likewise.
6135 * elf/pldd.c: Likewise.
6136 * elf/sotruss.ksh: Likewise.
6137 * elf/sprof.c: Likewise.
6138 * iconv/iconv_prog.c: Likewise.
6139 * iconv/iconvconfig.c: Likewise.
6140 * locale/programs/locale.c: Likewise.
6141 * locale/programs/localedef.c: Likewise.
6142 * login/programs/pt_chown.c: Likewise.
6143 * malloc/memusage.sh: Likewise.
6144 * malloc/memusagestat.c: Likewise.
6145 * malloc/mtrace.pl: Likewise.
6146 * manual/libc.texinfo: Likewise.
6147 * nscd/nscd.c: Likewise.
6148 * nss/getent.c: Likewise.
6149 * nss/makedb.c: Likewise.
6150 * posix/getconf.c: Likewise.
6151 * scripts/test-installation.pl: Likewise.
6153 * All files with FSF copyright notices: Update copyright dates
6154 using scripts/update-copyrights.
6155 * intl/plural.c: Regenerated.
6156 * locale/programs/charmap-kw.h: Likewise.
6157 * locale/programs/locfile-kw.h: Likewise.
6159 2013-12-31 Mike Frysinger <vapier@gentoo.org>
6161 * sysdeps/unix/sysv/linux/configure: Regenerated.
6162 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6163 the linux/fanotify.h header.
6164 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6165 HAVE_LINUX_FANOTIFY_H is defined.
6167 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6169 * benchtests/cos-inputs: New inputs.
6170 * benchtests/sin-inputs: Likewise.
6172 * benchtests/atan-inputs: New inputs. Fix name of multiple
6173 precision fallback inputs.
6175 * benchtests/atanh-inputs: New inputs.
6176 * benchtests/tanh-inputs: Likewise.
6178 * benchtests/acosh-inputs: New inputs.
6179 * benchtests/asinh-inputs: Likewise.
6181 * benchtests/cosh-inputs: New inputs.
6182 * benchtests/sinh-inputs: Likewise.
6184 * benchtests/acos-inputs: Add more inputs.
6185 * benchtests/asin-inputs: Likewise.
6187 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
6190 * manual/arith.texi: Fix spelling.
6191 * manual/charset.texi: Likewise.
6192 * manual/errno.texi: Likewise.
6193 * manual/filesys.texi: Likewise.
6194 * manual/lang.texi: Likewise.
6195 * manual/llio.texi: Likewise.
6196 * manual/locale.texi: Likewise.
6197 * manual/message.texi: Likewise.
6198 * manual/resource.texi: Likewise.
6199 * manual/search.texi: Likewise.
6200 * manual/setjmp.texi: Likewise.
6201 * manual/stdio.texi: Likewise.
6202 * manual/string.texi: Likewise.
6203 * manual/sysinfo.texi: Likewise.
6204 * manual/time.texi: Likewise.
6206 2013-12-27 Carlos O'Donell <carlos@redhat.com>
6208 * po/sl.po: New file.
6210 2013-12-27 Mike Frysinger <vapier@gentoo.org>
6212 * .gitignore: Add core/.gdbinit/.gdb_history.
6214 2013-12-27 Allan McRae <allan@archlinux.org>
6217 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6218 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6220 2013-12-24 Brooks Moses <bmoses@google.com>
6222 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6223 all compilers that claim C++98 compliance, not just GCC.
6224 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6227 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6229 * NEWS: Restore accidentally deleted bug-fix entries.
6231 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6232 Ondřej Bílka <neleai@seznam.cz>
6235 * malloc/malloc.c (_int_free): Perform sanity check only if we
6238 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
6241 * manual/stdio.texi (String Input Conversions): Clarify that character
6242 classes are not supported.
6244 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6248 2013-12-22 Joseph Myers <joseph@codesourcery.com>
6251 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6252 Calculate results for small negative arguments directly rather
6253 than using reflection formula with special underflow handling.
6255 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
6256 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
6257 sysdeps/unix/bsd/bsd4.4/syscalls.list.
6258 (fchflags): Likewise.
6260 (setlogin): Likewise.
6261 (sigaltstack): Likewise.
6264 (sigsetmask): Likewise.
6266 (waitpid): Likewise.
6267 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
6268 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
6270 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
6271 * sysdeps/unix/bsd/Makefile: ... here.
6272 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
6273 * sysdeps/unix/bsd/Versions: ... here.
6274 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
6275 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
6276 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
6277 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
6278 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
6279 * sysdeps/unix/bsd/sigblock.c: ... here.
6280 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
6281 * sysdeps/unix/bsd/sigsetmask.c: ... here.
6282 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
6283 * sysdeps/unix/bsd/sigvec.c: ... here.
6284 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
6285 * sysdeps/unix/bsd/tcdrain.c: ... here.
6286 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
6287 * sysdeps/unix/bsd/tcgetattr.c: ... here.
6288 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
6289 * sysdeps/unix/bsd/tcsetattr.c: ... here.
6290 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
6291 * sysdeps/unix/bsd/wait.c: ... here.
6292 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
6293 * sysdeps/unix/bsd/wait3.c: ... here.
6294 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
6295 * sysdeps/unix/bsd/waitpid.c: ... here.
6297 2013-12-21 Joseph Myers <joseph@codesourcery.com>
6300 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
6301 round-to-nearest for [!USE_AS_EXPM1L].
6302 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6303 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
6304 more tests of exp and exp10. Expect some exp10 tests to miss
6305 exceptions or fail in directed rounding modes.
6306 * math/auto-libm-test-out: Regenerated.
6307 * math/libm-test.inc (exp10_tonearest_test_data): New array.
6308 (exp10_test_tonearest): New function.
6309 (exp10_towardzero_test_data): New array.
6310 (exp10_test_towardzero): New function.
6311 (exp10_downward_test_data): New array.
6312 (exp10_test_downward): New function.
6313 (exp10_upward_test_data): New array.
6314 (exp10_test_upward): New function.
6315 (main): Call the new functions.
6316 * sysdeps/i386/fpu/libm-test-ulps: Update.
6317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6319 2013-12-20 Joseph Myers <joseph@codesourcery.com>
6321 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6322 asinh, atan, atan2, atanh, cbrt, cos and cosh.
6323 * math/auto-libm-test-out: Regenerated.
6324 * math/libm-test.inc (acosh_test_data): Add more tests.
6325 (atanh_test_data): Likewise.
6326 (ceil_test_data): Likewise.
6327 (copysign_test_data): Likewise.
6328 * sysdeps/i386/fpu/libm-test-ulps: Update.
6329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6331 * timezone/checktab.awk: Update from tzcode 2013i.
6332 * timezone/private.h: Likewise.
6333 * timezone/scheck.c: Likewise.
6334 * timezone/tzfile.h: Likewise.
6335 * timezone/tzselect.ksh: Likewise.
6336 * timezone/zdump.c: Likewise.
6337 * timezone/zic.c: Likewise.
6339 * math/auto-libm-test-in: Add tests of cpow.
6340 * math/auto-libm-test-out: Regenerated.
6341 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
6342 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6344 (func_calc_desc): Add mpc_cc_c union field.
6345 (test_functions): Add cpow.
6346 (special_fill_2pi): New function.
6347 (special_real_inputs): Add 2pi.
6348 (calc_generic_results): Handle mpc_cc_c.
6349 * sysdeps/i386/fpu/libm-test-ulps: Update.
6350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6352 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
6353 csqrt, ctan and ctanh.
6354 * math/auto-libm-test-out: Regenerated.
6355 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6356 (TEST_COND_x86): Likewise.
6357 (ccos_test_data): Use AUTO_TESTS_c_c.
6358 (ccosh_test_data): Likewise.
6359 (cexp_test_data): Likewise.
6360 (clog_test_data): Likewise.
6361 (csqrt_test_data): Likewise.
6362 (ctan_test_data): Likewise.
6363 (ctan_tonearest_test_data): Likewise.
6364 (ctan_towardzero_test_data): Likewise.
6365 (ctan_downward_test_data): Likewise.
6366 (ctan_upward_test_data): Likewise.
6367 (ctanh_test_data): Likewise.
6368 (ctanh_tonearest_test_data): Likewise.
6369 (ctanh_towardzero_test_data): Likewise.
6370 (ctanh_downward_test_data): Likewise.
6371 (ctanh_upward_test_data): Likewise.
6372 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6374 (func_calc_desc): Add mpc_c_c union field.
6375 (FUNC_mpc_c_c): New macro.
6376 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6377 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6379 (special_fill_min_subnorm_p120): New function.
6380 (special_real_inputs): Add min_subnorm_p120.
6381 (calc_generic_results): Handle mpc_c_c.
6382 * sysdeps/i386/fpu/libm-test-ulps: Update.
6383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6385 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6387 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6388 (do_sin_slow): New functions.
6389 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
6390 (cslow2, csloww1, csloww2): Use the new functions.
6392 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
6393 Use M to change sign of result instead of X. Assume X is
6395 (csloww1): Likewise.
6399 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
6404 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
6406 (sloww1): Don't adjust sign of DX.
6407 (csloww1): Likewise.
6408 (sloww2): Use X directly and don't adjust sign of DX.
6409 (csloww2): Likewise.
6411 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6413 * math/auto-libm-test-in: Add tests of cabs and carg.
6414 * math/auto-libm-test-out: Regenerated.
6415 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
6416 (carg_test_data): Likewise.
6417 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6419 (func_calc_desc): Add mpc_c_f union field.
6420 (test_functions): Add cabs and carg.
6421 (calc_generic_results): Handle mpc_c_f.
6423 * sysdeps/powerpc/powerpc32/libgcc-compat.S
6424 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
6425 as a macro and a compat symbol.
6426 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6427 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6428 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6429 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6430 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
6431 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
6433 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
6435 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
6437 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
6439 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
6441 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
6443 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
6444 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
6447 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6451 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6453 * manual/texinfo.tex: Update to version 2013-11-26.10 with
6454 trailing whitespace removed.
6455 * scripts/config.guess: Update to version 2013-11-29.
6456 * scripts/config.sub: Update to version 2013-10-01.
6458 * math/auto-libm-test-in: Add tests of sincos.
6459 * math/auto-libm-test-out: Regenerated.
6460 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6461 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6463 (func_calc_desc): Add mpfr_f_11 union field.
6464 (test_functions): Add sincos.
6465 (calc_generic_results): Handle mpfr_f_11.
6466 * sysdeps/i386/fpu/libm-test-ulps: Update.
6467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6469 2013-12-19 Andreas Schwab <schwab@suse.de>
6471 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6473 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6474 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6475 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6477 2013-12-19 Joseph Myers <joseph@codesourcery.com>
6479 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6480 * sysdeps/i386/fpu/libm-test-ulps: Update.
6481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6484 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6485 round-to-nearest mode when using frndint.
6486 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6487 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6488 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6490 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
6492 * math/auto-libm-test-out: Regenerated.
6493 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6494 (TEST_COND_x86): Likewise.
6495 (expm1_tonearest_test_data): New array.
6496 (expm1_test_tonearest): New function.
6497 (expm1_towardzero_test_data): New array.
6498 (expm1_test_towardzero): New function.
6499 (expm1_downward_test_data): New array.
6500 (expm1_test_downward): New function.
6501 (expm1_upward_test_data): New array.
6502 (expm1_test_upward): New function.
6503 (main): Run the new test functions.
6504 * sysdeps/i386/fpu/libm-test-ulps: Update.
6505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6507 * include/features.h: Update comment documenting feature test
6508 macros. Mention _DEFAULT_SOURCE in comment.
6509 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
6510 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
6511 _BSD_SOURCE and _SVID_SOURCE.
6512 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
6513 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
6514 !_SVID_SOURCE]: Likewise.
6515 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6516 (__USE_POSIX_IMPLICITLY): Define.
6517 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6518 (_POSIX_SOURCE): Undefine and redefine.
6519 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6520 (_POSIX_C_SOURCE): Likewise.
6521 * manual/creature.texi (_DEFAULT_SOURCE): Document.
6522 (Feature Test Macros): Update documentation of default features.
6524 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6526 * benchtests/Makefile: Add bench-strtok.
6527 * benchtests/bench-strtok.c: New file: strtok benchtest.
6529 2013-12-19 Allan McRae <allan@archlinux.org>
6531 * manual/install.texi: Suppress menu for plain text output.
6532 * INSTALL: Regenerated.
6534 2013-12-18 Brooks Moses <bmoses@google.com>
6537 * misc/getauxval.c: Include errno.h.
6538 (__getauxval): Set errno to ENOENT if the requested type is not
6540 * misc/sys/auxv.h (getauxval): Document that it may set errno;
6541 don't declare with __attribute_const__.
6542 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
6543 * manual/startup.texi: Document that getauxval sets errno.
6545 2013-12-18 Joseph Myers <joseph@codesourcery.com>
6547 * math/auto-libm-test-in: Add tests of jn and yn.
6548 * math/auto-libm-test-out: Regenerated.
6549 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6550 (yn_test_data): Likewise.
6551 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6553 (func_calc_desc): Add mpfr_if_f union field.
6554 (FUNC_mpfr_if_f): New macro.
6555 (test_functions): Add jn and yn.
6556 (calc_generic_results): Assert type of second input for
6557 mpfr_ff_f. Handle mpfr_if_f.
6558 (output_for_one_input_case): Disable all checking for arguments
6559 fitting floating-point types in case of an integer argument.
6560 * sysdeps/i386/fpu/libm-test-ulps: Update.
6561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6564 Don't expect fegetround reference in libm.so.
6566 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6568 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
6569 $(config-cflags-nofma).
6571 2013-12-18 Joseph Myers <joseph@codesourcery.com>
6573 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
6574 * math/auto-libm-test-out: Regenerated.
6577 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
6578 to determine exponent and adjust argument to have exponent of -1.
6579 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6581 * math/auto-libm-test-out: Regenerated.
6582 * sysdeps/i386/fpu/libm-test-ulps: Update.
6583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6585 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
6587 * manual/probes.texi: Remove cases when per-thread arenas are
6590 2013-12-18 Andreas Schwab <schwab@suse.de>
6592 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
6593 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
6594 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
6595 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
6596 * sysdeps/i386/i686/multiarch/Makefile: Update.
6597 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
6599 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6601 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
6602 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6604 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
6607 Support TZ transition times < 00:00:00.
6608 This is needed for version-3 tz-format files; it supports time
6609 stamps past 2037 for America/Godthab (the only entry in the tz
6610 database for which this change is relevant).
6611 * manual/time.texi (TZ Variable): Document transition times
6612 from -167:59:59 through -00:00:01.
6613 * time/tzset.c (tz_rule): Time of day is now signed.
6614 (__tzset_parse_tz): Parse negative time of day.
6616 Document TZ transition times >= 25:00:00.
6617 * manual/time.texi (TZ Variable): Document transition times from
6618 25:00:00 through 167:59:59. These are already supported, and this
6619 support will help with version-3 tz-format files.
6621 * manual/time.texi (TZ Variable): Modernize North America example
6622 to reflect current (i.e., 2007-and-later) daylight saving rules.
6624 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6626 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6628 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6629 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6630 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6631 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6632 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6633 * sysdeps/unix/bsd/bsdstat.h: Likewise.
6634 * sysdeps/unix/bsd/clock.c: Likewise.
6635 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6636 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6637 * sysdeps/unix/bsd/init-posix.c: Likewise.
6638 * sysdeps/unix/bsd/poll.c: Likewise.
6639 * sysdeps/unix/bsd/ptsname.c: Likewise.
6640 * sysdeps/unix/bsd/seekdir.c: Likewise.
6641 * sysdeps/unix/bsd/setegid.c: Likewise.
6642 * sysdeps/unix/bsd/seteuid.c: Likewise.
6643 * sysdeps/unix/bsd/setgid.c: Likewise.
6644 * sysdeps/unix/bsd/setrgid.c: Likewise.
6645 * sysdeps/unix/bsd/setruid.c: Likewise.
6646 * sysdeps/unix/bsd/setsid.c: Likewise.
6647 * sysdeps/unix/bsd/setuid.c: Likewise.
6648 * sysdeps/unix/bsd/sigaction.c: Likewise.
6649 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6650 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6651 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6652 * sysdeps/unix/bsd/telldir.c: Likewise.
6653 * sysdeps/unix/bsd/times.c: Likewise.
6654 * sysdeps/unix/bsd/usleep.c: Likewise.
6656 * misc/Makefile (install-lib): Remove libbsd-compat.a.
6657 ($(objpfx)libbsd-compat.a): Remove rule.
6659 * include/features.h (__FAVOR_BSD): Do not define.
6660 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6661 features conflicting with POSIX.
6662 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6663 (_BSD_SOURCE): Remove description of not being a subset of other
6664 feature test macros.
6665 * manual/job.texi (getpgrp): Do not document BSD version.
6666 (getpgid): Do not document by reference to BSD getpgrp.
6667 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6668 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6669 * signal/signal.h [__FAVOR_BSD]: Likewise.
6670 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6671 instead of making contents conditional on [__FAVOR_BSD].
6672 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6674 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6678 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6681 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6682 values below 2**-450, not 2**-500.
6683 * math/auto-libm-test-in: Don't allow spurious underflow from
6685 * math/auto-libm-test-out: Regenerated.
6689 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6690 values of ha and hb and sort them after adjusting subnormal
6692 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6694 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6695 values of ea and eb and sort them after adjusting subnormal
6697 * math/auto-libm-test-in: Do not expect some hypot tests of
6698 subnormals to fail. Add more hypot tests.
6699 * math/auto-libm-test-out: Regenerated.
6701 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6704 * sysdeps/sh/s_fma.c: New file.
6705 * sysdeps/sh/s_fmaf.c: New file.
6706 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
6708 * sysdeps/sh/Implies: Add sh/soft-fp.
6710 2013-12-16 Roland McGrath <roland@hack.frob.com>
6712 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
6713 level of indirection to members `objname', `errstring', `malloced'.
6714 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6715 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
6716 it as the __longjmp argument (just pass 1 instead).
6717 (_dl_catch_error): Initialize C with argument pointers and address of
6718 volatile local ERRCODE rather than copying values out of C at return.
6720 2013-12-16 Joseph Myers <joseph@codesourcery.com>
6722 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6723 * math/auto-libm-test-out: Regenerated.
6724 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6725 (hypot_test_data): Likewise.
6726 (pow_test_data): Likewise.
6727 (pow_tonearest_test_data): Likewise.
6728 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6730 (func_calc_desc): Add mpfr_ff_f union field.
6731 (FUNC_mpfr_ff_f): New macro.
6732 (test_functions): Add atan2, hypot and pow.
6733 (special_fill_min): New function.
6734 (special_fill_minus_min): Likewise.
6735 (special_fill_min_subnorm): Likewise.
6736 (special_fill_minus_min_subnorm): Likewise.
6737 (special_real_inputs): Add min, -min, min_subnorm and
6739 (calc_generic_results): Handle mpfr_ff_f.
6740 * sysdeps/i386/fpu/libm-test-ulps: Update.
6741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6743 2013-12-16 Will Newton <will.newton@linaro.org>
6745 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6746 (Aligned Memory Blocks): Add documentation for aligned_alloc
6747 and suggest it as an alternative to posix_memalign.
6748 (Hooks for Malloc): Document __memalign_hook is also called
6749 for aligned_alloc. (Summary of Malloc): Add summary for
6750 aligned alloc. Document __memalign_hook is also called
6753 2013-12-16 Will Newton <will.newton@linaro.org>
6755 * manual/memory.texi (Malloc Examples): Clarify default
6756 alignment documentation. Suggest posix_memalign rather
6757 than memalign or valloc.
6758 (Aligned Memory Blocks): Remove suggestion to use memalign
6759 or valloc. Remove obsolete comment about BSD.
6760 Document memalign errno values and mark the function obsolete.
6761 Document posix_memalign returned error codes. Mark valloc
6762 as obsolete. (Hooks for Malloc): __memalign_hook is also
6763 called for posix_memalign and valloc.
6764 (Summary of Malloc): Add posix_memalign to function summary.
6765 __memalign_hook is also called for posix_memalign and valloc.
6767 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6769 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6773 (sloww): Use mynumber union. Expand ternary operator into
6775 (cslow): use mynumber union.
6777 2013-12-16 Allan McRae <allan@archlinux.org>
6779 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6780 * configure: Regenerated.
6782 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6785 * configure.ac: Added --enable-maintainer-mode. Check for
6786 autoconf when enabled.
6787 * configure: Regenerated.
6789 * nscd/nscd.service: New file.
6790 * nscd/nscd.tmpfiles: New file.
6792 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
6795 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6796 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6797 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6798 (strstr): Add __strstr_sse2_unaligned ifunc.
6799 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6800 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6801 (strcasestr): Remove __strcasestr_sse42 ifunc.
6802 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6803 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6804 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6806 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6808 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6809 * sysdeps/sh/bits/fenv.h: ... here.
6810 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6812 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6814 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6816 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6817 hypotf multiarch implementations.
6818 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6819 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6820 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6821 multiarch hypot for PPC64.
6822 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6823 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6824 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6825 multiarch hypotf for PPC64.
6827 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6828 modff multiarch implementations.
6829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6832 multiarch modf for PPC64.
6833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6836 multiarch modff for PPC64.
6838 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6839 and logl multiarch implementations.
6840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6843 multiarch logb for PPC64.
6844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6847 multiarch logb for PPC64.
6848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6851 multiarch logb for PPC64.
6853 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6854 isinff multiarch implementation.
6855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6859 multiarch isinf for PPC64.
6860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6863 multiarch isinff for PPC64.
6865 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6866 finitef multiarch implementation.
6867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6871 multiarch finite for PPC64.
6872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6875 multiarch finitef for PPC64.
6877 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6878 lrint multiarch implementation.
6879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6883 multiarch llrint for PPC64.
6884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6885 multiarch lrint for PPC64.
6887 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6888 copysignf multiarch implementation.
6889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6894 multiarch copysign for PPC64.
6895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6896 multiarch copysignf for PPC64.
6898 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6899 multiarch implementation.
6900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6908 multiarch llround for PPC64.
6909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6910 multiarch trunc for PPC64.
6911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6912 multiarch truncf for PPC64.
6914 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6915 multiarch implementation.
6916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6924 multiarch llround for PPC64.
6925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6926 multiarch round for PPC64.
6927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6928 multiarch roundf for PPC64.
6930 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6931 multiarch implementation.
6932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6940 multiarch llround for PPC64.
6941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6942 multiarch floor for PPC64.
6943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6944 multiarch floorf for PPC64.
6946 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6947 multiarch implementation.
6948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6956 multiarch llround for PPC64.
6957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6958 multiarch ceil for PPC64.
6959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6960 multiarch ceilf for PPC64.
6962 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6963 multiarch implementation.
6964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6971 multiarch llround for PPC64.
6972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6973 multiarch lround for PPC64.
6975 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6976 multiarch implementation.
6977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6984 multiarch isnan for PPC64.
6985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6986 multiarch isnanf for PPC64.
6988 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6989 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6990 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6991 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6992 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6995 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6996 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6997 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6998 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7000 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
7001 multiarch implementations.
7002 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7003 (__libc_ifunc_impl_list): Likewise.
7004 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7005 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
7006 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
7007 multiarch stpcpy for PPC64.
7009 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
7010 multiarch implementations.
7011 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7012 (__libc_ifunc_impl_list): Likewise.
7013 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
7014 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
7015 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
7016 multiarch strcpy for PPC64.
7018 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7019 redefine function name.
7020 (_wordcopy_fwd_dest_aligned): Likewise.
7021 (_wordcopy_bwd_aligned): Likewise.
7022 (_wordcopy_bwd_dest_aligned): Likewise.
7023 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7024 multiarch implementations.
7025 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7026 (__libc_ifunc_impl_list): Likewise.
7027 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7028 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7029 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7030 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7031 multiarch wcscpy for PPC64.
7033 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7034 multiarch implementations.
7035 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7036 (__libc_ifunc_impl_list): Likewise.
7037 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7038 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7039 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7040 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7041 multiarch wcscpy for PPC64.
7043 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7044 multiarch implementations.
7045 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7046 (__libc_ifunc_impl_list): Likewise.
7047 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7048 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7049 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7050 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7051 multiarch wcsrchr for PPC64.
7053 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7054 multiarch implementations.
7055 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7056 (__libc_ifunc_impl_list): Likewise.
7057 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7058 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7059 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7060 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7061 multiarch wcschr for PPC64.
7063 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7064 multiarch implementations.
7065 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7066 (__libc_ifunc_impl_list): Likewise.
7067 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7068 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7069 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7070 multiarch strchrnul for PPC64.
7072 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7074 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7075 (__libc_ifunc_impl_list): Likewise.
7076 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7077 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7078 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7079 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7082 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7084 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7085 (__libc_ifunc_impl_list): Likewise.
7086 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7087 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7088 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7089 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7092 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7093 multiarch implementations.
7094 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7095 (__libc_ifunc_impl_list): Likewise.
7096 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7097 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7098 strncasecmp for PPC64.
7099 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7100 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7101 multiarch strncasecmp_l for PPC64.
7103 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7104 multiarch implementations.
7105 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7106 (__libc_ifunc_impl_list): Likewise.
7107 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7108 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7109 multiarch strcasecmp for PPC64.
7110 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7112 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7113 multiarch strcasecmp_l for PPC64.
7115 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7117 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7118 (__libc_ifunc_impl_list): Likewise.
7119 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7120 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7121 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7124 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7126 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7127 (__libc_ifunc_impl_list): Likewise.
7128 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7129 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7130 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7133 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7135 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7136 (__libc_ifunc_impl_list): Likewise.
7137 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7138 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7139 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7140 rawmemrchr for PPC64.
7142 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7145 (__libc_ifunc_impl_list): Likewise.
7146 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7147 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7148 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7151 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7154 (__libc_ifunc_impl_list): Likewise.
7155 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7156 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7157 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7160 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7162 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7163 (__libc_ifunc_impl_list): Likewise.
7164 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7165 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7166 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7169 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7170 avoid cretion of __bzero symbol.
7171 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7173 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7175 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7177 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7178 multiarch implementations.
7179 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7180 (__libc_ifunc_impl_list): Likewise.
7181 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7182 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7183 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7184 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7186 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7187 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7188 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7189 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7190 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7192 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7194 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7195 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7198 (__libc_ifunc_impl_list): Likewise.
7199 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7200 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7201 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7202 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7205 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7206 multiarch for POWER/PPC64.
7207 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7208 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7209 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7210 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7211 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7212 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7213 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7214 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7215 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7218 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7219 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7220 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7221 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7222 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7223 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7224 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7225 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7226 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7227 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7228 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7229 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7230 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7231 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7232 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7241 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7243 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7245 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7247 * benchtests/Makefile (bench): Add exp2 and log2.
7248 (LDLIBS-bench-exp2): Add -lm.
7249 (LDLIBS-bench-log2): Likewise.
7250 * benchtests/exp2-inputs: New inputs file.
7251 * benchtests/log2-inputs: New inputs file.
7252 * benchtests/log-inputs: Add new inputs.
7253 * benchtests/tan-inputs: Likewise.
7255 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7257 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
7259 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
7260 (csloww2): ... from here.
7262 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
7263 instead of structures.
7264 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
7265 (POLYNOMIAL): Likewise.
7266 (TAYLOR_SLOW): Likewise.
7274 (bsloww1): Likewise.
7275 (bsloww2): Likewise.
7278 (csloww1): Likewise.
7279 (csloww2): Likewise.
7281 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
7283 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
7284 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
7285 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
7286 * malloc/hooks.c (realloc_check): Likewise.
7288 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
7289 * malloc/arena.c: Remove PER_THREAD conditional.
7290 [!PER_THREAD]: Remove code.
7291 (ptmalloc_unlock_all2): Likewise.
7292 (ptmalloc_init): Likewise.
7293 (_int_new_arena): Likewise.
7294 (arena_get2): Likewise.
7295 * malloc/hooks.c (__malloc_get_state): Likewise.
7296 (__malloc_set_state): Likewise.
7297 * malloc/malloc.c: Likewise.
7298 (struct malloc_state): Likewise.
7299 (struct malloc_par): Likewise.
7300 (__libc_realloc): Likewise.
7301 (__libc_mallopt): Likewise.
7303 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7305 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
7307 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
7309 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
7310 macro to a function. Check for zero perturb_byte.
7311 (_int_malloc, _int_free): Remove zero perturb_byte checks.
7313 * malloc/malloc.c: (force_reg): Remove.
7314 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
7315 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
7316 force_reg by atomic_forced_read.
7317 * malloc/arena.c (ptmalloc_init): Likewise.
7318 * malloc/hooks.c (top_check): Likewise.
7320 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7324 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
7326 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7328 2013-12-08 Joseph Myers <joseph@codesourcery.com>
7330 * math/auto-libm-test-in: Add tests of lgamma.
7331 * math/auto-libm-test-out: Regenerated.
7332 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
7333 (M_LOG_2_SQRT_PIl): Likewise.
7334 (lgamma_test_data): Use AUTO_TESTS_f_f1.
7335 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7337 (func_calc_desc): Add mpfr_f_f1 union field.
7346 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
7347 (test_functions): Add lgamma.
7348 (calc_generic_results): Handle mpfr_f_f1.
7349 * sysdeps/i386/fpu/libm-test-ulps: Update.
7350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7352 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7354 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
7355 __mpn_add_n for PowerPC64/POWER7.
7356 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
7357 __mpn_sub_n for PowerPC64/POWER7.
7359 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
7360 __mpn_addmul_1 for PowerPC64.
7361 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
7362 __mpn_submul_1 for PowerPC64.
7363 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
7365 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
7368 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
7371 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7373 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7375 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7377 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7378 add multiarch folders.
7379 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7380 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7381 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7382 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7383 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7384 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7385 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7386 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7387 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7388 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7389 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
7390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
7391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
7392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
7393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
7394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
7395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
7397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7398 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
7399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
7401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
7403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
7404 multiarch __ieee754_hypot for PowerPC32.
7405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
7407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
7409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
7410 multiarch __ieee754_hypotf for PowerPC32.
7412 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
7413 long_double_symbol only if __logbl is defined.
7414 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
7415 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
7416 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
7417 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
7418 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
7419 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
7420 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
7421 path for implementation.
7422 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
7423 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
7424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
7425 logb, and logbl multiarch implementations for PowerPC32.
7426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
7428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
7430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
7431 multiarch logb for PowerPC32.
7432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
7434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
7436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
7437 multiarch logbf for PowerPC32.
7438 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
7439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
7441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
7442 multiarch logbl implementation for PowerPC32.
7444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
7445 and modff multiarch implementations.
7446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
7448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
7450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
7451 multiarch modf for PowerPC32.
7452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
7454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
7456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
7457 multiarch modff for PowerPC32.
7459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7460 and lrintf multiarch implementations.
7461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7466 multiarch lrint for PowerPC32.
7467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7468 file: multiarch lrintf for PowerPC32.
7470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7471 and lroundf multiarch implementations.
7472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7479 multiarch lround for PowerPC32.
7480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7481 file: multiarch lroundf for PowerPC32.
7483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7484 copysign and copysignf multiarch implementations.
7485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7490 file: multiarch copysign for PowerPC32.
7491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7492 file: multiarch copysignf for PowerPC32.
7494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7495 and truncf multiarch implementations.
7496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
7501 multiarch trunc for PowerPC32.
7502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
7504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
7506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
7507 multiarch truncf for PowerPC32.
7509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
7510 and roundf multiarch implementations.
7511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
7513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
7515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
7516 multiarch round for PowerPC32.
7517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
7519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
7521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
7522 multiarch roundf for PowerPC32.
7524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
7525 and floorf multiarch implementations.
7526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
7528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
7530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
7531 multiarch floor for PowerPC32.
7532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
7534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
7536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
7537 multiarch floorf for PowerPC32.
7539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
7540 and ceilf multiarch implementations.
7541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
7543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
7545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
7546 multiarch ceil for PowerPC32.
7547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
7549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7552 multiarch ceilf for PowerPC32.
7554 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7556 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7559 and finitef multiarch implementations.
7560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7565 multiarch finite for PowerPC32.
7566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
7569 file: multiarch finitef for PowerPC32.
7571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
7572 and isinff multiarch implementations.
7573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
7575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
7577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
7578 multiarch isinf for PowerPC32.
7579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
7581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
7582 multiarch isinff for PowerPC32.
7584 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
7585 alias when __isnan is defined.
7586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
7587 and isnanf multiarch implementations.
7588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
7590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
7592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
7594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
7596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
7597 multiarch isnan for PowerPC32.
7598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
7600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
7602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
7603 multiarch isnanf for PowerPC32.
7605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
7606 and sqrtf multiarch implementations.
7607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
7609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
7611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
7612 multiarch sqrt for PowerPC32.
7613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
7615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
7617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
7618 multiarch sqrtf for PowerPC32.
7620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
7621 and llroundf multiarch implementations.
7622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
7624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7629 file: multiarch llround for PowerPC32.
7630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7631 file: multiarch llroundf for PowerPC32.
7633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7634 multiarch PowerPC32 fpu implementations.
7635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7640 multiarch llrint for PowerPC32.
7641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7650 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7652 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7654 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7656 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7657 multiarch wordcopy for PPC32.
7658 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7660 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7661 (__libc_ifunc_impl_list): Likewise.
7662 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7663 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7664 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7665 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7666 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7667 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7669 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7670 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7672 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7674 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7676 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7677 multiarch wcscpy for PPC32.
7678 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7680 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7681 (__libc_ifunc_impl_list): Likewise.
7682 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7683 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7684 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7685 sysdeps/powerpc/power6/wcscpy.c.
7687 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7688 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7690 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7692 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7694 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7695 multiarch wcsrchr for PPC32.
7696 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7698 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7699 (__libc_ifunc_impl_list): Likewise.
7700 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7701 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7702 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7703 sysdeps/powerpc/power6/wcsrchr.c.
7705 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7707 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7709 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7710 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7711 multiarch wcschr for PPc32.
7712 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7714 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7715 (__libc_ifunc_impl_list): Likewise.
7716 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7717 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7718 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7719 sysdeps/powerpc/power6/wcschr.c.
7721 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7722 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7724 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7725 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7726 file: multiarch strchr for PPC32.
7727 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7729 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7730 (__libc_ifunc_impl_list): Likewise.
7732 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7734 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7736 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7738 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7739 multiarch strchrnul for PPC32.
7740 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7742 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7743 (__libc_ifunc_impl_list): Likewise.
7745 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7747 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7748 multiarch strncasecmp for PPC32.
7749 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7751 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7752 multiarch strncasecmp_l for PPC32.
7753 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7754 strncasecmp multiarch objects.
7755 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7756 (__libc_ifunc_impl_list): Likewise.
7758 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7760 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7761 multiarch strncasecmp for PPC32.
7762 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7764 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7765 multiarch strcasecmp_l for PPC32.
7766 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7768 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7769 (__libc_ifunc_impl_list): Likewise.
7771 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7773 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7775 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7776 multiarch strncmp for PPC32.
7777 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7779 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7780 (__libc_ifunc_impl_list): Likewise.
7782 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7783 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7785 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7786 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7787 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7789 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7790 (__libc_ifunc_impl_list): Likewise.
7792 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7794 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7796 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7797 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7799 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7800 (__libc_ifunc_impl_list): Likewise.
7802 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7804 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7806 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7807 multiarch rawmemchr for PPC32.
7808 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7810 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7811 (__libc_ifunc_impl_list): Likewise.
7813 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7815 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7817 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7818 file: memrchr multiarch for PPC32.
7819 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7821 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7822 (__libc_ifunc_impl_list): Likewise.
7824 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7825 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7827 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7828 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7829 multiarch memchr for PPC32.
7830 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7832 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7833 (__libc_ifunc_impl_list): Likewise.
7835 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7836 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7838 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7840 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7841 file: multiarch mempcpy for PPC32.
7842 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7844 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7845 (__libc_ifunc_impl_list): Likewise.
7847 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7848 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7849 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7850 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7851 multiarch bzero for PPC32.
7852 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7854 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7856 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7857 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7858 file: multiarch memset for PPC32.
7859 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7860 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7861 memset multiarch objects.
7862 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7863 (__libc_ifunc_impl_list): Likewise.
7865 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7867 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7868 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7870 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7871 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7873 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7874 (__libc_ifunc_impl_list): Likewise.
7876 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7877 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7878 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7880 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7882 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7884 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7885 multiarch memcpy for PPC32.
7886 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7888 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7889 (__libc_ifunc_impl_list): Likewise.
7891 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7892 support multiarch for POWER/PPC32.
7893 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7895 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7897 Implies file to make multiarch folder appers before the fpu and
7898 default folder for power4 configuration.
7900 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7902 * scripts/bench.pl: Append volatile keyword to type.
7904 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7906 * sysdeps/sh/sotruss-lib.c: New file.
7907 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7909 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7913 2013-12-05 Joseph Myers <joseph@codesourcery.com>
7916 * math/w_tgamma.c: Include <errno.h>.
7917 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7918 * math/w_tgammaf.c: Include <errno.h>.
7919 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7920 * math/w_tgammal.c: Include <errno.h>.
7921 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7922 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7923 underflow. Add more tgamma tests.
7924 * math/auto-libm-test-out: Regenerated.
7925 * sysdeps/i386/fpu/libm-test-ulps: Update.
7926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7928 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7929 sin, sinh, tan, tanh, tgamma, y0 and y1.
7930 * math/auto-libm-test-out: Regenerated.
7931 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7932 (TEST_COND_x86): Likewise.
7933 (M_E2l): Remove macro.
7935 (M_2_SQRT_PIl): Likewise.
7936 (M_SQRT_PIl): Likewise.
7937 (M_1_DIV_El): Likewise.
7938 (log_test_data): Use AUTO_TESTS_f_f.
7939 (log10_test_data): Likewise.
7940 (log1p_test_data): Likewise.
7941 (log2_test_data): Likewise.
7942 (sin_test_data): Likewise.
7943 (sin_tonearest_test_data): Likewise.
7944 (sin_towardzero_test_data): Likewise.
7945 (sin_downward_test_data): Likewise.
7946 (sin_upward_test_data): Likewise.
7947 (sinh_test_data): Likewise.
7948 (sinh_tonearest_test_data): Likewise.
7949 (sinh_towardzero_test_data): Likewise.
7950 (sinh_downward_test_data): Likewise.
7951 (sinh_upward_test_data): Likewise.
7952 (tan_test_data): Likewise.
7953 (tan_tonearest_test_data): Likewise.
7954 (tan_towardzero_test_data): Likewise.
7955 (tan_downward_test_data): Likewise.
7956 (tan_upward_test_data): Likewise.
7957 (tanh_test_data): Likewise.
7958 (tgamma_test_data): Likewise.
7959 (y0_test_data): Likewise.
7960 (y1_test_data): Likewise.
7961 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7962 (special_real_inputs): Add pi/4.
7963 * sysdeps/i386/fpu/libm-test-ulps: Update.
7964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7966 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7968 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7969 "longjmp_target" static probes.
7970 (__longjmp): Rename to __longjmp_symbol.
7971 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7972 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7973 on which longjmp to generate.
7974 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7975 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7977 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7978 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7979 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7980 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7981 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7982 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7984 __longjmp_symbol based on which __longjmp to generate.
7985 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7987 (setjmp): Rename to setjmp_symbol.
7988 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7989 (_setjmp): Rename to _setjmp_symbol.
7990 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7991 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7992 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7993 which setjmp to generate.
7994 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7995 "longjmp_target" static probes.
7997 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7999 * benchtests/README: Add note about output arguments.
8000 * benchtests/bench-sincos.c: Remove file.
8001 * benchtests/sincos-inputs: New file.
8002 * scripts/bench.pl: Identify output arguments and define
8003 static variables for them.
8005 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
8008 * Makefile (INSTALL): Add install-plain.texi as the primary
8010 * manual/install-plain.texi: New file.
8011 * manual/install.texi: Include node directive only for
8012 non-plaintext output.
8014 2013-12-04 Joseph Myers <joseph@codesourcery.com>
8016 * stdlib/longlong.h: Update from GCC.
8020 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8021 * math/w_j0f.c (y0f): Likewise.
8022 * math/w_j0l.c (__y0l): Likewise.
8023 * math/w_j1.c (y1): Likewise.
8024 * math/w_j1f.c (y1f): Likewise.
8025 * math/w_j1l.c (__y1l): Likewise
8026 * math/w_jn.c (yn): Likewise.
8027 * math/w_jnf.c (ynf): Likewise.
8028 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8029 Bessel function pole errors in _POSIX_ mode. Use NAN as return
8030 value for Bessel function domain errors outside _SVID_ mode.
8031 Adjust sign of return value for yn (negative integer, 0).
8032 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8033 by zero in return for negative x and set sign appropriately for
8035 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8036 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8037 * math/libm-test.inc (y0_test_data): Add more tests and adjust
8038 expectations in error cases.
8039 (y1_test_data): Likewise.
8040 (yn_test_data): Likewise.
8041 * sysdeps/i386/fpu/libm-test-ulps: Update.
8042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8044 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8046 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8047 "64" to "64-v1". Add "64-v2".
8048 (abi-64-options): Rename to ...
8049 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
8050 (abi-64-condition): Rename to ...
8051 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
8052 (abi-64-ld-soname): Rename to ...
8053 (abi-64-v1-ld-soname): ... this.
8054 (abi-64-v2-options): Define.
8055 (abi-64-v2-condition): Likewise.
8056 (abi-64-v2-ld-soname): Likewise.
8057 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8058 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8063 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8064 Alan Modra <amodra@gmail.com>
8066 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8067 New versions for use with the ELFv2 ABI.
8068 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8069 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8071 (struct La_ppc64v2_retval): Likewise.
8072 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8073 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8074 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8075 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8076 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8077 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8078 Do not save or restore CR.
8079 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8080 (_dl_profile_resolve): Do no save or restore CR. Support extended
8081 return values for ELFv2 ABI. Fix location of FPR return registers.
8082 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8083 updated values for _CALL_ELF == 2.
8084 (La_regs, La_retval, int_retval): Likewise.
8086 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8088 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8089 (FRAME_MIN_SIZE_PARM): Likewise.
8090 (FRAME_BACKCHAIN): Likewise.
8091 (FRAME_CR_SAVE): Likewise.
8092 (FRAME_LR_SAVE): Likewise.
8093 (FRAME_TOC_SAVE): Likewise.
8094 (FRAME_PARM_SAVE): Likewise.
8095 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8096 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8097 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8098 (call_mcount_parm_offset): New macro.
8099 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8100 (PROF): Use symbolic stack frame offsets.
8101 (TAIL_CALL_SYSCALL_ERROR): Likewise.
8102 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8103 Redefine in terms of FRAME_MIN_SIZE.
8104 (_dl_runtime_resolve): Use symbolic stack frame offsets.
8105 (_dl_profile_resolve): Likewise. Update comment.
8106 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8107 symbols stack frame offsets.
8108 (__sigsetjmp): Likewise.
8109 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8110 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8111 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8112 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8115 (FRAME_BACKCHAIN): Remove.
8116 (FRAME_CR_SAVE): Likewise.
8117 (FRAME_LR_SAVE): Likewise.
8118 (FRAME_COMPILER_DW): Likewise.
8119 (FRAME_LINKER_DW): Likewise.
8120 (FRAME_TOC_SAVE): Likewise.
8121 (FRAME_PARM_SAVE): Likewise.
8122 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8123 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8124 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8126 (CHECK_SP): Use symbolic stack frame offsets.
8127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8128 zone" instead of caller's parameter save area for temp storage.
8129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8130 Likewise. Also, use symbolic stack frame offsets.
8131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8132 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8133 our own stack frame instead of the caller's.
8134 (__socket): Use symbolic stack frame offsets.
8136 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8137 Alan Modra <amodra@gmail.com>
8139 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8141 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8142 (PPC64_LOCAL_ENTRY_OFFSET): Define.
8143 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8145 (elf_machine_fixup_plt): Call it.
8146 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
8148 (elf_machine_rela): Update call to elf_machine_plt_conflict.
8149 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8150 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
8151 r2 before calling target.
8153 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8154 Alan Modra <amodra@gmail.com>
8156 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8157 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8158 versions of macros to support ELFv2 ABI.
8159 (LOCALENTRY): New macro.
8160 (ENTRY, EALIGN): Use it.
8161 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8162 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8163 fall through into ENTRY entry point.
8164 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8165 Only define if _CALL_ELF != 2.
8167 (elf_machine_matches_host): Verify ABI version matches.
8168 (RTLD_START): Use LOCALENTRY.
8169 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8170 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8171 (PLT_ENTRY_WORDS): New macro.
8172 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8173 (elf_machine_runtime_setup): Support ELFv2 ABI.
8174 (elf_machine_fixup_plt): Likewise.
8175 (elf_machine_plt_conflict): Likewise.
8176 (resolve_ifunc): Likewise.
8177 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8178 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8181 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8183 (makecontext): Support ELFv2 ABI.
8184 * elf/elf.h (EF_PPC64_ABI): Define.
8186 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8188 * sysdeps/powerpc/powerpc64/sysdep.h
8189 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8190 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8191 (ENTRY) [ASSEMBLER]: ... but instead here ...
8192 (EALIGN) [ASSEMBLER]: ... and here.
8193 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8194 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8195 (ENTRY_2) [!ASSEMBLER]: Use it.
8196 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8197 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
8198 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8199 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
8200 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8202 Use PPC64_LOAD_FUNCPTR.
8204 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8206 2013-12-04 Alan Modra <amodra@gmail.com>
8208 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8209 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8210 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8211 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8213 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8214 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8215 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8216 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8217 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8218 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8220 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8223 (__makecontext): Fix incorrect CFI when backtracing out of
8224 context created via makecontext.
8225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8226 (__setcontext): Fix incorrect CFI during switch to new context.
8227 (__novec_setcontext): Likewise.
8229 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
8232 * time/strptime_l.c (__strptime_internal): Allow modifiers
8234 * time/tst-strptime.c (day_tests): Add testcase.
8236 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8238 * scripts/bench.pl: Skip over blank lines.
8240 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
8243 * manual/time.texi (Calendar Time): Clarify what timezone functions
8246 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8250 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
8252 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
8254 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8255 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8256 * debug/memset_chk.c (__memset_chk): Likewise.
8257 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
8258 * debug/strncpy_chk.c: Likewise.
8260 2013-12-03 Joseph Myers <joseph@codesourcery.com>
8264 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
8265 (__ieee754_exp): For possibly underflowing results, check size of
8266 result and force underflow exception if required.
8267 * math/auto-libm-test-in: Add more tests of exp.
8268 * math/auto-libm-test-out: Regenerated.
8269 * sysdeps/i386/fpu/libm-test-ulps: Update.
8270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8273 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
8274 * math/w_exp2f.c (__exp2f): Likewise.
8275 * math/w_exp2l.c (__exp2l): Likewise.
8276 * math/auto-libm-test-in: Do not allow missing errno on exp2
8278 * math/auto-libm-test-out: Regenerated.
8280 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
8283 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
8284 handle filename validation.
8285 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
8288 2013-12-03 Joseph Myers <joseph@codesourcery.com>
8291 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
8292 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
8293 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
8295 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
8296 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
8297 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8298 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
8299 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8300 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
8301 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8302 * math/auto-libm-test-in: Don't allow missing errno from erfc.
8303 Add more erfc tests.
8304 * math/auto-libm-test-out: Regenerated.
8305 * sysdeps/i386/fpu/libm-test-ulps: Update.
8306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8308 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
8309 exp2, expm1, j0 and j1.
8310 * math/auto-libm-test-out: Regenerated.
8311 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
8312 (erfc_test_data): Likewise.
8313 (exp_test_data): Likewise.
8314 (exp_tonearest_test_data): Likewise.
8315 (exp_towardzero_test_data): Likewise.
8316 (exp_downward_test_data): Likewise.
8317 (exp_upward_test_data): Likewise.
8318 (exp10_test_data): Likewise.
8319 (exp2_test_data): Likewise.
8320 (expm1_test_data): Likewise.
8321 (j0_test_data): Likewise.
8322 (j1_test_data): Likewise.
8323 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
8324 (input_flag_type): Add flag_xfail_rounding.
8325 (input_flags): Add xfail-rounding.
8326 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
8327 (output_for_one_input_case): Handle flag_xfail_rounding.
8328 * sysdeps/i386/fpu/libm-test-ulps: Update.
8329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8331 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
8334 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
8337 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8340 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8341 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
8342 (STAP_PROBE0): New macro.
8343 (STAP_PROBE1): Likewise.
8344 (STAP_PROBE2): Likewise.
8345 (STAP_PROBE3): Likewise.
8346 (STAP_PROBE4): Likewise.
8348 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
8350 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
8352 2013-12-02 Steve Ellcey <sellcey@mips.com>
8354 * benchtests/Makefile (bench): Add sqrt.
8355 (LDLIBS-bench-sqrt): New.
8356 * benchtests/sqrt-input: New.
8358 2013-12-02 Pavel Simerda <psimerda@redhat.com>
8360 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
8361 (GAIH_EAI): Likewise.
8362 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
8363 (gaih_inet): Likewise.
8364 (getaddrinfo): Don't use GAIH_EAI.
8366 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
8367 (struct gaih): Remove definition.
8369 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8371 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
8372 Use HERRNOP directly.
8374 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8378 2013-11-30 Joseph Myers <joseph@codesourcery.com>
8380 * math/gen-auto-libm-tests.c (test_functions): Add more
8381 single-argument functions.
8382 (special_fill_pi_2): New function.
8383 (special_fill_minus_pi_2): Likewise.
8384 (special_fill_pi_6): Likewise.
8385 (special_fill_minus_pi_6): Likewise.
8386 (special_fill_pi_3): Likewise.
8387 (special_fill_2pi_3): Likewise.
8388 (special_fill_e): Likewise.
8389 (special_fill_1_e): Likewise.
8390 (special_fill_e_minus_1): Likewise.
8391 (special_real_inputs): Add more special inputs.
8392 (output_for_one_input_case): Do not require ERANGE on underflow to
8393 zero if round-to-nearest result does not underflow to zero, unless
8394 exact results required.
8395 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
8396 atan, atanh, cbrt, cos and cosh.
8397 * math/auto-libm-test-out: Regenerated.
8398 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
8399 (acos_tonearest_test_data): Likewise.
8400 (acos_towardzero_test_data): Likewise.
8401 (acos_downward_test_data): Likewise.
8402 (acos_upward_test_data): Likewise.
8403 (acosh_test_data): Likewise.
8404 (asin_test_data): Likewise.
8405 (asin_tonearest_test_data): Likewise.
8406 (asin_towardzero_test_data): Likewise.
8407 (asin_upward_test_data): Likewise.
8408 (asinh_test_data): Likewise.
8409 (atan_test_data): Likewise.
8410 (atanh_test_data): Likewise.
8411 (cbrt_test_data): Likewise.
8412 (cos_test_data): Likewise.
8413 (cos_tonearest_test_data): Likewise.
8414 (cos_towardzero_test_data): Likewise.
8415 (cos_downward_test_data): Likewise.
8416 (cos_upward_test_data): Likewise.
8417 (cosh_test_data): Likewise.
8418 (cosh_tonearest_test_data): Likewise.
8419 (cosh_towardzero_test_data): Likewise.
8420 (cosh_downward_test_data): Likewise.
8421 (cosh_upward_test_data): Likewise.
8422 * sysdeps/i386/fpu/libm-test-ulps: Update.
8423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8425 2013-11-29 Joseph Myers <joseph@codesourcery.com>
8428 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
8429 * math/w_exp10f.c (__exp10f): Likewise.
8430 * math/w_exp10l.c (__exp10l): Likewise.
8431 * math/libm-test.inc (exp10_test_data): Add more tests and expect
8432 errno settings in existing tests.
8435 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
8436 precision control set to double precision.
8437 * sysdeps/i386/fpu/w_sqrt.c: New file.
8438 * math/auto-libm-test-in: Add more tests.
8439 * math/auto-libm-test-out: Update.
8441 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
8442 (sqrt_test_tonearest): New function.
8443 (sqrt_towardzero_test_data): New variable.
8444 (sqrt_test_towardzero): New function.
8445 (sqrt_downward_test_data): New variable.
8446 (sqrt_test_downward): New function.
8447 (sqrt_upward_test_data): New variable.
8448 (sqrt_test_upward): New function.
8449 (main): Call the new functions.
8451 * math/gen-auto-libm-tests.c: New file.
8452 * math/auto-libm-test-in: Likewise.
8453 * math/auto-libm-test-out: New generated file.
8454 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
8456 (%beautify): Add generated representations of zero.
8457 (top level): Set $auto_input and call parse_auto_input.
8458 (beautify): Remove trailing "f" from hex float constants.
8459 (parse_args): Handle XFAIL_TEST.
8460 (convert_condition): New function.
8461 (or_value): Likewise.
8462 (or_cond_value): Likewise.
8463 (generate_testfile): Handle AUTO_TESTS_* lines.
8464 (parse_auto_input): New function.
8465 * math/libm-test.inc (XFAIL_TEST): New macro.
8466 (ERRNO_UNCHANGED): Update value.
8467 (ERRNO_EDOM): Likewise.
8468 (ERRNO_ERANGE): Likewise.
8469 (IGNORE_RESULT): Likewise.
8470 (TEST_COND_flt_32): New macro.
8471 (TEST_COND_dbl_64): Likewise.
8472 (TEST_COND_ldbl_96_intel): Likewise.
8473 (TEST_COND_ldbl_96_m68k): Likewise.
8474 (TEST_COND_ldbl_128): Likewise.
8475 (TEST_COND_ldbl_128ibm): Likewise.
8476 (TEST_COND_long32): Likewise.
8477 (TEST_COND_long64): Likewise.
8478 (TEST_COND_before_rounding): Likewise.
8479 (TEST_COND_after_rounding): Likewise.
8480 (enable_test): Handle XFAIL_TEST flag.
8481 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8482 with finite results.
8483 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8486 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8487 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8490 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8491 __tls_get_addr_internal instead of __tls_get_offset in order to
8492 avoid GOT pointer dependency. Make rtld export
8493 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8494 __tls_get_addr since we are a __tls_get_offset platform.
8495 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8496 GOT pointer being set up before.
8497 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8499 2013-11-28 Joseph Myers <joseph@codesourcery.com>
8501 * manual/math.texi (Errors in Math Functions): Document accuracy
8505 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
8506 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
8507 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8508 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8509 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8510 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8511 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8512 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8513 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8514 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8515 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8516 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8517 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8518 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8519 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8520 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8522 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
8523 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
8524 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
8525 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
8526 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
8528 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
8530 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
8532 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
8533 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8534 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
8535 atomic-feupdateenv and flt-rounds.
8536 * sysdeps/powerpc/nofpu/Versions (libc): Add
8537 __atomic_feholdexcept, __atomic_feclearexcept,
8538 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
8539 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
8540 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
8541 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
8542 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
8544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8547 * manual/arith.texi (FP Exceptions): Document that exceptions may
8548 not be raised when matherr is used.
8549 (Math Error Reporting): Document overflow in directed rounding
8550 modes. Document that errno may not be set when finite values are
8551 returned on overflow. Document intent to set errno on underflow
8552 only for underflow to zero.
8555 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8556 round-to-nearest then adjust result for other rounding modes.
8557 * include/fenv.h (fegetround): Use libm_hidden_proto.
8558 * math/fegetround.c (fegetround): Use libm_hidden_def.
8559 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8560 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8561 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8562 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8564 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8565 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8566 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8567 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8569 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8572 * nss/Versions (libnss_files): Add
8573 _nss_files_gethostbyname3_r.
8574 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
8576 (HOST_DB_LOOKUP): Remove macro.
8577 (_nss_files_gethostbyname_r): Implement function without the
8578 HOST_DB_LOOKUP macro.
8579 (_nss_files_gethostbyname2_r): Likewise.
8581 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
8583 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
8585 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
8587 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
8588 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
8591 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8593 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
8594 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
8595 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8596 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8597 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
8598 __fe_nomask_env_priv and attribute_hidden.
8599 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
8600 (libc_feupdateenv_test_ppc): Likewise.
8601 (libc_feresetround_ppc): Likewise.
8602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8603 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
8604 compat_symbol macro.
8605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8606 (__fe_nomask_env): Likewise.
8607 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8609 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8611 * string/Makefile: Remove ifunc tests.
8612 * string/test-string.h: Define TEST_IFUNC.
8613 * string/test-bcopy-ifunc.c: Remove.
8614 * string/test-bzero-ifunc.c: Likewise.
8615 * string/test-memccpy-ifunc.c: Likewise.
8616 * string/test-memchr-ifunc.c: Likewise.
8617 * string/test-memcmp-ifunc.c: Likewise.
8618 * string/test-memcpy-ifunc.c: Likewise.
8619 * string/test-memmem-ifunc.c: Likewise.
8620 * string/test-memmove-ifunc.c: Likewise.
8621 * string/test-mempcpy-ifunc.c: Likewise.
8622 * string/test-memrchr-ifunc.c: Likewise.
8623 * string/test-memset-ifunc.c: Likewise.
8624 * string/test-rawmemchr-ifunc.c: Likewise.
8625 * string/test-stpcpy-ifunc.c: Likewise.
8626 * string/test-stpncpy-ifunc.c: Likewise.
8627 * string/test-strcasecmp-ifunc.c: Likewise.
8628 * string/test-strcasestr-ifunc.c: Likewise.
8629 * string/test-strcat-ifunc.c: Likewise.
8630 * string/test-strchr-ifunc.c: Likewise.
8631 * string/test-strchrnul-ifunc.c: Likewise.
8632 * string/test-strcmp-ifunc.c: Likewise.
8633 * string/test-strcpy-ifunc.c: Likewise.
8634 * string/test-strcspn-ifunc.c: Likewise.
8635 * string/test-strlen-ifunc.c: Likewise.
8636 * string/test-strncasecmp-ifunc.c: Likewise.
8637 * string/test-strncat-ifunc.c: Likewise.
8638 * string/test-strncmp-ifunc.c: Likewise.
8639 * string/test-strncpy-ifunc.c: Likewise.
8640 * string/test-strnlen-ifunc.c: Likewise.
8641 * string/test-strpbrk-ifunc.c: Likewise.
8642 * string/test-strrchr-ifunc.c: Likewise.
8643 * string/test-strspn-ifunc.c: Likewise.
8644 * string/test-strstr-ifunc.c: Likewise.
8646 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8648 * benchtests/Makefile: Remove ifunc tests.
8649 * benchtests/bench-string.h: Define TEST_IFUNC.
8650 * benchtests/bench-bcopy-ifunc.c: Remove.
8651 * benchtests/bench-bzero-ifunc.c: Likewise.
8652 * benchtests/bench-memccpy-ifunc.c: Likewise.
8653 * benchtests/bench-memchr-ifunc.c: Likewise.
8654 * benchtests/bench-memcmp-ifunc.c: Likewise.
8655 * benchtests/bench-memcpy-ifunc.c: Likewise.
8656 * benchtests/bench-memmem-ifunc.c: Likewise.
8657 * benchtests/bench-memmove-ifunc.c: Likewise.
8658 * benchtests/bench-mempcpy-ifunc.c: Likewise.
8659 * benchtests/bench-memrchr-ifunc.c: Likewise.
8660 * benchtests/bench-memset-ifunc.c: Likewise.
8661 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8662 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8663 * benchtests/bench-stpcpy-ifunc.c: Likewise.
8664 * benchtests/bench-stpncpy-ifunc.c: Likewise.
8665 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8666 * benchtests/bench-strcasestr-ifunc.c: Likewise.
8667 * benchtests/bench-strcat-ifunc.c: Likewise.
8668 * benchtests/bench-strchr-ifunc.c: Likewise.
8669 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8670 * benchtests/bench-strcmp-ifunc.c: Likewise.
8671 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8672 * benchtests/bench-strcpy-ifunc.c: Likewise.
8673 * benchtests/bench-strcspn-ifunc.c: Likewise.
8674 * benchtests/bench-strlen-ifunc.c: Likewise.
8675 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8676 * benchtests/bench-strncat-ifunc.c: Likewise.
8677 * benchtests/bench-strncmp-ifunc.c: Likewise.
8678 * benchtests/bench-strncpy-ifunc.c: Likewise.
8679 * benchtests/bench-strnlen-ifunc.c: Likewise.
8680 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8681 * benchtests/bench-strrchr-ifunc.c: Likewise.
8682 * benchtests/bench-strsep-ifunc.c: Likewise.
8683 * benchtests/bench-strspn-ifunc.c: Likewise.
8684 * benchtests/bench-strstr-ifunc.c: Likewise.
8686 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8688 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8690 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8692 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8693 * rt/aio.h: Likewise.
8694 * sysdeps/gnu/bits/utmp.h: Likewise.
8695 * sysdeps/gnu/bits/utmpx.h: Likewise.
8696 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8697 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8698 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8699 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8700 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8701 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8702 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8703 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8704 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8705 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8706 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8707 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8708 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8710 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8711 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8712 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8713 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8714 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8715 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8716 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8717 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8718 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8719 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8720 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8721 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8722 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8723 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8724 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8725 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8726 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8727 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8728 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8729 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8730 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8731 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8732 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8733 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8734 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8735 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8736 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8737 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8739 2013-11-25 Carlos O'Donell <carlos@redhat.com>
8742 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8743 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8745 2013-11-25 Joseph Myers <joseph@codesourcery.com>
8747 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8748 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8751 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8753 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8754 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8755 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8756 (__fesetround): Remove define.
8757 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8758 rounding and exceptions handling.
8759 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8760 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8761 (__fe_nomask_env): Likewise.
8762 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8763 __fegetround instead of fegetround.
8764 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8765 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8767 2013-11-21 Roland McGrath <roland@hack.frob.com>
8769 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8772 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8774 2013-11-21 Meador Inge <meadori@codesourcery.com>
8777 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8778 (encrypt_r): Likewise.
8779 * malloc/obstack.h (obstack_free): Likewise.
8780 * posix/unistd.h (encrypt): Likewise.
8782 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8784 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8785 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8786 DL_CALL_DT_FINI() that call the functions directly.
8787 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8788 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8789 * elf/dl-fini.c: Likewise.
8791 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
8793 * malloc/hooks.c (memalign_check): Add alignment rounding.
8794 * malloc/malloc.c (_mid_memalign): New function.
8795 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8796 Implement by calling _mid_memalign.
8797 * manual/probes.texi (Memory Allocation Probes): Remove
8798 memory_valloc_retry and memory_pvalloc_retry.
8800 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8802 * locale/programs/locarchive.c (open_archive): Add const
8803 qualifier to ARCHIVEFNAME and copy default fname to
8807 * libio/tst-widetext.input: Rename Oriya to Odia.
8808 * locale/iso-639.def: Likewise.
8810 * manual/probes.texi (Mathematical Function Probes): Add
8811 documentation for sin, cos, asin and acos probes.
8812 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8813 (__sin32): Add slowasin probe.
8814 (__cos32): Add slowacos probe.
8815 (__mpsin): Add slowsin probe.
8816 (__mpcos): Add slowcos probe.
8818 2013-11-19 Joseph Myers <joseph@codesourcery.com>
8821 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8822 thread-local __sim_exceptions_thread and global
8823 __sim_exceptions_global.
8824 (__sim_disabled_exceptions): Change to thread-local
8825 __sim_disabled_exceptions_thread and global
8826 __sim_disabled_exceptions_global.
8827 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8828 and global __sim_round_mode_global.
8829 (__simulate_exceptions): Use thread-local floating-point state and
8830 set global state from it as needed.
8831 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8832 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8833 __sim_round_mode_thread.
8834 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8835 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8836 and global __sim_exceptions_global.
8837 (__sim_disabled_exceptions): Change to thread-local
8838 __sim_disabled_exceptions_thread and global
8839 __sim_disabled_exceptions_global.
8840 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8841 and global __sim_round_mode_global.
8842 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8843 (SIM_SET_GLOBAL): Likewise.
8844 * sysdeps/powerpc/soft-fp/sfp-machine.h
8845 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8846 __sim_round_mode_thread.
8847 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8848 __sim_disabled_exceptions_thread.
8849 (__sim_exceptions): Change to __sim_exceptions_thread.
8850 (__sim_disabled_exceptions): Change to
8851 __sim_disabled_exceptions_thread.
8852 (__sim_round_mode): Change to __sim_round_mode_thread.
8853 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8854 thread-local floating-point state and set global state from it as
8856 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8857 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8858 (__sim_disabled_exceptions): Remove extern declaration.
8859 (feenableexcept): Use thread-local floating-point state and set
8860 global state from it as needed.
8861 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8863 (__sim_disabled_exceptions): Likewise.
8864 (__sim_round_mode): Likewise.
8865 (__fegetenv): Use thread-local floating-point state.
8866 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8867 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8868 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8869 floating-point state and set global state from it as needed.
8870 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8871 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8872 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8874 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8875 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8877 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8878 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8879 Use __sim_round_mode_thread.
8880 * math/test-fenv-tls.c: New file.
8881 * math/Makefile (tests): Add test-fenv-tls.
8882 ($(objpfx)test-fenv-tls): Depend on
8883 $(common-objpfx)nptl/libpthread.so.
8885 2013-11-19 Andreas Schwab <schwab@suse.de>
8887 * locale/programs/locale.c (show_info): Decode wordarray elements.
8888 * locale/categories.def (LC_MONETARY): Add element for
8889 _NL_MONETARY_CRNCYSTR.
8890 * locale/C-monetary.c (conversion_rate): New variable.
8891 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8894 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8896 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8897 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8899 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8901 * elf/Makefile (tst-auxv): New test.
8902 * elf/tst-auxv.c: New
8903 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8905 2013-11-18 Joseph Myers <joseph@codesourcery.com>
8907 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8908 (hidden_proto): Caller changed.
8909 (hidden_tls_proto): New macro.
8910 (libc_hidden_tls_proto): Likewise.
8911 (rtld_hidden_tls_proto): Likewise.
8912 (libm_hidden_tls_proto): Likewise.
8913 (libresolv_hidden_tls_proto): Likewise.
8914 (librt_hidden_tls_proto): Likewise.
8915 (libdl_hidden_tls_proto): Likewise.
8916 (libnss_files_hidden_tls_proto): Likewise.
8917 (libnsl_hidden_tls_proto): Likewise.
8918 (libnss_nisplus_hidden_tls_proto): Likewise.
8919 (libutil_hidden_tls_proto): Likewise.
8921 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8924 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8925 (decompose_rpath): Defer expansion to fillin_rpath.
8926 (_dl_init_paths): Pass linkmap to fillin_rpath.
8928 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8930 * benchtests/Makefile: Add strsep.
8931 * benchtests/bench-strsep.c: New file: strsep benchtest.
8932 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8934 2013-11-18 Andreas Schwab <schwab@suse.de>
8936 * locale/programs/locale.c (show_info) [case byte]: Check for
8937 '\377' instead of '\177'.
8938 * locale/C-monetary.c (not_available): Always use "\377".
8939 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8940 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8941 detect unavailable sign_posn locale elements.
8942 * locale/localeconv.c (__localeconv): For grouping and
8943 mon_grouping handle "\177" and "\377" like no grouping.
8944 (INT_ELEM): New macro. Use it to set all numeric members.
8945 * locale/programs/ld-monetary.c (monetary_read)
8946 <tok_mon_grouping>: Normalize single -1 to the empty string.
8947 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8950 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8953 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8954 when we match (nil).
8955 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8957 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8959 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8960 (NO_TEST_INLINE): Update value.
8961 (ERRNO_UNCHANGED): Likewise.
8962 (ERRNO_EDOM): Likewise.
8963 (ERRNO_ERANGE): Likewise.
8964 (IGNORE_RESULT): Likewise.
8965 (check_float_internal): Check signs of NaN results if
8967 (check_complex): Pass TEST_NAN_SIGN flag through to second
8968 check_float_internal call.
8969 (copysign_test_data): Add tests with quiet NaNs as second
8970 argument. Use TEST_NAN_SIGN.
8971 (fabs_test_data): Add test of negative quiet NaN argument. Use
8973 (signbit_test_data): Add tests of quiet NaN argument.
8974 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8976 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8978 (parse_args): Handle function results specified as IGNORE.
8979 * math/libm-test.inc (IGNORE_RESULT): New macro.
8980 (check_float_internal): Do not check numerical result if flag
8982 (check_complex): Pass through IGNORE_RESULT to second
8983 check_float_internal call.
8984 (check_int): Do not check numerical result if flag IGNORE_RESULT
8986 (check_long): Likewise.
8987 (check_bool): Likewise.
8988 (check_longlong): Likewise.
8989 (lrint_test_data): Add tests of infinite and NaN arguments.
8990 (lrint_tonearest_test_data): Likewise.
8991 (lrint_towardzero_test_data): Likewise.
8992 (lrint_downward_test_data): Likewise.
8993 (lrint_upward_test_data): Likewise.
8994 (llrint_test_data): Likewise.
8995 (llrint_tonearest_test_data): Likewise.
8996 (llrint_towardzero_test_data): Likewise.
8997 (llrint_downward_test_data): Likewise.
8998 (llrint_upward_test_data): Likewise.
8999 (lround_test_data): Likewise.
9000 (llround_test_data): Likewise.
9002 * math/libm-test.inc (NO_TEST_INLINE): New macro.
9003 (ERRNO_UNCHANGED): Update value.
9004 (ERRNO_EDOM): Likewise.
9005 (ERRNO_ERANGE): Likewise.
9006 (NO_TEST_INLINE_FLOAT): New macro.
9007 (NO_TEST_INLINE_DOUBLE): Likewise.
9008 (enable_test): New function.
9009 (RUN_TEST_f_f): Check enable_test before running test.
9010 (RUN_TEST_2_f): Likewise.
9011 (RUN_TEST_fff_f): Likewise.
9012 (RUN_TEST_c_f): Likewise.
9013 (RUN_TEST_f_f1): Likewise.
9014 (RUN_TEST_fF_f1): Likewise.
9015 (RUN_TEST_fI_f1): Likewise.
9016 (RUN_TEST_ffI_f1): Likewise.
9017 (RUN_TEST_c_c): Likewise.
9018 (RUN_TEST_cc_c): Likewise.
9019 (RUN_TEST_f_i): Likewise.
9020 (RUN_TEST_f_i_tg): Likewise.
9021 (RUN_TEST_ff_i_tg): Likewise.
9022 (RUN_TEST_f_b): Likewise.
9023 (RUN_TEST_f_b_tg): Likewise.
9024 (RUN_TEST_f_l): Likewise.
9025 (RUN_TEST_f_L): Likewise.
9026 (RUN_TEST_fFF_11): Likewise.
9027 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9029 (cosh_test_data): Likewise.
9030 (exp_test_data): Likewise.
9031 (expm1_test_data): Likewise.
9032 (hypot_test_data): Likewise.
9033 (pow_test_data): Likewise.
9034 (sinh_test_data): Likewise.
9035 (tanh_test_data): Likewise.
9036 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9039 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9040 tests with quiet NaN input and output.
9041 (acosh_test_data): Likewise.
9042 (asin_test_data): Likewise.
9043 (asinh_test_data): Likewise.
9044 (atan_test_data): Likewise.
9045 (atanh_test_data): Likewise.
9046 (atan2_test_data): Likewise.
9047 (cbrt_test_data): Likewise.
9048 (cos_test_data): Likewise.
9049 (cosh_test_data): Likewise.
9050 (erf_test_data): Likewise.
9051 (erfc_test_data): Likewise.
9052 (exp_test_data): Likewise.
9053 (exp10_test_data): Likewise.
9054 (exp2_test_data): Likewise.
9055 (expm1_test_data): Likewise.
9056 (hypot_test_data): Likewise.
9057 (j0_test_data): Likewise.
9058 (j1_test_data): Likewise.
9059 (jn_test_data): Likewise.
9060 (lgamma_test_data): Likewise.
9061 (log_test_data): Likewise.
9062 (log10_test_data): Likewise.
9063 (log1p_test_data): Likewise.
9064 (log2_test_data): Likewise.
9065 (pow_test_data): Likewise.
9066 (scalb_test_data): Likewise.
9067 (sin_test_data): Likewise.
9068 (sincos_test_data): Likewise.
9069 (sinh_test_data): Likewise.
9070 (tan_test_data): Likewise.
9071 (tanh_test_data): Likewise.
9072 (tgamma_test_data): Likewise.
9073 (y0_test_data): Likewise.
9074 (y1_test_data): Likewise.
9075 (yn_test_data): Likewise.
9078 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9079 argument being NaN and avoid computations with second argument in
9081 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9082 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9083 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9085 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
9087 * locale/iso-639.def: Add Chitwani Tharu (the).
9089 2013-11-14 Andreas Schwab <schwab@suse.de>
9091 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9092 word instead of empty string.
9094 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9097 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9099 (__fe_nomask_env): Likewise.
9101 2013-11-13 Steve Ellcey <sellcey@mips.com>
9103 * benchtests/bench-timing.h: Include time.h.
9105 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
9108 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9110 * sysdeps/unix/sysv/linux/configure: Regenerated.
9112 2013-11-13 Joseph Myers <joseph@codesourcery.com>
9115 * stdlib/strtod_l.c (round_and_return): Do not consider
9116 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9117 exponent one less than half the least subnormal exponent.
9118 * stdlib/test-strtod-round-data: Add more tests.
9119 * stdlib/tst-strtod-round.c (tests): Regenerated.
9121 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9124 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9125 (__fe_mask_env): Likewise.
9126 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9127 libm_hidden_proto and add function prototype.
9128 (__fe_mask_env): Add function prototype.
9129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9130 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9132 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9134 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9136 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9138 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
9139 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9141 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9143 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9144 of htab_find_slot().
9146 2013-11-11 David S. Miller <davem@davemloft.net>
9149 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9150 symbol in the non-vis3 case in static builds.
9151 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9152 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9153 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9154 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9156 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9159 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9162 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9164 * benchtests/Makefile: Add bench-strtod.
9165 * benchtests/bench-strtod.c: New file: strtod benchtest
9167 2013-11-11 Andreas Schwab <schwab@suse.de>
9170 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9171 terminating NUL in key length.
9173 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9175 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9176 Add artificial ODP entry for vDSO symbol for PPC64.
9177 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9178 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9180 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
9183 * nss/getent.c (services_keys): Recognize services starting with digit.
9185 2013-11-06 David S. Miller <davem@davemloft.net>
9188 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9189 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9191 2013-11-06 Will Newton <will.newton@linaro.org>
9193 * manual/memory.texi (Malloc Examples): Remove register
9194 keyword from examples.
9196 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
9198 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
9200 2013-11-04 Joseph Myers <joseph@codesourcery.com>
9203 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9204 depending on [__GCC_IEC_559 > 0].
9205 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9206 depending on [__GCC_IEC_559_COMPLEX > 0].
9208 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
9210 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9213 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
9215 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9217 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
9220 * malloc/malloc (malloc_info): Do not handle first bin as
9223 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
9225 * locale/iso-639.def: Add Central Nahuatl (nhn).
9227 2013-11-01 Bruno Haible <bruno@clisp.org>
9230 * manual/math.texi (BSD Random): Specify range upper bound as
9233 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
9235 * locale/iso-639.def: Add Meadow Mari (mhr).
9237 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
9239 [BZ #14752], [BZ #15763]
9240 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9242 * rt/tst_shm.c: Add test for escaping directory.
9244 2013-10-31 Andreas Schwab <schwab@suse.de>
9247 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
9248 followed by 'x' as part of digit sequence.
9249 * stdio-common/tst-sscanf.c (double_tests2): New tests.
9251 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
9254 * configure.ac: allow GNU Make 4.0 and greater.
9255 * configure: Regenerated.
9257 2013-10-30 Will Newton <will.newton@linaro.org>
9260 * malloc/hooks.c (memalign_check): Limit alignment to the
9261 maximum representable power of two.
9262 * malloc/malloc.c (__libc_memalign): Likewise.
9263 * malloc/tst-memalign.c (do_test): Add test for very
9264 large alignment values.
9265 * malloc/tst-posix_memalign.c (do_test): Likewise.
9267 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
9270 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
9271 (munmap_chunk): Likewise.
9272 (mremap_chunk): Likewise.
9274 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
9277 * stdlib/div.c (div): Remove obsolete code.
9278 * stdlib/ldiv.c (ldiv): Likewise.
9279 * stdlib/lldiv.c (lldiv): Likewise.
9281 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9284 * nss/nss_files/files-XXX.c (get_contents_ret): New
9286 (get_contents): New function.
9287 (internal_getent): Use it. Expand size of LINEBUFLEN.
9289 2013-10-30 Mike Frysinger <vapier@gentoo.org>
9291 * configure.in: Moved to ...
9292 * configure.ac: ... here. Change reference to configure.in
9294 * sysdeps/arm/preconfigure.ac: ... here.
9295 configure.in to configure.ac.
9296 * sysdeps/gnu/configure.in: Moved to ...
9297 * sysdeps/gnu/configure.ac: ... here.
9298 * sysdeps/i386/configure.in: Moved to ...
9299 * sysdeps/i386/configure.ac: ... here.
9300 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
9301 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
9302 * sysdeps/mach/configure.in: Moved to ...
9303 * sysdeps/mach/configure.ac: ... here.
9304 * sysdeps/mach/hurd/configure.in: Moved to ...
9305 * sysdeps/mach/hurd/configure.ac: ... here.
9306 * sysdeps/powerpc/configure.in: Moved to ...
9307 * sysdeps/powerpc/configure.ac: ... here.
9308 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
9309 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
9310 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
9311 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
9312 * sysdeps/s390/s390-32/configure.in: Moved to ...
9313 * sysdeps/s390/s390-32/configure.ac: ... here.
9314 * sysdeps/s390/s390-64/configure.in: Moved to ...
9315 * sysdeps/s390/s390-64/configure.ac: ... here.
9316 * sysdeps/sh/configure.in: Moved to ...
9317 * sysdeps/sh/configure.ac: ... here.
9318 * sysdeps/sparc/configure.in: Moved to ...
9319 * sysdeps/sparc/configure.ac: ... here.
9320 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
9321 * sysdeps/unix/sysv/linux/configure.ac: ... here.
9322 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
9323 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
9324 * sysdeps/x86_64/configure.in: Moved to ...
9325 * sysdeps/x86_64/configure.ac: ... here.
9326 * sysdeps/x86_64/preconfigure.in: Moved to ...
9327 * sysdeps/x86_64/preconfigure.ac: ... here.
9328 * aclocal.m4: Change reference to configure.in to configure.ac.
9329 * config.h.in: Likewise.
9330 * manual/install.texi: Likewise.
9331 * manual/maint.texi: Likewise.
9332 * Makefile: Likewise.
9333 * malloc/Makefile: Likewise.
9334 * nscd/Makefile: Likewise.
9335 * Makeconfig: Change reference to configure.in and
9336 preconfigure.in to configure.ac and preconfigure.ac
9338 * INSTALL: Regenerated.
9339 * configure: Likewise.
9340 * sysdeps/gnu/configure: Likewise.
9341 * sysdeps/i386/configure: Likewise.
9342 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
9343 * sysdeps/mach/configure: Likewise.
9344 * sysdeps/mach/hurd/configure: Likewise.
9345 * sysdeps/powerpc/configure: Likewise.
9346 * sysdeps/powerpc/powerpc32/configure: Likewise.
9347 * sysdeps/powerpc/powerpc64/configure: Likewise.
9348 * sysdeps/s390/s390-32/configure: Likewise.
9349 * sysdeps/s390/s390-64/configure: Likewise.
9350 * sysdeps/sh/configure: Likewise.
9351 * sysdeps/sparc/configure: Likewise.
9352 * sysdeps/unix/sysv/linux/configure: Likewise.
9353 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
9354 * sysdeps/x86_64/configure: Likewise.
9355 * sysdeps/x86_64/preconfigure: Likewise.
9357 2013-10-29 Andreas Schwab <schwab@suse.de>
9359 * stdio-common/Makefile (tst-swscanf-ENV): Define.
9361 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9363 * benchtests/pow-inputs: Add new inputs.
9365 * benchtests/exp-inputs: Add new inputs.
9367 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
9368 conditional check for return value.
9369 (__cos32): Likewise.
9371 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9373 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9374 to provide a boost for large inputs with word alignment.
9375 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9376 implementation based on optimized PPC64 strcpy.
9377 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9378 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9379 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9380 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9382 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9385 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9387 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9390 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
9391 * time/tst-strptime.c (day_tests): Add testcase.
9393 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
9396 * manual/pattern.texi: Acknowledge that fnmatch can fail.
9398 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
9401 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
9402 MAP_FAILED on error.
9404 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9407 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
9408 heap for large requests.
9410 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
9413 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
9414 result if the result has no associated interface.
9415 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
9416 interface for all 127.X.Y.Z addresses.
9418 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
9420 * locale/iso-639.def: Add Ligurian (lij)
9422 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
9425 * sunrpc/rpc_main.c: Document rpcgen -5.
9427 2013-10-19 Michael Stahl <mstahl@redhat.com>
9429 * elf/rtld.c (do_preload): Print the reason why preloading failed.
9431 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
9434 * posix/glob.c: Match only directories when trailing slash is present.
9435 * posix/tst-gnuglob.c (my_opendir): Do not open files.
9436 (main): Add testcase.
9438 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
9441 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
9443 2013-10-18 Carlos O'Donell <carlos@redhat.com>
9445 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
9446 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
9447 AUTH_DES and cindex for FIPS 140-2.
9448 (DES Encryption): Add cindex FIPS 46-3.
9450 * locale/locarchive.h (struct locarhandle): Add fname.
9451 * locale/programs/localedef.c (main): Pass ARGV[remaining]
9452 if an optional argument was specified to --list-archive,
9454 * locale/programs/locarchive.c (show_archive_content): Take new
9455 argument fname and pass it via ah.fname to open_archive.
9456 * locale/programs/localedef.h: Update decl.
9457 (open_archive): If AH->fname is non-null, open that file
9458 rather than the default file name, and don't ignore ENOENT.
9459 (create_archive): Set AH.fname to NULL.
9460 (delete_locales_from_archive): Likewise.
9461 (add_locales_to_archive): Likewise.
9462 * locale/programs/locfile.c (write_all_categories): Likewise.
9464 2013-10-18 Joseph Myers <joseph@codesourcery.com>
9465 Aldy Hernandez <aldyh@redhat.com>
9467 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9468 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9469 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9470 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9471 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9472 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9473 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9474 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9475 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9476 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9477 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9478 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9479 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9480 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9481 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9483 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9485 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9487 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9489 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9490 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9492 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9493 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9494 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9495 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9497 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9498 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9499 * sysdeps/powerpc/preconfigure: Likewise.
9500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9502 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
9503 Replace contents of file by #include of <fenv_libc.h>.
9504 * sysdeps/powerpc/soft-fp/sfp-machine.h
9505 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
9507 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
9508 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
9509 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
9510 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
9511 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
9512 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
9513 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
9514 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
9515 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
9516 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
9517 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
9518 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
9519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9520 Allow copysignl PLT reference to be missing.
9522 2013-10-18 Richard Sandiford <richard@codesourcery.com>
9523 Joseph Myers <joseph@codesourcery.com
9526 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
9528 (add_to_tablewc): Assert sequence of wide characters is nonempty.
9530 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9532 * elf/tst-tls-dlinfo.c: Don't include tls.h.
9533 * elf/tst-tls1.c: Likewise.
9534 * elf/tst-tls10.h: Likewise.
9535 * elf/tst-tls14.c: Likewise.
9536 * elf/tst-tls2.c: Likewise.
9537 * elf/tst-tls3.c: Likewise.
9538 * elf/tst-tls4.c: Likewise.
9539 * elf/tst-tls5.c: Likewise.
9540 * elf/tst-tls6.c: Likewise.
9541 * elf/tst-tls7.c: Likewise.
9542 * elf/tst-tls8.c: Likewise.
9543 * elf/tst-tls9.c: Likewise.
9544 * elf/tst-tlsmod1.c: Likewise.
9545 * elf/tst-tlsmod13.c: Likewise.
9546 * elf/tst-tlsmod13a.c: Likewise.
9547 * elf/tst-tlsmod14a.c: Likewise.
9548 * elf/tst-tlsmod16a.c: Likewise.
9549 * elf/tst-tlsmod16b.c: Likewise.
9550 * elf/tst-tlsmod2.c: Likewise.
9551 * elf/tst-tlsmod3.c: Likewise.
9552 * elf/tst-tlsmod4.c: Likewise.
9553 * elf/tst-tlsmod5.c: Likewise.
9554 * elf/tst-tlsmod6.c: Likewise.
9556 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
9559 * malloc/malloc.c: remove checks for statistics.
9561 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
9564 * inet/inet_net.c (inet_network): Detect additional invalid strings.
9565 * inet/tst-network.c: Add testcase.
9567 2013-10-17 Andreas Schwab <schwab@suse.de>
9570 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
9571 to determine canonical name.
9573 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
9575 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
9576 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
9577 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9578 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9579 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9580 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9581 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9582 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9583 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9584 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9585 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9586 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9587 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9588 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9589 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9590 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9591 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9592 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9593 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9594 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9595 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9596 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9597 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9598 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
9599 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
9600 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9601 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9602 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
9603 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9604 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
9605 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9606 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9607 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9608 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9609 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9610 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9611 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9612 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9613 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9614 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9615 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9616 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9617 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9618 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9619 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9620 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9621 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9622 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9623 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9624 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9625 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9626 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9627 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9628 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9629 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9630 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9631 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9632 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9634 2013-10-17 Joseph Myers <joseph@codesourcery.com>
9637 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9638 make result into a quiet NaN.
9640 2013-10-16 Joseph Myers <joseph@codesourcery.com>
9642 * soft-fp/adddf3.c: Fix horizontal whitespace.
9643 * soft-fp/addsf3.c: Likewise.
9644 * soft-fp/addtf3.c: Likewise.
9645 * soft-fp/divdf3.c: Likewise.
9646 * soft-fp/divsf3.c: Likewise.
9647 * soft-fp/divtf3.c: Likewise.
9648 * soft-fp/double.h: Likewise.
9649 * soft-fp/eqdf2.c: Likewise.
9650 * soft-fp/eqsf2.c: Likewise.
9651 * soft-fp/eqtf2.c: Likewise.
9652 * soft-fp/extenddftf2.c: Likewise.
9653 * soft-fp/extended.h: Likewise.
9654 * soft-fp/extendsfdf2.c: Likewise.
9655 * soft-fp/extendsftf2.c: Likewise.
9656 * soft-fp/extendxftf2.c: Likewise.
9657 * soft-fp/fixdfdi.c: Likewise.
9658 * soft-fp/fixdfsi.c: Likewise.
9659 * soft-fp/fixdfti.c: Likewise.
9660 * soft-fp/fixsfdi.c: Likewise.
9661 * soft-fp/fixsfsi.c: Likewise.
9662 * soft-fp/fixsfti.c: Likewise.
9663 * soft-fp/fixtfdi.c: Likewise.
9664 * soft-fp/fixtfsi.c: Likewise.
9665 * soft-fp/fixtfti.c: Likewise.
9666 * soft-fp/fixunsdfdi.c: Likewise.
9667 * soft-fp/fixunsdfsi.c: Likewise.
9668 * soft-fp/fixunsdfti.c: Likewise.
9669 * soft-fp/fixunssfdi.c: Likewise.
9670 * soft-fp/fixunssfsi.c: Likewise.
9671 * soft-fp/fixunssfti.c: Likewise.
9672 * soft-fp/fixunstfdi.c: Likewise.
9673 * soft-fp/fixunstfsi.c: Likewise.
9674 * soft-fp/fixunstfti.c: Likewise.
9675 * soft-fp/floatdidf.c: Likewise.
9676 * soft-fp/floatdisf.c: Likewise.
9677 * soft-fp/floatditf.c: Likewise.
9678 * soft-fp/floatsidf.c: Likewise.
9679 * soft-fp/floatsisf.c: Likewise.
9680 * soft-fp/floatsitf.c: Likewise.
9681 * soft-fp/floattidf.c: Likewise.
9682 * soft-fp/floattisf.c: Likewise.
9683 * soft-fp/floattitf.c: Likewise.
9684 * soft-fp/floatundidf.c: Likewise.
9685 * soft-fp/floatundisf.c: Likewise.
9686 * soft-fp/floatunditf.c: Likewise.
9687 * soft-fp/floatunsidf.c: Likewise.
9688 * soft-fp/floatunsisf.c: Likewise.
9689 * soft-fp/floatunsitf.c: Likewise.
9690 * soft-fp/floatuntidf.c: Likewise.
9691 * soft-fp/floatuntisf.c: Likewise.
9692 * soft-fp/floatuntitf.c: Likewise.
9693 * soft-fp/fmadf4.c: Likewise.
9694 * soft-fp/fmasf4.c: Likewise.
9695 * soft-fp/fmatf4.c: Likewise.
9696 * soft-fp/gedf2.c: Likewise.
9697 * soft-fp/gesf2.c: Likewise.
9698 * soft-fp/getf2.c: Likewise.
9699 * soft-fp/ledf2.c: Likewise.
9700 * soft-fp/lesf2.c: Likewise.
9701 * soft-fp/letf2.c: Likewise.
9702 * soft-fp/muldf3.c: Likewise.
9703 * soft-fp/mulsf3.c: Likewise.
9704 * soft-fp/multf3.c: Likewise.
9705 * soft-fp/negdf2.c: Likewise.
9706 * soft-fp/negsf2.c: Likewise.
9707 * soft-fp/negtf2.c: Likewise.
9708 * soft-fp/op-1.h: Likewise.
9709 * soft-fp/op-2.h: Likewise.
9710 * soft-fp/op-4.h: Likewise.
9711 * soft-fp/op-8.h: Likewise.
9712 * soft-fp/op-common.h: Likewise.
9713 * soft-fp/quad.h: Likewise.
9714 * soft-fp/single.h: Likewise.
9715 * soft-fp/soft-fp.h: Likewise.
9716 * soft-fp/sqrtdf2.c: Likewise.
9717 * soft-fp/sqrtsf2.c: Likewise.
9718 * soft-fp/sqrttf2.c: Likewise.
9719 * soft-fp/subdf3.c: Likewise.
9720 * soft-fp/subsf3.c: Likewise.
9721 * soft-fp/subtf3.c: Likewise.
9722 * soft-fp/truncdfsf2.c: Likewise.
9723 * soft-fp/trunctfdf2.c: Likewise.
9724 * soft-fp/trunctfsf2.c: Likewise.
9725 * soft-fp/trunctfxf2.c: Likewise.
9726 * soft-fp/unorddf2.c: Likewise.
9727 * soft-fp/unordsf2.c: Likewise.
9728 * soft-fp/unordtf2.c: Likewise.
9730 2013-10-15 Joseph Myers <joseph@codesourcery.com>
9732 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9733 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9735 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
9737 * elf/dl-libc.c: Clear initfini list after freeing.
9739 2013-10-14 Joseph Myers <joseph@codesourcery.com>
9741 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9742 * soft-fp/addsf3.c: Likewise.
9743 * soft-fp/addtf3.c: Likewise.
9744 * soft-fp/divdf3.c: Likewise.
9745 * soft-fp/divsf3.c: Likewise.
9746 * soft-fp/divtf3.c: Likewise.
9747 * soft-fp/double.h: Likewise.
9748 * soft-fp/eqdf2.c: Likewise.
9749 * soft-fp/eqsf2.c: Likewise.
9750 * soft-fp/eqtf2.c: Likewise.
9751 * soft-fp/extenddftf2.c: Likewise.
9752 * soft-fp/extended.h: Likewise.
9753 * soft-fp/extendsfdf2.c: Likewise.
9754 * soft-fp/extendsftf2.c: Likewise.
9755 * soft-fp/extendxftf2.c: Likewise.
9756 * soft-fp/fixdfdi.c: Likewise.
9757 * soft-fp/fixdfsi.c: Likewise.
9758 * soft-fp/fixdfti.c: Likewise.
9759 * soft-fp/fixsfdi.c: Likewise.
9760 * soft-fp/fixsfsi.c: Likewise.
9761 * soft-fp/fixsfti.c: Likewise.
9762 * soft-fp/fixtfdi.c: Likewise.
9763 * soft-fp/fixtfsi.c: Likewise.
9764 * soft-fp/fixtfti.c: Likewise.
9765 * soft-fp/fixunsdfdi.c: Likewise.
9766 * soft-fp/fixunsdfsi.c: Likewise.
9767 * soft-fp/fixunsdfti.c: Likewise.
9768 * soft-fp/fixunssfdi.c: Likewise.
9769 * soft-fp/fixunssfsi.c: Likewise.
9770 * soft-fp/fixunssfti.c: Likewise.
9771 * soft-fp/fixunstfdi.c: Likewise.
9772 * soft-fp/fixunstfsi.c: Likewise.
9773 * soft-fp/fixunstfti.c: Likewise.
9774 * soft-fp/floatdidf.c: Likewise.
9775 * soft-fp/floatdisf.c: Likewise.
9776 * soft-fp/floatditf.c: Likewise.
9777 * soft-fp/floatsidf.c: Likewise.
9778 * soft-fp/floatsisf.c: Likewise.
9779 * soft-fp/floatsitf.c: Likewise.
9780 * soft-fp/floattidf.c: Likewise.
9781 * soft-fp/floattisf.c: Likewise.
9782 * soft-fp/floattitf.c: Likewise.
9783 * soft-fp/floatundidf.c: Likewise.
9784 * soft-fp/floatundisf.c: Likewise.
9785 * soft-fp/floatunsidf.c: Likewise.
9786 * soft-fp/floatunsisf.c: Likewise.
9787 * soft-fp/floatuntidf.c: Likewise.
9788 * soft-fp/floatuntisf.c: Likewise.
9789 * soft-fp/floatuntitf.c: Likewise.
9790 * soft-fp/fmadf4.c: Likewise.
9791 * soft-fp/fmasf4.c: Likewise.
9792 * soft-fp/fmatf4.c: Likewise.
9793 * soft-fp/gedf2.c: Likewise.
9794 * soft-fp/gesf2.c: Likewise.
9795 * soft-fp/getf2.c: Likewise.
9796 * soft-fp/ledf2.c: Likewise.
9797 * soft-fp/lesf2.c: Likewise.
9798 * soft-fp/letf2.c: Likewise.
9799 * soft-fp/muldf3.c: Likewise.
9800 * soft-fp/mulsf3.c: Likewise.
9801 * soft-fp/multf3.c: Likewise.
9802 * soft-fp/negdf2.c: Likewise.
9803 * soft-fp/negsf2.c: Likewise.
9804 * soft-fp/negtf2.c: Likewise.
9805 * soft-fp/op-1.h: Likewise.
9806 * soft-fp/op-2.h: Likewise.
9807 * soft-fp/op-4.h: Likewise.
9808 * soft-fp/op-8.h: Likewise.
9809 * soft-fp/op-common.h: Likewise.
9810 * soft-fp/quad.h: Likewise.
9811 * soft-fp/single.h: Likewise.
9812 * soft-fp/soft-fp.h: Likewise.
9813 * soft-fp/sqrtdf2.c: Likewise.
9814 * soft-fp/sqrtsf2.c: Likewise.
9815 * soft-fp/sqrttf2.c: Likewise.
9816 * soft-fp/subdf3.c: Likewise.
9817 * soft-fp/subsf3.c: Likewise.
9818 * soft-fp/subtf3.c: Likewise.
9819 * soft-fp/truncdfsf2.c: Likewise.
9820 * soft-fp/trunctfdf2.c: Likewise.
9821 * soft-fp/trunctfsf2.c: Likewise.
9822 * soft-fp/trunctfxf2.c: Likewise.
9823 * soft-fp/unorddf2.c: Likewise.
9824 * soft-fp/unordsf2.c: Likewise.
9825 * soft-fp/unordtf2.c: Likewise.
9827 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
9830 * misc/error.c (error_tail): Fix possible buffer overflow.
9832 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9835 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9838 2013-10-14 P. J. McDermott <pj@pehjota.net>
9841 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9842 testing pipefail option.
9844 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9846 * soft-fp/double.h: Indent preprocessor directives inside #if.
9847 * soft-fp/extended.h: Likewise.
9848 * soft-fp/op-2.h: Likewise.
9849 * soft-fp/op-4.h: Likewise.
9850 * soft-fp/op-common.h: Likewise.
9851 * soft-fp/quad.h: Likewise.
9852 * soft-fp/single.h: Likewise.
9853 * soft-fp/soft-fp.h: Likewise.
9855 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9857 * iconv/iconv_prog.c: Fix typos.
9858 * stdio-common/psiginfo-data.h: Likewise.
9860 2013-10-12 Reuben Thomas <rrt@sc3d.org>
9863 * locale/setlocale.c: Fix typo.
9865 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9868 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9869 signaling NaN arguments.
9870 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9871 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9874 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9876 * soft-fp/gesf2.c (__gesf2): Likewise.
9877 * soft-fp/getf2.c (__getf2): Likewise.
9878 * soft-fp/ledf2.c (__ledf2): Likewise.
9879 * soft-fp/lesf2.c (__lesf2): Likewise.
9880 * soft-fp/letf2.c (__letf2): Likewise.
9882 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9883 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9884 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9885 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9886 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9887 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9888 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9889 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9890 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9891 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9892 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9893 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9894 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9895 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9896 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9897 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9898 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9899 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9900 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9901 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9902 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9903 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9904 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9905 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9906 * soft-fp/floattidf.c (__floattidf): Likewise.
9907 * soft-fp/floattisf.c (__floattisf): Likewise.
9908 * soft-fp/floattitf.c (__floattitf): Likewise.
9909 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9910 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9911 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9912 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9913 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9914 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9915 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9916 * soft-fp/gesf2.c (__gesf2): Likewise.
9917 * soft-fp/getf2.c (__getf2): Likewise.
9918 * soft-fp/ledf2.c (__ledf2): Likewise.
9919 * soft-fp/lesf2.c (__lesf2): Likewise.
9920 * soft-fp/letf2.c (__letf2): Likewise.
9922 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9923 Undefine and redefine.
9924 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9925 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9926 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9927 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9928 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9929 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9930 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9931 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9932 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9933 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9934 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9935 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9936 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9937 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9938 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9941 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9942 without decrementing exponent if mantissa >= that for the
9944 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9945 denominator, not >. Decrement exponent in < case instead of
9946 incrementing in >= case.
9947 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9948 without decrementing exponent if mantissa >= that for the
9951 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9952 computing saturated result for unsigned overflow.
9954 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9955 Jeff Law <law@redhat.com>
9957 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9958 (atan2Mp): Add systemtap probe marker.
9959 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9960 (__ieee754_log): Add systemtap probe marker.
9961 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9962 (atanMp): Add systemtap probe marker.
9963 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9964 (tanMp): Add systemtap probe marker.
9965 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9966 (__slowexp): Add systemtap probe marker.
9967 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9968 (__slowpow): Add systemtap probe marker.
9969 * manual/probes.texi: Document probes.
9971 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9974 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9976 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9978 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9979 written to buffer but not flushed.
9980 * libio/iofwrite_u.c: Likewise.
9981 * libio/iopadn.c: Return bytes returned even if EOF was
9983 * libio/iowpadn.c: Likewise.
9984 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9985 if _IO_padn does not write the whole buffer.
9986 [!COMPILE_WPRINTF] (PAD): Likewise.
9988 2013-10-10 David S. Miller <davem@davemloft.net>
9990 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9993 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9995 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9996 instead of FSF address.
9997 * soft-fp/fixdfti.c: Likewise.
9998 * soft-fp/fixsfti.c: Likewise.
9999 * soft-fp/fixtfti.c: Likewise.
10000 * soft-fp/fixunsdfti.c: Likewise.
10001 * soft-fp/fixunssfti.c: Likewise.
10002 * soft-fp/fixunstfti.c: Likewise.
10003 * soft-fp/floattidf.c: Likewise.
10004 * soft-fp/floattisf.c: Likewise.
10005 * soft-fp/floattitf.c: Likewise.
10006 * soft-fp/floatuntidf.c: Likewise.
10007 * soft-fp/floatuntisf.c: Likewise.
10008 * soft-fp/floatuntitf.c: Likewise.
10009 * soft-fp/trunctfxf2.c: Likewise.
10011 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
10012 * soft-fp/fixdfti.c: Likewise.
10013 * soft-fp/fixsfti.c: Likewise.
10014 * soft-fp/fixtfti.c: Likewise.
10015 * soft-fp/fixunsdfti.c: Likewise.
10016 * soft-fp/fixunssfti.c: Likewise.
10017 * soft-fp/fixunstfti.c: Likewise.
10018 * soft-fp/floattidf.c: Likewise.
10019 * soft-fp/floattisf.c: Likewise.
10020 * soft-fp/floattitf.c: Likewise.
10021 * soft-fp/floatuntidf.c: Likewise.
10022 * soft-fp/floatuntisf.c: Likewise.
10023 * soft-fp/floatuntitf.c: Likewise.
10024 * soft-fp/trunctfxf2.c: Likewise.
10026 2013-10-10 David S. Miller <davem@davemloft.net>
10028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10030 2013-10-10 Joseph Myers <joseph@codsourcery.com>
10032 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10033 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10034 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10035 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10036 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10037 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10038 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10040 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10041 for NaNs before doing comparisons on argument.
10042 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10045 2013-10-10 Will Newton <will.newton@linaro.org>
10047 * malloc/hooks.c (memalign_check): Ensure the value of bytes
10048 passed to _int_memalign does not overflow.
10050 2013-10-10 Torvald Riegel <triegel@redhat.com>
10052 * scripts/bench.pl: Add include-sources directive.
10053 * benchtests/README: Update documentation.
10055 2013-10-10 Joseph Myers <joseph@codesourcery.com>
10057 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10058 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10059 instead of FP_INIT_ROUNDMODE.
10060 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10061 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10064 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
10065 copy class of input value.
10066 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
10067 not handle exceptions.
10068 * soft-fp/negsf2.c (__negsf2): Likewise.
10069 * soft-fp/negtf2.c (__negtf2): Likewise.
10070 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10072 2013-10-09 Joseph Myers <joseph@codesourcery.com>
10074 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10075 semicolon. From Linux kernel.
10077 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
10079 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10081 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
10084 * manual/socket.texi: Added statement about buffer
10085 for gethostbyname2_r.
10087 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
10089 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10090 Use .p2align directive instead, throughout.
10091 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10092 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10093 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10094 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10095 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10096 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10097 * sysdeps/x86_64/strchr.S: Likewise.
10098 * sysdeps/x86_64/strrchr.S: Likewise.
10100 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10102 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10104 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10106 * sysdeps/generic/math_private.h (__mpsin1): Remove
10108 (__mpcos1): Likewise.
10109 (__mpsin): New argument __range_reduce.
10110 (__mpcos): Likewise.
10111 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10112 (slow): Use __mpsin and __mpcos.
10116 (sloww1): Likewise.
10117 (sloww2): Likewise.
10118 (bsloww): Likewise.
10119 (bsloww1): Likewise.
10120 (bsloww2): Likewise.
10121 (cslow2): Likewise.
10122 (csloww): Likewise.
10123 (csloww1): Likewise.
10124 (csloww2): Likewise.
10125 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10126 range_reduce. Merge in __mpsin1.
10127 (__mpcos): Likewise.
10128 (__mpsin1): Remove.
10129 (__mpcos1): Likewise.
10131 2013-10-07 Joseph Myers <joseph@codesourcery.com>
10133 * locale/loadlocale.c (_nl_intern_locale_data): Use
10135 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10136 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10137 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10138 obstack data is appropriately aligned.
10139 (obstack_int32_grow_fast): Likewise.
10140 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10141 * locale/programs/locfile.c (add_locale_uint32): Likewise.
10142 (add_locale_uint32_array): Likewise.
10144 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10146 * benchtests/Makefile: Remove ARGLIST and RET variables.
10147 ($(objpfx)bench-%.c): Pass only function name to the script.
10148 * benchtests/README: Update documentation.
10149 * benchtests/acos-inputs: Add new directives.
10150 * benchtests/acosh-inputs: Likewise.
10151 * benchtests/asin-inputs: Likewise.
10152 * benchtests/asinh-inputs: Likewise.
10153 * benchtests/atan-inputs: Likewise.
10154 * benchtests/atanh-inputs: Likewise.
10155 * benchtests/cos-inputs: Likewise.
10156 * benchtests/cosh-inputs: Likewise.
10157 * benchtests/exp-inputs: Likewise.
10158 * benchtests/log-inputs: Likewise.
10159 * benchtests/pow-inputs: Likewise.
10160 * benchtests/rint-inputs: Likewise.
10161 * benchtests/sin-inputs: Likewise.
10162 * benchtests/sinh-inputs: Likewise.
10163 * benchtests/tan-inputs: Likewise.
10164 * benchtests/tanh-inputs: Likewise.
10165 * scripts/bench.pl: Add support for new directives.
10167 2013-10-07 Alan Modra <amodra@gmail.com>
10169 * README: Fix careless merge.
10171 2013-10-05 Alan Modra <amodra@gmail.com>
10173 * NEWS: Mention powerpc64le support and bugs fixed.
10174 * README: Both big-endian and little-endian powerpc64 supported.
10176 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10178 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10179 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
10180 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10181 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10183 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
10185 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10188 2013-10-04 Joseph Myers <joseph@codesourcery.com>
10190 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10191 Move -mhard-float appending from
10192 ports/sysdeps/powerpc/powerpc32/Makefile.
10193 [$(with-fp) = yes] (ASFLAGS): Likewise.
10194 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10195 * sysdeps/powerpc/nofpu: Move directory from
10196 ports/sysdeps/powerpc/nofpu.
10197 * sysdeps/powerpc/soft-fp: Move directory from
10198 ports/sysdeps/powerpc/soft-fp.
10199 * sysdeps/powerpc/powerpc32/405: Move directory from
10200 ports/sysdeps/powerpc/powerpc32/405.
10201 * sysdeps/powerpc/powerpc32/440: Move directory from
10202 ports/sysdeps/powerpc/powerpc32/440.
10203 * sysdeps/powerpc/powerpc32/464: Move directory from
10204 ports/sysdeps/powerpc/powerpc32/464.
10205 * sysdeps/powerpc/powerpc32/476: Move directory from
10206 ports/sysdeps/powerpc/powerpc32/476.
10207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10208 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10210 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10212 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10214 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10216 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10217 * README: Update for powerpc-*-linux-gnu software floating point
10220 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10221 case to powerpc/powerpc32*.
10222 * sysdeps/unix/sysv/linux/configure: Regenerated.
10224 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10225 (_FPU_MASK_OM): Define as 0x04.
10226 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10227 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10229 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10231 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10234 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10237 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10240 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10241 and setcontext_e500.
10243 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
10245 * locale/iso-3166.def: Update iso-1366.def and related occurrences
10247 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10249 * manual/threads.texi (Default Thread Attributes): Fix typo.
10251 2013-10-04 Will Newton <will.newton@linaro.org>
10253 * malloc/Makefile: Add tst-memalign.
10254 * malloc/tst-memalign.c: New file.
10256 * malloc/tst-posix_memalign.c: Add comments.
10257 (do_test): Add comments and call free on all potentially
10258 allocated pointers. Add space after cast.
10260 * malloc/tst-pvalloc.c: Add comments.
10261 (do_test): Add comments and call free on all potentially
10262 allocated pointers. Remove duplicate check for NULL pointer.
10263 Add space after cast.
10265 * malloc/tst-valloc.c: Add comments.
10266 (do_test): Add comments and call free on all potentially
10267 allocated pointers. Remove duplicate check for NULL pointer.
10268 Add space after cast.
10270 2013-10-04 Alan Modra <amodra@gmail.com>
10272 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10273 Use stdint types in rather than __attribute__((mode())).
10274 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10276 2013-10-04 Alan Modra <amodra@gmail.com>
10278 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10279 Correct handling of unaligned relocs for little-endian.
10280 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10282 2013-10-04 Alan Modra <amodra@gmail.com>
10284 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
10285 * configure: Regenerate.
10286 * nptl/shlib-versions: Powerpc*le starts at 2.18.
10287 * shlib-versions: Likewise.
10289 2013-10-04 Alan Modra <amodra@gmail.com>
10291 * string/tester.c (test_memrchr): Increment reported test cycle.
10293 2013-10-04 Alan Modra <amodra@gmail.com>
10295 * string/test-memcpy.c (do_one_test): When reporting errors, print
10296 string address and don't overrun end of string.
10298 2013-10-04 Alan Modra <amodra@gmail.com>
10300 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
10301 insrdi. Make better use of reg selection to speed exit slightly.
10302 Schedule entry path a little better. Remove useless "are we done"
10303 checks on entry to main loop. Handle wrapping around zero address.
10304 Correct main loop count. Handle single left-over word from main
10305 loop inline rather than by using loop_small. Remove extra word
10306 case in loop_small caused by wrong loop count. Add little-endian
10308 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10309 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
10311 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10312 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
10313 support. Avoid rlwimi.
10314 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
10316 2013-10-04 Alan Modra <amodra@gmail.com>
10318 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
10319 insrdi. Formatting.
10320 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
10321 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10322 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10323 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10324 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10325 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
10327 2013-10-04 Alan Modra <amodra@gmail.com>
10329 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
10330 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10331 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10332 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
10333 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10334 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10335 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10336 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10337 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
10338 use of regs. Use power7 mtocrf. Tidy function tails.
10340 2013-10-04 Alan Modra <amodra@gmail.com>
10342 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
10343 Formatting. Consistently use rXXX register defines or rN defines.
10344 Use early exit labels that avoid restoring unused non-volatile regs.
10345 Make cr field use more consistent with rWORDn compares. Rename
10346 regs used as shift registers for unaligned loop, using rN defines
10347 for short lifetime/multiple use regs.
10348 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10349 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
10350 addi 1,1,64 to pop stack frame. Simplify return value code.
10351 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10353 2013-10-04 Alan Modra <amodra@gmail.com>
10355 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
10356 support. Correct typos, formatting. Optimize tail. Use insrdi
10357 rather than rlwimi.
10358 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
10359 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
10360 little-endian support. Correct typos.
10361 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
10362 rather than rlwimi.
10363 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
10364 in loop and entry code to keep "and." results.
10365 (strchr): Add little-endian support. Comment. Move cntlzd
10367 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
10369 2013-10-04 Alan Modra <amodra@gmail.com>
10371 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
10372 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10373 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10374 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10376 2013-10-04 Alan Modra <amodra@gmail.com>
10378 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10379 (rTMP): Define as r11.
10380 (strcmp): Add little-endian support. Optimise tail.
10381 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10382 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10383 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10384 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10385 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10386 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10387 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10389 2013-10-04 Alan Modra <amodra@gmail.com>
10391 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
10392 little-endian support. Remove unnecessary "are we done" tests.
10393 Handle "s" wrapping around zero and extremely large "size".
10394 Correct main loop count. Handle single left-over word from main
10395 loop inline rather than by using small_loop. Correct comments.
10396 Delete "zero" tail, use "end_max" instead.
10397 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
10399 2013-10-04 Alan Modra <amodra@gmail.com>
10401 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
10402 support. Don't branch over align.
10403 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
10404 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
10405 support. Rearrange tmp reg use to suit. Comment.
10406 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
10408 2013-10-04 Alan Modra <amodra@gmail.com>
10410 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
10412 2013-10-04 Alan Modra <amodra@gmail.com>
10414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
10415 conditional form of branch and link when obtaining pc.
10416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10418 2013-10-04 Alan Modra <amodra@gmail.com>
10420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
10423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
10425 2013-10-04 Alan Modra <amodra@gmail.com>
10427 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
10428 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
10429 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10430 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
10431 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10432 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10433 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10434 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10435 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10436 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
10438 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10439 Alistair Popple <alistair@ozlabs.au.ibm.com>
10440 Alan Modra <amodra@gmail.com>
10443 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
10444 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
10445 _dl_hwcap access for little-endian.
10446 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
10447 destroy vmx regs when saving unaligned.
10448 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
10449 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
10450 destroy vmx regs when saving unaligned.
10452 2013-10-04 Alan Modra <amodra@gmail.com>
10454 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
10455 Don't use a union to pack hi/low value.
10457 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10459 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10461 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10462 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10463 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10464 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10465 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10467 2013-10-04 Alan Modra <amodra@gmail.com>
10469 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10470 constants to usual value for .cst8 section, and remove redundant
10472 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10473 constant for 0x1p52. Load little-endian words of double from
10474 correct stack offsets.
10476 2013-10-04 Alan Modra <amodra@gmail.com>
10478 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10479 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10480 words of double from correct stack offsets.
10481 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10482 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10483 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10484 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10485 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10486 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10487 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10488 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10489 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10490 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10491 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10492 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10493 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10494 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10495 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10496 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10497 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10499 2013-10-04 Alan Modra <amodra@gmail.com>
10501 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
10502 64-bit int/double union.
10503 (_FPU_SETCW): Likewise.
10504 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
10505 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
10507 2013-10-04 Alan Modra <amodra@gmail.com>
10509 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
10510 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
10512 2013-10-04 Alan Modra <amodra@gmail.com>
10514 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
10515 use vector int constants.
10516 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
10518 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10520 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
10521 array with long long.
10522 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
10523 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
10524 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
10525 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
10526 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
10527 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
10528 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
10529 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
10530 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
10531 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
10532 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
10533 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
10534 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
10536 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
10538 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
10539 (__signbit): Likewise. Correct for little-endian.
10540 (__signbitl): Call __signbit.
10541 (lrint): Correct for little-endian.
10542 (lrintf): Call lrint.
10544 2013-10-04 Alan Modra <amodra@gmail.com>
10546 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
10547 union 32-bit int array member with 64-bit int array.
10548 (t515, tm256): Double rather than long double.
10549 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10551 2013-10-04 Alan Modra <amodra@gmail.com>
10553 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10555 (IEEE854_LONG_DOUBLE_BIAS): Delete.
10556 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10557 version of math_ldbl.h.
10559 2013-10-04 Alan Modra <amodra@gmail.com>
10561 [BZ #15734], [BZ #15735]
10562 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10563 all uses of ieee875 long double macros and unions. Simplify test
10564 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
10565 ldbl_extract_mantissa value for ix,iy exponents. Properly
10566 normalize after ldbl_extract_mantissa, and don't add hidden bit
10567 already handled. Don't treat low word of ieee854 mantissa like
10568 low word of IBM long double and mask off bit when testing for
10570 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
10571 all uses of ieee875 long double macros and unions. Simplify tests
10572 for 0.0L and inf. Correct double adjustment of k. Delete dead code
10573 adjusting ha,hb. Simplify code setting kld. Delete two600 and
10574 two1022, instead use their values. Recognise that tests for large
10575 "a" and small "b" are mutually exclusive. Rename vars. Comment.
10576 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
10577 Rewrite all uses of ieee875 long double macros and unions. Simplify
10578 test for 0.0L and nan. Correct negation.
10579 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
10580 ieee875 long double macros and unions. Correct output for large
10581 magnitude x. Correct absolute value calculation.
10582 (__erfcl): Likewise.
10583 * math/libm-test.inc: Add tests for errors discovered in IBM long
10584 double versions of fmodl, remainderl, erfl and erfcl.
10586 2013-10-04 Alan Modra <amodra@gmail.com>
10588 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
10589 all uses of ieee854 long double macros and unions. Simplify tests
10590 for long doubles that are fully specified by the high double.
10591 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10593 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
10594 Remove dead code too.
10595 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10596 (__ieee754_ynl): Likewise.
10597 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10598 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
10599 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10600 Remove dead code too.
10601 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10602 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10603 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10604 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
10606 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10608 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10609 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10610 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10611 Comment on variable precision.
10612 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10613 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10615 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10616 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10617 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10618 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10619 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10621 2013-10-04 Alan Modra <amodra@gmail.com>
10623 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10624 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10625 all uses of ieee854 long double macros and unions.
10626 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10627 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10628 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10629 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10630 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10631 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10633 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10634 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10635 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10636 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10637 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10638 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10639 Simplify sign and nan test too.
10640 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10641 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10642 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10643 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10645 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10646 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10648 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10649 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10650 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10651 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10652 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10653 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10655 2013-10-04 Alan Modra <amodra@gmail.com>
10657 * stdio-common/printf_size.c (__printf_size): Don't use
10658 union ieee854_long_double in fpnum union.
10659 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
10660 signbit macro to retrieve sign from long double.
10661 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10662 retrieve sign from long double.
10663 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10664 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10665 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10666 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10667 * math/test-misc.c (main): Don't use union ieee854_long_double.
10669 2013-10-04 Alan Modra <amodra@gmail.com>
10672 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10673 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10674 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10675 calculation. Remove unnecessary test for denormal exponent.
10676 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10677 Correct handling of denormals. Avoid undefined shift behaviour.
10678 Correct normalisation of low mantissa when low double is denormal.
10679 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10680 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10681 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10682 Correct normalisation of low mantissa. Test for overflow of high
10683 mantissa and normalise.
10684 (ldbl_nearbyint): Use more readable constant for two52.
10685 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10686 (__mpn_construct_long_double): Fix test for overflow of high
10687 mantissa and correct normalisation. Avoid undefined shift.
10689 2013-10-04 Alan Modra <amodra@gmail.com>
10691 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10692 (union ibm_extended_long_double): Define as an array of ieee754_double.
10693 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10694 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10695 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10696 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10697 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10698 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10699 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10700 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10701 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10702 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10703 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10705 2013-10-03 Joseph Myers <joseph@codesourcery.com>
10707 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10708 page size instead of calling getpagesize.
10710 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10711 (LOCFILE_ALIGN_MASK): Likewise.
10712 (LOCFILE_ALIGN_UP): Likewise.
10713 (LOCFILE_ALIGNED_P): Likewise.
10714 * locale/programs/ld-collate.c (collate_output): Use the new
10715 macros instead of __alignof__ (int32_t).
10716 * locale/weight.h (findidx): Likewise.
10718 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
10721 * manual/string.texi: Fix strncat and wcsncat.
10723 2013-10-03 Brooks Moses <bmoses@google.com>
10726 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10727 * Makerules: ...here, and adjust associated comments.
10729 2013-10-02 Will Newton <will.newton@linaro.org>
10731 * malloc/Makefile: Add tst-pvalloc.
10732 * malloc/tst-pvalloc.c: New file.
10734 2013-10-02 Will Newton <will.newton@linaro.org>
10736 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10737 improve test coverage.
10739 2013-10-02 Will Newton <will.newton@linaro.org>
10741 * malloc/Makefile: Add tst-posix_memalign.
10742 * malloc/tst-posix_memalign.c: New file.
10744 2013-10-01 Eric Blake <eblake@redhat.com>
10746 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10747 Use __THROWNL rather than __THROW on static functions.
10749 2013-09-30 Petr Machata <pmachata@redhat.com>
10751 * elf/elf.h (R_AARCH64_ABS16): New macro.
10752 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10753 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10754 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10755 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10756 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10757 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10758 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10759 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10760 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10761 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10762 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10763 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10764 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10765 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10766 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10767 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10768 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10769 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10770 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10771 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10772 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10773 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10774 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10775 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10776 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10777 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10778 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10779 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10780 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10781 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10782 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10783 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10784 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10785 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10786 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10787 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10788 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10789 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10790 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10791 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10792 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10793 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10794 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10795 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10796 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10797 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10798 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10799 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10800 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10801 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10802 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10803 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10804 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10805 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10806 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10807 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10808 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10809 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10810 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10811 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10812 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10813 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10814 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10815 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10816 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10817 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10818 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10819 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10820 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10821 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10822 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10823 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10824 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10825 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10826 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10827 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10828 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10829 (R_AARCH64_TLSDESC_LDR): Likewise.
10830 (R_AARCH64_TLSDESC_ADD): Likewise.
10831 (R_AARCH64_TLSDESC_CALL): Likewise.
10833 2013-09-30 Andreas Schwab <schwab@suse.de>
10836 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10837 the nss database lookup.
10838 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10839 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10841 2013-09-28 Mike Frysinger <vapier@gentoo.org>
10843 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10845 2013-09-28 P. J. McDermott <pj@pehjota.net>
10847 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10848 ${Bash-specific parameter/pattern/string} parameter expansion.
10849 * sysdeps/unix/make-syscalls.sh: Likewise.
10851 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10853 * sysdeps/sh/stackguard-macros.h: New file.
10855 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
10857 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10858 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10859 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10860 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10861 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10862 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10864 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10866 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10867 Fix thread ID register.
10869 2013-09-25 Joseph Myers <joseph@codesourcery.com>
10871 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10872 [POSIX || UNIX98]: Require rather than permitting all symbols from
10874 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10875 element of struct sched_param.
10876 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10877 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10878 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10879 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10882 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10884 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10885 argument calculation.
10887 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10889 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10891 [POSIX] (pthread_attr_t): Do not require type.
10892 [POSIX] (pthread_cond_t): Likewise.
10893 [POSIX] (pthread_condattr_t): Likewise.
10894 [POSIX] (pthread_key_t): Likewise.
10895 [POSIX] (pthread_mutex_t): Likewise.
10896 [POSIX] (pthread_mutexattr_t): Likewise.
10897 [POSIX] (pthread_once_t): Likewise.
10898 [POSIX] (pthread_t): Likewise.
10899 [POSIX-based standards] (pthread_atfork): Expect function.
10901 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10902 Richard Sandiford <richard@codesourcery.com>
10904 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10905 (swap_endianness_p): New extern variable.
10906 (set_big_endian): New inline function.
10907 (maybe_swap_uint32): Likewise.
10908 (maybe_swap_uint32_array): Likewise.
10909 (maybe_swap_uint32_obstack): Likewise.
10910 * locale/programs/locfile.c: Include <stdbool.h>.
10911 (swap_endianness_p): New variable.
10912 (add_locale_uint32): Call maybe_swap_uint32.
10913 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10914 (write_locale_data): Call maybe_swap_uint32_array.
10915 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10917 (obstack_int32_grow_fast): Likewise.
10918 (output_weightwc): Call maybe_swap_uint32_obstack.
10919 (collate_output): Likewise.
10920 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10921 (OPT_LITTLE_ENDIAN): Likewise.
10922 (options): Add --little-endian and --big-endian options.
10923 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10924 * locale/programs/locarchive.c: Include "locfile.h".
10928 (create_archive): Use the new macros to access fields of
10929 structures directly mapped from or written to locale archives.
10930 (oldlocrecentcmp): Likewise.
10931 (enlarge_archive): Likewise.
10932 (insert_name): Likewise.
10933 (add_alias): Likewise.
10934 (add_locale): Likewise.
10935 (delete_locales_from_archive): Likewise.
10936 (show_archive_content): Likewise.
10937 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10940 2013-09-24 Roland McGrath <roland@hack.frob.com>
10942 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10943 http://www.gnu.org/doc/freemanuals.texi.
10944 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10946 2013-09-24 Will Newton <will.newton@linaro.org>
10948 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10951 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10953 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10956 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10958 * manual/threads.texi (POSIX Threads): Fix a typo.
10960 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10963 * string/tst-strcoll-overflow.c: New test case.
10964 * string/Makefile (xtests): Add tst-strcoll-overflow.
10965 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10966 cache if string sizes may cause integer overflow.
10969 * string/strcoll_l.c (coll_seq): New members rule, idx,
10970 save_idx and back_us.
10971 (get_next_seq_nocache): New function.
10972 (do_compare_nocache): New function.
10973 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10976 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10979 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10980 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10981 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10984 * elf/Makefile (tests): Add tst-ptrguard1.
10985 (tests-static): Add tst-ptrguard1-static.
10986 (tst-ptrguard1-ARGS): Define.
10987 (tst-ptrguard1-static-ARGS): Define.
10988 * elf/tst-ptrguard1.c: New file.
10989 * elf/tst-ptrguard1-static.c: New file.
10990 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10991 * sysdeps/i386/stackguard-macros.h: Likewise.
10992 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10993 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10994 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10995 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10996 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10997 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10999 2013-09-23 Hector Marco <hecmargi@upv.es>
11000 Ismael Ripoll <iripoll@disca.upv.es>
11001 Carlos O'Donell <carlos@redhat.com>
11004 * sysdeps/generic/stackguard-macros.h: Define
11005 __pointer_chk_guard_local and POINTER_CHK_GUARD.
11006 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
11007 Define __pointer_chk_guard_local.
11008 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
11009 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
11011 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
11014 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
11016 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
11018 * include/string.h (__ffs): Declare as hidden.
11019 * string/ffs.c (__ffs): Define as hidden.
11020 * sysdeps/i386/ffs.c (__ffs): Likewise.
11021 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11022 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11023 * sysdeps/s390/ffs.c (__ffs): Likewise.
11024 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11026 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
11028 * NEWS: Mention malloc probes.
11030 * malloc/arena.c (new_heap): New memory_heap_new probe.
11031 (grow_heap): New memory_heap_more probe.
11032 (shrink_heap): New memory_heap_less probe.
11033 (heap_trim): New memory_heap_free probe.
11034 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11035 (systrim): New memory_sbrk_less probe.
11036 * manual/probes.texi: Document them.
11038 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11039 * manual/probes.texi: Document it.
11041 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11042 (__libc_realloc): Add memory_realloc_retry probe.
11043 (__libc_memalign): Add memory_memalign_retry probe.
11044 (__libc_valloc): Add memory_valloc_retry probe.
11045 (__libc_pvalloc): Add memory_pvalloc_retry probe.
11046 (__libc_calloc): Add memory_calloc_retry probe.
11047 * manual/probes.texi: Document them.
11049 * malloc/arena.c (get_free_list): Add probe
11050 memory_arena_reuse_free_list.
11051 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11052 and memory_arena_reuse.
11053 (arena_get2) [!PER_THREAD]: Likewise.
11054 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11055 memory_arena_reuse_realloc.
11056 * manual/probes.texi: Document them.
11058 * malloc/malloc.c (__libc_free): Add
11059 memory_mallopt_free_dyn_thresholds probe.
11060 (__libc_mallopt): Add multiple memory_mallopt probes.
11061 * manual/probes.texi: Document them.
11063 * malloc/malloc.c: Include stap-probe.h.
11064 (__libc_mallopt): Add memory_mallopt probe.
11065 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11066 * manual/probes.texi: New.
11067 * manual/Makefile (chapters): Add probes.
11068 * manual/threads.texi: Set next node.
11070 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
11072 [BZ #15963, #13985]
11073 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11074 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11075 Add `Chinese' to `nan' entry name.
11077 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11079 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11080 (POLYNOMIAL): Likewise.
11081 (TAYLOR_SINCOS): Likewise.
11082 (TAYLOR_SLOW): Likewise.
11083 (__sin): Use TAYLOR_SINCOS.
11085 (slow): Use TAYLOR_SLOW.
11087 (bsloww): Likewise.
11088 (csloww): Likewise.
11090 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11092 * stdlib/strtod_l.c: Fix buffer overrun.
11094 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11096 * benchtests/Makefile (bench): Add sincos.
11097 * benchtests/bench-sincos.c: New file.
11099 * math/libm-test.inc (cos_test_data): New test inputs.
11100 (sin_test_data): Likewise.
11102 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11108 (sloww1): Likewise.
11109 (sloww2): Likewise.
11110 (bsloww1): Likewise.
11111 (bsloww2): Likewise.
11112 (cslow2): Likewise.
11113 (csloww1): Likewise.
11114 (csloww2): Likewise.
11116 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11121 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11125 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
11127 * config.h.in (HAVE_MIPS_NAN2008): New macro.
11128 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11129 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11130 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11131 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11132 * elf/cache.c (print_entry): Handle the new cache flags.
11134 2013-09-18 Joseph Myers <joseph@codesourcery.com>
11135 Aldy Hernandez <aldyh@redhat.com>
11137 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11138 Change condition to [_SOFT_FLOAT].
11139 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11140 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11141 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11142 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11143 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11144 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11145 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11146 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11147 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11148 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11149 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11150 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11151 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11152 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11153 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11154 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11157 2013-09-18 Joseph Myers <joseph@codesourcery.com>
11159 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11160 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11161 (__longjmp): Use LOAD_GP to load saved GPRs.
11162 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11163 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11164 (__sigsetjmp): Use SAVE_GP to save GPRs.
11166 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11167 Do not append -msoft-float.
11168 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11170 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11172 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11174 2013-09-17 Joseph Myers <joseph@codesourcery.com>
11177 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11178 (_FPU_GETCW): Use initial "__" on variable and field names but not
11179 on macro parameter name.
11180 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
11181 parentheses around reference to macro parameter.
11183 2013-09-13 Richard Sandiford <richard@codesourcery.com>
11185 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11187 (ctype_startup): Use uint32_t in cast and sizeof for
11190 2013-09-11 Jia Liu <proljc@gmail.com>
11192 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11194 [__FreeBSD__]: Likewise.
11196 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
11198 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11199 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11200 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11201 (strchr): Remove __strchr_sse42 ifunc selection.
11202 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11203 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11205 2013-09-11 Will Newton <will.newton@linaro.org>
11207 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11208 parameter to RES. Remove hardcoded 1000 value.
11209 * benchtests/bench-skeleton.c (main): Pass RES parameter
11210 to TIMING_INIT and multiply result by 1000.
11212 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11216 2013-09-11 Andreas Schwab <schwab@suse.de>
11218 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11220 (O_TMPFILE) [__USE_GNU]: Define.
11221 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11224 2013-09-11 Will Newton <will.newton@linaro.org>
11227 * malloc/malloc.c (__libc_memalign): Check the value of bytes
11230 2013-09-11 Will Newton <will.newton@linaro.org>
11233 * malloc/malloc.c (__libc_valloc): Check the value of bytes
11236 2013-09-11 Will Newton <will.newton@linaro.org>
11239 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11242 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
11244 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
11245 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11246 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11247 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11248 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11250 2013-09-10 Allan McRae <allan@archlinux.org>
11253 * manual/arith.texi (Parsing of Floats): Clarify
11257 * manual/install.texi (Running make install): Mention
11259 * INSTALL: Regenerated.
11261 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11263 * csu/init-first.c (_init): Remove the !SHARED condition around
11264 FPU control word initialization.
11265 * elf/dl-support.c (_dl_fpu_control): New variable.
11266 (_dl_aux_init) <AT_FPUCW>: Initialize it.
11267 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
11268 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
11269 * math/test-fpucw-static.c: New file.
11270 * math/test-fpucw-ieee.c: New file.
11271 * math/test-fpucw-ieee-static.c: New file.
11272 * math/Makefile (tests): Add `test-fpucw-ieee' and
11274 (tests-static): New variable.
11275 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
11277 [($(build-shared),yes)]
11278 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11280 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
11283 2013-09-09 Allan McRae <allan@archlinux.org>
11286 * manual/string.texi (Collation Functions): Fix typo in
11288 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
11291 * stdlib/isomac.c (get_null_defines): Fix memory leak.
11294 * libio/memstream.c (open_memstream): Fix memory leak.
11295 * libio/wmemstream.c (open_wmemstream): Likewise.
11298 * nscd/netgroupcache.c: Fix nesting of ifdefs.
11300 2013-09-09 Will Newton <will.newton@linaro.org>
11302 * malloc/Makefile: Add tst-realloc to tests.
11303 * malloc/tst-realloc.c: New file.
11305 2013-09-09 Allan McRae <allan@archlinux.org>
11308 * COPYING: Update from GNU website to fix FSF address.
11309 * COPYING.LIB: Likewise.
11311 2013-09-06 David S. Miller <davem@davemloft.net>
11313 * po/zh_TW.po: Update Chinese (traditional) translation from
11314 translation project.
11316 2013-09-06 Richard Sandiford <richard@codesourcery.com>
11317 Joseph Myers <joseph@codesourcery.com>
11319 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
11321 (obstack_chunk_alloc): New macro.
11322 (obstack_chunk_free): Likewise.
11323 (record_offset): New function.
11324 (init_locale_data): Likewise.
11325 (align_locale_data): Likewise.
11326 (add_locale_empty): Likewise.
11327 (add_locale_raw_data): Likewise.
11328 (add_locale_raw_obstack): Likewise.
11329 (add_locale_string): Likewise.
11330 (add_locale_wstring): Likewise.
11331 (add_locale_uint32): Likewise.
11332 (add_locale_uint32_array): Likewise.
11333 (add_locale_char): Likewise.
11334 (start_locale_structure): Likewise.
11335 (end_locale_structure): Likewise.
11336 (start_locale_prelude): Likewise.
11337 (end_locale_prelude): Likewise.
11338 (write_locale_data): Take locale_file structure rather than an
11340 * locale/programs/locfile.h: Include "obstack.h".
11341 (struct locale_file): Change to store locale file contents instead
11343 (init_locale_data): New prototype.
11344 (align_locale_data): Likewise.
11345 (add_locale_empty): Likewise.
11346 (add_locale_raw_data): Likewise.
11347 (add_locale_raw_obstack): Likewise.
11348 (add_locale_string): Likewise.
11349 (add_locale_wstring): Likewise.
11350 (add_locale_uint32): Likewise.
11351 (add_locale_uint32_array): Likewise.
11352 (add_locale_char): Likewise.
11353 (start_locale_structure): Likewise.
11354 (end_locale_structure): Likewise.
11355 (start_locale_prelude): Likewise.
11356 (end_locale_prelude): Likewise.
11357 (write_locale_data): Update prototype.
11358 * locale/programs/3level.h (struct TABLE): Remove result field.
11359 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
11360 Use new locale_file interface.
11361 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
11362 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
11363 * locale/programs/ld-address.c (address_output): Use new
11364 locale_file interface.
11365 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
11367 (collate_finish): Don't call collseq_table_finalize.
11368 (collate_output): Use new locale_file interface.
11369 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
11371 (NO_FINALIZE): Change to NO_ADD_LOCALE.
11372 (TABLE): Move defines earlier in file.
11373 (ELEMENT): Likewise.
11374 (DEFAULT): Likewise.
11375 (wctrans_table_add): Move macro and inline function earlier in
11377 (struct wctype_table): Move type earlier in file.
11378 (add_locale_wctype_table): New static prototype.
11379 (struct locale_ctype_t): Use logical types instead of struct iovec
11380 pointers for members.
11381 (ctype_output): Use new locale_file interface.
11382 (wctype_table_finalize): Change to add_locale_wctype_table. Use
11383 new locale_file interface.
11384 (allocate_arrays): Update for use of new locale_file interface.
11385 * locale/programs/ld-identification.c (identification_output): Use
11386 new locale_file interface.
11387 * locale/programs/ld-measurement.c (measurement_output): Likewise.
11388 * locale/programs/ld-messages.c (messages_output): Likewise.
11389 * locale/programs/ld-monetary.c (monetary_output): Likewise.
11390 * locale/programs/ld-name.c (name_output): Likewise.
11391 * locale/programs/ld-numeric.c (numeric_output): Likewise.
11392 * locale/programs/ld-paper.c (paper_output): Likewise.
11393 * locale/programs/ld-telephone.c (telephone_output): Likewise.
11394 * locale/programs/ld-time.c (time_output): Likewise.
11396 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11398 * benchtests/Makefile: Add memrchr benchmark.
11399 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
11400 benchmark as memrchr.
11401 * benchtests/bench-memrchr-ifunc.c: New file.
11402 * benchtests/bench-memrchr.c: New file.
11404 2013-09-06 Will Newton <will.newton@linaro.org>
11406 * benchtests/Makefile (string-bench): Add memcpy.
11408 2013-09-05 Carlos O'Donell <carlos@redhat.com>
11409 Cong Wang <amwang@redhat.com>
11412 * sysdeps/unix/sysv/linux/bits/in.h
11413 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
11414 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
11415 before __USE_KERNEL_IPV6_DEFS uses.
11416 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
11418 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
11419 sockaddr_in6, or ipv6_mreq.
11421 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11423 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
11424 memory access for final bytes in some large inputs.
11425 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
11427 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11429 * string/test-memrchr.c: New file.
11430 * string/test-memrchr-ifunc.c: New file.
11431 * string/Makefile: Add new memrchr testcase.
11433 2013-09-05 Mike Frysinger <vapier@gentoo.org>
11435 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
11436 fanotify_init returns EPERM.
11438 2013-09-04 Joseph Myers <joseph@codesourcery.com>
11440 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
11442 (top level): Treat second token from macro or constant entries for
11443 allowed headers as allowed.
11444 * include/complex.h: Condition internal declarations on
11446 * include/fenv.h: Condition include of <stdbool.h> and internal
11447 declarations on [!_ISOMAC].
11449 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
11452 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
11454 2013-09-04 Joseph Myers <joseph@codesourcery.com>
11456 * configure.in (--enable-versioning): Remove configure option.
11457 (libc_cv_asm_symver_directive): Remove configure test.
11458 (libc_cv_ld_version_script_option): Likewise.
11459 (VERSIONING): Remove variable and AC_SUBST.
11460 (DO_VERSIONING): Remove AC_DEFINE.
11461 * configure: Regenerated.
11462 * config.h.in (DO_VERSIONING): Remove macro.
11463 * Makerules [$(versioning) = yes]: Change conditionals to
11464 [$(build-shared) = yes].
11465 * config.make.in (versioning): Remove variable.
11466 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11467 [$(build-shared) = yes].
11468 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11469 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11470 * elf/Makefile [$(versioning) = yes]: Change conditionals to
11471 [$(build-shared) = yes].
11472 * extra-lib.mk [$(versioning) = yes]: Likewise.
11473 * hurd/Makefile [$(versioning) = yes]: Likewise.
11474 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11476 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11478 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11479 [SHARED && !NO_HIDDEN].
11480 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11482 [SHARED && DO_VERSIONING]: Likewise..
11483 * libio/Makefile [$(versioning) = yes]: Change conditionals to
11484 [$(build-shared) = yes].
11485 * manual/install.texi (--disable-versioning): Remove
11487 * INSTALL: Regenerated.
11488 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11490 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11491 [$(build-shared) = yes].
11492 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11493 * sysdeps/i386/i686/multiarch/strstr-c.c
11494 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11495 [SHARED && !NO_HIDDEN].
11496 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11497 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11498 * sysdeps/powerpc/powerpc32/dl-machine.c
11499 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
11500 * sysdeps/powerpc/powerpc32/sysdep.h
11501 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
11502 to [SHARED && PIC && !NO_HIDDEN].
11503 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
11504 conditional to [SHARED].
11506 2013-09-04 Will Newton <will.newton@linaro.org>
11508 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
11509 * benchtests/bench-string.h: Include bench-timing.h instead
11510 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
11511 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
11512 call to HP_TIMING_DIFF_INIT.
11513 * benchtests/bench-memccpy.c: Use bench-timing.h macros
11514 instead of hp-timing.h macros.
11515 * benchtests/bench-memchr.c: Likewise.
11516 * benchtests/bench-memcmp.c: Likewise.
11517 * benchtests/bench-memcpy.c: Likewise.
11518 * benchtests/bench-memmem.c: Likewise.
11519 * benchtests/bench-memmove.c: Likewise.
11520 * benchtests/bench-memset.c: Likewise.
11521 * benchtests/bench-rawmemchr.c: Likewise.
11522 * benchtests/bench-strcasecmp.c: Likewise.
11523 * benchtests/bench-strcasestr.c: Likewise.
11524 * benchtests/bench-strcat.c: Likewise.
11525 * benchtests/bench-strchr.c: Likewise.
11526 * benchtests/bench-strcmp.c: Likewise.
11527 * benchtests/bench-strcpy.c: Likewise.
11528 * benchtests/bench-strcpy_chk.c: Likewise.
11529 * benchtests/bench-strlen.c: Likewise.
11530 * benchtests/bench-strncasecmp.c: Likewise.
11531 * benchtests/bench-strncat.c: Likewise.
11532 * benchtests/bench-strncmp.c: Likewise.
11533 * benchtests/bench-strncpy.c: Likewise.
11534 * benchtests/bench-strnlen.c: Likewise.
11535 * benchtests/bench-strpbrk.c: Likewise.
11536 * benchtests/bench-strrchr.c: Likewise.
11537 * benchtests/bench-strspn.c: Likewise.
11538 * benchtests/bench-strstr.c: Likewise.
11540 2013-09-04 Will Newton <will.newton@linaro.org>
11542 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
11544 2013-09-03 Joseph Myers <joseph@codesourcery.com>
11547 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11548 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
11549 * math/libm-test.inc (lgamma_test_data): Add more tests.
11550 * sysdeps/i386/fpu/libm-test-ulps: Update.
11551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11553 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
11555 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11556 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11558 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11559 Add strcmp-sse2-unaligned
11560 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11562 2013-09-02 Mike Frysinger <vapier@gentoo.org>
11564 * Versions.def (libc): Add GLIBC_2.19.
11566 2013-09-02 Mike Frysinger <vapier@gentoo.org>
11568 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
11569 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
11571 2013-09-02 Joseph Myers <joseph@codesourcery.com>
11574 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
11575 intermediate calculations in recurrence.
11576 (__ieee754_ynf): Likewise.
11577 * math/libm-test.inc (jn_test_data): Do not allow spurious
11578 underflow exception. Add more tests.
11579 (yn_test_data): Add more tests.
11580 * sysdeps/i386/fpu/libm-test-ulps: Update.
11581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11583 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
11585 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
11587 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11589 * csu/init-first.c: Fix then/than typos.
11590 * locale/programs/ld-collate.c: Likewise.
11591 * locale/programs/linereader.h: Likewise.
11592 * manual/charset.texi: Likewise.
11593 * manual/filesys.texi: Likewise.
11594 * manual/stdio.texi: Likewise.
11595 * manual/string.texi: Likewise.
11596 * stdlib/fmtmsg.c: Likewise.
11597 * sysdeps/i386/stpncpy.S: Likewise.
11598 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11599 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11600 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11601 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11603 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11605 * elf/dl-open.c: Fix typos.
11606 * iconvdata/gbbig5.c: Likewise.
11607 * iconvdata/iso-2022-jp.c: Likewise.
11608 * iconv/gconv_int.h: Likewise.
11609 * iconv/loop.c: Likewise.
11610 * nis/rpcsvc/nis.h: Likewise.
11611 * resolv/ns_name.c: Likewise.
11612 * stdio-common/vfscanf.c: Likewise.
11613 * streams/stropts.h: Likewise.
11614 * sunrpc/rpc_thread.c: Likewise.
11615 * sysdeps/i386/strpbrk.S: Likewise.
11616 * sysdeps/ieee754/k_standard.c: Likewise.
11617 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11618 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11619 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11620 * sysdeps/mach/hurd/profil.c: Likewise.
11621 * sysdeps/s390/dl-procinfo.h: Likewise.
11622 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11623 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11624 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11625 * sysdeps/x86_64/dl-trampoline.S: Likewise.
11626 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11628 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11630 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11631 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11633 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11635 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11636 aix specific files.
11637 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11638 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11639 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11640 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11641 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11642 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11643 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11644 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11646 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11647 Roland McGrath <roland@hack.frob.com>
11649 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11650 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11652 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
11654 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11655 __executable_start symbol instead of _start.
11657 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11659 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11660 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11662 * sysdeps/gnu/ldsodefs.h: ... this new file.
11664 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11665 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11666 instead of ELFOSABI_LINUX.
11668 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
11669 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11670 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11671 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11673 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11674 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11675 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11677 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11678 (ibm_extended_long_double): Add ieee_nan member.
11679 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11680 (do_test): New function.
11682 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11684 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11685 functions, renamed from truncdfsf_test, trunctfsf_test,
11687 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11689 (do_test): Run all these.
11691 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11693 * argp/argp-help.c: Fix typos.
11694 * argp/argp-parse.c: Likewise.
11695 * debug/backtracesyms.c: Likewise.
11696 * elf/elf.h: Likewise.
11697 * malloc/malloc.c: Likewise.
11698 * nis/nis_print.c: Likewise.
11699 * resolv/res_comp.c: Likewise.
11700 * stdlib/stdlib.h: Likewise.
11701 * sunrpc/clnt_tcp.c: Likewise.
11702 * sunrpc/clnt_udp.c: Likewise.
11703 * sunrpc/clnt_unix.c: Likewise.
11704 * sysdeps/unix/bsd/ptsname.c: Likewise.
11705 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11706 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
11707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11713 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11715 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11717 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11718 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11720 2013-08-27 Mike Frysinger <vapier@gentoo.org>
11723 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11724 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11725 ($(objpfx)bug-dl-leaf): New rule.
11726 ($(objpfx)bug-dl-leaf.so): Likewise.
11727 ($(objpfx)bug-dl-leaf.out): Likewise.
11728 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11729 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11730 * dlfcn/bug-dl-leaf.c: New test.
11731 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11732 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11733 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11734 (dlclose): Likewise.
11735 (dlmopen): Likewise.
11737 2013-08-27 Roland McGrath <roland@hack.frob.com>
11739 * include/netdb.h [!_ISOMAC]:
11740 Don't include <tls.h>.
11741 (h_errno, __libc_h_errno): Move declaration and macros out of
11744 * include/resolv.h [_RESOLV_H_]:
11745 Don't include <tls.h>.
11746 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11747 * resolv/res_libc.c: Don't include <tls.h>.
11748 (_res): Use __attribute__ ((nocommon)) in place of
11749 __attribute__ ((section (".bss"))).
11751 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11752 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11754 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11756 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11757 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11759 * resolv/res_mkquery.c: Include <sys/time.h>.
11761 * inet/ifreq.c: Moved to ...
11762 * sysdeps/unix/ifreq.c: ... here.
11763 * inet/ifreq.c: New file, true stub version.
11765 * socket/sa_len.c: New file.
11766 * socket/Makefile (aux): Add it.
11767 * sysdeps/unix/sysv/linux/Makefile
11768 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11769 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11770 and #include <socket/sa_len.c>.
11771 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11772 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11774 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11775 * bits/socket.h: ... here.
11777 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11778 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11779 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11781 2013-08-27 Andreas Schwab <schwab@suse.de>
11784 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11785 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11786 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11787 * string/test-strcasecmp.c (test_main): Run tests in several
11789 * string/test-strncasecmp.c (test_main): Likewise.
11791 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11792 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11793 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11794 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11795 (__strncasecmp_ssse3) [PIC]: Likewise.
11797 2013-08-26 Roland McGrath <roland@hack.frob.com>
11799 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11801 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11802 instead of explicitly declaring xdecrypt.
11803 * nis/nss_nis/nis-publickey.c: Likewise.
11805 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11808 * nscd/aicache.c: Include res_hconf.h.
11809 (addhstaiX): Initialize res_hconf.
11811 2013-08-26 Andreas Schwab <schwab@suse.de>
11813 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11814 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11816 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11818 * nscd/aicache.c (addhstaiX): Fix indentation.
11820 2013-08-25 Mike Frysinger <vapier@gentoo.org>
11822 * configure.ac: Quote $build_pt_chown test.
11823 * configure: Regenerated.
11825 2013-08-23 Joseph Myers <joseph@codesourcery.com>
11828 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11829 * math/s_cexpf.c (__cexpf): Likewise.
11830 * math/s_cexpl.c (__cexpl): Likewise.
11831 * math/libm-test.inc (cexp_test_data): Correct expected return
11832 value for NaN + i0. Add another test.
11834 2013-08-22 David S. Miller <davem@davemloft.net>
11836 * po/ca.po: Update Catalan translation from translation project.
11837 * po/uk.po: Add Ukrainian translations from translation project.
11839 2013-08-21 Joseph Myers <joseph@codesourcery.com>
11842 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11843 is infinite, not alongside NaN test.
11844 * math/s_fdimf.c (__fdimf): Likewise.
11845 * math/s_fdiml.c (__fdiml): Likewise.
11846 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11847 errno is unchanged.
11849 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
11851 * argp/argp-help.c: Fix typos.
11852 * crypt/speeds.c: Likewise.
11853 * csu/check_fds.c: Likewise.
11854 * elf/dl-load.c: Likewise.
11855 * elf/dl-open.c: Likewise.
11856 * elf/reldep3.c: Likewise.
11857 * elf/reldep.c: Likewise.
11858 * elf/sprof.c: Likewise.
11859 * iconv/iconv_charmap.c: Likewise.
11860 * iconv/skeleton.c: Likewise.
11861 * iconv/strtab.c: Likewise.
11862 * io/lockf64.c: Likewise.
11863 * libio/libioP.h: Likewise.
11864 * resolv/gai_notify.c: Likewise.
11865 * resolv/ns_name.c: Likewise.
11866 * resolv/ns_samedomain.c: Likewise.
11867 * resolv/res_send.c: Likewise.
11868 * stdlib/random.c: Likewise.
11869 * sunrpc/rpc/xdr.h: Likewise.
11870 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11871 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11872 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11873 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11874 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11875 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11876 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11877 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11878 * sysdeps/mach/hurd/check_fds.c: Likewise.
11879 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11880 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11881 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11882 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11883 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11884 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11885 * sysdeps/pthread/aio_notify.c: Likewise.
11886 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11887 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11888 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11889 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11890 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11892 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11894 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11895 version if bit_Slow_SSE4_2 is set.
11896 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11897 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11899 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11902 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11903 trampoline stack frame information.
11904 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11905 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11906 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11907 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11908 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11909 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11910 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11911 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11913 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11914 interrupting a syscall and set with option SA_SIGINFO.
11916 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11919 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11920 argument is infinite.
11921 * math/s_cprojf.c (__cprojf): Likewise.
11922 * math/s_cprojl.c (__cprojl): Likewise.
11923 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11924 * math/libm-test.inc (cproj_test_data): Add more tests.
11926 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11928 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11929 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11930 size. Use __ffs to determine corresponding shift.
11932 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11933 Roland McGrath <roland@hack.frob.com>
11935 * Makefile (INSTALL): Remove trailing blank lines from output of
11938 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11940 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11941 Align 32 bit compat elf_greg to 8 bytes.
11943 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11945 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11947 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11949 * string/strcoll_l.c (coll_seq): New structure.
11950 (get_next_seq_cached): New function.
11951 (get_next_seq): New function.
11952 (do_compare): New function.
11953 (STRCOLL): Use GNU style definition. Simplify implementation
11954 by using get_next_seq, get_next_seq_cached and do_compare.
11956 2013-08-16 Florian Weimer <fweimer@redhat.com>
11960 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11962 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11964 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11965 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11966 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11968 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11969 GETDENTS_64BIT_ALIGNED.
11970 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11971 * manual/filesys.texi (Reading/Closing Directory): Document
11972 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11974 * manual/conf.texi (Limits for Files): Add portability note to
11975 NAME_MAX, PATH_MAX.
11976 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11978 2013-08-13 Andreas Schwab <schwab@suse.de>
11981 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11983 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11984 LDBL_MAX_EXP >= 16384]: Add tests for it.
11986 2013-08-12 David S. Miller <davem@davemloft.net>
11988 * version.h (RELEASE): Set to "development".
11989 (VERSION): Set to "2.18.90".
11990 * NEWS: Add 2.19 section.
11992 2013-08-03 David S. Miller <davem@davemloft.net>
11994 * po/ko.po: Update Korean translation from translation project.
11996 2013-08-01 David S. Miller <davem@davemloft.net>
11998 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11999 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
12002 2013-07-30 David S. Miller <davem@davemloft.net>
12004 * po/fr.po: Update French translation from translation project.
12006 2013-07-28 David S. Miller <davem@davemloft.net>
12008 * po/cs.po: Update Czech translation from translation project.
12010 * po/sv.po: Update Swedish translation from translation project.
12012 2013-07-27 David S. Miller <davem@davemloft.net>
12014 * po/eo.po: Update Esperanto translation from translation project.
12016 * po/vi.po: Update Vietnamese translation from translation project.
12018 * po/de.po: Update German translation from translation project.
12020 2013-07-26 David S. Miller <davem@davemloft.net>
12022 * po/bg.po: Update Bulgarian translation from translation project.
12024 * po/nl.po: Update Dutch translation from translation project.
12025 * po/pl.po: Update Polish translation from translation project.
12026 * po/ru.po: Update Russian translation from translation project.
12028 2013-07-24 David S. Miller <davem@davemloft.net>
12030 * po/libc.pot: Update.
12032 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12034 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12035 variable page size.
12036 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12037 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12038 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12040 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12042 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12044 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12045 Andreas Schwab <schwab@suse.de>
12046 Roland McGrath <roland@hack.frob.com>
12047 Joseph Myers <joseph@codesourcery.com>
12048 Carlos O'Donell <carlos@redhat.com>
12051 * config.h.in: Define HAVE_PT_CHOWN.
12052 * config.make.in (build-pt-chown): New variable.
12053 * configure.in (--enable-pt_chown): New configure option.
12054 * configure: Regenerate.
12055 * login/Makefile: Include Makeconfig. Build pt_chown only if
12056 build-pt-chown is enabled.
12057 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12058 pt_chown to fix pty ownership.
12059 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12061 * manual/install.texi (Configuring and compiling): Mention
12062 --enable-pt_chown. Add @findex for grantpt.
12063 * INSTALL: Regenerate.
12065 2013-07-20 David S. Miller <davem@davemloft.net>
12067 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12068 difference between 32-bit and 64-bit.
12070 2013-07-15 Carlos O'Donell <carlos@redhat.com>
12073 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12074 Avoid system header dependency with -ffreestanding.
12075 ($(objpfx)bits/syscall%d): Likewise.
12077 2013-07-13 David S. Miller <davem@davemloft.net>
12079 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12080 underflows from atanl/atan2l due to bug 15319.
12081 (casinh_test_data): Likewise.
12083 2013-07-07 David S. Miller <davem@davemloft.net>
12085 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12087 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
12089 * sysdeps/i386/fpu/libm-test-ulps: Update.
12090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12092 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12094 * configure.in (--enable-lock-elision): Fix message text.
12095 * INSTALL: Regenerate.
12096 * configure: Regenerate.
12098 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12102 2013-07-03 Andreas Jaeger <aj@suse.de>
12104 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12106 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12107 (ptrace_peeksiginfo_args): Add.
12108 (__ptrace_peeksiginfo_flags): Add.
12109 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12110 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12111 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12113 2013-07-03 Allan McRae <allan@archlinux.org>
12115 * sysdeps/i386/fpu/libm-test-ulps: Update.
12117 2013-07-02 David S. Miller <davem@davemloft.net>
12119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12121 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
12123 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12125 2013-07-02 Joseph Myers <joseph@codesourcery.com>
12127 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12130 2013-07-02 Andi Kleen <ak@linux.intel.com>
12132 * config.h.in (ENABLE_LOCK_ELISION): Add.
12133 * configure.in (--enable-lock-elision): Add option.
12134 * manual/install.texi: Document --enable lock elision.
12135 * configure: Regenerate
12136 * INSTALL: Regenerate.
12138 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
12140 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12141 SSE4.2 strcasecmp for libc.a.
12142 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12144 2013-07-02 Joseph Myers <joseph@codesourcery.com>
12147 * soft-fp/op-common.h (_FP_FMA): New macro.
12148 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12149 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
12150 (_FP_MUL_MEAT_1_imm): ... here.
12151 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
12152 (_FP_MUL_MEAT_1_wide): ... here.
12153 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
12154 (_FP_MUL_MEAT_1_hard): ... here.
12155 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12156 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
12157 (_FP_MUL_MEAT_2_wide): ... here.
12158 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
12159 (_FP_MUL_MEAT_2_wide_3mul): ... here.
12160 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
12161 (_FP_MUL_MEAT_2_gmp): ... here.
12162 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12163 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
12164 (_FP_MUL_MEAT_4_wide): ... here.
12165 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
12166 (_FP_MUL_MEAT_4_gmp): ... here.
12167 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12168 (_FP_WFRACBITS_DW_S): Likewise.
12169 (_FP_WFRACXBITS_DW_S): Likewise.
12170 (_FP_HIGHBIT_DW_S): Likewise.
12171 (FP_FMA_S): Likewise.
12172 (_FP_FRAC_HIGH_DW_S): Likewise.
12173 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12174 (_FP_WFRACBITS_DW_D): Likewise.
12175 (_FP_WFRACXBITS_DW_D): Likewise.
12176 (_FP_HIGHBIT_DW_D): Likewise.
12177 (FP_FMA_D): Likewise.
12178 (_FP_FRAC_HIGH_DW_D): Likewise.
12179 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12180 (_FP_WFRACBITS_DW_E): Likewise.
12181 (_FP_WFRACXBITS_DW_E): Likewise.
12182 (_FP_HIGHBIT_DW_E): Likewise.
12183 (FP_FMA_E): Likewise.
12184 (_FP_FRAC_HIGH_DW_E): Likewise.
12185 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12186 (_FP_WFRACBITS_DW_Q): Likewise.
12187 (_FP_WFRACXBITS_DW_Q): Likewise.
12188 (_FP_HIGHBIT_DW_Q): Likewise.
12189 (FP_FMA_Q): Likewise.
12190 (_FP_FRAC_HIGH_DW_Q): Likewise.
12191 * soft-fp/fmasf4.c: New file.
12192 * soft-fp/fmadf4.c: Likewise.
12193 * soft-fp/fmatf4.c: Likewise.
12195 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12197 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12198 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12200 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12202 (index_Slow_SSE4_2): Likewise.
12203 (index_Prefer_PMINUB_for_stringop): Likewise.
12204 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12205 bit_Slow_SSE4_2 is set.
12206 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12207 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12209 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12211 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12212 rtld_global._dl_hwcap2.
12213 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12215 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12216 POWER8 feature descriptions defined in _dl_hwcap2.
12217 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12218 string handling for POWER8 feature bits.
12219 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12220 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12221 _dl_powerpc_cap_flags.
12222 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12223 * sysdeps/powerpc/rtld-global-offsets.sym
12224 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12225 _dl_hwcap2 in the rtld_global_ro structure.
12227 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12229 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12230 hardware capabilities in support of AT_HWCAP2.
12231 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12232 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12234 (_dl_show_auxv): Add support for calling _dl_procinfo to display
12235 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
12236 explicitly the unknown a_type display mechanism is used.
12237 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12238 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12240 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12241 to macro prototype for AT_HWCAP2 support.
12242 * sysdeps/i386/dl-procinfo.h: Likewise.
12243 * sysdeps/s390/dl-procinfo.h: Likewise.
12244 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
12245 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
12246 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
12247 return -1 for unknown a_type display fallback.
12248 * sysdeps/sparc/dl-procinfo.h: Likewise.
12249 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
12250 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
12252 2013-06-28 Joseph Myers <joseph@codesourcery.com>
12254 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
12255 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
12257 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
12260 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
12261 mprotect making __stack_prot writable.
12263 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
12264 Joseph Myers <joseph@codesourcery.com>
12266 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
12267 as being properly aligned.
12269 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
12271 * dlfcn/modstatic5.c: New file.
12272 * dlfcn/tststatic5.c: New file.
12273 * dlfcn/Makefile (tests): Add tststatic5.
12274 (tests-static): Likewise.
12275 (modules-names): Add modstatic5.
12276 (tststatic5-ENV): New variable.
12277 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
12280 * elf/dl-support.c (_dl_main_map): New variable.
12281 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
12282 (_dl_nns, _dl_load_adds): Set to 1.
12283 (_dl_initial_searchlist): Refer to _dl_main_map.
12284 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
12285 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
12286 call to _dl_get_origin.
12287 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
12289 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
12290 * dlfcn/modstatic3.c: New file.
12291 * dlfcn/tststatic3.c: New file.
12292 * dlfcn/tststatic4.c: New file.
12293 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
12294 (tests-static): Likewise.
12295 (modules-names): Add modstatic3.
12296 (tststatic3-ENV, tststatic4-ENV): New variables.
12297 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
12298 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
12300 2013-06-26 Joseph Myers <joseph@codesourcery.com>
12302 * configure.in (CC): Require GCC version 4.4 or later.
12303 * configure: Regenerated.
12304 * manual/install.texi (Tools for Compilation): Update GCC version
12306 * INSTALL: Regenerated.
12308 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12311 * string/test-memcmp.c (check2): New.
12312 (main): Call check2.
12314 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
12316 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
12319 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
12321 (dl_open_worker) [!SHARED]: ... here.
12323 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12325 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
12327 2013-06-25 Richard Henderson <rth@redhat.com>
12329 * locale/programs/locarchive.c: Include <libc-internal.h>
12331 2013-06-25 Joseph Myers <joseph@codesourcery.com>
12333 * manual/texinfo.tex: Update to version 2013-06-21.17, with
12334 trailing whitespace removed.
12336 2013-06-24 Mike Frysinger <vapier@gentoo.org>
12339 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
12340 * locale/programs/locarchive.c: Include libc-mmap.h.
12341 (prepare_address_space): Take two new outputs (the mmap base and len).
12342 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
12344 (create_archive): Declare new mmap base and len values for
12345 prepare_address_space, and store the result in ah.
12346 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
12347 (enlarge_archive): If ah->mmap_base is not NULL, use that and
12348 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12349 Declare new mmap base and len values for
12350 prepare_address_space, and store the result in new_ah.
12351 (open_archive): Declare new mmap base and len values for
12352 prepare_address_space, and store the result in ah.
12353 (close_archive): If ah->mmap_base is not NULL, use that and
12354 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12355 * sysdeps/generic/libc-mmap.h: New file.
12357 2013-06-24 Mike Frysinger <vapier@gentoo.org>
12359 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
12360 (ALIGN_UP): Likewise.
12361 (PTR_ALIGN_DOWN): Likewise.
12362 (PTR_ALIGN_UP): Likewise.
12364 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12366 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
12367 entry mapped to PPC_PLATFORM_POWER8.
12368 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
12370 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
12371 (_dl_string_platform): Add case for exporting platform position for
12373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12374 search path to sysdeps/powerpc/powerpc32/power8 directory.
12375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12376 search path to sysdeps/powerpc/powerpc64/power8 directory.
12377 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12378 power7 directories.
12379 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12380 power7 directories.
12382 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12384 * INSTALL: Regenerate.
12386 * nscd/connections.c (nscd_init): Fix comment.
12388 2013-06-22 Joseph Myers <joseph@codesourcery.com>
12390 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
12393 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
12394 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12396 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12398 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
12400 (DL_DST_REQ_STATIC): Remove macro.
12402 2013-06-21 Joseph Myers <joseph@codesourcery.com>
12405 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
12406 with a shift of 0 bits.
12408 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12410 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
12413 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12416 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
12418 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12420 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
12421 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
12422 accepts -fno-tree-loop-distribute-patterns.
12423 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12424 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
12426 * string/memset.c (memset): Likewise.
12427 * string/test-memmove.c (simple_memmove): Disable loop transformation
12429 * string/test-memset.c (simple_memset): Likewise.
12430 * benchtests/bench-memmove.c (simple_memmove): Likewise.
12431 * benchtests/bench-memset.c (simple_memset): Likewise.
12432 * configure: Regenerated.
12434 2013-06-20 Joseph Myers <joseph@codesourcery.com>
12436 * math/test-misc.c (main): Ignore fesetround failure when failures
12437 of subsequent rounding tests would be ignored.
12440 * math/fedisblxcpt.c (fedisableexcept): Return 0.
12441 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
12442 * math/fegetenv.c (__fegetenv): Return 0.
12443 * math/fegetexcept.c (fegetexcept): Return 0.
12444 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
12446 * math/feholdexcpt.c (feholdexcept): Return 0.
12447 * math/fesetenv.c (__fesetenv): Return 0.
12448 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
12449 argument FE_TONEAREST.
12450 * math/feupdateenv.c (__feupdateenv): Return 0.
12451 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
12453 2013-06-18 Roland McGrath <roland@hack.frob.com>
12455 * elf/rtld-Rules (rtld-compile-command.S): New variable.
12456 (rtld-compile-command.s, rtld-compile-command.c): New variables.
12457 ($(objpfx)rtld-%.os rules): Use them.
12459 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12461 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12464 2013-06-17 Roland McGrath <roland@hack.frob.com>
12466 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12467 length of target pattern, then descending length of dependency pattern.
12468 * configure.in (AWK): Require gawk 3.1.2 or newer.
12469 * manual/install.texi (Tools for Compilation): Say that we do.
12470 * configure: Regenerated.
12472 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12473 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12474 * scripts/sysd-rules.awk: ... this new script.
12475 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12476 than a glob-style pattern.
12478 2013-06-17 Joseph Myers <joseph@codesourcery.com>
12480 * math/test-misc.c (main): Do not treat incorrectly rounded
12481 conversions as failure unless ROUNDING_TESTS passes.
12483 2013-06-15 Joseph Myers <joseph@codesourcery.com>
12486 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12487 restore exception state around main square root computation, then
12488 check for inexactness explicitly.
12490 * math/libm-test.inc (fma_test_data): Add another test.
12492 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12494 * manual/threads.texi (Non-POSIX Extensions): New document
12495 node. Document pthread_getattr_default_np and
12496 pthread_setattr_default_np.
12498 * Versions.def (libpthread): Add GLIBC_2.18.
12499 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
12500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12508 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
12510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12519 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12522 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
12524 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12525 H.J. Lu <hjl.tools@gmail.com>
12528 * sysdeps/x86_64/rtld-memset.c: Remove file.
12529 * sysdeps/x86_64/rtld-memset.S: New file.
12531 2013-06-14 Joseph Myers <joseph@codesourcery.com>
12533 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
12534 (test_in_one_mode): Take arguments for whether the rounding mode
12535 is supported for each floating-point type.
12536 (do_test): Pass new arguments to test_in_one_mode using
12539 2013-06-13 Roland McGrath <roland@hack.frob.com>
12541 * posix/tst-waitid.c (do_test): Distinguish different instances of
12542 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
12543 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
12544 before entering the kernel for waitpid.
12546 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12548 * NEWS: Fix note on clock function precision. Text by Roland
12551 2013-06-13 Roland McGrath <roland@hack.frob.com>
12553 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12554 it into place only when and if the sanity check passes.
12556 2013-06-13 Joseph Myers <joseph@codesourcery.com>
12558 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12559 output for whether conversion result is exact. Take argument
12560 indicating whether type is IBM long double.
12561 (round_for_all): Change need_exact field to ibm_ld.
12562 * stdlib/tst-strtod-round.c (struct exactness): New type.
12563 (struct test): Change bool ld_ok field to struct exactness exact.
12564 (TEST): Update all definitions for change to field.
12565 (tests): Regenerate array contents.
12566 (test_in_one_mode): Take pointer to new field instead of old ld_ok
12567 field value. Check for IBM long double here.
12568 (do_test): Update calls to test_in_one_mode.
12570 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12573 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
12574 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
12576 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12579 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
12580 generated by the compiler on loop optimizations.
12581 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
12582 general definitions.
12584 2013-06-12 Joseph Myers <joseph@codesourcery.com>
12586 * math/bug-nextafter.c: Include <math-tests.h>.
12587 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12589 * math/bug-nexttoward.c: Include <math-tests.h>.
12590 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12592 * math/test-misc.c: Include <math-tests.h>.
12593 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12596 2013-06-12 Andreas Jaeger <aj@suse.de>
12598 * po/ia.po: Update Interlingua translation from translation
12601 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12603 * include/fenv.h: Include stdbool.h.
12604 (struct rm_ctx): New structure.
12605 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12607 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12608 (SET_RESTORE_ROUNDF): Likewise.
12609 (SET_RESTORE_ROUNDL): Likewise.
12610 (SET_RESTORE_ROUND_NOEX): Likewise.
12611 (SET_RESTORE_ROUND_NOEXF): Likewise.
12612 (SET_RESTORE_ROUND_NOEXL): Likewise.
12613 (SET_RESTORE_ROUND_53BIT): Likewise.
12614 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12615 (libc_feresetround_noexf_ctx): Likewise.
12616 (libc_feresetround_noexl_ctx): Likewise.
12617 (libc_feholdsetround_53bit_ctx): Likewise.
12618 (libc_feresetround_53bit_ctx): Likewise.
12619 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12620 (libc_feholdexcept_setround_sse_ctx): New function.
12621 (libc_fesetenv_sse_ctx): Likewise.
12622 (libc_feupdateenv_sse_ctx): Likewise.
12623 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12624 (libc_feholdexcept_setround_387_ctx): Likewise.
12625 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12626 (libc_feholdsetround_387_prec_ctx): Likewise.
12627 (libc_feholdsetround_387_ctx): Likewise.
12628 (libc_feholdsetround_387_53bit_ctx): Likewise.
12629 (libc_feholdsetround_sse_ctx): Likewise.
12630 (libc_feresetround_sse_ctx): Likewise.
12631 (libc_feresetround_387_ctx): Likewise.
12632 (libc_feupdateenv_387_ctx): Likewise.
12633 (libc_feholdexcept_setroundf_ctx): Define macro.
12634 (libc_fesetenvf_ctx): Likewise.
12635 (libc_feupdateenvf_ctx): Likewise.
12636 (libc_feholdsetroundf_ctx): Likewise.
12637 (libc_feresetroundf_ctx): Likewise.
12638 (libc_feholdexcept_setround_ctx): Likewise.
12639 (libc_fesetenv_ctx): Likewise.
12640 (libc_feupdateenv_ctx): Likewise.
12641 (libc_feholdsetround_ctx): Likewise.
12642 (libc_feresetround_ctx): Likewise.
12643 (libc_feholdexcept_setroundl_ctx): Likewise.
12644 (libc_feupdateenvl_ctx): Likewise.
12645 (libc_feholdsetroundl_ctx): Likewise.
12646 (libc_feresetroundl_ctx): Likewise.
12647 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12648 (libc_feresetround_53bit_ctx): Likewise.
12650 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12652 * locale/iso-639.def: Convert to UTF-8.
12654 2013-06-11 Joseph Myers <joseph@codesourcery.com>
12656 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12657 (EXCEPTION_TESTS_double): Likewise.
12658 (EXCEPTION_TESTS_long_double): Likewise.
12659 (EXCEPTION_TESTS): Likewise.
12660 * math/libm-test.inc (test_exceptions): Only test exceptions if
12661 EXCEPTION_TESTS (FLOAT).
12663 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12665 * benchtests/Makefile (string-bench): Add strcpy_chk and
12667 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12668 * benchtests/bench-stpcpy_chk.c: New file.
12669 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12670 * benchtests/bench-strcpy_chk.c: New file.
12671 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12673 (do_test): Likewise.
12675 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12677 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12678 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12679 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12680 with tabs where appropriate.
12681 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12683 [PPC_PLATFORM_PPC440]: Likewise.
12684 [PPC_PLATFORM_PPC464]: Likewise.
12685 [PPC_PLATFORM_PPC476]: Likewise.
12686 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12687 ppc464, and ppc476 platform strings merging from ports/
12690 2013-06-11 Andreas Schwab <schwab@suse.de>
12693 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12694 (from_ucs4_idx): Regenerate.
12695 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12696 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12697 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12698 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12699 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12700 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12701 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12702 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12703 from FROM_LOOP and TO_LOOP specific macros.
12704 (BODY): Handle combining characters.
12705 * iconvdata/BIG5HKSCS.irreversible: Update.
12706 * iconvdata/BIG5HKSCS.precomposed: New file.
12707 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12709 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12711 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12713 * include/sys/time.h: Fix indentation and add copyright header.
12715 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12716 (do_test): Likewise.
12717 * string/test-memchr.c (do_one_test): Likewise.
12718 (do_test): Likewise.
12719 * string/test-memcmp.c (do_one_test): Likewise.
12720 (do_test): Likewise.
12721 * string/test-memcpy.c (do_one_test): Likewise.
12722 (do_test): Likewise.
12723 * string/test-memmem.c (do_one_test): Likewise.
12724 (do_test): Likewise.
12725 (do_random_tests): Likewise.
12726 * string/test-memmove.c (do_one_test): Likewise.
12727 (do_test): Likewise.
12728 * string/test-memset.c (do_one_test): Likewise.
12729 (do_test): Likewise.
12730 * string/test-rawmemchr.c (do_one_test): Likewise.
12731 (do_test): Likewise.
12732 * string/test-strcasecmp.c (do_one_test): Likewise.
12733 (do_test): Likewise.
12734 * string/test-strcasestr.c (do_one_test): Likewise.
12735 (do_test): Likewise.
12736 * string/test-strcat.c (do_one_test): Likewise.
12737 (do_test): Likewise.
12738 * string/test-strchr.c (do_one_test): Likewise.
12739 (do_test): Likewise.
12740 * string/test-strcmp.c (do_one_test): Likewise.
12741 (do_test): Likewise.
12742 * string/test-strcpy.c (do_one_test): Likewise.
12743 (do_test): Likewise.
12744 * string/test-string.h: Likewise.
12745 (test_init): Likewise.
12746 * string/test-strlen.c (do_one_test): Likewise.
12747 (do_test): Likewise.
12748 * string/test-strncasecmp.c (do_one_test): Likewise.
12749 (do_test): Likewise.
12750 * string/test-strncat.c (do_one_test): Likewise.
12751 (do_test): Likewise.
12752 * string/test-strncmp.c (do_one_test): Likewise.
12753 (do_test_limit): Likewise.
12754 (do_test): Likewise.
12755 * string/test-strncpy.c (do_one_test): Likewise.
12756 (do_test): Likewise.
12757 * string/test-strnlen.c (do_one_test): Likewise.
12758 (do_test): Likewise.
12759 * string/test-strpbrk.c (do_one_test): Likewise.
12760 (do_test): Likewise.
12761 * string/test-strrchr.c (do_one_test): Likewise.
12762 (do_test): Likewise.
12763 * string/test-strspn.c (do_one_test): Likewise.
12764 (do_test): Likewise.
12765 * string/test-strstr.c (do_one_test): Likewise.
12766 (do_test): Likewise.
12768 * benchtests/Makefile (string-bench): Add string benchmarks.
12769 * benchtests/bench-bcopy-ifunc.c: New file.
12770 * benchtests/bench-bcopy.c: New file.
12771 * benchtests/bench-bzero-ifunc.c: New file.
12772 * benchtests/bench-bzero.c: New file.
12773 * benchtests/bench-memccpy-ifunc.c: New file.
12774 * benchtests/bench-memccpy.c: New file.
12775 * benchtests/bench-memchr-ifunc.c: New file.
12776 * benchtests/bench-memchr.c: New file.
12777 * benchtests/bench-memcmp-ifunc.c: New file.
12778 * benchtests/bench-memcmp.c: New file.
12779 * benchtests/bench-memmem-ifunc.c: New file.
12780 * benchtests/bench-memmem.c: New file.
12781 * benchtests/bench-memmove-ifunc.c: New file.
12782 * benchtests/bench-memmove.c: New file.
12783 * benchtests/bench-mempcpy-ifunc.c: New file.
12784 * benchtests/bench-mempcpy.c: New file.
12785 * benchtests/bench-memset-ifunc.c: New file.
12786 * benchtests/bench-memset.c: New file.
12787 * benchtests/bench-rawmemchr-ifunc.c: New file.
12788 * benchtests/bench-rawmemchr.c: New file.
12789 * benchtests/bench-stpcpy-ifunc.c: New file.
12790 * benchtests/bench-stpcpy.c: New file.
12791 * benchtests/bench-stpncpy-ifunc.c: New file.
12792 * benchtests/bench-stpncpy.c: New file.
12793 * benchtests/bench-strcasecmp-ifunc.c: New file.
12794 * benchtests/bench-strcasecmp.c: New file.
12795 * benchtests/bench-strcasestr-ifunc.c: New file.
12796 * benchtests/bench-strcasestr.c: New file.
12797 * benchtests/bench-strcat-ifunc.c: New file.
12798 * benchtests/bench-strcat.c: New file.
12799 * benchtests/bench-strchr-ifunc.c: New file.
12800 * benchtests/bench-strchr.c: New file.
12801 * benchtests/bench-strchrnul-ifunc.c: New file.
12802 * benchtests/bench-strchrnul.c: New file.
12803 * benchtests/bench-strcmp-ifunc.c: New file.
12804 * benchtests/bench-strcmp.c: New file.
12805 * benchtests/bench-strcpy-ifunc.c: New file.
12806 * benchtests/bench-strcpy.c: New file.
12807 * benchtests/bench-strcspn-ifunc.c: New file.
12808 * benchtests/bench-strcspn.c: New file.
12809 * benchtests/bench-strlen-ifunc.c: New file.
12810 * benchtests/bench-strlen.c: New file.
12811 * benchtests/bench-strncasecmp-ifunc.c: New file.
12812 * benchtests/bench-strncasecmp.c: New file.
12813 * benchtests/bench-strncat-ifunc.c: New file.
12814 * benchtests/bench-strncat.c: New file.
12815 * benchtests/bench-strncmp-ifunc.c: New file.
12816 * benchtests/bench-strncmp.c: New file.
12817 * benchtests/bench-strncpy-ifunc.c: New file.
12818 * benchtests/bench-strncpy.c: New file.
12819 * benchtests/bench-strnlen-ifunc.c: New file.
12820 * benchtests/bench-strnlen.c: New file.
12821 * benchtests/bench-strpbrk-ifunc.c: New file.
12822 * benchtests/bench-strpbrk.c: New file.
12823 * benchtests/bench-strrchr-ifunc.c: New file.
12824 * benchtests/bench-strrchr.c: New file.
12825 * benchtests/bench-strspn-ifunc.c: New file.
12826 * benchtests/bench-strspn.c: New file.
12827 * benchtests/bench-strstr-ifunc.c: New file.
12828 * benchtests/bench-strstr.c: New file.
12830 * benchtests/Makefile: Disable parallel execution of targets.
12831 (string-bench): Add memcpy.
12832 (benchset): New variable to store a list of benchmark sets.
12833 (bench-func): Renamed from bench.
12834 (bench-set): New target.
12835 (bench): Depend on bench-func and bench-set.
12836 * benchtests/README: Add section on benchmark sets.
12837 * benchtests/bench-memcpy-ifunc.c: New file.
12838 * benchtests/bench-memcpy.c: New file.
12839 * benchtests/bench-string.h: New file.
12841 2013-06-11 Andreas Schwab <schwab@suse.de>
12844 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12845 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12846 values in the triple.
12847 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12848 terminator in the group key.
12850 2013-06-11 Andreas Jaeger <aj@suse.de>
12852 * po/zh_TW.po: Update Chinese (traditional) translation from
12853 translation project.
12855 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12857 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12858 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12859 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12860 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12861 (clock_getcpuclockid): Likewise.
12862 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12863 Add weak_alias and libc_hidden_def.
12864 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12865 * rt/clock_gettime.c (clock_gettime): Rename to
12866 __clock_gettime. Add weak_alias and libc_hidden_def.
12867 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12868 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12869 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12870 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12871 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12873 * rt/clock_settime.c (clock_settime): Rename to
12874 __clock_settime. Add weak_alias and libc_hidden_def.
12875 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12877 2013-06-10 Joseph Myers <joseph@codesourcery.com>
12879 * mach/err_boot.sub: Remove trailing whitespace.
12880 * mach/err_ipc.sub: Likewise.
12881 * mach/err_mach.sub: Likewise.
12883 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12884 (ROUNDING_TESTS_double): Likewise.
12885 (ROUNDING_TESTS_long_double): Likewise.
12886 (ROUNDING_TESTS): Likewise.
12887 * math/libm-test.inc: Include <math-tests.h>.
12888 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12889 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12890 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12891 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12893 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12895 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12898 2013-06-08 Joseph Myers <joseph@codesourcery.com>
12900 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12901 otherwise empty TRANS lines.
12902 * sysdeps/gnu/errlist.c: Regenerated.
12904 * catgets/gencat.c (error_print): Use (void) in function
12906 * crypt/crypt_util.c (__init_des): Likewise.
12907 * crypt/speeds.c (Stop): Likewise.
12909 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12910 * inet/ruserpass.c (token): Likewise.
12911 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12912 * intl/localealias.c (extend_alias_table): Likewise.
12913 * intl/plural-exp.c (init_germanic_plural): Likewise.
12914 * libio/fcloseall.c (__fcloseall): Likewise.
12915 * libio/genops.c (_IO_flush_all): Likewise.
12916 (_IO_flush_all_linebuffered): Likewise.
12917 (_IO_cleanup): Likewise.
12918 (_IO_iter_begin): Likewise.
12919 (_IO_iter_end): Likewise.
12920 (_IO_list_lock): Likewise.
12921 (_IO_list_unlock): Likewise.
12922 (_IO_list_resetlock): Likewise.
12923 * libio/getchar.c (getchar): Likewise.
12924 * libio/getchar_u.c (getchar_unlocked): Likewise.
12925 * libio/getwchar.c (getwchar): Likewise.
12926 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12927 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12928 * login/getpt.c (__getpt): Likewise.
12929 * login/tst-utmp.c (main): Likewise.
12930 * malloc/hooks.c (__malloc_check_init): Likewise.
12931 * malloc/malloc.c (__malloc_stats): Likewise.
12932 * malloc/mtrace.c (tr_break): Likewise.
12933 (mtrace): Likewise.
12934 (muntrace): Likewise.
12935 * misc/fstab.c (endfsent): Likewise.
12936 * misc/getclktck.c (__getclktck): Likewise.
12937 * misc/getdtsz.c (__getdtablesize): Likewise.
12938 * misc/gethostid.c (gethostid): Likewise.
12939 * misc/getpagesize.c (__getpagesize): Likewise.
12940 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12941 (__get_nprocs): Likewise.
12942 (__get_phys_pages): Likewise.
12943 (__get_avphys_pages): Likewise.
12944 * misc/getttyent.c (getttyent): Likewise.
12945 (setttyent): Likewise.
12946 (endttyent): Likewise.
12947 * misc/getusershell.c (getusershell): Likewise.
12948 (endusershell): Likewise.
12949 (setusershell): Likewise.
12950 (initshells): Likewise.
12951 * misc/hsearch.c (__hdestroy): Likewise.
12952 * misc/sync.c (sync): Likewise.
12953 * misc/syslog.c (closelog_internal): Likewise.
12954 (closelog): Likewise.
12955 * misc/ttyslot.c (ttyslot): Likewise.
12956 * misc/vhangup.c (vhangup): Likewise.
12957 * posix/fork.c (__fork): Likewise.
12958 * posix/getegid.c (__getegid): Likewise.
12959 * posix/geteuid.c (__geteuid): Likewise.
12960 * posix/getgid.c (__getgid): Likewise.
12961 * posix/getpid.c (__getpid): Likewise.
12962 * posix/getppid.c (__getppid): Likewise.
12963 * posix/getuid.c (__getuid): Likewise.
12964 * posix/pause.c (pause): Likewise.
12965 * posix/setpgrp.c (setpgrp): Likewise.
12966 * posix/setsid.c (__setsid): Likewise.
12967 * posix/test-vfork.c (noop): Likewise.
12968 * resolv/gethnamaddr.c (_endhtent): Likewise.
12969 (_gethtent): Likewise.
12970 (ht_endhostent): Likewise.
12971 (gethostent): Likewise.
12972 (dns_service): Likewise.
12973 * stdlib/drand48.c (drand48): Likewise.
12974 * stdlib/lrand48.c (lrand48): Likewise.
12975 * stdlib/mrand48.c (mrand48): Likewise.
12976 * stdlib/rand.c (rand): Likewise.
12977 * stdlib/random.c (__random): Likewise.
12978 * stdlib/setenv.c (clearenv): Likewise.
12979 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12980 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12981 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12982 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12983 (__get_nprocs): Likewise.
12984 (__get_phys_pages): Likewise.
12985 (__get_avphys_pages): Likewise.
12986 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12987 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12988 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12989 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12990 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12991 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12992 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12993 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12994 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12995 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12996 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12997 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12998 * sysdeps/posix/clock.c (clock): Likewise.
12999 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
13000 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
13001 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
13002 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13003 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
13004 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13005 (__get_nprocs_conf): Likewise.
13006 (__get_phys_pages): Likewise.
13007 (__get_avphys_pages): Likewise.
13008 * time/clock.c (clock): Likewise.
13009 * time/tzset.c (__tzname_max): Likewise.
13011 2013-06-07 Joseph Myers <joseph@codesourcery.com>
13013 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
13014 (__bswap_32): Do not use "register".
13015 * crypt/crypt.c (_ufc_doit_r): Likewise.
13016 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13017 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13018 * gmon/gmon.c (__monstartup): Likewise.
13019 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13020 * hurd/hurdmalloc.c (more_memory): Likewise.
13021 (malloc): Likewise.
13023 (realloc): Likewise.
13024 (malloc_fork_prepare): Likewise.
13025 (malloc_fork_parent): Likewise.
13026 (malloc_fork_child): Likewise.
13027 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13028 (_svcauth_des): Likewise.
13029 * inet/inet_lnaof.c (inet_lnaof): Likewise.
13030 * inet/inet_net.c (inet_network): Likewise.
13031 * inet/inet_netof.c (inet_netof): Likewise.
13032 * inet/rcmd.c (__validuser2_sa): Likewise.
13033 * io/fts.c (fts_open): Likewise.
13034 (fts_load): Likewise.
13035 (fts_close): Likewise.
13036 (fts_read): Likewise.
13037 (fts_children): Likewise.
13038 (fts_build): Likewise.
13039 (fts_stat): Likewise.
13040 (fts_sort): Likewise.
13041 (fts_alloc): Likewise.
13042 (fts_lfree): Likewise.
13043 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13044 (_IO_file_xsgetn): Likewise.
13045 (_IO_file_xsgetn_mmap): Likewise.
13046 * libio/iofopncook.c (_IO_cookie_read): Likewise.
13047 (_IO_cookie_write): Likewise.
13048 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13049 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13050 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13051 * malloc/obstack.c (_obstack_begin): Likewise.
13052 (_obstack_begin_1): Likewise.
13053 (_obstack_newchunk): Likewise.
13054 (_obstack_allocated_p): Likewise.
13055 (obstack_free): Likewise.
13056 (_obstack_memory_used): Likewise.
13057 * misc/getttyent.c (getttynam): Likewise.
13058 (getttyent): Likewise.
13061 * misc/getusershell.c (initshells): Likewise.
13062 * misc/syslog.c (__vsyslog_chk): Likewise.
13063 * misc/ttyslot.c (ttyslot): Likewise.
13064 * nis/nis_hash.c (__nis_hash): Likewise.
13065 * posix/fnmatch_loop.c (FCT): Likewise.
13066 * posix/getconf.c (print_all): Likewise.
13068 * posix/getopt.c (exchange): Likewise.
13069 * posix/glob.c (globfree): Likewise.
13070 (prefix_array): Likewise.
13071 (__glob_pattern_type): Likewise.
13072 * resolv/arpa/nameser.h (NS_GET16): Likewise.
13073 (NS_GET32): Likewise.
13074 (NS_PUT16): Likewise.
13075 (NS_PUT32): Likewise.
13076 * resolv/gethnamaddr.c (getanswer): Likewise.
13077 (gethostbyname2): Likewise.
13078 (gethostbyaddr): Likewise.
13079 (_gethtent): Likewise.
13080 (_gethtbyname2): Likewise.
13081 (_gethtbyaddr): Likewise.
13082 * resolv/ns_print.c (dst_s_get_int16): Likewise.
13083 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13084 * resolv/res_init.c (__res_vinit): Likewise.
13085 (net_mask): Likewise.
13086 * resolv/res_mkquery.c (outchar): Likewise.
13088 * stdio-common/printf_fp.c (outchar): Likewise.
13090 * stdio-common/printf_fphex.c (outchar): Likewise.
13092 * stdio-common/printf_size.c (outchar): Likewise.
13094 * stdio-common/test_rdwr.c (main): Likewise.
13095 * stdio-common/tfformat.c (matches): Likewise.
13096 * stdio-common/vfprintf.c (outchar): Likewise.
13097 (printf_unknown): Likewise.
13098 (buffered_vfprintf): Likewise.
13099 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13100 * stdio-common/xbug.c (AppendToBuffer): Likewise.
13101 (ReadFile): Likewise.
13102 * stdlib/qsort.c (SWAP): Likewise.
13103 (_quicksort): Likewise.
13104 * stdlib/setenv.c (__add_to_environ): Likewise.
13105 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13106 * stdlib/strtol_l.c (__strtol_l): Likewise.
13107 * stdlib/tst-strtod.c (main): Likewise.
13108 * stdlib/tst-strtol.c (main): Likewise.
13109 * stdlib/tst-strtoll.c (main): Likewise.
13110 * string/bits/string2.h (__strcmp_cc): Likewise.
13111 (__strcmp_cg): Likewise.
13112 (__strcspn_c1): Likewise.
13113 (__strcspn_c2): Likewise.
13114 (__strcspn_c3): Likewise.
13115 (__strspn_c1): Likewise.
13116 (__strspn_c2): Likewise.
13117 (__strspn_c3): Likewise.
13118 (__strsep_1c): Likewise.
13119 (__strsep_2c): Likewise.
13120 (__strsep_3c): Likewise.
13121 * string/memccpy.c (__memccpy): Likewise.
13122 * string/stpcpy.c (__stpcpy): Likewise.
13123 * string/strcmp.c (strcmp): Likewise.
13124 * string/strrchr.c (strrchr): Likewise.
13125 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13127 * sysdeps/mach/hurd/getcwd.c
13128 (_hurd_canonicalize_directory_name_internal): Likewise.
13129 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13130 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13131 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13132 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13133 Likewise, in both definitions.
13134 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13136 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13137 64] (__bswap_64): Likewise.
13138 * time/test_time.c (main): Likewise.
13139 * time/tzfile.c (__tzfile_read): Likewise.
13140 (__tzfile_compute): Likewise.
13141 * time/tzset.c (__tzset_parse_tz): Likewise.
13142 (tzset_internal): Likewise.
13143 (compute_change): Likewise.
13144 * wcsmbs/wcscat.c (__wcscat): Likewise.
13145 * wcsmbs/wcschr.c (wcschr): Likewise.
13146 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13147 * wcsmbs/wcscspn.c (wcscspn): Likewise.
13148 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13149 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13150 * wcsmbs/wcsspn.c (wcsspn): Likewise.
13151 * wcsmbs/wcsstr.c (wcsstr): Likewise.
13152 * wcsmbs/wmemchr.c (wmemchr): Likewise.
13153 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13154 * wcsmbs/wmemset.c (wmemset): Likewise.
13156 2013-06-06 Joseph Myers <joseph@codesourcery.com>
13158 * scripts/config.guess: Update to version 2013-05-16.
13159 * scripts/config.sub: Update to version 2013-04-24.
13160 * scripts/install-sh: Update to version 2011-11-20.07.
13161 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13162 * scripts/move-if-change: Update to version 2012-01-06 07:23.
13164 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
13166 * debug/fgetws_u_chk.c: Fix leading whitespaces.
13167 * elf/sln.c: Likewise.
13168 * hurd/hurd/ioctl.h: Likewise.
13169 * hurd/hurdmalloc.c: Likewise.
13170 * hurd/xattr.c: Likewise.
13171 * include/shlib-compat.h: Likewise.
13172 * inet/ruserpass.c: Likewise.
13173 * libio/iofgets_u.c: Likewise.
13174 * libio/iofgetws_u.c: Likewise.
13175 * locale/programs/ld-identification.c: Likewise.
13176 * locale/programs/ld-time.c: Likewise.
13177 * mach/msg-destroy.c: Likewise.
13178 * nss/nss_files/files-netgrp.c: Likewise.
13179 * resolv/res_data.c: Likewise.
13180 * soft-fp/op-1.h: Likewise.
13181 * soft-fp/op-2.h: Likewise.
13182 * soft-fp/op-4.h: Likewise.
13183 * soft-fp/op-common.h: Likewise.
13184 * stdio-common/printf_fphex.c: Likewise.
13185 * stdlib/strtod_l.c: Likewise.
13186 * sunrpc/rpc/clnt.h: Likewise.
13187 * sysdeps/generic/framestate.c: Likewise.
13188 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13189 * sysdeps/i386/bsd-setjmp.S: Likewise.
13190 * sysdeps/i386/__longjmp.S: Likewise.
13191 * sysdeps/i386/setjmp.S: Likewise.
13192 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13193 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13194 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13195 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13196 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13197 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13198 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13199 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13200 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13201 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13202 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13203 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13204 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13205 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13206 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13207 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13208 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13209 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13210 * sysdeps/ieee754/support.c: Likewise.
13211 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13212 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13213 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13214 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13215 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13216 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13217 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13218 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13219 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13220 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13221 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13222 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13223 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13224 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13225 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13226 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13227 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13230 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
13232 * posix/transbug.c: Remove executable mode.
13234 2013-06-05 Joseph Myers <joseph@codesourcery.com>
13236 * crypt/speeds.c: Remove trailing whitespace.
13237 * dlfcn/default.c: Likewise.
13238 * elf/ifuncdep2.c: Likewise.
13239 * elf/ifuncmain1.c: Likewise.
13240 * elf/ifuncmain1vis.c: Likewise.
13241 * elf/testobj.h: Likewise.
13242 * elf/tst-stackguard1.c: Likewise.
13243 * gmon/sys/gmon.h: Likewise.
13244 * hurd/hurdmsg.c: Likewise.
13245 * hurd/new-fd.c: Likewise.
13246 * hurd/ports-get.c: Likewise.
13247 * iconvdata/ibm1008_420.c: Likewise.
13248 * inet/tst-getni1.c: Likewise.
13249 * inet/tst-getni2.c: Likewise.
13250 * libio/ioungetc.c: Likewise.
13251 * libio/wfiledoalloc.c: Likewise.
13252 * manual/libm-err-tab.pl: Likewise.
13253 * math/w_dremf.c: Likewise.
13254 * misc/ftruncate.c: Likewise.
13255 * posix/bug-glob2.c: Likewise.
13256 * posix/tst-pcre.c: Likewise.
13257 * posix/wait4.c: Likewise.
13258 * resolv/README: Likewise.
13259 * resolv/res_debug.h: Likewise.
13260 * resolv/tst-inet_ntop.c: Likewise.
13261 * setjmp/bug269-setjmp.c: Likewise.
13262 * soft-fp/extended.h: Likewise.
13263 * soft-fp/op-1.h: Likewise.
13264 * soft-fp/op-2.h: Likewise.
13265 * soft-fp/op-4.h: Likewise.
13266 * soft-fp/op-8.h: Likewise.
13267 * soft-fp/testit.c: Likewise.
13268 * stdio-common/bug16.c: Likewise.
13269 * stdlib/random.c: Likewise.
13270 * sunrpc/rpcsvc/rquota.x: Likewise.
13271 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
13272 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13273 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13274 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13275 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13276 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13277 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13278 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13279 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13280 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13281 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13282 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13283 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13284 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13285 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13286 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13287 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13288 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13289 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13290 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13291 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13292 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13293 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13294 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13295 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13296 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13297 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13298 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13299 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13300 * sysdeps/ieee754/s_lib_version.c: Likewise.
13301 * sysdeps/mach/hurd/check_fds.c: Likewise.
13302 * sysdeps/mach/hurd/getsockname.c: Likewise.
13303 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
13304 * sysdeps/mach/hurd/recvfrom.c: Likewise.
13305 * sysdeps/powerpc/bits/link.h: Likewise.
13306 * sysdeps/powerpc/dl-procinfo.c: Likewise.
13307 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
13308 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
13309 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
13310 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13311 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13312 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
13313 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13314 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
13315 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13316 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13317 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13318 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
13319 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13320 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13321 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13322 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13323 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13324 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13325 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13326 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13327 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
13328 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13329 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13330 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
13331 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13332 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13333 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13334 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13335 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13336 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13337 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13338 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13339 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13340 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13341 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13342 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
13343 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13344 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13345 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
13346 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
13347 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
13348 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
13349 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
13350 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13351 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
13352 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
13353 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13354 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
13355 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
13356 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13357 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13358 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13359 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13360 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
13361 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13362 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13363 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13364 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
13365 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13366 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
13367 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
13368 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
13369 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13370 * sysdeps/powerpc/sysdep.h: Likewise.
13371 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13372 * sysdeps/s390/s390-64/sub_n.S: Likewise.
13373 * sysdeps/sh/dl-trampoline.S: Likewise.
13374 * sysdeps/sh/memset.S: Likewise.
13375 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13376 * sysdeps/sh/strlen.S: Likewise.
13377 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13378 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13379 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13380 * sysdeps/sparc/sparc32/rem.S: Likewise.
13381 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13382 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13383 * sysdeps/sparc/sparc32/strchr.S: Likewise.
13384 * sysdeps/sparc/sparc32/udiv.S: Likewise.
13385 * sysdeps/sparc/sparc32/urem.S: Likewise.
13386 * sysdeps/sparc/sparc64/add_n.S: Likewise.
13387 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13388 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13389 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
13390 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
13391 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
13392 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13393 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
13394 * sysdeps/unix/bsd/times.c: Likewise.
13395 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
13396 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
13397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13400 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
13401 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13402 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13403 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
13404 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
13405 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
13406 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13407 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
13408 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13409 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13410 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13411 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13412 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
13413 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
13414 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
13415 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13416 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
13417 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13418 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
13419 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
13420 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13421 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
13422 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13423 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
13424 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
13425 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
13426 * sysdeps/x86_64/strcspn.S: Likewise.
13428 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13430 * locale/C-translit.h: Revert #include <stdint.h> because this is a
13431 generated file. Regenerate properly from gen-translit.pl.
13432 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
13433 locale/C-translit.h.
13435 2013-06-05 Andreas Schwab <schwab@suse.de>
13438 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
13439 week as 6 instead of -1.
13440 * time/tst-strptime.c (day_tests): Add test case.
13442 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13444 * sysdeps/generic/math_private.h
13445 (libc_feholdexcept_setround_53bit): Replace with
13446 libc_feholdsetround_53bit.
13447 (libc_feupdateenv_53bit): Replace with
13448 libc_feresetround_53bit.
13449 (SET_RESTORE_ROUND_53BIT): Adjust.
13451 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13453 * string/test-strchrnul.c: Add copyright header.
13455 * posix/tst-getaddrinfo4.c: Increase test timeout.
13457 2013-06-03 Carlos O'Donell <carlos@redhat.com>
13460 * math/libm-test.inc (MAX_EXP): Remove
13462 (ulp): Use MIN_EXP - MANT_DIG.
13463 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13465 2013-05-31 Carlos O'Donell <carlos@redhat.com>
13467 * po/be.po: Revert last change.
13468 * po/zh_CN.po: Likewise.
13469 * po/header.pot: Likewise.
13471 2013-05-31 Joseph Myers <joseph@codesourcery.com>
13473 * Makefile ($(common-objpfx)linkobj/libc.so): Define
13474 link-libc-deps to empty as target-specific variable.
13475 * Makerules (link-libc-args): New variable.
13476 (libc-for-link): Likewise.
13477 (link-libc-deps): Likewise.
13478 (lib%.so): Depend on $(link-libc-deps). Link with
13480 (build-module): Link with $(link-libc-args).
13481 (build-module-asneeded): Likewise.
13482 (build-module-helper-objlist): Filter out $(link-libc-deps) from
13484 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13485 target-specific variable.
13486 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13487 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13488 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13490 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13492 ($(objpfx)libpcprofile.so): Likewise.
13493 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13495 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13496 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13497 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13499 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
13500 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
13501 * login/Makefile ($(objpfx)libutil.so): Likewise.
13502 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
13503 * math/Makefile ($(objpfx)libm.so): Likewise.
13504 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
13505 $(objpfx)libnsl.so): Define libc-for-link as target-specific
13506 variable instead of depending directly on libc.
13507 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
13508 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
13510 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
13512 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
13513 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
13514 ($(objpfx)libanl.so): Likewise.
13515 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
13517 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
13519 * sysdeps/i386/fpu/Makefile: Remove file.
13520 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
13521 ($(objpfx)libm.so): Remove dependency on ld.so.
13523 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
13526 * nis/yp_xdr.c (XDRMAXNAME): Define.
13527 (XDRMAXRECORD): Define.
13528 (xdr_domainname): Use XDRMAXNAME.
13529 (xdr_mapname): Likewise.
13530 (xdr_peername): Likewise.
13531 (xdr_keydat): Use XDRMAXRECORD.
13532 (xdr_valdat): Likewise.
13534 2013-05-30 Jeff Law <law@redhat.com>
13537 * manual/errno.texi (ESTALE): Update to account for more than
13538 just NFS file systems.
13539 * sysdeps/gnu/errlist.c: Regenerated.
13541 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13544 * elf/Makefile (tests): Add tst-null-argv.
13545 (modules-names): Add tst-null-argv-lib.
13546 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
13547 (tst-null-argv-ENV): Set environment for tst-null-argv.
13548 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
13549 (RTLD_PROGNAME): New macro.
13550 * elf/tst-null-argv.c: New test case.
13551 * elf/tst-null-argv-lib.c: Library for test case.
13552 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13553 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13554 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13555 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13556 * elf/dl-init.c (call_init): Likewise.
13557 (_dl_init): Likewise.
13558 * elf/dl-load.c (print_search_path): Likewise.
13559 (_dl_map_object): Likewise.
13560 * elf/dl-lookup.c (do_lookup_x): Likewise.
13561 (add_dependency): Likewise.
13562 (_dl_lookup_symbol_x): Likewise.
13563 (_dl_debug_bindings): Likewise.
13564 * elf/dl-open.c (_dl_show_scope): Likewise.
13565 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13566 * elf/dl-version.c (match_symbol): Likewise.
13567 (_dl_check_map_versions): Likewise.
13568 * elf/rtld.c (dl_main): Likewise.
13569 (print_unresolved): Use RTLD_PROGNAME.
13570 (print_missing_version): Likewise.
13571 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13572 (elf_machine_rela): Likewise.
13573 * sysdeps/powerpc/powerpc32/dl-machine.c
13574 (__process_machine_rela): Likewise.
13575 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13577 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13579 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13581 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13582 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13584 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13586 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13588 2013-05-28 Carlos O'Donell <carlos@redhat.com>
13590 * po/be.po: Add descriptive title.
13591 * po/zh_CN.po: Likewise.
13592 * po/header.pot: Likewise.
13594 2013-05-28 Mike Frysinger <vapier@gentoo.org>
13596 * locale/programs/locarchive.c (create_archive): Inlucde fname in
13598 (enlarge_archive): Likewise.
13600 2013-05-28 Ben North <ben@redfrontdoor.org>
13602 * manual/arith.texi (frexp): It is the magnitude of the return
13603 value which lies in [0.5, 1), not the return value itself.
13605 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13609 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
13611 * stdio-common/bug26.c (main): Correct fscanf template.
13613 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13614 declare _dl_skip_args.
13616 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13619 * manual/platform.texi: Add missing @end deftypefun.
13621 2013-05-24 Joseph Myers <joseph@codesourcery.com>
13624 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13625 bit of mantissa of 2^16382.
13626 * math/libm-test.inc (hypot_test_data): Add more tests.
13628 * math/libm-test.inc: Add drem and pow10 to list of tested
13630 (pow10_test): New function.
13631 (drem_test): Likewise.
13632 (drem_test_tonearest): Likewise.
13633 (drem_test_towardzero): Likewise.
13634 (drem_test_downward): Likewise.
13635 (drem_test_upward): Likewise.
13636 (main): Call the new functions.
13638 * math/libm-test.inc (finite_test_data): Remove.
13639 (finite_test): Run tests from isfinite_test_data.
13640 (gamma_test_data): Remove.
13641 (gamma_test): Run tests from lgamma_test_data.
13642 * sysdeps/i386/fpu/libm-test-ulps: Update.
13643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13645 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13647 * manual/platform.texi: Add PowerPC PPR function set documentation.
13648 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13651 2013-05-24 Carlos O'Donell <carlos@redhat.com>
13653 * math/libm-test.inc (MAX_EXP): Define.
13655 (ulp): New function.
13656 (check_float_internal): Use ULPDIFF.
13657 (cpow_test): Disable failing test.
13658 (check_ulp): Test ulp() implemetnation.
13659 (main): Call check_ulp before starting tests.
13661 2013-05-24 Joseph Myers <joseph@codesourcery.com>
13663 * math/gen-libm-test.pl (generate_testfile): Do not handle
13664 START_DATA and END_DATA.
13665 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13667 (acos_tonearest_test_data): Likewise.
13668 (acos_towardzero_test_data): Likewise.
13669 (acos_downward_test_data): Likewise.
13670 (acos_upward_test_data): Likewise.
13671 (acosh_test_data): Likewise.
13672 (asin_test_data): Likewise.
13673 (asin_tonearest_test_data): Likewise.
13674 (asin_towardzero_test_data): Likewise.
13675 (asin_downward_test_data): Likewise.
13676 (asin_upward_test_data): Likewise.
13677 (asinh_test_data): Likewise.
13678 (atan_test_data): Likewise.
13679 (atanh_test_data): Likewise.
13680 (atan2_test_data): Likewise.
13681 (cabs_test_data): Likewise.
13682 (cacos_test_data): Likewise.
13683 (cacosh_test_data): Likewise.
13684 (carg_test_data): Likewise.
13685 (casin_test_data): Likewise.
13686 (casinh_test_data): Likewise.
13687 (catan_test_data): Likewise.
13688 (catanh_test_data): Likewise.
13689 (cbrt_test_data): Likewise.
13690 (ccos_test_data): Likewise.
13691 (ccosh_test_data): Likewise.
13692 (ceil_test_data): Likewise.
13693 (cexp_test_data): Likewise.
13694 (cimag_test_data): Likewise.
13695 (clog_test_data): Likewise.
13696 (clog10_test_data): Likewise.
13697 (conj_test_data): Likewise.
13698 (copysign_test_data): Likewise.
13699 (cos_test_data): Likewise.
13700 (cos_tonearest_test_data): Likewise.
13701 (cos_towardzero_test_data): Likewise.
13702 (cos_downward_test_data): Likewise.
13703 (cos_upward_test_data): Likewise.
13704 (cosh_test_data): Likewise.
13705 (cosh_tonearest_test_data): Likewise.
13706 (cosh_towardzero_test_data): Likewise.
13707 (cosh_downward_test_data): Likewise.
13708 (cosh_upward_test_data): Likewise.
13709 (cpow_test_data): Likewise.
13710 (cproj_test_data): Likewise.
13711 (creal_test_data): Likewise.
13712 (csin_test_data): Likewise.
13713 (csinh_test_data): Likewise.
13714 (csqrt_test_data): Likewise.
13715 (ctan_test_data): Likewise.
13716 (ctan_tonearest_test_data): Likewise.
13717 (ctan_towardzero_test_data): Likewise.
13718 (ctan_downward_test_data): Likewise.
13719 (ctan_upward_test_data): Likewise.
13720 (ctanh_test_data): Likewise.
13721 (ctanh_tonearest_test_data): Likewise.
13722 (ctanh_towardzero_test_data): Likewise.
13723 (ctanh_downward_test_data): Likewise.
13724 (ctanh_upward_test_data): Likewise.
13725 (erf_test_data): Likewise.
13726 (erfc_test_data): Likewise.
13727 (exp_test_data): Likewise.
13728 (exp_tonearest_test_data): Likewise.
13729 (exp_towardzero_test_data): Likewise.
13730 (exp_downward_test_data): Likewise.
13731 (exp_upward_test_data): Likewise.
13732 (exp10_test_data): Likewise.
13733 (exp2_test_data): Likewise.
13734 (expm1_test_data): Likewise.
13735 (fabs_test_data): Likewise.
13736 (fdim_test_data): Likewise.
13737 (finite_test_data): Likewise.
13738 (floor_test_data): Likewise.
13739 (fma_test_data): Likewise.
13740 (fma_towardzero_test_data): Likewise.
13741 (fma_downward_test_data): Likewise.
13742 (fma_upward_test_data): Likewise.
13743 (fmax_test_data): Likewise.
13744 (fmin_test_data): Likewise.
13745 (fmod_test_data): Likewise.
13746 (fpclassify_test_data): Likewise.
13747 (frexp_test_data): Likewise.
13748 (gamma_test_data): Likewise.
13749 (hypot_test_data): Likewise.
13750 (ilogb_test_data): Likewise.
13751 (isfinite_test_data): Likewise.
13752 (isgreater_test_data): Likewise.
13753 (isgreaterequal_test_data): Likewise.
13754 (isinf_test_data): Likewise.
13755 (isless_test_data): Likewise.
13756 (islessequal_test_data): Likewise.
13757 (islessgreater_test_data): Likewise.
13758 (isnan_test_data): Likewise.
13759 (isnormal_test_data): Likewise.
13760 (issignaling_test_data): Likewise.
13761 (isunordered_test_data): Likewise.
13762 (j0_test_data): Likewise.
13763 (j1_test_data): Likewise.
13764 (jn_test_data): Likewise.
13765 (ldexp_test_data): Likewise.
13766 (lgamma_test_data): Likewise.
13767 (lrint_test_data): Likewise.
13768 (lrint_tonearest_test_data): Likewise.
13769 (lrint_towardzero_test_data): Likewise.
13770 (lrint_downward_test_data): Likewise.
13771 (lrint_upward_test_data): Likewise.
13772 (llrint_test_data): Likewise.
13773 (llrint_tonearest_test_data): Likewise.
13774 (llrint_towardzero_test_data): Likewise.
13775 (llrint_downward_test_data): Likewise.
13776 (llrint_upward_test_data): Likewise.
13777 (log_test_data): Likewise.
13778 (log10_test_data): Likewise.
13779 (log1p_test_data): Likewise.
13780 (log2_test_data): Likewise.
13781 (logb_test_data): Likewise.
13782 (logb_downward_test_data): Likewise.
13783 (lround_test_data): Likewise.
13784 (llround_test_data): Likewise.
13785 (modf_test_data): Likewise.
13786 (nearbyint_test_data): Likewise.
13787 (nextafter_test_data): Likewise.
13788 (nexttoward_test_data): Likewise.
13789 (pow_test_data): Likewise.
13790 (pow_tonearest_test_data): Likewise.
13791 (pow_towardzero_test_data): Likewise.
13792 (pow_downward_test_data): Likewise.
13793 (pow_upward_test_data): Likewise.
13794 (remainder_test_data): Likewise.
13795 (remainder_tonearest_test_data): Likewise.
13796 (remainder_towardzero_test_data): Likewise.
13797 (remainder_downward_test_data): Likewise.
13798 (remainder_upward_test_data): Likewise.
13799 (remquo_test_data): Likewise.
13800 (rint_test_data): Likewise.
13801 (rint_tonearest_test_data): Likewise.
13802 (rint_towardzero_test_data): Likewise.
13803 (rint_downward_test_data): Likewise.
13804 (rint_upward_test_data): Likewise.
13805 (round_test_data): Likewise.
13806 (scalb_test_data): Likewise.
13807 (scalbn_test_data): Likewise.
13808 (scalbln_test_data): Likewise.
13809 (signbit_test_data): Likewise.
13810 (sin_test_data): Likewise.
13811 (sin_tonearest_test_data): Likewise.
13812 (sin_towardzero_test_data): Likewise.
13813 (sin_downward_test_data): Likewise.
13814 (sin_upward_test_data): Likewise.
13815 (sincos_test_data): Likewise.
13816 (sinh_test_data): Likewise.
13817 (sinh_tonearest_test_data): Likewise.
13818 (sinh_towardzero_test_data): Likewise.
13819 (sinh_downward_test_data): Likewise.
13820 (sinh_upward_test_data): Likewise.
13821 (sqrt_test_data): Likewise.
13822 (tan_test_data): Likewise.
13823 (tan_tonearest_test_data): Likewise.
13824 (tan_towardzero_test_data): Likewise.
13825 (tan_downward_test_data): Likewise.
13826 (tan_upward_test_data): Likewise.
13827 (tanh_test_data): Likewise.
13828 (tgamma_test_data): Likewise.
13829 (trunc_test_data): Likewise.
13830 (y0_test_data): Likewise.
13831 (y1_test_data): Likewise.
13832 (yn_test_data): Likewise.
13833 (significand_test_data): Likewise.
13835 * math/gen-libm-test.pl (@functions): Remove variable.
13836 (generate_testfile): Don't handle START and END lines.
13837 * math/libm-test.inc (START): New macro.
13839 (END_COMPLEX): Likewise.
13840 (acos_test): Use END macro without arguments.
13841 (acos_test_tonearest): Likewise.
13842 (acos_test_towardzero): Likewise.
13843 (acos_test_downward): Likewise.
13844 (acos_test_upward): Likewise.
13845 (acosh_test): Likewise.
13846 (asin_test): Likewise.
13847 (asin_test_tonearest): Likewise.
13848 (asin_test_towardzero): Likewise.
13849 (asin_test_downward): Likewise.
13850 (asin_test_upward): Likewise.
13851 (asinh_test): Likewise.
13852 (atan_test): Likewise.
13853 (atanh_test): Likewise.
13854 (atan2_test): Likewise.
13855 (cabs_test): Likewise.
13856 (cacos_test): Use END_COMPLEX macro without arguments.
13857 (cacosh_test): Likewise.
13858 (carg_test): Use END macro without arguments.
13859 (casin_test): Use END_COMPLEX macro without arguments.
13860 (casinh_test): Likewise.
13861 (catan_test): Likewise.
13862 (catanh_test): Likewise.
13863 (cbrt_test): Use END macro without arguments.
13864 (ccos_test): Use END_COMPLEX macro without arguments.
13865 (ccosh_test): Likewise.
13866 (ceil_test): Use END macro without arguments.
13867 (cexp_test): Use END_COMPLEX macro without arguments.
13868 (cimag_test): Use END macro without arguments.
13869 (clog_test): Use END_COMPLEX macro without arguments.
13870 (clog10_test): Likewise.
13871 (conj_test): Likewise.
13872 (copysign_test): Use END macro without arguments.
13873 (cos_test): Likewise.
13874 (cos_test_tonearest): Likewise.
13875 (cos_test_towardzero): Likewise.
13876 (cos_test_downward): Likewise.
13877 (cos_test_upward): Likewise.
13878 (cosh_test): Likewise.
13879 (cosh_test_tonearest): Likewise.
13880 (cosh_test_towardzero): Likewise.
13881 (cosh_test_downward): Likewise.
13882 (cosh_test_upward): Likewise.
13883 (cpow_test): Use END_COMPLEX macro without arguments.
13884 (cproj_test): Likewise.
13885 (creal_test): Use END macro without arguments.
13886 (csin_test): Use END_COMPLEX macro without arguments.
13887 (csinh_test): Likewise.
13888 (csqrt_test): Likewise.
13889 (ctan_test): Likewise.
13890 (ctan_test_tonearest): Likewise.
13891 (ctan_test_towardzero): Likewise.
13892 (ctan_test_downward): Likewise.
13893 (ctan_test_upward): Likewise.
13894 (ctanh_test): Likewise.
13895 (ctanh_test_tonearest): Likewise.
13896 (ctanh_test_towardzero): Likewise.
13897 (ctanh_test_downward): Likewise.
13898 (ctanh_test_upward): Likewise.
13899 (erf_test): Use END macro without arguments.
13900 (erfc_test): Likewise.
13901 (exp_test): Likewise.
13902 (exp_test_tonearest): Likewise.
13903 (exp_test_towardzero): Likewise.
13904 (exp_test_downward): Likewise.
13905 (exp_test_upward): Likewise.
13906 (exp10_test): Likewise.
13907 (exp2_test): Likewise.
13908 (expm1_test): Likewise.
13909 (fabs_test): Likewise.
13910 (fdim_test): Likewise.
13911 (finite_test): Likewise.
13912 (floor_test): Likewise.
13913 (fma_test): Likewise.
13914 (fma_test_towardzero): Likewise.
13915 (fma_test_downward): Likewise.
13916 (fma_test_upward): Likewise.
13917 (fmax_test): Likewise.
13918 (fmin_test): Likewise.
13919 (fmod_test): Likewise.
13920 (fpclassify_test): Likewise.
13921 (frexp_test): Likewise.
13922 (gamma_test): Likewise.
13923 (hypot_test): Likewise.
13924 (ilogb_test): Likewise.
13925 (isfinite_test): Likewise.
13926 (isgreater_test): Likewise.
13927 (isgreaterequal_test): Likewise.
13928 (isinf_test): Likewise.
13929 (isless_test): Likewise.
13930 (islessequal_test): Likewise.
13931 (islessgreater_test): Likewise.
13932 (isnan_test): Likewise.
13933 (isnormal_test): Likewise.
13934 (issignaling_test): Likewise.
13935 (isunordered_test): Likewise.
13936 (j0_test): Likewise.
13937 (j1_test): Likewise.
13938 (jn_test): Likewise.
13939 (ldexp_test): Likewise.
13940 (lgamma_test): Likewise.
13941 (lrint_test): Likewise.
13942 (lrint_test_tonearest): Likewise.
13943 (lrint_test_towardzero): Likewise.
13944 (lrint_test_downward): Likewise.
13945 (lrint_test_upward): Likewise.
13946 (llrint_test): Likewise.
13947 (llrint_test_tonearest): Likewise.
13948 (llrint_test_towardzero): Likewise.
13949 (llrint_test_downward): Likewise.
13950 (llrint_test_upward): Likewise.
13951 (log_test): Likewise.
13952 (log10_test): Likewise.
13953 (log1p_test): Likewise.
13954 (log2_test): Likewise.
13955 (logb_test): Likewise.
13956 (logb_test_downward): Likewise.
13957 (lround_test): Likewise.
13958 (llround_test): Likewise.
13959 (modf_test): Likewise.
13960 (nearbyint_test): Likewise.
13961 (nextafter_test): Likewise.
13962 (nexttoward_test): Likewise.
13963 (pow_test): Likewise.
13964 (pow_test_tonearest): Likewise.
13965 (pow_test_towardzero): Likewise.
13966 (pow_test_downward): Likewise.
13967 (pow_test_upward): Likewise.
13968 (remainder_test): Likewise.
13969 (remainder_test_tonearest): Likewise.
13970 (remainder_test_towardzero): Likewise.
13971 (remainder_test_downward): Likewise.
13972 (remainder_test_upward): Likewise.
13973 (remquo_test): Likewise.
13974 (rint_test): Likewise.
13975 (rint_test_tonearest): Likewise.
13976 (rint_test_towardzero): Likewise.
13977 (rint_test_downward): Likewise.
13978 (rint_test_upward): Likewise.
13979 (round_test): Likewise.
13980 (scalb_test): Likewise.
13981 (scalbn_test): Likewise.
13982 (scalbln_test): Likewise.
13983 (signbit_test): Likewise.
13984 (sin_test): Likewise.
13985 (sin_test_tonearest): Likewise.
13986 (sin_test_towardzero): Likewise.
13987 (sin_test_downward): Likewise.
13988 (sin_test_upward): Likewise.
13989 (sincos_test): Likewise.
13990 (sinh_test): Likewise.
13991 (sinh_test_tonearest): Likewise.
13992 (sinh_test_towardzero): Likewise.
13993 (sinh_test_downward): Likewise.
13994 (sinh_test_upward): Likewise.
13995 (sqrt_test): Likewise.
13996 (tan_test): Likewise.
13997 (tan_test_tonearest): Likewise.
13998 (tan_test_towardzero): Likewise.
13999 (tan_test_downward): Likewise.
14000 (tan_test_upward): Likewise.
14001 (tanh_test): Likewise.
14002 (tgamma_test): Likewise.
14003 (trunc_test): Likewise.
14004 (y0_test): Likewise.
14005 (y1_test): Likewise.
14006 (yn_test): Likewise.
14007 (significand_test): Likewise.
14009 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
14012 * libio/genops.c (_IO_no_init): Initialize wide struct info.
14014 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
14017 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
14018 __ppc_mdoio and __ppc_mdoom.
14019 * manual/platform.texi: Document new functions __ppc_yield,
14020 __ppc_mdoio and __ppc_mdoom.
14022 2013-05-22 Carlos O'Donell <carlos@redhat.com>
14024 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14025 (main): Mention "tls" pseudo-hwcap is legacy.
14026 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14028 2013-05-22 Joseph Myers <joseph@codesourcery.com>
14030 * math/gen-libm-test.pl (parse_args): Output only string of
14031 arguments as text for test name, not full call or descriptions of
14032 tests for extra outputs.
14033 (generate_testfile): Do not pass function name to parse_args.
14034 Generate this_func variable from START.
14035 * math/libm-test.inc (struct test_f_f_data): Rename test_name
14037 (struct test_ff_f_data): Likewise.
14038 (test_ff_f_data_nexttoward): Likewise.
14039 (struct test_fi_f_data): Likewise.
14040 (struct test_fl_f_data): Likewise.
14041 (struct test_if_f_data): Likewise.
14042 (struct test_fff_f_data): Likewise.
14043 (struct test_c_f_data): Likewise.
14044 (struct test_f_f1_data): Likewise. Remove field extra_name.
14045 (struct test_fF_f1_data): Likewise.
14046 (struct test_ffI_f1_data): Likewise.
14047 (struct test_c_c_data): Rename test_name field to arg_str.
14048 (struct test_cc_c_data): Likewise.
14049 (struct test_f_i_data): Likewise.
14050 (struct test_ff_i_data): Likewise.
14051 (struct test_f_l_data): Likewise.
14052 (struct test_f_L_data): Likewise.
14053 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
14055 (COMMON_TEST_SETUP): New macro.
14056 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14057 (COMMON_TEST_CLEANUP): Likewise.
14058 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14059 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
14061 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14062 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
14064 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14065 (RUN_TEST_fff_f): Take argument string. Call new setup and
14067 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14068 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
14070 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14071 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
14073 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14074 (RUN_TEST_fF_f1): Take argument string. Call new setup and
14076 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14077 (RUN_TEST_fI_f1): Take argument string. Call new setup and
14079 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14080 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
14082 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14083 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
14085 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14086 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
14088 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14089 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
14091 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14092 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
14094 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14095 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
14097 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14098 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
14100 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14101 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
14103 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14104 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
14106 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14107 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
14109 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14110 (RUN_TEST_fFF_11): Take argument string. Call new setup and
14112 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14114 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14116 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14117 to _sifields.sigfault.
14118 (si_addr_lsb): Define new macro.
14119 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14120 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14121 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14123 2013-05-03 Carlos O'Donell <carlos at redhat.com>
14126 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14128 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14130 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14131 loading the domain.
14133 2013-05-22 Joseph Myers <joseph@codesourcery.com>
14135 * math/gen-libm-test.pl (parse_args): Do not include expected
14136 result in test name.
14137 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14138 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14139 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14140 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14141 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14144 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14146 * benchtests/Makefile: Sort function entries.
14148 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14149 tanh, asinh, acosh, atanh.
14150 * benchtests/acos-inputs: New file.
14151 * benchtests/acosh-inputs: New file.
14152 * benchtests/asin-inputs: New file.
14153 * benchtests/asinh-inputs: New file.
14154 * benchtests/atanh-inputs: New file.
14155 * benchtests/cosh-inputs: New file.
14156 * benchtests/log-inputs: New file.
14157 * benchtests/sinh-inputs: New file.
14158 * benchtests/tanh-inputs: New file.
14160 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
14163 * posix/tst-getaddrinfo4.c: New test.
14164 * posix/Makefile (tests): Add it.
14166 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14169 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14170 when no services were used.
14171 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14172 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14174 2013-05-21 Andreas Schwab <schwab@suse.de>
14177 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14178 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14180 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14181 redundant variable declarations and reallocation of buffer when
14182 parsing as IPv6 address. Always set NSS status when called from
14183 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
14184 buffer too small. Correct computation of needed size.
14185 * nss/Makefile (tests): Add test-digits-dots.
14186 * nss/test-digits-dots.c: New test.
14188 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14190 * benchtests/Makefile: Remove instructions for adding
14192 * benchtests/README: New file to explain how to execute and
14193 enhance the benchmark tests.
14195 2013-05-21 Andreas Schwab <schwab@suse.de>
14198 * setjmp/Makefile (tests): Add tst-sigsetjmp.
14199 * setjmp/tst-sigsetjmp.c: New test.
14201 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
14203 * sysdeps/x86_64/memset.S (memset): New implementation.
14204 (__bzero): Likewise.
14205 (__memset_tail): New function.
14207 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
14209 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14210 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14211 __memcpy_sse2_unaligned ifunc selection.
14212 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14213 Add memcpy-sse2-unaligned.S.
14214 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14215 Add: __memcpy_sse2_unaligned.
14217 2013-05-19 Joseph Myers <joseph@codesourcery.com>
14220 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14221 math_force_eval before restoring floating-point envrionment.
14222 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14223 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14225 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14227 (__nearbyintl): Use math_force_eval before restoring
14228 floating-point environment.
14229 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14231 * math/gen-libm-test.pl (special_functions): Remove.
14232 (parse_args): Don't handle TEST_extra. Handle functions with no
14234 * math/libm-test.inc (struct test_sincos_data): Replace with
14235 struct test_fFF_11_data.
14236 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14237 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14238 (sincos_test_data): Change element type to struct
14239 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
14240 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14241 RUN_TEST_LOOP_sincos.
14242 * math/README.libm-test: Don't mention special handling of
14243 individual functions.
14244 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
14245 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14246 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14247 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14248 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14251 * math/gen-libm-test.pl (get_variable): Remove function.
14252 (parse_args): Don't show pointer parameters to call in test
14253 names. Use "extra output N" in test names for extra outputs
14254 rather than naming variables.
14256 2013-05-18 Joseph Myers <joseph@codesourcery.com>
14259 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
14260 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
14261 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
14263 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
14265 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
14268 * math/gen-libm-test.pl (@tests): Remove variable.
14269 ($count): Likewise.
14270 (new_test): Remove function.
14271 (show_exceptions): New function.
14272 (special_functions): Use show_exceptions instead of new_test.
14273 (parse_args): Likewise.
14274 (generate_testfile): Pass only function name in generated call to
14275 print_max_error or print_complex_max_error.
14276 (get_ulps): Do not handle complex tests specially.
14277 (output_test): Rename to ...
14278 (get_all_ulps_for_test): ... this. Return a string rather than
14279 printing to a file. Require ulps to be present.
14280 (output_ulps): Generate arrays rather than #defines.
14281 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
14282 (struct ulp_data): New type.
14283 (BUILD_COMPLEX_ULP): Remove macro.
14284 (compare_ulp_data): New function.
14285 (find_ulps): Likewise.
14286 (find_test_ulps): Likewise.
14287 (find_function_ulps): Likewise.
14288 (find_complex_function_ulps): Likewise.
14289 (print_max_error): Determine allowed ulps using
14290 find_function_ulps.
14291 (print_complex_max_error): Determine allowed ulps using
14292 find_complex_function_ulps.
14293 (check_float_internal): Determine max ulps using find_test_ulps.
14294 (check_float): Do not take max_ulp parameter. Update call to
14295 check_float_internal.
14296 (check_complex): Likewise.
14297 (check_int): Do not take max_ulp parameter.
14298 (check_long): Likewise.
14299 (check_bool): Likewise.
14300 (check_longlong): Likewise.
14301 (struct test_f_f_data): Remove max_ulp field.
14302 (struct test_ff_f_data): Likewise.
14303 (struct test_ff_f_data_nexttoward): Likewise.
14304 (struct test_fi_f_data): Likewise.
14305 (struct test_fl_f_data): Likewise.
14306 (struct test_if_f_data): Likewise.
14307 (struct test_fff_f_data): Likewise.
14308 (struct test_c_f_data): Likewise.
14309 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
14310 (struct test_fF_f1_data): Likewise.
14311 (struct test_ffI_f1_data): Likewise.
14312 (struct test_c_c_data): Remove max_ulp field.
14313 (struct test_cc_c_data): Likewise.
14314 (struct test_f_i_data): Likewise.
14315 (struct test_ff_i_data): Likewise.
14316 (struct test_f_l_data): Likewise.
14317 (struct test_f_L_data): Likewise.
14318 (struct test_sincos_data): Likewise.
14319 (RUN_TEST_f_f): Do not handle ulps.
14320 (RUN_TEST_LOOP_f_f): Likewise.
14321 (RUN_TEST_2_f): Likewise.
14322 (RUN_TEST_LOOP_2_f): Likewise.
14323 (RUN_TEST_fff_f): Likewise.
14324 (RUN_TEST_LOOP_fff_f): Likewise.
14325 (RUN_TEST_c_f): Likewise.
14326 (RUN_TEST_LOOP_c_f): Likewise.
14327 (RUN_TEST_f_f1): Likewise.
14328 (RUN_TEST_LOOP_f_f1): Likewise.
14329 (RUN_TEST_fF_f1): Likewise.
14330 (RUN_TEST_LOOP_fF_f1): Likewise.
14331 (RUN_TEST_fI_f1): Likewise.
14332 (RUN_TEST_LOOP_fI_f1): Likewise.
14333 (RUN_TEST_ffI_f1): Likewise.
14334 (RUN_TEST_LOOP_ffI_f1): Likewise.
14335 (RUN_TEST_c_c): Likewise.
14336 (RUN_TEST_LOOP_c_c): Likewise.
14337 (RUN_TEST_cc_c): Likewise.
14338 (RUN_TEST_LOOP_cc_c): Likewise.
14339 (RUN_TEST_f_i): Likewise.
14340 (RUN_TEST_LOOP_f_i): Likewise.
14341 (RUN_TEST_f_i_tg): Likewise.
14342 (RUN_TEST_LOOP_f_i_tg): Likewise.
14343 (RUN_TEST_ff_i_tg): Likewise.
14344 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14345 (RUN_TEST_f_b): Likewise.
14346 (RUN_TEST_LOOP_f_b): Likewise.
14347 (RUN_TEST_f_b_tg): Likewise.
14348 (RUN_TEST_LOOP_f_b_tg): Likewise.
14349 (RUN_TEST_f_l): Likewise.
14350 (RUN_TEST_LOOP_f_l): Likewise.
14351 (RUN_TEST_f_L): Likewise.
14352 (RUN_TEST_LOOP_f_L): Likewise.
14353 (RUN_TEST_sincos): Likewise.
14354 (RUN_TEST_LOOP_sincos): Likewise.
14356 2013-05-17 Joseph Myers <joseph@codesourcery.com>
14360 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
14361 main case of finite arguments, set rounding mode to FE_TONEAREST
14362 and discard exceptions.
14363 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
14365 (remainder_tonearest_test_data): New variable.
14366 (remainder_test_tonearest): New function.
14367 (remainder_towardzero_test_data): New variable.
14368 (remainder_test_towardzero): New function.
14369 (remainder_downward_test_data): New variable.
14370 (remainder_test_downward): New function.
14371 (remainder_upward_test_data): New variable.
14372 (remainder_test_upward): New function.
14373 (main): Call the new test functions.
14375 * math/libm-test.inc (struct test_f_f1_data): Remove field
14377 (struct test_fF_f1_data): Likewise.
14378 (struct test_ffI_f1_data): Likewise.
14379 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
14380 based on value of EXTRA_EXPECTED.
14381 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14382 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
14383 EXTRA_VAR based on value of EXTRA_EXPECTED.
14384 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14385 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
14386 EXTRA_VAR based on value of EXTRA_EXPECTED.
14387 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14388 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
14389 EXTRA_VAR based on value of EXTRA_EXPECTED.
14390 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14391 * math/gen-libm-test.pl (parse_args): Don't output initializers
14392 for extra output values.
14394 * math/libm-test.inc (check_int): Expect result to be exactly
14395 equal to expected value and do not handle ulps.
14396 (check_long): Likewise.
14397 (check_longlong): Likewise.
14399 * math/libm-test.inc (ceil_test_data): Test for "inexact"
14401 (cimag_test_data): Likewise.
14402 (conj_test_data): Likewise.
14403 (copysign_test_data): Likewise.
14404 (cproj_test_data): Likewise.
14405 (creal_test_data): Likewise.
14406 (fabs_test_data): Likewise.
14407 (fdim_test_data): Likewise.
14408 (finite_test_data): Likewise.
14409 (floor_test_data): Likewise.
14410 (fmax_test_data): Likewise.
14411 (fmin_test_data): Likewise.
14412 (fmod_test_data): Likewise.
14413 (fpclassify_test_data): Likewise.
14414 (frexp_test_data): Likewise.
14415 (ilogb_test_data): Likewise.
14416 (isfinite_test_data): Likewise.
14417 (isgreater_test_data): Likewise.
14418 (isgreaterequal_test_data): Likewise.
14419 (isinf_test_data): Likewise.
14420 (isless_test_data): Likewise.
14421 (islessequal_test_data): Likewise.
14422 (islessgreater_test_data): Likewise.
14423 (isnan_test_data): Likewise.
14424 (isnormal_test_data): Likewise.
14425 (issignaling_test_data): Likewise.
14426 (isunordered_test_data): Likewise.
14427 (ldexp_test_data): Likewise.
14428 (lrint_test_data): Likewise.
14429 (lrint_test_data) [TEST_FLOAT]: Disable one test.
14430 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
14431 (lrint_tonearest_test_data): Test for "inexact" exceptions.
14432 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14433 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
14434 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14436 (lrint_towardzero_test_data): Test for "inexact" exceptions.
14437 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14438 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
14439 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
14441 (lrint_downward_test_data): Test for "inexact" exceptions.
14442 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14443 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
14444 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14446 (lrint_upward_test_data): Test for "inexact" exceptions.
14447 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
14449 (llrint_test_data): Test for "inexact" exceptions.
14450 (llrint_test_data) [TEST_FLOAT]: Disable one test.
14451 (llrint_tonearest_test_data): Test for "inexact" exceptions.
14452 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14453 (llrint_towardzero_test_data): Test for "inexact" exceptions.
14454 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14455 (llrint_downward_test_data): Test for "inexact" exceptions.
14456 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14457 (llrint_upward_test_data): Test for "inexact" exceptions.
14458 (logb_test_data): Likewise.
14459 (logb_downward_test_data): Likewise.
14460 (nextafter_test_data): Likewise.
14461 (nexttoward_test_data): Likewise.
14462 (remainder_test_data): Likewise.
14463 (remquo_test_data): Likewise.
14464 (scalbn_test_data): Likewise.
14465 (scalbln_test_data): Likewise.
14466 (signbit_test_data): Likewise.
14467 (sqrt_test_data): Likewise.
14468 (significand_test_data): Likewise.
14470 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14473 * benchtests/bench-modf.c (struct args): Mark arg0 as
14475 * scripts/bench.pl: Mark members of struct args as volatile.
14477 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14480 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14481 negative infinity on POWER6 or lower.
14482 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14484 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14487 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14488 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14489 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14490 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14491 (_FP_SETQNAN): New macro.
14492 (_FP_SETQNAN_SEMIRAW): Likewise.
14493 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14494 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14495 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14496 (FP_EXTEND): Use _FP_FRAC_SNANP.
14497 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14498 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14500 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14502 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14505 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14507 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
14508 with DIVIDE_BY_ZERO_EXCEPTION.
14509 (gamma_test_data): Likewise.
14510 (lgamma_test_data): Likewise.
14511 (log_test_data): Likewise.
14512 (log10_test_data): Likewise.
14513 (log2_test_data): Likewise.
14514 (tgamma_test_data): Likewise.
14516 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
14517 (acos_test_tonearest): Likewise.
14518 (acos_test_towardzero): Likewise.
14519 (acos_test_downward): Likewise.
14520 (acos_test_upward): Likewise.
14521 (acosh_test): Likewise.
14522 (asin_test): Likewise.
14523 (asin_test_tonearest): Likewise.
14524 (asin_test_towardzero): Likewise.
14525 (asin_test_downward): Likewise.
14526 (asin_test_upward): Likewise.
14527 (asinh_test): Likewise.
14528 (atan_test): Likewise.
14529 (atanh_test): Likewise.
14530 (atan2_test): Likewise.
14531 (cabs_test): Likewise.
14532 (cacos_test): Likewise.
14533 (cacosh_test): Likewise.
14534 (casin_test): Likewise.
14535 (casinh_test): Likewise.
14536 (catan_test): Likewise.
14537 (catanh_test): Likewise.
14538 (cbrt_test): Likewise.
14539 (ccos_test): Likewise.
14540 (ccosh_test): Likewise.
14541 (cexp_test): Likewise.
14542 (clog_test): Likewise.
14543 (clog10_test): Likewise.
14544 (cos_test): Likewise.
14545 (cos_test_tonearest): Likewise.
14546 (cos_test_towardzero): Likewise.
14547 (cos_test_downward): Likewise.
14548 (cos_test_upward): Likewise.
14549 (cosh_test): Likewise.
14550 (cosh_test_tonearest): Likewise.
14551 (cosh_test_towardzero): Likewise.
14552 (cosh_test_downward): Likewise.
14553 (cosh_test_upward): Likewise.
14554 (cpow_test): Likewise.
14555 (csin_test): Likewise.
14556 (csinh_test): Likewise.
14557 (csqrt_test): Likewise.
14558 (ctan_test): Likewise.
14559 (ctan_test_tonearest): Likewise.
14560 (ctan_test_towardzero): Likewise.
14561 (ctan_test_downward): Likewise.
14562 (ctan_test_upward): Likewise.
14563 (ctanh_test): Likewise.
14564 (ctanh_test_tonearest): Likewise.
14565 (ctanh_test_towardzero): Likewise.
14566 (ctanh_test_downward): Likewise.
14567 (ctanh_test_upward): Likewise.
14568 (erf_test): Likewise.
14569 (erfc_test): Likewise.
14570 (exp_test): Likewise.
14571 (exp_test_tonearest): Likewise.
14572 (exp_test_towardzero): Likewise.
14573 (exp_test_downward): Likewise.
14574 (exp_test_upward): Likewise.
14575 (exp10_test): Likewise.
14576 (exp2_test): Likewise.
14577 (expm1_test): Likewise.
14578 (fmod_test): Likewise.
14579 (gamma_test): Likewise.
14580 (hypot_test): Likewise.
14581 (j0_test): Likewise.
14582 (j1_test): Likewise.
14583 (jn_test): Likewise.
14584 (lgamma_test): Likewise.
14585 (log_test): Likewise.
14586 (log10_test): Likewise.
14587 (log1p_test): Likewise.
14588 (log2_test): Likewise.
14589 (logb_test_downward): Likewise.
14590 (pow_test): Likewise.
14591 (pow_test_tonearest): Likewise.
14592 (pow_test_towardzero): Likewise.
14593 (pow_test_downward): Likewise.
14594 (pow_test_upward): Likewise.
14595 (remainder_test): Likewise.
14596 (remquo_test): Likewise.
14597 (sin_test): Likewise.
14598 (sin_test_tonearest): Likewise.
14599 (sin_test_towardzero): Likewise.
14600 (sin_test_downward): Likewise.
14601 (sin_test_upward): Likewise.
14602 (sincos_test): Likewise.
14603 (sinh_test): Likewise.
14604 (sinh_test_tonearest): Likewise.
14605 (sinh_test_towardzero): Likewise.
14606 (sinh_test_downward): Likewise.
14607 (sinh_test_upward): Likewise.
14608 (sqrt_test): Likewise.
14609 (tan_test): Likewise.
14610 (tan_test_tonearest): Likewise.
14611 (tan_test_towardzero): Likewise.
14612 (tan_test_downward): Likewise.
14613 (tan_test_upward): Likewise.
14614 (tanh_test): Likewise.
14615 (tgamma_test): Likewise.
14616 (y0_test): Likewise.
14617 (y1_test): Likewise.
14618 (yn_test): Likewise.
14620 * math/gen-libm-test.pl (adjust_arg): Remove function.
14621 (special_function): Remove argument $in_func. Only handle
14622 generating output for tables of tests, not inside functions.
14623 (parse_args): Likewise.
14624 (generate_testfile): Remove variable $in_func. Update call to
14626 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14627 (MINUS_ZERO_INIT): Rename macro to minus_zero.
14628 (PLUS_INFTY_INIT): Rename macro to plus_infty.
14629 (MINUS_INFTY_INIT): Rename macro to minus_infty.
14630 (QNAN_VALUE_INIT): Rename macro to qnan_value.
14631 (MAX_VALUE_INIT): Rename macro to max_value.
14632 (MIN_VALUE_INIT): Rename macro to min_value.
14633 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14634 (plus_zero): Remove variable.
14635 (minus_zero): Likewise.
14636 (plus_infty): Likewise.
14637 (minus_infty): Likewise.
14638 (qnan_value): Likewise.
14639 (max_value): Likewise.
14640 (min_value): Likewise.
14641 (min_subnorm_value): Likewise.
14643 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14645 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14646 uint64_t or uint32_t usage.
14647 * crypt/sha256-block.c: Likewise.
14648 * crypt/sha256-crypt.c: Likewise.
14649 * crypt/sha256.c: Likewise.
14650 * crypt/sha512-block.c: Likewise.
14651 * crypt/sha512-crypt.c: Likewise.
14652 * crypt/sha512.c: Likewise.
14653 * debug/backtrace-tst.c: Likewise.
14654 * debug/pcprofiledump.c: Likewise.
14655 * elf/cache.c: Likewise.
14656 * elf/dl-cache.c: Likewise.
14657 * elf/dl-misc.c: Likewise.
14658 * elf/dl-profile.c: Likewise.
14659 * elf/dl-support.c: Likewise.
14660 * elf/ldconfig.c: Likewise.
14661 * elf/sprof.c: Likewise.
14662 * iconv/dummy-repertoire.c: Likewise.
14663 * iconv/iconv_charmap.c: Likewise.
14664 * iconv/skeleton.c: Likewise.
14665 * iconvdata/8bit-generic.c: Likewise.
14666 * iconvdata/cp737.h: Likewise.
14667 * iconvdata/cp775.h: Likewise.
14668 * iconvdata/ibm1008.h: Likewise.
14669 * iconvdata/ibm1025.h: Likewise.
14670 * iconvdata/ibm1046.h: Likewise.
14671 * iconvdata/ibm1097.h: Likewise.
14672 * iconvdata/ibm1112.h: Likewise.
14673 * iconvdata/ibm1122.h: Likewise.
14674 * iconvdata/ibm1123.h: Likewise.
14675 * iconvdata/ibm1124.h: Likewise.
14676 * iconvdata/ibm1129.h: Likewise.
14677 * iconvdata/ibm1130.h: Likewise.
14678 * iconvdata/ibm1132.h: Likewise.
14679 * iconvdata/ibm1133.h: Likewise.
14680 * iconvdata/ibm1137.h: Likewise.
14681 * iconvdata/ibm1140.h: Likewise.
14682 * iconvdata/ibm1141.h: Likewise.
14683 * iconvdata/ibm1142.h: Likewise.
14684 * iconvdata/ibm1143.h: Likewise.
14685 * iconvdata/ibm1144.h: Likewise.
14686 * iconvdata/ibm1145.h: Likewise.
14687 * iconvdata/ibm1146.h: Likewise.
14688 * iconvdata/ibm1147.h: Likewise.
14689 * iconvdata/ibm1148.h: Likewise.
14690 * iconvdata/ibm1149.h: Likewise.
14691 * iconvdata/ibm1153.h: Likewise.
14692 * iconvdata/ibm1154.h: Likewise.
14693 * iconvdata/ibm1155.h: Likewise.
14694 * iconvdata/ibm1156.h: Likewise.
14695 * iconvdata/ibm1157.h: Likewise.
14696 * iconvdata/ibm1158.h: Likewise.
14697 * iconvdata/ibm1160.h: Likewise.
14698 * iconvdata/ibm1161.h: Likewise.
14699 * iconvdata/ibm1162.h: Likewise.
14700 * iconvdata/ibm1163.h: Likewise.
14701 * iconvdata/ibm1164.h: Likewise.
14702 * iconvdata/ibm1166.h: Likewise.
14703 * iconvdata/ibm1167.h: Likewise.
14704 * iconvdata/ibm12712.h: Likewise.
14705 * iconvdata/ibm1390.h: Likewise.
14706 * iconvdata/ibm1399.h: Likewise.
14707 * iconvdata/ibm16804.h: Likewise.
14708 * iconvdata/ibm4517.h: Likewise.
14709 * iconvdata/ibm4899.h: Likewise.
14710 * iconvdata/ibm4909.h: Likewise.
14711 * iconvdata/ibm4971.h: Likewise.
14712 * iconvdata/ibm5347.h: Likewise.
14713 * iconvdata/ibm803.h: Likewise.
14714 * iconvdata/ibm856.h: Likewise.
14715 * iconvdata/ibm901.h: Likewise.
14716 * iconvdata/ibm902.h: Likewise.
14717 * iconvdata/ibm9030.h: Likewise.
14718 * iconvdata/ibm9066.h: Likewise.
14719 * iconvdata/ibm921.h: Likewise.
14720 * iconvdata/ibm922.h: Likewise.
14721 * iconvdata/ibm9448.h: Likewise.
14722 * iconvdata/isiri-3342.h: Likewise.
14723 * iconvdata/jis0201.h: Likewise.
14724 * include/link.h: Likewise.
14725 * include/netdb.h: Likewise.
14726 * inet/check_native.c: Likewise.
14727 * inet/check_pf.c: Likewise.
14728 * inet/getipv4sourcefilter.c: Likewise.
14729 * inet/getnameinfo.c: Likewise.
14730 * inet/getsourcefilter.c: Likewise.
14731 * inet/htonl.c: Likewise.
14732 * inet/setipv4sourcefilter.c: Likewise.
14733 * inet/setsourcefilter.c: Likewise.
14734 * inet/test-inet6_opt.c: Likewise.
14735 * inet/tst-network.c: Likewise.
14736 * locale/C-collate.c: Likewise.
14737 * locale/C-ctype.c: Likewise.
14738 * locale/C-time.c: Likewise.
14739 * locale/C-translit.h: Likewise.
14740 * locale/loadarchive.c: Likewise.
14741 * locale/programs/3level.h: Likewise.
14742 * locale/programs/charmap.c: Likewise.
14743 * locale/programs/charmap.h: Likewise.
14744 * locale/programs/ld-address.c: Likewise.
14745 * locale/programs/ld-collate.c: Likewise.
14746 * locale/programs/ld-ctype.c: Likewise.
14747 * locale/programs/ld-identification.c: Likewise.
14748 * locale/programs/ld-measurement.c: Likewise.
14749 * locale/programs/ld-messages.c: Likewise.
14750 * locale/programs/ld-monetary.c: Likewise.
14751 * locale/programs/ld-name.c: Likewise.
14752 * locale/programs/ld-numeric.c: Likewise.
14753 * locale/programs/ld-paper.c: Likewise.
14754 * locale/programs/ld-telephone.c: Likewise.
14755 * locale/programs/ld-time.c: Likewise.
14756 * locale/programs/linereader.c: Likewise.
14757 * locale/programs/locale.c: Likewise.
14758 * locale/programs/locarchive.c: Likewise.
14759 * locale/programs/locfile.h: Likewise.
14760 * locale/programs/repertoire.c: Likewise.
14761 * locale/programs/simple-hash.c: Likewise.
14762 * locale/programs/simple-hash.h: Likewise.
14763 * malloc/memusage.c: Likewise.
14764 * malloc/memusagestat.c: Likewise.
14765 * nis/nis_defaults.c: Likewise.
14766 * nis/nis_hash.c: Likewise.
14767 * nis/nis_print.c: Likewise.
14768 * nis/nis_xdr.c: Likewise.
14769 * nscd/connections.c: Likewise.
14770 * nscd/hstcache.c: Likewise.
14771 * nscd/nscd_gethst_r.c: Likewise.
14772 * nscd/nscd_getserv_r.c: Likewise.
14773 * nscd/nscd_helper.c: Likewise.
14774 * nscd/servicescache.c: Likewise.
14775 * nss/makedb.c: Likewise.
14776 * nss/nss_db/db-XXX.c: Likewise.
14777 * nss/nss_db/db-initgroups.c: Likewise.
14778 * nss/nss_db/db-netgrp.c: Likewise.
14779 * nss/nss_files/files-network.c: Likewise.
14780 * nss/nss_files/files-parse.c: Likewise.
14781 * posix/bug-regex5.c: Likewise.
14782 * posix/fnmatch_loop.c: Likewise.
14783 * posix/regcomp.c: Likewise.
14784 * posix/regexec.c: Likewise.
14785 * posix/tst-rfc3484-2.c: Likewise.
14786 * posix/tst-rfc3484-3.c: Likewise.
14787 * posix/tst-rfc3484.c: Likewise.
14788 * resolv/nss_dns/dns-canon.c: Likewise.
14789 * resolv/nss_dns/dns-network.c: Likewise.
14790 * resolv/res_init.c: Likewise.
14791 * resolv/res_mkquery.c: Likewise.
14792 * resolv/tst-aton.c: Likewise.
14793 * stdlib/cxa_atexit.c: Likewise.
14794 * stdlib/cxa_finalize.c: Likewise.
14795 * stdlib/gen-fpioconst.c: Likewise.
14796 * stdlib/strtol_l.c: Likewise.
14797 * string/tst-endian.c: Likewise.
14798 * sunrpc/auth_des.c: Likewise.
14799 * sunrpc/clnt_udp.c: Likewise.
14800 * sunrpc/rtime.c: Likewise.
14801 * sunrpc/svcauth_des.c: Likewise.
14802 * sunrpc/xdr.c: Likewise.
14803 * sunrpc/xdr_intXX_t.c: Likewise.
14804 * sunrpc/xdr_rec.c: Likewise.
14805 * sysdeps/generic/ldconfig.h: Likewise.
14806 * sysdeps/generic/ldsodefs.h: Likewise.
14807 * sysdeps/generic/memusage.h: Likewise.
14808 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14809 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14810 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14811 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14812 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14813 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14814 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14815 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14816 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14817 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14818 * sysdeps/posix/getaddrinfo.c: Likewise.
14819 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14820 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14821 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14822 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14823 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14824 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14825 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14826 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14827 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14828 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14829 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14830 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14831 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14832 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14833 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14834 * sysdeps/x86_64/dl-tls.h: Likewise.
14835 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14836 * time/alt_digit.c: Likewise.
14837 * time/era.c: Likewise.
14838 * wcsmbs/tst-c16c32-1.c: Likewise.
14840 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14842 * math/libm-test.inc (struct test_sincos_data): New type.
14843 (RUN_TEST_LOOP_sincos): New macro.
14844 (sincos_test_data): New variable.
14845 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14847 2013-05-16 Richard Henderson <rth@redhat.com>
14849 * math/atest-exp2.c (LIMB64): New macro.
14850 (CONSTSZ): New macro.
14851 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14853 (print_mpn_fp): ... to function scope.
14854 (read_mpn_hex): Remove.
14855 (get_log2): Remove.
14856 (exp2_mpn): Use mp_log2.
14857 (main): Use mp_exp1.
14859 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14861 * math/libm-test.inc: Remove comment about not testing "inexact"
14863 (INEXACT_EXCEPTION): New macro.
14864 (NO_INEXACT_EXCEPTION): Likewise.
14865 (INVALID_EXCEPTION_OK): Update value.
14866 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14867 (OVERFLOW_EXCEPTION_OK): Likewise.
14868 (UNDERFLOW_EXCEPTION_OK): Likewise.
14869 (IGNORE_ZERO_INF_SIGN): Likewise.
14870 (ERRNO_UNCHANGED): Likewise.
14871 (ERRNO_EDOM): Likewise.
14872 (ERRNO_ERANGE): Likewise.
14873 (test_exceptions): Handle testing "inexact" exceptions.
14874 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14875 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14876 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14877 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14879 (rint_towardzero_test_data): Likewise.
14880 (rint_downward_test_data): Likewise.
14881 (rint_upward_test_data): Likewise.
14883 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14884 with OVERFLOW_EXCEPTION.
14885 (exp10_test_data): Likewise.
14886 (exp2_test_data): Likewise.
14887 (expm1_test_data): Likewise.
14888 (lgamma_test_data): Likewise.
14889 (pow_test_data): Likewise.
14890 (tgamma_test_data): Likewise.
14891 (yn_test_data): Remove duplicate test of overflow.
14893 * math/libm-test.inc (struct test_cc_c_data): New type.
14894 (RUN_TEST_LOOP_cc_c): New macro.
14895 (cpow_test_data): New variable.
14896 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14898 * math/libm-test.inc (struct test_f_L_data): New type.
14899 (RUN_TEST_LOOP_f_L): New macro.
14900 (llrint_test_data): New variable.
14901 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14902 (llrint_tonearest_test_data): New variable.
14903 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14904 (llrint_towardzero_test_data): New variable.
14905 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14906 (llrint_downward_test_data): New variable.
14907 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14908 (llrint_upward_test_data): New variable.
14909 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14910 (llround_test_data): New variable.
14911 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14913 2013-05-13 Peter Collingbourne <pcc@google.com>
14915 * math/atest-exp2.c (get_log2): Remove const attribute.
14917 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14919 * math/libm-test.inc (struct test_f_l_data): New type.
14920 (RUN_TEST_LOOP_f_l): New macro.
14921 (lrint_test_data): New variable.
14922 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14923 (lrint_tonearest_test_data): New variable.
14924 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14925 (lrint_towardzero_test_data): New variable.
14926 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14927 (lrint_downward_test_data): New variable.
14928 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14929 (lrint_upward_test_data): New variable.
14930 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14931 (lround_test_data): New variable.
14932 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14934 2013-05-15 Peter Collingbourne <pcc@google.com>
14936 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14937 (EXTRACT_WORDS64) Use where appropriate.
14938 (INSERT_WORDS64) Likewise.
14940 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14941 constraints with x constraints.
14942 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14944 * malloc/obstack.c (_obstack_compat): Add initializer.
14946 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14948 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14949 si_trapno and add si_addr_lsb to _sifields.sigfault.
14950 (si_trapno): Remove macro.
14951 (si_addr_lsb): Define new macro.
14952 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14954 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14956 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14957 instead of TEST_f_l.
14958 (llrint_test_tonearest): Likewise.
14959 (llrint_test_towardzero): Likewise.
14960 (llrint_test_downward): Likewise.
14961 (llrint_test_upward): Likewise.
14962 (llround_test): Likewise.
14964 * math/libm-test.inc (struct test_f_i_data): Add comment.
14965 (RUN_TEST_LOOP_f_b): New macro.
14966 (RUN_TEST_LOOP_f_b_tg): Likewise.
14967 (finite_test_data): New variable.
14968 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14969 (isfinite_test_data): New variable.
14970 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14971 (isinf_test_data): New variable.
14972 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14973 (isnan_test_data): New variable.
14974 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14975 (isnormal_test_data): New variable.
14976 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14977 (issignaling_test_data): New variable.
14978 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14979 (signbit_test_data): New variable.
14980 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14982 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14983 with INVALID_EXCEPTION.
14984 (acosh_test_data): Likewise.
14985 (asin_test_data): Likewise.
14986 (atanh_test_data): Likewise.
14987 (fmod_test_data): Likewise.
14988 (log_test_data): Likewise.
14989 (log10_test_data): Likewise.
14990 (log2_test_data): Likewise.
14991 (pow_test_data): Likewise.
14992 (sqrt_test_data): Likewise.
14993 (y0_test_data): Likewise.
14994 (y1_test_data): Likewise.
14995 (yn_test_data): Likewise.
14997 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
15000 * math/libm-test.inc (struct test_ff_i_data): New type.
15001 (RUN_TEST_LOOP_ff_i_tg): New macro.
15002 (isgreater_test_data): New variable.
15003 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15004 (isgreaterequal_test_data): New variable.
15005 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15006 (isless_test_data): New variable.
15007 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15008 (islessequal_test_data): New variable.
15009 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15010 (islessgreater_test_data): New variable.
15011 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15012 (isunordered_test_data): New variable.
15013 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15015 2013-05-14 David S. Miller <davem@davemloft.net>
15017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15019 2013-05-14 Joseph Myers <joseph@codesourcery.com>
15021 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15023 * math/libm-test.inc (struct test_fF_f1_data): Change type of
15025 (struct test_f_i_data): Change type of max_ulp to int.
15027 * math/libm-test.inc (test_ffI_f1_data): New type.
15028 (RUN_TEST_LOOP_ffI_f1): New macro.
15029 (remquo_test_data): New variable.
15030 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15032 * setjmp/tst-setjmp-fp.c: New file.
15033 * setjmp/Makefile (tests): Add tst-setjmp-fp.
15034 (link-libm): New variable.
15035 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15037 * math/libm-test.inc (struct test_f_i_data): New type.
15038 (RUN_TEST_LOOP_f_i): New macro.
15039 (RUN_TEST_LOOP_f_i_tg): Likewise.
15040 (fpclassify_test_data): New variable.
15041 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15042 (ilogb_test_data): New variable.
15043 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15045 * math/libm-test.inc (scalbln_test): Correct function name in END
15048 * math/libm-test.inc (struct test_f_f1_data): Add comment.
15049 (RUN_TEST_LOOP_fI_f1): New macro.
15050 (frexp_test_data): New variable.
15051 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15053 * math/libm-test.inc (struct test_fF_f1_data): New type.
15054 (RUN_TEST_LOOP_fF_f1): New macro.
15055 (modf_test_data): New variable.
15056 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15058 * math/libm-test.inc (struct test_f_f1_data): New type.
15059 (RUN_TEST_LOOP_f_f1): New macro.
15060 (gamma_test_data): New variable.
15061 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15062 (lgamma_test_data): New variable.
15063 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15065 2013-05-13 Carlos O'Donell <carlos@redhat.com>
15067 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15068 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15069 (main): Comment "tls" pseudo-hwcap.
15071 2013-05-13 Joseph Myers <joseph@codesourcery.com>
15073 * math/libm-test.inc (struct test_fl_f_data): New type.
15074 (RUN_TEST_LOOP_fl_f): New variable.
15075 (scalbln_test_data): New variable.
15076 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15078 * math/libm-test.inc (struct test_fi_f_data): New type.
15079 (RUN_TEST_LOOP_fi_f): New macro.
15080 (ldexp_test_data): New variable.
15081 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15082 (scalbn_test_data): New variable.
15083 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15085 * math/libm-test.inc (struct test_c_f_data): New type.
15086 (RUN_TEST_LOOP_c_f): New macro.
15087 (cabs_test_data): New variable.
15088 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15089 (carg_test_data): New variable.
15090 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15091 (cimag_test_data): New variable.
15092 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15093 (creal_test_data): New variable.
15094 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15096 * math/libm-test.inc (struct test_if_f_data): New type.
15097 (RUN_TEST_LOOP_if_f): New macro.
15098 (jn_test_data): New variable.
15099 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15100 (yn_test_data): New variable.
15101 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15103 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15105 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15107 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15108 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15110 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15112 * benchtests/Makefile (CPPFLAGS-nonlib): Add
15113 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15114 (bench-deps): Add bench-timing.h.
15115 * benchtests-bench-skeleton.c: Include bench-timing.h.
15116 (main): Use TIMING_* macros instead of clock_gettime.
15117 * benchtests/bench-timing.h: New file.
15120 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15121 Renamed from _LIB_VERSION.
15122 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15124 2013-05-12 Joseph Myers <joseph@codesourcery.com>
15126 * math/libm-test.inc (struct test_fff_f_data): New type.
15127 (RUN_TEST_LOOP_fff_f): New macro.
15128 (fma_test_data): New variable.
15129 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15130 (fma_towardzero_test_data): New variable.
15131 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15132 (fma_downward_test_data): New variable.
15133 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15134 (fma_upward_test_data): New variable.
15135 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15137 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15138 (struct test_c_c_data): New type.
15139 (RUN_TEST_LOOP_c_c): New macro.
15140 (cacos_test_data): New variable.
15141 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15142 (cacosh_test_data): New variable.
15143 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15144 (casin_test_data): New variable.
15145 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15146 (casinh_test_data): New variable.
15147 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15148 (catan_test_data): New variable.
15149 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15150 (catanh_test_data): New variable.
15151 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15152 (ccos_test_data): New variable.
15153 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15154 (ccosh_test_data): New variable.
15155 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15156 (cexp_test_data): New variable.
15157 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15158 (clog_test_data): New variable.
15159 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15160 (clog10_test_data): New variable.
15161 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15162 (conj_test_data): New variable.
15163 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15164 (cproj_test_data): New variable.
15165 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15166 (csin_test_data): New variable.
15167 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15168 (csinh_test_data): New variable.
15169 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15170 (csqrt_test_data): New variable.
15171 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15172 (ctan_test_data): New variable.
15173 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15174 (ctan_tonearest_test_data): New variable.
15175 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15176 (ctan_towardzero_test_data): New variable.
15177 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15178 (ctan_downward_test_data): New variable.
15179 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15180 (ctan_upward_test_data): New variable.
15181 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15182 (ctanh_test_data): New variable.
15183 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15184 (ctanh_tonearest_test_data): New variable.
15185 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15186 (ctanh_towardzero_test_data): New variable.
15187 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15188 (ctanh_downward_test_data): New variable.
15189 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15190 (ctanh_upward_test_data): New variable.
15191 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15192 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15195 * math/libm-test.inc (struct test_ff_f_data): New type.
15196 (struct test_ff_f_data_nexttoward): Likewise.
15197 (RUN_TEST_LOOP_2_f): New macro.
15198 (RUN_TEST_LOOP_ff_f): Likewise.
15199 (atan2_test_data): New variable.
15200 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15201 (copysign_test_data): New variable.
15202 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15203 (fdim_test_data): New variable.
15204 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15205 (fmax_test_data): New variable.
15206 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15207 (fmin_test_data): New variable.
15208 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15209 (fmod_test_data): New variable.
15210 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15211 (hypot_test_data): New variable.
15212 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15213 (nextafter_test_data): New variable.
15214 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15215 (nexttoward_test_data): New variable.
15216 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15217 (pow_test_data): New variable.
15218 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15219 (pow_tonearest_test_data): New variable.
15220 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15221 (pow_towardzero_test_data): New variable.
15222 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15223 (pow_downward_test_data): New variable.
15224 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15225 (pow_upward_test_data): New variable.
15226 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15227 (remainder_test_data): New variable.
15228 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15229 (scalb_test_data): New variable.
15230 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15231 * sysdeps/i386/fpu/libm-test-ulps: Update.
15233 2013-05-11 Joseph Myers <joseph@codesourcery.com>
15235 * math/libm-test.inc (fma_test): Use max_value instead of local
15237 (nextafter_test): Likewise.
15239 * math/libm-test.inc (acos_towardzero_test_data): New variable.
15240 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15241 (acos_downward_test_data): New variable.
15242 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15243 (acos_upward_test_data): New variable.
15244 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15245 (acosh_test_data): New variable.
15246 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15247 (asin_test_data): New variable.
15248 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
15249 (asin_tonearest_test_data): New variable.
15250 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15251 (asin_towardzero_test_data): New variable.
15252 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15253 (asin_downward_test_data): New variable.
15254 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15255 (asin_upward_test_data): New variable.
15256 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15257 (asinh_test_data): New variable.
15258 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
15259 (atan_test_data): New variable.
15260 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
15261 (atanh_test_data): New variable.
15262 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
15263 (cbrt_test_data): New variable.
15264 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
15265 (ceil_test_data): New variable.
15266 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
15267 (cos_test_data): New variable.
15268 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
15269 (cos_tonearest_test_data): New variable.
15270 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15271 (cos_towardzero_test_data): New variable.
15272 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15273 (cos_downward_test_data): New variable.
15274 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15275 (cos_upward_test_data): New variable.
15276 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15277 (cosh_test_data): New variable.
15278 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
15279 (cosh_tonearest_test_data): New variable.
15280 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15281 (cosh_towardzero_test_data): New variable.
15282 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15283 (cosh_downward_test_data): New variable.
15284 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15285 (cosh_upward_test_data): New variable.
15286 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15287 (erf_test_data): New variable.
15288 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
15289 (erfc_test_data): New variable.
15290 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
15291 (exp_test_data): New variable.
15292 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
15293 (exp_tonearest_test_data): New variable.
15294 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15295 (exp_towardzero_test_data): New variable.
15296 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15297 (exp_downward_test_data): New variable.
15298 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15299 (exp_upward_test_data): New variable.
15300 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15301 (exp10_test_data): New variable.
15302 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
15303 (exp2_test_data): New variable.
15304 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
15305 (expm1_test_data): New variable.
15306 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
15307 (fabs_test_data): New variable.
15308 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
15309 (floor_test_data): New variable.
15310 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
15311 (j0_test_data): New variable.
15312 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
15313 (j1_test_data): New variable.
15314 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
15315 (log_test_data): New variable.
15316 (log_test): Run tests with RUN_TEST_LOOP_f_f.
15317 (log10_test_data): New variable.
15318 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
15319 (log1p_test_data): New variable.
15320 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
15321 (log2_test_data): New variable.
15322 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
15323 (logb_test_data): New variable.
15324 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
15325 (logb_downward_test_data): New variable.
15326 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15327 (nearbyint_test_data): New variable.
15328 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
15329 (rint_test_data): New variable.
15330 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
15331 (rint_tonearest_test_data): New variable.
15332 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15333 (rint_towardzero_test_data): New variable.
15334 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15335 (rint_downward_test_data): New variable.
15336 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15337 (rint_upward_test_data): New variable.
15338 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15339 (round_test_data): New variable.
15340 (round_test): Run tests with RUN_TEST_LOOP_f_f.
15341 (sin_test_data): New variable.
15342 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
15343 (sin_tonearest_test_data): New variable.
15344 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15345 (sin_towardzero_test_data): New variable.
15346 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15347 (sin_downward_test_data): New variable.
15348 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15349 (sin_upward_test_data): New variable.
15350 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15351 (sinh_test_data): New variable.
15352 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
15353 (sinh_tonearest_test_data): New variable.
15354 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15355 (sinh_towardzero_test_data): New variable.
15356 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15357 (sinh_downward_test_data): New variable.
15358 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15359 (sinh_upward_test_data): New variable.
15360 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15361 (sqrt_test_data): New variable.
15362 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
15363 (tan_test_data): New variable.
15364 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
15365 (tan_tonearest_test_data): New variable.
15366 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15367 (tan_towardzero_test_data): New variable.
15368 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15369 (tan_downward_test_data): New variable.
15370 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15371 (tan_upward_test_data): New variable.
15372 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15373 (tanh_test_data): New variable.
15374 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15375 (tgamma_test_data): New variable.
15376 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15377 (trunc_test_data): New variable.
15378 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15379 (y0_test_data): New variable.
15380 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15381 (y1_test_data): New variable.
15382 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15383 (significand_test_data): New variable.
15384 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15386 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
15389 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
15391 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
15393 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
15395 2013-05-10 Andreas Jaeger <aj@suse.de>
15398 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
15399 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
15401 2013-05-10 Joseph Myers <joseph@codesourcery.com>
15403 * math/gen-libm-test.pl (adjust_arg): New function.
15404 (special_functions): Handle generating output in both functions
15406 (parse_args): Likewise.
15407 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
15408 $in_func argument to parse_args.
15409 * math/libm-test.inc (struct test_f_f_data): New type.
15410 (IF_ROUND_INIT_): New macro.
15411 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
15412 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15413 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15414 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15415 (ROUND_RESTORE_): Likewise.
15416 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
15417 (ROUND_RESTORE_FE_TONEAREST): Likewise.
15418 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
15419 (ROUND_RESTORE_FE_UPWARD): Likewise.
15420 (RUN_TEST_LOOP_f_f): New macro.
15421 (acos_test_data): New variable.
15422 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
15423 (acos_tonearest_test_data): New variable.
15424 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15426 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15428 * benchtests/bench-skeleton.c (startup): Fix coding style.
15430 2013-05-10 Joseph Myers <joseph@codesourcery.com>
15433 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
15434 negative infinity argument.
15435 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
15436 negative infinity argument.
15437 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
15438 negative infinity argument.
15439 * math/libm-test.inc (tgamma_test): Expect errno to be set for
15442 2013-05-10 Florian Weimer <fweimer@redhat.com>
15444 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
15445 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
15446 * iconv/iconv_prog.c (main): Likewise.
15447 * locale/programs/charmap-dir.c (charmap_readdir)
15448 (fopen_uncompressed): Likewise.
15449 * locale/programs/locfile.c (siblings_uncached)
15450 (write_locale_data): Use lstat64 instead of lstat.
15451 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
15454 2013-05-10 Andreas Jaeger <aj@suse.de>
15457 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15459 Include <locale.h>.
15461 2013-05-09 Carlos O'Donell <carlos@redhat.com>
15463 * elf/dl-close.c (_dl_close_worker): Add comments.
15465 2013-05-09 Joseph Myers <joseph@codesourcery.com>
15468 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15470 (__ieee754_rem_pio2l): Update comments.
15473 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15475 (__ieee754_rem_pio2l): Update comments.
15477 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15478 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15480 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15483 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15484 (M_PI_34_LOG10El): Likewise.
15485 (M_PI2_LOG10El): Likewise.
15486 (M_PI4_LOG10El): Likewise.
15487 (M_PI_LOG10El): Likewise.
15489 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15493 2013-05-08 Joseph Myers <joseph@codesourcery.com>
15495 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15496 (MINUS_ZERO_INIT): Likewise.
15497 (PLUS_INFTY_INIT): Likewise.
15498 (MINUS_INFTY_INIT): Likewise.
15499 (QNAN_VALUE_INIT): Likewise.
15500 (MAX_VALUE_INIT): Likewise.
15501 (MIN_VALUE_INIT): Likewise.
15502 (MIN_SUBNORM_VALUE_INIT): Likewise.
15503 (plus_zero): Initialize with PLUS_ZERO_INIT.
15504 (minus_zero): Initialize with MINUS_ZERO_INIT.
15505 (plus_infty): Initialize with PLUS_INFTY_INIT.
15506 (minus_infty): Initialize with MINUS_INFTY_INIT.
15507 (qnan_value): Initialize with QNAN_VALUE_INIT.
15508 (max_value): Initialize with MAX_VALUE_INIT.
15509 (min_value): Initialize with MIN_VALUE_INIT.
15510 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
15512 * math/libm-test.inc (RUN_TEST_if_f): New macro.
15513 (jn_test): Use TEST_if_f instead of TEST_ff_f.
15514 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
15515 (yn_test): Use TEST_if_f instead of TEST_ff_f.
15517 * math/libm-test.inc (RUN_TEST_f_f): New macro.
15518 (RUN_TEST_2_f): Likewise.
15519 (RUN_TEST_ff_f): Likewise.
15520 (RUN_TEST_fi_f): Likewise.
15521 (RUN_TEST_fl_f): Likewise.
15522 (RUN_TEST_fff_f): Likewise.
15523 (RUN_TEST_c_f): Likewise.
15524 (RUN_TEST_f_f1): Likewise.
15525 (RUN_TEST_fF_f1): Likewise.
15526 (RUN_TEST_fI_f1): Likewise.
15527 (RUN_TEST_ffI_f1): Likewise.
15528 (RUN_TEST_c_c): Likewise.
15529 (RUN_TEST_cc_c): Likewise.
15530 (RUN_TEST_f_i): Likewise.
15531 (RUN_TEST_f_i_tg): Likewise.
15532 (RUN_TEST_ff_i_tg): Likewise.
15533 (RUN_TEST_f_b): Likewise.
15534 (RUN_TEST_f_b_tg): Likewise.
15535 (RUN_TEST_f_l): Likewise.
15536 (RUN_TEST_f_L): Likewise.
15537 (RUN_TEST_sincos): Likewise.
15538 * math/gen-libm-test.pl (new_test): Take new argument to indicate
15539 whether to show exceptions. Do not include ");\n" in return
15541 (special_functions): Output call to RUN_TEST_sincos instead of
15542 check_float calls. Update calls to new_test.
15543 (parse_args): Output call to single RUN_TEST_* macro instead of
15544 check_* calls and other assignments. Update calls to new_test.
15550 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15551 input to result for tgamma overflow.
15552 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15553 (gamma_coeff): New variable.
15554 (NCOEFF): New macro.
15555 (gamma_positive): New function.
15556 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15557 underflow here. Use gamma_positive instead of exp (lgamma) for
15559 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15560 (gamma_coeff): New variable.
15561 (NCOEFF): New macro.
15562 (gammaf_positive): New function.
15563 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15564 underflow here. Use gamma_positive instead of exp (lgamma) for
15566 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15567 (gamma_coeff): New variable.
15568 (NCOEFF): New macro.
15569 (gammal_positive): New function.
15570 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
15571 underflow here. Use gamma_positive instead of exp (lgamma) for
15573 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
15574 (gamma_coeff): New variable.
15575 (NCOEFF): New macro.
15576 (gammal_positive): New function.
15577 (__ieee754_gammal_r): Handle positive infinity, overflow and
15578 underflow here. Handle NaN the same as positive infinity. Remove
15579 check x < 0xffffffff for negative integers. Use gamma_positive
15580 instead of exp (lgamma) for other arguments.
15581 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
15582 (gamma_coeff): New variable.
15583 (NCOEFF): New macro.
15584 (gammal_positive): New function.
15585 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
15586 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15587 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15588 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
15589 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15590 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
15591 * sysdeps/generic/math_private.h (__gamma_productf): New
15593 (__gamma_product): Likewise.
15594 (__gamma_productl): Likewise.
15595 * math/Makefile (libm-calls): Add gamma_product.
15596 * math/libm-test.inc (tgamma_test): Add more tests.
15597 * sysdeps/i386/fpu/libm-test-ulps: Update.
15598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15600 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
15602 * benchtests/bench-skeleton.c (main): Preheat CPU.
15604 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
15606 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15608 2013-05-07 Roland McGrath <roland@hack.frob.com>
15610 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15611 and _dl_skip_args_internal.
15613 2013-05-07 Carlos O'Donell <carlos@redhat.com>
15615 * manual/message.texi (Message Translation): Talk about users.
15616 Message to key mapping impacts design.
15618 2013-05-06 Roland McGrath <roland@hack.frob.com>
15620 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15622 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15624 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15625 * sysdeps/wordsize-64/glob64.c: ... here.
15627 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15628 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15631 * debug/getlogin_r_chk.c: Moved to ...
15632 * login/getlogin_r_chk.c: ... here.
15633 * debug/Makefile (routines): Move getlogin_r_chk to ...
15634 * login/Makefile (routines): ... here.
15635 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15636 * login/Versions (libc: GLIBC_2.4): ... here.
15638 * io/poll.c (__poll): Renamed from poll.
15639 Add libc_hidden_def.
15640 (poll): Define as weak alias.
15642 * debug/ptsname_r_chk.c: Moved to ...
15643 * login/ptsname_r_chk.c: ... here.
15644 * debug/Makefile (routines): Move ptsname_r_chk to ...
15645 * login/Makefile (routines): ... here.
15646 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15647 * login/Versions (libc: GLIBC_2.4): ... here.
15649 * posix/getlogin.c: Moved to ...
15650 * login/getlogin.c: ... here.
15651 * posix/getlogin_r.c: Moved to ...
15652 * login/getlogin_r.c: ... here.
15653 * posix/getlogin_r.c: Moved to ...
15654 * login/getlogin_r.c: ... here.
15655 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15656 * login/Makefile (routines): ... here.
15657 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15658 * login/Versions (libc: GLIBC_2.0): ... here.
15660 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15661 (setrlimit): Define as weak alias.
15663 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15664 Call __ names for open, ftruncate, and close.
15665 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15666 (truncate): Define as weak alias.
15668 2013-05-06 Joseph Myers <joseph@codesourcery.com>
15670 * math/gen-libm-test.pl (parse_args): Initialize x before each
15671 test of frexp, modf and remquo.
15673 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15674 test signgam value.
15676 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15680 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15682 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15684 2013-05-06 Roland McGrath <roland@hack.frob.com>
15686 * elf/dl-writev.h: New file.
15687 * elf/dl-misc.c: Include it.
15688 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15689 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15691 2013-05-04 Joseph Myers <joseph@codesourcery.com>
15693 * math/libm-test.inc (noXFails): Remove variable.
15694 (noXPasses): Likewise.
15695 (BUILD_COMPLEX_INT): Remove macro.
15696 (print_screen): Remove xfail argument.
15697 (print_screen_max_error): Likewise.
15698 (update_stats): Likewise.
15699 (print_max_error): Likewise. Update calls to other affected
15701 (print_complex_max_error): Likewise.
15702 (test_single_exception): Update calls to print_screen.
15703 (test_single_errno): Likewise.
15704 (check_float_internal): Remove xfail argument. Update calls to
15705 other affected functions.
15706 (check_float): Likewise.
15707 (check_complex): Likewise.
15708 (check_int): Likewise.
15709 (check_long): Likewise.
15710 (check_bool): Likewise.
15711 (check_longlong): Likewise.
15712 (main): Don't print noXFails and noXPasses.
15713 * math/gen-libm-test.pl (top level): Don't mention expected
15714 failure handling in comment.
15715 (new_test): Don't handle expected failures.
15716 (parse_args): Don't mention expected failure handling in comment.
15717 (generate_testfile): Don't handle expected failures.
15718 (parse_ulps): Likewise.
15719 (print_ulps_file): Likewise.
15720 (get_failure): Remove function.
15721 (output_test): Don't handle expected failures.
15722 * make/README.libm-test: Don't mention expected failure handling.
15724 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15725 (minus_zero): Likewise.
15726 (plus_infty): Likewise.
15727 (minus_infty): Likewise.
15728 (qnan_value): Likewise.
15729 (max_value): Likewise.
15730 (min_value): Likewise.
15731 (min_subnorm_value): Likewise.
15732 (initialize): Do not initialize those variables dynamically.
15734 2013-05-03 Roland McGrath <roland@hack.frob.com>
15736 * io/open.c (__open_2): Moved to ...
15737 * io/open_2.c: ... this new file.
15738 * io/open64.c (__open64_2): Moved to ...
15739 * io/open64_2.c: ... this new file.
15740 * io/openat.c (__openat_2): Moved to ...
15741 * io/openat_2.c: ... this new file.
15742 * io/openat64.c (__openat64_2): Moved to ...
15743 * io/openat64_2.c: ... this new file.
15744 * io/Makefile (routines): Add them.
15745 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15746 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15747 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15748 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15749 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15750 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15751 (__openat64): Add hidden_ver.
15752 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15753 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15755 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15756 Separately conditionalize setting of GLRO(dl_sysinfo) so
15757 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15758 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15760 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15762 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15763 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15765 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15766 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15767 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15768 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15769 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15771 2013-05-03 Joseph Myers <joseph@codesourcery.com>
15773 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15774 test signgam value.
15776 * math/libm-test.inc (hypot_test): Do not use
15777 IGNORE_ZERO_INF_SIGN.
15779 2013-05-03 Andreas Jaeger <aj@suse.de>
15781 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15783 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15784 (PF_MAX): Adjust for VSOCK change.
15786 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15790 2013-05-02 Carlos O'Donell <carlos@redhat.com>
15793 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15794 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15795 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15797 2013-05-02 David S. Miller <davem@davemloft.net>
15799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15801 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
15803 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15805 2013-05-01 Roland McGrath <roland@hack.frob.com>
15807 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15809 2013-05-01 Richard Smith <richard@metafoo.co.uk>
15812 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15813 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15814 Use __attribute__ ((__gnu_inline__)).
15815 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15816 Don't use __attribute__ ((__gnu_inline__)).
15818 2013-05-01 Joseph Myers <joseph@codesourcery.com>
15821 * math/s_catan.c (__catan): Handle small real or imaginary part of
15822 input specially to avoid spurious underflow.
15823 * math/s_catanf.c (__catanf): Likewise.
15824 * math/s_catanh.c (__catanh): Likewise.
15825 * math/s_catanhf.c (__catanhf): Likewise.
15826 * math/s_catanhl.c (__catanhl): Likewise.
15827 * math/s_catanl.c (__catanl): Likewise.
15828 * math/libm-test.inc (catan_test): Add more tests.
15829 (catanh_test): Likewise.
15830 * sysdeps/i386/fpu/libm-test-ulps: Update.
15831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15833 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15837 2013-04-30 Joseph Myers <joseph@codesourcery.com>
15840 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15841 accurately for denominator in atan2.
15842 * math/s_catanf.c (__catanf): Likewise.
15843 * math/s_catanh.c (__catanh): Likewise.
15844 * math/s_catanhf.c (__catanhf): Likewise.
15845 * math/s_catanhl.c (__catanhl): Likewise.
15846 * math/s_catanl.c (__catanl): Likewise.
15847 * math/libm-test.inc (catan_test): Add more tests.
15848 (catanh_test): Likewise.
15849 * sysdeps/i386/fpu/libm-test-ulps: Update.
15850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15852 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15854 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15856 * benchtests/Makefile (bench): Remove slow benchmarks.
15857 * benchtests/atan-inputs: Add slow benchmark inputs.
15858 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15859 (BENCH_FUNC): Accept variant offset.
15861 * benchtests/bench-skeleton.c (main): Run benchmark for each
15863 * benchtests/cos-inputs: Add slow benchmark inputs.
15864 * benchtests/exp-inputs: Likewise.
15865 * benchtests/pow-inputs: Likewise.
15866 * benchtests/sin-inputs: Likewise.
15867 * benchtests/slowatan-inputs: Remove.
15868 * benchtests/slowatan.c: Remove.
15869 * benchtests/slowcos-inputs: Remove.
15870 * benchtests/slowcos.c: Remove.
15871 * benchtests/slowexp-inputs: Remove.
15872 * benchtests/slowexp.c: Remove.
15873 * benchtests/slowpow-inputs: Remove.
15874 * benchtests/slowpow.c: Remove.
15875 * benchtests/slowsin-inputs: Remove.
15876 * benchtests/slowsin.c: Remove.
15877 * benchtests/slowtan-inputs: Remove.
15878 * benchtests/slowtan.c: Remove.
15879 * benchtests/tan-inputs: Add slow benchmark inputs.
15880 * scripts/bench.pl: Parse comments and directives.
15882 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15884 ($(objpfx)bench-%.c): Remove *-ITER.
15885 * benchtests/bench-modf.c: Remove definition of ITER.
15886 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15887 (main): Loop for DURATION seconds instead of fixed number of
15889 * scripts/bench.pl: Don't expect iterations in parameters.
15891 2013-04-29 Roland McGrath <roland@hack.frob.com>
15893 * io/fchdir.c (__fchdir): Renamed from fchdir.
15894 (fchdir): Define as weak alias.
15896 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15898 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15899 (ERRNO_EDOM): Likewise.
15900 (ERRNO_ERANGE): Likewise.
15901 (noErrnoTests): New variable.
15902 (init_max_error): Set errno to 0.
15903 (test_single_errno): New function.
15904 (test_errno): Likewise.
15905 (check_float_internal): Call test_errno. Set errno to 0.
15906 (check_complex): Refer to errno tests in comment.
15907 (check_int): Call test_errno. Set errno to 0.
15908 (check_long): Likewise.
15909 (check_bool): Likewise.
15910 (check_longlong): Likewise.
15911 (cos_test): Use ERRNO_* flags for errno tests instead of
15913 (expm1_test): Likewise.
15914 (fmod_test): Likewise.
15915 (ilogb_test): Likewise.
15916 (lgamma_test): Likewise.
15917 (pow_test): Likewise.
15918 (remainder_test): Likewise.
15919 (sin_test): Likewise.
15920 (tan_test): Likewise.
15921 (yn_test): Likewise.
15922 (initialize): Set errno to 0.
15923 (main): Print number of errno tests.
15924 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15926 2013-04-29 Andreas Jaeger <aj@suse.de>
15929 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15933 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15934 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15938 * stdlib/random.c (__initstate): Return NULL if
15942 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15943 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15946 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15950 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15952 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15953 of individual tests.
15954 (casin_test): Likewise.
15955 (casinh_test): Likewise.
15957 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15960 * math/s_catan.c (__catan): Handle arguments with large real or
15961 imaginary part separately without squaring.
15962 * math/s_catanf.c (__catanf): Likewise.
15963 * math/s_catanh.c (__catanh): Likewise.
15964 * math/s_catanhf.c (__catanhf): Likewise.
15965 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15967 (__catanhl): Handle arguments with large real or imaginary part
15968 separately without squaring.
15969 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15971 (__catanl): Handle arguments with large real or imaginary part
15972 separately without squaring.
15973 * math/libm-test.inc (catan_test): Add more tests.
15974 (catanh_test): Likewise.
15975 * sysdeps/i386/fpu/libm-test-ulps: Update.
15976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15978 2013-04-27 Andreas Jaeger <aj@suse.de>
15981 * stdlib/stdlib.h: Update guards for qecvt.
15982 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15985 2013-04-27 Allan McRae <allan@archlinux.org>
15987 * sysdeps/i386/fpu/libm-test-ulps: Update.
15989 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15992 * math/s_catan.c: Include <float.h>.
15993 (__catan): Ensure underflow exception occurs for underflowed
15995 * math/s_catanf.c: Include <float.h>.
15996 (__catanf): Ensure underflow exception occurs for underflowed
15998 * math/s_catanh.c: Include <float.h>.
15999 (__catanh): Ensure underflow exception occurs for underflowed
16001 * math/s_catanhf.c: Include <float.h>.
16002 (__catanhf): Ensure underflow exception occurs for underflowed
16004 * math/s_catanhl.c: Include <float.h>.
16005 (__catanhl): Ensure underflow exception occurs for underflowed
16007 * math/s_catanl.c: Include <float.h>.
16008 (__catanl): Ensure underflow exception occurs for underflowed
16010 * math/libm-test.inc (catan_test): Add more tests.
16011 (catanh_test): Likewise.
16014 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
16015 underflowed result.
16016 * math/s_ccoshf.c (__ccoshf): Likewise.
16017 * math/s_ccoshl.c (__ccoshl): Likewise.
16018 * math/s_csin.c (__csin): Likewise.
16019 * math/s_csinf.c (__csinf): Likewise.
16020 * math/s_csinh.c (__csinh): Likewise.
16021 * math/s_csinhf.c (__csinhf): Likewise.
16022 * math/s_csinhl.c (__csinhl): Likewise.
16023 * math/s_csinl.c (__csinl): Likewise.
16024 * math/libm-test.inc (ccos_test): Add more tests.
16025 (ccosh_test): Likewise.
16026 (csin_test): Likewise.
16027 (csinh_test): Likewise.
16029 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16031 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16032 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16033 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16034 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16035 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16036 powerpc/power5+/fpu folders.
16037 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16040 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16042 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16044 2013-04-25 Joseph Myers <joseph@codesourcery.com>
16046 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16047 additions to variable.
16048 [$(config-machine) = x86_64] (modules-names): Likewise.
16049 ($(objpfx)tst-audit3): Remove dependency.
16050 ($(objpfx)tst-audit3.out): Likewise.
16051 ($(objpfx)tst-audit4): Likewise.
16052 ($(objpfx)tst-audit4.out): Likewise.
16053 ($(objpfx)tst-audit5): Likewise.
16054 ($(objpfx)tst-audit5.out): Likewise.
16055 ($(objpfx)tst-audit6): Likewise.
16056 ($(objpfx)tst-audit6.out): Likewise.
16057 ($(objpfx)tst-audit7): Likewise.
16058 ($(objpfx)tst-audit7.out): Likewise.
16059 (tst-audit3-ENV): Remove variable.
16060 (tst-audit4-ENV): Likewise.
16061 (tst-audit5-ENV): Likewise.
16062 (tst-audit6-ENV): Likewise.
16063 (tst-audit7-ENV): Likewise.
16064 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16065 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16066 addition to variable.
16067 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16068 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16069 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16070 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16071 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16072 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16073 tst-audit3, tst-audit4 and tst-audit5.
16074 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16075 tst-audit6 and tst-audit7.
16076 [$(subdir) = elf] (modules-names): Add audit modules for those
16078 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16079 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16080 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16081 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16082 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16083 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16084 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16085 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16086 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16087 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16088 [$(subdir) = elf] (tst-audit3-ENV): New variable.
16089 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16090 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16091 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16092 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16093 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16095 [$(subdir) = elf && $(config-cflags-avx) = yes]
16096 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16097 [$(subdir) = elf && $(config-cflags-avx) = yes]
16098 (CFLAGS-tst-auditmod4a.c): Likewise.
16099 [$(subdir) = elf && $(config-cflags-avx) = yes]
16100 (CFLAGS-tst-auditmod4b.c): Likewise.
16101 [$(subdir) = elf && $(config-cflags-avx) = yes]
16102 (CFLAGS-tst-auditmod6b.c): Likewise.
16103 [$(subdir) = elf && $(config-cflags-avx) = yes]
16104 (CFLAGS-tst-auditmod6c.c): Likewise.
16105 [$(subdir) = elf && $(config-cflags-avx) = yes]
16106 (CFLAGS-tst-auditmod7b.c): Likewise.
16107 * elf/tst-audit3.c: Move to ...
16108 * sysdeps/x86_64/tst-audit3.c: ... here.
16109 * elf/tst-audit4.c: Move to ...
16110 * sysdeps/x86_64/tst-audit4.c: ... here.
16111 * elf/tst-audit5.c: Move to ...
16112 * sysdeps/x86_64/tst-audit5.c: ... here.
16113 * elf/tst-audit6.c: Move to ...
16114 * sysdeps/x86_64/tst-audit6.c: ... here.
16115 * elf/tst-audit7.c: Move to ...
16116 * sysdeps/x86_64/tst-audit7.c: ... here.
16117 * elf/tst-auditmod3a.c: Move to ...
16118 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16119 * elf/tst-auditmod3b.c: Move to ...
16120 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16121 * elf/tst-auditmod4a.c: Move to ...
16122 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16123 * elf/tst-auditmod4b.c: Move to ...
16124 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16125 * elf/tst-auditmod5a.c: Move to ...
16126 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16127 * elf/tst-auditmod5b.c: Move to ...
16128 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16129 * elf/tst-auditmod6a.c: Move to ...
16130 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16131 * elf/tst-auditmod6b.c: Move to ...
16132 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16133 * elf/tst-auditmod6c.c: Move to ...
16134 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16135 * elf/tst-auditmod7a.c: Move to ...
16136 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16137 * elf/tst-auditmod7b.c: Move to ...
16138 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16140 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
16143 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16144 define unconditionally.
16145 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16146 define unconditionally.
16147 (INT8_C, INT16_C, etc.): Likewise.
16149 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
16151 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16152 __ehdr_start with hidden visibility.
16154 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16156 2013-04-24 Carlos O'Donell <carlos@redhat.com>
16158 * math/libm-test.inc (cos_test): Use accurate hex constants.
16159 (sincost_test): Likewise.
16161 2013-04-24 Joseph Myers <joseph@codesourcery.com>
16163 * math/libm-test.inc (catan_test): Add more tests.
16164 (catanh_test): Likewise.
16166 * math/s_catanf.c (__catanf): Use suffixed floating-point
16168 * math/s_catanhf.c (__catanhf): Likewise.
16169 * math/s_catanhl.c (__catanhl): Likewise.
16170 * math/s_catanl.c (__catanl): Likewise.
16173 * math/s_catan.c (__catan): Calculate imaginary part of result
16174 with log1p not log unless computing log of number close to 0.
16175 * math/s_catanf.c (__catanf): Likewise.
16176 * math/s_catanl.c (__catanl): Likewise.
16177 * math/s_catanh.c (__catanh): Calculate real part of result with
16178 log1p not log unless computing log of number close to 0.
16179 * math/s_catanhf.c (__catanhf): Likewise.
16180 * math/s_catanhl.c (__catanhl): Likewise.
16181 * math/libm-test.inc (catan_test): Add more tests.
16182 (catanh_test): Likewise.
16183 * sysdeps/i386/fpu/libm-test-ulps: Update.
16184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16186 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16188 * benchtests/Makefile: Mention files in which fast and slow
16189 paths of math functions are implemented.
16191 2013-04-23 Roland McGrath <roland@hack.frob.com>
16193 * sysdeps/posix/timespec_get.c: New file.
16195 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16197 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16199 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16201 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16202 powerpc/power5/fpu folders.
16203 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16204 * benchtests/Makefile: Add modf testcase.
16205 * benchtests/bench-modf.c: New file: Benchmark test for mo
16207 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16210 * time/Makefile (tests): Add tst-strptime-whitespace.
16211 * time/strptime_l.c (get_number): Use ISSPACE.
16212 (__strptime_internal): Likewise.
16213 * time/tst-strptime-whitespace.c: New test case.
16215 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
16217 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16219 (_nss_files_init): Set it here.
16221 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
16223 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16224 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16227 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
16229 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16231 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16233 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16236 2013-04-21 David S. Miller <davem@davemloft.net>
16238 * po/ru.po: Update Russion translation from translation project.
16240 2013-04-17 Adam Conrad <adconrad@0c3.net>
16242 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16245 2013-04-17 Carlos O'Donell <carlos@redhat.com>
16247 * configure.in: Remove i386 configure warning. Remove i386 case.
16248 * configure: Regenerate.
16249 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
16250 Add example to error message.
16251 * sysdeps/i386/configure: Regenerate.
16253 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16255 * benchtests/Makefile (bench): Add cos, tan, slowcos and
16257 * benchtests/cos-inputs: New file.
16258 * benchtests/slowcos-inputs: New file.
16259 * benchtests/slowcos.c: New file.
16260 * benchtests/slowtan-inputs: New file.
16261 * benchtests/slowtan.c: New file.
16262 * benchtests/tan-inputs: New file.
16264 2013-04-16 Roland McGrath <roland@hack.frob.com>
16266 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
16269 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16271 * benchtests/Makefile: Include cppflags-iterator.mk to add
16272 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
16274 * Makefile.in (bench-clean): New target.
16275 * benchtests/Makefile (bench-clean): Likewise.
16277 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
16279 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
16281 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
16283 * stdio-common/tstdiomisc.c: Fix coding-style violation.
16285 2013-04-15 Andreas Schwab <schwab@suse.de>
16287 * nscd/grpcache.c (cache_addgr): Properly check for short write.
16288 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16289 * nscd/pwdcache.c (cache_addpw): Likewise.
16290 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
16293 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16295 * benchtests/Makefile (bench): Write all output to
16296 bench-out.tmp together.
16298 2013-04-15 Andreas Schwab <schwab@suse.de>
16300 * nscd/nscd.c (main): Don't fork again after closing files.
16302 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16304 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
16306 * benchtests/Rules (bench-deps): Collect dependencies into a
16307 single variable. Add Makefile to dependencies.
16308 ($(objpfx)bench-%.c): Depend on bench-deps.
16310 2013-04-12 Roland McGrath <roland@hack.frob.com>
16311 Xavier Roche <roche+kml2@exalead.com>
16314 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
16315 just that it's a file descriptor.
16316 * manual/llio.texi (Synchronizing AIO Operations): Update description
16317 for EBADF error from aio_fsync.
16319 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16321 * Rules (bench): Move target definition...
16322 * benchtests/Makefile: ... here.
16324 2013-04-11 Carlos O'Donell <carlos@redhat.com>
16326 * math/libm-test.inc (cos_test): Fix PI/2 test.
16327 (sincos_test): Likewise.
16328 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16329 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16331 2013-04-11 Andreas Schwab <schwab@suse.de>
16334 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
16335 accept exponent character only when digits were seen.
16336 * stdio-common/Makefile (tests): Add bug26.
16337 * stdio-common/bug26.c: New file.
16340 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16343 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16345 * Makeconfig (rtld-prefix): Define built linker prefix.
16346 * Rules (run-bench): Use it.
16347 * math/Makefile (run-regen-ulps): Likewise.
16349 * Rules (bench): Remove eval.
16351 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16352 Roland McGrath <roland@hack.frob.com>
16353 Ondrej Bilka <neleai@seznam.cz>
16356 * time/getdate.c: Include ctype.h and alloca.h.
16357 (__getdate_r): Trim leading and trailing spaces of input.
16358 * time/tst-getdate.c (tests): Add tests with leading and
16361 2013-04-08 Roland McGrath <roland@hack.frob.com>
16364 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
16365 when computing value.
16367 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16369 * math/README.libm-test (How can I generate "libm-test-ulps"?):
16370 Use testrun.sh to run libm tests.
16373 * elf/dl-open.c (dl_open_worker): memset all of seen array.
16375 2013-04-06 Marko Myllynen <myllynen@redhat.com>
16378 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16380 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16382 * Makefile.in (regen-ulps): New target.
16383 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16384 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16385 [ifneq (no,$(PERL)] (regen-ulps): New target.
16386 [ifeq (no,$(PERL)] (regen-ulps): New target.
16387 * math/libm-test.inc (ulps_file_name): Define.
16388 (output_dir): New variable.
16389 (options): Add "output-dir" option.
16390 (parse_opt): Handle 'o' case.
16391 (main): If output_dir is non-NULL use it as a prefix
16393 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
16395 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16397 [BZ #10060, #10062]
16398 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
16399 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
16400 fail configure if __sync_val_compare_and_swap is not inlined.
16401 * sysdeps/i386/configure: Regenerate.
16402 * configure.in: Build for i686 when configured for i386.
16403 * configure: Regenerate.
16404 * README: Remove i386 reference.
16406 2013-04-06 Carlos O'Donell <carlos@redhat.com>
16408 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
16409 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16411 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
16413 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
16414 (lmsnanval): New variables.
16415 (F): Add conversion tests.
16416 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
16417 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
16419 * stdio-common/tstdiomisc.c (F): Properly collect individual
16422 [BZ #14686, #15336]
16423 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
16424 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16425 Instead, use input NaN values or generate a qNaN by arithmetic
16426 operation. Also fix bugs to comply with the standard.
16427 * math/libm-test.inc (remainder_test): Add more tests.
16429 [BZ #15335, #15342]
16430 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
16431 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16432 input NaN values or generate a qNaN by arithmetic operation.
16434 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16437 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
16440 2013-04-03 Joseph Myers <joseph@codesourcery.com>
16443 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
16444 underflowed result.
16445 * math/s_cexpf.c (__cexpf): Likewise.
16446 * math/s_cexpl.c (__cexpl): Likewise.
16447 * math/libm-test.inc (cexp_test): Add more tests.
16449 2013-04-03 Andreas Schwab <schwab@suse.de>
16452 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
16453 order arrays from heap if bigger than alloca cutoff.
16455 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
16457 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16458 (SNAN_TESTS_double): Refer to GCC PR56831.
16459 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16462 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16464 * Rules (bench): Move bench.out after the run is complete.
16466 * Rules (bench): Echo currently running benchmark.
16468 * benchtests/Makefile (bench): Add atan and slowatan.
16469 * benchtests/atan-inputs: New file.
16470 * benchtests/slowatan-inputs: New file.
16471 * benchtests/slowatan.c: New file.
16473 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16474 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16478 * sysdeps/unix/sysv/linux/kernel-features.h
16479 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16480 __ASSUME_XFS_RESTRICTED_CHOWN.
16481 * sysdeps/unix/sysv/linux/pathconf.c
16482 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16483 Save and restore errno.
16485 2013-04-02 Joseph Myers <joseph@codesourcery.com>
16488 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16489 arguments using __kernel_casinh.
16490 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16491 arguments using __kernel_casinhf.
16492 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16493 arguments using __kernel_casinhl.
16494 * math/libm-test.inc (cacosh_test): Add more tests.
16495 * sysdeps/i386/fpu/libm-test-ulps: Update.
16496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16498 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16500 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
16501 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
16503 * bench/Makefile (bench): Add sin and slowsin.
16504 * benchtests/sin-inputs: New file.
16505 * benchtests/slowsin-inputs: New file.
16506 * benchtests/slowsin.c: New file.
16508 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
16509 (bench): Add slowexp and slowpow.
16510 (exp-ITER): Increase iterations.
16511 (pow-ITER): Likewise.
16512 * benchtests/exp-inputs: Change input.
16513 * benchtests/pow-inputs: Likewise.
16514 * benchtests/slowexp-inputs: New file.
16515 * benchtests/slowexp.c: New file.
16516 * benchtests/slowpow-inputs: New file.
16517 * benchtests/slowpow.c: New file.
16519 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16521 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
16523 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16524 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
16525 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16526 * benchtests/Makefile: Add rint benchtest.
16527 * benchtests/rint-inputs: Input for rint benchtest.
16529 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
16531 * Versions.def (libm): Add GLIBC_2.18.
16532 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
16533 hidden libm prototypes.
16534 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
16535 * math/Makefile (libm-calls): Add s_issignaling.
16536 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
16537 __issignalingf, __issignalingl. Adjust all libm.abilist files.
16538 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
16540 * math/math.h [__USE_GNU] (issignaling): New macro.
16541 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
16542 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
16543 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
16544 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
16545 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16546 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
16547 * manual/arith.texi (issignaling): New section.
16548 * manual/libm-err-tab.pl (@all_functions): Update comment.
16549 * math/gen-libm-test.pl (parse_args): Apply special handling for
16551 * math/libm-test.inc (print_float, issignaling_test): New
16553 (check_float_internal): Add issignaling checks.
16554 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16555 default definition.
16556 * sysdeps/powerpc/math-tests.h: New file.
16557 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16559 * math/test-snan.c (TEST_FUNC): Likewise.
16561 2013-03-30 David S. Miller <davem@davemloft.net>
16563 * po/de.po: Update from translation team.
16565 2013-03-30 Joseph Myers <joseph@codesourcery.com>
16568 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16569 imaginary part less than 1.0 and real part less than 0.5
16571 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16572 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16573 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
16574 (cacos_test): Add more tests.
16575 (casin_test): Likewise.
16576 (casinh_test): Likewise.
16577 * sysdeps/i386/fpu/libm-test-ulps: Update.
16578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16580 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16582 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
16583 ONE with its value.
16585 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
16586 (__pow_mp): Replace ONE and MONE with their values.
16587 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16588 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
16589 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16590 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
16591 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16592 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16594 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
16596 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
16597 (__pow_mp): Replace ZERO and MZERO with their values.
16598 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16599 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16600 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16601 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16602 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16603 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
16606 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16608 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16610 2013-03-28 Roland McGrath <roland@hack.frob.com>
16612 * include/stdlib.h [!SHARED] (__call_tls_dtors):
16613 Declare with __attribute__ ((weak)).
16614 * stdlib/exit.c (__libc_atexit) [!SHARED]:
16615 Call __call_tls_dtors only if it's not NULL.
16617 2013-03-28 Roland McGrath <roland@hack.frob.com>
16619 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16620 didn't do it already, then set _dl_phdr and _dl_phnum based on the
16621 magic __ehdr_start linker symbol if it's defined.
16622 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16623 them up here if it was already done.
16625 * elf/dl-support.c (_dl_phdr): Make pointer to const.
16626 (_dl_aux_init): Use const in cast when setting it.
16627 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16628 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16629 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16631 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16633 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16634 * csu/libc-tls.c: Nor here.
16635 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16637 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16638 (__libc_message): Never call vsyslog.
16640 2013-03-28 Alan Modra <amodra@gmail.com>
16642 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16644 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16647 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16650 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16654 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16657 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16658 Don't add gid passed as argument.
16660 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16662 2013-03-27 Joseph Myers <joseph@codesourcery.com>
16665 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16666 imaginary part between 1.0 and 1.5 and real part less than 0.5
16668 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16669 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16670 * math/libm-test.inc (cacos_test): Add more tests.
16671 (casin_test): Likewise.
16672 (casinh_test): Likewise.
16673 * sysdeps/i386/fpu/libm-test-ulps: Update.
16674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16676 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16678 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16681 (denorm): Likewise.
16682 (__dbl_mp): Likewise.
16683 (add_magnitudes): Likewise.
16684 (sub_magnitudes): Likewise.
16692 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16694 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16695 (__dubcos): Likewise.
16696 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16697 (__ieee754_acos): Likewise.
16698 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16699 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16700 (__exp1): Likewise.
16701 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16702 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16704 (my_log2): Likewise.
16705 (checkint): Likewise.
16706 * sysdeps/ieee754/dbl-64/e_remainder.c
16707 (__ieee754_remainder): Likewise.
16708 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16709 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16710 (bsloww): Likewise.
16711 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16713 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16714 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16715 MANTISSA_STORE_T to store computations on mantissa. Use
16716 macros for rounding and division.
16717 (denorm): Likewise.
16718 (__dbl_mp): Likewise.
16719 (add_magnitudes): Likewise.
16720 (sub_magnitudes): Likewise.
16723 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16724 powers of two in terms of TWOPOW macro.
16725 (mp_no): Make type of mantissa as MANTISSA_T.
16726 [!RADIXI]: Define RADIXI.
16727 [!TWO52]: Define TWO52.
16728 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16730 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16732 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16733 llroundl symbol when building for PPC32.
16735 2013-03-24 Mark H Weaver <mhw@netris.org>
16737 * manual/arith.texi (Normalization Functions): Fix prototypes for
16738 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16740 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16743 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16744 high value to check if expl overflow.
16745 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16746 to check for underflow and overflow.
16747 * math/libm-test.inc: Add exp test.
16749 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16752 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16755 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16757 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16760 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16762 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16763 wrap blocks consisting of several statements.
16765 * sysdeps/generic/math-tests.h: New file.
16766 * sysdeps/i386/fpu/math-tests.h: Likewise.
16767 * math/test-snan.c: Include it.
16768 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16770 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16773 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16774 (__ieee754_j0l): Do not improve calculations using cos of twice
16775 input for inputs above LDBL_MAX / 2.0L.
16776 (__ieee754_y0l): Likewise.
16777 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16778 (__ieee754_j1l): Do not improve calculations using cos of twice
16779 input for inputs above LDBL_MAX / 2.0L.
16780 (__ieee754_y1l): Likewise.
16781 * math/libm-test.inc (j0_test): Add another test.
16782 (j1_test): Likewise.
16783 (y0_test): Likewise.
16784 (y1_test): Likewise.
16785 * sysdeps/i386/fpu/libm-test-ulps: Update.
16787 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16789 * Rules ($(objpfx)bench-%.c): Include code from a C source
16792 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16795 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16796 imaginary part 1.0 and real part less than 0.5 specially.
16797 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16798 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16799 * math/libm-test.inc (cacos_test): Add more tests.
16800 (casin_test): Likewise.
16801 (casinh_test): Likewise.
16802 * sysdeps/i386/fpu/libm-test-ulps: Update.
16803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16805 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16807 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16808 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16810 2013-03-20 Joseph Myers <joseph@codesourcery.com>
16812 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16813 * config.make.in (config-cflags-sse4): Remove variable.
16814 (config-cflags-avx): Likewise.
16815 (config-cflags-sse2avx): Likewise.
16816 (config-cflags-novzeroupper): Likewise.
16817 (config-asflags-i686): Likewise.
16818 (have-mfma4): Likewise.
16819 (have-as-vis3): Likewise.
16821 * configure.in (MIG): Do not AC_SUBST.
16822 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16823 (libc_cv_cc_sse4): Do not AC_SUBST.
16824 (libc_cv_cc_avx): Likewise.
16825 (libc_cv_cc_sse2avx): Likewise.
16826 (libc_cv_cc_novzeroupper): Likewise.
16827 (libc_cv_cc_fma4): Likewise.
16828 (libc_cv_as_i686): Likewise.
16829 (libc_cv_sparc_as_vis3): Likewise.
16830 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16832 (config-asflags-i686): Likewise.
16833 (config-cflags-avx): Likewise.
16834 (config-cflags-sse2avx): Likewise.
16835 (have-mfma4): Likewise.
16836 (config-cflags-novzeroupper): Likewise.
16837 * sysdeps/mach/configure.in (MIG): Likewise.
16838 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16839 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16841 (config-cflags-avx): Likewise.
16842 (config-cflags-sse2avx): Likewise.
16843 (have-mfma4): Likewise.
16844 (config-cflags-novzeroupper): Likewise.
16845 * configure: Regenerated.
16846 * sysdeps/i386/configure: Likewise.
16847 * sysdeps/mach/configure: Likewise.
16848 * sysdeps/sparc/configure: Likewise.
16849 * sysdeps/x86_64/configure: Likewise.
16851 2013-03-20 Roland McGrath <roland@hack.frob.com>
16854 * locale/programs/localedef.c (options): Put N_ translation marker
16855 on argument names, not just descriptions.
16857 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16859 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16861 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
16864 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16866 2013-03-19 Roland McGrath <roland@hack.frob.com>
16868 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16869 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16870 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16871 [!BEFORE_ABORT] (before_abort): New function.
16872 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16873 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16874 (writev_for_fatal): New function.
16875 (WRITEV_FOR_FATAL): New macro; call that.
16876 (backtrace_and_maps): New function.
16877 (BEFORE_ABORT): New macro; call that.
16878 (struct str_list): Type removed.
16879 (__libc_message, __libc_fatal): Functions removed.
16880 Include <sysdeps/posix/libc_fatal.c> instead.
16882 2013-03-19 Joseph Myers <joseph@codesourcery.com>
16884 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16886 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16889 2013-03-19 Andreas Schwab <schwab@suse.de>
16891 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16892 * sysdeps/gnu/configure: Regenerate.
16894 * configure.in: Substitute libc_cv_rtlddir.
16895 * configure: Regenerate.
16896 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16897 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16898 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16899 * elf/Makefile (install-others, CFLAGS-interp.c)
16900 (ldso_install, common-ldd-rewrite): Likewise.
16901 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16902 $(inst_slibdir)/$(rtld-installed-name).
16903 * scripts/rellns-sh: Add -p option.
16904 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16907 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16909 * manual/nptl.texi: Renamed to ...
16910 * manual/threads.texi: ... this.
16911 * manual/Makefile (chapters): Update.
16913 2013-03-18 Roland McGrath <roland@hack.frob.com>
16916 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16917 on argument names, not just descriptions.
16918 * malloc/memusagestat.c (options): Likewise.
16919 * nss/getent.c (options): Likewise.
16921 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16924 * iconv/iconv_prog.c (options): Put N_ translation marker
16925 on argument names, not just descriptions.
16926 * iconv/iconvconfig.c (options): Likewise.
16928 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16930 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16931 implementation which is faster on all x86_64 architectures.
16932 Tested on AMD, Intel Nehalem, SNB, IVB.
16933 * sysdeps/x86_64/strnlen.S: Likewise.
16935 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16936 Remove all multiarch strlen and strnlen versions.
16937 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16938 Remove strlen and strnlen related parts.
16940 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16941 Inline strlen part.
16942 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16944 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16945 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16946 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16947 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16948 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16949 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16951 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16953 * manual/memory.texi (Malloc Tunable Parameters):
16954 Sort parameters alphabetically. Add comments for missing entries.
16956 2013-03-17 David S. Miller <davem@davemloft.net>
16958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16960 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16963 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16964 for arguments at most half maximum finite value.
16965 * math/libm-test.inc (j0_test): Add more tests.
16966 (j1_test): Likewise.
16967 (y0_test): Likewise.
16968 (y1_test): Likewise.
16969 * sysdeps/i386/fpu/libm-test-ulps: Update.
16970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16973 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16974 1 / x and functions P and Q for arguments above 0x1p256L.
16975 (__ieee754_y0l): Likewise.
16976 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16977 (__ieee754_y1l): Likewise.
16978 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16979 (j1_test): Likewise.
16980 (y0_test): Likewise.
16981 (y1_test): Likewise.
16983 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16985 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16988 2013-03-15 Roland McGrath <roland@hack.frob.com>
16990 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16991 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16992 zero since it's initialized to EXEC_PAGESIZE.
16994 * sysdeps/unix/sysv/linux/ldsodefs.h
16995 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16996 * sysdeps/generic/ldsodefs.h: ... here.
16998 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
17000 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
17002 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
17004 * math/test-snan.c: Renamed from
17005 sysdeps/powerpc/fpu/test-powerpc-snan.c.
17006 * math/Makefile (tests): Add test-snan.
17007 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
17010 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
17011 SUFFIX. Initialize qNaN_var with __builtin_nan family of
17013 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
17014 __builtin_nan family of functions.
17015 * math/libm-test.inc (initialize): Initialize qnan_value with
17016 __builtin_nan family of functions.
17017 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
17019 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17021 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
17022 storage class. Initialize qNaN_var and sNaN_var with
17023 __builtin_nan and __builtin_nans families of functions,
17026 * math/libm-test.inc (acosh_test): Also test with qNaN input.
17027 (sqrt_test): Remove duplicate test with qNaN input.
17028 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17029 (round_test, signbit_test, significand_test): Note missing +/-Inf
17030 as well as qNaN tests.
17032 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17033 qNaN_var. Fix a few strings, too.
17034 * math/libm-test.inc (nan_value): Rename to qnan_value.
17035 * math/gen-libm-test.pl (%beautify): Adjust to that.
17036 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17037 * math/test-misc.c (main): Likewise.
17038 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17039 to __qnan_bytes, and __qnan_union, respectively.
17040 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17042 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17043 and lqnanval, respectively.
17044 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17045 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17046 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17047 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17049 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17050 * math/test-misc.c (main) [__x86_64__]: Enable test for long
17053 * math/test-misc.c (main): Fix copy'n'pastos.
17054 * misc/tst-efgcvt.c (special): Likewise.
17056 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17057 Remove declarations.
17059 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17061 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17062 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17063 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17064 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17066 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17068 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17069 macro to return vdso values correctly in IFUNC implementations.
17070 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17071 Optimization by using IFUNC.
17073 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17074 Richard Henderson <rth@redhat.com>
17075 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17077 * Makefile.in (bench): New target.
17078 * NEWS: Mention the benchmark framework.
17079 * Rules (bench): Likewise.
17080 (binaries-bench): Generate binaries for functions to
17082 * benchtests/Makefile: New makefile for benchmark tests.
17083 * benchtests/bench-skeleton.c: New skeleton file for benchmark
17085 * benchtests/exp-inputs: New input file for EXP function.
17086 * benchtests/pow-inputs: New input file for POW function.
17087 * scripts/bench.pl: New script to generate source files for
17088 benchmark programs.
17090 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17092 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17093 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17094 computations on mantissa. Use macros for rounding and
17096 (denorm): Likewise.
17097 (__dbl_mp): Likewise.
17098 (add_magnitudes): Likewise.
17099 (sub_magnitudes): Likewise.
17102 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17103 powers of two in terms of TWOPOW macro.
17104 (mp_no): Make type of mantissa as MANTISSA_T.
17105 [!RADIXI]: Define RADIXI.
17106 [!TWO52]: Define TWO52.
17107 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17109 * manual/nptl.texi (cindex): Modify threads to pthreads.
17111 2013-03-15 Joseph Myers <joseph@codesourcery.com>
17113 * sysdeps/x86_64/preconfigure: Regenerated.
17115 2013-03-14 Joseph Myers <joseph@codesourcery.com>
17118 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17120 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17121 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17123 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17124 * math/libm-test.inc (j0_test): Do not allow one spurious
17125 underflow exception.
17126 (y1_test): Likewise.
17128 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17130 * manual/Makefile (chapters): Add nptl.
17131 * manual/debug.texi (Debugging Support): Add link to Threads
17133 * manual/nptl.texi: New file.
17135 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17137 2013-03-14 Petr Baudis <pasky@ucw.cz>
17139 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17140 for non-NULL pointer before the memory validity test. Pointed
17141 out by Holger Brunck <holger.brunck@keymile.com>.
17143 2013-03-13 Andreas Schwab <schwab@suse.de>
17145 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17148 2013-03-13 Joseph Myers <joseph@codesourcery.com>
17150 * timezone/zic.c: Update from tzcode 2013b.
17152 2013-03-12 Carlos O'Donell <carlos@redhat.com>
17154 * manual/install.texi (Configuring and compiling):
17155 Mention i686 and i586.
17156 * INSTALL: Regenerate.
17158 2013-03-12 Roland McGrath <roland@hack.frob.com>
17160 * sysdeps/init_array/elf-init.c: New file.
17162 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17163 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17165 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17166 __gmon_start__ as global, but as static with a .preinit_array pointer.
17167 * sysdeps/init_array/gmon-start.c: New file. Use that.
17168 * sysdeps/init_array/crti.S: New file, empty except for comments.
17169 * sysdeps/init_array/crtn.S: Likewise.
17171 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
17173 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17175 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17176 Remove Prefer_SSE_for_memop.
17177 * sysdeps/x86_64/multiarch/init-arch.h: Remove
17178 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17179 HAS_PREFER_SSE_FOR_MEMOP.
17180 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17182 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17183 Remove bzero, memset ifunc support.
17184 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17185 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17186 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17187 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17189 2013-03-11 Andreas Schwab <schwab@suse.de>
17192 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17195 (GLIBC_2.16): Remove pthread_atfork.
17197 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
17199 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17200 (ptestcases.h): Likewise.
17202 2013-03-08 Roland McGrath <roland@hack.frob.com>
17204 * Makeconfig ($(common-objpfx)config.status): Depend on
17205 sysdeps/*/preconfigure{,.in} too.
17207 2013-03-08 Joseph Myers <joseph@codesourcery.com>
17209 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17210 (__free_hook): Use void * instead of __malloc_ptr_t.
17211 (__malloc_hook): Likewise.
17212 (__realloc_hook): Likewise.
17213 (__memalign_hook): Likewise.
17214 (__after_morecore_hook): Likewise.
17215 * malloc/arena.c (save_malloc_hook): Likewise.
17216 (save_free_hook): Likewise.
17217 * malloc/hooks.c (malloc_hook_ini): Likewise.
17218 (realloc_hook_ini): Likewise.
17219 (memalign_hook_ini): Likewise.
17220 * malloc/malloc.c (malloc_hook_ini): Likewise.
17221 (realloc_hook_ini): Likewise.
17222 (memalign_hook_ini): Likewise.
17223 (__free_hook): Likewise.
17224 (__malloc_hook): Likewise.
17225 (__realloc_hook): Likewise.
17226 (__memalign_hook): Likewise.
17227 (__libc_malloc): Likewise.
17228 (__libc_free): Likewise.
17229 (__libc_realloc): Likewise.
17230 (__libc_memalign): Likewise.
17231 (__libc_valloc): Likewise.
17232 (__libc_pvalloc): Likewise.
17233 (__libc_calloc): Likewise.
17234 (__posix_memalign): Likewise.
17235 * malloc/morecore.c (__sbrk): Likewise.
17236 (__default_morecore): Likewise.
17238 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17240 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17241 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17242 __malloc_ptrdiff_t.
17244 * malloc/malloc.h (__malloc_size_t): Remove macro.
17245 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
17247 (old_memalign_hook): Likewise.
17248 (old_realloc_hook): Likewise.
17249 (struct hdr): Likewise.
17251 (mallochook): Likewise.
17252 (memalignhook): Likewise.
17253 (reallochook): Likewise.
17254 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
17255 (tr_old_realloc_hook): Likewise.
17256 (tr_old_memalign_hook): Likewise.
17257 (tr_mallochook): Likewise.
17258 (tr_reallochook): Likewise.
17259 (tr_memalignhook): Likewise.
17261 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17263 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
17264 default_ldbl_pack and using as default implementation.
17265 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
17267 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
17268 redundant definition.
17269 (ldbl_insert_mantissa): Likewise.
17270 (ldbl_canonicalize): Likewise.
17271 (ldbl_nearbyint): Likewise.
17272 (ldbl_pack): Rename to ldbl_pack_ppc.
17273 (ldbl_unpack): Rename to ldbl_unpack_ppc.
17274 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
17275 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
17277 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17279 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
17280 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
17281 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
17282 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
17283 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
17284 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
17285 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
17286 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
17288 2013-03-07 Andreas Jaeger <aj@suse.de>
17290 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17293 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17295 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
17296 Include mpa.h and declare __MPEXP.
17297 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
17298 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17299 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17300 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
17301 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17302 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17303 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
17305 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
17306 (__slowpow): Use long double EXPL and LOGL functions to
17308 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17309 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17310 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
17311 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17312 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17313 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
17315 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
17316 intermediate variable to calculate exponent.
17318 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17322 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
17323 [!NO__SQR]: Define __sqr.
17324 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
17325 and NO__SQR. Remove all code except __mul and __sqr. Include
17326 sysdeps/ieee754/dbl-64/mpa.c.
17327 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17330 * posix/Makefile (tests): Add tst-pathconf.
17331 * posix/tst-pathconf.c: New test case.
17332 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
17334 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
17336 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
17338 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
17340 2013-03-06 Andreas Jaeger <aj@suse.de>
17342 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
17343 definition via __MAP_ANONYMOUS.
17345 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
17346 it's not part of Linux headers.
17348 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
17349 (MAP_HUGE_MASK): Define.
17351 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17353 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17354 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17356 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17357 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17359 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17360 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17362 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17364 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
17365 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
17366 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
17367 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
17368 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
17369 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
17371 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17374 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17375 Handle f2fs and efivarfs.
17377 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17380 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17381 (EFIVARFS_MAGIC): Add.
17382 (F2FS_LINK_MAX): Add.
17384 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17386 * stdio-common/vfprintf.c: Replace __builtin_expect with
17389 2013-03-06 Joseph Myers <joseph@codesourcery.com>
17392 * sysdeps/generic/bp-sym.h: Remove file.
17393 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
17394 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
17395 <bp-sym.h> and <bp-asm.h>.
17396 (__longjmp): Don't use BP_SYM.
17397 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
17399 (memcpy): Don't use BP_SYM.
17400 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
17401 <bp-sym.h> and <bp-asm.h>.
17402 (memcpy): Don't use BP_SYM.
17403 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
17405 (memcpy): Don't use BP_SYM.
17406 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
17408 (memset): Don't use BP_SYM.
17409 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17410 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17411 (__bzero): Don't use BP_SYM.
17412 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17413 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17414 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
17415 <bp-sym.h> and <bp-asm.h>.
17416 (memcmp): Don't use BP_SYM. Remove comment about bounded
17418 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
17419 <bp-sym.h> and <bp-asm.h>.
17420 (memcpy): Don't use BP_SYM.
17421 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
17422 <bp-sym.h> and <bp-asm.h>.
17423 (memset): Don't use BP_SYM.
17424 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17425 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17426 (__bzero): Don't use BP_SYM.
17427 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17428 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17429 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
17430 <bp-sym.h> and <bp-asm.h>.
17431 (strncmp): Don't use BP_SYM. Remove comment about bounded
17433 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
17434 <bp-sym.h> and <bp-asm.h>.
17435 (memcpy): Don't use BP_SYM.
17436 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
17437 <bp-sym.h> and <bp-asm.h>.
17438 (memset): Don't use BP_SYM.
17439 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17440 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17441 (__bzero): Don't use BP_SYM.
17442 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17443 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17444 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
17445 <bp-sym.h> and <bp-asm.h>.
17446 (__memchr): Don't use BP_SYM.
17447 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
17448 <bp-sym.h> and <bp-asm.h>.
17449 (memcmp): Don't use BP_SYM. Remove comment about bounded
17451 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
17452 <bp-sym.h> and <bp-asm.h>.
17453 (memcpy): Don't use BP_SYM.
17454 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
17455 <bp-sym.h> and <bp-asm.h>.
17456 (__mempcpy): Don't use BP_SYM.
17457 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17458 <bp-sym.h> and <bp-asm.h>.
17459 (__memrchr): Don't use BP_SYM.
17460 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17461 <bp-sym.h> and <bp-asm.h>.
17462 (memset): Don't use BP_SYM.
17463 (__bzero): Likewise.
17464 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17465 <bp-sym.h> and <bp-asm.h>.
17466 (__rawmemchr): Don't use BP_SYM.
17467 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17468 <bp-sym.h> and <bp-asm.h>.
17469 (__STRCMP): Don't use BP_SYM.
17470 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17471 <bp-sym.h> and <bp-asm.h>.
17472 (strchr): Don't use BP_SYM.
17473 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17474 <bp-sym.h> and <bp-asm.h>.
17475 (__strchrnul): Don't use BP_SYM.
17476 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17477 <bp-sym.h> and <bp-asm.h>.
17478 (strlen): Don't use BP_SYM.
17479 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17480 <bp-sym.h> and <bp-asm.h>.
17481 (strncmp): Don't use BP_SYM. Remove comment about bounded
17483 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17484 <bp-sym.h> and <bp-asm.h>.
17485 (__strnlen): Don't use BP_SYM.
17486 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17487 <bp-sym.h> and <bp-asm.h>.
17488 (__GI__setjmp): Don't use BP_SYM.
17489 (_setjmp): Likewise.
17490 (__sigsetjmp): Likewise.
17491 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17492 (L(start_addresses)): Don't use BP_SYM.
17493 (_start): Likewise.
17494 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17496 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17497 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17498 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17499 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17500 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
17502 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
17503 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
17504 about bounded pointers.
17505 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17506 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17507 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
17509 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17510 about bounded pointers. Remove GKM FIXME comments.
17511 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17512 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
17514 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
17515 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
17516 Remove GKM FIXME comments.
17517 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17518 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17519 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
17521 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17522 about bounded pointers. Remove GKM FIXME comment.
17523 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
17525 (strncmp): Don't use BP_SYM. Remove comment about bounded
17527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
17528 <bp-sym.h> and <bp-asm.h>.
17529 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
17531 <bp-sym.h> and <bp-asm.h>.
17532 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17535 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17537 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
17540 2013-03-05 David S. Miller <davem@davemloft.net>
17542 * po/es.po: Update from translation team.
17544 2013-03-05 Andreas Jaeger <aj@suse.de>
17546 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
17547 <bits/mman-linux.h>.
17548 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17550 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17551 <bits/mman-linux.h> to end of file.
17552 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17554 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17555 <bits/mman-linux.h> to end of file.
17556 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17558 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17559 <bits/mman-linux.h> to end of file.
17561 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17562 (MCL_CURRENT, MCL_FUTURE): Define here.
17564 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17567 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17569 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17571 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17573 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
17574 fourth parameter needed for rt_sigprocmask syscall.
17575 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17576 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17577 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17578 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17579 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17580 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
17582 2013-03-04 Joseph Myers <joseph@codesourcery.com>
17585 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
17586 comment about bounded pointers.
17587 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
17588 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
17590 2013-03-04 Andreas Jaeger <aj@suse.de>
17592 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
17593 common definitions.
17595 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
17596 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
17597 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
17598 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17599 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17600 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17602 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17605 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17606 __ieee754_sqrl instead of __sqrl.
17608 2013-03-01 Joseph Myers <joseph@codesourcery.com>
17610 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17611 * sysdeps/powerpc/fpu_control.h: ... here.
17612 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17613 * sysdeps/powerpc/bits/fenvinline.h: ... here.
17614 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17615 * sysdeps/powerpc/bits/mathinline.h: ... here.
17617 2013-03-01 Roland McGrath <roland@hack.frob.com>
17619 * elf/dl-hwcaps.c (_dl_important_hwcaps):
17620 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17621 to just [NEED_DL_SYSINFO_DSO].
17622 * elf/dl-support.c: Likewise.
17623 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17624 * elf/rtld.c (dl_main): Likewise.
17625 * elf/setup-vdso.h (setup_vdso): Likewise.
17626 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17627 * sysdeps/unix/sysv/linux/dl-sysdep.c
17628 (_dl_discover_osversion): Likewise.
17630 2013-03-01 Carlos O'Donell <carlos@redhat.com>
17632 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17633 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17635 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17637 * NEWS: Mention libm performance improvements and non-x86 PI
17640 * csu/libc-start.c (__pthread_initialize_minimal): Change
17641 function arguments.
17642 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17644 2013-02-28 Joseph Myers <joseph@codesourcery.com>
17647 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17648 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17649 <bp-sym.h> and <bp-asm.h>.
17650 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17651 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17653 (memcpy): Don't use BP_SYM.
17654 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17656 (__mpn_add_n): Don't use BP_SYM.
17657 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17658 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17660 (__mpn_addmul_1): Don't use BP_SYM.
17661 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17662 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17664 (_setjmp): Don't use BP_SYM.
17665 (__novmx_setjmp): Likewise.
17666 (__GI__setjmp): Likewise.
17667 (__vmx_setjmp): Likewise.
17668 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17670 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17671 (__bzero): Don't use BP_SYM.
17672 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17673 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17674 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17675 <bp-sym.h> and <bp-asm.h>.
17676 (memcpy): Don't use BP_SYM.
17677 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17678 <bp-sym.h> and <bp-asm.h>.
17679 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17680 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17681 <bp-sym.h> and <bp-asm.h>.
17682 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17683 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17685 (__mpn_lshift): Don't use BP_SYM.
17686 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17687 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17689 (memset): Don't use BP_SYM.
17690 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17691 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17692 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17694 (__mpn_mul_1): Don't use BP_SYM.
17695 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17696 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17697 <bp-sym.h> and <bp-asm.h>.
17698 (memcmp): Don't use BP_SYM.
17699 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17700 <bp-sym.h> and <bp-asm.h>.
17701 (memcpy): Don't use BP_SYM.
17702 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17703 <bp-sym.h> and <bp-asm.h>.
17704 (memset): Don't use BP_SYM.
17705 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17706 <bp-sym.h> and <bp-asm.h>.
17707 (strncmp): Don't use BP_SYM.
17708 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17709 <bp-sym.h> and <bp-asm.h>.
17710 (memcpy): Don't use BP_SYM.
17711 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17712 <bp-sym.h> and <bp-asm.h>.
17713 (memset): Don't use BP_SYM.
17714 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17715 <bp-sym.h> and <bp-asm.h>.
17716 (__memchr): Don't use BP_SYM.
17717 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17718 <bp-sym.h> and <bp-asm.h>.
17719 (memcmp): Don't use BP_SYM.
17720 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17721 <bp-sym.h> and <bp-asm.h>.
17722 (memcpy): Don't use BP_SYM.
17723 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17724 <bp-sym.h> and <bp-asm.h>.
17725 (__mempcpy): Don't use BP_SYM.
17726 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17727 <bp-sym.h> and <bp-asm.h>.
17728 (__memrchr): Don't use BP_SYM.
17729 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17730 <bp-sym.h> and <bp-asm.h>.
17731 (memset): Don't use BP_SYM.
17732 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17733 <bp-sym.h> and <bp-asm.h>.
17734 (__rawmemchr): Don't use BP_SYM.
17735 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17736 <bp-sym.h> and <bp-asm.h>.
17737 (__STRCMP): Don't use BP_SYM.
17738 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17739 <bp-sym.h> and <bp-asm.h>.
17740 (strchr): Don't use BP_SYM.
17741 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17742 <bp-sym.h> and <bp-asm.h>.
17743 (__strchrnul): Don't use BP_SYM.
17744 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17745 <bp-sym.h> and <bp-asm.h>.
17746 (strlen): Don't use BP_SYM.
17747 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17748 <bp-sym.h> and <bp-asm.h>.
17749 (strncmp): Don't use BP_SYM.
17750 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17751 <bp-sym.h> and <bp-asm.h>.
17752 (__strnlen): Don't use BP_SYM.
17753 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17755 (__mpn_rshift): Don't use BP_SYM.
17756 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17757 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17758 <bp-sym.h> and <bp-asm.h>.
17759 (__sigsetjmp): Don't use BP_SYM.
17760 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17761 (L(start_addresses)): Don't use BP_SYM.
17762 (_start): Likewise.
17763 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17765 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17766 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17767 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17768 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17770 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17771 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17772 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17773 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17775 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17777 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17778 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17780 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17782 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17783 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17784 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17786 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17788 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17790 (strncmp): Don't use BP_SYM,
17791 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17793 (__mpn_sub_n): Don't use BP_SYM.
17794 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17795 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17797 (__mpn_submul_1): Don't use BP_SYM.
17798 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17800 <bp-sym.h> and <bp-asm.h>.
17801 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17803 <bp-sym.h> and <bp-asm.h>.
17804 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17807 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17809 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17810 Use ZK to minimize writes to Z.
17811 (sub_magnitudes): Simplify code a bit.
17812 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17813 Use ZK to minimize writes to Z.
17814 (sub_magnitudes): Simplify code a bit.
17816 2013-02-27 Roland McGrath <roland@hack.frob.com>
17818 * csu/gmon-start.c: Add special exception to license text.
17820 2013-02-27 Richard Henderson <rth@redhat.com>
17822 * scripts/config.guess: Update from config.git.
17823 * scripts/config.sub: Likewise.
17825 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17827 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17829 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17831 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17833 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17835 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17837 2013-02-26 Roland McGrath <roland@hack.frob.com>
17839 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17840 [$(build-shared = yes].
17842 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17844 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17845 (__mul): Reduce iterations for calculating mantissa.
17847 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17849 (__mpranred): Likewise.
17852 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17853 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17855 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17857 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17858 Define __attribute__.
17860 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17862 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17864 * posix/regex_internal.h (__attribute): Remove.
17865 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17866 (re_string_context_at): Likewise.
17867 (bitset_not): Use __attribute__ and mark function as possibly
17869 (bitset_merge): Likewise.
17870 (bitset_mask): Likewise.
17871 (re_string_char_size_at): Likewise.
17872 (re_string_wchar_at): Likewise.
17873 (re_string_elem_size_at): Likewise.
17875 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17877 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17881 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17885 (denorm): Likewise.
17886 (__dbl_mp): Likewise.
17887 (add_magnitudes): Likewise.
17888 (sub_magnitudes): Likewise.
17892 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17895 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17898 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17901 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17902 up changes with default code.
17903 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17906 2013-02-24 Allan McRae <allan@archlinux.org>
17908 * manual/socket.texi (The Internet Namespace): Order menu items
17909 to match that in the file.
17911 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17912 node listing of the info page menu.
17914 2013-02-21 Joseph Myers <joseph@codesourcery.com>
17917 * sysdeps/i386/bp-asm.h: Remove file.
17918 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17919 (PARMS): Do not use macros from bp-asm.h.
17923 (__mpn_add_n): Do not use BP_SYM
17924 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17926 (PARMS): Do not use macros from bp-asm.h.
17929 (__mpn_addmul_1): Do not use BP_SYM
17930 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17932 (PARMS): Do not use macros from bp-asm.h.
17933 (SIGMSK): Likewise.
17934 (_setjmp): Likewise. Do not use BP_SYM.
17935 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17937 (PARMS): Do not use macros from bp-asm.h.
17938 (SIGMSK): Likewise.
17939 (setjmp): Likewise. Do not use BP_SYM.
17940 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17942 (PARMS): Do not use macros from bp-asm.h.
17943 (__frexp): Do not use BP_SYM.
17945 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17947 (PARMS): Do not use macros from bp-asm.h.
17948 (__frexpf): Do not use BP_SYM.
17949 (frexpf): Likewise.
17950 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17952 (PARMS): Do not use macros from bp-asm.h.
17953 (__frexpl): Do not use BP_SYM.
17954 (frexpl): Likewise.
17955 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17957 (PARMS): Do not use macros from bp-asm.h.
17958 (__remquo): Do not use BP_SYM.
17959 (remquo): Likewise.
17960 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17962 (PARMS): Do not use macros from bp-asm.h.
17963 (__remquof): Do not use BP_SYM.
17964 (remquof): Likewise.
17965 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17967 (PARMS): Do not use macros from bp-asm.h.
17968 (__remquol): Do not use BP_SYM.
17969 (remquol): Likewise.
17970 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17972 (PARMS): Do not use macros from bp-asm.h.
17975 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17976 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17978 (PARMS): Do not use macros from bp-asm.h.
17979 (strlen): Do not use BP_SYM.
17980 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17982 (PARMS): Do not use macros from bp-asm.h.
17986 (__mpn_add_n): Do not use BP_SYM.
17987 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17989 (PARMS): Do not use macros from bp-asm.h.
17992 (__mpn_addmul_1): Do not use BP_SYM.
17993 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17996 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17998 (PARMS): Do not use macros from bp-asm.h.
18001 (__mpn_lshift): Do not use BP_SYM.
18002 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
18004 (PARMS): Do not use macros from bp-asm.h.
18008 (memcpy): Likewise. Do not use BP_SYM.
18009 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
18010 libc_hidden_def and weak_alias.
18011 (mempcpy): Do not use BP_SYM in weak_alias.
18012 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
18014 (PARMS): Do not use macros from bp-asm.h.
18017 [!BZERO_P] (CHR): Likewise.
18018 (memset): Likewise. Do not use BP_SYM.
18019 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
18021 (PARMS): Do not use macros from bp-asm.h.
18024 (__mpn_mul_1): Do not use BP_SYM.
18025 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18027 (PARMS): Do not use macros from bp-asm.h.
18030 (__mpn_rshift): Do not use BP_SYM.
18031 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18033 (PARMS): Do not use macros from bp-asm.h.
18036 (strchr): Likewise. Do not use BP_SYM.
18037 (index): Do not use BP_SYM in weak_alias.
18038 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18040 (PARMS): Do not use macros from bp-asm.h.
18043 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
18044 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18046 (PARMS): Do not use macros from bp-asm.h.
18047 (strlen): Do not use BP_SYM.
18048 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18050 (PARMS): Do not use macros from bp-asm.h.
18054 (__mpn_sub_n): Do not use BP_SYM.
18055 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18057 (PARMS): Do not use macros from bp-asm.h.
18060 (__mpn_submul_1): Do not use BP_SYM.
18061 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18063 (PARMS): Do not use macros from bp-asm.h.
18067 (__mpn_add_n): Do not use BP_SYM.
18068 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18071 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18073 (PARMS): Do not use macros from bp-asm.h.
18076 (memcmp): Do not use BP_SYM.
18077 (bcmp): Do not use BP_SYM in weak_alias.
18078 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18080 (PARMS): Do not use macros from bp-asm.h.
18084 (memcpy): Likewise. Do not use BP_SYM.
18085 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18087 (PARMS): Do not use macros from bp-asm.h.
18091 (memmove): Likewise. Do not use BP_SYM.
18092 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
18094 (PARMS): Do not use macros from bp-asm.h.
18098 (__mempcpy): Likewise. Do not use BP_SYM.
18099 (mempcpy): Do not use BP_SYM in weak_alias.
18100 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18102 (PARMS): Do not use macros from bp-asm.h.
18105 [!BZERO_P] (CHR): Likewise.
18106 (memset): Likewise. Do not use BP_SYM.
18107 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18109 (PARMS): Do not use macros from bp-asm.h.
18111 (strcmp): Do not use BP_SYM.
18112 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18114 (PARMS): Do not use macros from bp-asm.h.
18117 [USE_AS_STRTOK_R] (SAVE): Likewise.
18118 (FUNCTION): Likewise. Do not use BP_SYM.
18119 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18121 (strtok_r): Likewise.
18122 (__GI___strtok_r): Likewise.
18123 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18124 (PARMS): Do not use macros from bp-asm.h.
18127 (__mpn_lshift): Do not use BP_SYM.
18128 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18129 (PARMS): Do not use macros from bp-asm.h.
18132 (__memchr): Do not use BP_SYM.
18133 (memchr): Do not use BP_SYM in weak_alias.
18134 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18135 (PARMS): Do not use macros from bp-asm.h.
18138 (memcmp): Do not use BP_SYM.
18139 (bcmp): Do not use BP_SYM in weak_alias.
18140 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18141 (PARMS): Do not use macros from bp-asm.h.
18144 (__mpn_mul_1): Do not use BP_SYM.
18145 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18147 (PARMS): Do not use macros from bp-asm.h.
18150 (__rawmemchr): Do not use BP_SYM.
18151 (rawmemchr): Do not use BP_SYM in weak_alias.
18152 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18153 (PARMS): Do not use macros from bp-asm.h.
18156 (__mpn_rshift): Do not use BP_SYM.
18157 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18158 (PARMS): Do not use macros from bp-asm.h.
18159 (SIGMSK): Likewise.
18160 (__sigsetjmp): Likewise. Do not use BP_SYM.
18161 * sysdeps/i386/start.S: Do not include "bp-sym.h".
18162 (_start): Do not use BP_SYM.
18163 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18164 (PARMS): Do not use macros from bp-asm.h.
18167 (__stpcpy): Likewise. Do not use BP_SYM.
18168 (stpcpy): Do not use BP_SYM in weak_alias.
18169 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18171 (PARMS): Do not use macros from bp-asm.h.
18175 (__stpncpy): Likewise. Do not use BP_SYM.
18176 (stpncpy): Do not use BP_SYM in weak_alias.
18177 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18178 (PARMS): Do not use macros from bp-asm.h.
18181 (strchr): Likewise. Do not use BP_SYM.
18182 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18184 (PARMS): Do not use macros from bp-asm.h.
18187 (__strchrnul): Likewise. Do not use BP_SYM.
18188 (strchrnul): Do not use BP_SYM in weak_alias.
18189 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18191 (PARMS): Do not use macros from bp-asm.h.
18193 (strcspn): Do not use BP_SYM.
18194 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18196 (PARMS): Do not use macros from bp-asm.h.
18199 (strpbrk): Likewise. Do not use BP_SYM.
18200 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18202 (PARMS): Do not use macros from bp-asm.h.
18205 (strrchr): Likewise. Do not use BP_SYM.
18206 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18207 (PARMS): Do not use macros from bp-asm.h.
18209 (strspn): Do not use BP_SYM.
18210 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18211 (PARMS): Do not use macros from bp-asm.h.
18215 (FUNCTION): Likewise. Do not use BP_SYM.
18216 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18218 (strtok_r): Likewise.
18219 (__GI___strtok_r): Likewise.
18220 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18221 (PARMS): Do not use macros from bp-asm.h.
18225 (__mpn_sub_n): Do not use BP_SYM.
18226 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18228 (PARMS): Do not use macros from bp-asm.h.
18231 (__mpn_submul_1): Do not use BP_SYM.
18232 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18234 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18236 (PARMS): Do not use macros from bp-asm.h.
18241 (__clone): Do not use BP_SYM.
18242 (clone): Do not use BP_SYM in weak_alias.
18243 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18245 (PARMS): Do not use macros from bp-asm.h.
18247 (__mmap64): Do not use BP_SYM.
18248 (mmap64): Do not use BP_SYM in weak_alias.
18249 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18250 <bp-sym.h> and <bp-asm.h>.
18251 (PARMS): Do not use macros from bp-asm.h.
18252 (__posix_fadvise64_l64): Do not use BP_SYM.
18253 * sysdeps/unix/sysv/linux/i386/semtimedop.S
18254 (PARMS): Do not use macros from bp-asm.h.
18256 (semtimedop): Do not use BP_SYM.
18257 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
18260 2013-02-21 Allan McRae <allan@archlinux.org>
18262 * manual/message.texi (Charset conversion in gettext):
18263 Move @end statement to beginning of line.
18265 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18267 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
18269 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18272 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
18273 (denorm): Likewise.
18274 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
18275 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
18277 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18279 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
18280 tail-call to the resolved function if pltexit isn't needed.
18282 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18284 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
18285 or Y being zero as being unlikely.
18286 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18289 2013-02-20 Carlos O'Donell <carlos@redhat.com>
18291 * manual/nss.texi (System Databases and Name Service Switch):
18292 Remove frobnicate @pxref.
18294 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18296 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18297 __attribute__ ((unused)) to __attribute__ ((__unused__)).
18299 2013-02-20 Petr Machata <pmachata@redhat.com>
18301 * elf/elf.h (R_ARM_TARGET1): New macro.
18302 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
18303 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
18304 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
18305 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
18306 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
18307 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
18308 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
18309 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
18310 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
18311 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
18312 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
18313 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
18314 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
18315 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18316 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
18317 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
18318 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
18319 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
18320 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
18321 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
18322 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
18323 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
18324 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
18325 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
18326 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
18327 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
18328 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
18329 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
18330 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
18331 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
18332 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
18333 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
18334 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
18335 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
18336 (R_ARM_THM_GOT_BREL12): Likewise.
18337 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
18338 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
18339 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
18340 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18341 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
18342 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
18343 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
18344 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
18345 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
18347 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18349 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18350 __attribute_used__ to __attribute__ ((unused)).
18352 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18354 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
18356 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
18357 comment formatting.
18358 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
18360 2013-02-19 Joseph Myers <joseph@codesourcery.com>
18363 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
18365 (ENTER): Remove both macro definitions.
18367 (CHECK_BOUNDS_LOW): Likewise.
18368 (CHECK_BOUNDS_HIGH): Likewise.
18369 (CHECK_BOUNDS_BOTH): Likewise.
18370 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
18371 (RETURN_BOUNDED_POINTER): Likewise.
18372 (RETURN_NULL_BOUNDED_POINTER): Likewise.
18373 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18374 (POP_ERRNO_LOCATION_RETURN): Likewise.
18375 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18376 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18377 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18379 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18380 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18381 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18382 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18383 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18384 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18385 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18386 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18387 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18388 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18389 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
18390 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
18391 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18392 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
18394 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18395 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
18397 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18398 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
18399 * sysdeps/i386/i586/memset.S (memset): Likewise.
18400 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
18401 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18402 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
18404 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18405 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
18406 Change uses of L(2) to L(out).
18407 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
18408 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
18409 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
18410 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18411 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
18413 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18414 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
18416 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18417 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
18418 (RETURN): Do not use macro LEAVE.
18419 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
18420 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
18421 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
18422 * sysdeps/i386/i686/memset.S (memset): Likewise.
18423 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
18424 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
18425 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18426 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
18428 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18429 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
18430 L(1_2) and L(1_3) into L(1).
18431 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18432 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
18433 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18434 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
18435 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18436 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
18437 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
18438 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18439 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
18441 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
18442 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18443 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
18444 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
18445 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
18446 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18447 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
18448 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
18449 * sysdeps/i386/strcspn.S (strcspn): Likewise.
18450 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
18451 * sysdeps/i386/strrchr.S (strrchr): Likewise.
18452 * sysdeps/i386/strspn.S (strspn): Likewise.
18453 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
18455 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18456 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
18457 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18458 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
18459 L(1_3) into L(1_1).
18460 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18461 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18462 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18464 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18466 2013-02-19 Jakub Jelinek <jakub@redhat.com>
18468 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18471 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18473 * math/atest-exp.c (exp_mpn): Remove ROUND.
18474 * math/atest-exp2.c (exp_mpn): Likewise.
18475 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18477 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18478 * stdlib/tst-tls-atexit-lib.c: Likewise.
18479 * stdlib/tst-tls-atexit.c: Likewise.
18481 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18483 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18484 and __attribute_alloc_size__.
18486 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18488 * include/programs/xmalloc.h: Change __attribute_alloc_size to
18489 __attribute_alloc_size__.
18490 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18491 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18493 2013-02-18 Mike Frysinger <vapier@gentoo.org>
18495 * include/programs/xmalloc.h: New file.
18496 * catgets/gencat.c: Include it.
18497 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18498 * elf/pldd.c: Likewise.
18499 * iconv/iconv_charmap.c: Likewise.
18500 * iconv/iconvconfig.c: Likewise.
18501 * iconv/strtab.c: Likewise.
18502 * locale/programs/locale.c: Likewise.
18503 * locale/programs/localedef.h: Likewise.
18504 * locale/programs/simple-hash.c: Likewise.
18505 * nscd/nscd.h: Likewise.
18506 * nss/makedb.c: Likewise.
18507 * sysdeps/generic/ldconfig.h: Likewise.
18509 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18511 * Versions.def: Add GLIBC_2.18.
18512 * include/link.h (struct link_map): New member l_tls_dtor_count.
18513 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
18514 (__call_tls_dtors): Likewise.
18515 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
18516 __cxa_thread_atexit_impl.
18517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18525 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
18528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
18530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18533 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
18534 (tests): Add test case tst-tls-atexit.
18535 (modules-names): Add shared library for tst-tls-atexit.
18536 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
18537 (GLIBC_PRIVATE): Add __call_tls_dtors.
18538 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
18540 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
18541 * stdlib/tst-tls-atexit.c: New test case.
18542 * stdlib/tst-tls-atexit-lib.c: New test case.
18544 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
18546 * elf/Versions (ld): Add _dl_find_dso_for_object.
18547 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
18548 * elf/dl-open.c (_dl_find_dso_for_object): New function.
18549 (dl_open_worker): Use _dl_find_dso_for_object.
18550 * elf/dl-sym.c (do_sym): Likewise.
18551 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18553 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18555 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18556 Syntactic changes only.
18557 (_dl_runtime_profile): Do a tail-call to the resolved function.
18559 2013-02-17 Joseph Myers <joseph@codesourcery.com>
18562 * sysdeps/x86_64/bp-asm.h: Remove file.
18563 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18564 <bp-sym.h> and <bp-asm.h>.
18565 (__clone): Do not use BP_SYM.
18566 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18567 <bp-sym.h> and <bp-asm.h>.
18568 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18569 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
18571 (_setjmp): Do not use BP_SYM.
18572 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
18574 (setjmp): Do not use BP_SYM.
18575 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
18577 (mempcpy): Do not use BP_SYM in weak_alias.
18578 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
18580 (strchr): Do not use BP_SYM.
18581 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
18583 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
18584 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
18585 (_start): Do not use BP_SYM.
18586 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
18588 (strcat): Do not use BP_SYM.
18589 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
18591 (STRCMP): Do not use BP_SYM.
18592 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
18594 (STRCPY): Do not use BP_SYM.
18595 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
18597 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
18599 (FUNCTION): Do not use BP_SYM.
18600 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
18602 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
18604 2013-02-17 Andreas Jaeger <aj@suse.de>
18606 * time/Versions: Sort entries.
18607 * string/Versions: Likewise.
18608 * resolv/Versions: Likewise.
18609 * posix/Versions: Likewise.
18610 * iconv/Versions: Likewise.
18611 * elf/Versions: Likewise.
18612 * wcsmbs/Versions: Likewise.
18614 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18616 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18617 loop termination condition.
18619 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18620 variable to calculate EZ.
18623 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18624 the lower precision input.
18626 2013-02-15 Joseph Myers <joseph@codesourcery.com>
18629 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18630 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18631 (run-via-rtld-prefix): Do not handle %-bp tests.
18632 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18633 (all-object-suffixes): Remove .ob.
18634 (bppfx): Remove variable.
18635 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18636 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18637 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18638 [$(build-bounded) = yes] (libtype.ob): Likewise.
18639 * Makerules (elide-routines.ob): Remove variable.
18640 (do-tests-clean): Do not handle *-bp.out.
18641 (common-mostlyclean): Do not handle *-bp and *-bp.out.
18642 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18643 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18644 (tests): Do not include $(tests-bp.out).
18645 (xtests): Do not include $(xtests-bp.out).
18646 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18647 [$(build-bounded) = yes] ($(addprefix
18648 $(objpfx),$(binaries-bounded))): Remove rule.
18649 ($(objpfx)%-bp.out): Remove rule.
18650 * config.make.in (build-bounded): Remove variable.
18651 * crypt/Makefile [$(build-bounded) = yes]
18652 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18653 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18654 append to variable.
18655 [$(build-bounded) = yes] (install-lib): Likewise.
18656 [$(build-bounded) = yes] (generated): Likewise.
18657 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18659 * intl/Makefile [$(build-bounded) = yes]
18660 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18661 * math/Makefile [$(build-bounded) = yes]
18662 ($(tests:%=$(objpfx)%-bp): Likewise.
18663 * misc/Makefile [$(build-bounded) = yes]
18664 ($(objpfx)tst-tsearch-bp): Likewise.
18665 * nptl/Makeconfig (bounded-thread-library): Remove variable.
18666 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18668 * string/Makefile (o-objects.ob): Remove variable.
18669 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18670 (CFLAGS-.ob): Remove variable.
18671 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18672 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18673 both definitions of variable.
18674 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18675 (ASFLAGS-.ob): Remove variable.
18677 2013-02-14 Joseph Myers <joseph@codesourcery.com>
18680 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18681 Remove __BOUNDED_POINTERS__ from condition.
18682 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18683 * string/bits/string2.h [!__NO_STRING_INLINES &&
18684 !__BOUNDED_POINTERS__]: Likewise.
18685 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18687 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18688 Remove conditional code.
18689 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18690 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18691 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18695 * csu/libc-start.c: Do not include <bp-sym.h>.
18696 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18697 * elf/dl-open.c: Do not include <bp-sym.h>.
18698 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18699 * math/fegetenv.c: Do not include <bp-sym.h>.
18700 (fegetenv): Do not use BP_SYM in versioned symbols.
18701 * nptl/sysdeps/pthread/bits/libc-lockP.h
18702 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18704 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18705 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18706 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18707 (__pthread_mutex_destroy): Likewise.
18708 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18709 (__pthread_mutex_lock): Likewise.
18710 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18711 (__pthread_mutex_trylock): Likewise.
18712 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18713 (__pthread_mutex_unlock): Likewise.
18714 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18715 (__pthread_mutexattr_init): Likewise.
18716 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18717 (__pthread_mutexattr_destroy): Likewise.
18718 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18719 (__pthread_mutexattr_settype): Likewise.
18720 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18721 (__pthread_rwlock_init): Likewise.
18722 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18723 (__pthread_rwlock_destroy): Likewise.
18724 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18725 (__pthread_rwlock_rdlock): Likewise.
18726 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18727 (__pthread_rwlock_tryrdlock): Likewise.
18728 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18729 (__pthread_rwlock_wrlock): Likewise.
18730 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18731 (__pthread_rwlock_trywrlock): Likewise.
18732 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18733 (__pthread_rwlock_unlock): Likewise.
18734 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18735 (__pthread_key_create): Likewise.
18736 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18737 (__pthread_setspecific): Likewise.
18738 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18739 (__pthread_getspecific): Likewise.
18740 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18742 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18743 (_pthread_cleanup_push_defer): Likewise.
18744 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18745 (_pthread_cleanup_pop_restore): Likewise.
18746 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18747 (pthread_setcancelstate): Likewise.
18748 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18750 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18751 (memchr): Do not use BP_SYM in weak_alias.
18752 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18753 (fegetenv): Do not use BP_SYM in versioned symbols.
18754 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18755 (fesetenv): Do not use BP_SYM in versioned symbols.
18756 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18757 (feupdateenv): Do not use BP_SYM in versioned symbols.
18758 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18759 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18760 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18761 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18762 (open64): Do not use BP_SYM in weak_alias.
18763 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18764 (fegetenv): Do not use BP_SYM in versioned symbols.
18765 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18766 (fesetenv): Do not use BP_SYM in versioned symbols.
18767 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18768 (feupdateenv): Do not use BP_SYM in versioned symbols.
18769 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18770 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18771 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18772 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18773 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18774 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18775 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18777 (__libc_start_main): Do not use BP_SYM.
18779 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18781 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18782 redundant return line.
18784 (denorm): Likewise.
18785 (dbl_mp): Likewise.
18786 (sub_magnitudes): Likewise.
18792 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18794 (denorm): Likewise.
18795 (dbl_mp): Likewise.
18796 (sub_magnitudes): Likewise.
18803 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18805 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18806 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18809 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18810 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18811 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18812 of __mul for squares.
18813 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18815 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18817 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18818 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18820 2013-02-13 Joseph Myers <joseph@codesourcery.com>
18823 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18825 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18826 prototype or function definition. Rename ubp_* variables and
18827 parameters. Remove argv definitions conditional on
18828 [__BOUNDED_POINTERS__].
18829 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18830 * elf/dl-runtime.c (_dl_fixup): Likewise.
18831 * include/set-hooks.h (RUN_HOOK): Likewise.
18832 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18834 * string/strcpy.c (strcpy): Do not use __unbounded.
18835 * sysdeps/generic/frame.h (struct layout): Likewise.
18836 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18837 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18838 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18839 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18840 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18841 (__backtrace): Likewise.
18842 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18844 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18845 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18846 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18848 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18849 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18850 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18851 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18852 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18853 Do not use __unbounded.
18854 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18855 Rename __unboundedrlimits parameter to rlimits in prototype.
18856 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18857 Do not use __unbounded.
18858 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18859 not use __ptrvalue.
18860 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18861 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18862 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18863 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18864 __ptrvalue or __unbounded.
18865 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18866 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18868 (__new_msgctl): Do not use __ptrvalue.
18869 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18871 (__libc_msgrcv): Do not use __ptrvalue.
18872 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18873 startup_info): Do not use __unbounded.
18874 (__libc_start_main): Likewise. Rename ubp_* variables and
18875 parameters. Remove argv definitions conditional on
18876 [__BOUNDED_POINTERS__].
18877 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18879 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18881 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18883 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18885 (__new_shmctl): Do not use __ptrvalue.
18886 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18887 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18889 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18890 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18891 (__libc_sigaction): Likewise.
18892 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18893 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18895 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18897 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
18899 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18901 * string/mempcpy.c: Implement by calling memcpy.
18903 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18905 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18907 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18910 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18911 values in the mantissa.
18913 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18914 minimize writes to Z.
18915 (sub_magnitudes): Simplify code a bit.
18917 2013-02-12 Roland McGrath <roland@hack.frob.com>
18919 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18920 from the message. The linker prefixes all warnings with that already.
18922 2013-02-12 Andreas Schwab <schwab@suse.de>
18925 * posix/regexec.c (extend_buffers): Add parameter min_len.
18926 (check_matching): Pass minimum needed length.
18927 (clean_state_log_if_needed): Likewise.
18928 (get_subexp): Likewise.
18929 * posix/Makefile (tests): Add bug-regex34.
18930 (bug-regex34-ENV): Define.
18931 * posix/bug-regex34.c: New file.
18934 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18935 elements compare against the byte sequence of it, not its name.
18936 * posix/Makefile (tests): Add bug-regex35.
18937 (bug-regex35-ENV): Define.
18938 * posix/bug-regex35.c: New file.
18940 2013-02-11 Tom de Vries <tom@codesourcery.com>
18942 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18944 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18945 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18946 (CHECK_EOL): Add undef.
18948 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18950 * bits/stdlib-bsearch.h: New file.
18951 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18952 * stdlib/stdlib.h: Likewise.
18954 2013-02-11 Roland McGrath <roland@hack.frob.com>
18956 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18957 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18959 * manual/search.texi (Array Search Function): Add missing const in
18961 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18962 declaration to use rlim_t.
18963 (Basic Scheduling Functions): Remove erroneous const from
18964 sched_getparam prototype. Remove erroneous * from
18965 sched_get_priority_max and sched_get_priority_min prototypes.
18966 (Resource Usage): Fix summary @comment on vtimes to refer to
18967 sys/vtimes.h rather than vtimes.h.
18968 Add missing *s in vtimes prototype.
18969 (Limits on Resources): Fix ulimit prototype to return long int.
18970 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18971 prototypes to use long int rather than double.
18972 (BSD Random): Fix initstate and setstate to use char *, not void *.
18973 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18974 prototype to make second argument 'struct aiocb64 *const[]'.
18975 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18976 (Status of AIO Operations): Remove erroneous const in aio_return and
18977 aio_return64 prototypes.
18978 (Synchronizing I/O): Fix sync prototype to return void.
18979 * manual/startup.texi (Suboptions): Remove an erroneous const in
18980 getsubopt prototype.
18981 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18982 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18983 use size_t rather than int.
18984 (Scanning All Users): Likewise for getpwent_r.
18985 (Setting Groups): Add missing const to setgroups prototype.
18986 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18987 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18988 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18989 'const void *' rather than 'const char *'.
18990 (Host Address Functions): Likewise for inet_ntop.
18991 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18992 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18993 ssize_t for return value.
18994 (Sending Data): Likewise for send, sendto, sendmsg.
18995 (Socket Option Functions): Add a missing const in setsockopt prototype.
18996 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18997 use wchar_t for the argument.
18998 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18999 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
19001 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
19002 double/float/long double for second argument.
19003 Fix return types of significand, significandf, significandl.
19004 * manual/filesys.texi (Setting Permissions): Use mode_t for second
19005 argument in fchmod prototype.
19006 (File Owner): Use uid_t and gid_t in fchown prototype.
19007 (File Times): Add const to utimes, futimes, and lutimes prototypes.
19008 (Making Special Files): Use mode_t and dev_t in mknod prototype.
19009 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
19010 use 'const struct dirent **' as argument types to CMP function pointer
19012 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
19013 (File Times): Fix summary magic @comment for struct utimbuf and utime
19014 to refer to utime.h, not time.h.
19015 * manual/string.texi (Argz Functions): Add missing const in
19016 argz_extract and argz_next prototypes.
19017 (Finding Tokens in a String): Likewise for basename.
19018 (String/Array Comparison): Fix typo in wcscasecmp prototype.
19019 (Copying and Concatenation): Fix typo in wmemmove prototype.
19020 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19021 (Signal Stack): Remove erroneous const in sigstack prototype.
19022 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19024 (Simple Calendar Time): Likewise for stime.
19025 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19027 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19028 say sys/sysctl.h instead.
19029 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19030 and vsyslog prototypes.
19032 2013-02-11 Tom de Vries <tom@codesourcery.com>
19034 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19037 2013-02-11 Roland McGrath <roland@hack.frob.com>
19039 * misc/sys/mman.h: Fix typo in mremap comment.
19041 2013-02-08 Roland McGrath <roland@hack.frob.com>
19043 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19044 the '\0' terminator.
19046 2013-02-08 Joseph Myers <joseph@codesourcery.com>
19049 * debug/segfault.c: Don't include <bp-checks.h>.
19050 * sysdeps/generic/bp-checks.h: Remove file.
19051 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19052 (__GETDENTS): Don't use CHECK_N.
19053 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19054 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19055 (__getgroups): Don't use CHECK_N.
19056 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19057 (setgroups): Don't use CHECK_N.
19058 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19059 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19060 (__libc_msgrcv): Don't use CHECK_N.
19061 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19062 (__libc_msgsnd): Don't use CHECK_N.
19063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19065 (__libc_pread): Don't use CHECK_N.
19066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19067 include <bp-checks.h>.
19068 (__libc_pread64): Don't use CHECK_N.
19069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19070 include <bp-checks.h>.
19071 (__libc_pwrite): Don't use CHECK_N.
19072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19073 include <bp-checks.h>.
19074 (__libc_pwrite64): Don't use CHECK_N.
19075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19077 (__libc_pread): Don't use CHECK_N.
19078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19079 include <bp-checks.h>.
19080 (__libc_pread64): Don't use CHECK_N.
19081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19082 include <bp-checks.h>.
19083 (__libc_pwrite): Don't use CHECK_N.
19084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19085 include <bp-checks.h>.
19086 (__libc_pwrite64): Don't use CHECK_N.
19087 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19088 (do_pread): Don't use CHECK_N.
19089 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19090 (do_pread64): Don't use CHECK_N.
19091 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19092 (do_pwrite): Don't use CHECK_N.
19093 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19094 (do_pwrite64): Don't use CHECK_N.
19095 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19096 (__libc_readv): Don't use CHECK_N.
19097 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19098 (semop): Don't use CHECK_N.
19099 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19101 (semtimedop): Don't use CHECK_N.
19102 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19103 (__libc_pread): Don't use CHECK_N.
19104 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19106 (__libc_pread64): Don't use CHECK_N.
19107 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19109 (__libc_pwrite): Don't use CHECK_N.
19110 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19112 (__libc_pwrite64): Don't use CHECK_N.
19113 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19115 (__libc_msgrcv): Don't use CHECK_N.
19116 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19117 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
19118 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19119 (__libc_writev): Don't use CHECK_N.
19121 2013-02-08 Roland McGrath <roland@hack.frob.com>
19123 * string/strcpy.c: Removed unused variable.
19125 * Makeconfig (+sysdep-includes): Define with := rather than =.
19126 Use an existing include/ subdir of each sysdeps dir before it.
19128 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19130 * nscd/connection.c (register_traced_file): Comment function.
19131 [HAVE_INOTIFY] (union __inev): Define.
19132 [HAVE_INOTIFY] (inotify_check_files): New function.
19133 [HAVE_INOTIFY] (clear_db_cache): Likewise.
19134 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19136 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19138 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19140 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19141 loaded if not already and that a failure is permanent.
19143 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19146 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19147 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19149 2013-02-08 Joseph Myers <joseph@codesourcery.com>
19152 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19153 (CHECK_1_NULL_OK): Likewise.
19154 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19155 (__fxstat): Do not use CHECK_1.
19156 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19158 (___fxstat64): Do not use CHECK_1.
19159 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19161 (__fxstatat): Do not use CHECK_1.
19162 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19164 (__fxstatat64): Do not use CHECK_1.
19165 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19167 (__fxstat): Do not use CHECK_1.
19168 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19170 (__fxstatat): Do not use CHECK_1.
19171 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19173 (__getresgid): Do not use CHECK_1.
19174 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19176 (__getresuid): Do not use CHECK_1.
19177 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19179 (__lxstat): Do not use CHECK_1.
19180 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19182 (__old_msgctl): Do not use CHECK_1.
19183 (__new_msgctl): Likewise.
19184 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19186 (__new_setrlimit): Do not use CHECK_1.
19187 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19189 (__old_shmctl): Do not use CHECK_1.
19190 (__new_shmctl): Likewise.
19191 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19193 (__xstat): Do not use CHECK_1.
19194 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19195 (__lxstat): Do not use CHECK_1.
19196 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19198 (___lxstat64): Do not use CHECK_1.
19199 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19200 (__old_msgctl): Do not use CHECK_1.
19201 (__new_msgctl): Likewise.
19202 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19204 (__gettimeofday): Do not use CHECK_1.
19205 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19206 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19207 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19209 (__gettimeofday): Do not use CHECK_1.
19210 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19211 (__old_shmctl): Do not use CHECK_1_NULL_OK.
19212 (__new_shmctl): Do not use CHECK_1.
19213 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19215 (do_sigtimedwait): Do not use CHECK_1.
19216 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19218 (do_sigwaitinfo): Do not use CHECK_1.
19219 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19221 (msgctl): Do not use CHECK_1.
19222 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19224 (shmctl): Do not use CHECK_1.
19225 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19226 (ustat): Do not use CHECK_1.
19227 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19229 (__fxstat): Do not use CHECK_1.
19230 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19232 (__fxstatat): Do not use CHECK_1.
19233 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19235 (__lxstat): Do not use CHECK_1.
19236 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19238 (__xstat): Do not use CHECK_1.
19239 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19240 (__xstat): Do not use CHECK_1.
19241 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19242 (___xstat64): Do not use CHECK_1.
19245 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
19247 (CHECK_BOUNDS_HIGH): Likewise.
19248 * string/strcpy.c: Do not include <bp-checks.h>.
19249 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
19251 2013-02-07 Roland McGrath <roland@hack.frob.com>
19253 * nscd/nscd-client.h (__nscd_drop_map_ref):
19254 Add __attribute__ ((unused)).
19255 * nis/nss-nisplus.h (niserr2nss): Likewise.
19257 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
19258 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
19260 * csu/libc-tls.c (init_static_tls, init_slotinfo):
19261 Remove inline keyword.
19262 * include/rounding-mode.h (round_away): Likewise.
19263 * libio/wfileops.c (adjust_wide_data): Likewise.
19264 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
19265 (__m128i_strloadu_tolower): Likewise.
19266 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
19267 (__m128i_strloadu_tolower): Likewise.
19268 * time/mktime.c (ydhms_diff): Likewise.
19269 * locale/elem-hash.h (elem_hash): Likewise.
19270 * locale/setlocale.c (setdata): Likewise.
19271 * posix/regex_internal.h (re_string_char_size_at): Likewise.
19272 (re_string_wchar_at): Likewise.
19273 (bitset_not, bitset_merge, bitset_mask): Likewise.
19274 [!(__GNUC__ > 3)] (inline): Remove macro.
19275 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
19276 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
19277 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19278 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19279 * string/memcmp.c (memcmp_bytes): Likewise.
19280 * locale/programs/locarchive.c (compute_hashval): Likewise.
19281 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
19282 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
19283 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
19284 * nss/getent.c (print_rpc, print_protocols): Likewise.
19285 (print_passwd, print_group, print_aliases): Likewise.
19286 * nis/nss-nisplus.h (niserr2nss): Likewise.
19287 * nscd/connections.c (restart_p): Likewise.
19288 Change return type to bool.
19290 2013-02-05 Roland McGrath <roland@hack.frob.com>
19292 * Makeconfig (all-Depend-files): Add existing
19293 $(sorted-subdirs:=/Depend) files.
19294 (all-subdirs): Remove nss.
19295 * sysdeps/unix/inet/Subdirs: Add it here instead.
19296 * hesiod/Depend: New file.
19298 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
19299 instead of calling alloca.
19301 * io/lseek.c (__lseek): Rename to __libc_lseek.
19302 Define __lseek as an alias.
19304 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
19306 2013-02-04 Carlos O'Donell <carlos@redhat.com>
19308 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
19309 else clause and remove check for non-standard endianness.
19311 2013-02-04 David S. Miller <davem@davemloft.net>
19313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19315 2013-02-04 Joseph Myers <joseph@codesourcery.com>
19318 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
19319 (__ubp_memchr): Remove prototype.
19320 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
19321 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19322 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
19323 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19324 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
19326 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
19327 (__ubp_memchr): Likewise.
19328 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19329 (__ubp_memchr): Likewise.
19330 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
19331 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
19332 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
19333 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
19335 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19336 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
19337 (__getcwd): Do not use CHECK_STRING.
19338 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19340 (__real_chown): Do not use CHECK_STRING.
19341 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
19343 (fchownat): Do not use CHECK_STRING.
19344 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
19346 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19348 (__lchown): Do not use CHECK_STRING.
19349 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19350 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19351 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19352 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19354 include <bp-checks.h>.
19355 (truncate64): Do not use CHECK_STRING.
19356 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19358 (__real_chown): Do not use CHECK_STRING.
19359 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19361 (__lchown): Do not use CHECK_STRING.
19362 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19364 (__chown): Do not use CHECK_STRING.
19365 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
19367 (truncate64): Do not use CHECK_STRING.
19368 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
19370 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
19371 (__xmknod): Do not use CHECK_STRING.
19372 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19374 (__xmknodat): Do not use CHECK_STRING.
19375 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19376 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19378 2013-02-04 Andreas Schwab <schwab@suse.de>
19381 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19382 * include/netdb.h: Likewise for h_errno.
19383 * elf/tst-stackguard1.c: Include <tls.h>.
19385 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
19387 * elf/link.h (struct link_map): Extend the l_addr comment.
19388 * include/link.h (struct link_map): Likewise.
19390 2013-02-01 Joseph Myers <joseph@codesourcery.com>
19393 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
19394 (BOUNDED_1): Remove macro.
19395 * debug/backtrace.c: Don't include <bp-checks.h>.
19396 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
19397 (__backtrace): Likewise.
19398 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
19400 (__backtrace): Don't use BOUNDED_1.
19401 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
19403 (__backtrace): Don't use BOUNDED_1.
19404 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
19405 (__backtrace): Don't use BOUNDED_1.
19406 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
19407 (shmat): Don't use BOUNDED_N.
19409 2013-01-31 Joseph Myers <joseph@codesourcery.com>
19412 * sysdeps/generic/bp-start.h: Remove file.
19413 * csu/libc-start.c: Don't include <bp-start.h>.
19414 (LIBC_START_MAIN): Set up __environ directly instead of using
19415 INIT_ARGV_and_ENVIRON.
19416 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
19420 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
19422 (CHECK_FCNTL): Likewise.
19423 (CHECK_N_PAGES): Likewise.
19426 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19428 (CHECK_SIGSET_NULL_OK): Likewise.
19429 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
19431 (sigpending): Don't use CHECK_SIGSET.
19432 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
19434 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19435 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
19437 (do_sigsuspend): Don't use CHECK_SIGSET.
19438 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
19440 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
19441 (do_sigwait): Don't use CHECK_SIGSET.
19442 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
19444 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
19445 include <bp-checks.h>.
19446 (sigpending): Don't use CHECK_SIGSET.
19447 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
19448 include <bp-checks.h>.
19449 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19450 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
19452 (sigpending): Don't use CHECK_SIGSET.
19453 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
19455 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19458 * sysdeps/generic/bp-semctl.h: Remove file.
19459 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19460 <bp-checks.h> and <bp-semctl.h>.
19461 (__old_semctl): Don't use CHECK_SEMCTL.
19462 (__new_semctl): Likewise.
19463 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19465 (__old_semctl): Don't use CHECK_SEMCTL.
19466 (__new_semctl): Likewise.
19467 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19468 <bp-checks.h> and <bp-semctl.h>.
19469 (__old_semctl): Don't use CHECK_SEMCTL.
19470 (__new_semctl): Likewise.
19471 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19472 <bp-checks.h> and <bp-semctl.h>.
19473 (semctl): Don't use CHECK_SEMCTL.
19476 * Makerules (elide-bp-thunks): Remove variable.
19477 (elide-routines.oS): Don't use $(elide-bp-thunks).
19478 (elide-routines.os): Likewise.
19479 (elide-routines.o): Likewise.
19480 (elide-routines.op): Likewise.
19481 (elide-routines.og): Likewise.
19482 (objects): Don't use $(bp-thunks).
19483 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19485 (common-generated): Do not add s-proto-bp.d.
19486 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19489 Do not generate makefile rules for bounded-pointer thunks.
19490 * sysdeps/generic/bp-thunks.h: Remove file.
19491 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19492 * sysdeps/unix/s-proto-bp.S: Likewise.
19495 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19496 parts of result separately when argument is not close to line from
19497 -i to i and one part of argument is small.
19498 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19499 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19500 * math/libm-test.inc (cacos_test): Add more tests.
19501 (casin_test): Likewise.
19502 (casinh_test): Likewise.
19503 * sysdeps/i386/fpu/libm-test-ulps: Update.
19504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19506 2013-01-31 David S. Miller <davem@davemloft.net>
19508 * po/de.po: Update from translation team.
19510 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
19512 * time/tzfile.c: Include stdint.h for SIZE_MAX.
19514 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
19516 * configure.in (_AC_PROG_CC_C89): New definition.
19517 * configure: Regenerate.
19519 * configure.in (AC_PROG_CPP): New definition.
19520 * configure: Regenerate.
19522 2013-01-23 Joseph Myers <joseph@codesourcery.com>
19524 * debug/tst-backtrace.h: New file.
19525 * debug/tst-backtrace2.c: Include tst-backtrace.h.
19526 (ret): Remove variable.
19528 (FAIL): Remove macro.
19529 (NO_INLINE): Likewise.
19530 (fn1): Use match function instead of strstr.
19531 * debug/tst-backtrace3.c: Include tst-backtrace.h.
19532 (ret): Remove variable.
19534 (FAIL): Remove macro.
19535 (NO_INLINE): Likewise.
19536 (fn): Use match function instead of strstr.
19537 * debug/tst-backtrace4.c: Include tst-backtrace.h.
19538 (ret): Remove variable.
19540 (FAIL): Remove macro.
19541 (NO_INLINE): Likewise.
19542 (handle_signal): Use match function instead of strstr.
19543 * debug/tst-backtrace5.c: Include tst-backtrace.h.
19544 (ret): Remove variable.
19546 (FAIL): Remove macro.
19547 (NO_INLINE): Likewise.
19548 (handle_signal): Use match function instead of strstr.
19550 2013-01-23 Roland McGrath <roland@hack.frob.com>
19552 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19554 2013-01-23 David S. Miller <davem@davemloft.net>
19556 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19557 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19558 argument of CAS if possible.
19559 * sysdeps/sparc/sparc64/bits/atomic.h
19560 (__arch_compare_and_exchange_val_32_acq): Likewise.
19561 (__arch_compare_and_exchange_val_64_acq): Likewise.
19563 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
19565 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
19566 * sysdeps/posix/ulimit.c: ... this.
19567 Include <limits.h>.
19568 * sysdeps/unix/bsd/ulimit.c: Remove file.
19570 2013-01-23 Adam Conrad <adconrad@0c3.net>
19572 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
19573 (LDFLAGS-tst-array5): Likewise.
19575 2013-01-23 Joseph Myers <joseph@codesourcery.com>
19578 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
19579 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
19580 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
19581 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
19583 2013-01-21 David S. Miller <davem@davemloft.net>
19585 * sysdeps/sparc/backtrace.c: New file.
19586 * sysdeps/sparc/sparc32/backtrace.h: New file.
19587 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
19588 * sysdeps/sparc/sparc64/backtrace.h: New file.
19589 * sysdeps/sparc/sparc64/backtrace.c: Delete.
19590 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
19593 2013-01-21 Andreas Schwab <schwab@suse.de>
19596 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
19599 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
19601 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
19603 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19605 2013-01-18 Joseph Myers <joseph@codesourcery.com>
19606 Mark Mitchell <mark@codesourcery.com>
19607 Tom de Vries <tom@codesourcery.com>
19608 Paul Pluzhnikov <ppluzhnikov@google.com>
19610 * debug/tst-backtrace2.c: New file.
19611 * debug/tst-backtrace3.c: Likewise.
19612 * debug/tst-backtrace4.c: Likewise.
19613 * debug/tst-backtrace5.c: Likewise.
19614 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19615 (CFLAGS-tst-backtrace3.c): Likewise.
19616 (CFLAGS-tst-backtrace4.c): Likewise.
19617 (CFLAGS-tst-backtrace5.c): Likewise.
19618 (LDFLAGS-tst-backtrace2): Likewise.
19619 (LDFLAGS-tst-backtrace3): Likewise.
19620 (LDFLAGS-tst-backtrace4): Likewise.
19621 (LDFLAGS-tst-backtrace5): Likewise.
19622 (tests): Add new tests tst-backtrace2, tst-backtrace3,
19623 tst-backtrace4 and tst-backtrace5.
19625 2013-01-18 Anton Blanchard <anton@samba.org>
19626 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19628 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19629 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19630 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19631 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19633 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19634 "+r" and remove output regs list as redundant. Add explicit inline
19635 asm to specify register of return val to work around compiler codegen
19636 bug. Remove (int) cast on return value. Add return type parameter to
19637 use in macro so that this macro does not truncate return value for
19639 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19640 pass to INTERNAL_VSYSCALL_NCS.
19641 (INLINE_VSYSCALL): Add 'long int' as return type to
19642 INTERNAL_VSYSCALL_NCS macro invocation.
19643 (INTERNAL_VSYSCALL): Add 'long int' as return type to
19644 INTERNAL_VSYSCALL_NCS macro invocation.
19645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19647 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19650 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19651 Fix application of SIMD FP exception mask.
19653 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19654 mp_no from a power of two.
19655 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19656 __mpexp_twomm1. Use __pow_mp.
19658 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19661 2013-01-17 David S. Miller <davem@davemloft.net>
19663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19665 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19668 * include/complex.h: Condition contents on [!_COMPLEX_H].
19669 (__kernel_casinhf): New prototype.
19670 (__kernel_casinh): Likewise.
19671 (__kernel_casinhl): Likewise.
19672 * math/Makefile (libm_calls): Add k_casinh.
19673 * math/k_casinh.c: New file.
19674 * math/k_casinhf.c: Likewise.
19675 * math/k_casinhl.c: Likewise.
19676 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19677 finite nonzero arguments.
19678 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19679 finite nonzero arguments.
19680 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19681 finite nonzero arguments.
19682 * math/s_casinh.c: Do not include <float.h>.
19683 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19684 * math/s_casinhf.c: Do not include <float.h>.
19685 (__casinhf): Move code for finite nonzero arguments to
19687 * math/s_casinhl.c: Do not include <float.h>.
19688 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19690 (__casinhl): Move code for finite nonzero arguments to
19692 * math/libm-test.inc (cacos_test): Add more tests.
19693 * sysdeps/i386/fpu/libm-test-ulps: Update.
19694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19696 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19698 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19699 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19700 [!HAVE_MREMAP]: Remove [defined linux] case.
19701 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19703 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19705 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19707 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
19709 * elf/elf.h (R_386_SIZE32): New relocation.
19710 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19712 (elf_machine_rela): Likewise.
19713 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19714 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19716 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19718 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19719 (FP_FAST_FMA): Do not define.
19720 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19721 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19722 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19723 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19724 !_SOFT_FLOAT]: Likewise.
19725 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19726 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19728 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19729 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19730 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19731 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19732 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19733 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19736 2013-01-16 Andreas Schwab <schwab@suse.de>
19739 * include/stdlib.h (__mktemp): Add declaration.
19740 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19741 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19743 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19745 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19747 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19748 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19749 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19751 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19752 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19754 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19756 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19757 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19758 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19760 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19761 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19763 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19765 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19767 2013-01-15 David S. Miller <davem@davemloft.net>
19769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19770 trunc{,f} to libm-sysdep_routes.
19771 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19781 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19782 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19783 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19784 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19785 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19786 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19789 nearbyint{,f} to libm-sysdep_routes.
19790 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19801 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19803 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19804 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19806 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19807 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19808 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19810 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19811 libc_feholdexcept and libc_fesetenv.
19813 2013-01-15 Mike Frysinger <vapier@gentoo.org>
19815 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19817 2013-01-14 David S. Miller <davem@davemloft.net>
19819 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19820 (SPARC_ASM_VIS2_IFUNC): Likewise.
19821 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19823 use of 'siam' instruction.
19824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19830 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19831 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19832 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19833 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19842 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19843 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19844 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19845 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19852 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19853 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19854 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19855 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19857 routines to libm-sysdep_routines.
19858 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19861 fdim/fdimf to libm-sysdep_routines.
19862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19870 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19871 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19872 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19873 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19875 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19877 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19878 to optimize copies.
19880 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19881 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19882 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19885 local variable MPTWO.
19886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19889 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19891 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19894 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19896 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19898 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19900 * manual/pattern.texi (glob_t): Document gl_flags.
19901 (glob64_t): Likewise.
19903 2013-01-11 David S. Miller <davem@davemloft.net>
19905 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19906 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19907 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19908 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19909 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19910 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19911 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19912 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19913 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19914 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19915 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19916 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19917 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19919 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19920 sparc V9 rather than using V8 code.
19921 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19922 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19924 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19926 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19929 2013-01-11 Roland McGrath <roland@hack.frob.com>
19931 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19932 not in the main loop.
19933 * configure: Regenerated.
19935 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19937 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19938 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19940 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19941 [!__GLIBC_HAVE_LONG_LONG] case.
19942 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19943 condition to just #else.
19944 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19945 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19946 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19947 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19949 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19950 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19951 #elif condition to just #else.
19952 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19953 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19954 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19955 #elif condition to just #else.
19957 2013-01-11 Steve Ellcey <sellcey@mips.com>
19959 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19960 (EF_MIPS_ARCH_64): Fix value.
19961 (EF_MIPS_ARCH_32R2): New.
19962 (EF_MIPS_ARCH_64R2): New.
19964 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19966 * Makeconfig (+link-pie-before-libc): New.
19967 (+link-pie-after-libc): Likewise.
19968 (+link-pie-tests): Likewise.
19969 (+link-pie): Rewritten.
19970 (link-before-libc): Remove $(config-LDFLAGS).
19971 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19972 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19973 (config-LDFLAGS): Renamed to ...
19974 (rtld-LDFLAGS): This.
19975 (rtld-tests-LDFLAGS): New macro.
19976 (link-libc-rpath-link): Likewise.
19977 (link-libc-tests-rpath-link): Likewise.
19978 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19979 (link-libc): Prepand $(link-libc-rpath-link).
19980 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19981 (test-program-prefix): New macro.
19982 (test-via-rtld-prefix): Likewise.
19983 (test-program-cmd): Likewise.
19984 (host-test-program-cmd): Likewise.
19985 * Makefile ($(common-objpfx)testrun.sh): Replace
19986 $(run-program-prefix) with $(test-program-prefix).
19987 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19989 ($(common-objpfx)shlib.lds): Likewise.
19990 (build-module-helper): Likewise.
19991 ($(common-objpfx)format.lds): Likewise.
19992 * Rules (binaries-pie-tests): New.
19993 (binaries-pie-notests): Likewise.
19994 (binaries-pie): Rewritten.
19995 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19996 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19997 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19998 (make-test-out): Replace $(host-built-program-cmd) with
19999 $(host-test-program-cmd).
20000 * config.make.in (build-hardcoded-path-in-tests): New variable.
20001 * configure.in (--enable-hardcoded-path-in-tests): New configure
20003 (hardcoded_path_in_tests): New AC_SUBST.
20004 * configure: Regenerated.
20005 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
20006 $(built-program-cmd) with $(test-program-cmd).
20007 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
20008 (test_program_cmd): This.
20009 * elf/Makefile ($(objpfx)order.out): Run test with
20010 $(test-program-prefix).
20011 ($(objpfx)order2.out): Likewise.
20012 ($(objpfx)tst-initorder.out): Likewise.
20013 ($(objpfx)tst-initorder2.out): Likewise.
20014 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
20015 $(test-program-cmd).
20016 ($(objpfx)tst-array1-static.out): Likewise.
20017 ($(objpfx)tst-array2.out): Likewise.
20018 ($(objpfx)tst-array3.out): Likewise.
20019 ($(objpfx)tst-array4.out): Likewise.
20020 ($(objpfx)tst-array5.out): Likewise.
20021 ($(objpfx)tst-array5-static.out): Likewise.
20022 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20023 $(test-program-cmd).
20024 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20025 $(run-program-prefix) with $(test-program-prefix).
20026 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20027 (test_program_prefix): This.
20028 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20029 $(run-program-prefix) with $(test-program-prefix).
20030 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20031 (test_program_prefix): This.
20032 * iconvdata/tst-tables.sh: Likewise.
20033 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20034 $(run-program-prefix) with $(test-program-prefix).
20035 ($(objpfx)tst-translit.out): Likewise.
20036 ($(objpfx)tst-gettext2.out): Likewise.
20037 ($(objpfx)tst-gettext4.out): Likewise.
20038 ($(objpfx)tst-gettext6.out): Likewise.
20039 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20040 (test_program_prefix): This.
20041 * intl/tst-gettext2.sh: Likewise.
20042 * intl/tst-gettext4.sh Likewise.
20043 * intl/tst-gettext6.sh: Likewise.
20044 * intl/tst-translit.sh: Likewise.
20045 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20046 with $(test-program-cmd).
20047 * libio/Makefile ($(objpfx)test-freopen.out): Replace
20048 $(run-program-prefix) with $(test-program-prefix).
20049 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20050 (test_program_prefix): This.
20051 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20052 $(run-program-prefix) with $(test-program-prefix).
20053 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20054 (test_program_prefix): This.
20055 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20056 * posix/Makefile ($(objpfx)globtest.out): Replace
20057 $(run-via-rtld-prefix) and $(test-wrapper) with
20058 $(test-program-prefix) and $(test-via-rtld-prefix).
20059 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20060 $(test-program-prefix).
20061 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20062 $(host-test-program-cmd).
20063 (tst-spawn-ARGS): Likewise.
20064 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20065 $(test-program-prefix).
20066 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20067 (test_via_rtld_prefix): This.
20068 (test_wrapper): Renamed to ...
20069 (test_program_prefix): This.
20070 (run_program_prefix): Replaced by test_program_prefix.
20071 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20072 (test_program_prefix): This.
20073 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20074 with $(host-test-program-cmd).
20075 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20076 $(run-program-prefix) with $(test-program-prefix).
20077 ($(objpfx)tst-printf.out): Likewise.
20078 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20079 $(test-program-cmd).
20080 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20081 (test_program_prefix): This.
20082 * stdio-common/tst-unbputc.sh: Likewise.
20083 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20084 $(run-program-prefix) with $(test-program-prefix).
20085 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20086 (test_program_prefix): This.
20087 * string/Makefile ($(objpfx)tst-svc.out): Replace
20088 $(built-program-cmd) with $(test-program-cmd).
20090 2013-01-11 Andreas Jaeger <aj@suse.de>
20093 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20094 value. Sync with Linux 3.7.
20096 2013-01-10 David S. Miller <davem@davemloft.net>
20098 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20099 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20100 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20102 2013-01-10 Roland McGrath <roland@hack.frob.com>
20104 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20106 * configure: Regenerated.
20108 2013-01-10 David S. Miller <davem@davemloft.net>
20110 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20111 sparc V9 rather than using V8 code.
20112 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20113 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20115 2013-01-10 Roland McGrath <roland@hack.frob.com>
20117 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20118 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20119 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20120 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20121 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20122 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20123 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20124 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20125 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20126 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20127 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20128 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20129 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20130 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20131 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20132 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20133 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20134 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20135 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20136 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20137 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20138 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20139 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20140 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20141 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20142 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20143 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20145 2013-01-10 David S. Miller <davem@davemloft.net>
20147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20149 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20151 * posix/Makefile (tests-static): New variable.
20152 (tests): Add $(tests-static).
20153 (tst-exec-static-ARGS): New variable.
20154 (tst-spawn-static-ARGS): Likewise.
20155 * posix/tst-exec-static.c: New file.
20156 * posix/tst-spawn-static.c: Likewise.
20157 * posix/tst-exec.c: Support run directly.
20158 * posix/tst-spawn.c: Likewise.
20160 2013-01-10 Joseph Myers <joseph@codesourcery.com>
20162 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20164 * math/bits/mathcalls.h (llrint): Likewise.
20165 (llround): Likewise.
20166 * stdlib/stdlib.h (struct drand48_data): Likewise.
20167 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20168 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20169 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20171 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20173 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20174 (elf_greg_t): Likewise.
20175 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20176 (__jmp_buf): Likewise.
20177 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20179 (llrint): Likewise, for all definitions.
20180 (llrintl): Likewise.
20182 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20183 Remove [__GNUC__] condition.
20184 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20185 condition to just [__USE_ISOC99].
20186 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20188 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20191 * sysdeps/unix/sysv/linux/x86/bits/environments.h
20192 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20194 (_POSIX_V6_ILP32_OFF32): Likewise.
20195 (_XBS5_ILP32_OFF32): Likewise.
20196 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20197 (__ILP32_OFFBIG_LDFLAGS): Likewise.
20199 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20201 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20203 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20204 doubles __mpexp_twomm1. Adjust usage.
20205 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20208 2013-01-10 Andreas Schwab <schwab@suse.de>
20211 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20212 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20214 2013-01-09 David S. Miller <davem@davemloft.net>
20217 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20218 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20219 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20220 (TCP_FASTOPEN): Define.
20221 (tcp_repair_opt): New structure.
20222 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20224 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20225 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20226 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
20227 (tcp_cookie_transactions): New structure.
20229 2013-01-09 Anton Blanchard <anton@samba.org>
20231 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20232 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20233 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20234 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20236 2013-01-09 Joseph Myers <joseph@codesourcery.com>
20238 * include/features.h (__USE_ANSI): Remove.
20240 2013-01-09 Roland McGrath <roland@hack.frob.com>
20242 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20244 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
20246 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
20248 * sysdeps/s390/fpu/libm-test-ulps: Update.
20250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20252 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
20256 (denorm): Likewise.
20257 (__mp_dbl): Likewise.
20258 (__dbl_mp): Likewise.
20259 (add_magnitudes): Likewise.
20260 (sub_magnitudes): Likewise.
20266 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
20270 (denorm): Likewise.
20271 (__mp_dbl): Likewise.
20272 (__dbl_mp): Likewise.
20273 (add_magnitudes): Likewise.
20274 (sub_magnitudes): Likewise.
20280 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
20284 (denorm): Likewise.
20285 (__mp_dbl): Likewise.
20286 (__dbl_mp): Likewise.
20287 (add_magnitudes): Likewise.
20288 (sub_magnitudes): Likewise.
20295 2013-01-08 Joseph Myers <joseph@codesourcery.com>
20297 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
20298 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
20299 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
20300 2 && __USE_EXTERN_INLINES]: Likewise.
20302 2013-01-08 Andreas Jaeger <aj@suse.de>
20305 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
20307 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20308 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20310 2013-01-07 Anton Blanchard <anton@samba.org>
20312 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
20313 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20314 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
20315 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20316 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20317 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20318 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
20319 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20320 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20321 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20322 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20323 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20324 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20325 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20326 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20327 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20328 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20329 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20330 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20331 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20332 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20333 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
20334 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20335 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20336 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
20337 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20338 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20339 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20340 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20341 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20342 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20343 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20344 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20345 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20346 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20347 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20348 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20349 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20350 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
20351 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20352 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
20353 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20354 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20356 2013-01-07 Joseph Myers <joseph@codesourcery.com>
20358 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
20359 (__MALLOC_PMT): Likewise.
20360 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
20361 [__GNUC__], only on [_LIBC].
20362 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20363 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
20364 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20365 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
20366 forward declaration.
20367 (realloc_hook_ini): Likewise.
20368 (memalign_hook_ini): Likewise.
20369 (__libc_memalign): Do not use __MALLOC_PMT in variable
20371 (__libc_valloc): Likewise.
20372 (__libc_pvalloc): Likewise.
20373 (__libc_calloc): Likewise.
20374 (__posix_memalign): Likewise.
20377 * math/s_casinh.c: Include <float.h>.
20378 (__casinh): Do not do computation with squaring and square root
20379 for large arguments.
20380 * math/s_casinhf.c: Include <float.h>.
20381 (__casinhf): Do not do computation with squaring and square root
20382 for large arguments.
20383 * math/s_casinhl.c: Include <float.h>.
20384 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20385 (__casinhl): Do not do computation with squaring and square root
20386 for large arguments.
20387 * math/libm-test.inc (casin_test): Add more tests.
20388 (casinh_test): Likewise.
20389 * sysdeps/i386/fpu/libm-test-ulps: Update.
20390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20392 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
20394 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
20395 (__x86_64_raw_data_cache_size): Likewise.
20396 (__x86_64_data_cache_size_half): Likewise.
20397 (__x86_64_raw_data_cache_size_half): Likewise.
20398 (__x86_64_shared_cache_size): Likewise.
20399 (__x86_64_raw_shared_cache_size): Likewise.
20400 (__x86_64_shared_cache_size_half): Likewise.
20401 (__x86_64_raw_shared_cache_size_half): Likewise.
20402 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
20404 (__x86_data_cache_size): This.
20405 (__x86_64_raw_data_cache_size): Renamed to ...
20406 (__x86_raw_data_cache_size): This.
20407 (__x86_64_data_cache_size_half): Renamed to ...
20408 (__x86_data_cache_size_half): This.
20409 (__x86_64_raw_data_cache_size_half): Renamed to ...
20410 (__x86_raw_data_cache_size_half): This.
20411 (__x86_64_shared_cache_size): Renamed to ...
20412 (__x86_shared_cache_size): This.
20413 (__x86_64_raw_shared_cache_size): Renamed to ...
20414 (__x86_raw_shared_cache_size): This.
20415 (__x86_64_shared_cache_size_half): Renamed to ...
20416 (__x86_shared_cache_size_half): This.
20417 (__x86_64_raw_shared_cache_size_half): Renamed to ...
20418 (__x86_raw_shared_cache_size_half): This.
20419 * sysdeps/x86_64/memcpy.S: Updated.
20420 * sysdeps/x86_64/memset.S: Likewise.
20421 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20422 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20423 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20425 2013-01-04 David S. Miller <davem@davemloft.net>
20427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20429 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
20431 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
20432 1 to avoid redefinition warning.
20433 (__USE_GNU): Don't define.
20434 (init_signaling_nan): Protoize.
20436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20438 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20440 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
20441 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
20442 (__cpymn): Likewise.
20443 (norm): Remove commented code.
20444 (denorm): Likewise.
20445 (__mp_dbl): Likewise.
20447 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
20448 (__cpymn): Likewise.
20449 (norm): Remove commented code.
20450 (denorm): Likewise.
20451 (__mp_dbl): Likewise.
20454 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
20455 mp_no value for 1.0 and 2.0.
20456 (norm): Use RADIXI instead of radixi.d.
20457 (denorm): Likewise.
20458 (__mul): Use 0.0 instead of zero.d.
20459 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20460 mp_no value for 1.0 and 2.0.
20461 (norm): Use RADIXI instead of radixi.d.
20462 (denorm): Likewise.
20463 (__mul): Use 0.0 instead of zero.d.
20465 2013-01-04 Joseph Myers <joseph@codesourcery.com>
20468 * math/s_casinh.c (__casinh): Reduce finite argument to first
20469 quadrant then set signs of results at the end.
20470 * math/s_casinhf.c (__casinhf): Likewise.
20471 * math/s_casinhl.c (__casinhl): Likewise.
20472 * math/libm-test.inc (casin_test): Add more tests.
20473 (casinh_test): Likewise.
20474 * sysdeps/i386/fpu/libm-test-ulps: Update.
20475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20477 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20479 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20481 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20483 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20485 (denorm): Likewise.
20486 (__mp_dbl): Likewise.
20489 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20490 and adjust the header comment.
20492 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20493 variable name from declaration.
20495 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
20497 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20498 Initialize COMMON_CPUID_INDEX_7 element.
20499 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
20500 (CPUID_RTM): Likewise.
20501 (HAS_RTM): Likewise.
20502 (COMMON_CPUID_INDEX_7): New enum.
20504 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
20507 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
20508 size is zero, record memory as freed.
20510 2013-01-03 Andreas Jaeger <aj@suse.de>
20512 * po/ia.po: Add new Interlingua translation.
20514 2012-01-03 Allan McRae <allan@archlinux.org>
20516 * locale/programs/localedef.c: Fix description of '--posix' flag.
20518 2013-01-02 Joseph Myers <joseph@codesourcery.com>
20520 * NEWS: Update dates in second copyright notice.
20521 * README: Update copyright dates in example.
20522 * manual/libc.texinfo: Update copyright dates.
20523 * scripts/test-installation.pl: Update copyright date in --version
20526 * hurd/ctty-input.c: Fix copyright notice formatting.
20527 * hurd/ctty-output.c: Likewise.
20528 * hurd/dtable.c: Likewise.
20529 * hurd/hurd-raise.c: Likewise.
20530 * hurd/hurdprio.c: Likewise.
20531 * hurd/msgportdemux.c: Likewise.
20532 * misc/sys/file.h: Likewise.
20533 * misc/sys/ioctl.h: Likewise.
20534 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20535 * sysdeps/mach/hurd/chdir.c: Likewise.
20536 * sysdeps/mach/hurd/fchdir.c: Likewise.
20537 * sysdeps/mach/hurd/rename.c: Likewise.
20538 * sysdeps/mach/hurd/rmdir.c: Likewise.
20539 * sysdeps/mach/hurd/seekdir.c: Likewise.
20540 * sysdeps/mach/hurd/setsid.c: Likewise.
20541 * sysdeps/posix/wait3.c: Likewise.
20543 * All files with FSF copyright notices: Update copyright dates
20544 using scripts/update-copyrights.
20545 * intl/plural.c: Regenerated.
20546 * locale/programs/charmap-kw.h: Likewise.
20547 * locale/programs/locfile-kw.h: Likewise.
20549 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20551 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20554 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20555 calculation loop and add branch prediction.
20557 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20558 check access beyond bounds of m1np.
20560 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20562 (__inv): Remove local variable MPTWO to use the global
20564 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20565 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20567 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20568 MP3HALFS static const.
20570 2013-01-01 David S. Miller <davem@davemloft.net>
20572 * po/ca.po: Update from translation team.
20574 2013-01-01 Joseph Myers <joseph@codesourcery.com>
20576 * scripts/update-copyrights: New file.
20577 * Makeconfig: Reformat copyright notice.
20578 * ctype/ctype.h: Likewise.
20579 * debug/swprintf_chk.c: Likewise.
20580 * elf/dl-cache.c: Likewise.
20581 * elf/dl-debug.c: Likewise.
20582 * elf/dl-object.c: Likewise.
20583 * grp/initgroups.c: Likewise.
20584 * hurd/Makefile: Likewise.
20585 * hurd/hurd/signal.h: Likewise.
20586 * hurd/hurdfault.c: Likewise.
20587 * hurd/hurdioctl.c: Likewise.
20588 * hurd/hurdlookup.c: Likewise.
20589 * hurd/intr-msg.c: Likewise.
20590 * iconv/gconv_open.c: Likewise.
20591 * libio/swprintf.c: Likewise.
20592 * locale/lc-ctype.c: Likewise.
20593 * locale/nl_langinfo.c: Likewise.
20594 * mach/Machrules: Likewise.
20595 * mach/Makefile: Likewise.
20596 * malloc/obstack.h: Likewise.
20597 * manual/Makefile: Likewise.
20598 * manual/tsort.awk: Likewise.
20599 * misc/bits/stab.def: Likewise.
20600 * nis/nis_print_group_entry.c: Likewise.
20601 * nis/nis_table.c: Likewise.
20602 * nis/nss_compat/compat-pwd.c: Likewise.
20603 * nis/nss_compat/compat-spwd.c: Likewise.
20604 * po/Makefile: Likewise.
20605 * posix/fnmatch.c: Likewise.
20606 * posix/regex.h: Likewise.
20607 * resolv/Makefile: Likewise.
20608 * resolv/nss_dns/dns-network.c: Likewise.
20609 * resolv/res_hconf.c: Likewise.
20610 * scripts/gen-sorted.awk: Likewise.
20611 * soft-fp/soft-fp.h: Likewise.
20612 * stdio-common/printf.h: Likewise.
20613 * stdlib/monetary.h: Likewise.
20614 * stdlib/random.c: Likewise.
20615 * stdlib/random_r.c: Likewise.
20616 * sysdeps/generic/Makefile: Likewise.
20617 * sysdeps/gnu/Makefile: Likewise.
20618 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20619 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20620 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20621 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20622 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20623 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20624 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20625 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20626 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20627 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20628 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20629 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20630 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20631 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20632 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20633 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20634 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20635 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20636 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20637 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20638 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20639 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20640 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20641 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20642 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20643 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20644 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20645 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20646 * sysdeps/mach/hurd/errnos.awk: Likewise.
20647 * sysdeps/mach/hurd/fork.c: Likewise.
20648 * sysdeps/mach/hurd/getcwd.c: Likewise.
20649 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20650 * sysdeps/mach/hurd/mmap.c: Likewise.
20651 * sysdeps/mach/hurd/utimes.c: Likewise.
20652 * sysdeps/mach/hurd/xmknod.c: Likewise.
20653 * sysdeps/posix/profil.c: Likewise.
20654 * sysdeps/posix/readdir_r.c: Likewise.
20655 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20656 * sysdeps/powerpc/bits/setjmp.h: Likewise.
20657 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20658 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20659 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20660 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20661 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20662 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20663 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20664 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20665 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20666 * sysdeps/pthread/lio_listio.c: Likewise.
20667 * sysdeps/sparc/dl-procinfo.h: Likewise.
20668 * sysdeps/unix/i386/sysdep.S: Likewise.
20669 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20670 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20671 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20672 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20674 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20675 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20676 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20677 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20678 * sysdeps/wordsize-32/divdi3.c: Likewise.
20679 * time/sys/time.h: Likewise.
20680 * wcsmbs/Makefile: Likewise.
20682 2013-01-01 David S. Miller <davem@davemloft.net>
20684 * po/fr.po: Update from translation team.
20686 * catgets/gencat.c: Update copyright year.
20687 * csu/version.c: Likewise.
20688 * debug/catchsegv.sh: Likewise.
20689 * debug/pcprofiledump.c: Likewise.
20690 * debug/xtrace.sh: Likewise.
20691 * elf/ldconfig.c: Likewise.
20692 * elf/ldd.bash.in: Likewise.
20693 * elf/pldd.c: Likewise.
20694 * elf/sotruss.ksh: Likewise.
20695 * elf/sprof.c: Likewise.
20696 * iconv/iconv_prog.c: Likewise.
20697 * iconv/iconvconfig.c: Likewise.
20698 * locale/programs/locale.c: Likewise.
20699 * locale/programs/localedef.c: Likewise.
20700 * login/programs/pt_chown.c: Likewise.
20701 * malloc/memusage.sh: Likewise.
20702 * malloc/memusagestat.c: Likewise.
20703 * malloc/mtrace.pl: Likewise.
20704 * nscd/nscd.c: Likewise.
20705 * nss/getent.c: Likewise.
20706 * nss/makedb.c: Likewise.
20707 * posix/getconf.c: Likewise.
20709 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20711 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20714 2012-12-30 Mike Frysinger <vapier@gentoo.org>
20716 * math/bits/mathcalls.h (modf): Use __nonnull.
20718 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20720 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20721 (split): Use macro CN instead of the bare value.
20722 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20724 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20725 instead of the bare value.
20726 (power1): Likewise.
20728 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20730 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20732 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20734 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20736 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20737 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20738 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20739 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20741 2012-12-28 Andreas Jaeger <aj@suse.de>
20743 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20744 values are from Linux 3.7.
20746 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20747 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20749 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20751 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
20754 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20756 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20757 variables with preprocessor constants.
20758 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20759 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20760 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20762 2012-12-27 Bruno Haible <bruno@clisp.org>
20765 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20768 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20770 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20771 and use variable directly.
20772 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20774 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20776 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20777 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20779 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20780 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20781 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20782 include directive. Remove local variable MPONE.
20783 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20784 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20785 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20787 2012-12-25 David S. Miller <davem@davemloft.net>
20789 * version.h (RELEASE): Set to "development".
20790 (VERSION): Set to "2.17.90".
20791 * NEWS: Add 2.18 section.
20793 2012-12-21 David S. Miller <davem@davemloft.net>
20795 * po/hr.po: Update from translation team.
20797 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20799 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20801 2012-12-19 Steve Ellcey <sellcey@mips.com>
20803 * NEWS: Mention new memcpy for MIPS.
20805 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20807 * manual/contrib.texi (Contributors): Spelling correction.
20809 2012-12-15 David S. Miller <davem@davemloft.net>
20811 * po/ru.po: Update from translation team.
20813 2012-12-13 David S. Miller <davem@davemloft.net>
20815 * NEWS: Mention IFUNC testsuite enhancements.
20817 * po/pl.po: Update from translation team.
20818 * po/bg.po: Likewise.
20820 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20821 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20823 2012-12-11 David S. Miller <davem@davemloft.net>
20825 * po/sv.po: Update from translation team.
20827 * po/vi.po: Update from translation team.
20829 * po/cs.po: Update from translation team.
20831 * po/de.po: Update from translation team.
20832 * po/eo.po: Likewise.
20833 * po/nl.po: Likewise.
20835 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20838 * manual/argp.texi (Argp Helper Functions): Move node to follow
20839 Argp Parsing State.
20842 * manual/conf.texi (Limits on File System Capacity): Mention if
20843 terminating null is included in the max size.
20845 2012-12-10 Andreas Jaeger <aj@suse.de>
20847 * po/cs.po: Update from translation team.
20849 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20851 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20852 void pointer and cast to uintptr_t.
20853 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20855 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20856 * sysdeps/s390/s390-64/memset.S: Likewise.
20858 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
20861 * menual/message.texi (Message Translation): Fix typos.
20862 (Helper programs for gettext): Likewise.
20864 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20867 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20870 2012-12-07 David S. Miller <davem@davemloft.net>
20872 * po/libc.pot: Update.
20874 2012-12-07 Richard Henderson <rth@redhat.com>
20877 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20878 normal/normal case to before the switch.
20879 (_FP_DIV): Likewise.
20881 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20882 Mike Frysinger <vapier@gentoo.org>
20884 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20885 check for __NR_fadvise64_64.
20887 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20889 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20890 0, not just to plain "0" as a statement.
20891 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20894 2012-12-06 Joseph Myers <joseph@codesourcery.com>
20896 * NEWS: Use sourceware.org in Bugzilla URL.
20898 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20901 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20903 * stdio-common/tst-put-error.c (do_test): Add newline to the
20904 padded test to ensure flush.
20906 2012-12-05 Jeff Law <law@redhat.com>
20908 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20910 2012-12-05 Joseph Myers <joseph@codesourcery.com>
20912 * README: Don't refer to ports add-on as distributed separately.
20913 Mention AArch64 in list of systems supported in the ports add-on.
20915 * LICENSES: Add more non-FSF copyright and license notices.
20917 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20920 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20922 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20923 10000 as width of padded output.
20925 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20927 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20929 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20930 variable LX with __attribute__ ((unused)).
20931 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20933 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20934 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20935 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20936 with __attribute__ ((unused)).
20938 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20940 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20942 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20944 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20945 (CFLAGS-nldbl-acos.c): New variable.
20946 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20947 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20948 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20949 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20950 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20951 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20952 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20953 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20954 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20955 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20956 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20957 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20958 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20959 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20960 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20961 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20962 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20963 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20964 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20965 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20966 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20967 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20968 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20969 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20970 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20971 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20972 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20973 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20974 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20975 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20976 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20977 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20978 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20979 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20980 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20981 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20982 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20983 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20984 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20985 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20986 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20987 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20988 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20989 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20990 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20991 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20992 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20993 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20994 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20995 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20996 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20997 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20998 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20999 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
21000 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
21001 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
21002 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
21003 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
21004 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
21005 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
21006 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
21007 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
21008 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
21009 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
21010 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
21011 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
21012 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
21013 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
21014 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
21015 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
21016 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
21017 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
21018 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21019 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21020 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21021 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21022 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21023 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21024 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21025 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21026 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21027 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21028 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21029 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21030 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21031 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21032 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21033 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21034 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21035 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21036 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21037 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21038 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21039 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21040 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21041 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21042 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21045 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21048 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21049 whole low double instead of just low 47 bits when splitting values
21052 2012-12-03 Allan McRae <allan@archlinux.org>
21054 * manual/stdio.texi (Predefined Printf Handlers): Remove
21055 @hsep and @vsep usage.
21057 2012-12-03 Mike Frysinger <vapier@gentoo.org>
21059 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21060 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21062 2012-12-03 Jeff Law <law@redhat.com>
21064 * time/sys/time.h (settimeofday): Do not mark TV argument
21067 2012-12-01 Mike Frysinger <vapier@gentoo.org>
21069 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21070 when currently writing and seek to current position when not.
21071 * libio/Makefile (tests): Remove bug-fclose1.
21072 * libio/bug-fclose1.c: Delete.
21074 2012-12-01 Joseph Myers <joseph@codesourcery.com>
21076 * manual/arith.texi (feenableexcept): Fix typo.
21077 (fedisableexcept): Likewise.
21079 2012-11-30 Roland McGrath <roland@hack.frob.com>
21081 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21082 second, differently-typed declaration, rather than a cast.
21084 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21086 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21087 * include/rpc/svc.h: ... here.
21089 2012-11-30 Aurelien Jarno <aurel32@debian.org>
21092 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21093 depending n and resplen2 to catch cases where answer
21096 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
21098 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21099 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21101 2012-11-29 Mike Frysinger <vapier@gentoo.org>
21103 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21105 2012-11-29 Roland McGrath <roland@hack.frob.com>
21107 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21109 2012-11-28 Jeff Law <law@redhat.com>
21112 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21113 dataset_temporary. Track alloca usage into alloca_used.
21114 If dataset is large allocate and release it via malloc/free.
21116 2012-06-04 Florian Weimer <fweimer@redhat.com>
21119 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21121 2012-11-28 David S. Miller <davem@davemloft.net>
21123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21125 2012-11-28 Joseph Myers <joseph@codesourcery.com>
21128 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21129 of pi/2 rounded to nearest to 64 bits.
21130 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21131 nearest to 64 bits.
21132 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21135 2012-11-28 Jeff Law <law@redhat.com>
21136 Martin Osvald <mosvald@redhat.com>
21139 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21140 * sunrpc/svc.c: Include time.h.
21141 (__svc_accept_failed): New function.
21142 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21143 any reason other than EINTR, call __svc_accept_failed.
21144 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21145 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21147 2012-11-28 Andreas Schwab <schwab@suse.de>
21149 * scripts/abilist.awk: Also handle indirect functions in .opd
21152 2012-11-28 Joseph Myers <joseph@codesourcery.com>
21155 * sysdeps/x86/fpu/powl_helper.c: New file.
21156 * sysdeps/x86/fpu/Makefile: Likewise.
21157 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21159 (__ieee754_powl): Use __powl_helper for finite arguments except
21160 integer exponents below 8.
21161 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21163 (__ieee754_powl): Use __powl_helper for finite arguments except
21164 integer exponents below 8.
21165 * math/libm-test.inc (pow_test): Add more tests and enable some
21166 previously disabled tests.
21167 * sysdeps/i386/fpu/libm-test-ulps: Update.
21168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21170 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21171 Carlos O'Donell <carlos_odonell@mentor.com>
21173 * nss/makedb.c (is_prime): Assert that input is odd and greater
21174 than 4. Note that fact in a comment too.
21175 (next_prime): Add 4 to input.
21177 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21180 * libio/Makefile (tests): Add test case tst-fwrite-error.
21181 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21182 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21183 * libio/tst-fwrite-error.c: New test case.
21185 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
21187 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21188 before casting to void *.
21189 * include/libc-internal.h (__pointer_type): New macro.
21190 (__integer_if_pointer_type_sub): Likewise.
21191 (__integer_if_pointer_type): Likewise.
21192 (cast_to_integer): Likewise.
21193 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21194 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21195 before casting to atomic64_t.
21196 (atomic_exchange_acq): Likewise.
21197 (__arch_exchange_and_add_body): Likewise.
21198 (__arch_add_body): Likewise.
21199 (atomic_add_negative): Likewise.
21200 (atomic_add_zero): Likewise.
21202 2012-11-26 Joseph Myers <joseph@codesourcery.com>
21204 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21205 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21206 (add_fdes): Likewise.
21207 (linear_search_fdes): Likewise.
21208 (binary_search_unencoded_fdes): Likewise.
21210 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
21212 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21214 2012-11-24 Adam Conrad <adconrad@0c3.net>
21216 * configure.in: Autodetect C++ header directories.
21217 * configure: Regenerated.
21219 2012-11-23 Mike Frysinger <vapier@gentoo.org>
21221 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21223 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
21225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21227 2012-11-22 Joseph Myers <joseph@codesourcery.com>
21229 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21230 LDBL_MANT_DIG == 106]: Disable some tests.
21231 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21233 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21237 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21238 input for small inputs. Return +/- pi/2 for large inputs.
21239 * math/libm-test.inc (atan_test): Add more tests.
21241 * sysdeps/generic/unwind-dw2-fde-glibc.c
21242 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21243 __attribute__ ((unused)).
21246 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
21247 x * y if x and y are nonzero and z is zero.
21250 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
21251 nonzero exponents with absolute value below 0x1p-117 to +/-
21255 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
21256 up arguments below 2**-450, not just those below 2**-500.
21257 * math/libm-test.inc (hypot_test): Add another test.
21260 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21261 Return a+b for ratio over 2**120, not 2**60.
21262 * math/libm-test.inc (hypot_test): Add another test.
21264 * math/libm-test.inc (clog_test): Use
21265 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
21266 (clog10_test): Likewise.
21269 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
21271 2012-11-22 Andreas Schwab <schwab@suse.de>
21273 * sysdeps/i386/fpu/libm-test-ulps: Update.
21275 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
21277 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
21278 printf output with newline.
21280 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
21283 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
21284 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
21285 -z nodlopen, -z initfirst and -z execstack support.
21286 * configure: Regenerated.
21288 * elf/elf.h (DF_1_NODIRECT): New macro.
21289 (DF_1_IGNMULDEF): Likewise.
21290 (DF_1_NOKSYMS): Likewise.
21291 (DF_1_NOHDR): Likewise.
21292 (DF_1_EDITED): Likewise.
21293 (DF_1_NORELOC): Likewise.
21294 (DF_1_SYMINTPOSE): Likewise.
21295 (DF_1_GLOBAUDIT): Likewise.
21296 (DF_1_SINGLETON): Likewise.
21297 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
21298 DT_1_SUPPORTED_MASK bits.
21299 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
21301 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
21303 * sysdeps/unix/make-syscalls.sh: Document prefixes.
21305 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
21307 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
21310 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
21311 (sendmmsg): Move declarations...
21312 * socket/sys/socket.h: ... here.
21313 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
21314 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
21316 * socket/recvmmsg.c: ... this new file.
21317 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
21318 (sendmmsg): Rename to __sendmmsg, create weak alias and make
21319 definition of __sendmmsg hidden.
21320 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21321 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
21322 Move ENOSYS stub into and include it from...
21323 * socket/sendmmsg.c: ... this new file.
21324 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
21325 (sysdep_routines): Move recvmmsg and sendmmsg...
21326 * socket/Makefile (routines): ... here.
21327 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
21328 (GLIBC_PRIVATE): Add __sendmmsg.
21329 * include/sys/socket.h (__sendmmsg): Add declarations.
21330 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
21333 2012-11-20 Joseph Myers <joseph@codesourcery.com>
21335 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
21336 variable I1 with __attribute__ ((unused)).
21337 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21339 2012-11-19 Joseph Myers <joseph@codesourcery.com>
21341 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
21342 DUMMY variables with __attribute__ ((unused)).
21344 * bits/byteswap.h: Include <bits/types.h>.
21345 (__bswap_64): Use __uint64_t instead of unsigned long long int.
21347 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21349 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
21350 string_t. Do not manually set errno.
21351 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
21352 length with __strnlen. Make sure to both set errno and return it on
21355 2012-11-19 David S. Miller <davem@davemloft.net>
21357 With help from Joseph Myers.
21358 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
21359 very large arguments properly.
21360 * math/libm-test.inc (atan_test): New tests.
21361 (atan2_test): New tests.
21362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21363 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21365 2012-11-19 Joseph Myers <joseph@codesourcery.com>
21368 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
21371 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
21372 [POSIX] (EADDRNOTAVAIL): Likewise.
21373 [POSIX] (EAFNOSUPPORT): Likewise.
21374 [POSIX] (EALREADY): Likewise.
21375 [POSIX] (ECONNABORTED): Likewise.
21376 [POSIX] (ECONNREFUSED): Likewise.
21377 [POSIX] (ECONNRESET): Likewise.
21378 [POSIX] (EDESTADDRREQ): Likewise.
21379 [POSIX] (EDQUOT): Likewise.
21380 [POSIX] (EHOSTUNREACH): Likewise.
21381 [POSIX] (EIDRM): Likewise.
21382 [POSIX] (EISCONN): Likewise.
21383 [POSIX] (ELOOP): Likewise.
21384 [POSIX] (EMULTIHOP): Likewise.
21385 [POSIX] (ENETDOWN): Likewise.
21386 [POSIX] (ENETUNREACH): Likewise.
21387 [POSIX] (ENOBUFS): Likewise.
21388 [POSIX] (ENODATA): Likewise.
21389 [POSIX] (ENOLINK): Likewise.
21390 [POSIX] (ENOMSG): Likewise.
21391 [POSIX] (ENOPROTOOPT): Likewise.
21392 [POSIX] (ENOSR): Likewise.
21393 [POSIX] (ENOSTR): Likewise.
21394 [POSIX] (ENOTCONN): Likewise.
21395 [POSIX] (ENOTSOCK): Likewise.
21396 [POSIX] (EOPNOTSUPP): Likewise.
21397 [POSIX] (EOVERFLOW): Likewise.
21398 [POSIX] (EPROTO): Likewise.
21399 [POSIX] (EPROTONOSUPPORT): Likewise.
21400 [POSIX] (EPROTOTYPE): Likewise.
21401 [POSIX] (ESTALE): Likewise.
21402 [POSIX] (ETIME): Likewise.
21403 [POSIX] (ETXTBSY): Likewise.
21404 [POSIX] (EWOULDBLOCK): Likewise.
21405 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
21406 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
21407 [POSIX] (SEEK_CUR): Likewise.
21408 [POSIX] (SEEK_END): Likewise.
21409 [POSIX || UNIX98] (mode_t): Do not require.
21410 [POSIX] (off_t): Likewise.
21411 [POSIX] (pid_t): Likewise.
21412 [POSIX] (sys/stat.h): Do not allow header.
21413 [POSIX] (unistd.h): Likewise.
21414 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
21415 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
21416 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
21417 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
21419 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
21420 sigevent): Specify elements.
21421 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
21423 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
21424 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
21426 * conform/data/cpio.h-data [POSIX]: Disable whole file.
21427 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
21428 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
21429 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
21430 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
21431 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
21432 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
21433 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
21434 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
21435 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
21436 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
21437 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
21438 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
21439 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
21441 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
21443 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
21445 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
21447 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
21448 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
21449 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
21450 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
21451 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
21452 Specify lower bound on value.
21453 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
21454 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
21455 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
21456 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
21457 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21458 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21459 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21460 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21462 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21464 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21465 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21466 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21467 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21468 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21469 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21470 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21471 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21472 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21473 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21474 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21475 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21476 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21477 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21478 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21479 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21481 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21483 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21484 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21485 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21486 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21487 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21488 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21490 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21491 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21492 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21493 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21494 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
21495 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21496 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21498 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21499 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
21500 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
21501 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
21502 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
21503 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
21504 specify as optional.
21505 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
21506 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
21507 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
21508 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
21509 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
21510 [XPG3] (NL_LANGMAX): Likewise.
21511 [POSIX || XPG3] (NL_MSGMAX): Likewise.
21512 [POSIX || XPG3] (NL_NMAX): Likewise.
21513 [POSIX || XPG3] (NL_SETMAX): Likewise.
21514 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
21515 [XPG3] (NZERO): Likewise.
21516 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
21517 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
21518 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
21519 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
21520 (REG_ERANGE): Expect.
21521 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
21523 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
21524 Use (void) in prototype.
21525 [POSIX] (*_t): Allow.
21526 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
21527 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
21528 (WRDE_BADVAL): Expect.
21530 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
21532 [XPG3 || XPG4] (O_RSYNC): Likewise.
21533 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
21535 [XPG3 || XPG4] (pthread_sigmask): Likewise.
21536 [XPG3 || XPG4] (sigqueue): Likewise.
21537 [XPG3 || XPG4] (sigtimedwait): Likewise.
21538 [XPG3 || XPG4] (sigwaitinfo): Likewise.
21539 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
21540 [XPG3 || XPG4] (vsnprintf): Likewise.
21541 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
21543 [XPG3 || XPG4] (blksize_t): Likewise.
21544 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
21546 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
21547 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21548 [XPG3 || XPG4] (struct itimerspec): Likewise.
21549 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21550 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21551 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21552 [XPG3 || XPG4] (clockid_t): Likewise.
21553 [XPG3 || XPG4] (timer_t): Likewise.
21554 [XPG3 || XPG4] (clock_getres): Likewise.
21555 [XPG3 || XPG4] (clock_gettime): Likewise.
21556 [XPG3 || XPG4] (clock_settime): Likewise.
21557 [XPG3 || XPG4] (nanosleep): Likewise.
21558 [XPG3 || XPG4] (timer_create): Likewise.
21559 [XPG3 || XPG4] (timer_delete): Likewise.
21560 [XPG3 || XPG4] (timer_gettime): Likewise.
21561 [XPG3 || XPG4] (timer_getoverrun): Likewise.
21562 [XPG3 || XPG4] (timer_settime): Likewise.
21563 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21564 [XPG3 || XPG4] (getlogin_r): Likewise.
21565 [XPG3 || XPG4] (pread): Likewise.
21566 [XPG3 || XPG4] (pthread_atfork): Likewise.
21567 [XPG3 || XPG4] (pwrite): Likewise.
21570 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
21573 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21575 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
21576 finalizing MALLSTREAM.
21578 * sysdeps/mach/hurd/syncfs.c: New file.
21580 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21583 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
21584 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
21585 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
21586 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
21587 (_nss_dns_gethostbyname4_r): Likewise.
21588 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
21589 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
21591 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
21594 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
21596 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
21598 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
21599 * elf/cache.c (print_entry): Print ",AArch64" for
21602 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
21603 * elf/cache.c (print_entry): Print ",hard-float" for
21606 2012-11-18 David S. Miller <davem@davemloft.net>
21608 With help from Joseph Myers.
21609 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21611 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21613 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21614 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21616 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21617 * math/libm-test.inc (y0_test): New tests.
21618 (y1_test): New tests.
21619 * sysdeps/i386/fpu/libm-test-ulps: Update.
21620 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21623 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
21625 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21627 * configure: Regenerated.
21629 2012-11-17 David S. Miller <davem@davemloft.net>
21632 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21633 nonzero exponents with absolute value below 0x1p-128 to +/-
21636 2012-11-17 Joseph Myers <joseph@codesourcery.com>
21638 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21640 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21642 * posix/getconf-speclist.c: New file.
21643 * posix/posix-envs.def: Likewise.
21644 * posix/confstr.c (START_ENV_GROUP): New macro.
21645 (END_ENV_GROUP): Likewise.
21646 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21647 (KNOWN_PRESENT_ENV_STRING): Likewise.
21648 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21649 (UNKNOWN_ENVIRONMENT): Likewise.
21650 (confstr): Include posix-envs.def instead of handling
21651 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21652 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21653 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21654 (END_ENV_GROUP): Likewise.
21655 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21656 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21657 (UNKNOWN_ENVIRONMENT): Likewise.
21658 (__sysconf): Include posix-envs.def instead of handling associated
21659 cases directly here.
21660 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21661 preprocessing getconf-speclist.c rather than running getconf or
21662 generating empty file.
21664 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
21666 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21668 2012-11-16 Andrej Lajovic <natrij@gmail.com>
21671 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21673 2012-11-16 David S. Miller <davem@davemloft.net>
21675 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21676 smaller than LDBL_EPSILON/2.0L, just return xm1.
21678 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21680 * elf/tst-array1.c (init): Set constructor priority to 1000.
21681 (fini): Set destructor priority to 1000.
21682 * elf/tst-array2dep.c: Likewise.
21684 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21687 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21688 (_IO_new_file_xsputn): Also return EOF if none of the input
21689 data was written when overflow failed.
21690 * libio/iopadn.c (_IO_padn): Likewise.
21691 * libio/iowpadn.c (_IO_wpadn): Likewise.
21692 * stdio-common/tst-put-error.c: Add copyright notice.
21693 (do_test): Add case for printing padded string.
21694 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21695 _IO_padn returned error.
21696 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21697 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21700 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21702 * libio/libioP.h: Add comment note that the references to C++
21703 bits are now obsolete.
21705 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21707 * math/libm-test.inc (check_complex): Use asprintf.
21709 2012-11-14 Joseph Myers <joseph@codesourcery.com>
21711 * debug/pcprofiledump.c (print_version): Update copyright year.
21712 * malloc/memusagestat.c (print_version): Likewise.
21714 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21717 * elf/Makefile (tests): Add tst-audit8.
21718 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21719 ($(objpfx)tst-audit8.out): New target.
21720 (tst-audit8-ENV): New variable.
21721 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21722 audit if l_reloc_result is NULL.
21723 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21724 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21725 * elf/tst-audit8.c: New file.
21727 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21729 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21730 * misc/Makefile (CFLAGS-select.c): Define.
21731 * posix/Makefile (CFLAGS-pause.c): Define.
21733 2012-11-13 David S. Miller <davem@davemloft.net>
21735 * crypt/Makefile: Move test targets after toplevel Rules
21736 inclusion. Grab any necessary sysdep routines when linking.
21737 * crypt/md5.c (md5_process_block): Remove define, we will always
21738 name it __md5_process_block.
21739 (md5_finish_ctx): Update md5_process_block call.
21740 (md5_stream): Likewise.
21741 (md5_process_bytes): Likewise.
21742 (md5_process_block): Rename to __md5_process_block and move to ...
21743 * crypt/md5-block.c: ... here.
21744 * crypt/sha256.c (sha256_process_block): Move to ...
21745 * crypt/sha256-block.c: ... here.
21746 * crypt/sha512.c (sha512_process_block): Move to ...
21747 * crypt/sha512-block.c: ... here.
21748 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21750 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21751 * sysdeps/sparc/sparc64/multiarch/Makefile
21752 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21754 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21755 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21757 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21758 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21759 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21760 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21761 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21762 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21763 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21764 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21765 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21767 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21768 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21770 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21772 2012-11-13 Joseph Myers <joseph@codesourcery.com>
21774 * timezone/tzselect.ksh: Update from tzcode git revision
21775 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21776 * timezone/zdump.c: Likewise.
21777 * timezone/zic.c: Likewise.
21778 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21779 in TZVERSION setting, not $(PKGVERSION).
21780 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21781 REPORT_BUGS_TO settings.
21784 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21787 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21789 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21790 detection to immediately after _FP_ROUND().
21791 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21794 2012-11-11 David S. Miller <davem@davemloft.net>
21796 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21798 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21799 __close rather than their public counterparts.
21801 2012-11-10 Joseph Myers <joseph@codesourcery.com>
21803 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21805 [UNIX98] (sem_timedwait): Do not expect.
21806 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21807 [XPG4 || UNIX98] (sockatmark): Do not expect.
21808 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21809 (clock_getcpuclockid): Do not expect.
21810 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21811 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21813 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21814 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21815 [UNIX98] (vwscanf): Likewise.
21816 [UNIX98] (vswscanf): Likewise.
21818 2012-11-09 Joseph Myers <joseph@codesourcery.com>
21820 * timezone/version.h: Remove file.
21821 * timezone/README: Do not refer to version.h.
21822 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21823 $(objpfx)version.h.
21824 ($(objpfx)zdump.o): Likewise.
21825 ($(objpfx)version.h): New target.
21827 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21829 * timezone/README: Don't mention modification to tzselect.ksh.
21830 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21831 work on unmodified tzselect.ksh. Substitute version numbers in
21834 * Makefile (format-me): Remove.
21835 (INSTALL): Adjust indentation. Use commands directly instead of
21836 using $(format-me).
21838 * aclocal.m4 (ACX_PKGVERSION): New macro.
21839 (ACX_BUGURL): Likewise.
21840 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21841 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21842 (REPORT_BUGS_TO): Likewise.
21843 * configure: Regenerated.
21844 * config.h.in (PKGVERSION): New macro.
21845 (REPORT_BUGS_TO): Likewise.
21846 * config.make.in (PKGVERSION): New variable.
21847 (PKGVERSION_TEXI): Likewise.
21848 (REPORT_BUGS_TO): Likewise.
21849 (REPORT_BUGS_TEXI): Likewise.
21850 * Makefile (format-me): Use -I$(common-objpfx)manual.
21851 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21852 ($(common-objpfx)manual/%): New target.
21853 (manual/%): Remove target.
21854 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21855 (print_version): Use PKGVERSION.
21856 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21857 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21858 and REPORT_BUGS_TO.
21859 ($(objpfx)xtrace): Likewise.
21860 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21861 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21862 (print_version): Use PKGVERSION.
21863 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21864 (do_version): Use PKGVERSION.
21865 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21867 (common-ldd-rewrite): Likewise.
21868 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21869 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21870 (print_version): Use PKGVERSION.
21871 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21872 * elf/pldd.c (argp_program_bug_address): Remove variable.
21873 (more_help): New function.
21874 (argp): Use more_help.
21875 (print_version): Use PKGVERSION.
21876 * elf/sln.c (main): Use PKGVERSION.
21877 (usage): Use REPORT_BUGS_TO.
21878 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21879 (top level): Use PKGVERSION.
21880 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21881 (print_version): Use PKGVERSION.
21882 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21883 (print_version): Use PKGVERSION.
21884 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21885 (print_version): Use PKGVERSION.
21886 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21887 (print_version): Use PKGVERSION.
21888 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21889 (print_version): Use PKGVERSION.
21890 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21891 (print_version): Use PKGVERSION.
21892 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21894 ($(objpfx)memusage): Likewise.
21895 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21896 (do_version): Use PKGVERSION.
21897 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21898 (print_version): Use PKGVERSION.
21899 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21900 ($PKGVERSION): New variable.
21901 ($REPORT_BUGS_TO): Likewise.
21902 (usage): Use $REPORT_BUGS_TO.
21903 (top level): Use $PKGVERSION.
21904 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21905 ($(objpfx)pkgvers.texi): New rule.
21906 ($(objpfx)stamp-pkgvers): Likewise.
21907 * manual/install.texi: Include pkgvers.texi.
21908 (--with-pkgversion): Document new configure option.
21909 (--with-bugurl): Likewise.
21910 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21911 than necessarily for this particular distribution. Use
21912 REPORT_BUGS_TO for where to report bugs.
21913 * INSTALL: Regenerated.
21914 * manual/libc.texinfo: Include pkgvers.texi.
21915 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21916 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21917 (print_version): Use PKGVERSION.
21918 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21919 (print_version): Use PKGVERSION.
21920 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21921 (print_version): Use PKGVERSION.
21922 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21923 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21925 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21926 (print_version): Use PKGVERSION.
21927 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21928 (print_version): Use PKGVERSION.
21929 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21932 * timezone/checktab.awk: Update from tzcode 2012i.
21933 * timezone/ialloc.c: Likewise.
21934 * timezone/private.h: Likewise.
21935 * timezone/scheck.c: Likewise.
21936 * timezone/tzfile.h: Likewise.
21937 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21938 (TZVERSION): Hardcode tzcode version number.
21939 * timezone/zdump.c: Update from tzcode 2012i.
21940 * timezone/zic.c: Likewise.
21941 * timezone/version.h: New file.
21942 * timezone/README: Describe version.h. Update upstream location.
21945 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21946 (mktemp): Enable declaration.
21947 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21948 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21949 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21950 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21952 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21954 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21956 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21958 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21960 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21964 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21965 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21966 for copies of such integer values.
21967 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21968 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21970 2012-11-09 Andreas Jaeger <aj@suse.de>
21972 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21973 definitions and declarations that are provided by
21974 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21976 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21978 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21979 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21980 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21983 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21985 * elf/elf.h: Update comment before AArch64 relocations.
21987 2012-11-07 David S. Miller <davem@davemloft.net>
21989 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21990 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21991 (__start_context): Declare.
21992 (__makecontext_ret): Delete.
21993 (__makecontext): Hook up __start_context instead of
21995 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21996 (sysdep_routines): Add __start_context when in stdlib.
21998 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22000 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
22001 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
22002 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
22004 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
22005 (READELF): New variable. Use it instead of hardcoded "readelf".
22007 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
22009 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
22010 * sysdeps/x86/Makefile: Here.
22011 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
22012 * sysdeps/x86/tst-xmmymm.sh: This.
22014 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22016 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
22018 [UNIX98] (pthread_barrier_t): Do not expect.
22019 [UNIX98] (pthread_barrierattr_t): Likewise.
22020 [UNIX98] (pthread_spinlock_t): Likewise.
22021 [UNIX98] (pthread_barrier_destroy): Likewise.
22022 [UNIX98] (pthread_barrier_init): Likewise.
22023 [UNIX98] (pthread_barrier_wait): Likewise.
22024 [UNIX98] (pthread_barrierattr_destroy): Likewise.
22025 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22026 [UNIX98] (pthread_barrierattr_init): Likewise.
22027 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22028 [UNIX98] (pthread_getcpuclockid): Likewise.
22029 [UNIX98] (pthread_mutex_timedlock): Likewise.
22030 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22031 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22032 [UNIX98] (pthread_sigmask): Likewise.
22033 [UNIX98] (pthread_spin_destroy): Likewise.
22034 [UNIX98] (pthread_spin_init): Likewise.
22035 [UNIX98] (pthread_spin_lock): Likewise.
22036 [UNIX98] (pthread_spin_trylock): Likewise.
22037 [UNIX98] (pthread_spin_unlock): Likewise.
22038 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22040 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22041 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22042 [XPG3 || XPG4] (pthread_cond_t): Likewise.
22043 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22044 [XPG3 || XPG4] (pthread_key_t): Likewise.
22045 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22046 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22047 [XPG3 || XPG4] (pthread_once_t): Likewise.
22048 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22049 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22050 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22051 [XPG3 || XPG4] (pthread_t): Likewise.
22053 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22055 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22057 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22058 Change function return type to int.
22060 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22061 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22062 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22063 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22064 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22065 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22066 [!POSIX] (posix_madvise): Likewise.
22067 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22069 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22070 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22071 (mode_t): Likewise.
22072 (posix_mem_offset): Likewise.
22073 (posix_typed_mem_get_info): Likewise.
22074 (posix_typed_mem_open): Likewise.
22076 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22077 Change condition to [XOPEN2K8].
22079 * conform/conformtest.pl: Preprocess allow-header data with -x c
22080 instead of from stdin.
22081 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22082 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22083 [C99-based standards] (cerfc): Likewise.
22084 [C99-based standards] (cexp2): Likewise.
22085 [C99-based standards] (cexpm1): Likewise.
22086 [C99-based standards] (clog10): Likewise.
22087 [C99-based standards] (clog1p): Likewise.
22088 [C99-based standards] (clog2): Likewise.
22089 [C99-based standards] (clgamma): Likewise.
22090 [C99-based standards] (ctgamma): Likewise.
22091 [C99-based standards] (cerff): Likewise.
22092 [C99-based standards] (cerfcf): Likewise.
22093 [C99-based standards] (cexp2f): Likewise.
22094 [C99-based standards] (cexpm1f): Likewise.
22095 [C99-based standards] (clog10f): Likewise.
22096 [C99-based standards] (clog1pf): Likewise.
22097 [C99-based standards] (clog2f): Likewise.
22098 [C99-based standards] (clgammaf): Likewise.
22099 [C99-based standards] (ctgammaf): Likewise.
22100 [C99-based standards] (cerfl): Likewise.
22101 [C99-based standards] (cerfcl): Likewise.
22102 [C99-based standards] (cexp2l): Likewise.
22103 [C99-based standards] (cexpm1l): Likewise.
22104 [C99-based standards] (clog10l): Likewise.
22105 [C99-based standards] (clog1pl): Likewise.
22106 [C99-based standards] (clog2l): Likewise.
22107 [C99-based standards] (clgammal): Likewise.
22108 [C99-based standards] (ctgammal): Likewise.
22109 * conform/data/inttypes.h-data [C99-based standards]: Include
22110 stdint.h-data. Remove all expectations for stdint.h contents.
22111 [C99-based standards] (PRI*): Do not allow.
22112 [C99-based standards] (SCN*): Likewise.
22113 [C99-based standards] (*_t): Likewise.
22114 [C99-based-standards] (PRId8): Expect macro.
22115 [C99-based-standards] (PRIi8): Likewise.
22116 [C99-based-standards] (PRIo8): Likewise.
22117 [C99-based-standards] (PRIu8): Likewise.
22118 [C99-based-standards] (PRIx8): Likewise.
22119 [C99-based-standards] (PRIX8): Likewise.
22120 [C99-based-standards] (SCNd8): Likewise.
22121 [C99-based-standards] (SCNi8): Likewise.
22122 [C99-based-standards] (SCNo8): Likewise.
22123 [C99-based-standards] (SCNu8): Likewise.
22124 [C99-based-standards] (SCNx8): Likewise.
22125 [C99-based-standards] (PRIdLEAST8): Likewise.
22126 [C99-based-standards] (PRIiLEAST8): Likewise.
22127 [C99-based-standards] (PRIoLEAST8): Likewise.
22128 [C99-based-standards] (PRIuLEAST8): Likewise.
22129 [C99-based-standards] (PRIxLEAST8): Likewise.
22130 [C99-based-standards] (PRIXLEAST8): Likewise.
22131 [C99-based-standards] (SCNdLEAST8): Likewise.
22132 [C99-based-standards] (SCNiLEAST8): Likewise.
22133 [C99-based-standards] (SCNoLEAST8): Likewise.
22134 [C99-based-standards] (SCNuLEAST8): Likewise.
22135 [C99-based-standards] (SCNxLEAST8): Likewise.
22136 [C99-based-standards] (PRIdFAST8): Likewise.
22137 [C99-based-standards] (PRIiFAST8): Likewise.
22138 [C99-based-standards] (PRIoFAST8): Likewise.
22139 [C99-based-standards] (PRIuFAST8): Likewise.
22140 [C99-based-standards] (PRIxFAST8): Likewise.
22141 [C99-based-standards] (PRIXFAST8): Likewise.
22142 [C99-based-standards] (SCNdFAST8): Likewise.
22143 [C99-based-standards] (SCNiFAST8): Likewise.
22144 [C99-based-standards] (SCNoFAST8): Likewise.
22145 [C99-based-standards] (SCNuFAST8): Likewise.
22146 [C99-based-standards] (SCNxFAST8): Likewise.
22147 [C99-based-standards] (PRId16): Likewise.
22148 [C99-based-standards] (PRIi16): Likewise.
22149 [C99-based-standards] (PRIo16): Likewise.
22150 [C99-based-standards] (PRIu16): Likewise.
22151 [C99-based-standards] (PRIx16): Likewise.
22152 [C99-based-standards] (PRIX16): Likewise.
22153 [C99-based-standards] (SCNd16): Likewise.
22154 [C99-based-standards] (SCNi16): Likewise.
22155 [C99-based-standards] (SCNo16): Likewise.
22156 [C99-based-standards] (SCNu16): Likewise.
22157 [C99-based-standards] (SCNx16): Likewise.
22158 [C99-based-standards] (PRIdLEAST16): Likewise.
22159 [C99-based-standards] (PRIiLEAST16): Likewise.
22160 [C99-based-standards] (PRIoLEAST16): Likewise.
22161 [C99-based-standards] (PRIuLEAST16): Likewise.
22162 [C99-based-standards] (PRIxLEAST16): Likewise.
22163 [C99-based-standards] (PRIXLEAST16): Likewise.
22164 [C99-based-standards] (SCNdLEAST16): Likewise.
22165 [C99-based-standards] (SCNiLEAST16): Likewise.
22166 [C99-based-standards] (SCNoLEAST16): Likewise.
22167 [C99-based-standards] (SCNuLEAST16): Likewise.
22168 [C99-based-standards] (SCNxLEAST16): Likewise.
22169 [C99-based-standards] (PRIdFAST16): Likewise.
22170 [C99-based-standards] (PRIiFAST16): Likewise.
22171 [C99-based-standards] (PRIoFAST16): Likewise.
22172 [C99-based-standards] (PRIuFAST16): Likewise.
22173 [C99-based-standards] (PRIxFAST16): Likewise.
22174 [C99-based-standards] (PRIXFAST16): Likewise.
22175 [C99-based-standards] (SCNdFAST16): Likewise.
22176 [C99-based-standards] (SCNiFAST16): Likewise.
22177 [C99-based-standards] (SCNoFAST16): Likewise.
22178 [C99-based-standards] (SCNuFAST16): Likewise.
22179 [C99-based-standards] (SCNxFAST16): Likewise.
22180 [C99-based-standards] (PRId32): Likewise.
22181 [C99-based-standards] (PRIi32): Likewise.
22182 [C99-based-standards] (PRIo32): Likewise.
22183 [C99-based-standards] (PRIu32): Likewise.
22184 [C99-based-standards] (PRIx32): Likewise.
22185 [C99-based-standards] (PRIX32): Likewise.
22186 [C99-based-standards] (SCNd32): Likewise.
22187 [C99-based-standards] (SCNi32): Likewise.
22188 [C99-based-standards] (SCNo32): Likewise.
22189 [C99-based-standards] (SCNu32): Likewise.
22190 [C99-based-standards] (SCNx32): Likewise.
22191 [C99-based-standards] (PRIdLEAST32): Likewise.
22192 [C99-based-standards] (PRIiLEAST32): Likewise.
22193 [C99-based-standards] (PRIoLEAST32): Likewise.
22194 [C99-based-standards] (PRIuLEAST32): Likewise.
22195 [C99-based-standards] (PRIxLEAST32): Likewise.
22196 [C99-based-standards] (PRIXLEAST32): Likewise.
22197 [C99-based-standards] (SCNdLEAST32): Likewise.
22198 [C99-based-standards] (SCNiLEAST32): Likewise.
22199 [C99-based-standards] (SCNoLEAST32): Likewise.
22200 [C99-based-standards] (SCNuLEAST32): Likewise.
22201 [C99-based-standards] (SCNxLEAST32): Likewise.
22202 [C99-based-standards] (PRIdFAST32): Likewise.
22203 [C99-based-standards] (PRIiFAST32): Likewise.
22204 [C99-based-standards] (PRIoFAST32): Likewise.
22205 [C99-based-standards] (PRIuFAST32): Likewise.
22206 [C99-based-standards] (PRIxFAST32): Likewise.
22207 [C99-based-standards] (PRIXFAST32): Likewise.
22208 [C99-based-standards] (SCNdFAST32): Likewise.
22209 [C99-based-standards] (SCNiFAST32): Likewise.
22210 [C99-based-standards] (SCNoFAST32): Likewise.
22211 [C99-based-standards] (SCNuFAST32): Likewise.
22212 [C99-based-standards] (SCNxFAST32): Likewise.
22213 [C99-based-standards] (PRId64): Likewise.
22214 [C99-based-standards] (PRIi64): Likewise.
22215 [C99-based-standards] (PRIo64): Likewise.
22216 [C99-based-standards] (PRIu64): Likewise.
22217 [C99-based-standards] (PRIx64): Likewise.
22218 [C99-based-standards] (PRIX64): Likewise.
22219 [C99-based-standards] (SCNd64): Likewise.
22220 [C99-based-standards] (SCNi64): Likewise.
22221 [C99-based-standards] (SCNo64): Likewise.
22222 [C99-based-standards] (SCNu64): Likewise.
22223 [C99-based-standards] (SCNx64): Likewise.
22224 [C99-based-standards] (PRIdLEAST64): Likewise.
22225 [C99-based-standards] (PRIiLEAST64): Likewise.
22226 [C99-based-standards] (PRIoLEAST64): Likewise.
22227 [C99-based-standards] (PRIuLEAST64): Likewise.
22228 [C99-based-standards] (PRIxLEAST64): Likewise.
22229 [C99-based-standards] (PRIXLEAST64): Likewise.
22230 [C99-based-standards] (SCNdLEAST64): Likewise.
22231 [C99-based-standards] (SCNiLEAST64): Likewise.
22232 [C99-based-standards] (SCNoLEAST64): Likewise.
22233 [C99-based-standards] (SCNuLEAST64): Likewise.
22234 [C99-based-standards] (SCNxLEAST64): Likewise.
22235 [C99-based-standards] (PRIdFAST64): Likewise.
22236 [C99-based-standards] (PRIiFAST64): Likewise.
22237 [C99-based-standards] (PRIoFAST64): Likewise.
22238 [C99-based-standards] (PRIuFAST64): Likewise.
22239 [C99-based-standards] (PRIxFAST64): Likewise.
22240 [C99-based-standards] (PRIXFAST64): Likewise.
22241 [C99-based-standards] (SCNdFAST64): Likewise.
22242 [C99-based-standards] (SCNiFAST64): Likewise.
22243 [C99-based-standards] (SCNoFAST64): Likewise.
22244 [C99-based-standards] (SCNuFAST64): Likewise.
22245 [C99-based-standards] (SCNxFAST64): Likewise.
22246 [C99-based-standards] (PRIdMAX): Likewise.
22247 [C99-based-standards] (PRIiMAX): Likewise.
22248 [C99-based-standards] (PRIoMAX): Likewise.
22249 [C99-based-standards] (PRIuMAX): Likewise.
22250 [C99-based-standards] (PRIxMAX): Likewise.
22251 [C99-based-standards] (PRIXMAX): Likewise.
22252 [C99-based-standards] (SCNdMAX): Likewise.
22253 [C99-based-standards] (SCNiMAX): Likewise.
22254 [C99-based-standards] (SCNoMAX): Likewise.
22255 [C99-based-standards] (SCNuMAX): Likewise.
22256 [C99-based-standards] (SCNxMAX): Likewise.
22257 [C99-based-standards] (PRIdPTR): Likewise.
22258 [C99-based-standards] (PRIiPTR): Likewise.
22259 [C99-based-standards] (PRIoPTR): Likewise.
22260 [C99-based-standards] (PRIuPTR): Likewise.
22261 [C99-based-standards] (PRIxPTR): Likewise.
22262 [C99-based-standards] (PRIXPTR): Likewise.
22263 [C99-based-standards] (SCNdPTR): Likewise.
22264 [C99-based-standards] (SCNiPTR): Likewise.
22265 [C99-based-standards] (SCNoPTR): Likewise.
22266 [C99-based-standards] (SCNuPTR): Likewise.
22267 [C99-based-standards] (SCNxPTR): Likewise.
22268 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
22270 * conform/data/stdint.h-data: Update comments to clarify
22272 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
22274 [C99-based standards] (INT8_MAX): Likewise.
22275 [C99-based standards] (INT16_MIN): Likewise.
22276 [C99-based standards] (INT16_MAX): Likewise.
22277 [C99-based standards] (INT32_MIN): Likewise.
22278 [C99-based standards] (INT32_MAX): Likewise.
22279 [C99-based standards] (INT64_MIN): Likewise.
22280 [C99-based standards] (INT64_MAX): Likewise.
22281 [C99-based standards] (UINT8_MAX): Likewise.
22282 [C99-based standards] (UINT16_MAX): Likewise.
22283 [C99-based standards] (UINT32_MAX): Likewise.
22284 [C99-based standards] (UINT64_MAX): Likewise.
22285 [C99-based standards] (INT_LEAST8_MIN): Likewise.
22286 [C99-based standards] (INT_LEAST8_MAX): Likewise.
22287 [C99-based standards] (INT_LEAST16_MIN): Likewise.
22288 [C99-based standards] (INT_LEAST16_MAX): Likewise.
22289 [C99-based standards] (INT_LEAST32_MIN): Likewise.
22290 [C99-based standards] (INT_LEAST32_MAX): Likewise.
22291 [C99-based standards] (INT_LEAST64_MIN): Likewise.
22292 [C99-based standards] (INT_LEAST64_MAX): Likewise.
22293 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
22294 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
22295 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
22296 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
22297 [C99-based standards] (INT_FAST8_MIN): Likewise.
22298 [C99-based standards] (INT_FAST8_MAX): Likewise.
22299 [C99-based standards] (INT_FAST16_MIN): Likewise.
22300 [C99-based standards] (INT_FAST16_MAX): Likewise.
22301 [C99-based standards] (INT_FAST32_MIN): Likewise.
22302 [C99-based standards] (INT_FAST32_MAX): Likewise.
22303 [C99-based standards] (INT_FAST64_MIN): Likewise.
22304 [C99-based standards] (INT_FAST64_MAX): Likewise.
22305 [C99-based standards] (UINT_FAST8_MAX): Likewise.
22306 [C99-based standards] (UINT_FAST16_MAX): Likewise.
22307 [C99-based standards] (UINT_FAST32_MAX): Likewise.
22308 [C99-based standards] (UINT_FAST64_MAX): Likewise.
22309 [C99-based standards] (INTPTR_MIN): Likewise.
22310 [C99-based standards] (INTPTR_MAX): Likewise.
22311 [C99-based standards] (UINTPTR_MAX): Likewise.
22312 [C99-based standards] (INTMAX_MIN): Likewise.
22313 [C99-based standards] (INTMAX_MAX): Likewise.
22314 [C99-based standards] (UINTMAX_MAX): Likewise.
22315 [C99-based standards] (PTRDIFF_MIN): Likewise.
22316 [C99-based standards] (PTRDIFF_MAX): Likewise.
22317 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
22318 [C99-based standards] (SIZE_MAX): Likewise.
22319 [C99-based standards] (WCHAR_MAX): Likewise.
22320 [C99-based standards] (WINT_MAX): Likewise.
22321 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
22322 constraint on value.
22323 [C99-based standards] (WCHAR_MIN): Likewise.
22324 [C99-based standards] (WINT_MIN): Likewise.
22325 [C99-based standards] (*_t): Allow.
22326 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
22327 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
22328 Include math.h-data and complex.h-data. Remove all expectations
22329 of math.h and complex.h contents.
22330 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
22332 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
22333 (struct tm): Expect tag.
22334 [C99-based-standards] (wcstof): Expect function.
22335 [C99-based-standards] (wcstold): Likewise.
22336 [C99-based-standards] (wcstoll): Likewise.
22337 [C99-based-standards] (wcstoull): Likewise.
22338 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
22339 macro-int-constant. Specify type.
22340 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
22341 constraint on value.
22342 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22344 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
22346 [ISO C standards]: Do not allow headers.
22347 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
22348 wcs[abcdefghijklmnopqrstuvwxyz]*.
22349 [ISO C standards] (*_t): Do not allow.
22350 * conform/data/wctype.h-data [C99-based standards] (iswblank):
22352 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
22353 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22355 [ISO C standards]: Do not allow headers.
22356 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
22357 is[abcdefghijklmnopqrstuvwxyz]*.
22358 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
22359 to[abcdefghijklmnopqrstuvwxyz]*.
22360 [ISO C standards] (*_t): Do not allow.
22361 * conform/data/stdalign.h-data: New file.
22362 * conform/data/stdbool.h-data: Likewise.
22363 * conform/data/stdnoreturn.h-data: Likewise.
22365 2012-11-07 Roland McGrath <roland@hack.frob.com>
22368 * manual/filesys.texi (Directory Entries): Typo fix.
22369 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
22371 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22373 * elf/elf.h (EM_AARCH64): New macro.
22374 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22375 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22376 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22377 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22378 (R_AARCH64_TLSDESC): Likewise.
22379 (NT_ARM_TLS): Likewise.
22380 (NT_ARM_HW_BREAK): Likewise.
22381 (NT_ARM_HW_WATCH): Likewise.
22383 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22386 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22387 (__ieee754_powl): Saturate nonzero exponents with absolute value
22388 below 0x1p-79 to +/- 0x1p-79.
22389 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
22390 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
22391 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
22392 nonzero exponents with absolute value below 0x1p-32 to +/-
22394 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
22395 (__ieee754_powl): Saturate nonzero exponents with absolute value
22396 below 0x1p-79 to +/- 0x1p-79.
22397 * math/libm-test.inc (pow_test): Add more tests.
22399 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22401 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
22402 _dl_s390_cap_flags with kernel. Increase string length.
22403 (_dl_s390_platforms): Add z196 and zEC12.
22405 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22407 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
22408 Change XOPEN21K to XOPEN2K.
22410 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
22412 * string/memmove.c: Use memcpy when possible.
22414 2012-11-06 Andreas Jaeger <aj@suse.de>
22416 * po/eo.po: Update from translation team.
22418 2012-11-06 Joseph Myers <joseph@codesourcery.com>
22421 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
22422 exponent and small x and y exponents, scale x or y up. Increase
22423 by 2 the exponent used in scaling up.
22424 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22425 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22426 * math/libm-test.inc (fma_test): Add more tests.
22427 (fma_test_towardzero): Likewise.
22428 (fma_test_downward): Likewise.
22429 (fma_test_upward): Likewise.
22431 2012-11-05 Joseph Myers <joseph@codesourcery.com>
22434 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
22438 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
22439 namespace for names of struct fields.
22440 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
22442 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22443 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
22445 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22448 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
22450 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22452 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
22456 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22459 2012-11-04 Joseph Myers <joseph@codesourcery.com>
22462 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22463 definitely overflow as x * y not x * y + z.
22464 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22465 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22466 * math/libm-test.inc (fma_test): Add more tests.
22467 (fma_test_towardzero): Likewise.
22468 (fma_test_downward): Likewise.
22469 (fma_test_upward): Likewise.
22471 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22475 * include/stub-tag.h: Remove file.
22476 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22478 * manual/maint.texi (Porting): Don't reference it.
22479 * Makerules ($(objpfx)stubs): Likewise.
22480 * dirent/closedir.c: Don't include <stub-tag.h>.
22481 * dirent/dirfd.c: Likewise.
22482 * dirent/fdopendir.c: Likewise.
22483 * dirent/getdents.c: Likewise.
22484 * dirent/getdents64.c: Likewise.
22485 * dirent/opendir.c: Likewise.
22486 * dirent/readdir.c: Likewise.
22487 * dirent/readdir64.c: Likewise.
22488 * dirent/readdir64_r.c: Likewise.
22489 * dirent/readdir_r.c: Likewise.
22490 * dirent/rewinddir.c: Likewise.
22491 * dirent/seekdir.c: Likewise.
22492 * dirent/telldir.c: Likewise.
22493 * gmon/profil.c: Likewise.
22494 * grp/setgroups.c: Likewise.
22495 * inet/if_index.c: Likewise.
22496 * io/access.c: Likewise.
22497 * io/chdir.c: Likewise.
22498 * io/chmod.c: Likewise.
22499 * io/chown.c: Likewise.
22500 * io/close.c: Likewise.
22501 * io/dup.c: Likewise.
22502 * io/dup2.c: Likewise.
22503 * io/dup3.c: Likewise.
22504 * io/euidaccess.c: Likewise.
22505 * io/faccessat.c: Likewise.
22506 * io/fchdir.c: Likewise.
22507 * io/fchmod.c: Likewise.
22508 * io/fchmodat.c: Likewise.
22509 * io/fchown.c: Likewise.
22510 * io/fchownat.c: Likewise.
22511 * io/fcntl.c: Likewise.
22512 * io/flock.c: Likewise.
22513 * io/fstatfs.c: Likewise.
22514 * io/fstatfs64.c: Likewise.
22515 * io/fstatvfs.c: Likewise.
22516 * io/fstatvfs64.c: Likewise.
22517 * io/futimens.c: Likewise.
22518 * io/fxstat.c: Likewise.
22519 * io/fxstat64.c: Likewise.
22520 * io/fxstatat.c: Likewise.
22521 * io/fxstatat64.c: Likewise.
22522 * io/getcwd.c: Likewise.
22523 * io/isatty.c: Likewise.
22524 * io/lchmod.c: Likewise.
22525 * io/lchown.c: Likewise.
22526 * io/link.c: Likewise.
22527 * io/linkat.c: Likewise.
22528 * io/lseek.c: Likewise.
22529 * io/lseek64.c: Likewise.
22530 * io/lxstat64.c: Likewise.
22531 * io/mkdir.c: Likewise.
22532 * io/mkdirat.c: Likewise.
22533 * io/mkfifo.c: Likewise.
22534 * io/mkfifoat.c: Likewise.
22535 * io/open.c: Likewise.
22536 * io/open64.c: Likewise.
22537 * io/openat.c: Likewise.
22538 * io/openat64.c: Likewise.
22539 * io/pipe.c: Likewise.
22540 * io/pipe2.c: Likewise.
22541 * io/poll.c: Likewise.
22542 * io/posix_fadvise.c: Likewise.
22543 * io/posix_fadvise64.c: Likewise.
22544 * io/posix_fallocate.c: Likewise.
22545 * io/posix_fallocate64.c: Likewise.
22546 * io/read.c: Likewise.
22547 * io/readlink.c: Likewise.
22548 * io/readlinkat.c: Likewise.
22549 * io/rmdir.c: Likewise.
22550 * io/sendfile.c: Likewise.
22551 * io/sendfile64.c: Likewise.
22552 * io/statfs.c: Likewise.
22553 * io/statfs64.c: Likewise.
22554 * io/statvfs.c: Likewise.
22555 * io/statvfs64.c: Likewise.
22556 * io/symlink.c: Likewise.
22557 * io/symlinkat.c: Likewise.
22558 * io/ttyname.c: Likewise.
22559 * io/ttyname_r.c: Likewise.
22560 * io/umask.c: Likewise.
22561 * io/unlink.c: Likewise.
22562 * io/unlinkat.c: Likewise.
22563 * io/utime.c: Likewise.
22564 * io/utimensat.c: Likewise.
22565 * io/write.c: Likewise.
22566 * io/xmknod.c: Likewise.
22567 * io/xmknodat.c: Likewise.
22568 * io/xstat.c: Likewise.
22569 * io/xstat64.c: Likewise.
22570 * login/getpt.c: Likewise.
22571 * login/grantpt.c: Likewise.
22572 * login/unlockpt.c: Likewise.
22573 * math/e_acoshl.c: Likewise.
22574 * math/e_acosl.c: Likewise.
22575 * math/e_asinl.c: Likewise.
22576 * math/e_atan2l.c: Likewise.
22577 * math/e_atanhl.c: Likewise.
22578 * math/e_coshl.c: Likewise.
22579 * math/e_expl.c: Likewise.
22580 * math/e_fmodl.c: Likewise.
22581 * math/e_gammal_r.c: Likewise.
22582 * math/e_hypotl.c: Likewise.
22583 * math/e_j0l.c: Likewise.
22584 * math/e_j1l.c: Likewise.
22585 * math/e_jnl.c: Likewise.
22586 * math/e_lgammal_r.c: Likewise.
22587 * math/e_log10l.c: Likewise.
22588 * math/e_log2l.c: Likewise.
22589 * math/e_logl.c: Likewise.
22590 * math/e_powl.c: Likewise.
22591 * math/e_rem_pio2l.c: Likewise.
22592 * math/e_sinhl.c: Likewise.
22593 * math/e_sqrtl.c: Likewise.
22594 * math/fclrexcpt.c: Likewise.
22595 * math/fedisblxcpt.c: Likewise.
22596 * math/feenablxcpt.c: Likewise.
22597 * math/fegetenv.c: Likewise.
22598 * math/fegetexcept.c: Likewise.
22599 * math/fegetround.c: Likewise.
22600 * math/feholdexcpt.c: Likewise.
22601 * math/fesetenv.c: Likewise.
22602 * math/fesetround.c: Likewise.
22603 * math/feupdateenv.c: Likewise.
22604 * math/fgetexcptflg.c: Likewise.
22605 * math/fraiseexcpt.c: Likewise.
22606 * math/fsetexcptflg.c: Likewise.
22607 * math/ftestexcept.c: Likewise.
22608 * math/k_cosl.c: Likewise.
22609 * math/k_rem_pio2l.c: Likewise.
22610 * math/k_sinl.c: Likewise.
22611 * math/k_tanl.c: Likewise.
22612 * math/s_asinhl.c: Likewise.
22613 * math/s_atanl.c: Likewise.
22614 * math/s_cbrtl.c: Likewise.
22615 * math/s_erfl.c: Likewise.
22616 * math/s_expm1l.c: Likewise.
22617 * math/s_log1pl.c: Likewise.
22618 * math/s_tanhl.c: Likewise.
22619 * misc/acct.c: Likewise.
22620 * misc/brk.c: Likewise.
22621 * misc/chflags.c: Likewise.
22622 * misc/chroot.c: Likewise.
22623 * misc/fchflags.c: Likewise.
22624 * misc/fgetxattr.c: Likewise.
22625 * misc/flistxattr.c: Likewise.
22626 * misc/fremovexattr.c: Likewise.
22627 * misc/fsetxattr.c: Likewise.
22628 * misc/fsync.c: Likewise.
22629 * misc/ftruncate.c: Likewise.
22630 * misc/futimes.c: Likewise.
22631 * misc/futimesat.c: Likewise.
22632 * misc/getdomain.c: Likewise.
22633 * misc/getdtsz.c: Likewise.
22634 * misc/gethostid.c: Likewise.
22635 * misc/gethostname.c: Likewise.
22636 * misc/getloadavg.c: Likewise.
22637 * misc/getpagesize.c: Likewise.
22638 * misc/getsysstats.c: Likewise.
22639 * misc/getxattr.c: Likewise.
22640 * misc/gtty.c: Likewise.
22641 * misc/ioctl.c: Likewise.
22642 * misc/lgetxattr.c: Likewise.
22643 * misc/listxattr.c: Likewise.
22644 * misc/llistxattr.c: Likewise.
22645 * misc/lremovexattr.c: Likewise.
22646 * misc/lsetxattr.c: Likewise.
22647 * misc/lutimes.c: Likewise.
22648 * misc/madvise.c: Likewise.
22649 * misc/mincore.c: Likewise.
22650 * misc/mlock.c: Likewise.
22651 * misc/mlockall.c: Likewise.
22652 * misc/mmap.c: Likewise.
22653 * misc/mprotect.c: Likewise.
22654 * misc/msync.c: Likewise.
22655 * misc/munlock.c: Likewise.
22656 * misc/munlockall.c: Likewise.
22657 * misc/munmap.c: Likewise.
22658 * misc/preadv.c: Likewise.
22659 * misc/preadv64.c: Likewise.
22660 * misc/ptrace.c: Likewise.
22661 * misc/pwritev.c: Likewise.
22662 * misc/pwritev64.c: Likewise.
22663 * misc/readv.c: Likewise.
22664 * misc/reboot.c: Likewise.
22665 * misc/remap_file_pages.c: Likewise.
22666 * misc/removexattr.c: Likewise.
22667 * misc/revoke.c: Likewise.
22668 * misc/select.c: Likewise.
22669 * misc/setdomain.c: Likewise.
22670 * misc/setegid.c: Likewise.
22671 * misc/seteuid.c: Likewise.
22672 * misc/sethostid.c: Likewise.
22673 * misc/sethostname.c: Likewise.
22674 * misc/setregid.c: Likewise.
22675 * misc/setreuid.c: Likewise.
22676 * misc/setxattr.c: Likewise.
22677 * misc/sstk.c: Likewise.
22678 * misc/stty.c: Likewise.
22679 * misc/swapoff.c: Likewise.
22680 * misc/swapon.c: Likewise.
22681 * misc/sync.c: Likewise.
22682 * misc/syncfs.c: Likewise.
22683 * misc/syscall.c: Likewise.
22684 * misc/truncate.c: Likewise.
22685 * misc/ualarm.c: Likewise.
22686 * misc/usleep.c: Likewise.
22687 * misc/ustat.c: Likewise.
22688 * misc/utimes.c: Likewise.
22689 * misc/vhangup.c: Likewise.
22690 * misc/writev.c: Likewise.
22691 * posix/_exit.c: Likewise.
22692 * posix/alarm.c: Likewise.
22693 * posix/execve.c: Likewise.
22694 * posix/fexecve.c: Likewise.
22695 * posix/fork.c: Likewise.
22696 * posix/fpathconf.c: Likewise.
22697 * posix/getaddrinfo.c: Likewise.
22698 * posix/getegid.c: Likewise.
22699 * posix/geteuid.c: Likewise.
22700 * posix/getgid.c: Likewise.
22701 * posix/getgroups.c: Likewise.
22702 * posix/getlogin.c: Likewise.
22703 * posix/getlogin_r.c: Likewise.
22704 * posix/getpgid.c: Likewise.
22705 * posix/getpid.c: Likewise.
22706 * posix/getppid.c: Likewise.
22707 * posix/getresgid.c: Likewise.
22708 * posix/getresuid.c: Likewise.
22709 * posix/getsid.c: Likewise.
22710 * posix/getuid.c: Likewise.
22711 * posix/glob64.c: Likewise.
22712 * posix/nanosleep.c: Likewise.
22713 * posix/pathconf.c: Likewise.
22714 * posix/pause.c: Likewise.
22715 * posix/posix_madvise.c: Likewise.
22716 * posix/pread.c: Likewise.
22717 * posix/pread64.c: Likewise.
22718 * posix/pwrite.c: Likewise.
22719 * posix/pwrite64.c: Likewise.
22720 * posix/sched_getaffinity.c: Likewise.
22721 * posix/sched_getp.c: Likewise.
22722 * posix/sched_gets.c: Likewise.
22723 * posix/sched_primax.c: Likewise.
22724 * posix/sched_primin.c: Likewise.
22725 * posix/sched_rr_gi.c: Likewise.
22726 * posix/sched_setaffinity.c: Likewise.
22727 * posix/sched_setp.c: Likewise.
22728 * posix/sched_sets.c: Likewise.
22729 * posix/sched_yield.c: Likewise.
22730 * posix/setgid.c: Likewise.
22731 * posix/setlogin.c: Likewise.
22732 * posix/setpgid.c: Likewise.
22733 * posix/setresgid.c: Likewise.
22734 * posix/setresuid.c: Likewise.
22735 * posix/setsid.c: Likewise.
22736 * posix/setuid.c: Likewise.
22737 * posix/sleep.c: Likewise.
22738 * posix/spawni.c: Likewise.
22739 * posix/sysconf.c: Likewise.
22740 * posix/times.c: Likewise.
22741 * posix/wait.c: Likewise.
22742 * posix/wait3.c: Likewise.
22743 * posix/wait4.c: Likewise.
22744 * posix/waitpid.c: Likewise.
22745 * resolv/gai_sigqueue.c: Likewise.
22746 * resource/getpriority.c: Likewise.
22747 * resource/getrlimit.c: Likewise.
22748 * resource/getrusage.c: Likewise.
22749 * resource/nice.c: Likewise.
22750 * resource/setpriority.c: Likewise.
22751 * resource/setrlimit.c: Likewise.
22752 * resource/ulimit.c: Likewise.
22753 * rt/aio_cancel.c: Likewise.
22754 * rt/aio_fsync.c: Likewise.
22755 * rt/aio_read.c: Likewise.
22756 * rt/aio_sigqueue.c: Likewise.
22757 * rt/aio_suspend.c: Likewise.
22758 * rt/aio_write.c: Likewise.
22759 * rt/clock_getres.c: Likewise.
22760 * rt/clock_gettime.c: Likewise.
22761 * rt/clock_nanosleep.c: Likewise.
22762 * rt/clock_settime.c: Likewise.
22763 * rt/lio_listio.c: Likewise.
22764 * rt/mq_close.c: Likewise.
22765 * rt/mq_getattr.c: Likewise.
22766 * rt/mq_notify.c: Likewise.
22767 * rt/mq_open.c: Likewise.
22768 * rt/mq_receive.c: Likewise.
22769 * rt/mq_send.c: Likewise.
22770 * rt/mq_setattr.c: Likewise.
22771 * rt/mq_timedreceive.c: Likewise.
22772 * rt/mq_timedsend.c: Likewise.
22773 * rt/mq_unlink.c: Likewise.
22774 * rt/shm_open.c: Likewise.
22775 * rt/shm_unlink.c: Likewise.
22776 * rt/timer_create.c: Likewise.
22777 * rt/timer_delete.c: Likewise.
22778 * rt/timer_getoverr.c: Likewise.
22779 * rt/timer_gettime.c: Likewise.
22780 * rt/timer_settime.c: Likewise.
22781 * setjmp/__longjmp.c: Likewise.
22782 * setjmp/setjmp.c: Likewise.
22783 * signal/kill.c: Likewise.
22784 * signal/killpg.c: Likewise.
22785 * signal/raise.c: Likewise.
22786 * signal/sigaction.c: Likewise.
22787 * signal/sigaltstack.c: Likewise.
22788 * signal/sigblock.c: Likewise.
22789 * signal/sigignore.c: Likewise.
22790 * signal/sigintr.c: Likewise.
22791 * signal/signal.c: Likewise.
22792 * signal/sigpause.c: Likewise.
22793 * signal/sigpending.c: Likewise.
22794 * signal/sigqueue.c: Likewise.
22795 * signal/sigreturn.c: Likewise.
22796 * signal/sigset.c: Likewise.
22797 * signal/sigsetmask.c: Likewise.
22798 * signal/sigstack.c: Likewise.
22799 * signal/sigsuspend.c: Likewise.
22800 * signal/sigtimedwait.c: Likewise.
22801 * signal/sigvec.c: Likewise.
22802 * signal/sigwait.c: Likewise.
22803 * signal/sigwaitinfo.c: Likewise.
22804 * signal/sysv_signal.c: Likewise.
22805 * socket/accept.c: Likewise.
22806 * socket/accept4.c: Likewise.
22807 * socket/bind.c: Likewise.
22808 * socket/connect.c: Likewise.
22809 * socket/getpeername.c: Likewise.
22810 * socket/getsockname.c: Likewise.
22811 * socket/getsockopt.c: Likewise.
22812 * socket/isfdtype.c: Likewise.
22813 * socket/listen.c: Likewise.
22814 * socket/recv.c: Likewise.
22815 * socket/recvfrom.c: Likewise.
22816 * socket/recvmsg.c: Likewise.
22817 * socket/send.c: Likewise.
22818 * socket/sendmsg.c: Likewise.
22819 * socket/sendto.c: Likewise.
22820 * socket/setsockopt.c: Likewise.
22821 * socket/shutdown.c: Likewise.
22822 * socket/sockatmark.c: Likewise.
22823 * socket/socket.c: Likewise.
22824 * socket/socketpair.c: Likewise.
22825 * stdio-common/ctermid.c: Likewise.
22826 * stdio-common/cuserid.c: Likewise.
22827 * stdio-common/remove.c: Likewise.
22828 * stdio-common/rename.c: Likewise.
22829 * stdio-common/renameat.c: Likewise.
22830 * stdio-common/tempname.c: Likewise.
22831 * stdlib/getcontext.c: Likewise.
22832 * stdlib/makecontext.c: Likewise.
22833 * stdlib/setcontext.c: Likewise.
22834 * stdlib/swapcontext.c: Likewise.
22835 * stdlib/system.c: Likewise.
22836 * streams/fattach.c: Likewise.
22837 * streams/fdetach.c: Likewise.
22838 * streams/getmsg.c: Likewise.
22839 * streams/getpmsg.c: Likewise.
22840 * streams/putmsg.c: Likewise.
22841 * streams/putpmsg.c: Likewise.
22842 * sysdeps/unix/bsd/getpt.c: Likewise.
22843 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22844 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22845 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22848 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22849 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22850 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22851 * sysvipc/msgctl.c: Likewise.
22852 * sysvipc/msgget.c: Likewise.
22853 * sysvipc/msgrcv.c: Likewise.
22854 * sysvipc/msgsnd.c: Likewise.
22855 * sysvipc/semctl.c: Likewise.
22856 * sysvipc/semget.c: Likewise.
22857 * sysvipc/semop.c: Likewise.
22858 * sysvipc/semtimedop.c: Likewise.
22859 * sysvipc/shmat.c: Likewise.
22860 * sysvipc/shmctl.c: Likewise.
22861 * sysvipc/shmdt.c: Likewise.
22862 * sysvipc/shmget.c: Likewise.
22863 * termios/tcdrain.c: Likewise.
22864 * termios/tcflow.c: Likewise.
22865 * termios/tcflush.c: Likewise.
22866 * termios/tcgetattr.c: Likewise.
22867 * termios/tcgetpgrp.c: Likewise.
22868 * termios/tcsendbrk.c: Likewise.
22869 * termios/tcsetattr.c: Likewise.
22870 * termios/tcsetpgrp.c: Likewise.
22871 * time/adjtime.c: Likewise.
22872 * time/clock.c: Likewise.
22873 * time/getitimer.c: Likewise.
22874 * time/gettimeofday.c: Likewise.
22875 * time/setitimer.c: Likewise.
22876 * time/settimeofday.c: Likewise.
22877 * time/stime.c: Likewise.
22878 * time/time.c: Likewise.
22880 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
22882 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22885 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22887 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22889 2012-11-03 Joseph Myers <joseph@codesourcery.com>
22892 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22893 FE_TONEAREST before applying Dekker multiplication and Knuth
22894 addition. Clear inexact exceptions and check for exact zero
22895 results afterwards.
22896 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22897 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22898 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22899 * math/libm-test.inc (fma_test): Add more tests.
22900 (fma_test_towardzero): Likewise.
22901 (fma_test_downward): Likewise.
22902 (fma_test_upward): Likewise.
22903 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22905 (libc_fesetround): New macro.
22906 (libc_fesetroundf): Likewise.
22907 (libc_fesetroundl): Likewise.
22908 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22910 (libc_fesetround_387): Likewise.
22911 (libc_fesetroundf): New macro.
22912 (libc_fesetround): Likewise.
22913 (libc_fesetroundl): Likewise.
22914 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22916 (libc_fesetroundf): New macro.
22917 (libc_fesetround): Likewise.
22918 (libc_fesetroundl): Likewise.
22919 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22920 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22921 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22923 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22924 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22926 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22927 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22929 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22933 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22934 integer constant usable in #if and use that to give value to enum
22936 (FE_DIVBYZERO): Likewise.
22937 (FE_UNDERFLOW): Likewise.
22938 (FE_OVERFLOW): Likewise.
22939 (FE_INVALID): Likewise.
22940 (FE_INVALID_SNAN): Likewise.
22941 (FE_INVALID_ISI): Likewise.
22942 (FE_INVALID_IDI): Likewise.
22943 (FE_INVALID_ZDZ): Likewise.
22944 (FE_INVALID_IMZ): Likewise.
22945 (FE_INVALID_COMPARE): Likewise.
22946 (FE_INVALID_SOFTWARE): Likewise.
22947 (FE_INVALID_SQRT): Likewise.
22948 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22949 (FE_TONEAREST): Likewise.
22950 (FE_TOWARDZERO): Likewise.
22951 (FE_UPWARD): Likewise.
22952 (FE_DOWNWARD): Likewise.
22953 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22954 (FE_DIVBYZERO): Likewise.
22955 (FE_OVERFLOW): Likewise.
22956 (FE_UNDERFLOW): Likewise.
22957 (FE_INEXACT): Likewise.
22958 (FE_TONEAREST): Likewise.
22959 (FE_DOWNWARD): Likewise.
22960 (FE_UPWARD): Likewise.
22961 (FE_TOWARDZERO): Likewise.
22962 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22963 (FE_UNDERFLOW): Likewise.
22964 (FE_OVERFLOW): Likewise.
22965 (FE_DIVBYZERO): Likewise.
22966 (FE_INVALID): Likewise.
22967 (FE_TONEAREST): Likewise.
22968 (FE_TOWARDZERO): Likewise.
22969 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22970 (FE_OVERFLOW): Likewise.
22971 (FE_UNDERFLOW): Likewise.
22972 (FE_DIVBYZERO): Likewise.
22973 (FE_INEXACT): Likewise.
22974 (FE_TONEAREST): Likewise.
22975 (FE_TOWARDZERO): Likewise.
22976 (FE_UPWARD): Likewise.
22977 (FE_DOWNWARD): Likewise.
22978 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22979 (FE_DIVBYZERO): Likewise.
22980 (FE_OVERFLOW): Likewise.
22981 (FE_UNDERFLOW): Likewise.
22982 (FE_INEXACT): Likewise.
22983 (FE_TONEAREST): Likewise.
22984 (FE_DOWNWARD): Likewise.
22985 (FE_UPWARD): Likewise.
22986 (FE_TOWARDZERO): Likewise.
22988 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22990 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22992 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22994 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22995 commands. Quote $PWD.
22996 (blacklist_exports): Don't use remove_newlines. Replace "declare
22998 (remove_newlines): Remove.
23000 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
23002 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
23003 * stdlib/stdlib.h (atof): Moved to ...
23004 * include/bits/stdlib-float.h: Here. New file.
23005 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
23006 * stdlib/bits/stdlib-float.h: New file.
23007 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
23009 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
23012 2012-11-02 Joseph Myers <joseph@codesourcery.com>
23014 * conform/conformtest.pl (@headers): Add fenv.h.
23015 * conform/data/fenv.h-data: New file.
23016 * include/fenv.h [_ISOMAC]: Disable all contents of file except
23017 include of <math/fenv.h>.
23019 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23020 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23021 && !UNIX98]. Enables tests for XOPEN2K8.
23022 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23023 POSIX2008]: Likewise.
23025 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23026 (struct rusage): Do not expect type or its members.
23029 * math/math.h (FP_NAN): Define macro to integer constant usable in
23030 #if and use that to give value to enum constant.
23031 (FP_INFINITE): Likewise.
23032 (FP_ZERO): Likewise.
23033 (FP_SUBNORMAL): Likewise.
23034 (FP_NORMAL): Likewise.
23036 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
23038 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23039 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23042 2012-11-02 Roland McGrath <roland@hack.frob.com>
23044 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23045 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23046 autoconf-time if not.
23047 * configure.in: Remove AC_PREREQ.
23049 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23051 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23052 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23053 of the internal implementation.
23055 2012-11-02 Joseph Myers <joseph@codesourcery.com>
23057 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23058 except include of <misc/sys/syslog.h>.
23060 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23063 function returns with a NULL context exit with zero.
23065 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23067 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23069 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
23071 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23072 (run_program_cmd): This.
23073 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23074 (tst_langinfo): New variable. Use it.
23076 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
23078 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23079 floating point opcodes.
23081 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23083 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23086 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23088 * sysdeps/mach/hurd/powerpc: Remove directory.
23089 * sysdeps/mach/powerpc: Likewise.
23091 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23093 * scripts/check-local-headers.sh: Ignore c++ headers.
23095 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23097 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23098 __libc_cleanup_region_start argument.
23100 2012-11-01 Joseph Myers <joseph@codesourcery.com>
23104 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23105 x * y using scaling, not as x * y + z.
23106 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23107 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23108 * math/libm-test.inc (fma_test): Add more tests.
23109 (fma_test_towardzero): Likewise.
23110 (fma_test_downward): Likewise.
23111 (fma_test_upward): Likewise.
23113 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23115 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23117 2012-10-31 Joseph Myers <joseph@codesourcery.com>
23119 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23122 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
23124 * rt/tst-shm.c (worker): Correct checking for mmap failure.
23126 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23133 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23136 Fix the order of the list for glibc 2.17.
23137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23140 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23144 2012-10-31 Joseph Myers <joseph@codesourcery.com>
23147 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23148 for low part of x being zero before using __atanl (y).
23149 * math/libm-test.inc (atan2_test): Add another test.
23151 * manual/install.texi (Configuring and compiling): Document
23152 general use of test-wrapper and test-wrapper-env.
23153 * INSTALL: Regenerated.
23155 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23156 (__fma): Do not extract and scale down low bits on after-rounding
23157 systems when result rounded to normal precision would have normal
23159 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23160 (__fmal): Do not extract and scale down low bits on after-rounding
23161 systems when result rounded to normal precision would have normal
23163 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23164 (__fmal): Do not extract and scale down low bits on after-rounding
23165 systems when result rounded to normal precision would have normal
23167 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23169 (fma_test): Add more tests.
23170 (fma_test_towardzero): Likewise.
23171 (fma_test_downward): Likewise.
23172 (fma_test_upward): Likewise.
23174 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
23176 * sysdeps/i386/tininess.h: Renamed to ...
23177 * sysdeps/x86/tininess.h: This.
23178 * sysdeps/x86_64/tininess.h: Removed.
23180 2012-10-30 Joseph Myers <joseph@codesourcery.com>
23182 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23183 input. Use $(build-program-cmd).
23184 ($(objpfx)tst-array1-static.out): Likewise.
23185 ($(objpfx)tst-array2.out): Likewise.
23186 ($(objpfx)tst-array3.out): Likewise.
23187 ($(objpfx)tst-array4.out): Likewise.
23188 ($(objpfx)tst-array5.out): Likewise.
23189 ($(objpfx)tst-array5-static.out): Likewise.
23191 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
23193 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23196 * nss/nsswitch.h (nss_interface_function): Provide new
23197 macro for use with NSS functions.
23198 * grp/initgroups.c: Use new macro.
23199 * nss/getXXbyYY.c: Likewise.
23200 * nss/getXXbyYY_r.c: Likewise.
23201 * nss/getXXent.c: Likewise.
23202 * nss/getXXent_r.c: Likewise.
23203 * sysdeps/posix/getaddrinfo.c: Likewise.
23205 2012-10-30 Andreas Jaeger <aj@suse.de>
23207 * po/ru.po: Update Russion translation from translation project.
23209 2012-10-30 Joseph Myers <joseph@codesourcery.com>
23213 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23214 result and shift together with sticky bit instead of replicating
23215 round-to-nearest rounding.
23216 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23217 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23218 * math/libm-test.inc (fma_test): Add more tests. Do not permit
23219 missing underflow exceptions.
23220 (fma_test_towardzero): Add more tests.
23221 (fma_test_downward): Likewise.
23222 (fma_test_upward): Likewise.
23225 * sysdeps/generic/tininess.h: New file.
23226 * sysdeps/i386/tininess.h: Likewise.
23227 * sysdeps/sh/tininess.h: Likewise.
23228 * sysdeps/x86_64/tininess.h: Likewise.
23229 * stdlib/tst-strtod-underflow.c: Likewise.
23230 * stdlib/tst-tininess.c: Likewise.
23231 * stdlib/strtod_l.c: Include <tininess.h>.
23232 (round_and_return): Do not set errno for exact underflow cases.
23233 Force an underflow exception when setting errno for underflow.
23234 Determine underflow based on rounding to normal precision if
23235 TININESS_AFTER_ROUNDING.
23236 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23237 ERANGE for exact underflow cases.
23238 * stdlib/Makefile (tests): Add tst-tininess and
23239 tst-strtod-underflow.
23240 ($(objpfx)tst-tininess): Use $(link-libm).
23241 ($(objpfx)tst-strtod-underflow): Likewise.
23243 2012-10-30 Andreas Jaeger <aj@suse.de>
23246 * elf/Makefile (tests): Remove conditional for have-initfini-array
23247 since this is now always required and the variable does not exist
23249 (tests-static): Likewise.
23250 (modules-names): Likewise.
23252 * po/eo.po: Add Esperanto translation from translation project.
23254 * elf/tst-array1.c (fini_array): Make writeable so that it can be
23255 merged with constructor/destructor.
23256 (init_array): Likewise.
23257 * elf/tst-array2dep.c (fini_array): Likewise.
23258 (init_array): Likewise.
23260 2012-10-29 Mike Frysinger <vapier@gentoo.org>
23262 * manual/message.texi: Delete @cartouche tags.
23264 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
23266 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
23268 * sysdeps/mach/hurd/fsync.c: Likewise.
23270 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
23271 [_POSIX_REALTIME_SIGNALS]: Change condition to
23272 [_POSIX_REALTIME_SIGNALS > 0].
23274 2012-10-27 Andreas Jaeger <aj@suse.de>
23276 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
23277 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
23278 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
23279 [__WORDSIZE != 64]: Likewise.
23281 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
23283 * iconvdata/tst-table.sh: Remove ${SHELL}.
23284 * iconvdata/tst-tables.sh: Likewise.
23286 2012-10-25 David S. Miller <davem@davemloft.net>
23288 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23289 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
23292 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
23294 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23295 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
23296 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
23299 2012-10-25 Roland McGrath <roland@hack.frob.com>
23301 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23302 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23305 2012-10-25 Joseph Myers <joseph@codesourcery.com>
23306 Jim Blandy <jimb@codesourcery.com>
23308 * scripts/cross-test-ssh.sh: New file.
23309 * manual/install.texi (Configuring and compiling): Document use of
23311 * INSTALL: Regenerated.
23313 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
23315 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
23318 2012-10-25 Joseph Myers <joseph@codesourcery.com>
23320 * Makeconfig (run-program-prefix): Fix comment.
23322 2012-10-24 Joseph Myers <joseph@codesourcery.com>
23323 Jim Blandy <jimb@codesourcery.com>
23325 * Makeconfig (test-wrapper): New variable,
23326 (test-wrapper-env): Likewise.
23327 [$(cross-compiling) = yes && $(test-wrapper) != ""]
23328 (run-built-tests): Define to yes.
23329 (run-program-prefix): Use $(test-wrapper).
23330 (built-program-cmd): Likewise.
23331 * Rules (make-test-out): Use $(test-wrapper-env) and
23332 $(host-built-program-cmd).
23333 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
23334 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
23336 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
23337 $(test-wrapper-env) to tst-rtld-load-self.sh.
23338 ($(objpfx)order2.out): Use $(test-wrapper).
23339 ($(objpfx)tst-initorder.out): Likewise.
23340 ($(objpfx)tst-initorder2.out): Likewise.
23341 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
23342 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
23343 (test_wrapper_env): New variable. Use it to run ld.so.
23344 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
23345 Use it to run ld.so.
23346 (test_wrapper_env): Likewise.
23347 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
23348 $(test-wrapper) to run-iconv-test.sh.
23349 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
23350 (ICONV): Use $test_wrapper.
23351 * posix/Makefile ($(objpfx)globtest.out): Pass
23352 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
23353 globtest.sh, not $(run-program-prefix).
23354 * posix/globtest.sh (run_via_rtld_prefix): New variable.
23355 (test_wrapper): Likewise.
23356 (test_wrapper_env): Likewise. Use it to run globtest with HOME
23357 set together with run_via_rtld_prefix.
23358 (run_program_prefix): Define in terms of test_wrapper and
23359 run_via_rtld_prefix.
23361 2012-10-24 Roland McGrath <roland@hack.frob.com>
23363 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
23364 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
23368 * include/time.h: Remove librt_hidden_proto (clock_gettime).
23369 Declare __clock_getres, __clock_gettime, __clock_settime,
23370 __clock_nanosleep, and __clock_getcpuclockid.
23371 * rt/clock_gettime.c: Define __clock_gettime as an alias.
23372 Remove librt_hidden_def (clock_gettime).
23373 * sysdeps/unix/clock_gettime.c: Likewise.
23374 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23375 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23376 * rt/clock_getres.c: Define __clock_getres as an alias.
23377 * sysdeps/posix/clock_getres.c: Likewise.
23378 * rt/clock_settime.c: Define __clock_settime as an alias.
23379 * sysdeps/unix/clock_settime.c: Likewise.
23380 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23381 * sysdeps/unix/clock_nanosleep.c: Likewise.
23382 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23383 * rt/clock-compat.c: New file.
23384 * rt/Makefile (librt-routines): Add clock-compat and move
23385 $(clock-routines) to ...
23386 (routines): ... here, new variable.
23387 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23388 Don't add get_clockfreq here.
23389 * rt/Versions (libc: GLIBC_2.17): New version set.
23390 Add clock_* symbols here.
23391 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
23392 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
23393 (GLIBC_2.17): Add clock_* symbols.
23394 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23396 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23405 * NEWS: Mention the move.
23407 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23408 Use __open, __read, __close rather than their public counterparts.
23409 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23410 (__get_clockfreq_via_cpuinfo): Likewise.
23411 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
23412 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
23414 * config.h.in (HAVE_IFUNC): New #undef.
23415 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
23417 * configure: Regenerated.
23419 2012-10-24 Mike Frysinger <vapier@gentoo.org>
23421 * configure.in: Move READELF check to start of file.
23422 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
23423 libc_cv_asm_gnu_indirect_function in the process.
23424 * configure: Regenerated.
23426 2012-10-24 Mike Frysinger <vapier@gentoo.org>
23428 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
23429 send the output to /dev/null.
23430 (libc_cv_cc_with_libunwind): Likewise.
23431 (libc_cv_as_noexecstack): Likewise.
23432 * configure: Regenerate.
23434 2012-10-24 Joseph Myers <joseph@codesourcery.com>
23436 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
23438 * posix/globtest.sh (TMPDIR): Do not set.
23439 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
23440 (testout): Likewise.
23442 2012-10-24 Andreas Jaeger <aj@suse.de>
23444 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
23445 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
23446 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
23447 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
23448 posix_fadvise64, posix_fallocate64.
23450 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
23451 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
23452 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
23454 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
23456 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23458 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23459 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23460 <bits/fcntl-linux.h>.
23461 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23463 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23464 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23465 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23466 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23467 [__WORDSIZE != 64]: Likewise.
23469 2012-10-23 Joseph Myers <joseph@codesourcery.com>
23471 * Makeconfig (run-built-tests): New variable.
23472 * Rules [$(cross-compiling) = yes]: Change condition to
23473 [$(run-built-tests) = no].
23474 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23475 to [$(run-built-tests) = yes].
23476 * elf/Makefile [$(cross-compiling) = no]: Likewise
23477 * grp/Makefile [$(cross-compiling) = no]: Likewise.
23478 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23479 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23480 * intl/Makefile [$(cross-compiling) = no]: Likewise.
23481 * io/Makefile [$(cross-compiling) = no]: Likewise.
23482 * libio/Makefile [$(cross-compiling) = no]: Likewise.
23483 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23484 * misc/Makefile [$(cross-compiling) = no]: Likewise.
23485 * posix/Makefile [$(cross-compiling) = no]: Likewise.
23486 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23487 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23488 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23489 * string/Makefile [$(cross-compiling) = no]: Likewise.
23491 * posix/Makefile ($(objpfx)globtest.out): Pass
23492 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23493 $(rtld-installed-name).
23494 * posix/globtest.sh (elf_objpfx): Remove variable.
23495 (rtld_installed_name): Likewise.
23496 (library_path): Likewise.
23497 (run_program_prefix): New variable. Use for running globtest
23500 2012-10-23 Jim Blandy <jimb@codesourcery.com>
23501 Joseph Myers <joseph@codesourcery.com>
23503 * Makeconfig (host-built-program-cmd): New variable.
23504 * elf/Makefile (tst-stackguard1-ARGS): Use
23505 $(host-built-program-cmd).
23506 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
23507 (tst-spawn-ARGS): Likewise.
23508 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
23510 2012-10-23 Joseph Myers <joseph@codesourcery.com>
23511 Jim Blandy <jimb@codesourcery.com>
23513 * Makeconfig (run-via-rtld-prefix): New variable.
23514 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
23515 (built-program-cmd): Likewise.
23517 2012-10-22 Andreas Jaeger <aj@suse.de>
23519 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
23520 __O_RSYNC if it exists, otherwise to O_SYNC.
23522 2012-10-22 Jim Blandy <jimb@codesourcery.com>
23523 Joseph Myers <joseph@codesourcery.com>
23525 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
23527 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
23529 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
23532 2012-10-22 Andreas Jaeger <aj@suse.de>
23534 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
23536 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
23538 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23539 bits/fcntl-linux.h.
23541 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
23542 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
23544 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
23546 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
23549 2012-10-21 Jim Blandy <jimb@codesourcery.com>
23550 Joseph Myers <joseph@codesourcery.com>
23552 * config.make.in (NM): New variable.
23554 2012-10-21 Andreas Jaeger <aj@suse.de>
23556 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23557 definitions and declarations that are provided by
23558 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23560 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23563 * elf/Makefile (tests-static): Add tst-leaks1-static.
23564 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23565 ($(objpfx)tst-leaks1-static): New rule.
23566 ($(objpfx)tst-leaks1-static-mem): Likewise.
23567 (tst-leaks1-static-ENV): New macro.
23568 * elf/dl-open.c (dl_open_worker): Check the main application
23569 only if SHARED is defined.
23570 * elf/tst-leaks1-static.c: New file.
23572 2012-10-20 Andreas Jaeger <aj@suse.de>
23574 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
23575 generic values for Linux.
23576 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
23577 and declarations that are provided by <bits/fcntl-linux.h> and
23578 include <bits/fcntl-linux.h>.
23579 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23580 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23582 2012-10-20 Roland McGrath <roland@hack.frob.com>
23584 * io/fcntl.h: Move include of <bits/types.h> to the top and
23585 include it unconditionally.
23587 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23589 * wcsmbs/Makefile (tests-ifunc): New variable.
23590 (tests): Add $(tests-ifunc).
23591 * wcsmbs/test-wcschr-ifunc.c: New file.
23592 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23593 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23594 * wcsmbs/test-wcslen-ifunc.c: Likewise.
23595 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23596 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23598 * string/Makefile (tests-ifunc): New variable.
23599 (tests): Add $(tests-ifunc).
23600 * string/test-memccpy.c (TEST_NAME): New macro.
23601 * string/test-memchr.c (TEST_NAME): Likewise.
23602 * string/test-memcmp.c (TEST_NAME): Likewise.
23603 * string/test-memcpy.c (TEST_NAME): Likewise.
23604 * string/test-memmem.c (TEST_NAME): Likewise.
23605 * string/test-memmove.c (TEST_NAME): Likewise.
23606 * string/test-memset.c (TEST_NAME): Likewise.
23607 * string/test-rawmemchr.c (TEST_NAME): Likewise.
23608 * string/test-stpcpy.c (TEST_NAME): Likewise.
23609 * string/test-stpncpy.c (TEST_NAME): Likewise.
23610 * string/test-strcasecmp.c (TEST_NAME): Likewise.
23611 * string/test-strcasestr.c (TEST_NAME): Likewise.
23612 * string/test-strcat.c (TEST_NAME): Likewise.
23613 * string/test-strchr.c (TEST_NAME): Likewise.
23614 * string/test-strcmp.c(TEST_NAME): Likewise.
23615 * string/test-strcpy.c (TEST_NAME): Likewise.
23616 * string/test-strcspn.c (TEST_NAME): Likewise.
23617 * string/test-strlen.c (TEST_NAME): Likewise.
23618 * string/test-strncasecmp.c (TEST_NAME): Likewise.
23619 * string/test-strncmp.c (TEST_NAME): Likewise.
23620 * string/test-strncpy.c (TEST_NAME): Likewise.
23621 * string/test-strnlen.c (TEST_NAME): Likewise.
23622 * string/test-strpbrk.c (TEST_NAME): Likewise.
23623 * string/test-strrchr.c (TEST_NAME): Likewise.
23624 * string/test-strspn.c (TEST_NAME): Likewise.
23625 * string/test-strstr.c (TEST_NAME): Likewise.
23626 * string/test-bcopy-ifunc.c: New file.
23627 * string/test-bzero-ifunc.c: Likewise.
23628 * string/test-memccpy-ifunc.c: Likewise.
23629 * string/test-memchr-ifunc.c: Likewise.
23630 * string/test-memcmp-ifunc.c: Likewise.
23631 * string/test-memcpy-ifunc.c: Likewise.
23632 * string/test-memmem-ifunc.c: Likewise.
23633 * string/test-memmove-ifunc.c: Likewise.
23634 * string/test-mempcpy-ifunc.c: Likewise.
23635 * string/test-memset-ifunc.c: Likewise.
23636 * string/test-rawmemchr-ifunc.c: Likewise.
23637 * string/test-stpcpy-ifunc.c: Likewise.
23638 * string/test-stpncpy-ifunc.c: Likewise.
23639 * string/test-strcasecmp-ifunc.c: Likewise.
23640 * string/test-strcasestr-ifunc.c: Likewise.
23641 * string/test-strcat-ifunc.c: Likewise.
23642 * string/test-strchr-ifunc.c: Likewise.
23643 * string/test-strchrnul-ifunc.c: Likewise.
23644 * string/test-strcmp-ifunc.c: Likewise.
23645 * string/test-strcpy-ifunc.c: Likewise.
23646 * string/test-strcspn-ifunc.c: Likewise.
23647 * string/test-strlen-ifunc.c: Likewise.
23648 * string/test-strncasecmp-ifunc.c: Likewise.
23649 * string/test-strncat-ifunc.c: Likewise.
23650 * string/test-strncmp-ifunc.c: Likewise.
23651 * string/test-strncpy-ifunc.c: Likewise.
23652 * string/test-strnlen-ifunc.c: Likewise.
23653 * string/test-strpbrk-ifunc.c: Likewise.
23654 * string/test-strrchr-ifunc.c: Likewise.
23655 * string/test-strspn-ifunc.c: Likewise.
23656 * string/test-strstr-ifunc.c: Likewise.
23658 * debug/Makefile (tests-ifunc): New variable.
23659 (tests): Add $(tests-ifunc).
23660 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23661 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23662 * debug/test-stpcpy_chk-ifunc.c: New file.
23663 * debug/test-strcpy_chk-ifunc.c: Likewise.
23665 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23668 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23669 header is not read in.
23671 2012-10-19 Joseph Myers <joseph@codesourcery.com>
23673 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23674 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23675 directly. Pass built executable to script as
23676 $(built-program-cmd).
23677 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23678 $testprogram without using LD_LIBRARY_PATH and $ldso.
23680 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23681 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23682 $(rtld-installed-name).
23683 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23684 (rtld_installed_name): Likewise.
23685 (library_path): Likewise.
23686 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23687 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23688 $(run-program-prefix) to tst-tables.sh.
23689 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23690 it to run tst-table-from and tst-table-to.
23691 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23692 Pass it to tst-table.sh.
23693 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23694 $(run-program-prefix) to tst-gettext.sh.
23695 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23697 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23699 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23700 to run tst-gettext.
23701 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23702 to run tst-gettext2.
23703 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23704 to run tst-translit.
23705 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23706 $(run-program-prefix) to tst-mtrace.sh.
23707 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23709 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23710 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23711 $(rtld-installed-name).
23712 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23713 (rtld_installed_name): Likewise.
23714 (run_program_prefix): New variable. Use it to run wordexp-test.
23716 * Makeconfig (ARCH): Remove all definitions.
23717 (machine): Likewise.
23718 [ARCH]: Remove conditional code.
23719 [!objdir]: Give error.
23720 [!objdir] (objpfx): Remove.
23721 [!objdir] (common-objpfx): Likewise.
23722 [!objdir] (common-objdir): Likewise.
23723 * configure.in (config_makefile): Remove. Hardcode Makefile in
23724 AC_CONFIG_FILES call.
23725 * configure: Regenerated.
23728 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23730 (testout): Likewise.
23732 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23733 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23734 $(rtld-installed-name).
23735 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23736 (rtld_installed_name): Likwise.
23737 (runit): Remove function.
23738 (run_getconf): New variable, Use it for running getconf binary.
23740 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23743 * string/test-memmem.c (check_result): New function.
23744 (do_one_test): Use it.
23745 (check1): New function.
23746 (test_main): Use it.
23748 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23750 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23752 2012-10-18 Joseph Myers <joseph@codesourcery.com>
23754 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23755 (_G_LSEEK64): Likewise.
23756 (_G_MMAP64): Likewise.
23757 (_G_FSTAT64): Likewise.
23758 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23759 (_G_LSEEK64): Likewise.
23760 (_G_MMAP64): Likewise.
23761 (_G_FSTAT64): Likewise.
23762 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23763 unconditional. Call __mmap64 directly.
23764 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23765 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23766 __lseek64 directly.
23767 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23768 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23770 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23771 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23772 __lseek64 directly.
23773 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23774 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23775 __lseek64 directly.
23776 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23777 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23778 __lseek64 directly.
23779 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23780 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23781 __fxstat64 directly.
23782 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23783 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23785 (freopen64) [!_G_OPEN64]: Remove conditional code.
23786 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23788 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23789 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23791 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23792 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23794 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23795 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23797 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23798 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23800 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23801 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23803 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23804 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23806 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23808 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23811 * manual/memory.texi (Malloc Tunable Parameters): Add note
23812 about free list pointers overwriting some perturb bytes.
23813 Wording suggested by Roland McGrath.
23815 2012-10-17 Joseph Myers <joseph@codesourcery.com>
23817 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23818 (lgamma_test): Likewise.
23819 (tgamma_test): Likewise.
23821 2012-10-16 Florian Weimer <fweimer@redhat.com>
23824 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23825 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23827 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23829 * NEWS: Mention BZ #14716.
23830 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23831 when removing AVAILABLE1_USES_J macro.
23833 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23835 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23836 (__bswap_64): __uint64_t for unsigned 64-bit int.
23838 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23840 * include/string.h (memmem): Declare libc hidden alias.
23841 * string/memmem.c (memmem): Define libc hidden alias.
23842 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23843 __read, __close instead of open, read, close.
23845 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23847 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23848 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23850 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23851 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23852 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23854 (__rawmemchr_sse2): Likewise.
23855 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23856 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23857 (__strchr_sse2): Likewise.
23858 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23859 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23860 (__strcasecmp_sse2): Likewise.
23861 (__strncasecmp_sse2): Likewise.
23862 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23863 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23864 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23865 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23866 (__strrchr_sse2): Likewise.
23867 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23869 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23870 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23871 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23872 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23873 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23874 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23875 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23876 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23877 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23878 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23879 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23880 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23881 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23882 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23883 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23884 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23885 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23886 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23887 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23888 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23889 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23890 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23891 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23892 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23893 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23894 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23895 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23896 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23897 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23898 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23900 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23902 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23903 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23904 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23905 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23907 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23909 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23910 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23911 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23912 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23914 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23915 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23916 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23917 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23918 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23919 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23920 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23921 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23922 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23923 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23924 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23925 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23926 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23927 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23928 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23929 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23930 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23931 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23932 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23933 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23934 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23935 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23936 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23937 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23938 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23939 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23940 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23941 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23942 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23943 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23944 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23945 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23946 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23947 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23948 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23949 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23950 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23951 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23952 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23953 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23954 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23956 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23957 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23958 * include/ifunc-impl-list.h: New file.
23959 * misc/ifunc-impl-list.c: Likewise.
23960 * misc/Makefile (routines): Add ifunc-impl-list.
23961 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23962 * string/test-string.h: Include <ifunc-impl-list.h>.
23963 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23964 TEST_NAME]: New variables.
23965 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23967 (test_init): Call __libc_ifunc_impl_list to initialize
23968 func_list if TEST_IFUNC and TEST_NAME are defined.
23970 * string/Makefile (strop-tests): Add bcopy and bzero.
23971 * string/test-bcopy.c: New file.
23972 * string/test-bzero.c: Likewise.
23973 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23975 * string/test-memset.c: Support bzero test if TEST_BZERO is
23977 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23979 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23981 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23984 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23986 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23987 * configure: Regenerated.
23989 * Makeconfig (+link-static-before-libc): Don't include
23990 $(link-static-libc).
23992 * libio/libio.h (_IO_pos_t): Remove.
23994 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23996 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23999 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24001 * crypt/crypt-entry.c: Include fips-private.h.
24002 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
24003 * crypt/md5c-test.c (main): Tolerate disabled MD5.
24004 * sysdeps/unix/sysv/linux/fips-private.h: New file.
24005 * sysdeps/generic/fips-private.h: New file, dummy fallback.
24007 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24009 * crypt/crypt-private.h: Include stdbool.h.
24010 (_ufc_setup_salt_r): Return bool.
24011 * crypt/crypt-entry.c: Include errno.h.
24012 (__crypt_r): Return NULL with EINVAL for bad salt.
24013 * crypt/crypt_util.c (bad_for_salt): New.
24014 (_ufc_setup_salt_r): Check that salt is long enough and within
24015 the specified alphabet.
24016 * crypt/badsalttest.c: New file.
24017 * crypt/Makefile (tests): Add it.
24018 ($(objpfx)badsalttest): New.
24020 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
24022 * NEWS: Add entry for BZ #14602.
24024 2012-10-09 Joseph Myers <joseph@codesourcery.com>
24026 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24028 * math/libm-test.inc: Update comment listing what functions and
24030 (isgreater_test): New function.
24031 (isgreaterequal_test): Likewise.
24032 (isless_test): Likewise.
24033 (islessequal_test): Likewise.
24034 (islessgreater_test): Likewise.
24035 (isunordered_test): Likewise.
24036 (main): Call the new functions.
24038 2012-10-09 Roland McGrath <roland@hack.frob.com>
24040 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24041 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24042 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24043 * sysdeps/i386/configure: Regenerated.
24044 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24045 * sysdeps/mach/configure: Regenerated.
24046 * sysdeps/mach/hurd/configure: Regenerated.
24047 * sysdeps/powerpc/configure: Regenerated.
24048 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24049 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24050 * sysdeps/s390/s390-32/configure: Regenerated.
24051 * sysdeps/s390/s390-64/configure: Regenerated.
24052 * sysdeps/sh/configure: Regenerated.
24053 * sysdeps/sparc/configure: Regenerated.
24054 * sysdeps/unix/sysv/linux/configure: Regenerated.
24055 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24056 * sysdeps/x86_64/configure: Regenerated.
24058 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24059 defined. Don't check if MAP is NULL.
24061 2012-10-09 Joseph Myers <joseph@codesourcery.com>
24063 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24064 (_G_stat64): Likewise.
24065 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24066 (_G_stat64): Likewise.
24067 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24068 instead of struct _G_stat64.
24069 * libio/fileops.c (mmap_remap_check): Likewise.
24070 (decide_maybe_mmap): Likewise.
24071 (_IO_new_file_seekoff): Likewise.
24072 (_IO_file_stat): Likewise.
24073 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24075 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24076 instead of struct _G_stat64.
24077 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24079 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
24082 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24084 (CHECK_EOL): New macro.
24085 (two_way_short_needle): Check beginning of haystack for EOL. Use
24087 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24088 Replace with CHECK_EOL.
24089 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24090 Replace with CHECK_EOL.
24092 2012-10-08 Joseph Myers <joseph@codesourcery.com>
24094 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24096 * math/libm-test.inc: Update comment listing what functions and
24098 (finite_test): New function.
24099 (isinf_test): Likewise.
24100 (isnan_test): Likewise.
24101 (fpclassify_test): Test subnormal input.
24102 (isfinite_test): Likewise.
24103 (isnormal_test): Likewise.
24104 (main): Call the new functions.
24106 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
24109 * Makerules (%.dynsym): Force C locale when running
24110 $(OBJDUMP) --dynamic-syms.
24112 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
24114 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24117 2012-10-06 David S. Miller <davem@davemloft.net>
24119 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24120 upper 32-bits of the length value in %o2 since we use branch-on-register
24121 tests which consider the entire 64-bit register.
24123 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
24125 * string/test-strstr.c (check2): Add a test for page boundary.
24127 2012-10-05 David S. Miller <davem@davemloft.net>
24129 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24130 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24132 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24134 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24135 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24136 and bzero when HWCAP_SPARC_CRYPTO is present.
24138 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
24141 * string/test-strstr.c (check2): New function.
24142 (test_main): Call check2.
24144 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24146 * string/bug-strcasestr1.c (do_test): Moved to ...
24147 * string/test-strcasestr.c (check1): Here. New function.
24148 (do_one_test): Break out result checking code into ...
24149 (check_result): This. New function.
24150 (do_one_test): Call check_result.
24151 (test_main): Call check1.
24152 * string/bug-strchr1.c (do_test): Moved to ...
24153 * string/test-strchr.c (check1): Here. New function.
24154 (do_one_test): Break out result checking code into ...
24155 (check_result): This. New function.
24156 (do_one_test): Call check_result.
24157 (test_main): Call check1.
24158 * string/bug-strstr1.c (main): Moved to ...
24159 * string/test-strstr.c (check1): Here. New function.
24160 (do_one_test): Break out result checking code into ...
24161 (check_result): This. New function.
24162 (do_one_test): Call check_result.
24163 (test_main): Call check1.
24164 * string/bug-strcasestr1.c: Removed.
24165 * string/bug-strchr1.c: Likewise.
24166 * string/bug-strstr1.c: Likewise.
24168 * elf/Makefile (dl-routines): Add hwcaps.
24169 * elf/dl-support.c (_dl_important_hwcaps): Removed.
24170 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24171 (_dl_important_hwcaps): Moved to ...
24172 * elf/dl-hwcaps.c: Here. New file.
24173 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24176 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24177 if IS_IN_rtld isn't defined.
24179 * elf/dl-support.c (_dl_sysinfo_map): New.
24180 Include "get-dynamic-info.h" and "setup-vdso.h".
24181 (_dl_non_dynamic_init): Call setup_vdso.
24182 * elf/dynamic-link.h: Don't include <assert.h>.
24183 (elf_get_dynamic_info): Moved to ...
24184 * elf/get-dynamic-info.h: Here. New file.
24185 * elf/dynamic-link.h: Include "get-dynamic-info.h".
24186 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24187 * elf/setup-vdso.h: Here. New file.
24188 * elf/rtld.c: Include "setup-vdso.h".
24189 (dl_main): Call setup_vdso.
24191 2012-10-05 Joseph Myers <joseph@codesourcery.com>
24193 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24194 creal in comment listing functions tested. List finite, isinf,
24195 isnan, isless, islessequal, isgreater, isgreaterequal,
24196 islessgreater, isunordered, lgamma_r and pow10 as functions and
24197 macros not tested. Mention which functions not tested are aliases
24198 for other functions. Fix typo. Note that signs of NaNs are not
24201 * scripts/config.guess: Update from config.git.
24202 * scripts/config.sub: Likewise.
24204 2012-10-04 Roland McGrath <roland@hack.frob.com>
24206 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24207 * misc/madvise.c (madvise): Renamed to __madvise.
24208 Make madvise a weak alias.
24209 * include/sys/mman.h: Declare __madvise.
24210 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24211 * sysdeps/unix/syscalls.list
24212 (madvise): Make __madvise the strong name, and madvise a weak alias.
24213 * sysdeps/unix/sysv/linux/syscalls.list
24214 (madvise, mmap): Remove redundant entries.
24215 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24216 * malloc/malloc.c (mtrim): Likewise.
24217 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24219 2012-10-03 Roland McGrath <roland@hack.frob.com>
24221 * sysdeps/mach/hurd/dl-cache.c: File removed.
24222 * config.h.in (USE_LDCONFIG): New #undef.
24223 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24224 * configure: Regenerated.
24225 * elf/Makefile (dl-routines): Add dl-cache only under
24226 [$(use-ldconfig) = yes].
24227 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24228 cache on [USE_LDCONFIG].
24229 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24231 * elf/rtld.c (dl_main): Likewise.
24233 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
24235 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24236 _SC_LEVEL4_CACHE_LINESIZE.
24238 2012-10-03 Roland McGrath <roland@hack.frob.com>
24240 * sysdeps/unix/bsd/confstr.h: File removed.
24242 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
24244 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
24247 2012-10-02 Roland McGrath <roland@hack.frob.com>
24249 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
24250 Make 'mapoff' field ElfW(Off) rather than off_t.
24252 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
24254 * nscd/Makefile: Remove nscd-cflags and all its users.
24255 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
24256 (CFLAGS-nonlib): Add compiler flags for nscd modules.
24259 * malloc.c (malloc_printerr): Clarify error message.
24261 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
24264 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24265 Set bit_FMA_Usable if FMA is supported.
24266 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
24268 (bit_FMA4_Usable): Updated.
24269 (index_FMA_Usable): New macro.
24270 (CPUID_FMA): Likewise
24271 (HAS_FMA): Defined with bit_FMA_Usable.
24273 2012-10-01 Roland McGrath <roland@hack.frob.com>
24275 * bits/types.h (__swblk_t): Type removed.
24276 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
24277 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
24278 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24279 (__SWBLK_T_TYPE): Likewise.
24280 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24281 (__SWBLK_T_TYPE): Likewise.
24282 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24283 (__SWBLK_T_TYPE): Likewise.
24284 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24285 (__SWBLK_T_TYPE): Likewise.
24287 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
24288 Honza Horak <hhorak@redhat.com>
24290 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
24291 (xdr_mapname): Use YPMAXMAP as maxsize.
24292 (xdr_peername): Use YPMAXPEER as maxsize.
24293 (xdr_keydat): Use YPAXRECORD as maxsize.
24294 (xdr_valdat): Use YPMAXRECORD as maxsize.
24296 2012-10-01 Roland McGrath <roland@hack.frob.com>
24298 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
24300 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
24301 * csu/init-first.c: ... here.
24302 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
24303 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24304 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24305 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24306 * sysdeps/i386/init-first.c: File removed.
24307 * sysdeps/sh/init-first.c: File removed.
24309 2012-10-01 Joseph Myers <joseph@codesourcery.com>
24312 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
24313 if x * y might underflow to zero and z is zero.
24314 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24315 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24316 * math/libm-test.inc (min_subnorm_value): New variable.
24317 (fma_test): Add more tests.
24318 (fma_test_towardzero): Likewise.
24319 (fma_test_downward): Likewise
24320 (fma_test_upward): Likewise.
24321 (initialize): Set min_subnorm_value.
24323 2012-09-29 Joseph Myers <joseph@codesourcery.com>
24326 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
24328 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
24329 mode for addition resulting in exact zero.
24330 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
24331 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
24333 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24334 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24335 * math/libm-test.inc (fma_test): Add more tests.
24336 (fma_test_towardzero): New function.
24337 (fma_test_downward): Likewise.
24338 (fma_test_upward): Likewise.
24339 (main): Call the new functions.
24341 2012-09-28 David S. Miller <davem@davemloft.net>
24343 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
24345 2012-09-28 Roland McGrath <roland@hack.frob.com>
24347 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
24348 instead of SIGALRM.
24350 * sysdeps/gnu/_G_config.h: Moved to ...
24351 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
24352 * sysdeps/mach/hurd/_G_config.h: Moved to ...
24353 * sysdeps/generic/_G_config.h: ... here.
24355 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
24357 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
24359 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
24360 Conditionalize target on [libnss_test1.so-version].
24362 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24364 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
24365 (elfobjdir): Move out of conditionals.
24367 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
24368 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
24369 (__nss_lookup_function): Conditionalize label remove_from_tree on
24370 [!DO_STATIC_NSS || SHARED], matching its only use.
24372 2012-09-28 David S. Miller <davem@davemloft.net>
24374 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24375 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24377 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24379 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24380 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24381 when HWCAP_SPARC_CRYPTO is present.
24383 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24385 * io/tst-mknodat.c: Create a FIFO instead of a socket.
24387 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
24390 * stdio-common/vfprintf.c (process_string_arg): Revert
24393 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
24395 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
24397 * stdio-common/tst-sprintf.c: Include <locale.h>
24398 (main): Test sprintf's handling of incomplete multibyte
24401 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
24403 * elf/dl-runtime.c (VERSYMIDX): Removed.
24404 * elf/dl-version.c (VERSYMIDX): Likewise.
24405 * elf/do-rel.h (VERSYMIDX): Likewise.
24406 (VALIDX): Likewise.
24407 * elf/dynamic-link.h (VERSYMIDX): Likewise.
24408 * elf/rtld.c (VALIDX): Likewise.
24409 (ADDRIDX): Likewise.
24410 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
24411 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
24412 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
24413 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
24414 (VALIDX): Likewise.
24415 (ADDRIDX): Likewise.
24417 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24419 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
24421 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
24424 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
24426 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
24427 addresses are in the same scope as 192.0.2/24.
24428 * posix/gai.conf: Document new scope table defaults.
24430 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24433 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
24434 for ftell. Compute offsets from write pointers instead.
24435 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24437 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24440 * libio/Makefile (tests): New test case tst-fseek.
24441 * libio/tst-fseek.c: New test case to verify that fseek/ftell
24442 combination works in wide mode.
24443 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
24444 state when the external buffer state changes.
24446 2012-09-27 David S. Miller <davem@davemloft.net>
24449 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
24450 pass reloc->r_addend in as the 'high' argument to
24451 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
24453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24455 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24457 * rt/tst-aio2.c: Include <pthread.h>.
24458 * rt/tst-aio3.c: Likewise.
24460 2012-09-27 Steve Ellcey <sellcey@mips.com>
24462 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24464 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
24466 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24467 contents on [SHARED].
24469 2012-09-26 Marek Polacek <polacek@redhat.com>
24473 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24474 for C++ and GCC <4.3 as well as for non GCC compilers.
24476 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24478 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24480 2012-09-25 Roland McGrath <roland@hack.frob.com>
24482 * Makefile.in (all, install): Declare with .PHONY.
24483 Reported by Michael Hope <michael.hope@linaro.org>.
24485 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24487 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24488 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24490 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24492 (sydep_routines): Add the new and the internal functions.
24493 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24494 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24496 (GLIBC_2.17): Add the new function.
24497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24498 (GLIBC_2.17): Likewise.
24499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
24500 (GLIBC_2.17): Likewise.
24501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
24502 (GLIBC_2.17): Likewise.
24503 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
24505 2012-09-25 Alan Modra <amodra@gmail.com>
24507 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
24508 Add release barrier before setting once_control to say
24509 initialisation is done. Add hints on lwarx. Use macro in
24511 (clear_once_control): Add release barrier.
24513 2012-09-25 Joseph Myers <joseph@codesourcery.com>
24516 * math/s_clog.c (__clog): Handle more values close to |z| = 1
24518 * math/s_clog10.c (__clog10): Likewise.
24519 * math/s_clog10f.c (__clog10f): Likewise.
24520 * math/s_clog10l.c (__clog10l): Likewise.
24521 * math/s_clogf.c (__clogf): Likewise.
24522 * math/s_clogl.c (__clogl): Likewise.
24523 * math/Makefile (libm-calls): Add x2y2m1.
24524 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
24525 (__x2y2m1): Likewise.
24526 (__x2y2m1l): Likewise.
24527 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
24528 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
24529 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
24530 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24531 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
24532 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
24533 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
24534 * sysdeps/i386/fpu/libm-test-ulps: Update.
24535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24538 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
24539 int as type of variable DEPTH.
24540 (glob): Use size_t instead of int as type of variables NEWCOUNT
24543 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24545 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24546 Add s_sincosf-sse2.
24547 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
24548 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
24549 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24550 macros for using routine as __sincosf_ia32.
24551 Use macro for function declaration and weak_alias.
24552 * sysdeps/i386/fpu/libm-test-ulps: Update.
24554 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24555 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24557 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
24558 subnormal argument.
24559 * math/s_cexpf.c (__cexpf): Likewise.
24560 * math/s_csinf.c (__csinf): Likewise.
24561 * math/s_csinhf.c (__csinhf): Likewise.
24562 * math/s_ctanf.c (__ctanf): Likewise.
24563 * math/s_ctanhf.c (__ctanhf): Likewise.
24564 * math/s_ccosh.c (__ccoshf): Likewise.
24565 * math/s_cexp.c (__cexpl): Likewise.
24566 * math/s_csin.c (__csin): Likewise.
24567 * math/s_csinh.c (__csinh): Likewise.
24568 * math/s_ctan.c (__ctan): Likewise.
24569 * math/s_ctanh.c (ctanh): Likewise.
24570 * math/s_ccoshl.c (__ccoshl): Likewise.
24571 * math/s_cexpl.c (__cexpl): Likewise.
24572 * math/s_csinl.c (__csinl): Likewise.
24573 * math/s_csinhl.c (__csinhl): Likewise.
24574 * math/s_ctanl.c (__ctanl): Likewise.
24575 * math/s_ctanhl.c (__ctanhl): Likewise.
24577 2012-09-25 Joseph Myers <joseph@codesourcery.com>
24579 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
24580 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
24581 (_IO_off_t): Define to __off_t, not _G_off_t.
24582 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
24583 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
24584 (_IO_wint_t): Define to wint_t, not _G_wint_t.
24585 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
24586 type of __dummy and __dummy2 fields.
24587 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
24588 (_G_ssize_t): Likewise.
24589 (_G_off_t): Likewise.
24590 (_G_pid_t): Likewise.
24591 (_G_uid_t): Likewise.
24592 (_G_wchar_t): Likewise.
24593 (_G_wint_t): Likewise.
24594 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
24595 (_G_ssize_t): Likewise.
24596 (_G_off_t): Likewise.
24597 (_G_pid_t): Likewise.
24598 (_G_uid_t): Likewise.
24599 (_G_wchar_t): Likewise.
24600 (_G_wint_t): Likewise.
24601 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
24602 (_G_ssize_t): Likewise.
24603 (_G_off_t): Likewise.
24604 (_G_pid_t): Likewise.
24605 (_G_uid_t): Likewise.
24606 (_G_wchar_t): Likewise.
24607 (_G_wint_t): Likewise.
24609 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24611 * malloc/arena.c: Include malloc-sysdep.h.
24612 (shrink_heap): Use check_may_shrink_heap to decide if madvise
24613 is sufficient to shrink the heap or an unmap is needed.
24614 * sysdeps/generic/malloc-sysdep.h: New file. Define
24615 new function check_may_shrink_heap.
24616 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
24617 new function check_may_shrink_heap.
24619 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24621 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24624 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
24626 * catgets/test-gencat.sh: Add "set -e".
24627 * elf/tst-pathopt.sh: Likewise.
24628 * grp/tst_fgetgrent.sh: Likewise.
24629 * iconvdata/run-iconv-test.sh: Likewise.
24630 * intl/tst-gettext.sh: Likewise.
24631 * intl/tst-gettext2.sh: Likewise.
24632 * intl/tst-gettext4.sh: Likewise.
24633 * intl/tst-gettext6.sh: Likewise.
24634 * intl/tst-translit.sh: Likewise.
24635 * io/ftwtest-sh: Likewise.
24636 * libio/test-freopen.sh: Likewise.
24637 * malloc/tst-mtrace.sh: Likewise.
24638 * posix/globtest.sh: Likewise.
24639 * posix/tst-getconf.sh: Likewise.
24640 * posix/wordexp-tst.sh: Likewise.
24641 * stdio-common/tst-printf.sh: Likewise.
24642 * stdio-common/tst-unbputc.sh: Likewise.
24643 * stdlib/tst-fmtmsg.sh: Likewise.
24644 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24645 * catgets/Makefile: Do not specify -e option when running
24646 testsuite shell scripts.
24647 * elf/Makefile: Likewise.
24648 * grp/Makefile: Likewise.
24649 * iconvdata/Makefile: Likewise.
24650 * intl/Makefile: Likewise.
24651 * io/Makefile: Likewise.
24652 * libio/Makefile: Likewise.
24653 * malloc/Makefile: Likewise.
24654 * posix/Makefile: Likewise.
24655 * stdio-common/Makefile: Likewise.
24656 * stdlib/Makefile: Likewise.
24657 * sysdeps/x86_64/Makefile: Likewise.
24659 * io/ftwtest-sh: Add copyright header.
24660 * posix/globtest.sh: Likewise.
24661 * posix/tst-getconf.sh: Likewise.
24662 * posix/wordexp-tst.sh: Likewise.
24663 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24665 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24668 * Makeconfig (+link): Defined as $(+link-static) if
24669 $(build-shared) isn't yes.
24670 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24672 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24674 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24677 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24678 new chunk size with MALLOC_ALIGN_MASK.
24680 2012-09-24 Joseph Myers <joseph@codesourcery.com>
24683 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24685 (__printf_fphex): Determine rounding using get_rounding_mode and
24687 * stdio-common/tst-printf-round.c (struct hex_test): New
24689 (hex_tests): New variable.
24690 (test_hex_in_one_mode): New function.
24691 (do_test): Also run tests for hex float output.
24693 2012-09-21 Joseph Myers <joseph@codesourcery.com>
24695 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24696 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24697 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24698 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24699 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24700 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24701 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24702 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24704 2012-09-20 Joseph Myers <joseph@codesourcery.com>
24706 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24707 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24708 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24709 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24711 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24714 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24716 * elf/tst-rtld-load-self.sh: New test.
24717 * elf/Makefile: Run it.
24719 2012-09-18 Joseph Myers <joseph@codesourcery.com>
24721 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24722 (tst-writev-ENV): Remove.
24723 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24725 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24727 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24729 2012-09-17 Joseph Myers <joseph@codesourcery.com>
24731 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24733 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24735 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24736 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24737 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24740 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24743 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24744 * config.make.in (have-cpp-asm-debuginfo): Removed.
24745 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24746 * configure: Regenerated.
24748 2012-09-14 Joseph Myers <joseph@codesourcery.com>
24751 * stdio-common/printf_fp.c: Include <stdbool.h> and
24753 (___printf_fp): Determine rounding using get_rounding_mode and
24755 * stdio-common/tst-printf-round.c: New file.
24756 * stdio-common/Makefile (tests): Add tst-printf-round.
24757 (link-libm): New variable.
24758 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24760 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24763 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24764 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24766 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24769 2012-09-13 Joseph Myers <joseph@codesourcery.com>
24771 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24772 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24773 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24774 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24776 2012-09-12 Joseph Myers <joseph@codesourcery.com>
24779 * include/rounding-mode.h: New file.
24780 * sysdeps/generic/get-rounding-mode.h: Likewise.
24781 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24782 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24783 (MAX_VALUE): New macro.
24784 (MIN_VALUE): Likewise.
24785 (overflow_value): New function.
24786 (underflow_value): Likewise.
24787 (round_and_return): Use overflow_value and underflow_value to
24788 determine return values in overflow and underflow cases. Use
24789 round_away to determine rounding depending on rounding mode.
24790 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24791 determine return values in overflow and underflow cases.
24792 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24793 (struct test_results): New structure.
24794 (struct test): Use struct test_results to store expected results
24795 for all rounding modes.
24796 (TEST): Include expected results for all rounding modes.
24797 (test_in_one_mode): New function.
24798 (do_test): Use test_in_one_mode to compute and check results.
24799 Check results for all rounding modes.
24800 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24803 2012-12-09 Allan McRae <allan@archlinux.org>
24805 * sysdeps/i386/fpu/libm-test-ulps: Update
24807 2012-09-11 Joseph Myers <joseph@codesourcery.com>
24809 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24810 (_G_int32_t): Likewise.
24811 (_G_uint16_t): Likewise.
24812 (_G_uint32_t): Likewise.
24813 (_G_HAVE_BOOL): Likewise.
24814 (_G_HAVE_ATEXIT): Likewise.
24815 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24816 (_G_HAVE_IO_FILE_OPEN): Likewise.
24817 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24818 (_G_int32_t): Likewise.
24819 (_G_uint16_t): Likewise.
24820 (_G_uint32_t): Likewise.
24821 (_G_HAVE_BOOL): Likewise.
24822 (_G_HAVE_ATEXIT): Likewise.
24823 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24824 (_G_HAVE_IO_FILE_OPEN): Likewise.
24825 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24826 (_G_int32_t): Likewise.
24827 (_G_uint16_t): Likewise.
24828 (_G_uint32_t): Likewise.
24829 (_G_HAVE_BOOL): Likewise.
24830 (_G_HAVE_ATEXIT): Likewise.
24831 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24832 (_G_HAVE_IO_FILE_OPEN): Likewise.
24834 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24836 * csu/libc-tls.c: Update copyright years.
24838 2012-09-10 Joseph Myers <joseph@codesourcery.com>
24840 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24841 [!_G_USING_THUNKS]: Remove conditional code.
24842 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24843 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24845 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24846 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24847 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24848 (_G_VTABLE_LABEL_PREFIX): Likewise.
24849 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24850 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24851 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24852 (_G_VTABLE_LABEL_PREFIX): Likewise.
24853 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24854 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24855 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24856 (_G_VTABLE_LABEL_PREFIX): Likewise.
24857 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24859 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24861 * libio/Makefile: Include ../Makeconfig before tests.
24862 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24863 only if $(build-shared) is yes.
24865 * iconv/gconv_db.c: Update copyright years.
24867 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24869 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24870 unwind info if defined PIC. Fix special cases description.
24871 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24873 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24875 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24877 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24879 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24881 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24884 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24885 (LDLIBS-tst-chk4): This.
24886 (LDFLAGS-tst-chk5): Renamed to ...
24887 (LDLIBS-tst-chk5): This.
24888 (LDFLAGS-tst-chk6): Renamed to ...
24889 (LDLIBS-tst-chk6): This.
24890 (LDFLAGS-tst-lfschk4): Renamed to ...
24891 (LDLIBS-tst-lfschk4): This.
24892 (LDFLAGS-tst-lfschk5): Renamed to ...
24893 (LDLIBS-tst-lfschk5): This.
24894 (LDFLAGS-tst-lfschk6): Renamed to ...
24895 (LDLIBS-tst-lfschk6): This.
24897 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24898 on $(common-objpfx)soversions.mk.
24900 2012-09-07 Joseph Myers <joseph@codesourcery.com>
24903 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24906 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24908 * malloc/arena.c (arena_get_retry): New function that gets
24909 another arena for the caller to try its request on.
24910 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24911 current arena cannot fulfill the request.
24912 (__libc_memalign): Likewise.
24913 (__libc_memalign): Likewise.
24914 (__libc_pvalloc): Likewise.
24915 (__libc_calloc): Likewise.
24917 2012-09-05 John Tobey <john.tobey@gmail.com>
24920 * manual/arith.texi (Operations on Complex): Fix description
24921 of carg branch cut.
24923 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24926 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24930 * manual/memory.texi (Memory): Make order of menu items match
24933 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24935 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24936 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24937 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24939 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24941 * csu/libc-tls.c (static_dtv): Renamed to ...
24942 (_dl_static_dtv): This. Make it global.
24943 (_dl_initial_dtv): Removed.
24944 (__libc_setup_tls): Updated.
24945 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24946 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24949 2012-09-06 Petr Machata <pmachata@redhat.com>
24951 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24952 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24953 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24954 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24956 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24959 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24960 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24963 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24966 * Makeconfig (link-static-before-libc): Replace $(+prector)
24968 (link-static-after-libc): Replace $(+postctor) with
24970 (link-bounded): Replace $(+prector)/$(+postctor) with
24971 $(+prectorT)/$(+postctorT).
24972 (+prectorT): New macro.
24973 (+postctorT): Likewise.
24975 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24977 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24978 (round_str): Handle values above the maximum for IBM long double
24980 * stdlib/tst-strtod-round.c (tests): Regenerated.
24982 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24984 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24986 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24987 zarch_nohighgprs around the zarch optimized routines.
24988 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24989 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24990 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24993 2012-09-05 David S. Miller <davem@davemloft.net>
24995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24997 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24998 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24999 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
25000 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25003 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25005 * malloc/arena.c: Fold copyright years.
25006 * malloc/mcheck.c, malloc/memusage.c: Likewise.
25008 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25010 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
25012 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25014 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
25016 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25018 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25019 change internal state upon failure.
25021 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25023 * malloc/mcheck.c (mcheck_check_all): Fix typo.
25024 * malloc/memusage.c (mmap): Likewise.
25025 (mmap64, mremap): Likewise. Adjust name in comment.
25027 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25029 * libio/fileops.c: Fix typos in comments.
25030 * libio/oldfileops.c: Likewise.
25031 * libio/wfileops.c: Likewise.
25033 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25036 * malloc/Makefile (tests): Add tst-malloc-usable test case.
25037 (tst-malloc-usable-ENV): Set environment for test case.
25038 * malloc/hooks.c (malloc_check_get_size): New function to get
25040 * malloc/malloc.c (musable): Use malloc_check_get_size.
25041 * malloc/tst-malloc-usable.c: New test case.
25043 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25045 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25047 2012-09-05 Allan McRae <allan@archlinux.org>
25050 * configure.in (CXX_SYSINCLUDES): Use compiler output to
25051 determine header location.
25052 * configure: Regenerated.
25054 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25056 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25058 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
25059 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25061 (test): Regenerate.
25063 2012-09-04 David S. Miller <davem@davemloft.net>
25065 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25066 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25067 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25069 2012-09-04 Florian Weimer <fweimer@redhat.com>
25071 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25074 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25076 2012-09-04 Joseph Myers <joseph@codesourcery.com>
25079 * libio/iogetdelim.c: Include <limits.h>.
25080 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25081 + len + 1 would overflow.
25083 2012-09-03 Andreas Jaeger <aj@suse.de>
25085 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25086 * sysdeps/i386/fpu/libm-test-ulps: Update.
25088 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25090 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25091 Add s_sinf-sse2, s_conf-sse2.
25093 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25094 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25095 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25096 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25098 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25099 for using routine as __sinf_ia32.
25100 Use macro for function declaration and weak_alias.
25101 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25102 for using routine as __cosf_ia32.
25103 Use macro for function declaration and weak_alias.
25105 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25106 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25108 * sysdeps/x86_64/fpu/s_sinf.S: New file.
25109 * sysdeps/x86_64/fpu/s_cosf.S: New file.
25110 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25112 * math/libm-test.inc (cos_test): Add more test cases.
25113 (sin_test): Likewise.
25114 (sincos_test): Likewise.
25116 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25118 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25119 (IFUNC_RESOLVE): Make pointers to the specialized implementations
25121 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25123 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
25126 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25127 first element of the GOT.
25128 (elf_machine_load_address): Return the difference between
25129 the runtime address of _DYNAMIC and elf_machine_dynamic ().
25131 2012-09-01 Allan McRae <allan@archlinux.org>
25134 * configure.in (AWK): Require gawk version 3.0 or later.
25135 * configure: Regenerated.
25137 2012-09-01 Joseph Myers <joseph@codesourcery.com>
25139 * sysdeps/unix/sysv/linux/kernel-features.h
25140 (__ASSUME_POSIX_CPU_TIMERS): Remove.
25141 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25142 [__NR_clock_getres]: Make code unconditional.
25143 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25144 (clock_getcpuclockid): Remove code left unreachable by removal of
25146 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25147 code unconditional.
25148 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25149 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25150 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25151 Make code unconditional.
25152 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25153 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25154 * sysdeps/unix/sysv/linux/clock_settime.c
25155 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25157 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25158 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25160 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
25163 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25164 scripts/test-installation.pl.
25166 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25167 and $ld_so_version if it is set.
25169 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25172 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25173 failure if reading from procfs failed.
25174 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25176 2012-08-27 Joseph Myers <joseph@codesourcery.com>
25178 * sysdeps/unix/sysv/linux/kernel-features.h
25179 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25180 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25181 Remove conditional code.
25182 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25183 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25184 Remove conditional code.
25185 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25186 * sysdeps/unix/sysv/linux/i386/fxstat.c
25187 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25188 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25189 * sysdeps/unix/sysv/linux/i386/fxstatat.c
25190 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25191 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25192 * sysdeps/unix/sysv/linux/i386/lxstat.c
25193 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25194 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25195 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25196 Remove conditional code.
25197 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25198 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25199 Remove conditional code.
25200 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25201 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25202 <kernel-features.h>.
25203 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25205 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25206 Remove conditional code.
25207 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25208 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25209 Remove conditional.
25211 2012-08-27 Mike Frysinger <vapier@gentoo.org>
25214 * NEWS: Add fixed bug number.
25216 2012-08-27 Joseph Myers <joseph@codesourcery.com>
25219 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25220 underflowing exponent in case of negative sign.
25221 * stdlib/tst-strtod-round-data: Add more tests.
25222 * stdlib/tst-strtod-round.c (tests): Regenerated.
25225 * stdlib/strtod_l.c (NDIG): Remove.
25226 (HEXNDIG): Likewise.
25227 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25228 smallest representable value.
25229 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25230 lie within an exact representation of 1/2 ulp of the result.
25231 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25233 (TENS_P9_IDX): Define unconditionally.
25234 (TENS_P9_SIZE): Likewise.
25235 (TENS_P10_IDX): Likewise.
25236 (TENS_P10_SIZE): Likewise.
25237 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25238 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25239 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25240 entries for 10^2^13 and 10^2^14.
25241 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25242 (TENS_P13_IDX): Define.
25243 (TENS_P13_SIZE): Likewise.
25244 (TENS_P14_IDX): Likewise.
25245 (TENS_P14_SIZE): Likewise.
25246 (_fpioconst_pow10): Change array size to
25247 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
25249 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
25250 1024]: Add entries for 10^2^13 and 10^2^14.
25251 [LAST_POW10 > _LAST_POW10]: Remove #error.
25252 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
25253 (_fpioconst_pow10): Change array size to
25254 FPIOCONST_POW10_ARRAY_SIZE.
25255 * stdlib/gen-fpioconst.c: New file.
25256 * stdlib/gen-tst-strtod-round.c: Likewise.
25257 * stdlib/tst-strtod-round-data: Likewise.
25258 * stdlib/tst-strtod-round.c: Likewise.
25259 * stdlib/Makefile (tests): Add tst-strtod-round.
25262 * stdlib/strtod_l.c: Include <stdint.h>.
25263 (NDEBUG): Do not define.
25264 (round_and_return): Change EXPONENT parameter to type intmax_t.
25265 Rearrange calculations to avoid internal overflow possibilities.
25266 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
25267 Rearrange calculations to avoid internal overflow possibilities.
25268 Assert that number fits inside MPNSIZE limbs.
25269 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
25270 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
25271 calculations and add assertions to avoid internal overflow
25272 possibilities. Add casts to avoid signed/unsigned operations.
25273 * stdlib/tst-strtod-overflow.c: New file.
25274 * stdlib/Makefile (tests): Add tst-strtod-overflow.
25276 2012-08-25 Marek Polacek <polacek@redhat.com>
25278 * time/time.h: Fix some typos in comments.
25280 2012-08-23 Roland McGrath <roland@hack.frob.com>
25282 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
25283 * posix/tst-rfc3484-2.c: Likewise.
25284 * posix/tst-rfc3484-3.c: Likewise.
25286 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
25288 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
25289 (EF_ARM_ABI_FLOAT_HARD): Likewise.
25291 2012-08-23 Joseph Myers <joseph@codesourcery.com>
25293 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
25294 #include of fxstatat64.c.
25296 2012-08-22 Roland McGrath <roland@hack.frob.com>
25298 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
25299 * shadow/getspent_r.c: Likewise.
25300 * shadow/getspnam.c: Likewise.
25301 * shadow/getspnam_r.c: Likewise.
25302 * gshadow/getsgent.c: Likewise.
25303 * gshadow/getsgent_r.c: Likewise.
25304 * gshadow/getsgnam.c: Likewise.
25305 * gshadow/getsgnam_r.c: Likewise.
25306 * inet/getnetbyad.c: Likewise.
25307 * inet/getnetbyad_r.c: Likewise.
25308 * inet/getnetbynm.c: Likewise.
25309 * inet/getnetbynm_r.c: Likewise.
25310 * inet/getnetent.c: Likewise.
25311 * inet/getnetent_r.c: Likewise.
25312 * inet/getproto.c: Likewise.
25313 * inet/getproto_r.c: Likewise.
25314 * inet/getprtent.c: Likewise.
25315 * inet/getprtent_r.c: Likewise.
25316 * inet/getprtname.c: Likewise.
25317 * inet/getprtname_r.c: Likewise.
25318 * inet/getrpcbyname.c: Likewise.
25319 * inet/getrpcbyname_r.c: Likewise.
25320 * inet/getrpcbynumber.c: Likewise.
25321 * inet/getrpcbynumber_r.c: Likewise.
25322 * inet/getrpcent.c: Likewise.
25323 * inet/getrpcent_r.c: Likewise.
25324 * inet/getaliasent.c: Likewise.
25325 * inet/getaliasent_r.c: Likewise.
25326 * inet/getaliasname.c: Likewise.
25327 * inet/getaliasname_r.c: Likewise.
25328 * nscd/getgrgid_r.c: Likewise.
25329 * nscd/getgrnam_r.c: Likewise.
25330 * nscd/gethstbyad_r.c: Likewise.
25331 * nscd/gethstbynm3_r.c: Likewise.
25332 * nscd/getpwnam_r.c: Likewise.
25333 * nscd/getpwuid_r.c: Likewise.
25334 * nscd/getsrvbynm_r.c: Likewise.
25335 * nscd/getsrvbypt_r.c: Likewise.
25336 * nscd/gai.c: Likewise.
25338 * configure.in (build_nscd): New substituted variable, set
25339 by --disable-build-nscd and defaults to $use_nscd.
25340 * configure: Regenerated.
25341 * config.make.in (build-nscd): New substituted variable.
25342 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
25343 Change conditional to require [$(build-nscd) = yes] as well.
25344 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
25347 * configure.in (use_nscd): New substituted variable, set by
25348 --disable-nscd. If enabled, define USE_NSCD.
25349 * configure: Regenerated.
25350 * config.h.in: Add USE_NSCD.
25351 * config.make.in (use-nscd): New substituted variable.
25352 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25353 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
25354 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
25355 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
25356 (CFLAGS-getgrnam_r.c): Likewise.
25357 (CFLAGS-initgroups.c): Likewise.
25358 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
25359 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25361 * inet/getnetgrent_r.c
25362 (nscd_setnetgrent): New function, broken out of ...
25363 (setnetgrent): ... here. Call it.
25364 (innetgr): Conditionalize nscd bits on [USE_NSCD].
25365 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
25366 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
25367 * nscd/Makefile (routines, aux): Move definitions after include of
25368 Makeconfig. Conditionalize on [$(use-nscd) != no].
25369 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
25370 Conditionalize on [USE_NSCD].
25371 (is_nscd, nscd_init_cb): Likewise.
25372 (nss_load_library): Conditionalize init callback on [USE_NSCD].
25373 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25374 * nss/nss_db/db-init.c: Likewise.
25375 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25377 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25378 (make_request): Use it.
25379 (cache_valid_p): New function.
25380 (__check_pf): Use it.
25381 * NEWS: Add item for --disable-nscd.
25383 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
25385 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25386 to support sed >= 4.2.1-20-ga9bf076.
25387 * configure: Regenerated.
25389 2012-08-22 Roland McGrath <roland@hack.frob.com>
25391 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
25392 Conditionalize whole body on [IREL].
25394 2012-08-22 Jeff Law <law@redhat.com>
25397 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
25398 if the family is PF_UNSPEC.
25400 2012-08-22 Mike Frysinger <vapier@gentoo.org>
25402 * Makerules (lib-version): Rename from V.
25403 (install-lib-nosubdir): Change V to lib-version.
25405 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
25408 * powerpc32/power6/wcschr.c: New file.
25409 * powerpc32/power6/wcscpy.c: New file.
25410 * powerpc32/power6/wcsrchr.c: New file.
25411 * powerpc64/power6/wcschr.c: New file.
25412 * powerpc64/power6/wcscpy.c: New file.
25413 * powerpc64/power6/wcsrchr.c: New file.
25415 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25417 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
25418 (two_way_short_needle): Use it.
25419 * string/strstr.c (AVAILABLE1_USES_J): Define.
25420 * string/strcasestr.c: Likewise.
25422 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
25424 * string/strcasestr.c (TOLOWER): Make side-effect safe.
25427 * NEWS: Add an entry.
25428 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25429 define their defaults.
25430 (two_way_short_needle): Detect end-of-string on-the-fly.
25431 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
25432 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
25433 * string/bug-strcasestr1.c: New test.
25434 * string/Makefile: Run it.
25436 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25439 * string/str-two-way.h (two_way_short_needle): Optimize matching of
25440 the first character.
25442 2012-08-21 Roland McGrath <roland@hack.frob.com>
25444 * csu/elf-init.c (__libc_csu_irel): Function removed.
25445 * csu/libc-start.c (apply_irel): New function.
25446 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
25448 2012-08-21 Joseph Myers <joseph@codesourcery.com>
25450 * sysdeps/unix/sysv/linux/kernel-features.h
25451 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
25452 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25453 <kernel-features.h>.
25454 [__NR_fadvise64_64]: Make code unconditional.
25455 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
25456 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25457 !__NR_fadvise64_64)]: Likewise.
25458 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25459 !__NR_fadvise64_64))]: Likewise.
25460 [__NR_fadvise64]: Make code unconditional.
25461 [!__NR_fadvise64]: Remove conditional code.
25462 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25463 <kernel-features.h>.
25464 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25466 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25469 not include <kernel-features.h>.
25470 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25472 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25474 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25475 include <kernel-features.h>.
25476 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25478 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25481 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25483 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25484 slight instruction rearrangements per scrollpipe analysis.
25485 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25487 2012-08-20 Roland McGrath <roland@hack.frob.com>
25489 * manual/syslog.texi (syslog; vsyslog, closelog):
25490 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25491 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25493 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25494 DSOCAPS to match condition on defining it.
25496 2012-08-20 Joseph Myers <joseph@codesourcery.com>
25498 * sysdeps/unix/sysv/linux/kernel-features.h
25499 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
25500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
25501 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25502 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
25504 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25505 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
25507 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25508 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25510 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
25511 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
25513 * sysdeps/unix/sysv/linux/kernel-features.h
25514 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
25515 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
25517 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25518 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
25519 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25520 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25521 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
25522 Make code unconditional.
25523 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25524 (__mmap64) [!__NR_mmap2]: Likewise.
25525 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
25526 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25527 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25528 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
25529 [__NR_mmap2]: Make code unconditional.
25530 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25531 (__mmap64) [!__NR_mmap2]: Likewise.
25533 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25535 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
25537 2012-08-18 Andreas Jaeger <aj@suse.de>
25539 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
25541 2012-08-18 Mike Frysinger <vapier@gentoo.org>
25543 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
25544 * include/unistd.h (__have_sock_cloexec): Likewise.
25545 (__have_pipe2): Likewise.
25546 (__have_dup3): Likewise.
25548 2012-08-18 Mike Frysinger <vapier@gentoo.org>
25551 * include/unistd.h (__have_pipe2): Change define into an extern int.
25552 (__have_dup3): Likewise.
25553 * socket/have_sock_cloexec.c: Include fcntl.h.
25554 (__have_pipe2): New variable.
25555 (__have_dup3): Likewise.
25557 2012-08-17 Mike Frysinger <vapier@gentoo.org>
25559 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25561 2012-08-17 Marek Polacek <polacek@redhat.com>
25563 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25564 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
25566 2012-08-17 Roland McGrath <roland@hack.frob.com>
25568 * configure.in: Add AC_SUBST for sysheaders.
25569 * configure: Regenerated.
25570 * config.make.in (sysheaders): New substituted variable.
25572 * sysdeps/unix/mkfifo.c: Moved ...
25573 * sysdeps/posix/mkfifo.c: ... here.
25574 * sysdeps/unix/mkfifoat.c: Moved ...
25575 * sysdeps/posix/mkfifoat.c: ... here.
25577 * sysdeps/unix/utime.c: Moved ...
25578 * sysdeps/posix/utime.c: ... here.
25580 * sysdeps/unix/time.c: Moved ...
25581 * sysdeps/posix/time.c: ... here.
25582 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
25583 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
25585 * sysdeps/unix/nice.c: Moved ...
25586 * sysdeps/posix/nice.c: ... here.
25588 * sysdeps/unix/alarm.c: Moved ...
25589 * sysdeps/posix/alarm.c: ... here.
25591 * intl/Makefile ($(codeset_mo)): Depend on the input file.
25593 2012-08-17 Jeff Law <law@redhat.com>
25595 * intl/Makefile (codeset_mo): New variable.
25596 ($(codeset_mo)): New target.
25597 (tst-codeset.out): Depend on that. Remove explicit rule.
25598 (tst-gettext3.out, tst-gettext5.out): Likewise.
25599 (LOCPATH-ENV, tst-codeset-ENV): New variables.
25600 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
25601 * intl/tst-codeset.sh: Remove.
25602 * intl/tst-gettext3.sh: Likewise.
25603 * intl/tst-gettext5.sh: Likewise.
25605 2012-08-17 Roland McGrath <roland@hack.frob.com>
25607 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
25608 * sysdeps/unix/syscalls.list: ... here.
25610 * sysdeps/posix/getaddrinfo.c
25611 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25612 (gaiconf_init, gaiconf_reload): Use them.
25613 [!_STATBUF_ST_NSEC]
25614 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25615 Define using time_t rather than struct timespec.
25617 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25618 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25620 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25622 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25623 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25626 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25627 __libc_cleanup_push argument.
25629 * bits/param.h: New file.
25630 * misc/sys/param.h: New file.
25631 * include/sys/param.h: New file.
25632 * misc/Makefile (headers): Add bits/param.h.
25633 * sysdeps/generic/sys/param.h: File removed.
25634 * sysdeps/unix/sysv/linux/bits/param.h: New file.
25635 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25636 * sysdeps/mach/hurd/bits/param.h: New file.
25637 * sysdeps/mach/hurd/sys/param.h: File removed.
25639 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25642 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25644 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25645 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25648 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25649 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25650 rather than -D_IO_MTSAFE_IO conditionally.
25651 * stdio-common/Makefile (CPPFLAGS): Likewise.
25652 * wcsmbs/Makefile (CPPFLAGS): Likewise.
25653 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25654 Use $(libio-mtsafe).
25655 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25656 of -D_IO_MTSAFE_IO.
25657 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25658 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25659 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25660 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25661 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25662 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25663 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25664 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25665 (CFLAGS-fread_u_chk.c): Likewise.
25666 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25667 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25668 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25669 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25670 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25671 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25672 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25673 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25674 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25676 * libio/Makefile: Test [$(libc-reentrant) = yes]
25677 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25680 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25681 * sysdeps/pthread/configure: File removed.
25682 * sysdeps/pthread/Makeconfig: New file.
25683 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25684 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25686 2012-08-16 Gary Benson <gbenson@redhat.com>
25688 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25689 unmapping the first object in a namespace.
25691 2012-08-16 Roland McGrath <roland@hack.frob.com>
25693 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25694 (__internal_setnetgrent): ... this. Add internal_function to
25695 definition. Add libc_hidden_def.
25696 (setnetgrent): Update caller.
25697 (internal_endnetgrent): Renamed to ...
25698 (__internal_endnetgrent): ... this. Add internal_function to
25699 definition. Add libc_hidden_def.
25700 (endnetgrent): Update caller.
25701 (internal_getnetgrent_r): Renamed to ...
25702 (__internal_getnetgrent_r): ... this. Add internal_function to
25703 definition. Add libc_hidden_def.
25704 (__getnetgrent_r): Update caller.
25705 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25707 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25709 * stdlib/longlong.h: Update from GCC.
25711 2012-08-16 Roland McGrath <roland@hack.frob.com>
25713 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25714 on _QL, which is set by umul_ppmm but never used.
25715 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25716 variables, which are set by GMP macros but never used.
25717 * stdio-common/_itowa.c (_itowa): Likewise.
25718 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25719 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25721 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25723 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25724 struct La_sh_regs is not constant.
25725 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25726 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25727 and struct La_sparc64_regs are not constant.
25729 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25731 * sysdeps/unix/sysv/linux/kernel-features.h
25732 (__ASSUME_POSIX_TIMERS): Remove.
25733 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25734 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25735 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25736 Make code unconditional.
25737 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25738 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25739 Make code unconditional.
25740 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25741 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25742 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25743 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25744 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25745 Make code unconditional.
25746 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25747 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25748 (__libc_missing_posix_timers): Remove.
25750 2012-08-15 Roland McGrath <roland@hack.frob.com>
25752 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25753 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25755 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25757 * elf/dl-sym.c: Include <stdlib.h>.
25759 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25760 constants, which avoids warnings in 32-bit builds.
25762 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25763 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25765 * misc/lseek.c: File moved to ...
25766 * io/lseek.c: ... here.
25768 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25770 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25771 shifting LEN more than 31 bits at once.
25773 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25776 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25777 segmentation fault for a case of two empty input strings.
25778 * string/test-strncasecmp.c (check1): Renamed to...
25779 (bz12205): ...this.
25780 (bz14195): Add new testcase for two empty input strings and N > 0.
25781 (test_main): Call new testcase, adapt for renamed function.
25783 2012-08-15 Andreas Jaeger <aj@suse.de>
25786 * crypt/md5test2.c: New test, based on test supplied by Serge
25787 Belyshev <belyshev@depni.sinp.msu.ru>.
25788 * crypt/Makefile (xtests): Add md5test-giant..
25789 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25791 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25794 * crypt/md5.c (md5_process_block): Don't assume the buffer
25795 length is less than 2**32.
25796 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25797 length is less than 2**64.
25799 2012-08-15 Roland McGrath <roland@hack.frob.com>
25801 * string/str-two-way.h: Include <sys/param.h>.
25802 (MAX): Macro removed.
25804 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25805 Move #define and #undef of memmove to just before and after
25806 including <string.h>.
25808 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25809 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25810 and after including <string.h>. Move declarations of
25811 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25812 to before #include "string/memmove.c".
25814 * include/dirent.h: Declare __getdirentries.
25816 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25817 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25819 2012-08-14 Mike Frysinger <vapier@gentoo.org>
25821 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25822 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25823 * sysdeps/i386/configure: Regenerated.
25824 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25825 STABS_CURRENT_FILE, and STABS_FUN.
25826 (END): Remove call to STABS_FUN_END.
25827 (STABS_CURRENT_FILE1): Delete.
25828 (STABS_CURRENT_FILE): Likewise.
25829 (STABS_FUN): Likewise.
25830 (STABS_FUN_END): Likewise.
25831 (STABS_FUN2): Likewise.
25832 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25833 * sysdeps/x86_64/configure: Regenerated.
25835 2012-08-14 Roland McGrath <roland@hack.frob.com>
25837 * elf/dl-open.c: Include <atomic.h>.
25838 * elf/dl-lookup.c: Likewise.
25840 2012-08-14 Joseph Myers <joseph@codesourcery.com>
25842 * sysdeps/unix/sysv/linux/kernel-features.h
25843 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25844 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25846 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25848 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25849 condition on __ASSUME_CLONE_THREAD_FLAGS.
25851 2012-08-14 Andreas Jaeger <aj@suse.de>
25853 * sysdeps/i386/fpu/libm-test-ulps: Update.
25855 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25857 * include/atomic.h (atomic_exchange_and_add): Split into ...
25858 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25861 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25863 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25865 2012-08-13 Jeff Law <law@redhat.com>
25867 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25868 null byte in the output string.
25870 2012-08-10 Joseph Myers <joseph@codesourcery.com>
25872 * sysdeps/unix/sysv/linux/kernel-features.h
25873 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25874 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25875 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25876 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25877 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25878 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25879 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25881 2012-08-09 Jeff Law <law@redhat.com>
25884 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25885 When avoid_arena is set, don't retry in the that arena. Pick the
25886 next one, whatever it might be.
25887 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25888 (arena_lock): Pass in new parameter to arena_get2.
25889 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25891 (__libc_malloc): Unify retrying after main arena failure with
25892 __libc_memalign version.
25893 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25895 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25898 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25899 to __redirect_strstr.
25900 (__strstr_sse42): Use typeof __redirect_strstr.
25901 (__strstr_ia32): Likewise.
25902 (__libc_strstr): New prototype.
25903 (strstr): Renamed to ...
25904 (__libc_strstr): This.
25905 (strstr): New strong alias of __libc_strstr.
25906 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25907 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25910 (__libc_time): New prototype.
25911 (time_ifunc): Replace time with __libc_time.
25912 (time): New strong alias and hidden definition of __libc_time.
25913 (__GI_time): Remove strong alias.
25914 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25915 Include <stddef.h>.
25916 (memmove): Redefined to __redirect_memmove.
25917 (__memmove_sse2): Use typeof __redirect_memmove.
25918 (__memmove_ssse3): Likewise.
25919 (__memmove_ssse3_back): Likewise.
25920 (__libc_memmove): New prototype.
25921 (memmove): Renamed to ...
25922 (__libc_memmove): This.
25923 (memmove): New strong alias of __libc_memmove.
25925 2012-08-08 Mark Salter <msalter@redhat.com>
25928 (R_MN10300_TLS_GD): Define.
25929 (R_MN10300_TLS_LD): Likewise.
25930 (R_MN10300_TLS_LDO): Likewise.
25931 (R_MN10300_TLS_GOTIE): Likewise.
25932 (R_MN10300_TLS_IE): Likewise.
25933 (R_MN10300_TLS_LE): Likewise.
25934 (R_MN10300_TLS_DTPMOD): Likewise.
25935 (R_MN10300_TLS_DTPOFF): Likewise.
25936 (R_MN10300_TLS_TPOFF): Likewise.
25937 (R_MN10300_SYM_DIFF): Likewise.
25938 (R_MN10300_ALIGN): Likewise.
25939 (R_MN10300_NUM): Update.
25941 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25943 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25946 2012-08-08 Roland McGrath <roland@hack.frob.com>
25948 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25950 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25951 sysdeps/unix -> sysdeps/posix move.
25952 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25954 2012-08-07 Allan McRae <allan@archlinux.org>
25957 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25958 (SUNOS_CPP): Likewise.
25959 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25961 (open_input): Call CPP using execvp.
25963 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25965 * sysdeps/unix/sysv/linux/kernel-features.h
25966 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25967 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25968 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25969 (__ASSUME_WAITID_SYSCALL): Likewise.
25970 * sysdeps/unix/sysv/linux/dl-execstack.c
25971 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25972 code unconditional.
25973 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25975 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25976 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25977 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25979 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25981 [__ASSUME_WAITID_SYSCALL]: Likewise.
25982 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25984 2012-08-07 Roland McGrath <roland@hack.frob.com>
25986 * sysdeps/unix/closedir.c: Renamed to ...
25987 * sysdeps/posix/closedir.c: ... here.
25988 * sysdeps/unix/dirfd.c: Renamed to ...
25989 * sysdeps/posix/dirfd.c: ... here.
25990 * sysdeps/unix/dirstream.h: Renamed to ...
25991 * sysdeps/posix/dirstream.h: ... here.
25992 * sysdeps/unix/fdopendir.c: Renamed to ...
25993 * sysdeps/posix/fdopendir.c: ... here.
25994 * sysdeps/unix/opendir.c: Renamed to ...
25995 * sysdeps/posix/opendir.c: ... here.
25996 * sysdeps/unix/readdir.c: Renamed to ...
25997 * sysdeps/posix/readdir.c: ... here.
25998 * sysdeps/unix/readdir_r.c: Renamed to ...
25999 * sysdeps/posix/readdir_r.c: ... here.
26000 * sysdeps/unix/rewinddir.c: Renamed to ...
26001 * sysdeps/posix/rewinddir.c: ... here.
26002 * sysdeps/unix/seekdir.c: Renamed to ...
26003 * sysdeps/posix/seekdir.c: ... here.
26004 * sysdeps/unix/telldir.c: Renamed to ...
26005 * sysdeps/posix/telldir.c: ... here.
26006 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
26007 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
26008 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26009 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
26011 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
26012 * bits/fcntl.h: ... here.
26014 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
26016 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
26017 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
26018 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26019 (struct flock): Move l_start, l_len to the beginning.
26020 Use __pid_t for l_pid.
26021 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26022 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26023 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26024 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26025 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26026 [__USE_LARGEFILE64] (struct flock64): New type.
26027 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26029 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26030 * bits/dirent.h: ... here.
26032 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26033 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26035 2012-08-07 Joseph Myers <joseph@codesourcery.com>
26037 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26038 Change from 2.6.0 to 2.6.16.
26039 * sysdeps/unix/sysv/linux/configure: Regenerated.
26040 * sysdeps/unix/sysv/linux/kernel-features.h
26041 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26042 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26044 (__ASSUME_UTIMES): Likewise.
26045 (__ASSUME_CLONE_STOPPED): Remove.
26046 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26047 architectures, not kernel version.
26048 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26049 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26050 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26051 (__ASSUME_WAITID_SYSCALL): Likewise.
26052 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26053 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26054 * README: State 2.6.16 as minimum Linux kernel version. Do not
26055 refer to older versions.
26057 2012-08-06 Roland McGrath <roland@hack.frob.com>
26059 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26060 Define alphasort64 as an alias.
26061 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26062 Define versionsort64 as an alias.
26063 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26064 Define scandir64 as an alias.
26065 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26066 Define scandirat64 as an alias.
26067 * dirent/alphasort64.c (alphasort64):
26068 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26069 * dirent/versionsort64.c: Likewise.
26070 * dirent/scandir64.c: Likewise.
26071 * dirent/scandirat64.c: Likewise.
26072 * sysdeps/wordsize-64/alphasort.c: File removed.
26073 * sysdeps/wordsize-64/alphasort64.c: File removed.
26074 * sysdeps/wordsize-64/scandir.c: File removed.
26075 * sysdeps/wordsize-64/scandir64.c: File removed.
26076 * sysdeps/wordsize-64/scandirat.c: File removed.
26077 * sysdeps/wordsize-64/scandirat64.c: File removed.
26078 * sysdeps/wordsize-64/versionsort.c: File removed.
26079 * sysdeps/wordsize-64/versionsort64.c: File removed.
26080 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26081 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26082 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26083 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26084 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26085 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26086 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26087 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26089 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26090 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26091 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26092 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26093 [defined __arch64__ || defined __sparcv9]
26094 (__INO_T_MATCHES_INO64_T): New macro.
26095 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26096 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26097 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26098 * sysdeps/unix/sysv/linux/bits/dirent.h
26099 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26100 (_DIRENT_MATCHES_DIRENT64): New macro.
26102 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26103 Define lockf64 as an alias.
26104 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26105 Define fseeko64 as an alias.
26106 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26107 Define ftello64 as an alias.
26108 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26109 Define _IO_fgetpos64 and fgetpos64 as aliases.
26110 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26111 Define _IO_fsetpos64 and fsetpos64 as aliases.
26112 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26113 Conditionalize body on this.
26114 * libio/fseeko64.c: Likewise.
26115 * libio/ftello64.c: Likewise.
26116 * libio/iofgetpos64.c: Likewise.
26117 * libio/iofsetpos64.c: Likewise.
26118 * sysdeps/wordsize-64/lockf.c: File removed.
26119 * sysdeps/wordsize-64/lockf64.c: File removed.
26120 * sysdeps/wordsize-64/fseeko.c: File removed.
26121 * sysdeps/wordsize-64/fseeko64.c: File removed.
26122 * sysdeps/wordsize-64/ftello.c: File removed.
26123 * sysdeps/wordsize-64/ftello64.c: File removed.
26124 * sysdeps/wordsize-64/iofgetpos.c: File removed.
26125 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26126 * sysdeps/wordsize-64/iofsetpos.c: File removed.
26127 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26128 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26129 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26130 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26131 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26132 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26133 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26134 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26135 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26136 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26137 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26139 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26140 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26141 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26142 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26143 [defined __arch64__ || defined __sparcv9]
26144 (__OFF_T_MATCHES_OFF64_T): New macro.
26145 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26146 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26147 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26148 (__OFF_T_MATCHES_OFF64_T): New macro.
26150 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26152 * stdlib/secure-getenv.c (__secure_getenv): Replace
26153 GLIBC_2_16 with GLIBC_2_17.
26155 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26157 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26158 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26160 2012-08-03 David S. Miller <davem@davemloft.net>
26162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26164 2012-08-03 Joseph Myers <joseph@codesourcery.com>
26166 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26168 (__ASSUME_CORRECT_SI_PID): Likewise.
26169 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26170 (__ASSUME_TMPFS_NAME): Likewise.
26171 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26172 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26173 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26174 (HAVE_AUX_SECURE): Make definition unconditional.
26175 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26176 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26178 2012-08-03 Roland McGrath <roland@hack.frob.com>
26180 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26181 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26182 * sysdeps/mach/hurd/eloop-threshold.h: New file.
26183 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26184 __eloop_threshold instead of SYMLOOP_MAX.
26186 * sysdeps/generic/eloop-threshold.h: New file.
26187 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26189 * elf/chroot_canon.c (chroot_canon): Likewise.
26191 2012-08-03 Joseph Myers <joseph@codesourcery.com>
26194 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26195 Change to 2.6.0 everywhere.
26196 * sysdeps/unix/sysv/linux/configure: Regenerated.
26197 * sysdeps/unix/sysv/linux/kernel-features.h
26198 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26199 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26201 (__ASSUME_POSIX_TIMERS): Define unconditionally.
26202 (__ASSUME_FUTEX_REQUEUE): Remove.
26203 (__ASSUME_STATFS64): Define unconditionally.
26204 (__ASSUME_AT_SECURE): Likewise.
26205 (__ASSUME_CORRECT_SI_PID): Likewise.
26206 (__ASSUME_TGKILL): Define without depending on kernel version for
26208 (__ASSUME_UTIMES): Likewise.
26209 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26211 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26212 (__ASSUME_TMPFS_NAME): Likewise.
26213 * README: Update reference to Linux kernel versions.
26215 2012-08-02 Marek Polacek <polacek@redhat.com>
26218 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
26219 libc_cv_asm_type_prefix with %.
26220 * configure: Regenerated.
26221 * include/libc-symbols.h: Remove comment about
26222 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26223 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26224 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26225 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26226 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26227 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26228 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26229 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26230 * elf/tst-unique2mod1.c: Likewise.
26231 * elf/tst-unique1mod2.c: Likewise.
26232 * elf/tst-unique1mod1.c: Likewise.
26233 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26234 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26235 Replace ASM_TYPE_DIRECTIVE with .type.
26236 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26237 * sysdeps/i386/sysdep.h: Likewise.
26238 * sysdeps/x86_64/sysdep.h: Likewise.
26239 * sysdeps/sh/sysdep.h: Likewise.
26240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26241 Do not define ASM_TYPE_DIRECTIVE.
26242 * sysdeps/powerpc/sysdep.h: Likewise.
26243 * sysdeps/powerpc/powerpc32/sysdep.h:
26244 Replace ASM_TYPE_DIRECTIVE with .type.
26245 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26246 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26247 * sysdeps/i386/fpu/e_powf.S: Likewise.
26248 * sysdeps/i386/fpu/e_expl.S: Likewise.
26249 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26250 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26251 * sysdeps/i386/fpu/e_pow.S: Likewise.
26252 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26253 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26254 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26255 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26256 * sysdeps/i386/fpu/e_log2.S: Likewise.
26257 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26258 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26259 * sysdeps/i386/fpu/e_powl.S: Likewise.
26260 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26261 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26262 * sysdeps/i386/fpu/e_logl.S: Likewise.
26263 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26264 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26265 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26266 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26267 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26268 * sysdeps/i386/fpu/e_log.S: Likewise.
26269 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26270 * sysdeps/i386/fpu/e_logf.S: Likewise.
26271 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26272 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26273 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26274 * sysdeps/i386/fpu/e_log10.S: Likewise.
26275 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26276 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26277 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26278 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26279 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26280 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26281 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26282 * sysdeps/i386/i686/strtok.S: Likewise.
26283 * sysdeps/i386/i386-mcount.S: Likewise.
26284 * sysdeps/i386/strtok.S: Likewise.
26285 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
26286 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26287 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26288 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26289 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26290 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26291 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26292 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26293 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26294 * sysdeps/x86_64/_mcount.S: Likewise.
26295 * sysdeps/x86_64/strtok.S: Likewise.
26296 * sysdeps/sh/_mcount.S: Likewise.
26298 2012-08-01 Roland McGrath <roland@hack.frob.com>
26300 * libio/iofopen.c: Include <fcntl.h>.
26301 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
26302 (_IO_fopen64, fopen64): Define as aliases.
26303 * libio/iofopen64.c: Include <fcntl.h>.
26304 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
26305 Conditionalize body on this.
26306 * sysdeps/wordsize-64/iofopen.c: File removed.
26307 * sysdeps/wordsize-64/iofopen64.c: File removed.
26309 2012-08-01 Marek Polacek <polacek@redhat.com>
26311 * libc/Makeconfig: Use elf in place of binfmt-subdir.
26312 Use dlfcn directly instead of a variable.
26313 (binfmt-subdir): Do not define.
26316 2012-08-01 Joseph Myers <joseph@codesourcery.com>
26318 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
26319 Remove all definitions.
26320 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
26321 <kernel-features.h>.
26322 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26323 (miss_F_GETOWN_EX): Remove all definitions.
26324 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
26326 [!__ASSUME_FCNTL64]: Remove conditional code.
26327 [__ASSUME_FCNTL64]: Make code unconditional.
26328 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
26329 <kernel-features.h>.
26330 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26331 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
26332 (lockf64) [__NR_fcntl64]: Make code unconditional.
26333 (lockf64) [__ASSUME_FCNTL64]: Likewise.
26335 * sysdeps/unix/sysv/linux/kernel-features.h
26336 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
26337 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
26338 Make code unconditional.
26339 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26340 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
26342 [__NR_vfork]: Make code unconditional.
26343 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26344 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
26346 [__NR_vfork]: Make code unconditional.
26347 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26348 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26350 2012-08-01 Roland McGrath <roland@hack.frob.com>
26352 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
26353 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
26355 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26356 Define mkstemp64 as an alias.
26357 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26358 Define mkstemps64 as an alias.
26359 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26360 Define mkostemp64 as an alias.
26361 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26362 Define mkostemps64 as an alias.
26363 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
26364 Conditionalize body on this.
26365 * misc/mkostemp64.c: Likewise.
26366 * misc/mkostemps64.c: Likewise.
26367 * misc/mkstemps64.c: Likewise.
26368 * sysdeps/wordsize-64/mkstemp64.c: File removed.
26369 * sysdeps/wordsize-64/mkostemp64.c: File removed.
26370 * sysdeps/wordsize-64/mkostemp.c: File removed.
26371 * sysdeps/wordsize-64/mkstemp.c: File removed.
26372 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26373 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26374 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26375 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26378 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26379 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26380 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26381 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26383 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26384 compat_symbol macros from <shlib-compat.h> rather than the underlying
26385 default_symbol_version and symbol_version macros, so that DEFAULT
26386 lines in shlib-versions are respected.
26387 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26389 2012-08-01 Florian Weimer <fweimer@redhat.com>
26391 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
26392 Declare with warn_unused_result.
26393 (setgid, setregid, setegid, setresgid): Likewise.
26394 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
26396 * WUR-REPORT: Remove set*id functions.
26398 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
26400 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
26402 2012-07-31 Roland McGrath <roland@hack.frob.com>
26405 * include/sys/socket.h (__libc_accept, __libc_accept4):
26406 Add attribute_hidden.
26407 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
26409 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
26411 * inet/getnetgrent_r.c (setup): Likewise.
26413 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
26415 2012-07-31 David S. Miller <davem@davemloft.net>
26417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26419 2012-07-31 Joseph Myers <joseph@codesourcery.com>
26422 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
26423 value between 1.0 and 2.0 and smaller part has absolute value less
26425 * math/s_clog10.c (__clog10): Likewise.
26426 * math/s_clog10f.c (__clog10f): Likewise.
26427 * math/s_clog10l.c (__clog10l): Likewise.
26428 * math/s_clogf.c (__clogf): Likewise.
26429 * math/s_clogl.c (__clogl): Likewise.
26430 * math/libm-test.inc (clog_test): Add more tests.
26431 (clog10_test): Likewise.
26432 * sysdeps/i386/fpu/libm-test-ulps: Update.
26433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26435 2012-07-31 Florian Weimer <fweimer@redhat.com>
26437 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
26438 Exit with zero in case no suitable GID is found, and write a
26439 message to standard error.
26441 2012-07-30 Roland McGrath <roland@hack.frob.com>
26443 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
26445 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
26446 (MAXPATHLEN): Removed.
26447 (NOGROUP, NODEV): New macros.
26448 (setbit, clrbit, isset, isclr): New macros.
26449 (howmany, roundup, powerof2): New macros.
26450 (DEV_BSIZE): New macro.
26452 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
26453 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
26455 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
26456 definition on [!__NO_LONG_DOUBLE_MATH].
26458 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26459 PTR_MANGLE and PTR_DEMANGLE.
26461 * socket/accept4.c (accept4): Rename to __libc_accept4.
26462 Define accept4 as a weak alias.
26464 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26465 on [_DIRENT_HAVE_D_TYPE].
26466 * io/ftw.c (ftw_dir): Likewise.
26468 * io/xmknod.c (__xmknod): Don't check PATH for being null.
26470 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26472 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26473 Use the BSD numbers rather than the arbitrary ones we had.
26474 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26475 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26476 (SIGXCPU, SIGXFSZ): New macros.
26479 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26480 initializer on [_LIBC_REENTRANT].
26482 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26483 definitions inside [_POSIX_MAPPED_FILES].
26485 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26487 * dirent/opendir.c: Include <fcntl.h>.
26489 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26490 (__libc_getspecific): Likewise.
26491 (__libc_key_create): Likewise.
26493 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26494 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26495 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26496 (tmpfile64): Define as alias.
26497 * sysdeps/wordsize-64/tmpfile.c: File removed.
26498 * sysdeps/wordsize-64/tmpfile64.c: File removed.
26499 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
26500 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
26502 * stdio-common/vfscanf.c: Include <stdbool.h>.
26503 * nss/makedb.c: Likewise.
26504 * stdio-common/_i18n_number.h: Likewise.
26505 * argp/argp-help.c: Likewise.
26506 * posix/wordexp.c: Likewise.
26507 * sysdeps/posix/spawni.c: Likewise.
26508 * nss/nss_files/files-initgroups.c: Likewise.
26509 * stdio-common/reg-modifier.c: Include <stdlib.h>.
26510 * nss/nss_files/files-initgroups.c: Likewise.
26511 * nss/nss_db/db-netgrp.c: Likewise.
26512 * nss/nss_db/db-initgroups.c: Likewise.
26513 * io/fchmodat.c: Include <sys/stat.h>.
26515 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
26516 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
26518 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
26521 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
26522 Add multiple inclusion protection.
26524 2012-07-27 David S. Miller <davem@davemloft.net>
26526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26528 2012-07-27 Gary Benson <gbenson@redhat.com>
26531 * elf/rtld.c: Include <stap-probe.h>.
26532 (dl_main): Added static probes "init_start" and "init_complete".
26533 * elf/dl-load.c: Include <stap-probe.h>.
26534 (lose): Take new parameter "nsid".
26535 Added static probe "map_failed".
26536 (_dl_map_object_from_fd): Pass namespace id to lose.
26537 Added static probe "map_start".
26538 (open_verify): Pass namespace id to lose.
26539 * elf/dl-open.c: Include <stap-probe.h>.
26540 (dl_open_worker) Added static probes "map_complete", "reloc_start"
26541 and "reloc_complete".
26542 * elf/dl-close.c: Include <stap-probe.h>.
26543 (_dl_close_worker): Added static probes "unmap_start" and
26545 * elf/rtld-debugger-interface.txt: New file documenting the above.
26547 2012-07-26 Roland McGrath <roland@hack.frob.com>
26549 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26550 rather than a string variable.
26551 * sunrpc/rpc_main.c (h_output): Likewise.
26552 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26554 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
26556 * inet/check_native.c: New file.
26558 2012-07-26 Joseph Myers <joseph@codesourcery.com>
26561 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26562 if larger part has absolute value 1.0.
26563 * math/s_clog10.c (__clog10): Likewise.
26564 * math/s_clog10f.c (__clog10f): Likewise.
26565 * math/s_clog10l.c (__clog10l): Likewise.
26566 * math/s_clogf.c (__clogf): Likewise.
26567 * math/s_clogl.c (__clogl): Likewise.
26568 * math/libm-test.inc (clog_test): Add more tests.
26569 (clog10_test): Likewise.
26570 * sysdeps/i386/fpu/libm-test-ulps: Update.
26571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26573 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
26574 (pltexit): Likewise.
26575 (La_regs): Likewise.
26576 (La_retval): Likewise.
26577 (int_retval): Likewise.
26578 Update #error for removed macros to refer only to definitions in
26580 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
26582 (pltexit): Likewise.
26583 (La_regs): Likewise.
26584 (La_retval): Likewise.
26585 (int_retval): Likewise.
26586 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
26588 (pltexit): Likewise.
26589 (La_regs): Likewise.
26590 (La_retval): Likewise.
26591 (int_retval): Likewise.
26592 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
26594 (pltexit): Likewise.
26595 (La_regs): Likewise.
26596 (La_retval): Likewise.
26597 (int_retval): Likewise.
26598 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
26600 (pltexit): Likewise.
26601 (La_regs): Likewise.
26602 (La_retval): Likewise.
26603 (int_retval): Likewise.
26604 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
26606 (pltexit): Likewise.
26607 (La_regs): Likewise.
26608 (La_retval): Likewise.
26609 (int_retval): Likewise.
26610 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26612 (pltexit): Likewise.
26613 (La_regs): Likewise.
26614 (La_retval): Likewise.
26615 (int_retval): Likewise.
26616 * sysdeps/generic/tst-audit.h: Update comment to refer only to
26617 macro definitions in tst-audit.h.
26618 * sysdeps/i386/tst-audit.h: New file.
26619 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26620 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26621 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26622 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26623 * sysdeps/sh/tst-audit.h: Likewise.
26624 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26625 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26626 * sysdeps/x86_64/tst-audit.h: Likewise.
26628 2012-07-26 Andreas Jaeger <aj@suse.de>
26630 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26633 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26634 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26635 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26637 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26638 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26639 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26641 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26644 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26646 (si_call_addr, si_syscall, si_arch): Define new macro.
26647 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26649 (si_call_addr, si_syscall, si_arch): Define new marcro.
26650 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26652 (si_call_addr, si_syscall, si_arch): Define new macro.
26653 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26655 (si_call_addr, si_syscall, si_arch): Define new macro.
26657 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26660 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26661 Change to 2.4.21 where previously 2.4.1.
26662 * sysdeps/unix/sysv/linux/configure: Regenerated.
26663 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26664 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26665 Linux kernel version.
26666 (__ASSUME_STD_AUXV): Remove.
26667 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26669 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26670 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26671 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26672 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26673 (__ASSUME_NETLINK_SUPPORT): Likewise.
26674 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26675 (__no_netlink_support): Remove conditional definition.
26676 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26678 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26679 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26680 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26681 (if_nameindex_ioctl): Remove.
26682 (if_nameindex_netlink): Do not handle __no_netlink_support.
26683 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26685 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26686 Remove conditional code.
26687 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26689 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26691 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26692 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26693 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26695 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26696 [!__ASSUME_STD_AUXV]: Remove conditional code.
26697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26698 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26699 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26701 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26702 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26704 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26706 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26707 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26709 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26711 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26714 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26717 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26718 code unconditional.
26719 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26721 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26723 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26726 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26728 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26731 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26732 code unconditional.
26733 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26735 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26737 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26740 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26741 code unconditional.
26742 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26744 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26746 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26749 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26751 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26752 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26753 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26754 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26755 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26756 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26757 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26758 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26759 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26760 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26761 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26762 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26763 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26764 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26765 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26766 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26767 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26768 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26769 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26770 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26771 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26772 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26773 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26775 2012-07-25 Florian Weimer <fweimer@redhat.com>
26777 * Versions.def: Add GLIBC_2.17.
26778 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26779 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26780 Introduce __libc_secure_getenv.
26781 * stdlib/Versions (2.17): Add secure_getenv
26782 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26783 * stdlib/secure-getenv.c: Rename __secure_getenv to
26784 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26785 symbol __secure_getenv for GLIBC_2.0.
26786 * stdlib/tst-secure-getenv.c: New.
26787 * stdlib/Makefile (tests): Add testcase.
26788 * manual/startup.texi (Environment Access): Document
26790 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26791 __libc_secure_getenv.
26792 * inet/ruserpass.c (ruserpass): Likewise.
26793 * malloc/mtrace.c (mtrace): Likewise.
26794 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26795 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26796 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26797 * sysdeps/posix/tempname.c: Likewise. Evaluate
26798 HAVE_SECURE_GETENV.
26799 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26800 __secure_getenv to __libc_secure_getenv.
26801 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26808 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26814 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26816 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26817 (struct La_i86_retval): Likewise.
26818 (struct La_x86_64_regs): Likewise.
26819 (struct La_x86_64_retval): Likewise.
26820 (struct La_x32_regs): Likewise.
26821 (struct La_x32_retval): Likewise.
26822 (struct La_ppc32_regs): Likewise.
26823 (struct La_ppc32_retval): Likewise.
26824 (struct La_ppc64_regs): Likewise.
26825 (struct La_ppc64_retval): Likewise.
26826 (struct La_sh_regs): Likewise.
26827 (struct La_sh_retval): Likewise.
26828 (struct La_s390_32_regs): Likewise.
26829 (struct La_s390_32_retval): Likewise.
26830 (struct La_s390_64_regs): Likewise.
26831 (struct La_s390_64_retval): Likewise.
26832 (struct La_sparc32_regs): Likewise.
26833 (struct La_sparc32_retval): Likewise.
26834 (struct La_sparc64_regs): Likewise.
26835 (struct La_sparc64_retval): Likewise.
26836 (struct audit_ifaces): Remove architecture-specific pltenter and
26838 * sysdeps/i386/ldsodefs.h: New file.
26839 * sysdeps/powerpc/ldsodefs.h: Likewise.
26840 * sysdeps/s390/ldsodefs.h: Likewise.
26841 * sysdeps/sh/ldsodefs.h: Likewise.
26842 * sysdeps/sparc/ldsodefs.h: Likewise.
26843 * sysdeps/x86_64/ldsodefs.h: Likewise.
26845 2012-07-25 Marek Polacek <polacek@redhat.com>
26848 * math/libm-test.inc (yn_test): Add another test.
26849 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26850 to ERANGE when the result is +-Inf.
26851 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26852 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26853 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26854 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26856 2012-07-24 Joseph Myers <joseph@codesourcery.com>
26858 * conform/data/time.h-data (NULL): Use macro-constant. Require
26860 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26862 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26864 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26866 * configure.in <sysdeps resolving>: Correct printing
26868 * configure: Regenerate.
26870 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26872 * math/w_ilogb.c: Include <limits.h>.
26873 * math/w_ilogbl.c: Likewise.
26875 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26877 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26878 va_copy. Document allowing for unavailable va_copy only as
26879 pre-C99 compatibility.
26880 * manual/string.texi (Copying and Concatenation): Use va_copy
26881 instead of __va_copy in concat example.
26883 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26885 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26886 (__sendto): Use create_address_port. Initialize APORT and deallocate
26889 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26890 with O_NOLINK passed to __file_name_lookup.
26892 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26893 with O_NOLINK passed to __file_name_lookup.
26895 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26896 negative N or less than NGIDS.
26898 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26899 type to string_t. Set ERANGE as errno and return it if NAME is not big
26900 enough. Use memcpy instead of strncpy.
26902 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26904 * elf/Makefile (check-data): Remove.
26905 (localplt.data): New vpath directive.
26906 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26907 instead of $(check-data).
26908 * scripts/data/localplt-generic.data: Move to ...
26909 * sysdeps/generic/localplt.data: ... here.
26910 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26911 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26912 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26915 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26918 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26921 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26924 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26927 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26931 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26933 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26934 PPC32 and PPC64 files.
26935 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26936 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26938 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26940 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26941 __makecontext_ret to ...
26942 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26943 ... here and call exit if uc_link is NULL. New file.
26944 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26945 __makecontext_ret.S.
26946 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26947 __makecontext_ret to ...
26948 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26949 ... here and call exit if uc_link is NULL. New file.
26950 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26951 __makecontext_ret.S.
26953 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26955 * elf/elf.h (R_390_IRELATIVE): New definition.
26956 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26957 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26958 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26959 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26960 (elf_machine_lazy_rel): Likewise.
26961 * sysdeps/s390/dl-irel.h: New file.
26962 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26963 * sysdeps/s390/s390-64/memset.S: New asm code.
26964 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26965 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26966 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26967 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26968 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26969 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26970 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26971 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26972 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26973 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26974 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26975 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26976 * sysdeps/s390/s390-32/memset.S: New asm code.
26977 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26979 2012-07-17 Marek Polacek <polacek@redhat.com>
26982 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26983 * sysdeps/s390/s390-64/configure.in: Likewise.
26984 * sysdeps/sparc/configure.in: Likewise.
26985 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26986 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26987 * sysdeps/i386/configure.in: Likewise.
26988 * sysdeps/x86_64/configure.in: Likewise.
26989 * sysdeps/sh/configure.in: Likewise.
26990 * sysdeps/s390/s390-32/configure: Regenerated.
26991 * sysdeps/s390/s390-64/configure: Likewise.
26992 * sysdeps/x86_64/configure: Likewise.
26993 * sysdeps/sh/configure: Likewise.
26994 * sysdeps/powerpc/powerpc64/configure: Likewise.
26995 * sysdeps/powerpc/powerpc32/configure: Likewise.
26996 * sysdeps/sparc/configure: Likwise.
26997 * sysdeps/i386/configure: Likewise.
26999 * elf/dl-open.c: Comment fixes.
27001 2012-07-17 Joseph Myers <joseph@codesourcery.com>
27003 * Makefile [CXX] (check-data): Remove.
27004 [CXX] (c++-types.data): New vpath directive.
27005 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
27006 vpath. Do not allow for C++ type data being missing.
27007 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
27008 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
27009 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
27010 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
27011 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
27012 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
27013 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
27014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27016 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
27017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27019 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27022 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27025 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27026 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27028 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27031 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27032 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27034 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27037 * elf/tls-macros.h (TLS_LE): Move architecture-specific
27038 definitions to architecture-specific files.
27039 (TLS_IE): Likewise.
27040 (TLS_LD): Likewise.
27041 (TLS_GD): Likewise.
27042 * sysdeps/i386/tls-macros.h: New file.
27043 * sysdeps/powerpc/tls-macros.h: Likewise.
27044 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27045 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27046 * sysdeps/sh/tls-macros.h: Likewise.
27047 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27048 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27049 * sysdeps/x86_64/tls-macros.h: Likewise.
27051 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27053 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27054 zero value for regular exit case.
27056 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27057 (__start_context): Preserve zero value for regular exit case.
27059 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27060 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27062 * manual/setjmp.texi (setcontext): Clarify normal process
27063 termination when uc_link is the null pointer.
27064 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27067 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
27069 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27070 preprocessor. Test for each exception mask separately.
27072 2012-07-16 Andreas Jaeger <aj@suse.de>
27074 * po/ru.po: Update from translation team.
27076 2012-07-15 Joseph Myers <joseph@codesourcery.com>
27078 * conform/data/string.h-data (NULL): Use macro-constant. Require
27080 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27081 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27082 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27083 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27084 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27086 2012-07-13 Andreas Jaeger <aj@suse.de>
27088 * po/fr.po: Update from translation team.
27090 2012-07-12 Marek Polacek <polacek@redhat.com>
27093 * math/libm-test.inc (yn_test): Add test for BZ #14173.
27094 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27097 2012-07-12 Joseph Myers <joseph@codesourcery.com>
27100 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27101 Change to 2.4.1 where previously 2.4.0.
27102 * sysdeps/unix/sysv/linux/configure: Regenerated.
27103 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27104 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27106 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27107 (__ASSUME_AT_CLKTCK): Remove.
27108 (__ASSUME_AT_PAGESIZE): Likewise.
27109 (__ASSUME_AT_XID): Likewise.
27110 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27111 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27112 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27114 (HAVE_AUX_PAGESIZE): Likewise.
27115 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27116 [__ASSUME_AT_CLKTCK]: Make code unconditional.
27117 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27119 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
27122 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27123 the temporary buffer used to invoke __gethostbyname2_r,
27124 __gethostbyaddr_r and gethostbyname4_r to make room for struct
27125 host_data / struct gaih_addrtuple.
27126 * resolv/nss_dns/dns-host.c (global scope): Move definition of
27127 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27128 header file nss/nsswitch.h.
27129 * nss/nsswitch.h (global scope): Add definition of implementation
27130 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27131 resolv/nss_dns/dns-host.c).
27133 2012-07-11 Andreas Jaeger <aj@suse.de>
27135 * po/fr.po: Update from translation team.
27137 * po/sv.po: Update from translation team
27138 * po/fr.po: Another update from translation team.
27140 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27142 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27143 for subnormals or multiply small sinh result by itself.
27144 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27147 2012-07-11 David S. Miller <davem@davemloft.net>
27149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27151 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
27154 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27155 (INTERNAL_MARK): Shift it here.
27157 2012-07-10 Marek Polacek <polacek@redhat.com>
27160 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
27161 libc_cv_asm_global_directive with .globl.
27162 * configure: Regenerated.
27163 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27165 * sysdeps/i386/configure: Regenerated.
27166 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27168 * sysdeps/x86_64/configure: Regenerated.
27169 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27170 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27171 * elf/tst-unique2mod2.c: Likewise.
27172 * elf/tst-unique2mod1.c: Likewise.
27173 * elf/tst-unique1mod2.c: Likewise.
27174 * elf/tst-unique1mod1.c: Likewise.
27175 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27176 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27177 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27178 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27179 * sysdeps/mach/sysdep.h: Likewise.
27180 * sysdeps/i386/sysdep.h: Likewise.
27181 * sysdeps/i386/i386-mcount.S: Likewise.
27182 * sysdeps/x86_64/_mcount.S: Likewise.
27183 * sysdeps/x86_64/sysdep.h: Likewise.
27184 * sysdeps/sh/_mcount.S: Likewise.
27185 * sysdeps/sh/sysdep.h: Likewise.
27186 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27187 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27188 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27189 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27190 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27191 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27192 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27193 * locale/localeinfo.h: Likewise.
27194 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27195 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27197 2012-07-09 Roland McGrath <roland@hack.frob.com>
27200 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27202 * manual/message.texi (The Uniforum approach): Likewise.
27203 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27204 (glibc iconv Implementation): Likewise.
27206 2012-07-09 Joseph Myers <joseph@codesourcery.com>
27209 * math/s_clog.c (__clog): Avoid scaling a value down where that
27210 could result in underflow.
27211 * math/s_clog10.c (__clog10): Likewise.
27212 * math/s_clog10f.c (__clog10f): Likewise.
27213 * math/s_clog10l.c (__clog10l): Likewise.
27214 * math/s_clogf.c (__clogf): Likewise.
27215 * math/s_clogl.c (__clogl): Likewise.
27216 * math/libm-test.inc (clog_test): Add more tests.
27217 (clog10_test): Likewise.
27218 * sysdeps/i386/fpu/libm-test-ulps: Update.
27219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27221 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
27224 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27225 by 7 not 8 to examine high bit of fractional part.
27228 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27229 for call to __mcount_internal.
27230 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27231 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27232 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27234 2012-07-06 Joseph Myers <joseph@codesourcery.com>
27237 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27238 approximation for values within 0x1p-13f of an odd multiple of
27240 * math/libm-test.inc (tan_test): Do not allow spurious underflow
27241 exception. Add more tests.
27242 * sysdeps/i386/fpu/libm-test-ulps: Update.
27245 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
27246 inputs and return -1 for them. Do not check for +Inf in case not
27247 reachable for +Inf.
27248 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27249 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
27250 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27251 and return -1 for them. Do not check for +Inf in case not
27252 reachable for +Inf.
27253 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
27255 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27256 and return -1 for them. Do not check for +Inf in case not
27257 reachable for +Inf.
27258 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
27259 spurious underflow.
27260 * sysdeps/i386/fpu/libm-test-ulps: Update.
27261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27263 2012-07-06 Mike Frysinger <vapier@gentoo.org>
27265 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
27267 2012-07-05 Joseph Myers <joseph@codesourcery.com>
27271 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
27272 could result in spurious underflow. Scale down values above
27273 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
27274 * math/s_csqrtf.c (__csqrtf): Likewise.
27275 * math/s_csqrtl.c (__csqrtl): Likewise.
27276 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
27277 spurious underflow.
27278 * sysdeps/i386/fpu/libm-test-ulps: Update.
27279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27281 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
27283 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
27285 * catgets/xopen-msg.awk: New file.
27286 * catgets/xopen-msg.sed: Removed.
27288 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
27290 * intl/po2test.awk: New file.
27291 * intl/po2test.sed: Removed.
27293 2012-07-04 Joseph Myers <joseph@codesourcery.com>
27296 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
27297 or multiply small sinh result by itself.
27298 * math/s_ctanf.c (__ctanf): Likewise.
27299 * math/s_ctanh.c (__ctanh): Likewise.
27300 * math/s_ctanhf.c (__ctanhf): Likewise.
27301 * math/s_ctanhl.c (__ctanhl): Likewise.
27302 * math/s_ctanl.c (__ctanl): Likewise.
27303 * math/libm-test.inc (ctan_test_tonearest): New function.
27304 (ctan_test_towardzero): Likewise.
27305 (ctan_test_downward): Likewise.
27306 (ctan_test_upward): Likewise.
27307 (ctanh_test_tonearest): Likewise.
27308 (ctanh_test_towardzero): Likewise.
27309 (ctanh_test_downward): Likewise.
27310 (ctanh_test_upward): Likewise.
27311 (main): Call these new functions.
27312 * sysdeps/i386/fpu/libm-test-ulps: Update.
27313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27315 2012-07-03 Mike Frysinger <vapier@gentoo.org>
27317 * .gitignore: Delete /ports entry.
27319 2012-07-03 Andreas Jaeger <aj@suse.de>
27321 * po/bg.po: Update from translation team.
27322 * po/cs.po: Likewise.
27323 * po/de.po: Likewise.
27324 * po/hr.po: Likewise.
27325 * po/nl.pl: Likewise.
27326 * po/pl.po: Likewise.
27327 * po/vi.po: Likewise.
27329 2012-07-03 Joseph Myers <joseph@codesourcery.com>
27331 * Makeconfig [!+link] (+link-before-libc): New variable.
27332 [!+link] (+link-after-libc): Likewise.
27333 [!+link] (+link-tests): Likewise.
27334 [!+link] (+link): Define in terms of $(+link-before-libc) and
27335 $(+link-after-libc).
27336 [!+link-static] (+link-static-before-libc): New variable.
27337 [!+link-static] (+link-static-after-libc): Likewise.
27338 [!+link-static] (+link-static-tests): Likewise.
27339 [!+link-static] (+link-static): Define in terms of
27340 $(+link-static-before-libc) and $(+link-static-after-libc).
27341 [build-shared] (link-libc-before-gnulib): New variable.
27342 [build-shared] (link-libc-tests): Likewise.
27343 [build-shared] (link-libc): Define in terms of
27344 $(link-libc-before-gnulib).
27345 [!build-shared] (link-libc-tests): New variable.
27346 (link-libc-static-tests): New variable.
27347 [!gnulib] (gnulib-arch): New variable.
27348 [!gnulib] (gnulib-tests): Likewise.
27349 [!gnulib] (static-gnulib-arch): Likewise.
27350 [!gnulib] (static-gnulib-tests): Likewise.
27351 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
27352 Define with "=" instead of ":=".
27353 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
27354 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
27355 * Rules (binaries-all-notests): New variable.
27356 (binaries-all-tests): Likewise.
27357 (binaries-static-notests): Likewise.
27358 (binaries-static-tests): Likewise.
27359 (binaries-all): Define using $(binaries-all-notests) and
27360 $(binaries-all-tests).
27361 (binaries-static): Define using $(binaries-static-notests) and
27362 $(binaries-static-tests).
27363 (binaries-shared-tests): New variable.
27364 (binaries-shared-notests): Likewise.
27365 (binaries-shared): Remove variable.
27366 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
27367 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
27368 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
27369 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
27370 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
27371 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
27372 * elf/Makefile (sln-modules): New variable.
27373 (extra-objs): Add $(sln-modules:=.o).
27374 (ldconfig-modules): Add static-stubs.
27375 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27376 * elf/static-stubs.c: New file.
27379 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27380 by 7 not 8 to examine high bit of fractional part. Use volatile
27381 variables when splitting into final array of floats if
27382 __FLT_EVAL_METHOD__ != 0.
27383 * math/libm-test.inc (cos_test): Add another test.
27384 (sin_test): Likewise.
27385 * sysdeps/i386/fpu/libm-test-ulps: Update.
27388 * math/libm-test.inc (cosh_test): Add more tests.
27390 * version.h (RELEASE): Set to "development".
27391 (VERSION): Set to "2.16.90".
27393 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
27395 * NEWS: Update copyright. Remove last-updated date.
27396 Mention math library bug fixes and timezone data changes.
27397 * README: Mention GNU/Hurd, x32, and HPPA support status.
27399 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
27401 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
27403 2012-06-27 Andreas Jaeger <aj@suse.de>
27405 * manual/contrib.texi (Contributors): Add Samuel Thibault.
27407 2012-06-25 Andreas Jaeger <aj@suse.de>
27409 * sysdeps/s390/fpu/libm-test-ulps: Update.
27411 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
27412 Thomas Schwinge <thomas@codesourcery.com>
27414 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
27415 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
27416 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
27419 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
27421 * sysdeps/mach/start.c: Remove file.
27422 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
27423 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
27424 * sysdeps/sh/init-first.c: Likewise.
27426 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
27427 registers for frame unwinding purposes, add CFI directives.
27428 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27429 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
27430 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
27433 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
27434 __fortify_fail returning.
27435 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27437 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
27438 sysdeps/sh/____longjmp_chk.S.
27439 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
27440 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
27441 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
27442 (gen-as-const-headers): Append sigaltstack-offsets.sym.
27444 * sysdeps/sh/abort-instr.h: New file.
27445 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
27446 process in case exit returns.
27448 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
27449 initialize the GOT register before use.
27451 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
27452 calculation of ARGC > 4.
27454 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
27455 meaningful names to some local labels.
27457 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27458 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27460 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27461 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27462 (__arch_compare_and_exchange_val_16_acq): Likewise.
27463 (__arch_compare_and_exchange_val_32_acq): Likewise.
27464 (atomic_exchange_and_add): Fix gUSA sequence.
27465 (atomic_add): Likewise.
27466 (atomic_add_negative): Likewise.
27467 (atomic_add_zero): Likewise.
27468 (atomic_bit_test_set): Likewise.
27470 2012-06-22 Andreas Schwab <schwab@redhat.com>
27473 * include/link.h (struct link_map): Add l_free_initfini.
27474 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27476 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27477 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27478 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27481 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
27483 * configure.in: Use AC_LANG_SOURCE.
27484 * configure: Regenerate.
27486 2012-06-22 Roland McGrath <roland@hack.frob.com>
27488 * configure.in (libc_cv_localstatedir): New substituted variable.
27489 * configure: Regenerated.
27490 * config.make.in (localstatedir): New variable, substituted from
27491 libc_cv_localstatedir.
27492 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27493 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27494 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27495 * sysdeps/gnu/configure: Regenerated.
27497 2012-06-21 Jeff Law <law@redhat.com>
27500 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
27501 free. Simplify list management for _LIBC case.
27503 2012-06-21 Joseph Myers <joseph@codesourcery.com>
27506 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27507 Clear sign bit of 64-bit integer value before comparing against
27510 * sysdeps/mach/configure: Regenerated.
27512 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
27515 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
27517 2012-06-21 Jeff Law <law@redhat.com>
27520 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
27521 uint16_t for elements in the "seen" array to avoid char overflows.
27522 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27523 * elf/dl-open.c (dl_open_worker): Likewise.
27525 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
27527 * scripts/list-sources.sh: Scan PORTS for translations.
27528 * po/libc.pot: Regenerated.
27530 2012-06-21 Andreas Jaeger <aj@suse.de>
27533 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
27535 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
27536 * bits/byteswap-16.h (__bswap_16): Likewise.
27537 * bits/byteswap.h (__bswap_constant_16): Likewise.
27539 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
27542 * sysdeps/i386/fpu_control.h: Removed.
27543 * sysdeps/x86_64/fpu_control.h: Moved to ...
27544 * sysdeps/x86/fpu_control.h: Here.
27546 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
27547 (_FPU_SETCW): Likewise.
27549 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
27552 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27553 * sysdeps/x86/fpu/bits/mathinline.h: This.
27554 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27558 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27559 functions if __x86_64__ is defined.
27561 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
27563 * string/endian.h: Add !__ASSEMBLER__ condition for including
27564 conversion interfaces.
27566 2012-06-15 Joseph Myers <joseph@codesourcery.com>
27569 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
27570 of ABS(x) in calculating zero to negative powers other than odd
27572 * math/libm-test.inc (pow_test): Add more tests.
27574 2012-06-15 Andreas Jaeger <aj@suse.de>
27576 * manual/contrib.texi (Contributors): Update entry of Liubov
27577 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
27580 2012-06-15 Cyril Hrubis <metan@ucw.cz>
27582 * string/string.h: Add __wur to GNU version of strerror_r.
27584 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
27587 * string/Makefile (tests): Add tst-strtok_r.
27588 * string/tst-strtok_r.c: New file.
27589 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
27590 RAX_LP/RDX_LP on SAVE_PTR.
27592 2012-06-14 Roland McGrath <roland@hack.frob.com>
27594 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
27596 2012-06-14 Joseph Myers <joseph@codesourcery.com>
27598 * libm_test.inc (csqrt_test): Allow more spurious underflow
27600 (j0_test): Likewise.
27601 (j1_test): Likewise.
27602 (y0_test): Likewise.
27603 (y1_test): Likewise.
27605 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
27607 * po/Makefile (libc.pot): Use UTF-8 charset.
27609 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
27612 Suppress sign-conversion warning from FD_SET.
27613 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27614 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27615 not unsigned long int.
27616 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27618 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
27622 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27623 __extern_always_inline instead of __extern_inline.
27624 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27625 (__signbit): Likewise.
27626 (__signbitl): Support C++ namespace.
27627 (lrintf): New inline function.
27629 (llrintf): Likewise.
27630 (llrint): Likewise.
27640 (floorf): Likewise.
27641 (nearbyint): Likewise.
27642 (nearbyintf): Likewise.
27644 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
27646 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27647 non-default versions.
27649 2012-06-11 Roland McGrath <roland@hack.frob.com>
27652 * manual/argp.texi (Argp): Reword argp_parse description slightly.
27654 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
27656 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27657 (FE_UPWARD, FE_DOWNWARD): Don't define.
27658 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27659 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27661 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27663 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27664 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27666 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27668 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27669 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27670 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27671 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27673 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27676 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27677 * sysdeps/i386/fpu/Implies: New file.
27678 * sysdeps/x86_64/fpu/Implies: Likewise.
27679 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27680 * sysdeps/x86/fpu/bits/fenv.h: This.
27682 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27685 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27688 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27689 character 0xffff that matches the last element of the
27692 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27694 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27697 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27699 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27700 values higher than 25.6283.
27702 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27704 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27705 subnormal exponent extraction and add some __builtin_expect.
27706 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27707 Fix for subnormal mantissa calculation.
27709 2012-06-04 Mike Frysinger <vapier@gentoo.org>
27711 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27712 cpu2 is -1 and errno is not ENOSYS.
27714 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27717 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27718 * sysdeps/x86/bits/string.h: This.
27719 * sysdeps/x86_64/bits/string.h: Removed.
27721 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27722 if not compiling for x86-64, but compiling for >= i486.
27724 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27725 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27727 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27728 New macro from Linux kernel 3.4.0.
27729 (FP_XSTATE_MAGIC2): Likewise.
27730 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27731 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27732 (struct _fpx_sw_bytes): New struct.
27733 (struct _xsave_hdr): Likewise.
27734 (struct _ymmh_state): Likewise.
27735 (struct _xstate): Likewise.
27737 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27738 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27739 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27740 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27741 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27742 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27744 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27745 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27746 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27747 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27748 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27749 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27751 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27754 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27755 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27756 (sysdep_headers): Include sys/platform/ppc.h.
27757 * sysdeps/powerpc/test-gettimebase.c: Test for
27758 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27759 * manual/Makefile (appendices): Include platform.texi.
27760 * manual/contrib.texi (Contributors): Update @node pointers.
27761 * manual/maint.texi (Maintenance): Likewise.
27762 (Platform): New node.
27763 * manual/platform.texi: New file. Document the new features.
27765 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27766 Jakub Jelinek <jakub@redhat.com>
27769 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27770 where __builtin_expect is unavailable.
27772 2012-06-03 David S. Miller <davem@davemloft.net>
27774 * stdlib/longlong.h: Updated from GCC.
27776 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27779 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27780 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27783 (GLIBC_2.16): Likewise.
27785 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27787 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27789 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27792 (default-abi): New variable.
27793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27794 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27796 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27798 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27800 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27803 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27804 definition. Document in comment.
27806 2012-06-01 David S. Miller <davem@davemloft.net>
27808 * stdlib/longlong.h: Updated from GCC.
27810 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27813 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27814 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27815 sys/debugreg.h sys/io.h here.
27816 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27817 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27819 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27820 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27821 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27822 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27823 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27824 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27826 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27827 Define only if __x86_64__ is defined.
27829 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27832 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27833 Use int64_t for variable i.
27834 * math/libm-test.inc (fmod_test): Add more tests.
27836 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27837 z computation is not scheduled after fetestexcept.
27838 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27839 Use math_force_eval instead of asm to ensure calculation scheduled
27840 before exception test.
27841 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27842 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27844 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27846 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27847 computation is not scheduled after fetestexcept.
27849 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27852 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27853 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27855 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27857 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27858 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27860 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27863 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27865 (__WCHAR_MIN): Support __WORDSIZE == 64.
27866 (__WCHAR_MAX): Likewise.
27868 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27869 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27872 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27873 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27876 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27877 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27879 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27880 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27882 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27883 Defined to 1 if __x86_64__ isn't defined.
27884 (_STAT_VER_LINUX_OLD): New.
27885 (st_atime): Remove duplicate.
27886 (st_mtime): Likewise.
27887 (st_ctime): Likewise.
27889 2012-05-31 David S. Miller <davem@davemloft.net>
27891 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27894 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27896 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27900 * elf/dl-reloc.c: Include <_itoa.h>.
27901 (_dl_reloc_bad_type): Remove use of INTUSE.
27902 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27903 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27904 * stdio-common/psiginfo.c (psiginfo): Likewise.
27905 * stdio-common/psignal.c (psignal): Likewise.
27906 * string/strsignal.c (strsignal): Likewise.
27907 * include/signal.h (_sys_siglist): Declare hidden proto.
27908 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27909 INTVARDEF with libc_hidden_data_def.
27910 * stdio-common/itoa-udigits.c: Likewise.
27911 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27912 (_itoa_lower_digits_internal): Remove declaration.
27913 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27914 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27915 (_sys_sigabbrev_internal): Remove aliases.
27916 (_sys_siglist): Define hidden alias.
27918 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27920 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27923 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27926 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27927 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27929 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27930 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27931 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27932 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27933 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27934 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27936 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27937 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27938 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27940 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27948 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27949 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27950 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27952 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27953 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27954 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27955 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27956 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27957 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27959 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27960 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27962 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27963 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27965 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27966 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27967 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27969 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27970 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27972 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27974 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27975 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27976 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27978 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27980 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27982 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27984 * math/math.h (M_El): Use two more decimal places.
27985 (M_LOG2El): Likewise.
27986 (M_LOG10El): Likewise.
27987 (M_LN2l): Likewise.
27988 (M_LN10l): Likewise.
27990 (M_PI_2l): Likewise.
27991 (M_PI_4l): Likewise.
27992 (M_1_PIl): Likewise.
27993 (M_2_PIl): Likewise.
27994 (M_2_SQRTPIl): Likewise.
27995 (M_SQRT2l): Likewise.
27996 (M_SQRT1_2l): Likewise.
27998 2012-05-31 David S. Miller <davem@davemloft.net>
28000 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
28001 values between float registers.
28002 * sysdeps/sparc/sparc64/memset.S: Likewise.
28003 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28005 2012-05-31 Mike Frysinger <vapier@gentoo.org>
28007 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
28008 -D_FORTIFY_SOURCE=1.
28009 (CPPFLAGS-tst-longjmp_chk.c): Define.
28010 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
28011 (CPPFLAGS-tst-longjmp_chk2.c): Define.
28012 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
28013 CFLAGS-tst-wchar-h.c.
28015 2012-05-31 Marek Polacek <polacek@redhat.com>
28018 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28019 __endmntent_internal): Remove declaration.
28020 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28021 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28022 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28024 2012-05-30 David S. Miller <davem@davemloft.net>
28026 * sysdeps/sparc/sparc32/soft-fp/q_util.c
28027 (___Q_simulate_exceptions): Use real FP ops rather than writing
28029 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28032 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28035 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28036 * sysdeps/x86/bits/xtitypes.h: This.
28038 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28039 * sysdeps/x86/bits/wordsize.h: This.
28041 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28042 * sysdeps/x86/bits/huge_vall.h: This.
28044 * sysdeps/i386/bits/select.h: Removed.
28045 * sysdeps/x86_64/bits/select.h: Renamed to ...
28046 * sysdeps/x86/bits/select.h: This.
28048 * sysdeps/i386/bits/setjmp.h: Removed.
28049 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28050 * sysdeps/x86/bits/setjmp.h: This.
28052 * sysdeps/i386/bits/mathdef.h: Removed.
28053 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28054 * sysdeps/x86/bits/mathdef.h: This.
28056 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
28059 * include/sys/socket.h (__connect_internal)
28060 (__libc_sa_len_internal): Remove declaration.
28061 (__connect, __libc_sa_len): Declare hidden_proto.
28062 (SA_LEN): Remove use of INTUSE.
28063 * socket/connect.c: Add libc_hidden_def.
28064 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28065 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28066 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28068 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28069 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28070 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28071 of adding _internal alias.
28073 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28076 * sysdeps/i386/bits/link.h: Removed.
28077 * sysdeps/i386/bits/linkmap.h: Likewise.
28078 * sysdeps/x86_64/bits/link.h: Renamed to ...
28079 * sysdeps/x86/bits/link.h: This.
28080 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28081 * sysdeps/x86/bits/linkmap.h: This.
28083 * sysdeps/i386/bits/endian.h: Removed.
28084 * sysdeps/x86_64/bits/endian.h: Renamed to ...
28085 * sysdeps/x86/bits/endian.h: This.
28087 * sysdeps/i386/bits/byteswap.h: Removed.
28088 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28089 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28090 * sysdeps/x86/bits/byteswap.h: This.
28091 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28092 * sysdeps/x86/bits/byteswap-16.h: This.
28093 * sysdeps/i386/Implies: Add x86.
28094 * sysdeps/x86_64/Implies: Likewise.
28096 2012-05-30 David S. Miller <davem@davemloft.net>
28098 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28099 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28100 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28101 (FP_TRAPPING_EXCEPTIONS): Define.
28102 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28103 (FP_TRAPPING_EXCEPTIONS): Define.
28104 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28105 subnormals only when inexact has been signalled or underflow
28106 exceptions are enabled.
28107 (_FP_PACK_CANONICAL): Likewise.
28109 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28112 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28113 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28115 2012-05-30 Richard Henderson <rth@twiddle.net>
28117 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28118 with #ifndef NOT_IN_libc.
28120 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
28121 marked to avoid plt entry.
28123 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28126 * Makeconfig (default-abi): New macro.
28127 (abi-includes): Likewise.
28128 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
28129 $(abi-$(default-abi)-lib-soname) for soname if defined.
28130 ($(common-objpfx)gnu/lib-names.stmp): Generate from
28132 * Makefile (installed-stubs): Likewise.
28133 * include/stubs-biarch.h: Removed.
28134 * scripts/lib-names.awk: Only handle one library at a time.
28135 * scripts/soversions.awk: Remove WORDSIZE support.
28136 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28138 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28140 (syscall-list-default-condition): Likewise.
28141 (syscall-list-default-condition): Likewise.
28142 (syscall-list-includes): Likewise.
28143 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28144 syscall-list-* with abi-*. Handle undefined abi-variants.
28145 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28146 * sysdeps/unix/sysv/linux/i386/Implies: New file.
28147 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28148 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28149 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28150 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28152 (syscall-list-32-options): Likewise.
28153 (syscall-list-32-condition): Likewise.
28154 (syscall-list-64-options): Likewise.
28155 (syscall-list-64-condition): Likewise.
28156 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28158 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28161 (abi-64-ld-soname): New macro.
28162 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28163 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28166 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28167 * sysdeps/x86_64/x32/shlib-versions: Likewise.
28169 2012-05-30 Joseph Myers <joseph@codesourcery.com>
28171 * sysdeps/unix/sysv/linux/kernel-features.h
28172 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28173 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28174 include <kernel-features.h>.
28175 [!__NR_ftruncate64]: Remove conditional code.
28176 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28177 [__NR_ftruncate64]: Make code unconditional.
28178 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28179 * sysdeps/unix/sysv/linux/truncate64.c: Do not
28180 include <kernel-features.h>.
28181 [!__NR_ftruncate64]: Remove conditional code.
28182 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28183 [__NR_ftruncate64]: Make code unconditional.
28184 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28186 include <kernel-features.h>.
28187 [!__NR_ftruncate64]: Remove conditional code.
28188 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28189 [__NR_ftruncate64]: Make code unconditional.
28190 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28192 include <kernel-features.h>.
28193 [!__NR_ftruncate64]: Remove conditional code.
28194 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28195 [__NR_ftruncate64]: Make code unconditional.
28196 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28198 * configure.in (libc_cv_fpie): Weaken to a compile test using
28199 LIBC_TRY_CC_OPTION.
28200 * configure: Regenerated.
28202 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28217 2012-05-27 David S. Miller <davem@davemloft.net>
28219 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28221 (__Q_simulate_exceptions): Return void. Change to simulate
28222 exceptions by writing into the %fsr.
28223 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28224 (__Qp_handle_exceptions): Likewise.
28226 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28227 __Qp_handle_exceptions.
28228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28229 __Qp_handle_exceptions.
28230 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28231 as unused and give dummy FP_RND_NEAREST initializer.
28232 (FP_INHIBIT_RESULTS): Define.
28233 (___Q_simulate_exceptions): Update declaration.
28234 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28236 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28237 as unused and give dummy FP_RND_NEAREST initializer.
28238 (__Qp_handle_exceptions): Update declaration.
28239 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28242 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
28244 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
28245 the temporary FPU control word.
28246 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28247 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
28248 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28249 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28250 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28251 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28252 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28253 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28254 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28255 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28256 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28258 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28260 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
28263 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
28265 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
28266 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
28267 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
28268 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
28270 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
28271 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
28274 2012-05-27 Ulrich Drepper <drepper@gmail.com>
28276 * po/h.po: Update from translation team.
28278 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
28280 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
28282 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
28283 handling of denormals.
28284 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28285 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28286 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28287 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28288 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28289 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
28290 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
28293 2012-05-26 Marek Polacek <polacek@redhat.com>
28296 * math/libm-test.inc (fma_test): Don't always expect underflow
28299 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28302 * elf/tst-execstack.c: Include stackinfo.h.
28303 (do_test): Adjust test case to ensure that pthread_getattr_np
28304 behaviour remains the same after marking stack executable.
28306 2012-05-25 Joseph Myers <joseph@codesourcery.com>
28308 * sysdeps/unix/sysv/linux/kernel-features.h
28309 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
28310 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
28312 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28313 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28314 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
28316 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28317 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28319 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
28321 * configure.in: Define the default includes to being none.
28322 * configure: Regenerated.
28324 2012-05-25 Roland McGrath <roland@hack.frob.com>
28326 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
28327 * sysdeps/x86_64/setjmp.S: Likewise.
28328 * sysdeps/i386/bsd-setjmp.S: Likewise.
28329 * sysdeps/i386/bsd-_setjmp.S: Likewise.
28330 * sysdeps/i386/setjmp.S: Likewise.
28331 * sysdeps/i386/__longjmp.S: Likewise.
28332 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28333 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
28335 * include/stap-probe.h: New file.
28336 * configure.in: Handle --enable-systemtap.
28337 * configure: Regenerated.
28338 * config.h.in (USE_STAP_PROBE): New #undef.
28339 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
28340 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28341 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28343 2012-05-25 Joseph Myers <joseph@codesourcery.com>
28346 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28347 to 2.4.0 where earlier.
28348 * sysdeps/unix/sysv/linux/configure: Regenerated.
28349 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28350 <kernel-features.h>.
28351 [__ASSUME_32BITUIDS]: Make code unconditional.
28352 [!__ASSUME_32BITUIDS]: Remove conditional code.
28353 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
28354 <kernel-features.h>.
28355 [__ASSUME_32BITUIDS]: Make code unconditional.
28356 [!__ASSUME_32BITUIDS]: Remove conditional code.
28357 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
28358 [__ASSUME_32BITUIDS]: Make code unconditional.
28359 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
28360 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
28361 <kernel-features.h>.
28362 [__ASSUME_32BITUIDS]: Make code unconditional.
28363 [!__ASSUME_32BITUIDS]: Remove conditional code.
28364 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
28365 <kernel-features.h>.
28366 [__ASSUME_32BITUIDS]: Make code unconditional.
28367 [!__ASSUME_32BITUIDS]: Remove conditional code.
28368 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
28369 <kernel-features.h>.
28370 [__ASSUME_32BITUIDS]: Make code unconditional.
28371 [!__ASSUME_32BITUIDS]: Remove conditional code.
28372 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
28373 <kernel-features.h>.
28374 [__ASSUME_32BITUIDS]: Make code unconditional.
28375 [!__ASSUME_32BITUIDS]: Remove conditional code.
28376 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28377 <kernel-features.h>.
28378 [__ASSUME_32BITUIDS]: Make code unconditional.
28379 [!__ASSUME_32BITUIDS]: Remove conditional code.
28380 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28381 <kernel-features.h>.
28382 [__ASSUME_32BITUIDS]: Make code unconditional.
28383 [!__ASSUME_32BITUIDS]: Remove conditional code.
28384 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
28385 <kernel-features.h>.
28386 [__ASSUME_32BITUIDS]: Make code unconditional.
28387 [!__ASSUME_32BITUIDS]: Remove conditional code.
28388 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28389 <kernel-features.h>.
28390 [__ASSUME_32BITUIDS]: Make code unconditional.
28391 [!__ASSUME_32BITUIDS]: Remove conditional code.
28392 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28393 <kernel-features.h>.
28394 [__ASSUME_32BITUIDS]: Make code unconditional.
28395 [!__ASSUME_32BITUIDS]: Remove conditional code.
28396 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
28397 <kernel-features.h>.
28398 [__ASSUME_32BITUIDS]: Make code unconditional.
28399 [!__ASSUME_32BITUIDS]: Remove conditional code.
28400 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
28401 <kernel-features.h>.
28402 [__NR_setresgid] (__setresgid): Do not declare.
28403 [__ASSUME_32BITUIDS]: Make code unconditional.
28404 [!__ASSUME_32BITUIDS]: Remove conditional code.
28405 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
28406 <kernel-features.h>.
28407 [__NR_setresuid] (__setresuid): Do not declare.
28408 [__ASSUME_32BITUIDS]: Make code unconditional.
28409 [!__ASSUME_32BITUIDS]: Remove conditional code.
28410 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
28411 <kernel-features.h>.
28412 [__ASSUME_32BITUIDS]: Make code unconditional.
28413 [!__ASSUME_32BITUIDS]: Remove conditional code.
28414 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
28415 <kernel-features.h>.
28416 [__ASSUME_32BITUIDS]: Make code unconditional.
28417 [!__ASSUME_32BITUIDS]: Remove conditional code.
28418 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
28419 <kernel-features.h>.
28420 [__ASSUME_32BITUIDS]: Make code unconditional.
28421 [!__ASSUME_32BITUIDS]: Remove conditional code.
28422 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
28423 <kernel-features.h>.
28424 [__ASSUME_32BITUIDS]: Make code unconditional.
28425 [!__ASSUME_32BITUIDS]: Remove conditional code.
28426 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
28427 <kernel-features.h>.
28428 [__ASSUME_32BITUIDS]: Make code unconditional.
28429 [!__ASSUME_32BITUIDS]: Remove conditional code.
28430 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
28431 <kernel-features.h>.
28432 [__ASSUME_32BITUIDS]: Make code unconditional.
28433 [!__ASSUME_32BITUIDS]: Remove conditional code.
28434 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
28435 <kernel-features.h>.
28436 [__ASSUME_32BITUIDS]: Make code unconditional.
28437 [!__ASSUME_32BITUIDS]: Remove conditional code.
28438 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
28439 <kernel-features.h>.
28440 [__ASSUME_32BITUIDS]: Make code unconditional.
28441 [!__ASSUME_32BITUIDS]: Remove conditional code.
28442 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
28443 <kernel-features.h>.
28444 [__ASSUME_32BITUIDS]: Make code unconditional.
28445 [!__ASSUME_32BITUIDS]: Remove conditional code.
28446 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28447 <kernel-features.h>.
28448 [__ASSUME_32BITUIDS]: Make code unconditional.
28449 [!__ASSUME_32BITUIDS]: Remove conditional code.
28450 * sysdeps/unix/sysv/linux/kernel-features.h
28451 (__ASSUME_SETRESUID_SYSCALL): Remove.
28452 (__ASSUME_SETRESGID_SYSCALL): Likewise.
28453 (__ASSUME_32BITUIDS): Likewise.
28454 (__ASSUME_LDT_WORKS): Likewise.
28455 (__ASSUME_O_DIRECTORY): Likewise.
28456 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
28457 architecture but not kernel version.
28458 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28459 (__ASSUME_MMAP2_SYSCALL): Likewise.
28460 (__ASSUME_STAT64_SYSCALL): Likewise.
28461 (__ASSUME_IPC64): Likewise.
28462 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28463 <kernel-features.h>.
28464 [__ASSUME_32BITUIDS]: Make code unconditional.
28465 [!__ASSUME_32BITUIDS]: Remove conditional code.
28466 * sysdeps/unix/sysv/linux/opendir.c: Do not include
28467 <kernel-features.h>.
28468 [__ASSUME_O_DIRECTORY]: Make code unconditional.
28469 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28470 132096]: Remove conditional code.
28471 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28472 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28473 <kernel-features.h>.
28474 [__ASSUME_32BITUIDS]: Make code unconditional.
28475 [!__ASSUME_32BITUIDS]: Remove conditional code.
28476 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28477 <kernel-features.h>.
28478 [__ASSUME_32BITUIDS]: Make code unconditional.
28479 [!__ASSUME_32BITUIDS]: Remove conditional code.
28480 * sysdeps/unix/sysv/linux/setegid.c: Do not include
28481 <kernel-features.h>.
28482 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28484 (__setresgid): Do not declare.
28485 [__ASSUME_32BITUIDS]: Make code unconditional.
28486 [!__ASSUME_32BITUIDS]: Remove conditional code.
28487 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28488 <kernel-features.h>.
28489 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28491 (__setresuid): Do not declare.
28492 [__ASSUME_32BITUIDS]: Make code unconditional.
28493 [!__ASSUME_32BITUIDS]: Remove conditional code.
28494 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28495 <kernel-features.h>.
28496 [__ASSUME_32BITUIDS]: Make code unconditional.
28497 [!__ASSUME_32BITUIDS]: Remove conditional code.
28498 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
28499 <kernel-features.h>.
28500 [__ASSUME_32BITUIDS]: Make code unconditional.
28501 [!__ASSUME_32BITUIDS]: Remove conditional code.
28503 2012-05-25 Richard Henderson <rth@twiddle.net>
28505 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
28506 dl_hwcap to ifunc resolver.
28507 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
28509 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
28510 dl_hwcap to ifunc resolver.
28511 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
28513 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28516 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
28517 for |x| <= 2**-26, not 2**-57.
28518 * math/libm-test.inc (acos_test): Do not allow spurious underflow
28521 2012-05-24 Jeff Law <law@redhat.com>
28523 * stdio-common/Makefile (tests): Add bug25.
28524 * stdio-common/bug25.c: New test.
28526 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28529 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
28530 multiple of MALLOC_ALIGNMENT in size.
28531 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
28533 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28535 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
28537 (FILENAME_MAX): Use macro-int-constant.
28538 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
28539 (_IOFBF): Use macro-int-constant.
28540 (_IOLBF): Likewise.
28541 (_IONBF): Likewise.
28542 (SEEK_CUR): Likewise.
28543 (SEEK_END): Likewise.
28544 (SEEK_SET): Likewise.
28545 (TMP_MAX): Likewise.
28546 (EOF): Use macro-int-constant. Require < 0.
28547 (NULL): Use macro-constant. Require == 0.
28548 (stdin): Require type to be FILE *.
28549 (stdout): Likewise.
28550 (stderr): Likewise.
28551 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28552 macro-int-constant.
28553 (EXIT_SUCCESS): Likewise.
28554 (NULL): Use macro-constant. Require == 0.
28555 (RAND_MAX): Use macro-int-constant.
28556 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28557 [C99-based standards] (strtof): Require function.
28558 [C99-based standards] (strtold): Likewise.
28559 [C99-based standards] (strtoll): Likewise.
28560 [C99-based standards] (strtoull): Likewise.
28561 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28562 [ISO || ISO99 || ISO11] (limits.h): Likewise.
28563 [ISO || ISO99 || ISO11] (math.h): Likewise.
28564 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28565 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28566 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28568 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
28571 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
28572 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
28573 * intl/dgettext.c (DCGETTEXT): Likewise.
28574 * intl/gettext.c (DCGETTEXT): Likewise.
28575 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
28576 * posix/regex_internal.h (gettext): Likewise.
28577 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
28578 Remove declaration.
28579 * include/argz.h (__argz_count_internal)
28580 (__argz_stringify_internal): Remove declaration.
28581 (__argz_count, __argz_stringify): Declare hidden proto.
28582 * intl/dcgettext.c: Remove use of INTDEF.
28583 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
28584 * string/argz-stringify.c: Likewise.
28585 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28586 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28587 Declare hidden proto.
28588 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28589 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28590 Declare hidden proto.
28591 * include/stdio.h (__asprintf_internal): Don't declare.
28592 (__asprintf): Don't define as macro. Declare hidden proto.
28593 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
28594 (__fsetlocking): Declare hidden proto.
28595 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
28596 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
28598 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
28599 (_IO_setlinebuf): Remove use of INTUSE.
28600 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
28601 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
28602 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
28603 Remove declaration.
28604 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
28605 (_IO_do_flush): Remove use of INTUSE.
28606 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28607 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28608 (_IO_adjust_column, _IO_least_wmarker)
28609 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28610 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28611 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28612 (_IO_default_doallocate, _IO_wdefault_doallocate)
28613 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28614 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28615 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28616 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28617 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28618 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28619 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28620 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28621 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28622 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28623 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28624 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28625 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28627 (_IO_flush_all_internal, _IO_adjust_column_internal)
28628 (_IO_default_uflow_internal, _IO_default_finish_internal)
28629 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28630 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28631 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28632 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28633 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28634 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28635 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28636 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28637 (_IO_file_close_internal, _IO_file_close_it_internal)
28638 (_IO_file_underflow_internal, _IO_file_overflow_internal)
28639 (_IO_file_init_internal, _IO_file_attach_internal)
28640 (_IO_file_fopen_internal, _IO_file_read_internal)
28641 (_IO_file_sync_internal, _IO_file_seek_internal)
28642 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28643 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28644 (_IO_str_underflow_internal, _IO_str_overflow_internal)
28645 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28646 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28647 (_IO_list_all_internal, _IO_link_in_internal)
28648 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28649 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28650 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28651 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28652 (_IO_do_write_internal, _IO_padn_internal)
28653 (_IO_getline_info_internal, _IO_getline_internal)
28654 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28655 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28656 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28657 (_IO_vfscanf_internal, _IO_vfprintf_internal)
28658 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28659 (_IO_init_internal, _IO_un_link_internal): Don't declare.
28660 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28661 with libc_hidden_ver, remove use of INTUSE.
28662 * libio/genops.c: Likewise.
28663 * libio/freopen.c: Likewise.
28664 * libio/freopen64.c: Likewise.
28665 * libio/iofclose.c: Likewise.
28666 * libio/iofdopen.c: Likewise.
28667 * libio/iofflush.c: Likewise.
28668 * libio/iofflush_u.c: Likewise.
28669 * libio/iofgets.c: Likewise.
28670 * libio/iofgets_u.c: Likewise.
28671 * libio/iofopen.c: Likewise.
28672 * libio/iofopncook.c: Likewise.
28673 * libio/iofread.c: Likewise.
28674 * libio/iofread_u.c: Likewise.
28675 * libio/ioftell.c: Likewise.
28676 * libio/iofwrite.c: Likewise.
28677 * libio/iogetline.c: Likewise.
28678 * libio/iogets.c: Likewise.
28679 * libio/iogetwline.c: Likewise.
28680 * libio/iopadn.c: Likewise.
28681 * libio/iopopen.c: Likewise.
28682 * libio/ioseekoff.c: Likewise.
28683 * libio/ioseekpos.c: Likewise.
28684 * libio/iosetbuffer.c: Likewise.
28685 * libio/iosetvbuf.c: Likewise.
28686 * libio/ioungetc.c: Likewise.
28687 * libio/ioungetwc.c: Likewise.
28688 * libio/iovdprintf.c: Likewise.
28689 * libio/iovsprintf.c: Likewise.
28690 * libio/iovsscanf.c: Likewise.
28691 * libio/memstream.c: Likewise.
28692 * libio/obprintf.c: Likewise.
28693 * libio/oldfileops.c: Likewise.
28694 * libio/oldiofclose.c: Likewise.
28695 * libio/oldiofdopen.c: Likewise.
28696 * libio/oldiofopen.c: Likewise.
28697 * libio/oldiopopen.c: Likewise.
28698 * libio/oldstdfiles.c: Likewise.
28699 * libio/putc.c: Likewise.
28700 * libio/setbuf.c: Likewise.
28701 * libio/setlinebuf.c: Likewise.
28702 * libio/stdfiles.c: Likewise.
28703 * libio/strops.c: Likewise.
28704 * libio/vasprintf.c: Likewise.
28705 * libio/vscanf.c: Likewise.
28706 * libio/vsnprintf.c: Likewise.
28707 * libio/vswprintf.c: Likewise.
28708 * libio/wfiledoalloc.c: Likewise.
28709 * libio/wfileops.c: Likewise.
28710 * libio/wgenops.c: Likewise.
28711 * libio/wmemstream.c: Likewise.
28712 * libio/wstrops.c: Likewise.
28713 * libio/__fpurge.c: Likewise.
28714 * libio/__fsetlocking.c: Likewise.
28715 * assert/assert.c: Likewise.
28716 * debug/fgets_chk.c: Likewise.
28717 * debug/fgets_u_chk.c: Likewise.
28718 * debug/fread_chk.c: Likewise.
28719 * debug/fread_u_chk.c: Likewise.
28720 * debug/gets_chk.c: Likewise.
28721 * debug/obprintf_chk.c: Likewise.
28722 * debug/vasprintf_chk.c: Likewise.
28723 * debug/vdprintf_chk.c: Likewise.
28724 * debug/vsnprintf_chk.c: Likewise.
28725 * debug/vsprintf_chk.c: Likewise.
28726 * malloc/mtrace.c: Likewise.
28727 * misc/error.c: Likewise.
28728 * misc/syslog.c: Likewise.
28729 * stdio-common/asprintf.c: Likewise.
28730 * stdio-common/fxprintf.c: Likewise.
28731 * stdio-common/getw.c: Likewise.
28732 * stdio-common/isoc99_fscanf.c: Likewise.
28733 * stdio-common/isoc99_scanf.c: Likewise.
28734 * stdio-common/isoc99_vfscanf.c: Likewise.
28735 * stdio-common/isoc99_vscanf.c: Likewise.
28736 * stdio-common/isoc99_vsscanf.c: Likewise.
28737 * stdio-common/printf-prs.c: Likewise.
28738 * stdio-common/printf_fp.c: Likewise.
28739 * stdio-common/printf_fphex.c: Likewise.
28740 * stdio-common/printf_size.c: Likewise.
28741 * stdio-common/putw.c: Likewise.
28742 * stdio-common/scanf.c: Likewise.
28743 * stdio-common/sprintf.c: Likewise.
28744 * stdio-common/tmpfile.c: Likewise.
28745 * stdio-common/vfprintf.c: Likewise.
28746 * stdio-common/vfscanf.c: Likewise.
28747 * stdlib/strfmon_l.c: Likewise.
28748 * sunrpc/openchild.c: Likewise.
28749 * sunrpc/xdr_stdio.c: Likewise.
28750 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28751 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28753 2012-05-24 Roland McGrath <roland@hack.frob.com>
28755 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28757 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28758 in the third column, to generate for the shared library an IFUNC
28759 that uses _dl_vdso_vsym.
28760 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28761 * Makeconfig (object-suffixes-noshared): New variable.
28763 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28764 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28765 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28766 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28769 * include/sys/time.h (__gettimeofday): Remove macro.
28770 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28771 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28773 (__gettimeofday): Add libc_hidden_def.
28774 (gettimeofday): Add libc_hidden_weak.
28775 * sysdeps/mach/gettimeofday.c: Likewise.
28776 * sysdeps/posix/gettimeofday.c: Likewise.
28777 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28778 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28779 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28780 (__gettimeofday_internal): Remove strong_alias.
28781 (__gettimeofday): Add libc_hidden_def.
28782 (gettimeofday): Add libc_hidden_weak.
28783 * sysdeps/unix/syscalls.list (gettimeofday):
28784 Remove __gettimeofday_internal alias.
28786 2012-05-24 Daniel Jacobowitz <drow@false.org>
28787 H.J. Lu <hongjiu.lu@intel.com>
28790 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28791 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28792 (largebin_index_32_big): New.
28793 (largebin_index): Use it for 16-byte alignment.
28794 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28795 correction with front_misalign.
28797 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28806 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28814 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28816 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28818 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28820 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28822 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28825 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28826 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28828 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28832 * math/libm-test.inc (exp_test): Add test from bug 14036.
28833 (pow_test): Add test from bug 10846.
28835 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28837 (special_function): Do not include flags in test name.
28838 (parse_args): Likewise.
28839 * sysdeps/i386/fpu/libm-test-ulps: Update.
28840 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28841 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28842 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28845 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28847 * math/libm-test.inc ("Philosophy"): Update comment about
28849 (UNDERFLOW_EXCEPTION): New macro.
28850 (UNDERFLOW_EXCEPTION_OK): Likewise.
28851 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28852 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28853 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28854 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28855 (INVALID_EXCEPTION_OK): Update value.
28856 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28857 (OVERFLOW_EXCEPTION_OK): Likewise.
28858 (IGNORE_ZERO_INF_SIGN): Likewise.
28859 (test_exceptions): Handle underflow exceptions.
28860 (acos_test): Update for underflow exception expectations.
28861 (cexp_test): Likewise.
28862 (clog_test): Likewise.
28863 (clog10_test): Likewise.
28864 (csqrt_test): Likewise.
28865 (ctan_test): Likewise.
28866 (ctanh_test): Likewise.
28867 (exp_test): Likewise.
28868 (exp10_test): Likewise.
28869 (exp2_test): Likewise.
28870 (expm1_test): Likewise.
28871 (fma_test): Likewise.
28872 (j0_test): Likewise.
28873 (jn_test): Likewise.
28874 (nexttoward_test): Likewise.
28875 (pow_test): Likewise.
28876 (scalbn_test): Likewise.
28877 (scalbln_test): Likewise.
28878 (tan_test): Likewise.
28879 (y1_test): Likewise.
28880 * sysdeps/i386/fpu/libm-test-ulps: Update.
28881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28883 2012-05-23 David S. Miller <davem@davemloft.net>
28885 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28886 (__libc_sigaction): Remove unused local variables.
28888 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28890 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28892 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28894 mktime: avoid signed integer overflow
28895 * time/mktime.c (__mktime_internal): Do not mishandle the case
28896 where diff == INT_MIN.
28898 mktime: simplify computation of average
28899 * time/mktime.c (ranged_convert): Use new time_t_avg function
28900 instead of rolling our own (probably-slower) code.
28902 mktime: do not assume signed right shift propagates sign bit
28903 * time/mktime.c (isdst_differ): New static function.
28904 (__mktime_internal): No need to normalize tm_isdst now.
28905 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28908 mktime: merge another wrapv change from gnulib
28909 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28910 from some compilers.
28912 mktime: remove incorrect attempt at unusual arithmetics
28913 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28914 The code didn't really work on such machines anyway.
28915 (TYPE_MINIMUM): Assume two's complement.
28916 (twos_complement_arithmetic): Verify that long_int and time_t
28917 are two's complement (or unsigned, in the latter case).
28919 mktime: check signed shifts on long_int and time_t, too
28920 * time/mktime.c (SHR): Check that shifts work as desired
28921 on the types long_int and time_t too, as SHR is used on
28924 mktime: do not assume 'long' is wide enough
28925 * time/mktime.c (verify): Move decl up.
28926 (long_int): New type.
28927 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28928 to remove assumption in the code that 'long' is wide enough to
28929 store year values. This assumption is not true on x32 and on
28930 some non-glibc platforms.
28932 mktime: merge wrapv change from gnulib
28933 * time/mktime.c (WRAPV): New macro.
28934 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28935 (guess_time_tm, __mktime_internal): Do not assume that signed
28936 integer overflow wraps around; modern compilers generate code
28937 where this assumption is no longer valid.
28939 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28941 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28942 Replace "jmp L(pseudo_end)" with "ret".
28943 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28946 2012-05-23 Andreas Jaeger <aj@suse.de>
28948 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28949 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28951 2012-05-23 Andreas Jaeger <aj@suse.de>
28952 Maximilian Attems <max@stro.at>
28954 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28957 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28959 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28960 code so that pseudo_end is just ret and the stack pointer is
28961 correct also for static library in error case.
28963 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28965 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28966 move to syscalls.list.
28967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28972 * manual/install.texi (Running make install): Do not mention Linux
28973 kernel version for which pt_chown is not needed.
28974 (Linux): Do not mention problems with nscd with 2.0 kernels.
28975 * INSTALL: Regenerated.
28977 2012-05-23 Andreas Jaeger <aj@suse.de>
28979 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28980 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28982 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28983 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28984 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28985 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28986 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28987 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28988 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28989 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28990 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28991 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28992 * sysdeps/unix/sysv/linux/bits/in.h
28993 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28995 2012-05-22 Roland McGrath <roland@hack.frob.com>
28997 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28998 (PREPARE_VERSION): Just use assert instead, it will be elided
28999 under [NDEBUG] anyway.
29001 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29003 * sysdeps/unix/sysv/linux/Makefile: Include
29004 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
29005 (sysdep_routines): Remove sysctl.
29006 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
29007 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
29008 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
29009 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
29010 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
29012 2012-05-22 Andreas Jaeger <aj@suse.de>
29014 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
29015 that pseudo_end is just ret and the stack pointer is correct also
29016 for static library in error case.
29018 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
29021 * nss/nsswitch.c (defconfig_entries): New variable.
29022 (__nss_database_lookup): Don't leak defconfig entries.
29023 (nss_parse_service_list): Don't leak on error paths.
29024 (free_database_entries): New function.
29025 (free_defconfig): New function.
29026 (free_mem): Move common code to free_database_entries.
29028 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29030 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29032 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29034 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29035 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29036 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29038 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29039 (INTERNAL_SYSCALL_TYPES): Likewise.
29040 (LOAD_ARGS_TYPES_[1-6]): Likewise.
29041 (LOAD_REGS_TYPES_[1-6]): Likewise.
29042 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29043 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29045 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29047 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29048 copysignl for GLIBC_2_0.
29049 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29050 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29051 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29052 logbl for GLIBC_2_0.
29053 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29054 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29056 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29058 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29059 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29061 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29064 * time/mktime.c: Update copyright years.
29066 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
29068 mktime: merge comment-quoting-style change from gnulib
29069 * time/mktime.c: Quote 'like this' in comments.
29070 The GNU coding standards suggest that we no longer quote `like this',
29071 as "`" and "'" are typically rendered asymmetrically nowadays.
29072 The typical gnulib style is to quote 'like this' when quoting
29073 code, and "like this" when quoting English.
29075 * time/mktime.c (compile-command): Add "-I.".
29077 mktime: merge mktime-internal.h change from gnulib
29078 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29080 mktime: merge time_r change from gnulib
29081 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29083 mktime: merge DEBUG change from gnulib
29084 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29085 case system <time.h> has a #define.
29087 mktime: merge <sys/types.h> change from gnulib
29088 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29089 since <time.t> is now guaranteed to define time_t.
29091 mktime: merge HAVE_CONFIG_H change from gnulib
29092 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29094 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29096 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29099 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29101 (struct rusage): Use anonymous union to pad each field to
29104 2012-05-21 David S. Miller <davem@davemloft.net>
29106 * Makefules (o-iterator): Remove .s cases.
29107 (compile-command.s): Delete.
29108 (COMPILE.s): Delete.
29109 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29111 2012-05-21 Joseph Myers <joseph@codesourcery.com>
29113 * configure.in (libc_cv_predef_stack_protector): Only consider
29114 "foobar" and "__stack_chk_fail" lines in libc_undefs.
29115 * configure: Regenerated.
29117 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29119 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29120 New macro. Use R*LP on int and pointer.
29121 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
29122 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29123 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
29124 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29126 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29127 [__WORDSIZE_TIME64_COMPAT32] instead of
29128 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29129 (struct utmp): Likewise.
29130 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29131 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29133 (__WORDSIZE_TIME64_COMPAT32): This.
29134 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29135 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29136 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29137 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29138 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29139 (__WORDSIZE_TIME64_COMPAT32): New macro.
29141 2012-05-21 Andreas Jaeger <aj@suse.de>
29143 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29144 only if [SHARED]. Add prototype for __wcschr_ia32.
29146 2012-05-21 Roland McGrath <roland@hack.frob.com>
29148 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29149 of %rbp unmolested in the jmp_buf while mangling the low bits.
29150 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29151 unmolested high bits of %rbp while demangling the low bits.
29152 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29154 2012-05-21 Andreas Jaeger <aj@suse.de>
29156 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29157 * sunrpc/svc_simple.c: Use it for registerrpc.
29158 * sunrpc/xcrypt.c: Use it for passwd2des.
29160 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29162 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29164 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29165 Don't define if [__SYSCALL_WORDSIZE != 32].
29166 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29169 2012-05-21 Bruno Haible <bruno@clisp.org>
29170 Andreas Jaeger <aj@suse.de>
29172 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29173 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29174 inptr and inend for must_buffer_ch.
29175 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29176 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29177 * stdio-common/Makefile (tests): Remove bug15.
29178 (bug15-ENV): Remove macro.
29179 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29182 2012-05-19 Andreas Jaeger <aj@suse.de>
29183 Roland McGrath <roland@hack.frob.com>
29185 * manual/contrib.texi: Completely rewritten. It contains now an
29186 alphabetical list of contributors and their contributions.
29188 2012-05-21 Richard Henderson <rth@twiddle.net>
29190 * misc/getauxval.c (__getauxval): Use unsigned long int.
29191 * misc/sys/auxv.h: Include <sys/cdefs.h>.
29192 (getauxval): Use unsigned long int.
29194 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29196 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29198 2012-05-21 Roland McGrath <roland@hack.frob.com>
29200 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29201 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29202 __alignof__ (long double).
29204 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29208 2012-05-20 Richard Henderson <rth@twiddle.net>
29210 * misc/getauxval.c: New file.
29211 * misc/sys/auxv.h: New file.
29212 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29213 (routines): Add getauxval.
29214 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29215 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29216 * elf/dl-sysdep.c (_dl_auxv): Remove.
29217 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29218 * elf/dl-support.c (_dl_auxv): New variable.
29219 (_dl_aux_init): Initialize it.
29220 * manual/startup.texi (Auxiliary Vector): New node.
29221 * sysdeps/generic/bits/hwcap.h: New file.
29222 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29223 * sysdeps/powerpc/sysdep.h: ... here. Include it.
29224 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29225 * sysdeps/sparc/sysdep.h: ... here. Include it.
29226 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29227 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
29228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29233 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29235 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29239 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29243 2012-05-19 David S. Miller <davem@davemloft.net>
29245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29247 2012-05-19 Joseph Myers <joseph@codesourcery.com>
29250 * math/s_ccosh.c: Include <float.h>
29251 (__ccosh): Avoid internal overflow calculating sinh and cosh
29252 values before multiplying by sin and cos values.
29253 * math/s_ccoshf.c: Likewise.
29254 * math/s_ccoshl.c: Likewise.
29255 * math/s_csin.c: Likewise.
29256 * math/s_csinf.c: Likewise.
29257 * math/s_csinl.c: Likewise.
29258 * math/s_csinh.c: Likewise.
29259 * math/s_csinhf.c: Likewise.
29260 * math/s_csinhl.c: Likewise.
29261 * math/libm-test.inc (ccos_test): Add more tests.
29262 (ccosh_test): Likewise.
29263 (csin_test): Likewise.
29264 (csinh_test): Likewise.
29265 * sysdeps/i386/fpu/libm-test-ulps: Update.
29266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29268 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
29270 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
29271 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
29273 * sysdeps/x86_64/x32/_itoa.h: Add comment.
29275 2012-05-19 Joseph Myers <joseph@codesourcery.com>
29277 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
29278 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
29279 * sysdeps/powerpc/soft-fp/Versions: Likewise.
29280 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
29281 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
29282 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
29283 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
29284 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
29285 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
29286 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
29287 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
29288 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
29289 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
29290 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
29291 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
29292 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
29293 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
29294 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
29295 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
29296 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
29297 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
29298 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
29299 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
29300 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
29301 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
29302 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
29303 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
29304 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
29305 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
29306 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
29307 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
29309 2012-05-18 Andreas Jaeger <aj@suse.de>
29311 * csu/.gitignore: Delete.
29313 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29315 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
29316 (timex): Use __syscall_slong_t.
29318 2012-05-18 Andreas Jaeger <aj@suse.de>
29319 Carlos O'Donell <carlos_odonell@mentor.com>
29321 * manual/install.texi (Configuring and compiling): Update
29322 description about files modified in the source directory.
29323 * INSTALL: Regenerated.
29325 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29327 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
29328 value. Use "or" to set return value to -1.
29329 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
29330 negate return value.
29332 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29334 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
29335 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
29336 failure if the compiler has Graphite support disabled.
29337 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
29339 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
29340 (CFLAGS-memmove.c): Likewise.
29341 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
29344 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29346 * sysdeps/x86_64/x32/_itoa.h: New file.
29348 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
29349 getdents system call only if kernel and user dirents have the
29350 same d_ino and d_off.
29352 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29353 LLONG_MAX != LONG_MAX.
29354 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29355 (_fitoa_word): Likewise.
29357 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
29359 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29360 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
29361 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
29363 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
29364 include <bits/wordsize.h>. Check __x86_64__ instead of
29366 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
29367 if __x86_64__ is defined. Use anonymous union on fpstate.
29369 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29372 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
29374 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29375 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29376 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29377 Refer to _rtld_local_ro instead of _rtld_global_ro.
29378 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29380 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29382 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29384 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29385 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29386 of _rtld_global, and rtld_progname instead of _dl_argv[0].
29388 * sysdeps/powerpc/powerpc32/dl-machine.c
29389 (__elf_machine_runtime_setup) [PROF]: Don't reference
29392 2012-05-18 Andreas Jaeger <aj@suse.de>
29394 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
29395 function only available for GCCs before 3.4 since GCC 3.4
29396 introduced a builtin.
29398 (llrintf): Likewise.
29399 (llrint): Likewise.
29406 (nearbyint): Likewise.
29407 (nearbyintf): Likewise.
29411 (floorf): Likewise.
29413 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29415 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
29416 on both fields and cast pointer to __syscall_ulong_t.
29418 * bits/types.h (__fsword_t): New type.
29419 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
29420 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
29421 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29422 (__FSWORD_T_TYPE): Likewise.
29423 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29424 (__FSWORD_T_TYPE): Likewise.
29425 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29426 (__FSWORD_T_TYPE): Likewise.
29427 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
29428 (__FSWORD_T_TYPE): Likewise.
29429 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
29430 __SWORD_TYPE with __fsword_t.
29431 (statfs64): Likewise.
29433 2012-05-17 David S. Miller <davem@davemloft.net>
29435 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
29437 2012-05-17 Andreas Jaeger <aj@suse.de>
29439 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
29442 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29444 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
29446 2012-05-17 Andreas Jaeger <aj@suse.de>
29448 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
29451 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29453 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
29455 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29457 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29458 * sysdeps/x86_64/tst-mallocalign1.c: New file.
29460 2012-05-17 Andreas Jaeger <aj@suse.de>
29461 Carlos O'Donell <carlos_odonell@mentor.com>
29464 * sysdeps/x86_64/multiarch/init-arch.h
29465 (bit_YMM_Usable): Rename to...
29466 (bit_AVX_Usable): ... this.
29467 (bit_FMA4_Usable): New macro.
29468 (bit_XMM_state): New macro.
29469 (bit_YMM_state): New macro.
29470 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29471 [__ASSEMBLER__] (index_AVX_Usable): ... this.
29472 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29473 (CPUID_OSXSAVE): New macro.
29474 (CPUID_AVX): New macro.
29475 (CPUID_FMA4): New macro.
29476 (index_YMM_Usable): Rename to...
29477 (index_AVX_Usable): ... this.
29478 (HAS_AVX): Use HAS_ARCH_FEATURE.
29479 (HAS_FMA4): Likewise.
29480 (HAS_YMM_USABLE): Remove.
29481 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29482 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29484 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29485 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29486 * sysdeps/x86_64/multiarch/Makefile: Likewise.
29487 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29488 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29490 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29492 * math/libm-test.c: Support platforms without multiple rounding modes.
29493 * math/bug-nextafter.c: Support platforms without FP exceptions.
29494 * math/bug-nexttoward.c: Likewise.
29495 * math/test-fenv.c: Likewise.
29496 * math/test-misc.c: Likewise.
29497 * stdlib/bug-getcontext.c: Likewise.
29499 2012-05-17 Andreas Jaeger <aj@suse.de>
29501 * manual/examples/search.c (critter_cmp): Change signature to
29503 * manual/string.texi (Collation Functions): Likewise.
29505 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29507 * bits/types.h: Fold copyright years.
29508 * bits/typesizes.h: Likewise.
29509 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
29510 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29511 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
29512 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
29513 * time/time.h: Likewise.
29515 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
29518 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
29519 in instead of returning them. Return void.
29520 (__libc_mallinfo): Accumulate over all arenas.
29521 (__malloc_stats): Adjust for change in int_mallinfo interface.
29523 2012-05-16 Roland McGrath <roland@hack.frob.com>
29526 * configure.in (NM): Add AC_CHECK_TOOL for it.
29527 (libc_extra_cflags): New substituted variable.
29528 Check for -fstack-protector being used implicitly.
29529 * configure: Regenerated.
29530 * config.make.in (config-extra-cflags): New variable,
29531 gets @libc_extra_cflags@.
29532 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
29535 * configure.in: Check for _FORTIFY_SOURCE being predefined.
29536 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
29537 * configure: Regenerated.
29538 * config.make.in (CPPUNDEFS): New substituted variable.
29539 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
29540 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
29541 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
29543 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29545 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
29546 (mq_attr): Use __syscall_slong_t.
29548 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29550 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29551 Check __x86_64__ instead of __WORDSIZE.
29552 (_STAT_VER_LINUX): Likewise.
29553 (stat): Check __x86_64__ instead of __WORDSIZE. Use
29554 __syscall_ulong_t and __syscall_slong_t.
29555 (stat64): Likewise.
29557 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29559 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29561 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29563 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29565 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29567 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29570 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
29571 include <bits/wordsize.h>. Check __x86_64__ instead of
29573 (greg_t): Use "__extension__ long long int" if __x86_64__ is
29575 (mcontext_t): Replace "unsigned long" with "unsigned long long".
29577 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
29578 include <bits/wordsize.h>. Check __x86_64__ instead of
29580 (user_regs_struct): Use "__extension__ unsigned long long"
29581 instead of "unsigned long" if __x86_64__ is defined.
29582 (user): Likewise. Pad after pointer field if __ILP32__ is
29585 2012-05-16 Joseph Myers <joseph@codesourcery.com>
29587 * configure.in (makeinfo): Require version 4.5 or later. Allow
29589 * configure: Regenerated.
29590 * manual/install.texi (texinfo): Increase version requirement to
29592 * INSTALL: Regenerated.
29594 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
29596 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29598 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
29600 * sysdeps/x86_64/x32/ffs.c: New file.
29602 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
29604 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
29605 defined. Use __syscall_ulong_t.
29606 (shminfo): Use __syscall_ulong_t.
29607 (shm_info): Likewise.
29609 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29612 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29614 (msgqnum_t): Use __syscall_ulong_t.
29615 (msglen_t): Likewise.
29616 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
29619 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29620 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29622 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29624 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29625 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29627 * sysvipc/sys/msg.h (msgbuf): Replace long int with
29630 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29631 include <bits/wordsize.h>. Check __x86_64__ instead of
29634 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29635 "unsigned long long int" if __x86_64__ is defined.
29636 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29638 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29639 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29640 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29642 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29644 (GET_PC): Cast to uintptr_t first.
29645 (GET_FRAME): Likewise.
29646 (GET_STACK): Likewise.
29648 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29649 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29650 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29651 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29652 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29653 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29654 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29655 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29656 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29657 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29658 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29659 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29660 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29661 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29662 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29663 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29664 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29665 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29666 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29667 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29668 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29669 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29670 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29671 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29672 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29673 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29674 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29675 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29676 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29678 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29680 * Makerules (+depfiles): Also collect depfiles from .oS in
29682 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29683 .oS, $(libnldbl-routines)).
29685 * Makerules (native-compile-mkdep-flags): Define.
29686 * sunrpc/Makefile (extra-objs): Add $(addprefix
29687 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29688 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29689 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29690 calling $(make-target-directory).
29692 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29694 * bits/types.h (__snseconds_t): Removed.
29695 * time/time.h (struct timespec): Replace __snseconds_t with
29697 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29698 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29700 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29701 (__SNSECONDS_T_TYPE): Likewise.
29702 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29703 (__SNSECONDS_T_TYPE): Likewise.
29704 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29705 (__SNSECONDS_T_TYPE): Likewise.
29707 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29709 * sysdeps/mach/hurd/bits/typesizes.h
29710 (__SYSCALL_SLONG_TYPE): New macro.
29711 (__SYSCALL_ULONG_TYPE): Likewise.
29713 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29715 * bits/types.h (__syscall_slong_t): New type.
29716 (__syscall_ulong_t): Likewise.
29718 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29719 (__SYSCALL_ULONG_TYPE): Likewise.
29720 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29721 (__SYSCALL_SLONG_TYPE): Likewise.
29722 (__SYSCALL_ULONG_TYPE): Likewise.
29723 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29724 (__SYSCALL_SLONG_TYPE): Likewise.
29725 (__SYSCALL_ULONG_TYPE): Likewise.
29726 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29727 (__SYSCALL_SLONG_TYPE): Likewise.
29728 (__SYSCALL_ULONG_TYPE): Likewise.
29730 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29732 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29733 Add sigaltstack-offsets.sym.
29734 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29735 <sigaltstack-offsets.h>.
29736 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29737 longjmp_msg pointer.
29738 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29739 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29741 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29743 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29745 * elf/stackguard-macros.h: Remove file.
29746 * sysdeps/generic/stackguard-macros.h: New file.
29747 * sysdeps/i386/stackguard-macros.h: Likewise.
29748 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29749 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29750 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29751 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29752 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29753 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29754 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29755 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29756 <elf/stackguard-macros.h>.
29759 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29760 __aligned__ in attribute.
29761 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29762 (gregset_t): Likewise.
29764 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29766 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29767 * sysdeps/x86_64/64/Implies-after: Here. New file.
29768 * sysdeps/x86_64/x32/Implies-after: New file.
29770 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29772 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29773 and access return value for _dl_profile_fixup. Use R10_LP to
29776 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29778 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29780 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29782 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29783 * sysdeps/x86_64/x32/sysdep.h: New file.
29785 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29787 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29788 * sysdeps/x86_64/setjmp.S: Likewise.
29790 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29792 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29793 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29794 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29795 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29796 remove unused global constant.
29798 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29800 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29801 include of <not-cancel.h>.
29803 2012-05-15 Roland McGrath <roland@hack.frob.com>
29805 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29807 2012-05-15 Jeff Law <law@redhat.com>
29808 Andreas Jaeger <aj@suse.de>
29811 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29813 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29814 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29815 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29816 code changing __hst_map_handle.map.
29818 2012-05-15 Roland McGrath <roland@hack.frob.com>
29820 * configure.in (sysnames): Look for Implies-before and Implies-after
29822 * configure: Regenerated.
29824 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29826 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29827 8-byte data alignment with LP_SIZE alignment.
29829 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29831 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29834 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29836 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29838 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29840 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29841 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29842 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29844 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29846 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29848 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29849 (stackinfo_sub_sp): Likewise.
29851 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29853 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29856 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29858 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29861 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29863 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29866 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29868 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29870 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29872 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29873 into R11_LP and load __x86_64_shared_cache_size_half into
29876 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29878 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29881 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29883 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29885 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29887 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29889 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29890 powerpc32/power7/fpu/s_logb.c via #include.
29891 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29892 powerpc32/power7/fpu/s_logbf.c via #include.
29893 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29894 powerpc32/power7/fpu/s_logbl.c via #include.
29896 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29898 * README.libm: Remove file.
29900 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29902 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29903 count for x32. Use R*_LP and omit operand-size suffix.
29905 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29907 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29908 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29909 * sysdeps/x86_64/x32/shlib-versions: New file.
29911 2012-05-14 Roland McGrath <roland@hack.frob.com>
29913 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29914 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29915 Use _dl_fatal_printf instead.
29917 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29919 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29920 set if not set by the user. Do not allow for being unset.
29921 * sysdeps/unix/sysv/linux/configure: Regenerated.
29923 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29925 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29926 the `q' suffix from lea and replace .quad with ASM_ADDR.
29928 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29930 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29931 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29933 (PTR_DEMANGLE): Likewise.
29935 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29937 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29939 (ASM_ADDR): Likewise.
29940 (RAX_LP): Likewise.
29941 (RBP_LP): Likewise.
29942 (RBX_LP): Likewise.
29943 (RCX_LP): Likewise.
29944 (RDI_LP): Likewise.
29945 (RSI_LP): Likewise.
29946 (RSP_LP): Likewise.
29949 (R10_LP): Likewise.
29950 (R10_LP): Likewise.
29951 (R11_LP): Likewise.
29952 (R12_LP): Likewise.
29953 (R13_LP): Likewise.
29954 (R14_LP): Likewise.
29955 (R15_LP): Likewise.
29957 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29959 * sysdeps/x86_64/x32/dl-machine.h: New file.
29961 2012-05-14 Andreas Jaeger <aj@suse.de>
29963 * manual/Makefile (subdir): Remove export of subdir.
29964 (all): Remove target.
29965 (.PHONY): Remove all from list.
29966 (mkinstalldirs): Remove.
29967 (.PHONY): Remove installdirs from list.
29968 ($(inst_infodir)/libc.info): Use make-target-directory.
29969 (installdirs): Remove.
29970 (subdir_%): Remove.
29971 (glibc-targets): Remove.
29974 ($(objpfx)stubs ../po/manual.pot): Remove.
29975 ($(objpfx)stamp%): Remove.
29976 (make-target-directory): Remove.
29977 (subdir_install): Remove.
29978 (routines): Remove.
29985 * manual/.gitignore: Remove, it's not needed anymore.
29986 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29988 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29990 (texis): Renamed to $(objpfx)texis.
29991 (texis-path): New, contains path to generated files.
29992 (chapters.%): Use texis-path for complete path, add extra argument
29994 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29995 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29996 (summary,texi, stamp-summary): Use complete path of
29997 files. Generate files in build dir.
29998 (dir-add.texi): Build in build dir.
29999 (libm-err.texi,stamp-libm-err): Likewise.
30000 (version.texi, stamp-version): Likewise.
30001 (.%c.texi): Likewise.
30002 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
30003 (mostlyclean): Remove target.
30004 (realclean): Remove target.
30005 (generated): Add new variable with contents from mostlyclean and
30006 realclean, remove entries duplicated in common-mostlyclean, add
30007 stamp-libm-err and stamp-version.
30008 (generated-dirs): Add libc directory.
30009 ($(inst_infodir)/libc.info): Install files from build dir.
30011 * manual/install.texi (Configuring and compiling): Adjust since
30012 the info files are not part of the tar ball anymore.
30014 2012-05-14 Andreas Jaeger <aj@suse.de>
30016 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
30019 2012-05-14 Joseph Myers <joseph@codesourcery.com>
30022 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30023 to 2.2.0 where earlier.
30024 * sysdeps/unix/sysv/linux/configure: Regenerated.
30025 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30026 Remove conditional code.
30027 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30028 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30029 Remove conditional code.
30030 [!__NR_lchown]: Likewise.
30031 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30032 [__NR_lchown]: Likewise.
30033 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30034 comment referencing __ASSUME_LCHOWN_SYSCALL.
30035 * sysdeps/unix/sysv/linux/i386/sigaction.c
30036 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30037 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30038 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30039 Remove conditional code.
30040 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30041 (__protocol_available): Remove #if 0 code.
30042 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30044 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30045 * sysdeps/unix/sysv/linux/kernel-features.h
30046 (__ASSUME_GETCWD_SYSCALL): Don't define.
30047 (__ASSUME_REALTIME_SIGNALS): Likewise.
30048 (__ASSUME_PREAD_SYSCALL): Likewise.
30049 (__ASSUME_PWRITE_SYSCALL): Likewise.
30050 (__ASSUME_POLL_SYSCALL): Likewise.
30051 (__ASSUME_LCHOWN_SYSCALL): Likewise.
30052 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30054 (__ASSUME_SIOCGIFNAME): Don't define.
30055 (__ASSUME_MSG_NOSIGNAL): Likewise.
30056 (__ASSUME_SENDFILE): Define unconditionally.
30057 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30058 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30060 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30061 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30062 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30063 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30064 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30065 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30066 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30068 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30069 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30071 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30072 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30074 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30075 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30077 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30078 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30080 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30081 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30083 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30084 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30086 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30087 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30089 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30090 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30091 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30092 Remove conditional code.
30093 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30094 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30095 Remove conditional code.
30096 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30097 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30098 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30099 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30100 Remove conditional code.
30101 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30102 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30103 Remove conditional code.
30104 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30105 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30106 Remove conditional code.
30107 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30108 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30109 Remove conditional code.
30110 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30111 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30112 Remove conditional code.
30113 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30114 * sysdeps/unix/sysv/linux/sh/pwrite64.c
30115 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30116 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30117 * sysdeps/unix/sysv/linux/sigaction.c
30118 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30119 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30120 * sysdeps/unix/sysv/linux/sigpending.c
30121 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30122 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30123 * sysdeps/unix/sysv/linux/sigprocmask.c
30124 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30125 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30126 * sysdeps/unix/sysv/linux/sigsuspend.c
30127 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30128 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30129 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30130 (__libc_missing_rt_sigs): Remove.
30131 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30132 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30133 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30134 Remove conditional code.
30135 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30136 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30138 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30139 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30140 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30141 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30143 2012-05-14 Andreas Jaeger <aj@suse.de>
30145 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30146 it's not used in glibc.
30147 (__coshm1): Likewise.
30148 (__acosh1p): Likewise.
30151 * manual/string.texi (Copying and Concatenation): Add missing
30152 variable in concat example.
30153 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30155 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30158 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30159 __builtin_clzl with __builtin_clzll.
30161 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30164 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30167 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30169 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30170 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30171 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30172 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30174 2012-05-14 Mike Frysinger <vapier@gentoo.org>
30176 * NEWS: Update ia64 info.
30178 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
30180 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30183 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
30185 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30186 * sysdeps/unix/syscalls.list (dup3): Likewise.
30187 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30188 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30190 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30192 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30193 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30195 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30197 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30199 (TLS_IE): Use mov/add instead of movq/addq to load thread
30201 (TLS_GD_PREFIX): New.
30204 2012-05-11 David S. Miller <davem@davemloft.net>
30206 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30207 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30208 (_FPU_SETCW): Likewise.
30210 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30212 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30213 is 32-byte aligned.
30215 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
30218 * iconvdata/gb18030.c: Update tables.
30219 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
30220 characters specially.
30221 (BODY for TO_LOOP): Add encoding of missing ranges.
30223 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
30226 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30227 * sysdeps/mach/hurd/dup3.c: Likewise.
30228 * sysdeps/mach/hurd/readlinkat.c: Likewise.
30229 * sysdeps/powerpc/memmove.c:: Likewise.
30231 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30233 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30234 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30236 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30238 * elf/elf.h (R_X86_64_RELATIVE64): New.
30239 (R_X86_64_NUM): Updated.
30240 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30241 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
30242 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30243 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30244 tst-quad1pie tst-quad2pie
30245 (modules-names): Add tst-quadmod1 tst-quadmod2.
30246 ($(objpfx)tst-quad1): New dependency.
30247 ($(objpfx)tst-quad2): Likewise.
30248 ($(objpfx)tst-quad1pie): Likewise.
30249 ($(objpfx)tst-quad2pie): Likewise.
30250 * sysdeps/x86_64/tst-quad1.c: New file.
30251 * sysdeps/x86_64/tst-quad1pie.c: New file.
30252 * sysdeps/x86_64/tst-quad2.c: Likewise.
30253 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
30254 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
30255 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
30256 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
30257 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
30259 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30261 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
30262 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
30263 * streams/stropts.h (t_scalar_t): Define type.
30265 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
30266 (_PATH_PRESERVE): Set to "/var/lib".
30267 (_PATH_RWHODIR): Set to "/var/spool/rwho".
30269 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
30272 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
30273 if __dir_mkfile succeeded.
30275 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
30276 checking for _hurd_dtablesize. Unlock it right after having
30277 finished _hurd_dtable allocation.
30279 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30281 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
30282 * sysdeps/mach/hurd/configure: Regenerated.
30283 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
30284 special-casing to...
30285 * sysdeps/gnu/configure.in: ... this new file.
30286 * sysdeps/unix/sysv/linux/configure: Regenerated.
30287 * sysdeps/gnu/configure: New generated file.
30289 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
30290 for Linux: use nsec instead of usec, as well as:
30291 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
30292 members of type struct timespec.
30293 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
30295 (struct stat64): Likewise.
30296 (_STATBUF_ST_NSEC): New macro.
30297 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
30299 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30300 __strtoul_internal rather than strtoul.
30302 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30304 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
30307 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30309 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
30310 which preserves existing values.
30311 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
30313 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30315 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
30316 TIMEOUT values. Return EINVAL for NFDS values either negative or
30317 greater than FD_SETSIZE.
30319 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30321 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
30322 allocated, call __vm_protect to finish enabling the existing space, and
30323 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
30324 allocate the remainder.
30326 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30328 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
30329 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
30331 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30333 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
30334 sysdeps/mach/hurd/readlink.c.
30336 * posix/tst-sysconf.c (posix_options): Only use
30337 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
30338 _POSIX_SYNCHRONIZED_IO when they are defined
30339 * sysdeps/mach/hurd/bits/posix_opt.h:
30340 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30341 (_XOPEN_REALTIME): Undefine macro.
30342 (_XOPEN_REALTIME_THREADS): Undefine macro.
30343 (_XOPEN_SHM): Undefine macro.
30344 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
30346 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
30348 (_POSIX_ASYNC_IO): Undefine macro.
30349 (_POSIX_PRIORITIZED_IO): Undefine macro.
30350 (_POSIX_SPIN_LOCKS): Define macro to -1.
30352 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
30353 SA_NODEFER, SA_RESETHAND.
30354 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
30355 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
30358 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30360 * elf/Makefile (pldd-modules): Define unconditionally.
30362 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30364 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
30366 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30368 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
30369 Return ENOENT when name is empty.
30370 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
30372 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30374 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30376 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30378 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30380 Fix mlock in all cases except non-readable pages.
30381 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30382 instead of VM_PROT_ALL as parameter to __vm_wire function.
30384 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30385 (__mkdir): When path is `/', just fail with EEXIST.
30386 * sysdeps/mach/hurd/mkdirat.c: Likewise.
30388 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30390 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30391 <sys/uio.h> (for writev).
30392 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
30393 and <sys/param.h> (for MIN).
30395 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30397 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
30398 REQUESTED_TIME. Properly set the remaining time and return EINTR
30401 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30403 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
30404 Depend on against $(link-rpcuserlibs).
30406 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30408 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
30409 (__libc_stack_end): Do not use attribute_relro.
30410 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30411 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
30412 to libthread-provided value.
30413 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
30416 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30419 * bits/libc-lock.h (__libc_once_get): New macro.
30420 * sysdeps/mach/bits/libc-lock.h: Likewise.
30421 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
30422 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
30423 instead of using implementation details.
30425 * libio/fileops.c: Unconditionally include <kernel-features.h>.
30426 * libio/freopen.c: Likewise.
30427 * libio/freopen64.c: Likewise.
30428 * misc/syslog.c: Likewise.
30429 * nscd/connections.c: Likewise.
30430 * nscd/netgroupcache.c: Likewise.
30431 * sysdeps/posix/getcwd.c: Likewise.
30433 2012-05-10 Roland McGrath <roland@hack.frob.com>
30435 * math/w_ilogbf.c: Add #include <limits.h>.
30437 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30439 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
30440 path instead of returning without unlocking.
30442 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
30443 immediate-write ioctls.
30444 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
30446 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30448 * sysdeps/mach/hurd/i386/init-first.c (init): Use
30449 __builtin_frame_address instead of making assumptions about the
30450 location of the return address relative to DATA. Force early load of
30451 the return address.
30452 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
30453 __builtin_frame_address.
30456 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
30457 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
30458 implement dup3 and do some further code clean-ups.
30459 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30460 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30462 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30464 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30466 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30467 HURD_CRITICAL_END around holding _hurd_dtable_lock.
30468 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30469 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30470 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30473 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30474 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
30475 when handler == SIG_ERR, not when handler != SIG_ERR.
30477 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30479 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30480 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30483 accept4 for GNU Hurd.
30484 * include/sys/socket.h (__libc_accept4): New prototype.
30485 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
30486 to implement __libc_accept4.
30487 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30489 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30491 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30492 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30493 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30494 signal-defines.sym.
30496 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30498 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
30500 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
30502 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
30503 assertion on O_CLOEXEC flag.
30504 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
30505 * hurd/intern-fd.c: Likewise.
30506 * hurd/port2fd.c: Likewise.
30508 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30511 * bits/in.h (IPV6_PKTINFO): Define new macro.
30512 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
30514 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30519 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
30520 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30521 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
30522 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30523 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30524 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30525 * math/libm-test.inc (logb_test) : Additional logb tests.
30527 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
30528 Andreas Jaeger <aj@suse.de>
30530 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
30531 * configure: Regenerated.
30532 * config.h.in (LINK_OBSOLETE_RPC): New macro.
30533 * config.make.in (link-obsolete-rpc): New substituted variable.
30534 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
30535 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
30536 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30537 (shared-only-routines): Don't set it under [link-obsolete-rpc],
30538 so that libc.a contains the symbols.
30539 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30540 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
30541 * sunrpc/auth_none.c: Likewise.
30542 * sunrpc/auth_unix.c: Likewise.
30543 * sunrpc/authdes_prot.c: Likewise.
30544 * sunrpc/authuxprot.c: Likewise.
30545 * sunrpc/clnt_gen.c: Likewise.
30546 * sunrpc/clnt_perr.c: Likewise.
30547 * sunrpc/clnt_raw.c: Likewise.
30548 * sunrpc/clnt_simp.c: Likewise.
30549 * sunrpc/clnt_tcp.c: Likewise.
30550 * sunrpc/clnt_udp.c: Likewise.
30551 * sunrpc/clnt_unix.c: Likewise.
30552 * sunrpc/des_crypt.c: Likewise.
30553 * sunrpc/des_soft.c: Likewise.
30554 * sunrpc/get_myaddr.c: Likewise.
30555 * sunrpc/key_call.c: Likewise.
30556 * sunrpc/key_prot.c: Likewise.
30557 * sunrpc/netname.c: Likewise.
30558 * sunrpc/pm_getmaps.c: Likewise.
30559 * sunrpc/pm_getport.c: Likewise.
30560 * sunrpc/pmap_clnt.c: Likewise.
30561 * sunrpc/pmap_prot.c: Likewise.
30562 * sunrpc/pmap_prot2.c: Likewise.
30563 * sunrpc/pmap_rmt.c: Likewise.
30564 * sunrpc/publickey.c: Likewise.
30565 * sunrpc/rpc_cmsg.c: Likewise.
30566 * sunrpc/rpc_common.c: Likewise.
30567 * sunrpc/rpc_dtable.c: Likewise.
30568 * sunrpc/rpc_prot.c: Likewise.
30569 * sunrpc/rpc_thread.c: Likewise.
30570 * sunrpc/rtime.c: Likewise.
30571 * sunrpc/svc.c: Likewise.
30572 * sunrpc/svc_auth.c: Likewise.
30573 * sunrpc/svc_raw.c: Likewise.
30574 * sunrpc/svc_run.c: Likewise.
30575 * sunrpc/svc_tcp.c: Likewise.
30576 * sunrpc/svc_udp.c: Likewise.
30577 * sunrpc/svc_unix.c: Likewise.
30578 * sunrpc/svcauth_des.c: Likewise.
30579 * sunrpc/xcrypt.c: Likewise.
30580 * sunrpc/xdr.c: Likewise.
30581 * sunrpc/xdr_array.c: Likewise.
30582 * sunrpc/xdr_float.c: Likewise.
30583 * sunrpc/xdr_intXX_t.c: Likewise.
30584 * sunrpc/xdr_mem.c: Likewise.
30585 * sunrpc/xdr_rec.c: Likewise.
30586 * sunrpc/xdr_ref.c: Likewise.
30587 * sunrpc/xdr_sizeof.c: Likewise.
30588 * sunrpc/xdr_stdio.c: Likewise.
30590 2012-05-10 Roland McGrath <roland@hack.frob.com>
30592 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
30593 change. Update copyright years.
30595 2012-05-10 Joseph Myers <joseph@codesourcery.com>
30597 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
30599 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
30600 Joseph Myers <joseph@codesourcery.com>
30601 Paul Pluzhnikov <ppluzhnikov@google.com>
30604 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
30606 [cross-compiling] (extra-libs): Likewise.
30607 [cross-compiling] (extra-libs-others): Likewise.
30608 [cross-compiling] (librpcsvc-routines): Likewise.
30609 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30610 [cross-compiling] (omit-deps): Likewise.
30611 (sunrpc-CPPFLAGS): New variable.
30612 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30613 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30614 (cross-rpcgen-objs): New variable.
30615 (extra-objs): Append $(cross-rpcgen-objs).
30616 ($(cross-rpcgen-objs)): New rule.
30617 ($(objpfx)cross-rpcgen): Likewise.
30618 (rpcgen-cmd): Define to use $(built-program-file). Expand
30620 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30621 ($(objpfx)x%.stmp): Likewise.
30622 * sunrpc/proto.h [IS_IN_build] (_): Define.
30623 [IS_IN_build] (_libc_intl_domainname): Likewise.
30625 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30627 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30628 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30629 and R_X86_64_TPOFF64.
30631 2012-05-10 Joseph Myers <joseph@codesourcery.com>
30633 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30634 sysdeps/unix/sysv/syscalls.list.
30637 * sysdeps/unix/sysv/syscalls.list: Remove file.
30639 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
30642 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30643 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30644 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30645 (__LC_IDENTIFICATION): Make these macros useful in #if
30646 expressions, as required by C99.
30648 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
30650 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30651 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30654 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30656 * stdlib/longlong.h: Updated from GCC.
30658 2012-05-09 Andreas Jaeger <aj@suse.de>
30660 * nscd/nscd.c (run_modes): Make named enum, reorder so that
30661 default is first entry.
30662 (run_mode): Set type.
30663 (main): Remove informal message about syslog.
30664 (options): Fix typo.
30667 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
30670 (llrintf): Likewise.
30671 (llrint): Likewise.
30674 (nearbyint): Likewise.
30675 (nearbyintf): Likewise.
30677 2012-05-09 Andreas Jaeger <aj@suse.de>
30678 Pedro Alves <palves@redhat.com>
30680 * nscd/nscd.c (run_mode): Use enum.
30681 (main): Cleanup coding style issue.
30683 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
30684 Andreas Jaeger <aj@suse.de>
30686 * nscd/nscd.c (go_background): Replaced with...
30687 (run_mode): ... this.
30688 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
30689 (options): Add -F --foreground.
30690 (main): Implement it.
30691 (parse_opt): Parse it.
30693 2012-05-09 Andreas Jaeger <aj@suse.de>
30696 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30697 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30698 -Wconversion warning.
30699 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30702 2012-05-09 Joseph Myers <joseph@codesourcery.com>
30704 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30706 (LC_ALL): Use macro-int-constant.
30707 (LC_COLLATE): Likewise.
30708 (LC_CTYPE): Likewise.
30709 (LC_MESSAGES): Likewise.
30710 (LC_MONETARY): Likewise.
30711 (LC_NUMERIC): Likewise.
30712 (LC_TIME): Likewise.
30713 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30714 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30715 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30716 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30718 [C99-based standards] (float_t): Expect type.
30719 [C99-based standards] (double_t): Expect type.
30720 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30722 [C99-based standards] (HUGE_VALL): Likewise.
30723 [C99-based standards] (INFINITY): Likewise.
30724 [C99-based standards] (NAN): Likewise.
30725 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30726 [C99-based standards] (FP_NAN): Likewise.
30727 [C99-based standards] (FP_NORMAL): Likewise.
30728 [C99-based standards] (FP_SUBNORMAL): Likewise.
30729 [C99-based standards] (FP_ZERO): Likewise.
30730 [C99-based standards] (FP_FAST_FMA): Use
30731 optional-macro-int-constant. Specify type. Require == 1.
30732 [C99-based standards] (FP_FAST_FMAF): Likewise.
30733 [C99-based standards] (FP_FAST_FMAL): Likewise.
30734 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30735 [C99-based standards] (FP_ILOGBNAN): Likewise.
30736 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30738 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30739 [C99-based standards] (math_errhandling): Specify type.
30740 [ISO99 || ISO11] (signgam): Do not allow.
30741 [non-C99-based standards] (copysignf): Do not allow.
30742 [non-C99-based standards] (exp2f): Likewise.
30743 [non-C99-based standards] (log2f): Likewise.
30744 [non-C99-based standards] (modff): Allow.
30745 [non-C99-based standards] (erff): Do not allow.
30746 [non-C99-based standards] (erfcf): Likewise.
30747 [non-C99-based standards] (gammaf): Likewise.
30748 [non-C99-based standards] (hypotf): Likewise.
30749 [non-C99-based standards] (j0f): Likewise.
30750 [non-C99-based standards] (j1f): Likewise.
30751 [non-C99-based standards] (jnf): Likewise.
30752 [non-C99-based standards] (lgammaf): Likewise.
30753 [non-C99-based standards] (tgammaf): Likewise.
30754 [non-C99-based standards] (y0f): Likewise.
30755 [non-C99-based standards] (y1f): Likewise.
30756 [non-C99-based standards] (ynf): Likewise.
30757 [non-C99-based standards] (isnanf): Likewise.
30758 [non-C99-based standards] (acoshf): Likewise.
30759 [non-C99-based standards] (asinhf): Likewise.
30760 [non-C99-based standards] (atanhf): Likewise.
30761 [non-C99-based standards] (cbrtf): Likewise.
30762 [non-C99-based standards] (expm1f): Likewise.
30763 [non-C99-based standards] (ilogbf): Likewise.
30764 [non-C99-based standards] (log1pf): Likewise.
30765 [non-C99-based standards] (logbf): Likewise.
30766 [non-C99-based standards] (nextafterf): Likewise.
30767 [non-C99-based standards] (remainderf): Likewise.
30768 [non-C99-based standards] (rintf): Likewise.
30769 [non-C99-based standards] (scalbf): Likewise.
30770 [non-C99-based standards] (copysignl): Likewise.
30771 [non-C99-based standards] (exp2l): Likewise.
30772 [non-C99-based standards] (log2l): Likewise.
30773 [non-C99-based standards] (modfl): Allow.
30774 [non-C99-based standards] (erfl): Do not allow.
30775 [non-C99-based standards] (erfcl): Likewise.
30776 [non-C99-based standards] (gammal): Likewise.
30777 [non-C99-based standards] (hypotl): Likewise.
30778 [non-C99-based standards] (j0l): Likewise.
30779 [non-C99-based standards] (j1l): Likewise.
30780 [non-C99-based standards] (jnl): Likewise.
30781 [non-C99-based standards] (lgammal): Likewise.
30782 [non-C99-based standards] (tgammal): Likewise.
30783 [non-C99-based standards] (y0l): Likewise.
30784 [non-C99-based standards] (y1l): Likewise.
30785 [non-C99-based standards] (ynl): Likewise.
30786 [non-C99-based standards] (isnanl): Likewise.
30787 [non-C99-based standards] (acoshl): Likewise.
30788 [non-C99-based standards] (asinhl): Likewise.
30789 [non-C99-based standards] (atanhl): Likewise.
30790 [non-C99-based standards] (cbrtl): Likewise.
30791 [non-C99-based standards] (expm1l): Likewise.
30792 [non-C99-based standards] (ilogbl): Likewise.
30793 [non-C99-based standards] (log1pl): Likewise.
30794 [non-C99-based standards] (logbl): Likewise.
30795 [non-C99-based standards] (nextafterl): Likewise.
30796 [non-C99-based standards] (remainderl): Likewise.
30797 [non-C99-based standards] (rintl): Likewise.
30798 [non-C99-based standards] (scalbl): Likewise.
30799 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30800 [non-C99-based standards] (FP_*): Do not allow.
30801 [C99-based standards] (FP_*): Change to
30802 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30803 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30805 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30806 (SIG_ERR): Likewise.
30807 [X/Open-based standards] (SIG_HOLD): Likewise.
30808 (SIG_IGN): Likewise.
30809 (SIGABRT): Use macro-int-constant. Specify type. Require
30811 (SIGFPE): Likewise.
30812 (SIGILL): Likewise.
30813 (SIGINT): Likewise.
30814 (SIGSEGV): Likewise.
30815 (SIGTER): Likewise.
30816 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30817 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30818 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30819 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30820 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30821 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30822 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30823 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30824 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30825 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30826 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30827 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30828 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30829 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30830 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30831 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30832 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30833 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30834 [X/Open-based standards] (SIGTRAP): Likewise.
30835 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30836 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30837 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30838 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30839 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30842 2012-05-08 Ian Wienand <ianw@vmware.com>
30845 * time/tzset.c (__tzset_parse_tz): Update default rules for
30846 daylight time changes in the Energy Policy Act of 2005.
30848 2012-05-09 Andreas Jaeger <aj@suse.de>
30851 * elf/ldconfig.c (parse_conf): Change string to make clear that
30852 ldconfig only issued a warning if ld.so.conf does not exist.
30854 2012-05-08 David S. Miller <davem@davemloft.net>
30856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30857 movxtod instead of popping the value on the stack.
30859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30861 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30863 * config.h.in: Add HAVE_ARM_PCS_VFP.
30865 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
30868 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30869 checking but the checks are disabled for any reason.
30871 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30873 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30874 and ELF64_R_TYPE with ELFW(R_TYPE).
30876 2012-05-08 Joseph Myers <joseph@codesourcery.com>
30878 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30879 (ulimit): Likewise.
30881 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30882 (settimeofday): Likewise.
30884 2012-05-08 Mike Frysinger <vapier@gentoo.org>
30886 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30887 a struct th_u2 inside the union, and move tu_block/tu_code into
30888 a new th_u3 union of tu_block/tu_code inside of that. Move
30889 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30890 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30891 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30892 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30893 (th_stuff): Change to th_u1.tu_stuff.
30895 (th_msg): Change to th_u1.th_u2.tu_data.
30897 2012-05-07 David S. Miller <davem@davemloft.net>
30899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30902 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30903 (SETUP_PIC_REG): Use it.
30904 (SETUP_PIC_REG_LEAF): Use it.
30906 2012-05-07 Joseph Myers <joseph@codesourcery.com>
30910 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30912 (EXPL_FINITE): Likewise.
30913 (FLDLOG): Likewise.
30914 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30915 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30917 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30919 (EXPL_FINITE): Likewise.
30920 (FLDLOG): Likewise.
30921 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30922 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30924 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30925 test of -max_value argument for long double.
30926 * sysdeps/i386/fpu/libm-test-ulps: Update.
30927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30929 2012-05-06 David S. Miller <davem@davemloft.net>
30931 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30932 quad soft-float symbols whose references which are compiler
30934 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30936 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30940 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30942 (EXPL_FINITE): Likewise.
30943 (FLDLOG): Likewise.
30946 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30947 Adjust comments for base varying.
30948 (__expl_finite): Change alias to EXPL_FINITE.
30949 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30951 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30952 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30953 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30954 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30955 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30957 (EXPL_FINITE): Likewise.
30958 (FLDLOG): Likewise.
30961 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30962 Adjust comments for base varying.
30963 (__expl_finite): Change alias to EXPL_FINITE.
30964 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30966 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30969 * math/libm-test.inc (check_float_internal): Correct ulp
30970 calculation for subnormal expected results.
30972 2012-05-06 Andreas Jaeger <aj@suse.de>
30974 * Makeconfig (+math-flags): New, set to -frounding-math.
30975 (+cflags): Add +math-flags so that all of glibc gets compiled with
30978 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30980 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30982 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30988 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30989 (__ieee754_expl): Allow for and saturate large arguments.
30990 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30991 (u_threshold): Likewise.
30992 (__exp): Call __ieee754_exp before checking for overflow and
30994 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30995 (u_threshold): Likewise.
30996 (__expf): Call __ieee754_expf before checking for overflow and
30998 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30999 (u_threshold): Likewise.
31000 (__expl): Call __ieee754_expl before checking for overflow and
31002 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
31003 (__ieee754_expl): Allow for and saturate large arguments.
31004 * math/libm-test.inc (exp_test): Add another test. Do not allow
31005 missing overflow exception on overflow.
31006 (expm1_test): Do not allow missing overflow exception on overflow.
31008 * sysdeps/i386/fpu/e_expl.c: Move to ...
31009 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
31010 rather than using inline asm.
31011 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
31012 * sysdeps/x86_64/fpu/e_expl.S: Copy from
31013 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
31015 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
31018 (signal): Likewise.
31022 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31024 * sysdeps/unix/syscalls.list (adjtime): Add entry from
31025 sysdeps/unix/common/syscalls.list.
31026 (fchmod): Likewise.
31027 (fchown): Likewise.
31028 (ftruncate): Likewise.
31029 (getrusage): Likewise.
31030 (gettimeofday): Likewise.
31031 (setpgid): Likewise.
31032 (setregid): Likewise.
31033 (setreuid): Likewise.
31034 (sigaction): Likewise.
31035 (truncate): Likewise.
31036 (vhangup): Likewise.
31037 * sysdeps/unix/common/syscalls.list: Remove file.
31038 * sysdeps/unix/bsd/Implies: Don't include unix/common.
31039 * sysdeps/unix/sysv/linux/Implies: Likewise.
31041 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
31043 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31044 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31045 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31049 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31052 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31055 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31058 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31061 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31064 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31067 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31071 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31073 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31075 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31077 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31078 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31082 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31086 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31088 * sysdeps/unix/common/bits/dirent.h: Remove file.
31089 * sysdeps/unix/common/bits/fcntl.h: Likewise.
31091 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31092 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31093 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31094 * sysdeps/unix/bsd/isatty.c: Likewise.
31095 * sysdeps/unix/bsd/tcdrain.c: Likewise.
31096 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31097 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31099 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31102 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31103 long double comparison inaccuracies.
31104 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31107 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
31109 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31110 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31112 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31115 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31116 nonzero digits before rounding a hex value.
31117 * stdlib/tst-strtod.c (tests): Add another test.
31119 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31121 * sysdeps/s390/fpu/libm-test-ulps: Update.
31123 2012-05-03 Andreas Jaeger <aj@suse.de>
31125 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31126 does not get optimized out.
31127 (malloc_opt_barrier): New.
31129 2012-05-03 Andreas Jaeger <aj@suse.de>
31130 Roland McGrath <roland@hack.frob.com>
31132 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
31133 intermediate file deletion.
31134 (generated): Add .symlist files.
31136 2012-05-03 Joseph Myers <joseph@codesourcery.com>
31139 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31140 Redirect under this condition.
31141 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31142 [__USE_GNU] (__dprintf_chk): Not under this condition.
31143 [__USE_GNU] (__vdprintf_chk): Likewise.
31144 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31145 under this condition.
31146 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31147 [__USE_XOPEN2K8] (dprintf): Define under this condition.
31148 [__USE_XOPEN2K8] (vdprintf): Likewise.
31149 [__USE_GNU] (__dprintf_chk): Not under this condition.
31150 [__USE_GNU] (__vdprintf_chk): Likewise.
31151 [__USE_GNU] (dprintf): Likewise.
31152 [__USE_GNU] (vdprintf): Likewise.
31154 2012-05-03 Roland McGrath <roland@hack.frob.com>
31156 * elf/Makefile (common-generated): Set this instead of generated for
31157 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
31158 $(all-built-dso)-derived lists.
31160 2012-05-03 Andreas Jaeger <aj@suse.de>
31162 * sysdeps/i386/fpu/libm-test-ulps: Update.
31165 * FAQ.in: Likewise.
31166 * scripts/gen-FAQ.pl: Likewise.
31167 * manual/install.texi (Installation): Point to online location of
31169 * Makefile (files-for-dist): Remove FAQ.
31172 2012-05-02 Allan McRae <allan@archlinux.org>
31174 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31175 (LDFLAGS-reldepmod5.so): Likewise.
31176 (LDFLAGS-reldep6mod1.so): Likewise.
31177 (LDFLAGS-reldep6mod4.so): Likewise.
31178 (LDFLAGS-reldep8mod3.so): Likewise.
31179 (LDFLAGS-unload4mod1.so): Likewise.
31180 (LDFLAGS-unload4mod2.so): Likewise.
31181 (LDFLAGS-tst-initorder): Likewise.
31182 (LDFLAGS-tst-initordera2.so): Likewise.
31183 (LDFLAGS-tst-initordera3.so): Likewise.
31184 (LDFLAGS-tst-initordera4.so): Likewise.
31185 (LDFLAGS-tst-initorderb2.so): Likewise.
31186 (LDFLAGS-noload): Likewise.
31187 (LDFLAGS-next): Likewise.
31188 (LDFLAGS-order2mod1.so): Likewise.
31189 (LDFLAGS-order2mod2.so): Likewise.
31190 (LDFLAGS-tst-initorder2): Likewise.
31191 (LDFLAGS-tst-initorder2a.so): Likewise.
31192 (LDFLAGS-tst-initorder2b.so): Likewise.
31193 (LDFLAGS-tst-initorder2c.so): Likewise.
31194 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31196 2012-05-02 David S. Miller <davem@davemloft.net>
31198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31200 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
31203 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31205 2012-05-02 Andreas Jaeger <aj@suse.de>
31207 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31208 since we manipulate rounding mode.
31209 (CPPFLAGS-test-idouble.c): Likewise.
31210 (CPPFLAGS-test-ifloat.c): Likewise.
31211 (CFLAGS-test-ldouble.c): Likewise.
31212 (CFLAGS-test-double.c): Likewise.
31213 (CFLAGS-test-float.c): Likewise.
31214 (CFLAGS-test-misc.c): Likewise.
31215 (CFLAGS-test-test-fenv.c): Likewise.
31217 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31221 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31222 comparisons to determine direction to adjust input.
31224 2012-05-01 Roland McGrath <roland@hack.frob.com>
31226 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31227 output to the target.
31229 * scripts/localplt.awk: New file.
31230 * elf/Makefile ($(objpfx)check-localplt): Target removed.
31231 (check-localplt-CFLAGS): Variable removed.
31232 ($(all-built-dso:=.jmprel)): New static pattern rule.
31233 (generated): Add those targets.
31234 (localplt-built-dso): New variable.
31235 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31237 * elf/check-localplt.c: File removed.
31239 * scripts/check-execstack.awk: New file.
31240 * elf/Makefile ($(objpfx)check-execstack): Target removed.
31241 (check-execstack-CFLAGS): Variable removed.
31242 ($(objpfx)check-execstack.h): Target removed.
31243 ($(objpfx)execstack-default): New target.
31244 (generated): Add that instead of check-execstack.h.
31245 ($(all-built-dso:=.phdr)): New static pattern rule.
31246 (generated): Add those targets.
31247 * elf/check-execstack.c: File removed.
31249 * scripts/check-textrel.awk: New file.
31250 * elf/Makefile ($(objpfx)check-textrel): Target removed.
31251 (check-textrel-CFLAGS): Variable removed.
31252 (all-built-dso): Use := to define.o
31253 ($(all-built-dso:=.dyn)): New static pattern rule.
31254 (generated): Add those targets.
31255 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
31256 * config.make.in (READELF): New substituted variable.
31257 * elf/check-textrel.c: File removed.
31259 2012-05-01 Joseph Myers <joseph@codesourcery.com>
31261 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31263 * conform/data/ctype.h-data [C99-based standards] (isblank):
31265 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
31266 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
31267 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31268 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
31269 Specify type. Require positive value.
31270 (EILSEQ): Likewise.
31271 (ERANGE): Likewise.
31272 [ISO || POSIX] (EILSEQ): Do not expect.
31273 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
31274 Specify type. Require positive value.
31275 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
31276 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
31277 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
31278 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
31279 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
31280 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
31281 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
31282 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
31283 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
31284 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
31285 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
31286 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
31287 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
31288 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
31289 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
31290 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
31291 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
31292 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
31293 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
31294 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
31295 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
31296 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
31297 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
31298 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
31299 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
31300 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
31301 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
31302 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
31303 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
31304 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
31305 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
31306 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
31307 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
31308 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
31309 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
31310 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
31311 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
31312 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
31313 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
31314 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
31315 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
31316 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
31317 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
31318 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
31319 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
31320 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
31321 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
31322 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
31323 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
31324 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
31325 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
31326 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
31327 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
31328 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
31329 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
31330 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
31331 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
31332 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
31333 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
31334 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
31335 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
31336 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
31337 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
31338 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
31339 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
31340 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31341 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
31342 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
31343 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
31344 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
31345 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
31346 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
31347 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
31348 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
31349 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
31350 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
31351 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
31353 (FLT_ROUNDS): Expect as macro, not constant.
31354 (FLT_MANT_DIG): Use macro-int-constant.
31355 (DBL_MANT_DIG): Likewise.
31356 (LDBL_MANT_DIG): Likewise.
31357 (FLT_DIG): Likewise.
31358 (DBL_DIG): Likewise.
31359 (LDBL_DIG): Likewise.
31360 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
31361 (DBL_MIN_EXP): Likewise.
31362 (LDBL_MIN_EXP): Likewise.
31363 (FLT_MAX_EXP): Use macro-int-constant.
31364 (DBL_MAX_EXP): Likewise.
31365 (LDBL_MAX_EXP): Likewise.
31366 (FLT_MAX_10_EXP): Likewise.
31367 (DBL_MAX_10_EXP): Likewise.
31368 (LDBL_MAX_10_EXP): Likewise.
31369 (FLT_MAX): Use macro-constant.
31370 (DBL_MAX): Likewise.
31371 (LDBL_MAX): Likewise.
31372 (FLT_EPSILON): Use macro-constant. Give upper bound.
31373 (DBL_EPSILON): Likewise.
31374 (LDBL_EPSILON): Likewise.
31375 (FLT_MIN): Likewise.
31376 (DBL_MIN): Likewise.
31377 (LDBL_MIN): Likewise.
31378 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31379 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31380 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31381 [ISO11] (FLT_HAS_SUBNORM): Likewise.
31382 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31383 [ISO11] (DBL_DECIMAL_DIG): Likewise.
31384 [ISO11] (FLT_DECIMAL_DIG): Likewise.
31385 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31386 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31387 [ISO11] (FLT_TRUE_MIN): Likewise.
31388 [ISO11] (LDBL_TRUE_MIN): Likewise.
31389 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31390 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
31391 (SCHAR_MIN): Use macro-int-constant. Specify type.
31392 (SCHAR_MAX): Likewise.
31393 (UCHAR_MAX): Likewise.
31394 (CHAR_MIN): Likewise.
31395 (CHAR_MAX): Likewise.
31396 (MB_LEN_MAX): Use macro-int-constant.
31397 (SHRT_MIN): Use macro-int-constant. Specify type.
31398 (SHRT_MAX): Likewise.
31399 (USHRT_MAX): Likewise.
31400 (INT_MAX): Likewise.
31401 (INT_MIN): Use macro-int-constant. Specify type. Make upper
31403 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
31405 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31407 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
31408 bound negative. Suffix upper bound with "L".
31409 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31411 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
31413 [C99-based standards] (LLONG_MAX): Likewise.
31414 [C99-based standards] (ULLONG_MAX): Likewise.
31415 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
31417 [ISO11] (max_align_t): Require type.
31418 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31420 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
31421 from $CFLAGS, without defining away __attribute__ calls.
31422 (checknamespace): Use $CFLAGS_namespace.
31424 * conform/conformtest.pl (@keywords): Only include C99 keywords
31425 for standards based on C99 or C11.
31427 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
31429 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
31432 * conform/conformtest.pl: Handle "macro-int-constant" and test for
31433 usability of symbols in #if.
31435 * conform/conformtest.pl: If macro or constant types start
31436 "promoted:", expect the symbol to be of the following type
31437 promoted by the integer promotions.
31439 * conform/conformtest.pl: Parse all "constant" and "macro" lines
31440 in one place. Also handle "macro-constant".
31442 * conform/conformtest.pl: Only accept expected macro values with
31443 "==". Parse all "macro" lines in one place.
31444 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
31446 * conform/conformtest.pl: Handle braced types on "constant" lines
31447 instead of handling "typed-constant".
31448 * conform/data/signal.h-data: Use "constant" instead of
31451 * conform/conformtest.pl: Handle "optional-" at start of lines in
31452 one place rather than duplicating several cases. Handle each
31453 format of "macro" line with initial "optional-".
31455 * conform/conformtest.pl: Only accept expected constant or
31456 optional-constant values with "==". Parse all "constant" lines in
31457 one place. Parse all "optional-constant" lines in one place.
31458 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31459 * conform/data/fmtmsg.h-data: Likewise.
31460 * conform/data/netinet/in.h-data: Likewise.
31461 * conform/data/tar.h-data: Likewise.
31462 * conform/data/limits.h-data: Use "==" form on "constant" and
31463 "optional-constant" lines.
31465 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31466 Use -std=c99 for XOPEN2K.
31467 (@knownproblems): Remove.
31468 (newtoken): Don't check %isknown.
31470 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31471 Do not expect macro.
31472 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31473 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31474 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31475 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31476 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31477 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31478 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31479 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31480 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31481 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31482 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31483 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31484 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31485 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31486 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31487 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31488 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31489 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31490 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31491 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31492 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31493 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31494 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31495 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31496 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31497 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31498 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31499 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
31500 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
31501 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
31502 [XPG3] (acosh): Likewise.
31503 [XPG3] (asinh): Likewise.
31504 [XPG3] (atanh): Likewise.
31505 [XPG3] (cbrt): Likewise.
31506 [XPG3] (expm1): Likewise.
31507 [XPG3] (ilogb): Likewise.
31508 [XPG3] (log1p): Likewise.
31509 [XPG3] (logb): Likewise.
31510 [XPG3] (nextafter): Likewise.
31511 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
31512 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
31513 [XPG3] (remainder): Likewise.
31514 [XPG3] (rint): Likewise.
31515 [XPG3 || XPG4 || UNIX98] (round): Likewise.
31516 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
31517 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
31518 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
31519 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
31520 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
31521 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
31522 [UNIX98 || XOPEN2K] (scalb): Expect.
31523 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
31524 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
31525 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
31526 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
31527 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
31528 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
31529 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
31530 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
31531 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
31532 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
31533 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
31534 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
31535 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
31536 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
31537 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
31538 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
31539 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
31540 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
31541 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
31542 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
31543 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
31544 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
31545 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
31546 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
31547 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
31548 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
31549 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31550 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31551 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31552 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31553 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31554 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31555 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31556 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31557 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31558 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31559 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31560 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31561 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31562 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31563 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31564 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31565 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
31566 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31567 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31568 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
31569 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
31570 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
31571 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
31572 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
31573 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
31574 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
31575 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
31576 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
31577 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
31578 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
31579 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
31580 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
31581 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
31582 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
31583 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
31584 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
31585 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
31586 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
31587 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
31588 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
31589 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
31590 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
31591 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
31592 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
31593 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
31594 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
31595 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
31596 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
31597 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
31598 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
31599 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
31600 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
31601 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
31602 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
31603 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
31604 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
31605 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31606 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31607 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31608 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31609 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31610 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31611 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31612 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31613 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31614 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31615 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31616 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31617 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31618 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31619 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31620 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31621 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31622 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31623 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31624 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31625 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31626 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31627 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31628 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31629 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31630 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31631 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31632 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31633 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31634 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31635 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31636 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31637 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31638 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31639 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31640 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31641 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31642 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31643 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31644 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31645 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31646 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31647 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31648 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31649 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31650 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31651 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31652 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31653 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31654 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31655 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31656 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31657 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31658 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31659 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31661 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31662 _XOPEN_SOURCE_EXTENDED for XPG4.
31664 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31666 * Makeconfig (localtime): Remove variable.
31667 (inst_localtime-file): Likewise.
31669 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31690 2012-05-01 Joseph Myers <joseph@codesourcery.com>
31694 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31695 comparisons to determine direction to adjust input.
31696 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31697 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31698 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31700 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31702 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31704 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31705 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31707 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31709 * math/libm-test.inc (nexttoward_test): Add more tests.
31711 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31714 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31715 in version GLIBC_2.1, not GLIBC_2.0.
31716 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31719 2012-04-30 Joseph Myers <joseph@codesourcery.com>
31722 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31724 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31725 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31726 * math/libm-test.inc (acos_test): Add more tests.
31727 (asin_test): Likewise.
31728 * sysdeps/i386/fpu/libm-test-ulps: Update.
31729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31732 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31734 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31735 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31736 * math/libm-test.inc (acos_test_tonearest): New function.
31737 (acos_test_towardzero): Likewise.
31738 (acos_test_downward): Likewise.
31739 (acos_test_upward): Likewise.
31740 (asin_test_tonearest): Likewise.
31741 (asin_test_towardzero): Likewise.
31742 (asin_test_downward): Likewise.
31743 (asin_test_upward): Likewise.
31744 (main): Call the new functions.
31745 * sysdeps/i386/fpu/libm-test-ulps: Update.
31746 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31750 * math/e_exp10.c: Include <float.h>.
31751 (__ieee754_exp10): Handle underflow here rather than multiplying
31752 large negative argument by M_LN10.
31753 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31755 * math/e_exp10l.c: Include <float.h>.
31756 (__ieee754_exp10l): Handle underflow here rather than multiplying
31757 large negative argument by M_LN10l.
31758 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31759 spurious overflow exception on underflow.
31761 2012-04-29 Marek Polacek <polacek@redhat.com>
31763 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31764 (__fortify_function): New macro.
31765 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31766 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31767 __extern_always_inline.
31768 * libio/bits/stdio2.h: Likewise.
31769 * libio/bits/stdio.h: Likewise.
31770 * string/string.h: Likewise.
31771 * string/bits/string3.h: Likewise.
31772 * include/stdio.h: Likewise.
31773 * stdlib/bits/stdlib.h: Likewise.
31774 * stdlib/stdlib.h: Likewise.
31775 * rt/bits/mqueue2.h: Likewise.
31776 * rt/mqueue.h: Likewise.
31777 * posix/bits/unistd.h: Likewise.
31778 * posix/unistd.h: Likewise.
31779 * io/bits/poll2.h: Likewise.
31780 * io/bits/fcntl2.h: Likewise.
31781 * io/fcntl.h: Likewise.
31782 * io/sys/poll.h: Likewise.
31783 * misc/bits/syslog.h: Likewise.
31784 * misc/bits/syslog-ldbl.h: Likewise.
31785 * misc/sys/syslog.h: Likewise.
31786 * socket/bits/socket2.h: Likewise.
31787 * socket/sys/socket.h: Likewise.
31788 * debug/tst-chk1.c: Likewise.
31789 * wcsmbs/bits/wchar2.h: Likewise.
31790 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31791 * wcsmbs/wchar.h: Likewise.
31793 2012-04-29 Andreas Jaeger <aj@suse.de>
31795 * Makerules (tests): Remove enable-check-abi protection.
31796 (check-abi-warn): Remove.
31797 (check-abi-%): Remove check-abi-warn usage.
31799 * configure.in: Remove check-abi configure option.
31800 * configure: Regenerated.
31801 * config.make.in (enable-check-abi): Remove.
31803 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31806 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31807 double functions to double *_finite functions.
31810 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31811 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31813 * stdio-common/Makefile (tests): Add tst-sprintf3.
31814 * stdio-common/tst-sprintf3.c: New file.
31816 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31817 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31819 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31821 * conform/conformtest.pl: Remove duplicate typed-constant
31824 2012-04-28 David S. Miller <davem@davemloft.net>
31826 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31827 (check-abi-%): Remove AWK script prerequisite and explicit
31829 (check-abi): Rewrite to just diff the symlist with the abilist.
31830 (config-tls, config-abi-config): Delete, no longer used.
31831 (update-abi-%): Remove AWK script and explicit abilist directory.
31832 (update-abi): Rewrite to simply compare and conditionally copy the
31833 symlist and the sysdep abilist file. Remove update-abi-config
31835 * abilist/ld.abilist: Remove.
31836 * abilist/libBrokenLocale.abilist: Remove.
31837 * abilist/libanl.abilist: Remove.
31838 * abilist/libcrypt.abilist: Remove.
31839 * abilist/libdl.abilist: Remove.
31840 * abilist/librt.abilist: Remove.
31841 * abilist/libthread_db.abilist: Remove.
31842 * abilist/libutil.abilist: Remove.
31843 * scripts/extract-abilist.awk: Remove.
31844 * scripts/merge-abilist.awk: Remove.
31845 * sysdeps/generic/libcidn.abilist: New file.
31846 * sysdeps/generic/libnss_compat.abilist: New file.
31847 * sysdeps/generic/libnss_db.abilist: New file.
31848 * sysdeps/generic/libnss_dns.abilist: New file.
31849 * sysdeps/generic/libnss_files.abilist: New file.
31850 * sysdeps/generic/libnss_hesiod.abilist: New file.
31851 * sysdeps/generic/libnss_nis.abilist: New file.
31852 * sysdeps/generic/libnss_nisplus.abilist: New file.
31853 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31854 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31855 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31857 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31858 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31859 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31860 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31861 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31862 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31863 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31864 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31865 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31867 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31868 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31869 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31870 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31872 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31873 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31874 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31875 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31876 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31877 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31879 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31880 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31881 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31883 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31884 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31886 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31888 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31890 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31892 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31894 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31896 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31898 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31900 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31902 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31904 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31906 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31908 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31974 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31986 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31987 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31988 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31990 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31991 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31992 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31993 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31994 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31995 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31996 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31997 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31998 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31999 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
32000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
32001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
32003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
32007 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
32009 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
32011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
32013 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
32015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32036 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32051 2012-04-28 Joseph Myers <joseph@codesourcery.com>
32053 * conform/conformtest.pl: Fix typo in handling typed-constant from
32056 2012-04-27 Joseph Myers <joseph@codesourcery.com>
32058 * README: Cut down references to pre-2.6 Linux kernels and
32059 Linuxthreads. Update lists of configurations in libc and ports
32060 and sort alphabetically. Say "or newer" with Linux kernel version
32063 * config.h.in [IS_IN_build]: Allow compiling without optimization.
32065 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32068 * math/libm-test.inc (logb_test_downward): New test to expose
32069 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32072 2012-04-27 Joseph Myers <joseph@codesourcery.com>
32075 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32077 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32078 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32080 2012-04-26 Joseph Myers <joseph@codesourcery.com>
32082 * sysdeps/unix/i386/brk.S: Remove file.
32083 * sysdeps/unix/i386/dl-brk.S: Likewise.
32084 * sysdeps/unix/i386/pipe.S: Likewise.
32085 * sysdeps/unix/i386/sigreturn.S: Likewise.
32086 * sysdeps/unix/i386/syscall.S: Likewise.
32087 * sysdeps/unix/i386/vfork.S: Likewise.
32088 * sysdeps/unix/i386/wait.S: Likewise.
32090 * sysdeps/unix/common/tcsendbrk.c: Move to ...
32091 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32093 * configure.in (arm*-none*): Do not allow without
32094 --enable-hacker-mode.
32095 (netbsd*): Remove case setting base_os.
32096 (386bsd*): Likewise.
32097 (freebsd*): Likewise.
32100 (sunos*): Likewise.
32101 (ultrix*): Likewise.
32102 (newsos*): Likewise.
32103 (dynix*): Likewise.
32109 (minix*): Likewise.
32110 (irix4*): Likewise.
32111 (irix6*): Likewise.
32112 (solaris[2-9]*): Likewise.
32114 * configure: Regenerated.
32116 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32119 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32120 overflow or cancellation in calculating denominator.
32121 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32122 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32123 down expression to avoid unexpected rounding in newer GCCs.
32124 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32126 2012-04-26 David S. Miller <davem@davemloft.net>
32128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32129 long-double compat symbols.
32130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32144 2012-04-25 David S. Miller <davem@davemloft.net>
32146 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32147 HWCAP_* values only after the memory barriers have been defined.
32148 (atomic_full_barrier): Define.
32149 (atomic_read_barrier): Define.
32150 (atomic_write_barrier): Define.
32152 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32154 * shlib-versions: Add libgcc_s version information.
32155 * sysdeps/generic/libgcc_s.h: Remove.
32156 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32158 * sysdeps/gnu/unwind-resume.c: Likewise.
32159 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32161 2012-04-25 David S. Miller <davem@davemloft.net>
32163 * sysdeps/unix/sparc/brk.S: Delete.
32164 * sysdeps/unix/sparc/dl-brk.S: Delete.
32165 * sysdeps/unix/sparc/pipe.S: Delete.
32166 * sysdeps/unix/sparc/sysdep.S: Delete.
32167 * sysdeps/unix/sparc/sysdep.h: Delete.
32168 * sysdeps/unix/sparc/vfork.S: Delete.
32169 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32170 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32171 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32172 (ret_ERRVAL, r0, r1, MOVE): Define.
32173 (JUMPTARGET): Remove.
32174 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32175 sysdeps/unix/sparc/sysdep.h
32176 (ENTRY, END): Remove.
32177 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32179 2012-04-25 Joseph Myers <joseph@codesourcery.com>
32181 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32182 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32185 * timezone/README: Update upstream location and email address for
32187 * timezone/zdump.c: Update from tzcode 2012b.
32188 * timezone/zic.c: Likewise.
32190 * configure.in (libc_cv_as_needed): Remove test.
32191 * configure: Regenerated.
32192 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32193 conditional definition.
32194 [$(have-as-needed) != yes] (no-as-needed): Likewise.
32195 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32196 * config.make.in (have-as-needed): Remove variable.
32198 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32199 Paul Pluzhnikov <ppluzhnikov@google.com>
32201 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32204 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
32206 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32207 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32208 * sysdeps/sh/strlen.S: Likewise.
32210 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32212 * sysdeps/unix/fork.S: Remove file.
32213 * sysdeps/unix/i386/fork.S: Likewise.
32214 * sysdeps/unix/sparc/fork.S: Likewise.
32216 * sysdeps/unix/system.c: Remove file.
32217 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32219 * sysdeps/unix/getegid.S: Remove file.
32220 * sysdeps/unix/geteuid.S: Likewise.
32222 2012-04-24 Roland McGrath <roland@hack.frob.com>
32224 * scripts/check-localplt.awk: New file.
32225 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32227 * scripts/data/localplt-generic.data: Add a comment.
32229 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32230 NODE when __dir_mkfile failed.
32231 * sysdeps/mach/hurd/symlinkat.c: Likewise.
32232 Reported by Ludovic Courtès <ludo@gnu.org>.
32234 2012-04-24 Andreas Jaeger <aj@suse.de>
32236 * Makerules (common-clean): Also remove gen-as-const-headers
32239 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32241 * Makerules (native-compile): Do not change working directory for
32242 build. Use $(OUTPUT_OPTION) in command.
32243 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32245 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32248 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
32249 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
32250 * math/libm-test.inc (floor_test): Add more tests.
32251 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
32253 2012-04-24 Joseph Myers <joseph@codesourcery.com>
32255 * sysdeps/unix/getdents.c: Remove file.
32256 * sysdeps/unix/sysv/getdents.c: Likewise.
32257 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
32259 * sysdeps/unix/syscalls.list (madvise): Add syscall from
32260 sysdeps/unix/mman/syscalls.list.
32262 (mprotect): Likewise.
32264 (munmap): Likewise.
32265 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
32266 * sysdeps/unix/mman/syscalls.list: Remove.
32267 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
32269 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
32270 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
32271 * configure: Regenerated.
32272 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
32273 $(libgcc_s_suffix).
32274 * config.make.in (libgcc_s_suffix): Remove variable.
32276 2012-04-23 Joseph Myers <joseph@codesourcery.com>
32278 * sysdeps/unix/sysv/gethostname.c: Move to ...
32279 * sysdeps/posix/gethostname.c: ... here.
32281 * sysdeps/unix/execve.S: Remove file.
32283 * sysdeps/unix/_exit.S: Remove file.
32285 2012-04-23 Andreas Jaeger <aj@suse.de>
32288 * manual/Makefile: Remove make dist support, there's no
32289 need for a stand-alone documentation tar ball.
32290 (TEXI2DVI): Define always, it's not in Makeconfig.
32293 (edition): Removed.
32294 (glibc-doc-$(edition).tar): Removed
32298 (ETAGS): Remove, it's in Makeconfig.
32299 (move-if-change): Remove, it's in Makeconfig.
32301 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
32304 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
32305 (strtod, strtof, strtold, strtol, strtoul, strtoq)
32306 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
32307 (strtod_l, strtof_l, strtold_l): Remove __wur.
32308 It is not necessarily an error to ignore strtol's return value.
32309 One can reliably look at the stored endptr to decide whether
32310 the number had valid syntax.
32312 2012-04-21 Andreas Jaeger <aj@suse.de>
32315 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
32317 2012-04-21 Joseph Myers <joseph@codesourcery.com>
32319 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
32320 * sysdeps/unix/sysv/Versions: Remove file.
32322 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
32325 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32327 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
32330 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
32331 version from __vm86.
32333 2012-04-20 Joseph Myers <joseph@codesourcery.com>
32335 * sysdeps/unix/common/lxstat.c: Remove file.
32336 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
32338 * sysdeps/unix/sysv/Makefile: Remove file.
32340 * sysdeps/unix/sysv/direct.h: Remove file.
32342 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
32343 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
32344 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
32345 * sysdeps/unix/sysv/bits/signum.h: Likewise.
32346 * sysdeps/unix/sysv/bits/stat.h: Likewise.
32347 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
32348 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
32350 * sysdeps/unix/sysv/setrlimit.c: Remove file.
32352 * sysdeps/unix/xmknod.c: Remove file.
32353 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
32355 * sysdeps/unix/sysv/settimeofday.c: Remove file.
32357 * sysdeps/unix/sysv/i386/time.S: Remove file.
32359 * sysdeps/unix/fxstat.c: Remove file.
32360 * sysdeps/unix/xstat.c: Likewise.
32361 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
32363 * sysdeps/unix/sysv/sigaction.c: Remove file.
32365 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
32366 (sysdep_headers): Remove variable.
32367 [termio.h not in sysdep_headers] (generated): Likewise.
32368 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
32369 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
32370 * sysdeps/unix/sysv/tcdrain.c: Likewise.
32371 * sysdeps/unix/sysv/tcflow.c: Likewise.
32372 * sysdeps/unix/sysv/tcflush.c: Likewise.
32373 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32374 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32375 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32376 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32377 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32379 * sysdeps/unix/siglist.c: Remove file.
32381 * sysdeps/unix/getppid.S: Remove file.
32383 * sysdeps/unix/mkdir.c: Remove file.
32384 * sysdeps/unix/rmdir.c: Likewise.
32386 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
32388 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32390 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
32391 errlist-compat value.
32393 2012-04-18 David S. Miller <davem@davemloft.net>
32395 * sysdeps/generic/memcopy.h (reg_char): Delete.
32396 * debug/strcat_chk.c: Use char, not reg_char.
32397 * debug/strcpy_chk.c: Likewise.
32398 * debug/strncat_chk.c: Likewise.
32399 * debug/strncpy_chk.c: Likewise.
32400 * string/memchr.c: Likewise.
32401 * string/memrchr.c: Likewise.
32402 * string/rawmemchr.c: Likewise.
32403 * string/strcat.c: Likewise.
32404 * string/strchr.c: Likewise.
32405 * string/strchrnul.c: Likewise.
32406 * string/strcmp.c: Likewise.
32407 * string/strcpy.c: Likewise.
32408 * string/strncat.c: Likewise.
32409 * string/strncmp.c: Likewise.
32410 * string/strncpy.c: Likewise.
32412 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32414 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
32415 __builtin_memcopy is called when src and dest ranges are known to not
32418 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32420 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
32421 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
32422 fwd_align_merge macro call.
32423 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32424 bwd_align_merge macro call.
32425 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32427 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32429 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
32430 bwd_align_merge macros.
32431 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
32432 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
32433 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32435 2012-04-18 David S. Miller <davem@davemloft.net>
32437 * sysdeps/sparc/sparc64/memcopy.h: Delete.
32439 2012-04-18 Andreas Jaeger <aj@suse.de>
32442 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
32443 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
32444 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32446 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
32447 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
32448 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32450 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
32451 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
32452 Adjust for changed ldbl-128 files.
32454 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
32455 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
32456 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32458 2012-04-17 David S. Miller <davem@davemloft.net>
32460 * sysdeps/sparc/sparc32/memcopy.h: Delete.
32462 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
32464 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32465 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32466 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32467 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32468 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32469 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32471 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32474 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32475 * math/libm-test.inc: Add ilogb errno and exception tests.
32476 * math/w_ilogb.c: New file: ilogb wrapper.
32477 * math/w_ilogbf.c: New file: ilogbf wrapper.
32478 * math/w_ilogbl.c: New file: ilogbl wrapper.
32479 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32480 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32481 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32482 exception being thrown with 0.0 as argument.
32483 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32484 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32485 exception being thrown with 0.0 as argument.
32486 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32487 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32488 exception being thrown with 0.0 as argument.
32489 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32490 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32491 exception being thrown with 0.0 as argument.
32492 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32493 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
32494 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
32495 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32496 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32497 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32498 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32499 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
32500 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
32502 2012-04-17 Petr Baudis <pasky@ucw.cz>
32504 * include/sys/uio.h: Change __vector to __iovec to avoid clash
32507 2012-04-16 Marek Polacek <polacek@redhat.com>
32509 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
32511 2012-04-16 Marek Polacek <polacek@redhat.com>
32513 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
32514 operands of fdivp instruction.
32516 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32518 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
32519 * elf/tst-auditmod3b.c: Likewise.
32520 * elf/tst-auditmod4b.c: Likewise.
32521 * elf/tst-auditmod5b.c: Likewise.
32522 * elf/tst-auditmod6b.c: Likewise.
32523 * elf/tst-auditmod6c.c: Likewise.
32524 * elf/tst-auditmod7b.c: Likewise.
32525 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
32526 * sysdeps/x86_64/preconfigure.in: Likewise.
32527 * sysdeps/x86_64/preconfigure: Regenerated.
32529 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32531 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
32534 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
32536 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32537 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
32539 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
32542 * locale/iso-639.def: Fix gl language name. Spotted by
32545 2012-04-12 Roland McGrath <roland@hack.frob.com>
32548 * libio/libio.h (__io_write_fn): Update comment.
32550 2012-04-12 Petr Baudis <pasky@ucw.cz>
32553 * stdio.texi (Hook Functions): The user provided writer function
32554 is not allowed to return -1.
32556 2012-04-11 David S. Miller <davem@davemloft.net>
32558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32560 2012-04-11 Mike Frysinger <vapier@gentoo.org>
32562 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32563 Add a leading slash to rtkaio.
32565 2012-04-11 Jim Meyering <meyering@redhat.com>
32568 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
32569 It is not necessarily an error to ignore fwrite's return
32570 value. One can reliably use ferror to test for errors after
32573 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32575 * bits/types.h (__snseconds_t): New type.
32576 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
32578 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
32579 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32580 (__SNSECONDS_T_TYPE): Likewise.
32581 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32582 (__SNSECONDS_T_TYPE): Likewise.
32583 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32584 (__SNSECONDS_T_TYPE): Likewise.
32586 2012-04-10 Andreas Jaeger <aj@suse.de>
32589 * manual/time.texi (Processor Time): Return type of times is
32590 elapsed real time since an arbitrary point in the past.
32591 (CPU Time): Move CLK_TCK from here...
32592 (Processor Time): ...to here. Correct description.
32593 * manual/conf.texi (Constants for Sysconf): Correct description of
32596 2012-04-10 David S. Miller <davem@davemloft.net>
32599 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
32600 where the is a gap between DT_REL(A) and DT_JMPREL.
32602 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32604 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
32605 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32606 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32608 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32610 * elf/dl-support.c (_dl_inhibit_cache): New variable.
32611 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32612 (dl_main): Handle --inhibit-cache.
32613 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32615 * elf/dl-load.c (_dl_map_object): Use it.
32616 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32618 2012-04-09 Joseph Myers <joseph@codesourcery.com>
32621 * sysdeps/i386/fpu/e_powl.S (p78): New object.
32622 (__ieee754_powl): Saturate large exponents rather than testing for
32623 overflow of y*log2(x).
32624 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32625 * math/libm-test.inc (pow_test): Do not permit spurious overflow
32629 * math/s_ctan.c: Include <float.h>.
32630 (__ctan): Avoid internal overflow or cancellation in calculating
32632 * math/s_ctanf.c: Likewise.
32633 * math/s_ctanl.c: Likewise.
32634 * math/s_ctanh.c: Likewise.
32635 * math/s_ctanhf.c: Likewise.
32636 * math/s_ctanhl.c: Likewise.
32637 * math/libm-test.inc (ctan_test): Add more tests.
32638 (ctanh_test): Likewise.
32639 * sysdeps/i386/fpu/libm-test-ulps: Update.
32640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32642 2012-04-09 Andreas Jaeger <aj@suse.de>
32645 * manual/filesys.texi (Directory Entries): Mention that d_namlen
32646 is an optional BSD extension.
32649 * manual/stdio.texi (Opening Streams): Document additional fopen
32652 2012-04-09 Roland McGrath <roland@hack.frob.com>
32654 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32655 %eax without telling the compiler.
32657 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
32660 * manual/install.texi: Use sourceware.org.
32662 2012-04-09 Joseph Myers <joseph@codesourcery.com>
32665 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32666 (__ieee754_pow): Generate overflow and underflow using huge*huge
32667 and tiny*tiny rather than just returning constant infinity or zero
32668 for large exponents.
32669 * math/libm-test.inc (pow_test): Require overflow exceptions for
32670 applicable cases of large exponents.
32673 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32674 (__ieee754_pow): Use iterative multiplication algorithm only for
32675 integer exponents with absolute value below 1024. Check for odd
32676 integer exponents when using algorithm for real exponents.
32677 * math/libm-test.inc (pow_test): Add more tests.
32678 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32680 2012-04-08 Joseph Myers <joseph@codesourcery.com>
32683 * math/libm-test.inc (exp_test): Do not allow overflow exception
32686 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32689 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32690 instead of __kernel_standard_f.
32692 2012-04-08 Mike Frysinger <vapier@gentoo.org>
32694 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32695 * sysdeps/x86_64/memset_chk.S: Likewise.
32697 2012-04-08 Andreas Jaeger <aj@suse.de>
32700 * manual/startup.texi (Environment Access): Describe return value
32701 for putenv and setenv.
32704 * manual/filesys.texi (Directory Entries): Add description for
32708 * manual/filesys.texi (Directory Entries): Clarify that it's file
32709 system not operating system in the description of DT_UNKNOWN.
32712 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32714 2012-04-08 Stephen Compall <s11@member.fsf.org>
32717 * manual/llio.texi (Opening and Closing Files): Add cross
32718 reference to explain mode argument.
32720 2012-04-07 Mike Frysinger <vapier@gentoo.org>
32722 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32723 * sysdeps/x86_64/memset_chk.S: Likewise.
32725 2012-04-07 David S. Miller <davem@davemloft.net>
32727 * elf/elf.h (R_SPARC_WDISP10): Define.
32728 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32730 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32731 R_SPARC_SIZE64 and R_SPARC_H34.
32733 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32735 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32736 conditions and remove no longer applicable assertion.
32738 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32740 * bits/byteswap.h: Include <features.h>.
32741 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32742 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32744 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32746 * bits/byteswap.h (__bswap_16): Removed.
32747 Include <bits/byteswap-16.h> to get __bswap_16.
32748 * sysdeps/i386/bits/byteswap.h: Likewise.
32749 * sysdeps/s390/bits/byteswap.h: Likewise.
32750 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32751 * bits/byteswap-16.h: New file.
32752 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32753 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32754 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32755 * string/Makefile (headers): Add bits/byteswap-16.h.
32757 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32760 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32762 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32763 * nss/tst-nss-static.c: New.
32765 2012-04-06 Robert Millan <rmh@gnu.org>
32768 * manual/llio.texi (File Position Primitive): lseek
32769 refers to WHENCE when it really means OFFSET.
32771 2012-04-06 Andreas Jaeger <aj@suse.de>
32773 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32774 strncmp declarations.
32776 * abilist/libc.abilist: Add __poll and __ppoll.
32778 2012-04-05 David S. Miller <davem@davemloft.net>
32780 * scripts/check-local-headers.sh: Accept a host triplet in the
32781 path matched by the exclude regexp.
32783 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32785 * sysdeps/powerpc/powerpc32/dl-machine.h
32786 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32787 * sysdeps/s390/s390-32/dl-machine.h
32788 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32789 * sysdeps/sparc/sparc32/dl-machine.h
32790 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32791 * sysdeps/sparc/sparc64/dl-machine.h
32792 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32794 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32796 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32797 undefined symbol errors.
32799 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32802 2012-04-05 Michael Matz <matz@suse.de>
32805 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32807 2012-04-05 Andreas Jaeger <aj@suse.de>
32810 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32813 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32815 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32816 which ROUND is no valid rounding mode.
32818 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32820 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32822 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32824 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32826 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32827 an exception using FPU order intentionally.
32829 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32831 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32832 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32833 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32834 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32836 2012-04-05 Simon Josefsson <simon@josefsson.org>
32839 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32840 EINVAL when BUFLEN is too smal.
32842 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32845 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32846 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32848 2012-04-03 Andreas Jaeger <aj@suse.de>
32851 * manual/setjmp.texi (System V contexts): Fix sentence.
32854 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32855 New macro for this case.
32856 [!__GNUC__] (__bswap_64): New inline function for this case.
32857 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32858 * bits/byteswap.h: Likewise.
32859 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32860 ull, guard with __GLIBC_HAVE_LONG_LONG.
32862 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32863 __GLIBC_HAVE_LONG_LONG.
32865 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32866 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32868 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32871 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32872 inptr and inend, rather than using last_ch.
32874 2012-04-02 David S. Miller <davem@davemloft.net>
32876 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32877 * stdio-common/printf-parse.h (read_int): Change return type to
32878 'int', return -1 on INT_MAX overflow.
32879 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32880 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32881 overflows INT_MAX. Check for overflow of in-format-string precision
32882 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32883 SIZE_MAX not INT_MAX for integer overflow test.
32884 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32885 skip the construct in the format string but do not record anything.
32886 * stdio-common/bug22.c: Adjust to test both width/prevision
32887 INT_MAX overflow as well as total length INT_MAX overflow. Check
32888 explicitly for proper errno values.
32890 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32892 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32894 * string/test-strcmp.c [! WIDE]: Likewise.
32895 * time/tst-mktime2.c: Likewise for INT_MAX.
32896 * string/test-string.h: #include <sys/param.h> for MIN.
32898 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32899 * sysdeps/i386/init-first.c (init): Likewise.
32900 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32901 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32902 * sysdeps/sh/init-first.c (init): Likewise.
32904 2012-04-01 Ulrich Drepper <drepper@gmail.com>
32906 * po/ru.po: Update from translation team.
32907 * po/vi.po: Likewise.
32909 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32911 * resolv/nss_dns/dns-host.c: Merge copyright years.
32913 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32915 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32916 Optimize memcpy with prefetch if
32917 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32918 src, dst pointers have unequal 16 byte alignments.
32920 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32923 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32924 from a CNAME entry and return the minimum ttl for the query.
32925 (gaih_getanswer_slice): Likewise.
32927 2012-03-30 Jeff Law <law@redhat.com>
32929 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32931 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32932 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32934 * resolv/nss_dns/dns-host.c: Update copyright year.
32936 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32938 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32939 requests to save a system call. Fix check that all bytes are sent.
32941 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32942 comments for sendmmsg.
32944 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32947 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32948 with only 1 character between 0x0041 and 0x01b0.
32949 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32950 * wcsmbs/tst-mbsnrtowcs.c: New file.
32952 2012-03-29 David S. Miller <davem@davemloft.net>
32954 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32955 small copies by hand.
32957 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32960 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32961 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32964 2012-03-28 David S. Miller <davem@davemloft.net>
32966 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32967 that branches into memcpy.
32968 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32969 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32970 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32971 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32972 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32974 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32975 implementation too.
32976 * sysdeps/sparc/mempcpy.S: New file.
32978 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32979 the IFUNC routine in the libc case.
32980 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32982 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32983 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32984 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32985 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32986 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32987 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32988 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32989 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32991 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32992 loop to 256 bytes instead of 64 bytes and fix test signedness.
32994 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32995 * sysdeps/sparc/sparc32/Makefile: rather than here...
32996 * sysdeps/sparc/sparc64/Makefile: and here.
32998 2012-03-28 Ulrich Drepper <drepper@gmail.com>
33000 * malloc/mallocbug.c: Avoid warnings about unused variables.
33002 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33005 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
33006 in the right place. Discard and retry query if response is
33007 larger than input buffer size.
33009 2012-03-28 Joseph Myers <joseph@codesourcery.com>
33014 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
33015 x for large integer exponent.
33016 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33017 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
33018 sign of result as needed afterwards.
33019 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33020 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33021 result for underflowing pow the same as for overflow.
33022 (__kernel_standard_l): Handle powl overflow and underflow here
33023 rather than calling __kernel_standard.
33024 * math/libm-test.inc (pow_test): Add more tests.
33039 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33040 * sysdeps/ieee754/k_standard.c: Include <float.h>.
33041 (__kernel_standard_l): New function.
33042 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33044 * math/w_acosl.c (__acosl): Likewise.
33045 * math/w_asinl.c (__asinl): Likewise.
33046 * math/w_atan2l.c (__atan2l): Likewise.
33047 * math/w_atanhl.c (__atanhl): Likewise.
33048 * math/w_coshl.c (__coshl): Likewise.
33049 * math/w_exp10l.c (__exp10l): Likewise.
33050 * math/w_exp2l.c (__exp2l): Likewise.
33051 * math/w_fmodl.c (__fmodl): Likewise.
33052 * math/w_hypotl.c (__hypotl): Likewise.
33053 * math/w_j0l.c (__j0l, __y0l): Likewise.
33054 * math/w_j1l.c (__j1l, __y1l): Likewise.
33055 * math/w_jnl.c (__jnl, __ynl): Likewise.
33056 * math/w_lgammal.c (__lgammal): Likewise.
33057 * math/w_log10l.c (__log10l): Likewise.
33058 * math/w_log2l.c (__log2l): Likewise.
33059 * math/w_logl.c (__logl): Likewise.
33060 * math/w_powl.c (__powl): Likewise.
33061 * math/w_remainderl.c (__remainderl): Likewise.
33062 * math/w_scalbl.c (sysv_scalbl): Likewise.
33063 * math/w_sinhl.c (__sinhl): Likewise.
33064 * math/w_sqrtl.c (__sqrtl): Likewise.
33065 * math/w_tgammal.c (__tgammal): Likewise.
33066 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33067 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33068 * math/libm-test.inc (acos_test): Add more tests.
33069 (acosh_test): Likewise.
33070 (asin_test): Likewise.
33071 (atanh_test): Likewise.
33072 (exp_test): Likewise.
33073 (exp10_test): Likewise.
33074 (exp2_test): Likewise.
33075 (expm1_test): Likewise.
33076 (lgamma_test): Likewise.
33077 (log_test): Likewise.
33078 (log10_test): Likewise.
33079 (log1p_test): Likewise.
33080 (log2_test): Likewise.
33081 (pow_test): Do not allow some spurious overflow exceptions.
33082 (sqrt_test): Add more tests.
33083 (tgamma_test): Likewise.
33084 (y0_test): Likewise.
33085 (y1_test): Likewise.
33086 (yn_test): Likewise.
33088 2012-03-27 Anton Blanchard <anton@samba.org>
33090 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33092 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33093 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33094 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33096 2012-03-27 David S. Miller <davem@davemloft.net>
33098 * conform/Makefile: Run run-conformtest.sh using $(BASH).
33100 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33101 have-as-vis3 check.
33103 2012-03-27 Andreas Jaeger <aj@suse.de>
33105 * sysdeps/x86_64/elf/configure.in: Moved to ...
33106 * sysdeps/x86_64/configure.in: ... here.
33107 * sysdeps/x86_64/elf/start.S: Moved to ...
33108 * sysdeps/x86_64/start.S: ... here.
33109 * sysdeps/x86_64/elf/configure: Delete.
33111 * sysdeps/x86_64/configure.in: Merge contents from
33112 sysdeps/i386/configure.in (without i686 check).
33114 * sysdeps/i386/elf/Versions: Merge into ...
33115 * sysdeps/i386/Versions: ... this.
33116 * sysdeps/i386/elf/Versions: Delete file.
33117 * sysdeps/i386/elf/start.S: Moved to ...
33118 * sysdeps/i386/start.S: ...here.
33119 * sysdeps/i386/elf/configure.in: Merge into...
33120 * sysdeps/i386/configure.in: ...here.
33121 * sysdeps/i386/elf/configure.in: Delete file.
33122 * sysdeps/i386/elf/configure: Delete file.
33124 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33125 * debug/backtracesyms.c: ... here.
33126 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33127 * debug/backtracesymsfd.c: ... here.
33128 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33129 * sysdeps/generic/ifunc-sel.h: ... here.
33131 * sysdeps/unix/i386/start.c: Delete file.
33132 * sysdeps/unix/sparc/start.c: Delete file.
33133 * sysdeps/unix/start.c: Delete file.
33135 * sysdeps/sh/elf/configure.in: Moved to ...
33136 * sysdeps/sh/configure.in: ... here.
33137 * sysdeps/sh/elf/start.S: Moved to ...
33138 * sysdeps/sh/start.S: ... here.
33139 * sysdeps/sh/elf/configure: Delete file.
33141 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33142 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33143 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33144 * sysdeps/powerpc/powerpc64/entry.h: ... here.
33145 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33146 * sysdeps/powerpc/powerpc64/start.S: here.
33147 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33148 * sysdeps/powerpc/powerpc64/Makefile: ... this.
33149 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33150 * sysdeps/powerpc/powerpc64/configure.in: ... this.
33151 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33153 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33154 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33155 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33156 * sysdeps/powerpc/powerpc32/start.S: ... here.
33157 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33158 * sysdeps/powerpc/powerpc32/configure.in: ... this.
33159 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33161 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33162 * sysdeps/powerpc/ifunc-sel.h: ... here.
33163 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33164 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33166 * sysdeps/sparc/elf/configure.in: Moved to ...
33167 * sysdeps/sparc/configure.in: ... here.
33168 * sysdeps/sparc/elf/configure: Delete file.
33169 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33170 * sysdeps/sparc/sparc32/start.S: ... here.
33171 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33172 * sysdeps/sparc/sparc64/start.S: ... here.
33173 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33174 * sysdeps/sparc/sparc32/Makefile: ... this.
33175 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33176 * sysdeps/sparc/sparc64/Makefile: ... this.
33178 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33179 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33180 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33181 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33182 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33183 * sysdeps/s390/s390-32/setjmp.S: ... here.
33184 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33185 * sysdeps/s390/s390-32/configure.in: ... here.
33186 * sysdeps/s390/s390-32/elf/configure: Delete file.
33187 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33188 * sysdeps/s390/s390-32/start.S: ... here.
33190 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33191 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33192 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33193 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33194 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33195 * sysdeps/s390/s390-64/setjmp.S: ... here.
33196 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33197 * sysdeps/s390/s390-64/configure.in: ... here
33198 * sysdeps/s390/s390-64/elf/configure: Delete file.
33199 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33200 * sysdeps/s390/s390-64/start.S: ... here.
33201 * sysdeps/s390/s390-64/elf/configure: Delete.
33203 * configure.in: Remove support for elf directories in sysdeps.
33205 * configure: Regenerated.
33206 * sysdeps/i386/configure: Regenerated.
33207 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33208 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33209 * sysdeps/s390/s390-32/configure: Regenerated.
33210 * sysdeps/s390/s390-64/configure: Regenerated.
33211 * sysdeps/sh/configure: Regenerated.
33212 * sysdeps/sparc/configure: Regenerated.
33213 * sysdeps/x86_64/configure: Regenerated.
33215 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
33217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33219 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33220 denormal result into account.
33222 2012-03-25 Roland McGrath <roland@hack.frob.com>
33224 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33225 Reported by Allan McRae <allan@archlinux.org>.
33227 2012-03-23 Jeff Law <law@redhat.com>
33229 * nss/getnssent.c (__nss_getent): Fix typo.
33231 2012-03-23 David S. Miller <davem@davemloft.net>
33233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33235 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
33237 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33238 to pad to uint64_t for each field.
33239 (dl_tls_index): Replace unsigned long with uint64_t.
33241 2012-03-23 Daniel Jacobowitz <dmj@google.com>
33242 Paul Pluzhnikov <ppluzhnikov@google.com>
33245 * grp/Makefile (otherlibs): Don't set it.
33246 * inet/Makefile (otherlibs): Likewise.
33247 * login/Makefile (otherlibs): Likewise.
33248 * nscd/Makefile (otherlibs): Likewise.
33249 * posix/Makefile (otherlibs): Likewise.
33250 * pwd/Makefile (otherlibs): Likewise.
33251 * rt/Makefile (otherlibs): Likewise.
33252 * sunrpc/Makefile (otherlibs): Likewise.
33253 * nss/Makefile (otherlibs): Likewise.
33254 Add libnss_files to routines and static-only-routines.
33255 ($(objpfx)getent): Remove rule.
33256 * resolv/Makefile: Add libnss_dns and libresolv to routines and
33257 static-only-routines.
33259 2012-03-22 Joseph Myers <joseph@codesourcery.com>
33262 * math/s_cexp.c: Include <float.h>.
33263 (__cexp): Handle exp result overflowing not necessarily
33264 overflowing both real and imaginary parts of result.
33265 * math/s_cexpf.c: Likewise.
33266 * math/s_cexpl.c: Likewise.
33267 * math/libm-test.inc (cexp_test): Add more tests.
33268 * sysdeps/i386/fpu/libm-test-ulps: Update.
33269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33271 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33273 * include/link.h (ELFW): New macro.
33274 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
33275 Replace ELF64_R_TYPE with ELFW(R_TYPE).
33277 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33279 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
33282 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33284 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
33286 (struct La_x32_retval): Likewise.
33288 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33290 * sysdeps/x86_64/preconfigure.in: New file.
33291 * sysdeps/x86_64/preconfigure: New generated file.
33293 2012-03-22 Joseph Myers <joseph@codesourcery.com>
33296 * math/e_exp2l.c: Include <float.h>.
33297 (__ieee754_exp2l): Handle overflow and underflow cases
33298 separately. Only pass fractional part of argument to
33300 * math/libm-test.inc (exp2_test): Add more tests.
33302 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
33303 negating x to take absolute value.
33304 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33306 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33307 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
33309 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
33310 computing low part if x was negated.
33311 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33313 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33315 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
33316 la_x32_gnu_pltexit.
33317 (pltexit): Cast int_retval to ptrdiff_t.
33318 * elf/tst-auditmod3b.c: Likewise.
33319 * elf/tst-auditmod4b.c: Likewise.
33320 * elf/tst-auditmod5b.c: Likewise.
33321 * elf/tst-auditmod6b.c: Likewise.
33322 * elf/tst-auditmod6c.c: Likewise.
33323 * elf/tst-auditmod7b.c: Likewise.
33325 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
33326 and x32_gnu_pltexit.
33328 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
33329 __ELF_NATIVE_CLASS.
33330 (La_x32_regs): New macro.
33331 (La_x32_retval): Likewise.
33332 (la_x32_gnu_pltenter): New function prototype.
33333 (la_x32_gnu_pltexit): Likewise.
33335 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
33337 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
33340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33342 * configure.in (libc_cv_cc_nofma): Check for option to disable
33343 generation of FMA instructions.
33344 * configure: Regenerate.
33345 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
33346 * sysdeps/ieee754/dbl-64/Makefile: New file.
33347 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33348 Remove brandred-fma4.
33349 (CFLAGS-brandred-fma4.c): Remove.
33350 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
33351 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
33353 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
33356 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33358 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33359 LLONG_MAX != LONG_MAX.
33360 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33361 (_fitoa_word): Likewise.
33362 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
33363 LLONG_MAX != LONG_MAX.
33364 * stdio-common/_itowa.h: Include <_itoa.h>.
33365 (_itowa_word): Use _ITOA_WORD_TYPE on value.
33366 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
33367 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
33368 only if not defined.
33369 (_ITOA_WORD_TYPE): Likewise.
33370 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33371 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33373 2012-03-21 David S. Miller <davem@davemloft.net>
33375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33377 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33379 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33380 of x86_64 when setting libc_cv_slibdir, libdir and
33382 * sysdeps/unix/sysv/linux/configure: Regenerated.
33384 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33386 * manual/lang.texi (Old Varargs): Remove section.
33387 (How Variadic): Update menu.
33388 (va_start): Do not mention varargs.h.
33390 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33391 Joseph Myers <joseph@codesourcery.com>
33393 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
33395 * configure: Regenerated.
33397 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33399 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
33400 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
33403 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33406 * Makefile (files-for-dist): Remove NOTES.
33407 (NOTES): Remove rule.
33408 * README: Don't refer to NOTES.
33409 * manual/creature.texi: Don't include macros.texi.
33410 * manual/intro.texi (creature.texi): Remove comment referring to
33413 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
33414 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
33415 * configure: Regenerated.
33416 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
33417 LIBC_TRY_CC_OPTION.
33418 (libc_cv_as_i686): Likewise.
33419 (libc_cv_cc_avx): Likewise.
33420 (libc_cv_cc_sse2avx): Likewise.
33421 (libc_cv_cc_fma4): Likewise.
33422 (libc_cv_cc_novzeroupper): Likewise.
33423 * sysdeps/i386/configure: Regenerated.
33426 * sysdeps/i386/fpu/s_cexp.S: Remove.
33427 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33428 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33429 * math/libm-test.inc (cexp_test): Add more tests.
33430 * sysdeps/i386/fpu/libm-test-ulps: Update.
33431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33433 2012-03-21 Allan McRae <allan@archlinux.org>
33435 * timezone/Makefile: Do not install iso3166.tab and zone.tab
33437 2012-03-21 Joseph Myers <joseph@codesourcery.com>
33440 * math/w_exp2.c: Do not include <float.h>.
33441 (o_threshold, u_threshold): Remove.
33442 (__exp2): Calculate result before checking finiteness and calling
33444 * math/w_exp2f.c: Likewise.
33445 * math/w_exp2l.c: Likewise.
33446 * math/libm-test.inc (exp2_test): Require overflow exception for
33450 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
33451 range of signed 64-bit integers before using fistpll. Remove
33452 checks for whether integers fit in mantissa bits.
33453 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
33454 the range of signed 32-bit integers before using fistpl. Remove
33455 checks for whether integers fit in mantissa bits.
33456 * sysdeps/i386/fpu/e_powl.S (p64): New object.
33457 (__ieee754_powl): Test for y outside the range of signed 64-bit
33458 integers before using fistpll. Reduce 64-bit values to 63-bit
33460 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33461 divide-by-zero is raised for zero to large negative powers.
33462 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33463 (__ieee754_powl): Test for y outside the range of signed 64-bit
33464 integers before using fistpll. Reduce 64-bit values to 63-bit
33466 * math/libm-test.inc (pow_test): Add more tests.
33468 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33470 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33471 <stdio-common/_itoa.h>.
33472 * debug/segfault.c: Likewise.
33473 * elf/dl-cache.c: Likewise.
33474 * elf/dl-minimal.c: Likewise.
33475 * elf/dl-misc.c: Likewise.
33476 * elf/dl-sysdep.c: Likewise.
33477 * elf/dl-version.c: Likewise.
33478 * elf/rtld.c: Likewise.
33479 * hurd/hurdsock.c: Likewise.
33480 * hurd/lookup-retry.c: Likewise.
33481 * malloc/malloc.c: Likewise.
33482 * malloc/mtrace.c: Likewise.
33483 * nscd/nscd_getgr_r.c: Likewise.
33484 * nscd/nscd_getpw_r.c: Likewise.
33485 * nscd/nscd_getserv_r.c: Likewise.
33486 * posix/getopt_init.c: Likewise.
33487 * posix/wordexp.c: Likewise.
33488 * stdio-common/_itoa.c: Likewise.
33489 * stdio-common/printf_fphex.c: Likewise.
33490 * stdio-common/vfprintf.c: Likewise.
33491 * string/_strerror.c: Likewise.
33492 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33493 * sysdeps/i386/i686/hp-timing.h: Likewise.
33494 * sysdeps/mach/_strerror.c: Likewise.
33495 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33496 * sysdeps/mach/hurd/sethostid.c: Likewise.
33497 * sysdeps/mach/hurd/xmknodat.c: Likewise.
33498 * sysdeps/mach/xpg-strerror.c: Likewise.
33499 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33500 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33501 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
33502 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
33503 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33504 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
33505 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33506 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33507 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
33508 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
33509 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
33510 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33511 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
33512 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33513 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33514 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
33515 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
33516 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
33517 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33518 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33519 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
33521 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
33523 * stdio-common/_itoa.h: Moved to ...
33524 * sysdeps/generic/_itoa.h: Here.
33526 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
33528 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
33529 instead of "_itoa.h" and "_itowa.h".
33530 * stdio-common/vfprintf.: Likewise.
33532 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33534 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
33536 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
33537 (__signbit): Likwise.
33538 (llrintf): Likwise.
33541 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33543 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
33546 2012-03-20 Joseph Myers <joseph@codesourcery.com>
33548 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
33549 OVERFLOW_EXCEPTION_OK.
33550 * math/libm-test.inc ("Philosophy"): Update comment about
33552 (OVERFLOW_EXCEPTION): Define.
33553 (OVERFLOW_EXCEPTION_OK): Likewise.
33554 (INVALID_EXCEPTION_OK): Renumber.
33555 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33556 (IGNORE_ZERO_INF_SIGN): Likewise.
33557 (test_exceptions): Handle FE_OVERFLOW.
33558 (exp10_test): Expect overflow exceptions.
33559 (exp2_test): Likewise.
33560 (expm1_test): Likewise.
33561 (nextafter_test): Likewise.
33562 (pow_test): Likewise.
33563 (scalbn_test): Likewise.
33564 (scalbln_test): Likewise.
33566 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33568 * sysdeps/x86_64/bits/atomic.h
33569 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
33571 (atomic_exchange_acq): Likewise.
33572 (__arch_exchange_and_add_body): Likewise.
33573 (__arch_add_body): Likewise.
33574 (atomic_add_negative): Likewise.
33575 (atomic_add_zero): Likewise.
33577 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33579 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
33580 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
33582 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33584 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
33585 Check __x86_64__ instead of __WORDSIZE.
33587 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33589 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
33591 2012-03-19 David S. Miller <davem@davemloft.net>
33593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33595 * sysdeps/sparc/fpu/fenv_private.h: New file.
33596 * sysdeps/sparc/fpu/math_private.h: Use it.
33597 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
33599 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
33600 (libc_feholdexcept_setroundl): Remove.
33601 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
33603 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
33604 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
33606 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33608 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33609 int64_t instead of long int.
33610 (INSERT_WORDS64): Likwise.
33612 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33614 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33615 _Unwind_GetCFA return to _Unwind_Ptr first.
33617 2012-03-19 Joseph Myers <joseph@codesourcery.com>
33620 * math/s_clog.c: Include <float.h>.
33621 (__clog): Scale large or subnormal inputs.
33622 * math/s_clogf.c: Likewise.
33623 * math/s_clogl.c: Likewise.
33624 * math/s_clog10.c: Include <float.h>.
33625 (M_LOG10_2): Define.
33626 (__clog10): Scale large or subnormal inputs.
33627 * math/s_clog10f.c: Likewise.
33628 * math/s_clog10l.c: Likewise.
33629 * math/libm-test.inc (clog_test): Add more tests.
33630 (clog10_test): Likewise.
33631 * sysdeps/i386/fpu/libm-test-ulps: Update.
33632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33635 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33637 * math/libm-test.inc (atan2_test): Add another test.
33639 * Makerules (common-objdir-compile): Remove.
33640 * sysdeps/unix/Makefile (config-generated): Do not add
33641 $(unix-generated) to variable.
33642 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33643 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33645 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33647 [generic bits/local_lim.h] (before-compile): Do not append to
33649 [generic bits/local_lim.h] (common-generated): Likewise.
33650 [generic sys/param.h] (before-compile): Do not append to variable.
33651 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33652 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33653 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33654 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33656 [generic sys/param.h] (sys/param.h-includes): Remove variable.
33657 [generic sys/param.h] (sys/param.h-includes): Remove rule.
33658 [generic sys/param.h] ($(addprefix
33659 $(common-objpfx),$(sys/param.h-includes))): Likewise.
33660 [generic sys/param.h] (common-generated): Do not append to
33662 [generic sys/param.h] (sysdep_headers): Likewise.
33663 [generic bits/errno.h] (before-compile): Do not append to
33665 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33667 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33668 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33669 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33670 [generic bits/errno.h] (common-generated): Do not append to
33672 [generic bits/ioctls.h] (before-compile): Do not append to
33674 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33676 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33677 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33678 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33680 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33681 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33682 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33683 [generic bits/ioctls.h] (common-generated): Do not append to
33685 [generic sys/syscall.h] (syscall.h): Remove variable.
33686 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33688 [generic sys/syscall.h] (before-compile): Do not append to
33690 [generic sys/syscall.h] (common-generated): Likewise.
33691 * sysdeps/unix/errnos-tmpl.c: Remove file.
33692 * sysdeps/unix/errnos.awk: Likewise.
33693 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33694 * sysdeps/unix/ioctls.awk: Likewise.
33695 * sysdeps/unix/mk-local_lim.c: Likewise.
33696 * sysdeps/unix/snarf-ioctls: Likewise.
33698 2012-03-19 Richard Henderson <rth@twiddle.net>
33700 * sysdeps/i386/fpu/fenv_private.h: New file.
33701 * sysdeps/i386/fpu/math_private.h: Use it.
33702 (math_opt_barrier, math_force_eval): Remove.
33703 (libc_feholdexcept_setround_53bit): Remove.
33704 (libc_feupdateenv_53bit): Remove.
33705 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33706 (math_opt_barrier, math_force_eval): Remove.
33707 (libc_feholdexcept): Remove.
33708 (libc_feholdexcept_setround): Remove.
33709 (libc_fetestexcept, libc_fesetenv): Remove.
33710 (libc_feupdateenv_test): Remove.
33711 (libc_feupdateenv, libc_feholdsetround): Remove.
33712 (libc_feresetround): Remove.
33714 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33715 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33717 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33718 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33719 (libc_feupdateenv_testl): New.
33720 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33721 (libc_feupdateenv_testf): New.
33722 (libc_feupdateenv): Use libc_feupdateenv_test.
33723 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33724 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33726 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33727 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33728 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33729 (libc_feresetround_noex): New.
33730 (libc_feresetround_noexf): New.
33731 (libc_feresetround_noexl): New.
33732 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33733 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33734 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33735 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33737 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33738 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33740 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33741 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33742 SET_RESTORE_ROUND_NOEX.
33743 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33744 SET_RESTORE_ROUND_NOEXF.
33745 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33746 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33747 (libc_feholdsetroundf): New.
33748 (libc_feresetround, libc_feresetroundf): New.
33750 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33751 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33752 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33754 * sysdeps/generic/math_private.h: Include <fenv.h>.
33755 (default_libc_feholdexcept): New.
33756 (default_libc_feholdexcept_setround): New.
33757 (default_libc_fesetenv, default_libc_feupdateenv): New.
33758 (libc_feholdexcept): Only define if undefined.
33759 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33760 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33761 (libc_feholdexcept_setroundl): Likewise.
33762 (libc_feholdexcept_setround_53bit): Likewise.
33763 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33764 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33765 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33766 (libc_feupdateenv_53bit): Likewise.
33767 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33768 (libc_feholdexcept): Convert from macro to inline function.
33769 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33770 (libc_fesetenv, libc_feupdateenv): Likewise.
33772 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33773 not previously defined.
33774 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33775 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33776 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33777 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33778 * sysdeps/ieee754/flt-32/math_private.h: New file.
33779 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33780 math_private.h below SET_FLOAT_WORD.
33781 (__isnan, __isinf_ns, __finite): Remove.
33782 (__isnanf, __isinf_nsf, __finitef): Remove.
33784 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33788 2012-03-17 David S. Miller <davem@davemloft.net>
33791 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33794 2012-03-16 David S. Miller <davem@davemloft.net>
33796 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33800 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33802 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33803 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33804 sysdep_routines when subdir is sysvipc.
33805 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33806 __getshmlba helper.
33808 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33810 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33812 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33815 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33817 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33818 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33819 (__lround): Renamed to ...
33820 (__llround): This. Replace long int with long long int.
33821 Define lround functions as aliases of llround functions.
33822 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33824 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33826 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33827 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33828 adresses to uintptr_t. Replace "long int" and "unsigned long
33829 int" with "greg_t" on va_arg.
33831 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33833 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33834 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33836 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33837 Move e_machine check before EI_CLASS check. Handle x32
33838 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33839 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33840 SKIP_EM_IA_64 and include
33841 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33843 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33844 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33845 (add_system_dir): New macro.
33847 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33848 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33850 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33861 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33863 * math/w_j0f.c (j0f): Likewise.
33865 * math/w_j0l.c (__j0l): Likewise.
33867 * math/w_j1.c (j1): Likewise.
33869 * math/w_j1f.c (j1f): Likewise.
33871 * math/w_j1l.c (__j1l): Likewise.
33873 * math/w_jn.c (jn): Likewise.
33875 * math/w_jnf.c (jnf): Likewise.
33877 * math/w_jnl.c (__jnl): Likewise.
33879 * math/libm-test.inc (j0_test): Add more tests.
33880 (j1_test): Likewise.
33881 (jn_test): Likewise. Add trailing semicolon to existing test.
33882 (y0_test): Likewise.
33883 (y1_test): Likewise.
33884 * sysdeps/i386/fpu/libm-test-ulps: Update.
33885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33889 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33890 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33891 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33892 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33893 (__tanl): Set errno for infinite argument.
33894 * sysdeps/i386/fpu/mptan.c: Remove.
33895 * sysdeps/i386/fpu/s_tan.S: Likewise.
33896 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33897 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33898 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33899 * math/libm-test.inc (tan_test): Add more tests and enable more
33900 tests for double and long double.
33901 * sysdeps/i386/fpu/libm-test-ulps: Update.
33902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33904 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33906 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33907 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33909 2012-03-16 Roland McGrath <roland@hack.frob.com>
33911 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33912 * configure.in: Use it for both main tree and add-ons.
33913 * configure: Regenerated.
33915 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33917 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33919 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33921 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33925 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33926 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33927 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33928 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33929 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33931 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33932 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33933 != 0 for prec == 2.
33934 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33935 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33936 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33937 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33938 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33939 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33940 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33941 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33942 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33943 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33944 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33945 * math/libm-test.inc (cos_test): Add more tests and enable more
33946 tests for long double.
33947 (sin_test): Likewise.
33948 (sincos_test): Likewise.
33949 * sysdeps/i386/fpu/libm-test-ulps: Update.
33950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33952 2012-03-16 David S. Miller <davem@davemloft.net>
33954 * sysdeps/sparc/fpu/math_private.h: New file.
33956 2012-03-15 David S. Miller <davem@davemloft.net>
33958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33964 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33965 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33966 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33967 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33968 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33972 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33973 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33975 * sysdeps/sparc/sparc-ifunc.h: New file.
33976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
34000 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34001 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34002 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
34003 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
34004 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34005 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34006 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
34007 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34008 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
34009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
34010 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
34011 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
34012 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
34013 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
34014 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
34015 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
34016 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
34017 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
34018 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34019 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34021 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34023 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34027 2012-03-15 Andreas Jaeger <aj@suse.de>
34030 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34031 ieee754/flt-32 implementation for sin, cos and sincos.
34032 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34033 * sysdeps/i386/fpu/s_cosf.S: Likewise.
34034 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34035 * sysdeps/i386/fpu/s_sinf.S: Likewise.
34036 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34037 ieee754/flt-32 implementation for tan.
34039 * math/libm-test.inc (cos_test): Enable some large input tests for
34041 (sin_test): Likewise.
34042 (sincos_test): Likewise.
34043 (tan_test): Add tests for large input.
34045 * sysdeps/i386/fpu/libm-test-ulps: Update.
34047 2012-03-15 Andreas Jaeger <aj@suse.de>
34050 * math/libm-test.inc (cos_test): Add more test cases.
34051 (sin_test): Likewise.
34052 (sincos_test): Likewise.
34054 2012-03-15 Andreas Jaeger <aj@suse.de>
34057 * math/libm-test.inc (cos_test): Add a test case for large input
34059 (sin_test): Likewise.
34060 (sincos_test): Likewise.
34062 2012-03-15 Andreas Jaeger <aj@suse.de>
34063 Joseph Myers <joseph@codesourcery.com>
34066 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
34067 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34068 * sysdeps/i386/fpu/branred.c: Likewise.
34069 * sysdeps/i386/fpu/dosincos.c: Likewise.
34070 * sysdeps/i386/fpu/mpa.c: Likewise.
34071 * sysdeps/i386/fpu/s_cos.S: Likewise.
34072 * sysdeps/i386/fpu/s_sin.S: Likewise.
34073 * sysdeps/i386/fpu/s_sincos.S: Likewise.
34074 * sysdeps/i386/fpu/sincos32.c: Likewise.
34076 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34078 (libc_feupdateenv_53bit): Define.
34079 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34081 (libc_feupdateenv_53bit): Define.
34083 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34084 53 bit (without extend i386 double precision).
34086 * math/libm-test.inc (sincos_test): Add tests for large input.
34090 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34092 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34096 2012-03-15 David S. Miller <davem@davemloft.net>
34098 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34099 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34100 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34101 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34106 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34107 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34108 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
34113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
34116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
34119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
34122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34125 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34126 fmin/fmax sysdep routines.
34127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34129 2012-03-14 David S. Miller <davem@davemloft.net>
34131 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34132 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34133 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34134 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34135 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34136 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34137 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34138 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34139 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34140 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34141 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34142 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34143 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34144 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34145 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34146 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34147 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34148 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34149 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34150 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34151 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34152 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34153 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34154 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34155 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34156 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34157 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34158 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
34159 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
34164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
34167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
34170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
34173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
34176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
34191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
34194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
34197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
34200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34203 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34208 * sysdeps/sparc/configure.in: New file.
34209 * sysdeps/sparc/configure: Generate.
34210 * configure.in (libc_cv_sparc_as_vis3): Substitute.
34211 * configure: Regenerate.
34212 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34213 * config.make.in (have-as-vis3): New.
34214 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34215 available use -Av9d instead of -Av9a.
34216 * sysdeps/sparc/sparc64/Makefile: Likewise.
34217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
34218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34226 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34227 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34228 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34229 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34230 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34232 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34233 fzeros/fnegs to load 0x80000000 into a float register instead of
34235 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34237 2012-03-14 Joseph Myers <joseph@codesourcery.com>
34239 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34241 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34242 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34243 ($(inst_includedir)/bits/syscall.h): Remove rule.
34244 ($(objpfx)bits/syscall.d): Include instead of
34245 $(objpfx)syscall-list.d.
34246 (generated): Change syscall-list.h and syscall-list.d to
34247 bits/syscall.h and bits/syscall.d.
34249 2012-03-14 Roland McGrath <roland@hack.frob.com>
34252 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
34254 2012-03-14 Joseph Myers <joseph@codesourcery.com>
34257 * math/s_csqrt.c: Include <float.h>.
34258 (__csqrt): Scale large or subnormal inputs.
34259 * math/s_csqrtf.c: Likewise.
34260 * math/s_csqrtl.c: Likewise.
34261 * math/libm-test.inc (csqrt_test): Add more tests.
34262 * sysdeps/i386/fpu/libm-test-ulps: Update.
34263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34266 * math/libm-test.inc (hypot_test): Add more tests.
34268 2012-03-13 David S. Miller <davem@davemloft.net>
34271 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
34272 double-precision for the calculation instead of scaling.
34274 2012-03-13 Joseph Myers <joseph@codesourcery.com>
34276 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
34277 manipulate bits before adding and subtracting TWO52[sx].
34278 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
34279 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
34281 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
34283 2012-03-13 David S. Miller <davem@davemloft.net>
34285 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
34286 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
34287 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
34288 rtld-global-offsets.h
34289 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34291 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
34294 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
34296 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
34297 'err' in the ifdef scope in which it is actually used.
34299 * nss/nss_db/db-init.c: Include string.h
34301 2012-03-12 David S. Miller <davem@davemloft.net>
34303 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34304 masking out of the most significant byte of random value used.
34305 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34306 Fix coding style in previous change.
34308 * sysdeps/unix/sysv/linux/kernel-features.h
34309 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
34310 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
34312 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
34315 2012-03-11 David S. Miller <davem@davemloft.net>
34317 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34318 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
34319 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
34320 for 'resultvar' otherwise things get truncated on 64-bit.
34322 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34323 Fix masking out of the most significant byte of random value used.
34325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34327 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
34329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34331 2012-03-09 David S. Miller <davem@davemloft.net>
34333 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
34334 variables with appropriate CPP guards.
34335 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
34336 from the frame pointer, not the stack pointer. Correct layout
34337 comments. Fix test on resulting framesize and the management of
34338 the outregs buffer for pltexit. Preserve floating point return
34339 values across _dl_call_pltexit call.
34340 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34341 framesize and the management of the outregs buffer for pltexit.
34342 Preserve floating point return values across _dl_call_pltexit
34344 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
34345 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
34346 (la_sparc64_gnu_pltexit): New functions.
34347 (print_exit): Fix format string for return register value.
34349 2012-03-10 Joseph Myers <joseph@codesourcery.com>
34351 * sunrpc/Makefile (others): Add rpcgen.
34352 ($(objpfx)rpcgen): Remove special build rule and dependency on
34354 * sunrpc/rpcgen.c: New file.
34356 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
34359 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
34360 * stdio-common/bug-vfprintf-nargs.c: Likewise.
34361 * sysdeps/i386/crti.S: Likewise.
34362 * sysdeps/i386/crtn.S: Likewise.
34363 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
34364 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
34365 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
34366 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
34367 * sysdeps/sh/crti.S: Likewise.
34368 * sysdeps/sh/crtn.S: Likewise.
34369 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34372 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34374 * locale/programs/locfile-kw.gperf: Likewise.
34375 * locale/programs/charmap-kw.h: Regenerated.
34376 * locale/programs/locfile-kw.h: Likewise.
34379 * intl/plural.y: Replace FSF snail mail address with URL.
34380 * intl/plural.c: Regenerated.
34382 2012-03-09 Richard Henderson <rth@twiddle.net>
34384 * include/math_private.h: Remove file.
34385 * math/math_private.h: Move file ...
34386 * sysdeps/generic/math_private.h: ... here.
34388 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34389 * sysdeps/powerpc/fpu/math_private.h: Likewise.
34390 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34392 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
34393 and <math_private.h>.
34394 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34395 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34396 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34397 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34398 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34399 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
34400 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34401 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34402 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34403 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34404 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34405 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34406 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34407 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34408 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34409 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34410 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34411 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34412 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34413 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34414 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34415 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34416 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34417 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34418 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34419 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34420 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34421 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34422 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34423 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34424 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34425 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34426 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34427 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34428 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34429 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34430 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34431 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34432 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34433 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34434 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
34435 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34436 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34437 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34438 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34439 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34440 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
34441 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34442 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34443 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34444 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34445 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
34446 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34447 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34448 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34449 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34450 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34451 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34452 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34453 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
34454 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34455 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34456 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34457 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34458 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34459 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34460 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34461 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34462 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34463 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34464 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34465 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34466 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34467 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34468 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34469 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34470 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34471 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34472 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34473 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34474 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34475 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34476 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34477 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34478 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34479 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34480 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34481 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34482 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34483 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34484 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34485 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34486 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34487 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34488 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34489 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34490 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34491 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34492 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34493 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34494 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34495 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34496 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34497 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34498 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34499 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34500 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34501 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34502 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34503 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34504 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34505 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34506 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34507 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34508 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
34509 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34510 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34511 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34512 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34513 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34514 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34515 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34516 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34517 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
34518 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34519 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34520 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34521 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
34522 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34523 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
34524 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
34525 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34526 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34527 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
34528 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
34529 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34530 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34531 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34532 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
34533 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34534 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34535 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34536 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34537 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
34538 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
34539 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34540 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34541 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34542 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
34543 * sysdeps/ieee754/k_standard.c: Likewise.
34544 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34545 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34546 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34547 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34548 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34549 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34550 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34551 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34552 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34553 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34554 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34555 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34556 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34557 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34558 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34559 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34560 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34561 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34562 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34563 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34564 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34565 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
34566 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34567 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34568 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34569 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34570 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34571 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34572 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34573 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34574 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34575 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34576 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34577 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34578 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34579 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34580 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34581 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
34582 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
34583 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34584 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34585 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34586 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34587 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34588 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34589 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34590 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34591 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34592 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34593 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34594 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34595 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34596 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34597 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
34598 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34599 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34600 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
34601 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
34602 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34603 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34604 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34605 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34606 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34607 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34608 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34609 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34610 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34611 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34612 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34613 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34614 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34615 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34616 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34617 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34618 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34619 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34620 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34621 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34622 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34623 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34624 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34625 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34626 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34627 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34628 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34629 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34630 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34631 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34632 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34633 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34634 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34635 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34636 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34637 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34638 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34639 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34640 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34641 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34642 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34643 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34644 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34645 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34646 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34647 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34648 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34649 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34650 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34651 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34652 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34653 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34654 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34655 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34656 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34657 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34658 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34659 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34660 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34661 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34662 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34663 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34664 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34665 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34666 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34667 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34668 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34669 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34670 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34671 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34672 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34673 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34674 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34675 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34676 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34677 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34678 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34679 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34680 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34681 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34682 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34683 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34684 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34685 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34686 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34687 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34688 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34689 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34690 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34691 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34692 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34693 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34694 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34695 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34696 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34697 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34698 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34699 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34700 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34701 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34702 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34703 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34704 * sysdeps/ieee754/s_lib_version.c: Likewise.
34705 * sysdeps/ieee754/s_matherr.c: Likewise.
34706 * sysdeps/ieee754/s_signgam.c: Likewise.
34707 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34708 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34709 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34710 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34711 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34712 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34713 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34714 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34715 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34716 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34717 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34718 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34719 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34720 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34721 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34722 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34723 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34724 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34725 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34726 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34727 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34729 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34731 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34732 * sunrpc/rpc_main.c: Likewise.
34733 * sunrpc/rpc_svcout.c: Likewise.
34735 2012-03-09 David S. Miller <davem@davemloft.net>
34737 * include/math_private.h: New file.
34739 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34741 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34742 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34743 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34744 from <bits/socket_type.h>.
34745 (enum __socket_type): Don't define here.
34746 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34747 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34748 bits/socket_type.h.
34751 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34752 checking __USE_GNU.
34754 * Makerules ($(inst_includedir)/%.h): New rule.
34755 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34756 (install-others): Remove variable setting.
34757 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34759 2012-03-08 Richard Henderson <rth@twiddle.net>
34761 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34762 from macro to inline function; merge with the
34763 !__LIBC_INTERNAL_MATH_INLINES version.
34764 (__ieee754_sqrtf): Likewise.
34766 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34767 to inline function.
34768 (__rintf, __floor, __floorf): Likewise.
34770 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34771 macro to inline function.
34772 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34774 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34775 not <math/math_private.h>.
34777 2012-03-08 David S. Miller <davem@davemloft.net>
34779 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34781 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34783 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34785 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34787 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34788 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34790 2012-03-08 Ulrich Drepper <drepper@gmail.com>
34792 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34793 be defined individually, they must be defined as a block. Define
34794 S for printing a string instead of hidint the different by using a
34795 macro for adding the 'l'.
34796 * stdio-common/tst-fphex-wide.c: Adjust.
34798 2012-03-07 Marek Polacek <polacek@redhat.com>
34800 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34802 2012-03-08 Marek Polacek <polacek@redhat.com>
34805 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34806 * stdio-common/tst-fphex.c: Define a few macros to make the
34807 test reusable. Use them.
34808 * stdio-common/tst-fphex-wide.c: New file.
34810 2012-03-08 Joseph Myers <joseph@codesourcery.com>
34813 * manual/macros.texi (gnusystems): New macro.
34814 (nongnusystems): Likewise.
34815 (gnulinuxhurdsystems): Likewise.
34816 (gnuhurdsystems): Likewise..
34817 (gnulinuxsystems): Likewise.
34818 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34819 variants of the GNU system, not "GNU system".
34820 * manual/conf.texi: Likewise.
34821 * manual/errno.texi: Likewise. Update example of errno macro
34823 * manual/filesys.texi: Likewise.
34824 (getumask): Document as specific to GNU/Hurd.
34825 * manual/install.texi: Likewise. Reword some references to
34827 * manual/intro.texi: Likewise.
34828 * manual/io.texi: Likewise.
34829 (File Name Portability): Detail which constraints are inapplicable
34830 to all GNU systems and which are only inapplicable to GNU/Hurd.
34831 * manual/job.texi: Likewise.
34832 * manual/llio.texi: Likewise.
34833 (O_NOCTTY): Document as present on GNU/Linux.
34834 * manual/maint.texi: Likewise.
34835 * manual/memory.texi: Likewise.
34836 * manual/pattern.texi: Likewise.
34837 * manual/pipe.texi: Likewise.
34838 * manual/process.texi: Likewise.
34839 * manual/resource.texi: Likewise.
34840 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34842 * manual/setjmp.texi: Likewise.
34843 * manual/signal.texi: Likewise.
34844 * manual/startup.texi: Likewise.
34845 * manual/stdio.texi: Likewise.
34846 * manual/terminal.texi: Likewise.
34847 (ONLCR): Document as POSIX.
34848 (OXTABS): Document availability on GNU/Linux as XTABS.
34849 (ONOEOT): Document availability separately from other bits.
34850 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34851 * manual/time.texi: Likewise.
34852 * manual/users.texi: Likewise.
34853 * INSTALL: Regenerated.
34854 * sysdeps/gnu/errlist.c: Regenerated.
34856 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34857 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34858 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34860 * configure: Regenerated.
34862 2012-03-07 Joseph Myers <joseph@codesourcery.com>
34864 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34865 default includes instead of AC_HEADER_CHECK.
34866 * sysdeps/i386/configure: Regenerated.
34869 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34870 * math/s_cacoshf.c (__cacoshf): Likewise.
34871 * math/s_cacoshl.c (__cacoshl): Likewise.
34872 * math/s_casinh.c (__casinh): Set signs of result from argument.
34873 * math/s_casinhf.c (__casinhf): Likewise.
34874 * math/s_casinhl.c (__casinhl): Likewise.
34875 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34876 (casinh_test): Add more tests.
34877 * sysdeps/i386/fpu/libm-test-ulps: Update.
34878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34880 2012-03-07 Ulrich Drepper <drepper@gmail.com>
34882 * po/zh_TW.po: Update from translation team.
34884 * login/Makefile (distribute): Remove variable.
34885 * catgets/Makefile: Likewise.
34886 * mach/Makefile: Likewise.
34887 * malloc/Makefile: Likewise.
34888 * misc/Makefile: Likewise.
34889 * iconv/Makefile: Likewise.
34890 * nscd/Makefile: Likewise.
34891 * hurd/Makefile: Likewise.
34892 * manual/Makefile: Likewise.
34893 * locale/Makefile: Likewise.
34894 * intl/Makefile: Likewise.
34895 * conform/Makefile: Likewise.
34896 * nss/Makefile: Likewise.
34897 * time/Makefile: Likewise.
34898 * soft-fp/Makefile: Likewise.
34899 * dirent/Makefile: Likewise.
34900 * gmon/Makefile: Likewise.
34901 * po/Makefile: Likewise.
34902 * rt/Makefile: Likewise.
34903 * socket/Makefile: Likewise.
34904 * math/Makefile: Likewise.
34905 * signal/Makefile: Likewise.
34906 * debug/Makefile: Likewise.
34907 * elf/Makefile: Likewise.
34908 * timezone/Makefile: Likewise.
34909 * stdlib/Makefile: Likewise.
34910 * iconvdata/Makefile: Likewise.
34911 * sunrpc/Makefile: Likewise.
34912 * io/Makefile: Likewise.
34913 * argp/Makefile: Likewise.
34914 * inet/Makefile: Likewise.
34915 * hesiod/Makefile: Likewise.
34916 * grp/Makefile: Likewise.
34917 * csu/Makefile: Likewise.
34918 * wctype/Makefile: Likewise.
34919 * crypt/Makefile: Likewise.
34920 * libio/Makefile: Likewise.
34921 * string/Makefile: Likewise.
34922 * nis/Makefile: Likewise.
34923 * resolv/Makefile: Likewise.
34924 * stdio-common/Makefile: Likewise.
34925 * wcsmbs/Makefile: Likewise.
34926 * dlfcn/Makefile: Likewise.
34927 * posix/Makefile: Likewise.
34930 * timezone/Makefile: Don't install timezone files, just the programs
34933 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34935 * nss/databases.def: Add missing gshadow entry.
34937 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34939 2012-03-06 Marek Polacek <polacek@redhat.com>
34942 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34943 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34944 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34945 * stdio-common/tst-long-dbl-fphex.c: New file.
34947 2012-03-06 David S. Miller <davem@davemloft.net>
34949 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34950 (set_obp_int): New function.
34951 (get_obp_int): New function.
34952 (__get_clockfreq_via_dev_openprom): Likewise.
34953 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34954 Avoid unused variable warnings on 'val' and use builtin_expect.
34955 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34957 (INLINE_CLONE_SYSCALL): Likewise.
34959 2012-03-05 David S. Miller <davem@davemloft.net>
34961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34963 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34967 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34968 only for |x| >= 40.
34969 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34971 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34973 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34974 Replace gettimeofday with __vdso_gettimeofday.
34976 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34977 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34978 __vdso_clock_gettime and __vdso_getcpu.
34980 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34981 time with __vdso_time.
34983 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34985 * manual/lang.texi (size_t): Note types to which size_t may be
34986 equivalent with the GNU C Library, but do not describe when
34987 differences between them are significant.
34989 2012-03-05 Andreas Jaeger <aj@suse.de>
34991 * sysdeps/i386/fpu/libm-test-ulps: Update.
34993 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34996 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34997 (__ieee754_pow): Save and restore rounding mode and use
34998 round-to-nearest for main computations.
34999 * math/libm-test.inc (pow_test_tonearest): New function.
35000 (pow_test_towardzero): Likewise.
35001 (pow_test_downward): Likewise.
35002 (pow_test_upward): Likewise.
35003 (main): Call the new functions.
35004 * sysdeps/i386/fpu/libm-test-ulps: Update.
35005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35008 * math/libm-test.inc (cosh_test_tonearest): New function.
35009 (cosh_test_towardzero): Likewise.
35010 (cosh_test_downward): Likewise.
35011 (cosh_test_upward): Likewise.
35012 (sinh_test_tonearest): Likewise.
35013 (sinh_test_towardzero): Likewise.
35014 (sinh_test_downward): Likewise.
35015 (sinh_test_upward): Likewise.
35016 (main): Call the new functions.
35017 * sysdeps/i386/fpu/libm-test-ulps: Update.
35018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35020 2012-03-05 Tom de Vries <tom@codesourcery.com>
35022 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35023 default stack guard is set in last bytes.
35024 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35026 2012-03-05 Kees Cook <keescook@chromium.org>
35028 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
35031 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35032 possibly allocate from heap instead of stack.
35033 * stdio-common/bug-vfprintf-nargs.c: New file.
35034 * stdio-common/Makefile (tests): Add nargs overflow test.
35036 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
35038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35040 2012-03-03 Marek Polacek <polacek@redhat.com>
35042 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35043 * math/math_private.h: Likewise.
35044 * stdlib/tst-strtod.c: Likewise.
35045 * sysdeps/i386/i486/bits/atomic.h: Likewise.
35046 * sysdeps/x86_64/bits/atomic.h: Likewise.
35048 2012-03-02 David S. Miller <davem@davemloft.net>
35050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35054 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35055 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35056 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35057 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35059 2012-03-02 Roland McGrath <roland@hack.frob.com>
35062 * manual/examples/README: New file, says the example source files
35063 can be used under GPL>=2.
35064 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35065 line containing just "*/".
35066 * manual/examples/add.c: Add copyright header (GPL>=2).
35067 * manual/examples/argp-ex1.c: Likewise.
35068 * manual/examples/argp-ex2.c: Likewise.
35069 * manual/examples/argp-ex3.c: Likewise.
35070 * manual/examples/argp-ex4.c: Likewise.
35071 * manual/examples/atexit.c: Likewise.
35072 * manual/examples/db.c: Likewise.
35073 * manual/examples/dir.c: Likewise.
35074 * manual/examples/dir2.c: Likewise.
35075 * manual/examples/execinfo.c: Likewise.
35076 * manual/examples/filecli.c: Likewise.
35077 * manual/examples/filesrv.c: Likewise.
35078 * manual/examples/fmtmsgexpl.c: Likewise.
35079 * manual/examples/genpass.c: Likewise.
35080 * manual/examples/inetcli.c: Likewise.
35081 * manual/examples/inetsrv.c: Likewise.
35082 * manual/examples/isockad.c: Likewise.
35083 * manual/examples/longopt.c: Likewise.
35084 * manual/examples/memopen.c: Likewise.
35085 * manual/examples/memstrm.c: Likewise.
35086 * manual/examples/mkfsock.c: Likewise.
35087 * manual/examples/mkisock.c: Likewise.
35088 * manual/examples/mygetpass.c: Likewise.
35089 * manual/examples/pipe.c: Likewise.
35090 * manual/examples/popen.c: Likewise.
35091 * manual/examples/rprintf.c: Likewise.
35092 * manual/examples/search.c: Likewise.
35093 * manual/examples/select.c: Likewise.
35094 * manual/examples/setjmp.c: Likewise.
35095 * manual/examples/sigh1.c: Likewise.
35096 * manual/examples/sigusr.c: Likewise.
35097 * manual/examples/stpcpy.c: Likewise.
35098 * manual/examples/strdupa.c: Likewise.
35099 * manual/examples/strftim.c: Likewise.
35100 * manual/examples/strncat.c: Likewise.
35101 * manual/examples/subopt.c: Likewise.
35102 * manual/examples/swapcontext.c: Likewise.
35103 * manual/examples/termios.c: Likewise.
35104 * manual/examples/testopt.c: Likewise.
35105 * manual/examples/testpass.c: Likewise.
35106 * manual/examples/timeval_subtract.c: Likewise.
35109 * manual/time.texi (Elapsed Time): Move timeval_subtract example
35111 * manual/timeval_subtract.c.texi: ... here, new file.
35113 2012-03-02 David S. Miller <davem@davemloft.net>
35115 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35117 2012-03-02 Joseph Myers <joseph@codesourcery.com>
35120 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35121 (__sin): Save and restore rounding mode and use round-to-nearest
35122 for all computations.
35123 (__cos): Save and restore rounding mode and use round-to-nearest
35124 for all computations.
35125 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35127 (tan): Save and restore rounding mode and use round-to-nearest for
35129 * math/libm-test.inc (cos_test_tonearest): New function.
35130 (cos_test_towardzero): Likewise.
35131 (cos_test_downward): Likewise.
35132 (cos_test_upward): Likewise.
35133 (sin_test_tonearest): Likewise.
35134 (sin_test_towardzero): Likewise.
35135 (sin_test_downward): Likewise.
35136 (sin_test_upward): Likewise.
35137 (tan_test_tonearest): Likewise.
35138 (tan_test_towardzero): Likewise.
35139 (tan_test_downward): Likewise.
35140 (tan_test_upward): Likewise.
35141 (main): Call the new functions.
35142 * sysdeps/i386/fpu/libm-test-ulps: Update.
35143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35146 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35147 small n, then large n, before computing and testing k+n.
35148 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35149 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35151 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35153 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35154 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35155 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35156 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35157 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35158 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35159 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35160 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35161 * math/libm-test.inc (scalbn_test): Add more tests.
35162 (scalbln_test): Likewise.
35164 * manual/filesys.texi (mode_t): Describe constraints on size and
35165 signedness, not exact equivalence to a particular type.
35167 (ino64_t): Likewise.
35169 (nlink_t): Likewise.
35170 (blkcnt_t): Likewise.
35171 (blkcnt64_t): Likewise.
35172 * manual/llio.texi (off_t): Likewise.
35175 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35176 (__ieee754_exp): Save and restore rounding mode and use
35177 round-to-nearest for all computations.
35178 * math/libm-test.inc (exp_test_tonearest): New function.
35179 (exp_test_towardzero): Likewise.
35180 (exp_test_downward): Likewise.
35181 (exp_test_upward): Likewise.
35182 (main): Call the new functions.
35183 * sysdeps/i386/fpu/libm-test-ulps: Update.
35184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35186 2012-03-01 Chris Demetriou <cgd@google.com>
35188 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35189 have predictable order.
35191 2012-03-01 David S. Miller <davem@davemloft.net>
35193 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35195 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35196 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35197 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35198 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35200 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35201 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35202 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35204 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35205 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35206 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35207 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35208 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35212 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35213 * sysdeps/sparc/fpu/libm-test-ulps: to here.
35214 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35216 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35217 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35218 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35219 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35220 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35221 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35222 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35223 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35224 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35225 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35226 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35227 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35228 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35229 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35230 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35231 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35232 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35233 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35234 * sysdeps/sparc/elf/configure: Regenerated.
35236 2012-03-01 Joseph Myers <joseph@codesourcery.com>
35238 * configure.in (AS, LD): Require binutils 2.20 or later.
35239 * configure: Regenerated.
35240 * manual/install.texi (Tools for Compilation): Give binutils 2.20
35241 as required minimum version.
35242 * INSTALL: Regenerated.
35246 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
35247 before squaring exponent.
35248 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
35249 bottom long double and 27 bits of top long double before squaring
35251 * math/libm-test.inc (erfc_test): Add more tests.
35252 * sysdeps/i386/fpu/libm-test-ulps: Update.
35253 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35256 2012-03-01 Kai Tietz <ktietz@redhat.com>
35258 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
35259 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
35260 containing bit-fields.
35261 * soft-fp/extended.h (_FP_UNION_E): Likewise.
35262 * soft-fp/single.h (_FP_UNION_S): Likewise.
35263 * soft-fp/double.h (_FP_UNION_D): Likewise.
35265 2012-02-29 Joseph Myers <joseph@codesourcery.com>
35268 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
35269 not include ../strcmp.S.
35270 [USE_AS_STRNCASECMP_L]: Likewise.
35271 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
35272 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
35273 * sysdeps/i386/i686/multiarch/strncase_l-c.c
35274 (__strncasecmp_l_ia32): Define as alias to
35275 __strncasecmp_l_nonascii.
35278 * math/libm-test.inc (expm1_test): Add test for bug 5794.
35279 * sysdeps/i386/fpu/libm-test-ulps: Update.
35280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35282 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
35283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35285 2012-02-29 Jeff Law <law@redhat.com>
35287 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
35288 out of bounds read.
35290 2012-02-29 Marek Polacek <polacek@redhat.com>
35293 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
35294 * elf/Makefile: Add rules to run tst-unused-dep.out.
35296 2012-02-28 David S. Miller <davem@davemloft.net>
35298 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
35299 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
35300 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
35301 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
35302 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
35303 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
35305 2012-02-29 Joseph Myers <joseph@codesourcery.com>
35307 * math/libm-test.inc (llround_test): Move one test from
35308 lround_test. Use TEST_f_L in moved test.
35309 (lround_test): Move misplaced test to llround_test. Add testcase
35312 2012-02-28 Ulrich Drepper <drepper@gmail.com>
35314 * sysdeps/x86_64/fpu/e_expf.S: New file.
35315 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
35317 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
35320 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
35321 of remain_len that may cause incomplete multi-byte character and
35323 * posix/bug-regex33.c: New file.
35324 * posix/Makefile (tests): Add bug-regex33.
35326 2012-02-28 Joseph Myers <joseph@codesourcery.com>
35328 * manual/macros.texi: New file.
35329 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
35330 * manual/libc.texinfo: Include macros.texi.
35331 * manual/creatute.texi: Likewise.
35332 * manual/install.texi: Likewise.
35333 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
35334 @glibcadj{} in references to the GNU C Library.
35335 * manual/charset.texi: Likewise.
35336 * manual/conf.texi: Likewise.
35337 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
35338 when not using those macros.
35339 * manual/creature.texi: Likewise.
35340 * manual/crypt.texi: Likewise.
35341 * manual/errno.texi: Likewise.
35342 * manual/filesys.texi: Likewise.
35343 * manual/header.texi: Likewise.
35344 * manual/install.texi: Likewise.
35345 * manual/intro.texi: Likewise.
35346 * manual/io.texi: Likewise.
35347 * manual/job.texi: Likewise.
35348 * manual/lang.texi: Likewise.
35349 * manual/libc.texiinfo: Likewise.
35350 * manual/llio.texi: Likewise.
35351 * manual/locale.texi: Likewise.
35352 * manual/maint.texi: Likewise.
35353 * manual/math.texi: Likewise.
35354 * manual/memory.texi: Likewise.
35355 * manual/message.texi: Likewise.
35356 * manual/nss.texi: Likewise.
35357 * manual/pattern.texi: Likewise.
35358 * manual/process.texi: Likewise.
35359 * manual/resource.texi: Likewise.
35360 * manual/search.texi: Likewise.
35361 * manual/setjmp.texi: Likewise.
35362 * manual/signal.texi: Likewise.
35363 * manual/socket.texi: Likewise.
35364 * manual/startup.texi: Likewise.
35365 * manual/stdio.texi: Likewise.
35366 * manual/string.texi: Likewise.
35367 * manual/sysinfo.texi: Likewise.
35368 * manual/syslog.texi: Likewise.
35369 * manual/terminal.texi: Likewise.
35370 * manual/time.texi: Likewise.
35371 * manual/users.texi: Likewise.
35372 * INSTALL: Regenerated.
35373 * NOTES: Regenerated.
35374 * sysdeps/gnu/errlist.c: Regenerated.
35376 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
35378 * include/dirent.h: Include <dirstream.h> before
35381 2012-02-28 David S. Miller <davem@davemloft.net>
35383 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35384 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35385 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35386 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35388 2012-02-27 David S. Miller <davem@davemloft.net>
35390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
35391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
35392 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
35393 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
35395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
35396 frame pointer instead of stack pointer relative arg slot.
35397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35398 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35399 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35401 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
35404 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
35406 2012-02-27 David S. Miller <davem@davemloft.net>
35408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
35409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
35412 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35413 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35414 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
35415 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
35417 2012-02-27 Joseph Myers <joseph@codesourcery.com>
35419 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
35420 later. Allow versions 5-9.
35421 * configure: Regenerated.
35422 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
35423 required minimum version and 4.6 as recommended version. Do not
35424 mention bugs in GCC 2.7 and 2.8.
35425 * INSTALL: Regenerated.
35427 2012-02-27 David S. Miller <davem@davemloft.net>
35429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
35430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
35431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
35432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
35433 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
35434 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
35435 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
35436 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
35438 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
35439 manipulate bits before adding and subtracting TWO112[sx].
35440 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35442 2012-02-27 Roland McGrath <roland@hack.frob.com>
35445 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
35446 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
35447 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
35448 being in POSIX, because they are in 1003.1-2008.
35450 * rt/tst-aio.c: Include <fcntl.h>.
35451 * rt/tst-aio7.c: Likewise.
35452 * rt/tst-aio64.c: Likewise.
35454 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
35456 2012-02-27 Joseph Myers <joseph@codesourcery.com>
35458 * manual/install.texi (--with-headers): Describe headers as
35459 interface headers, not private headers.
35460 (Specific advice for GNU/Linux systems): Describe use of headers
35461 from "make headers_install", not private headers from older
35463 * INSTALL: Regenerated.
35464 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35466 * sysdeps/unix/sysv/linux/configure: Regenerated.
35468 * manual/llio.texi (fclean): Remove documentation.
35470 * manual/Makefile (libc-texi-generated): New variable. Include
35472 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35473 $(libc-texi-generated), not duplicated list of files.
35474 (version.texi, stamp-version): New rules.
35475 (realclean): Remove $(libc-texi-generated), not individual files
35476 from that list. Do not remove dir-add.texinfo.
35477 * manual/libc.texinfo: Comment out uses of edition numbers and
35478 references to printed manual. Remove last-updated dates.
35479 (EDITION): Comment out.
35481 (VERSION, UPDATED): Remove.
35482 (version.texi): Include.
35484 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
35486 * sysdeps/posix/spawni.c: Include <signal.h>.
35487 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35488 * sysdeps/pthread/aio_fsync.c: Likewise.
35490 2012-02-26 Ulrich Drepper <drepper@gmail.com>
35492 * conform/Makefile (tests): Run only when not cross-compiling and
35493 when fast-check is not defined.
35495 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35496 * conform/data/limits.h-data: Fixes for POSIX2008.
35497 * conform/run-conformtest.sh: Run all tests.
35498 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35500 * include/bits/dlfcn.h: Likewise.
35501 * include/langinfo.h: Likewise.
35502 * include/monetary.h: Likewise.
35503 * include/sys/poll.h: Likewise.
35505 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
35507 * posix/spawn.h: Define __need_sigset_t.
35508 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
35509 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
35510 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
35511 to get sigevent_t only.
35512 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
35513 only for __USE_GNU.
35514 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35515 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35516 process_vm_writev only for __USE_GNU.
35517 * termios/termios.h: Declare tcgetsid also for POSIX2008.
35519 * conform/Makefile: For now ignore errors from run-conformtest.
35520 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
35521 POSIX to avoid namespace pollution. Don't prepend headers.
35522 * conform/data/aio.h-data: Fixes for POSIX testing.
35523 * conform/data/fcntl.h-data: Likewise.
35524 * conform/data/glob.h-data: Likewise.
35525 * conform/data/grp.h-data: Likewise.
35526 * conform/data/pthread.h-data: Likewise.
35527 * conform/data/pwd.h-data: Likewise.
35528 * conform/data/signal.h-data: Likewise.
35529 * conform/data/spawn.h-data: Likewise.
35530 * conform/data/stdio.h-data: Likewise.
35531 * conform/data/stdlib.h-data: Likewise.
35532 * conform/data/stropts.h-data: Likewise.
35533 * conform/data/sys/mman.h-data: Likewise.
35534 * conform/data/sys/stat.h-data: Likewise.
35535 * conform/data/sys/types.h-data: Likewise.
35536 * conform/data/sys/wait.h-data: Likewise.
35537 * conform/data/time.h-data: Likewise.
35538 * conform/data/unistd.h-data: Likewise.
35539 * conform/data/utime.h-data: Likewise.
35541 * io/sys/stat.h: fchmod was always in POSIX.
35542 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
35543 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
35544 * rt/aio.h: Define __need_timespec before including <time.h>.
35545 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
35546 struct. Add forward declaration of pthread_attr_t and use it in
35548 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35549 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35550 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35551 always remove CLK_TCK definition.
35553 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
35555 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35557 2012-02-25 Ulrich Drepper <drepper@gmail.com>
35559 * conform/run-conformtest.sh: New file.
35560 * conform/Makefile: Run run-conformtest for tests.
35561 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
35564 * conform/data/uchar.h-data: New file.
35565 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
35566 * conform/data/arpa/inet.h-data: Likewise.
35567 * conform/data/assert.h-data: Likewise.
35568 * conform/data/complex.h-data: Likewise.
35569 * conform/data/cpio.h-data: Likewise.
35570 * conform/data/ctype.h-data: Likewise.
35571 * conform/data/dirent.h-data: Likewise.
35572 * conform/data/dlfcn.h-data: Likewise.
35573 * conform/data/errno.h-data: Likewise.
35574 * conform/data/fcntl.h-data: Likewise.
35575 * conform/data/float.h-data: Likewise.
35576 * conform/data/fmtmsg.h-data: Likewise.
35577 * conform/data/fnmatch.h-data: Likewise.
35578 * conform/data/ftw.h-data: Likewise.
35579 * conform/data/glob.h-data: Likewise.
35580 * conform/data/grp.h-data: Likewise.
35581 * conform/data/iconv.h-data: Likewise.
35582 * conform/data/inttypes.h-data: Likewise.
35583 * conform/data/langinfo.h-data: Likewise.
35584 * conform/data/libgen.h-data: Likewise.
35585 * conform/data/limits.h-data: Likewise.
35586 * conform/data/locale.h-data: Likewise.
35587 * conform/data/math.h-data: Likewise.
35588 * conform/data/monetary.h-data: Likewise.
35589 * conform/data/mqueue.h-data: Likewise.
35590 * conform/data/ndbm.h-data: Likewise.
35591 * conform/data/net/if.h-data: Likewise.
35592 * conform/data/netdb.h-data: Likewise.
35593 * conform/data/netinet/in.h-data: Likewise.
35594 * conform/data/nl_types.h-data: Likewise.
35595 * conform/data/poll.h-data: Likewise.
35596 * conform/data/pthread.h-data: Likewise.
35597 * conform/data/pwd.h-data: Likewise.
35598 * conform/data/regex.h-data: Likewise.
35599 * conform/data/sched.h-data: Likewise.
35600 * conform/data/search.h-data: Likewise.
35601 * conform/data/semaphore.h-data: Likewise.
35602 * conform/data/setjmp.h-data: Likewise.
35603 * conform/data/signal.h-data: Likewise.
35604 * conform/data/spawn.h-data: Likewise.
35605 * conform/data/stdarg.h-data: Likewise.
35606 * conform/data/stdio.h-data: Likewise.
35607 * conform/data/stdlib.h-data: Likewise.
35608 * conform/data/string.h-data: Likewise.
35609 * conform/data/strings.h-data: Likewise.
35610 * conform/data/stropts.h-data: Likewise.
35611 * conform/data/sys/ipc.h-data: Likewise.
35612 * conform/data/sys/mman.h-data: Likewise.
35613 * conform/data/sys/msg.h-data: Likewise.
35614 * conform/data/sys/resource.h-data: Likewise.
35615 * conform/data/sys/select.h-data: Likewise.
35616 * conform/data/sys/sem.h-data: Likewise.
35617 * conform/data/sys/shm.h-data: Likewise.
35618 * conform/data/sys/socket.h-data: Likewise.
35619 * conform/data/sys/stat.h-data: Likewise.
35620 * conform/data/sys/statvfs.h-data: Likewise.
35621 * conform/data/sys/time.h-data: Likewise.
35622 * conform/data/sys/timeb.h-data: Likewise.
35623 * conform/data/sys/times.h-data: Likewise.
35624 * conform/data/sys/types.h-data: Likewise.
35625 * conform/data/sys/uio.h-data: Likewise.
35626 * conform/data/sys/un.h-data: Likewise.
35627 * conform/data/sys/utsname.h-data: Likewise.
35628 * conform/data/sys/wait.h-data: Likewise.
35629 * conform/data/syslog.h-data: Likewise.
35630 * conform/data/tar.h-data: Likewise.
35631 * conform/data/termios.h-data: Likewise.
35632 * conform/data/utime.h-data: Likewise.
35633 * conform/data/utmpx.h-data: Likewise.
35634 * conform/data/varargs.h-data: Likewise.
35635 * conform/data/wchar.h-data: Likewise.
35636 * conform/data/wctype.h-data: Likewise.
35637 * conform/data/wordexp.h-data: Likewise.
35639 * include/stropts.h: New file.
35640 * include/uchar.h: New file.
35641 * include/aio.h: Changes to allow conformtest.pl to use the headers.
35642 * include/assert.h: Likewise.
35643 * include/ctype.h: Likewise.
35644 * include/dirent.h: Likewise.
35645 * include/dlfcn.h: Likewise.
35646 * include/fcntl.h: Likewise.
35647 * include/fnmatch.h: Likewise.
35648 * include/glob.h: Likewise.
35649 * include/grp.h: Likewise.
35650 * include/libio.h: Likewise.
35651 * include/locale.h: Likewise.
35652 * include/math.h: Likewise.
35653 * include/net/if.h: Likewise.
35654 * include/netdb.h: Likewise.
35655 * include/netinet/in.h: Likewise.
35656 * include/pthread.h: Likewise.
35657 * include/pwd.h: Likewise.
35658 * include/regex.h: Likewise.
35659 * include/sched.h: Likewise.
35660 * include/search.h: Likewise.
35661 * include/setjmp.h: Likewise.
35662 * include/signal.h: Likewise.
35663 * include/stdio.h: Likewise.
35664 * include/stdlib.h: Likewise.
35665 * include/string.h: Likewise.
35666 * include/sys/cdefs.h: Likewise.
35667 * include/sys/mman.h: Likewise.
35668 * include/sys/msg.h: Likewise.
35669 * include/sys/resource.h: Likewise.
35670 * include/sys/select.h: Likewise.
35671 * include/sys/socket.h: Likewise.
35672 * include/sys/stat.h: Likewise.
35673 * include/sys/statvfs.h: Likewise.
35674 * include/sys/time.h: Likewise.
35675 * include/sys/times.h: Likewise.
35676 * include/sys/uio.h: Likewise.
35677 * include/sys/utsname.h: Likewise.
35678 * include/sys/wait.h: Likewise.
35679 * include/termios.h: Likewise.
35680 * include/time.h: Likewise.
35681 * include/ulimit.h: Likewise.
35682 * include/unistd.h: Likewise.
35683 * include/utime.h: Likewise.
35684 * include/wchar.h: Likewise.
35685 * include/wctype.h: Likewise.
35686 * include/wordexp.h: Likewise.
35688 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35690 * time/time.h: TIME_UTC must be a macro.
35691 Make timespec_get available for ISO C11 only as well.
35693 2012-02-24 Ulrich Drepper <drepper@gmail.com>
35695 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35696 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35698 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35700 * configure.in: Use -o not -a in test for unsupported multi-arch.
35702 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35704 * manual/texinfo.tex: Update to version 2012-01-19.16.
35706 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35708 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35710 2012-02-24 Roland McGrath <roland@hack.frob.com>
35713 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35714 * manual/fdl-1.3.texi: New file.
35715 * manual/fdl-1.1.texi: File removed.
35718 * manual/libc.texinfo (FDL_VERSION): New @set.
35719 Use it for mention of FDL in cover text.
35720 (Documentation License): Use it in @include file name.
35722 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35723 Roland McGrath <roland@hack.frob.com>
35726 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35727 (not LONG_LONG_MAX and LONG_LONG_MIN.
35728 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35729 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35731 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35733 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35737 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35738 manipulate bits before adding and subtracting TWO23[sx].
35739 * math/libm-test.inc (nearbyint_test): Add more tests.
35741 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35744 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35745 bits before adding and subtracting TWO23[sx].
35746 * math/libm-test.inc (rint_test): Add more tests.
35747 (rint_test_tonearest): Likewise.
35748 (rint_test_towardzero): Likewise.
35749 (rint_test_downward): Likewise.
35750 (rint_test_upward: Likewise.
35752 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35755 * include/stdc-predef.h: New file. Extracted from features.h.
35756 * include/features.h: Include stdc-predef.h.
35757 * Makefile (headers): Add stdc-predef.h.
35758 * CONFORMANCE (Compiler limitations): Update.
35760 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35762 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35764 2012-02-21 David S. Miller <davem@davemloft.net>
35766 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35767 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35769 2012-02-20 David S. Miller <davem@davemloft.net>
35771 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35772 using a normal save/restore sequence, rather than allocating a
35773 dummy stack frame just to store a frame pointer and restore.
35774 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35776 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35778 * manual/install.texi: Fix stray word in line-wrapped comment.
35780 2012-02-20 David S. Miller <davem@davemloft.net>
35782 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35783 both binutils and gcc support GOTDATA.
35785 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35786 "rd %pc" in the PIC register setup sequences.
35788 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35789 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35790 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35791 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35792 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35793 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35794 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35795 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35796 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35797 (SYSCALL_ERROR_HANDLER): Likewise.
35798 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35799 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35800 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35801 (SYSCALL_ERROR_HANDLER): Likewise.
35803 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35804 (HAVE_GCC_GOTDATA): New.
35805 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35806 relocation support in both binutils and gcc.
35807 * sysdeps/sparc/elf/configure: Regenerate.
35809 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35810 * sysdeps/sparc/sparc32/elf/configure: Delete.
35811 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35812 * sysdeps/sparc/sparc64/elf/configure: Delete.
35813 * sysdeps/sparc/elf/configure.in: New file.
35814 * sysdeps/sparc/elf/configure: Generate.
35816 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35817 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35818 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35819 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35820 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35822 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35824 * manual/install.texi: Do not mention specific glibc version
35826 * manual/libc.texinfo (VERSION, UPDATED): Update.
35827 (@copying): Use @copyright{} and range of years.
35829 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35832 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35833 [crti.S not in sysdirs] (generated): Do not append.
35834 [crti.S not in sysdirs] (omit-deps): Likewise.
35835 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35836 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35837 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35838 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35839 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35841 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35842 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35843 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35844 * csu/defs.awk: Remove file.
35845 * sysdeps/generic/initfini.c: Likewise.
35846 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35848 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35851 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35853 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35854 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35855 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35856 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35857 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35858 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35860 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35861 (__EPOLL_PACKED): Define to empty if not defined by
35863 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35867 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35869 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35870 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35871 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35872 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35874 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35875 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35878 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35880 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35882 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35883 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35884 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35887 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35889 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35890 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35892 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35894 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35895 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35897 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35899 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35902 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35904 * math/w_acos.c: Use non-signaling floating-point comparisons.
35905 * math/w_acosf.c: Likewise.
35906 * math/w_acosh.c: Likewise.
35907 * math/w_acoshf.c: Likewise.
35908 * math/w_acoshl.c: Likewise.
35909 * math/w_acosl.c: Likewise.
35910 * math/w_asin.c: Likewise.
35911 * math/w_asinf.c: Likewise.
35912 * math/w_asinl.c: Likewise.
35913 * math/w_atanh.c: Likewise.
35914 * math/w_atanhf.c: Likewise.
35915 * math/w_atanhl.c: Likewise.
35916 * math/w_exp2.c: Likewise.
35917 * math/w_exp2f.c: Likewise.
35918 * math/w_exp2l.c: Likewise.
35919 * math/w_j0.c: Likewise.
35920 * math/w_j0f.c: Likewise.
35921 * math/w_j0l.c: Likewise.
35922 * math/w_j1.c: Likewise.
35923 * math/w_j1f.c: Likewise.
35924 * math/w_j1l.c: Likewise.
35925 * math/w_jn.c: Likewise.
35926 * math/w_jnf.c: Likewise.
35927 * math/w_log.c: Likewise.
35928 * math/w_log10.c: Likewise.
35929 * math/w_log10f.c: Likewise.
35930 * math/w_log10l.c: Likewise.
35931 * math/w_log2.c: Likewise.
35932 * math/w_log2f.c: Likewise.
35933 * math/w_log2l.c: Likewise.
35934 * math/w_logf.c: Likewise.
35935 * math/w_logl.c: Likewise.
35936 * math/w_sqrt.c: Likewise.
35937 * math/w_sqrtf.c: Likewise.
35938 * math/w_sqrtl.c: Likewise.
35939 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35940 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35941 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35942 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35943 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35945 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35948 * manual/string.texi (strnlen): Use correct parameter name in
35949 equivalent expression.
35951 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35954 * manual/users.texi (seteuid): Consistently use neweuid for
35957 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35960 * manual/nss.texi (Services in the NSS configuration): Correct
35961 list of services in example configuration file.
35963 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35966 * manual/arith.texi: Remove statements about negative zero
35967 behaving identically to zero.
35969 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35972 * manual/install.texi: Do not document upgrading from libc5.
35974 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35977 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35979 2012-02-18 David S. Miller <davem@davemloft.net>
35981 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35982 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35983 %o7 across the call.
35984 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35986 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35987 SETUP_PIC_REG_LEAF.
35988 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35989 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35990 * sysdeps/sparc/crtn.S: Likewise.
35992 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35994 * aout/Makefile: Remove.
35996 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35999 * manual/examples/argp-ex1.c (main): Format definition in GNU
36001 * manual/examples/argp-ex2.c (main): Likewise.
36002 * manual/examples/argp-ex3.c (main): Likewise.
36003 * manual/examples/argp-ex4.c (main): Likewise.
36004 * manual/examples/longopt.c (main): Use new-style prototype
36006 * manual/examples/strncat.c (main): Specify return type and use
36007 (void) for arguments.
36008 * manual/examples/subopt.c (main): Use char **argv argument.
36010 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36013 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
36016 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
36019 * manual/string.texi (strchr): Change when strchrnul is
36022 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
36025 * manual/locale.texi (setlocale): Document LOCPATH.
36027 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36030 * manual/process.texi (execle): Move @dots{} before last argument.
36032 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
36035 * manual/charset.texi (Generic Charset Conversion): Fix typo
36036 (LC_TYPE -> LC_CTYPE).
36038 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
36041 * manual/arith.texi (scalbn): Use @var{} on parameter names.
36042 (scalbnf): Likewise.
36043 (scalbnl): Likewise.
36044 (scalbln): Likewise.
36045 (scalblnf): Likewise.
36046 (scalblnl): Likewise.
36047 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36048 (vwarnx): Likewise.
36051 * manual/filesys.texi (telldir): Use braces around return type.
36052 * manual/llio.texi (mmap): Add space after comma.
36053 (mmap64): Likewise.
36054 * manual/math.texi (jn): Use @var{} on parameter names.
36060 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36062 * manual/resource.texi (ulimit): Use @dots{} instead of literal
36064 (sched_get_priority_min): Remove semicolon on @deftypefun line.
36065 (sched_get_priority_max): Likewise.
36066 * manual/signal.texi (sigvec): Add space after comma.
36067 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36069 (if_indextoname): Likewise.
36070 (if_freenameindex): Likewise.
36071 (sendto): Use ',' instead of '.' in prototype.
36072 * manual/startup.texi (syscall): Use @dots{} instead of literal
36074 * manual/stdio.texi (__fpending): Separate initial words of
36075 paragraph from @deftypefun line.
36076 * manual/syslog.texi (syslog): Use @dots{} instead of literal
36078 (vsyslog): Use @var{} on parameter names.
36079 * manual/terminal.texi (stty): Use @var{} on parameter names.
36080 * manual/users.texi (getutmp): Use @var{} on parameter names.
36081 (getutmpx): Likewise.
36083 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36086 * manual/stdio.texi (fopen): Fix typos in description of
36089 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
36092 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36093 get clock_id definition.
36095 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
36098 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36099 (madvise): Cast every argument to void on its own.
36101 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36104 * manual/startup.texi (Exit Status): Fix typo.
36106 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36109 * manual/examples/argp-ex1.c: Include <stdlib.h>.
36110 * manual/examples/argp-ex2.c: Likewise.
36111 * manual/examples/argp-ex3.c: Likewise.
36113 2012-02-16 Richard Henderson <rth@redhat.com>
36115 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36116 * sysdeps/s390/s390-32/initfini.c: Remove.
36117 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36118 * sysdeps/s390/s390-64/initfini.c: Remove.
36120 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36122 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36123 compiler output for sysdeps/generic/initfini.c.
36124 * sysdeps/sh/elf/initfini.c: Remove file.
36126 2012-02-16 David S. Miller <davem@davemloft.net>
36129 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36131 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36132 * sysdeps/sparc/crti.S: New file.
36133 * sysdeps/sparc/crtn.S: New file.
36134 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36135 * sysdeps/sparc/sparc64/Makefile: Likewise.
36137 2012-02-15 Mike Frysinger <vapier@gentoo.org>
36140 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36142 2012-02-15 Roland McGrath <roland@hack.frob.com>
36145 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36147 * mach/devstream.c (cookie_io_functions_t): Macro removed.
36148 (write, read, close): Likewise.
36149 Patch by Aurelien Jarno <aurelien@aurel32.net>.
36151 2012-02-15 Joseph Myers <joseph@codesourcery.com>
36153 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36154 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36155 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36156 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36158 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36159 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36162 2012-02-14 Marek Polacek <polacek@redhat.com>
36164 * sysdeps/x86_64/crti.S: New file.
36165 * sysdeps/x86_64/crtn.S: New file.
36166 * sysdeps/x86_64/elf/initfini.c: Remove file.
36168 2012-02-13 Joseph Myers <joseph@codesourcery.com>
36170 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36171 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36172 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36173 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36175 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36176 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36179 2012-02-13 Joseph Myers <joseph@codesourcery.com>
36181 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36182 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36183 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36184 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36186 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36187 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36190 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
36192 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36193 __feraiseexcept instead of feraiseexcept.
36195 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36196 nanosleep invocations.
36197 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36198 strings, and add error checking for a nanosleep invocations.
36200 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
36202 Replace FSF snail mail address with URLs, as per GNU coding standards.
36203 Most of the snail mail addresses were wrong anyway, and omitting
36204 them makes the source code easier to maintain. Almost all of the
36205 changes are to license notices and to locale LC_IDENTIFICATION
36206 addresses, except for this one:
36207 * manual/libc.texinfo: In "Published by", give the FSF's URL,
36208 not its snail mail address.
36210 2012-02-09 Richard Henderson <rth@twiddle.net>
36212 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36213 of kernel-features.h.
36215 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36217 2012-02-08 Marek Polacek <polacek@redhat.com>
36219 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36220 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36221 * sysdeps/gnu/_G_config.h: Likewise.
36222 * sysdeps/generic/_G_config.h: Likewise.
36224 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
36226 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36230 * sysdeps/powerpc/powerpc32/crti.S: New file.
36231 * sysdeps/powerpc/powerpc32/crtn.S: New file.
36232 * sysdeps/powerpc/powerpc64/crti.S: New file.
36233 * sysdeps/powerpc/powerpc64/crtn.S: New file.
36235 * Makeconfig (have-initfini): Don't set.
36236 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36237 * configure.in (nopic_initfini): Don't substitute.
36238 * config.h.in (HAVE_INITFINI): Don't #undef.
36239 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36240 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36242 2012-02-08 Joseph Myers <joseph@codesourcery.com>
36244 Support crti.S and crtn.S provided directly by architectures.
36245 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
36246 [crti.S in sysdirs] (omit-deps): Likewise.
36247 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
36248 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
36249 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
36250 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
36251 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
36252 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
36253 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
36254 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
36255 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
36256 compiler output for sysdeps/generic/initfini.c.
36257 * sysdeps/i386/elf/Makefile: Remove file.
36258 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
36260 2012-02-07 Marek Polacek <polacek@redhat.com>
36262 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
36263 * sysdeps/gnu/_G_config.h: Likewise.
36264 * sysdeps/mach/hurd/_G_config.h: Likewise.
36266 2012-02-07 Marek Polacek <polacek@redhat.com>
36268 * math/Makefile (tests): Add tst-CMPLX2.
36269 * math/tst-CMPLX2.c: New file.
36271 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
36273 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36275 * math/libm-test.inc (jn_test): Add missing L suffix.
36277 2012-02-06 Marek Polacek <polacek@redhat.com>
36279 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
36280 * sysdeps/i386/fpu/e_powf.S: Likewise.
36281 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36282 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36283 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36284 * sysdeps/i386/fpu/e_pow.S: Likewise.
36285 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36286 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36287 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36288 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36289 * sysdeps/i386/fpu/e_log2.S: Likewise.
36290 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36291 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36292 * sysdeps/i386/fpu/e_powl.S: Likewise.
36293 * sysdeps/i386/fpu/s_log1p.S: Likewise.
36294 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36295 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36296 * sysdeps/i386/fpu/e_logl.S: Likewise.
36297 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36298 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
36299 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36300 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36301 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36302 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36303 * sysdeps/i386/fpu/e_log.S: Likewise.
36304 * sysdeps/i386/fpu/s_cexp.S: Likewise.
36305 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36306 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
36307 * sysdeps/i386/fpu/e_logf.S: Likewise.
36308 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36309 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36310 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
36311 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36312 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36313 * sysdeps/i386/fpu/e_log10.S: Likewise.
36314 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36315 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36316 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36317 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36318 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36319 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36320 * sysdeps/i386/asm-syntax.h: Likewise.
36321 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36322 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36323 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36324 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
36325 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
36326 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36327 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36328 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36329 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36330 * sysdeps/powerpc/sysdep.h: Likewise.
36331 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
36332 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36334 2012-02-06 Joseph Myers <joseph@codesourcery.com>
36337 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
36339 2012-02-06 Joseph Myers <joseph@codesourcery.com>
36341 * sysdeps/i386/sysdep.h: Include <features.h>.
36342 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
36345 2012-02-05 Joseph Myers <joseph@codesourcery.com>
36347 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
36349 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
36352 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36354 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
36355 (SETUP_PIC_REG): Use GET_PC_THUNK.
36356 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
36359 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36361 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
36362 for non-PIC compilation.
36363 (SETUP_PIC_REG): Add .p2align directive.
36364 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
36365 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36366 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36367 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36368 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36369 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36370 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36371 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36372 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36373 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36374 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36375 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36376 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36377 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36378 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36379 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36380 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36381 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36382 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36383 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36384 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36385 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36386 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36387 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36388 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36389 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36390 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36391 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36392 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36393 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36394 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36395 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36396 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36397 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36398 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36399 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36400 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36401 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36402 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36403 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36404 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36406 2012-02-03 Joseph Myers <joseph@codesourcery.com>
36408 * math/tst-CMPLX.c: Include <stdio.h>.
36410 2012-01-31 Joseph Myers <joseph@codesourcery.com>
36412 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
36414 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36415 * sysdeps/sparc/bits/mathdef.h: Likewise.
36417 2012-01-31 Marek Polacek <polacek@redhat.com>
36419 * libio/libio.h: Don't define _PARAMS.
36420 * locale/programs/config.h: Don't define PARAMS.
36421 * stdlib/strtol_l.c: Likewise.
36422 (__strtol_l): Remove PARAMS from the prototype.
36424 2012-01-31 Ulrich Drepper <drepper@gmail.com>
36426 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
36427 names. Just use the correct names. Remove unnecessary wrapper
36429 * malloc/arena.c: Likewise.
36430 * malloc/hooks.c: Likewise.
36432 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
36433 ARENA_TEST says not to. Simplify test for creation of a new arena.
36434 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
36436 2012-01-30 Ulrich Drepper <drepper@gmail.com>
36438 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
36440 (update_get_addr): New function.
36441 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
36442 GET_ADDR_MODULE parameter.
36444 2012-01-30 Joseph Myers <joseph@codesourcery.com>
36446 * crypt/cert.c: Remove __STDC__ conditionals.
36447 * crypt/crypt-entry.c: Likewise.
36448 * crypt/crypt_util.c: Likewise.
36449 * libio/filedoalloc.c: Likewise.
36450 * libio/fileops.c: Likewise.
36451 * libio/genops.c: Likewise.
36452 * libio/iofclose.c: Likewise.
36453 * libio/iofdopen.c: Likewise.
36454 * libio/iofopen.c: Likewise.
36455 * libio/iofopen64.c: Likewise.
36456 * libio/iogetdelim.c: Likewise.
36457 * libio/iopopen.c: Likewise.
36458 * libio/obprintf.c: Likewise.
36459 * libio/oldfileops.c: Likewise.
36460 * libio/oldiofclose.c: Likewise.
36461 * libio/oldiofdopen.c: Likewise.
36462 * libio/oldiofopen.c: Likewise.
36463 * libio/oldiopopen.c: Likewise.
36464 * libio/wfiledoalloc.c: Likewise.
36465 * libio/wgenops.c: Likewise.
36466 * locale/programs/xmalloc.c: Likewise.
36467 * misc/syslog.c: Likewise.
36468 * stdio-common/xbug.c: Likewise.
36469 * string/memchr.c: Likewise.
36470 * string/memcmp.c: Likewise.
36471 * string/memrchr.c: Likewise.
36472 * string/rawmemchr.c: Likewise.
36473 * sysdeps/posix/getcwd.c: Likewise.
36474 * time/strftime_l.c: Likewise.
36476 2012-01-30 Joseph Myers <joseph@codesourcery.com>
36478 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
36479 * config.make.in (config-cflags-sse2avx): Define.
36480 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36483 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
36485 * scripts/config.guess: Update from upstream config git repository.
36486 * scripts/config.sub: Likewise.
36488 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
36490 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36492 (R_TILEPRO_*, R_TILEGX_*): New macros.
36494 * scripts/firstversions.awk: Fix bug in version range handling.
36496 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36498 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
36500 * include/sys/epoll.h: New file.
36501 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
36504 2012-01-28 Ulrich Drepper <drepper@gmail.com>
36506 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
36507 Avoid unnecessary __WORDSIZE == 64 test.
36508 (fmaxf): Use VEX format if possible.
36513 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
36514 * math/math_private.h: Remove libc_fegetround* and
36516 * sysdeps/i386/configure.in: Check for -msse2avx.
36517 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
36518 also if SSE2AVX is defined.
36519 Remove libc_fegetround* and libc_fesetround*.
36520 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
36521 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
36522 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
36524 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36525 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36526 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36527 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36528 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36530 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
36532 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36534 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
36536 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36538 2012-01-27 Ulrich Drepper <drepper@gmail.com>
36541 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
36543 * Makeconfig (libm): Define.
36544 * elf/Makefile: Add rules to build and run tst-relsort1.
36545 * elf/tst-relsort1.c: New file.
36546 * elf/tst-relsort1mod1.c: New file.
36547 * elf/tst-relsort1mod2.c: New file.
36549 2012-01-27 Joseph Myers <joseph@codesourcery.com>
36551 * math/s_ldexp.c: Remove __STDC__ conditionals.
36552 * math/s_ldexpf.c: Likewise.
36553 * math/s_ldexpl.c: Likewise.
36554 * math/s_nextafter.c: Likewise.
36555 * math/s_nexttowardf.c: Likewise.
36556 * math/s_significand.c: Likewise.
36557 * math/s_significandf.c: Likewise.
36558 * math/s_significandl.c: Likewise.
36559 * math/w_jnl.c: Likewise.
36560 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36561 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36562 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36563 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36564 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36565 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36566 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36567 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36568 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36569 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36570 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36571 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36572 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36573 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36574 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36575 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36576 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36577 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36578 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36579 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36580 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36581 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36582 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36583 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36584 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36585 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36586 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36587 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36588 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36589 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36590 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36591 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36592 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36593 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36594 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36595 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36596 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36597 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36598 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36599 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36600 * sysdeps/ieee754/k_standard.c: Likewise.
36601 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36602 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36603 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36604 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36605 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36606 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36607 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36608 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36609 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36610 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36611 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36612 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36613 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36614 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36615 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36616 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36617 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36618 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36619 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36620 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36621 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36622 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36623 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36624 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36625 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36626 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36627 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36628 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36629 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36630 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36631 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36632 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36633 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36634 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36635 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36636 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36637 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36638 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36639 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36640 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36641 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36642 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36643 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36644 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36645 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36646 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36647 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36648 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36649 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36650 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36651 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36652 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36653 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36654 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36655 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36656 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36657 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36658 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36659 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36660 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36661 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36662 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36663 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36664 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36665 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36666 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36667 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36668 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36669 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36670 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36671 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36672 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36673 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36674 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36675 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36676 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36677 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36678 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36679 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36680 * sysdeps/ieee754/s_matherr.c: Likewise.
36681 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36682 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36683 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36684 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36686 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36688 * crypt/md5.h: Remove __STDC__ conditionals.
36689 * libio/libioP.h: Likewise.
36690 * locale/programs/config.h: Likewise.
36691 * sysdeps/generic/sysdep.h: Likewise.
36692 * sysdeps/i386/asm-syntax.h: Likewise.
36693 * sysdeps/s390/asm-syntax.h: Likewise.
36694 * sysdeps/unix/sysdep.h: Likewise.
36695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36698 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36700 * libio/libio.h: Remove __STDC__ conditionals.
36701 * malloc/obstack.h: Likewise.
36702 * math/complex.h: Likewise.
36703 * math/math.h: Likewise.
36704 * sysdeps/generic/_G_config.h: Likewise.
36705 * sysdeps/gnu/_G_config.h: Likewise.
36706 * sysdeps/mach/hurd/_G_config.h: Likewise.
36707 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36708 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36709 * sysdeps/sparc/bits/mathdef.h: Likewise.
36711 2012-01-26 Ulrich Drepper <drepper@gmail.com>
36714 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
36715 Clean up HAS_* macros.
36716 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
36717 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36719 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36721 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36722 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36723 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36724 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36725 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36727 2012-01-25 Joseph Myers <joseph@codesourcery.com>
36729 * elf/tst-unique3.cc (gets): Remove declaration.
36730 * elf/tst-unique3lib.cc (gets): Likewise.
36731 * elf/tst-unique3lib2.cc (gets): Likewise.
36732 * elf/tst-unique4.cc (gets): Likewise.
36734 2012-01-24 Ulrich Drepper <drepper@gmail.com>
36736 * include/stdio.h: Add C++ protection. Add gets declarations and
36738 * debug/tst-chk1.c: Don't declare gets here.
36739 * stdio-common/tst-gets.c: Likewise.
36741 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36743 * posix/glob: Remove directory.
36745 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36747 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36749 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36751 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36752 of the non-standard EPFNOSUPPORT.
36754 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36756 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36757 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36758 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36760 2012-01-21 Ulrich Drepper <drepper@gmail.com>
36762 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36764 2012-01-20 Ulrich Drepper <drepper@gmail.com>
36766 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36768 * nscd/grpcache.c (cache_addgr): Likewise.
36769 * nscd/hstcache.c (cache_addhst): Likewise.
36770 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36771 * nscd/pwdcache.c (cache_addpw): Likewise.
36772 * nscd/servicescache.c (cache_addserv): Likewise.
36774 2012-01-16 Ulrich Drepper <drepper@gmail.com>
36776 * malloc/malloc.c: Various cleanups.
36777 * malloc/hooks.c: Likewise.
36779 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36780 * stdlib/bug-fmtmsg1.c: New file.
36782 * stdlib/fmtmsg.c (init): Add missing unlock.
36783 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36785 2012-01-12 Marek Polacek <polacek@redhat.com>
36787 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36790 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36792 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36793 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36794 macro to ensure uniqueness of label name.
36795 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36796 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36798 2012-01-11 Ulrich Drepper <drepper@gmail.com>
36800 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36802 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36803 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36804 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36805 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36807 2012-01-10 Ulrich Drepper <drepper@gmail.com>
36809 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36811 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36812 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36813 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36815 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36817 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36818 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36819 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36820 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36822 * math/bits/math-finite.h: Add ldexp support.
36824 2012-01-10 Marek Polacek <polacek@redhat.com>
36826 * locale/programs/localedef.h (show_archive_content): Add noreturn
36829 2012-01-09 Ulrich Drepper <drepper@gmail.com>
36831 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36833 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36835 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36837 * io/Makefile (headers): Add bits/poll2.h.
36839 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36842 typo #include statement.
36844 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36846 * include/sys/cdefs.h: Define __attribute_alloc_size.
36847 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36848 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36849 * elf/pldd.c: Likewise.
36850 * iconv/iconv_charmap.c: Likewise.
36851 * iconv/iconvconfig.c: Likewise.
36852 * iconv/strtab.c: Likewise.
36853 * locale/programs/locale.c: Likewise.
36854 * locale/programs/localedef.h: Likewise.
36855 * locale/programs/simple-hash.c: Likewise.
36856 * nscd/nscd.h: Likewise.
36857 * nss/makedb.c: Likewise.
36858 * sysdeps/generic/ldconfig.h: Likewise.
36859 * locale/programs/localedef.c: Remove xmalloc prototype.
36860 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36862 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36864 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36867 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36869 * math/Makefile (tests): Add tst-CMPLX.
36870 * math/tst-CMPLX.c: New file.
36872 * math/complex.h (CMPLXL): Fix typo.
36874 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36875 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36877 * debug/tst-chk1.c: Add poll and ppoll tests.
36878 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36879 * include/sys/poll.h: Add hidden proto for ppoll.
36880 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36881 * sysdeps/mach/hurd/ppoll.c: Likewise.
36882 * io/ppoll.c: Likewise.
36883 * debug/poll_chk.c: New file.
36884 * debug/ppoll_chk.c: New file.
36885 * include/bits/poll2.h: New file.
36886 * io/bits/poll2.h: New file.
36889 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36891 * configure.in: static is always set to yes. Remove.
36892 * config.make.in: Don't set build-static.
36893 * Makeconfig: Remove use of build-static.
36894 * dlfcn/Makefile: Likewise.
36895 * elf/Makefile: Likewise.
36896 * math/Makefile: Likewise.
36897 * misc/Makefile: Likewise.
36898 * nptl/Makefile: Likewise.
36899 * sysdeps/mach/hurd/Makefile: Likewise.
36901 * configure.in: PWD_P is not used anymore.
36902 * config.make.in: Remove PWD_P entry.
36904 * configure.in: Remove last remnants of RANLIB.
36905 No need to check for signed size_t anymore.
36906 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36908 Remove __builtin_expect test because we require at least gcc 3.4.
36909 * aclocal.m4: Likewise.
36911 * wcsmbs/mbrtoc16.c: Implement using towc function.
36912 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36913 * wcsmbs/wcsmbsload.c: Likewise.
36914 * iconv/gconv_simple.c: Likewise.
36915 * iconv/gconv_int.h: Likewise.
36916 * iconv/gconv_builtin.h: Likewise.
36917 * iconv/iconv_prog.c: Remove CHAR16 handling.
36919 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36921 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36923 * configure.in: Remove --with-elf and --enable-bounded options.
36924 Dont set base_machine for ia64. More non-ELF conditions removed.
36925 Remove testing and setting of leading underscore information.
36926 * config.make.in (build-bounded): Set to no.
36927 * config.h.in: Remove NO_UNDERSCORES entry.
36928 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36930 * csu/start.c: Remove !NO_UNDERSCORE code.
36931 * locale/localeinfo.h: Likewise.
36932 * sysdeps/generic/machine-gmon.h: Likewise.
36933 * sysdeps/generic/sysdep.h: Likewise.
36934 * sysdeps/i386/sysdep.h: Likewise.
36935 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36936 * sysdeps/mach/sysdep.h: Likewise.
36937 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36938 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36939 * sysdeps/sh/sysdep.h: Likewise.
36940 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36941 * sysdeps/unix/i386/sysdep.S: Likewise.
36942 * sysdeps/unix/sparc/start.c: Likewise.
36943 * sysdeps/unix/sparc/sysdep.S: Likewise.
36944 * sysdeps/unix/sparc/sysdep.h: Likewise.
36945 * sysdeps/unix/start.c: Likewise.
36946 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36947 * sysdeps/x86_64/sysdep.h: Likewise.
36949 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36952 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36954 * argp/argp-fmtstream.h: Use const instead __const.
36955 * argp/argp.h: Likewise.
36956 * assert/assert.h: Likewise.
36957 * bits/fenv.h: Likewise.
36958 * bits/sched.h: Likewise.
36959 * bits/sigset.h: Likewise.
36960 * bits/sigthread.h: Likewise.
36961 * catgets/nl_types.h: Likewise.
36962 * conform/data/pthread.h-data: Likewise.
36963 * crypt/crypt-private.h: Likewise.
36964 * crypt/crypt.h: Likewise.
36965 * crypt/crypt_util.c: Likewise.
36966 * ctype/ctype.h: Likewise.
36967 * debug/execinfo.h: Likewise.
36968 * debug/mbsnrtowcs_chk.c: Likewise.
36969 * debug/mbsrtowcs_chk.c: Likewise.
36970 * debug/wcsnrtombs_chk.c: Likewise.
36971 * debug/wcsrtombs_chk.c: Likewise.
36972 * debug/wcstombs_chk.c: Likewise.
36973 * dirent/dirent.h: Likewise.
36974 * dlfcn/dlfcn.h: Likewise.
36975 * elf/neededtest4.c: Likewise.
36976 * grp/grp.h: Likewise.
36977 * gshadow/gshadow.h: Likewise.
36978 * iconv/gconv.h: Likewise.
36979 * iconv/gconv_int.h: Likewise.
36980 * iconv/gconv_simple.c: Likewise.
36981 * iconv/iconv.h: Likewise.
36982 * iconv/loop.c: Likewise.
36983 * iconv/skeleton.c: Likewise.
36984 * include/aio.h: Likewise.
36985 * include/aliases.h: Likewise.
36986 * include/argz.h: Likewise.
36987 * include/arpa/inet.h: Likewise.
36988 * include/assert.h: Likewise.
36989 * include/dirent.h: Likewise.
36990 * include/dlfcn.h: Likewise.
36991 * include/execinfo.h: Likewise.
36992 * include/fcntl.h: Likewise.
36993 * include/fenv.h: Likewise.
36994 * include/glob.h: Likewise.
36995 * include/grp.h: Likewise.
36996 * include/libintl.h: Likewise.
36997 * include/mntent.h: Likewise.
36998 * include/netdb.h: Likewise.
36999 * include/pwd.h: Likewise.
37000 * include/rpc/netdb.h: Likewise.
37001 * include/sched.h: Likewise.
37002 * include/search.h: Likewise.
37003 * include/shadow.h: Likewise.
37004 * include/signal.h: Likewise.
37005 * include/stdio.h: Likewise.
37006 * include/stdlib.h: Likewise.
37007 * include/string.h: Likewise.
37008 * include/sys/socket.h: Likewise.
37009 * include/sys/stat.h: Likewise.
37010 * include/sys/statfs.h: Likewise.
37011 * include/sys/statvfs.h: Likewise.
37012 * include/sys/syslog.h: Likewise.
37013 * include/sys/time.h: Likewise.
37014 * include/sys/uio.h: Likewise.
37015 * include/time.h: Likewise.
37016 * include/unistd.h: Likewise.
37017 * include/utmp.h: Likewise.
37018 * include/wchar.h: Likewise.
37019 * include/wctype.h: Likewise.
37020 * inet/aliases.h: Likewise.
37021 * inet/arpa/inet.h: Likewise.
37022 * inet/netinet/ether.h: Likewise.
37023 * inet/netinet/in.h: Likewise.
37024 * intl/libintl.h: Likewise.
37025 * io/bits/fcntl2.h: Likewise.
37026 * io/fcntl.h: Likewise.
37027 * io/ftw.h: Likewise.
37028 * io/sys/poll.h: Likewise.
37029 * io/sys/stat.h: Likewise.
37030 * io/sys/statfs.h: Likewise.
37031 * io/sys/statvfs.h: Likewise.
37032 * io/utime.h: Likewise.
37033 * libio/bits/stdio.h: Likewise.
37034 * libio/bits/stdio2.h: Likewise.
37035 * libio/libio.h: Likewise.
37036 * libio/libioP.h: Likewise.
37037 * libio/stdio.h: Likewise.
37038 * locale/lc-ctype.c: Likewise.
37039 * locale/locale.h: Likewise.
37040 * login/utmp.h: Likewise.
37041 * malloc/arena.c: Likewise.
37042 * malloc/malloc.c: Likewise.
37043 * malloc/malloc.h: Likewise.
37044 * malloc/mcheck.c: Likewise.
37045 * malloc/mtrace.c: Likewise.
37046 * math/bits/mathcalls.h: Likewise.
37047 * math/fenv.h: Likewise.
37048 * math/math_private.h: Likewise.
37049 * misc/bits/error.h: Likewise.
37050 * misc/bits/syslog.h: Likewise.
37051 * misc/err.h: Likewise.
37052 * misc/error.h: Likewise.
37053 * misc/fstab.h: Likewise.
37054 * misc/mntent.h: Likewise.
37055 * misc/regexp.h: Likewise.
37056 * misc/search.h: Likewise.
37057 * misc/sgtty.h: Likewise.
37058 * misc/sys/mman.h: Likewise.
37059 * misc/sys/syslog.h: Likewise.
37060 * misc/sys/uio.h: Likewise.
37061 * misc/sys/xattr.h: Likewise.
37062 * misc/ttyent.h: Likewise.
37063 * nis/rpcsvc/ypclnt.h: Likewise.
37064 * nss/nss.h: Likewise.
37065 * posix/bits/unistd.h: Likewise.
37066 * posix/fnmatch.h: Likewise.
37067 * posix/glob.h: Likewise.
37068 * posix/sched.h: Likewise.
37069 * posix/spawn.h: Likewise.
37070 * posix/sys/wait.h: Likewise.
37071 * posix/unistd.h: Likewise.
37072 * posix/wordexp.h: Likewise.
37073 * pwd/pwd.h: Likewise.
37074 * resolv/netdb.h: Likewise.
37075 * resource/sys/resource.h: Likewise.
37076 * rt/aio.h: Likewise.
37077 * rt/bits/mqueue2.h: Likewise.
37078 * rt/mqueue.h: Likewise.
37079 * shadow/shadow.h: Likewise.
37080 * signal/signal.h: Likewise.
37081 * socket/send.c: Likewise.
37082 * socket/sendto.c: Likewise.
37083 * socket/sys/socket.h: Likewise.
37084 * stdio-common/printf.h: Likewise.
37085 * stdlib/bits/stdlib.h: Likewise.
37086 * stdlib/fmtmsg.h: Likewise.
37087 * stdlib/monetary.h: Likewise.
37088 * stdlib/stdlib.h: Likewise.
37089 * stdlib/ucontext.h: Likewise.
37090 * streams/stropts.h: Likewise.
37091 * string/argz.h: Likewise.
37092 * string/bits/string2.h: Likewise.
37093 * string/string.h: Likewise.
37094 * string/strings.h: Likewise.
37095 * sunrpc/rpc/auth.h: Likewise.
37096 * sunrpc/rpc/auth_des.h: Likewise.
37097 * sunrpc/rpc/clnt.h: Likewise.
37098 * sunrpc/rpc/netdb.h: Likewise.
37099 * sunrpc/rpc/pmap_clnt.h: Likewise.
37100 * sunrpc/rpc/xdr.h: Likewise.
37101 * sysdeps/generic/inttypes.h: Likewise.
37102 * sysdeps/generic/net/if.h: Likewise.
37103 * sysdeps/generic/sys/swap.h: Likewise.
37104 * sysdeps/gnu/net/if.h: Likewise.
37105 * sysdeps/gnu/utmpx.h: Likewise.
37106 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37107 * sysdeps/i386/i486/bits/string.h: Likewise.
37108 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37109 * sysdeps/s390/bits/string.h: Likewise.
37110 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37111 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37112 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37113 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37114 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37115 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37116 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37117 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37118 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37119 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37120 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37121 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37122 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37123 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37124 * sysdeps/unix/sysv/linux/readv.c: Likewise.
37125 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37126 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37127 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37128 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37129 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37130 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37131 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37132 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37133 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37134 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37135 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37136 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37137 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37138 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37139 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37140 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37141 * sysvipc/sys/ipc.h: Likewise.
37142 * sysvipc/sys/msg.h: Likewise.
37143 * sysvipc/sys/sem.h: Likewise.
37144 * sysvipc/sys/shm.h: Likewise.
37145 * termios/termios.h: Likewise.
37146 * time/sys/time.h: Likewise.
37147 * time/time.h: Likewise.
37148 * wcsmbs/bits/wchar2.h: Likewise.
37149 * wcsmbs/uchar.h: Likewise.
37150 * wcsmbs/wchar.h: Likewise.
37151 * wctype/wctype.h: Likewise.
37154 * Makeconfig: Remove all but ELF support including AIX support.
37155 * Makerules: Likewise.
37156 * config.h.in: Likewise.
37157 * config.make.in: Likewise.
37158 * configure: Likewise.
37159 * configure.in: Likewise.
37160 * csu/Makefile: Likewise.
37161 * csu/version.c: Likewise.
37162 * debug/Makefile: Likewise.
37163 * dlfcn/Makefile: Likewise.
37164 * elf/Makefile: Likewise.
37165 * extra-lib.mk: Likewise.
37166 * iconv/Makefile: Likewise.
37167 * include/libc-symbols.h: Likewise.
37168 * include/shlib-compat.h: Likewise.
37169 * resolv/Makefile: Likewise.
37170 * resolv/res_libc.c: Likewise.
37171 * rt/Makefile: Likewise.
37172 * sysdeps/i386/asm-syntax.h: Likewise.
37173 * sysdeps/i386/sysdep.h: Likewise.
37174 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37175 * sysdeps/mach/sysdep.h: Likewise.
37176 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37177 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37178 * sysdeps/s390/asm-syntax.h: Likewise.
37179 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37180 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37181 * sysdeps/sh/sysdep.h: Likewise.
37182 * sysdeps/unix/sparc/sysdep.h: Likewise.
37183 * sysdeps/wordsize-32/divdi3.c: Likewise.
37184 * sysdeps/x86_64/sysdep.h: Likewise.
37186 * argp/Versions: Remove _argp_unlock_xxx.
37189 * abilist/ld.abilist: Update. Adjust for removal of tls option.
37190 * abilist/libBrokenLocale.abilist: Likewise.
37191 * abilist/libanl.abilist: Likewise.
37192 * abilist/libc.abilist: Likewise.
37193 * abilist/libcrypt.abilist: Likewise.
37194 * abilist/libdl.abilist: Likewise.
37195 * abilist/libm.abilist: Likewise.
37196 * abilist/libnsl.abilist: Likewise.
37197 * abilist/libpthread.abilist: Likewise.
37198 * abilist/libresolv.abilist: Likewise.
37199 * abilist/librt.abilist: Likewise.
37200 * abilist/libthread_db.abilist: Likewise.
37201 * abilist/libutil.abilist: Likewise.
37202 * abilist/libnss_db.abilist: New file.
37204 * scripts/abilist.awk: Add support for indirect functions.
37206 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37208 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37210 * shlib-versions: Remove entries for ports architectures.
37212 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
37214 * elf/stackguard-macros.h: Remove support for IA-64.
37215 * elf/tst-auditmod1.c: Likewise.
37216 * sysdeps/generic/ldsodefs.h: Likewise.
37218 * sysdeps/unix/sysv/linux/configure.in: Ports should define
37219 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37223 * configure.in: Remove --enable-omitfp support.
37225 * config.make.in: Likewise.
37226 * Makeconfig: Likewise.
37227 * manual/install.texi: Likewise.
37229 In case anyone cares, the IA-64 architecture could move to ports.
37230 * sysdeps/ia64/*: Removed.
37231 * sysdeps/unix/sysv/linux/ia64/*: Removed.
37232 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
37235 * configure.in: Remove entries for unsupported architectures.
37238 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37239 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
37241 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37242 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37243 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
37244 fall back to using wcrtomb.
37245 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
37246 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
37248 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
37249 * wcsmbs/tst-c16c32-1.c: New file.
37251 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
37254 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
37256 * elf/tst-unique3.cc: Add explicit declaration of gets.
37257 * elf/tst-unique3lib.cc: Likewise.
37258 * elf/tst-unique3lib2.cc: Likewise.
37259 * elf/tst-unique4.cc: Likewise.
37261 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
37263 2012-01-06 Joseph Myers <joseph@codesourcery.com>
37266 * assert/assert.h (static_assert): Don't define for C++.
37267 * libio/stdio.h (gets): Do declare for C++ <= C++11.
37268 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
37270 2012-01-03 Ulrich Drepper <drepper@gmail.com>
37272 * iconv/loop.c (single loop): Fix assertion in storing of
37275 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
37277 2012-01-01 Ulrich Drepper <drepper@gmail.com>
37279 * posix/getconf.c: Update copyright year.
37280 * nss/getent.c: Likewise.
37281 * nss/makedb.c: Likewise.
37282 * iconv/iconvconfig.c: Likewise.
37283 * iconv/iconv_prog.c: Likewise.
37284 * elf/ldconfig.c: Likewise.
37285 * elf/pldd.c: Likewise.
37286 * elf/sotruss.ksh: Likewise.
37287 * catgets/gencat.c: Likewise.
37288 * csu/version.c: Likewise.
37289 * elf/ldd.bash.in: Likewise.
37290 * elf/sprof.c (print_version): Likewise.
37291 * locale/programs/locale.c: Likewise.
37292 * locale/programs/localedef.c: Likewise.
37293 * login/programs/pt_chown.c: Likewise.
37294 * nscd/nscd.c (print_version): Likewise.
37295 * debug/xtrace.sh: Likewise.
37296 * malloc/memusage.sh: Likewise.
37297 * malloc/mtrace.pl: Likewise.
37298 * debug/catchsegv.sh: Likewise.
37300 2011-12-30 Jakub Jelinek <jakub@redhat.com>
37302 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
37305 2011-12-24 Ulrich Drepper <drepper@gmail.com>
37308 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
37309 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
37311 * iconv/gconv_int.h: Likewise.
37312 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
37313 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
37314 from libc for GLIBC_2.16.
37315 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
37316 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
37317 * wcsmbs/uchar.h: Really define mbstate_t.
37318 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
37319 * wcsmbs/c16rtomb.c: New file.
37320 * wcsmbs/mbrtoc16.c: New file.
37321 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
37322 for C/POSIX locale.
37323 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
37324 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
37326 * wcsmbs/wchar.h: Add missing __restrict.
37328 2011-12-23 Ulrich Drepper <drepper@gmail.com>
37331 * time/Makefile (routines): Add timespec_get.
37332 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
37333 * time/time.h: Define TIME_UTC and declare timespec_get. Define
37334 timespec for ISO C11.
37335 * time/timespec_get.c: New file.
37336 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
37337 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
37340 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37341 * stdlib/stdlib.h: Declare aligned_alloc.
37342 * Versions.def: Add GLIBC_2.16 for libc.
37343 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
37346 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
37349 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
37353 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
37356 * assert/assert.h (static_assert): Define.
37358 * version.h: Update for 2.16 development version.
37361 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
37364 * version.h (RELEASE): Bump for 2.15 release.
37365 * include/features.h (__GLIBC_MINOR__): Bump to 15.
37367 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
37368 Patch by Marek Polacek <mpolacek@redhat.com>.
37370 * bits/byteswap.h: Protect long long constants with __extension__.
37371 * sysdeps/i386/bits/byteswap.h: Likewise.
37372 * sysdeps/ia64/bits/byteswap.h: Likewise.
37373 * sysdeps/s390/bits/byteswap.h: Likewise.
37374 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37376 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37379 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37380 destination buffer.
37381 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37383 2011-12-23 Marek Polacek <polacek@redhat.com>
37385 * elf/dl-addr.c (determine_info): Add inline keyword.
37386 * elf/tst-auditmod4b.c (check_avx): Likewise.
37387 * elf/tst-auditmod6b.c (check_avx): Likewise.
37388 * elf/tst-auditmod6c.c (check_avx): Likewise.
37389 * elf/tst-auditmod7b.c (check_avx): Likewise.
37391 2011-12-23 Ulrich Drepper <drepper@gmail.com>
37393 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
37396 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37399 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
37400 processing for last bytes.
37402 2011-08-06 Bruno Haible <bruno@clisp.org>
37405 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
37406 U+0385, not to U+1FEE.
37409 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
37410 entry for U+00A5 U+0301.
37412 2011-12-22 Ulrich Drepper <drepper@gmail.com>
37415 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
37416 buffer for the output is too small.
37418 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
37422 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
37423 SSE flags if possible.
37425 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37428 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
37429 processing for last bytes.
37431 2011-12-22 Joseph Myers <joseph@codesourcery.com>
37433 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
37434 (syscall-list-default-options, syscall-list-default-condition)
37435 (syscall-list-includes): Define.
37436 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
37437 list of ABIs and options and #if conditions for each ABI. Do not
37438 handle common syscalls between ABIs specially.
37439 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
37441 (syscall-list-variants, syscall-list-32bit-options)
37442 (syscall-list-32bit-condition, syscall-list-64bit-options)
37443 (syscall-list-64bit-condition): Define.
37444 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
37445 (syscall-list-variants, syscall-list-32bit-options)
37446 (syscall-list-32bit-condition, syscall-list-64bit-options)
37447 (syscall-list-64bit-condition): Define.
37448 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
37450 (syscall-list-variants, syscall-list-32bit-options)
37451 (syscall-list-32bit-condition, syscall-list-64bit-options)
37452 (syscall-list-64bit-condition): Define.
37453 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
37455 (syscall-list-variants, syscall-list-32bit-options)
37456 (syscall-list-32bit-condition, syscall-list-64bit-options)
37457 (syscall-list-64bit-condition): Define.
37459 2011-12-22 Ulrich Drepper <drepper@gmail.com>
37461 * locale/iso-639.def: Add brx entry.
37464 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37465 Proposed by Mariusz_Cukr <marcukr@op.pl>.
37467 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37468 __feraiseexcept_renamed.
37470 2011-12-21 Ulrich Drepper <drepper@gmail.com>
37473 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37474 EPOLLET with unsigned values.
37475 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37476 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37478 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37479 to large cancellation.
37480 * math/s_cacoshf.c: Likewise.
37481 * math/s_cacoshl.c: Likewise.
37483 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
37487 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37488 * math/s_cacoshf.c: Likewise.
37489 * math/s_cacoshl.c: Likewise.
37491 2011-12-21 Ulrich Drepper <drepper@gmail.com>
37494 * iconv/gconv.h: Define __GCONV_SWAP.
37495 * iconvdata/unicode.c: The swap bit must be stored in __flags.
37496 * iconvdata/utf-16.c: Likewise.
37497 * iconvdata/utf-32.c: Likewise.
37499 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
37502 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
37503 numerator after shifting it by one limb.
37505 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
37507 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
37508 under [__USE_EXTERN_INLINES].
37510 2011-12-17 Ulrich Drepper <drepper@gmail.com>
37513 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
37515 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37517 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
37518 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
37520 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
37521 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
37522 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
37523 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
37524 for strncasecmp/strncasecmp_l compilation.
37525 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
37526 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
37528 2011-12-08 Marek Polacek <mpolacek@redhat.com>
37531 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
37534 2011-12-17 Ulrich Drepper <drepper@gmail.com>
37537 * time/tzfile.c (__tzfile_read): Check values from file header.
37539 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37541 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
37542 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
37543 * powerpc/powerpc32/dl-start.S: Likewise.
37544 * powerpc/powerpc32/elf/start.S: Likewise.
37545 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37546 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
37547 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
37548 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
37549 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37550 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37551 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37552 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37553 * powerpc/powerpc32/fpu/s_round.S: Likewise.
37554 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37555 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37556 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37557 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37558 * powerpc/powerpc32/memset.S: Likewise.
37559 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37560 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37561 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37562 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37563 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37564 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37565 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37566 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37567 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37568 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
37569 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
37570 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37571 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37573 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37575 * math/libm-test.inc: Added more nearbyint tests.
37576 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
37577 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
37578 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
37579 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
37581 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
37583 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
37586 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37588 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
37589 Add wcscpy-ssse3 wcscpy-c.
37590 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
37591 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
37592 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
37593 * sysdeps/x86_64/wcschr.S: New file.
37594 * sysdeps/x86_64/wcsrchr.S: New file.
37595 * string/test-strcmp.c: Remove checking of wcscmp function for
37597 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
37598 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
37599 wcsrchr-sse2 wcsrchr-c.
37600 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
37601 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
37602 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
37603 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
37604 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
37605 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
37606 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
37607 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37608 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37609 * wcsmbc/wcschr.c (WCSCHR): New macro.
37611 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37613 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37614 * wcsmbs/test-wcsrchr.c: New file.
37615 * string/test-strrchr.c: Add wcsrchr support.
37617 * wcsmbs/test-wcscpy.c: New file.
37618 * string/test-strcpy.c: Add wcscpy support.
37621 2011-12-10 Ulrich Drepper <drepper@gmail.com>
37623 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37626 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
37629 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37631 2011-12-04 Ulrich Drepper <drepper@gmail.com>
37633 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
37634 Minor optimizations.
37636 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37637 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37638 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37640 2011-12-03 Ulrich Drepper <drepper@gmail.com>
37642 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37643 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37644 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37645 for gcc to avoid warnings.
37646 * inet/Makefile (tests): Add tst-checks.
37647 * inet/tst-checks.c: New file.
37649 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37652 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37655 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37656 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37658 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37660 2011-12-02 Ulrich Drepper <drepper@gmail.com>
37662 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37665 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37667 2011-11-29 Joseph Myers <joseph@codesourcery.com>
37669 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37670 conditional on GCC version.
37671 (__arch_compare_and_exchange_val_8_acq)
37672 (__arch_compare_and_exchange_val_16_acq)
37673 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37674 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37675 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37677 2011-12-02 Joseph Myers <joseph@codesourcery.com>
37679 * sysdeps/sh/backtrace.c: New file.
37681 2011-12-02 Andreas Schwab <schwab@redhat.com>
37683 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37686 2011-12-01 Andreas Schwab <schwab@redhat.com>
37688 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37689 falling back to utime.
37691 2011-11-30 Andreas Schwab <schwab@redhat.com>
37693 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37694 expectations for float.
37696 2011-11-29 Andreas Schwab <schwab@redhat.com>
37698 * locale/weight.h (findidx): Add parameter len.
37699 * locale/weightwc.h (findidx): Likewise.
37700 * posix/fnmatch_loop.c (FCT): Adjust caller.
37701 * posix/regcomp.c (build_equiv_class): Likewise.
37702 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37703 * posix/regexec.c (check_node_accept_bytes): Likewise.
37704 * string/strcoll_l.c (STRCOLL): Likewise.
37705 * string/strxfrm_l.c (STRXFRM): Likewise.
37707 2011-11-17 Ulrich Drepper <drepper@gmail.com>
37709 * Makefile.in: Remove CVSOPT handling.
37710 * configure.in: Remove use of AC_REVISION.
37711 * iconvdata/Makefile (distribute): No need to filter out CVS.
37712 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37715 2011-11-16 Andreas Schwab <schwab@redhat.com>
37717 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37718 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37719 [USE_AS_STRNCASECMP_L]: Likewise.
37720 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37721 NO_TLS_DIRECT_SEG_REFS.
37722 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37723 Fix argument offsets for non-PIC.
37724 [USE_AS_STRNCASECMP_L]: Likewise.
37725 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37726 NO_TLS_DIRECT_SEG_REFS.
37728 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37730 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
37732 * locale/loadlocale.c (_nl_load_locale): Likewise.
37734 2011-11-15 Andreas Schwab <schwab@redhat.com>
37736 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37737 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37738 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37739 (SYSCALL_GETTIME): Set errno on error.
37741 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37742 count references to noai6ai_cached.
37744 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37746 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37748 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37749 FD_CLOEXEC for /proc/self/maps.
37751 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37752 FD_CLOEXEC for /proc/meminfo.
37754 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37757 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37758 FD_CLOEXEC for given file.
37760 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37762 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37763 FD_CLOEXEC for /etc/hosts.
37764 (_gethtent): Likewise.
37766 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37768 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37769 cancellation and set FD_CLOEXEC for /etc/netgroup.
37771 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37772 reading /etc/publickey.
37774 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37775 allow cancellation when reading /etc/group.
37777 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37779 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37781 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37782 when using data file.
37784 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37786 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37787 (write_nis_obj): Use "c" and "e" in fopen.
37789 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37791 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37793 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37795 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37797 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37800 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37802 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37804 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37806 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37807 file parsing and set FD_CLOEXEC.
37809 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37811 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37813 2011-11-14 Andreas Schwab <schwab@redhat.com>
37815 * malloc/arena.c (arena_get2): Don't call reused_arena when
37816 _int_new_arena failed.
37818 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37820 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37821 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37822 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37823 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37824 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37825 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37826 to compile strcasecmp and strncasecmp.
37827 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37828 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37830 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37832 2011-11-13 Ulrich Drepper <drepper@gmail.com>
37834 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37835 locale-defines.sym to gen-as-const-headers.
37836 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37837 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37838 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37839 to compile strcasecmp and strncasecmp.
37840 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37841 strcasecmp_l and strncasecmp_l.
37842 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37843 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37844 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37845 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37846 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37847 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37848 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37849 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37850 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37851 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37852 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37854 2011-11-12 Ulrich Drepper <drepper@gmail.com>
37856 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37857 result of SYSDEP_GETTIME_CPU to retval.
37858 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37859 parameter list to macro. Remove trailing semicolon. Adjust users.
37861 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37864 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37866 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37868 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37869 from unused variable.
37871 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37873 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37876 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37879 * sunrpc/rpc_prot.c (rejected): Fix case value.
37881 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37882 unsigned long long int to avoid warnings in shift.
37884 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37886 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37889 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37890 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37891 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37893 * nis/nis_table.c (nis_list): Use variable of correct type for
37894 result of __follow_path call.
37896 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37898 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37899 of math functions ceil, trunc, floor, round, and sqrt, when
37900 avaliable on the platform.
37901 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37903 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37904 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37905 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37907 2011-10-30 Marek Polacek <mpolacek@redhat.com>
37909 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37910 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37912 2011-11-11 Roland McGrath <roland@hack.frob.com>
37914 * include/unistd.h: Fix __readlink return type.
37915 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37917 2011-11-11 Ulrich Drepper <drepper@gmail.com>
37919 * stdlib/ucontext.h: Undo last change for makecontext.
37921 2011-11-11 Andreas Schwab <schwab@redhat.com>
37923 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37925 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37926 * setjmp/setjmp.h: Mark functions as non-leaf.
37927 * setjmp/bits/setjmp2.h: Likewise.
37928 * stdlib/ucontext.h: Likewise.
37930 2011-11-10 Andreas Schwab <schwab@redhat.com>
37932 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37933 (reused_arena): Don't check arena limit.
37934 (arena_get2): Atomically check arena limit.
37936 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37938 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37939 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37941 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37944 2011-11-07 Andreas Schwab <schwab@redhat.com>
37946 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37947 handler when locking.
37949 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37950 Fix size of allocated buffer.
37952 2011-11-04 Andreas Schwab <schwab@redhat.com>
37955 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37956 declarations for long double functions.
37957 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37959 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37961 2011-11-03 Andreas Schwab <schwab@redhat.com>
37963 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37966 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37969 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37971 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37973 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37975 * include/alloca.h (stackinfo_alloca_round): Define.
37976 (extend_alloca): Use it.
37977 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37978 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37981 * scripts/check-local-headers.sh: Ignore libaudit.h.
37983 * nscd/Makefile (extra-objs): Make recursively expanded.
37985 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37987 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37988 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37990 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37991 * posix/tst-rfc3484-2.c: Likewise.
37992 * posix/tst-rfc3484-3.c: Likewise.
37994 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37996 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37998 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37999 process_vm_writev from libc using GLIBC_2.15 version.
38001 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
38003 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
38005 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
38008 2011-10-31 Ulrich Drepper <drepper@gmail.com>
38011 * nss/getent.c (initgroups_keys): Show error message in case no group
38014 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
38015 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
38016 __bump_nl_timestamp.
38017 * nscd/connections (nscd_init): When host database is served open
38018 netlink socket and request notification about configuration changes.
38019 (main_loop_poll): Track netlink file descriptor and bump timestamp
38020 in case data becomes available.
38021 (main_loop_epoll): Likewise.
38022 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38023 (database_pers_head): Add extra_data fileds.
38024 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38025 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38026 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38028 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38029 in6ai data, call __free_in6ai.
38030 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38031 Add -DHAVE_NETLINK.
38032 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
38033 interface information. Reuse previous data if netlink timestamp
38035 (__bump_nl_timestamp): New function.
38036 (__free_in6ai): New function.
38038 2011-10-30 Ulrich Drepper <drepper@gmail.com>
38040 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38041 close_not_cancel_no_status here.
38042 (__check_pf): Reorganize code a bit to not call close twice if OOM.
38044 2011-10-29 Ulrich Drepper <drepper@gmail.com>
38047 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38050 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
38051 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38052 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38054 2011-07-03 Andreas Jaeger <aj@suse.de>
38057 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38058 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38059 * math/libm-test.inc (sin_test): Add test case.
38061 2011-10-29 Ulrich Drepper <drepper@gmail.com>
38064 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38065 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38067 * elf/chroot_canon.c (chroot_canon): Cleanups.
38069 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38072 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38073 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38075 * string/test-strchr.c: Make usable for strchrnul testing.
38076 * string/test-strchrnul.c: New file.
38077 * string/Makefile (strop-tests): Add strchrnul.
38079 * po/it.po: Update from translation team.
38080 * po/es.po: Likewise.
38082 2011-10-28 Ulrich Drepper <drepper@gmail.com>
38084 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38085 the three constants needed as parameters. Drop the others.
38086 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38087 __m128i_strloadu_tolower.
38088 Create and initialize variable zero and use it in all the places
38089 where _mm_setzero_si128 was used.
38091 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38092 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38093 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38094 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38096 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38097 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38098 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38099 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38100 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38101 __mpranred, __mptan.
38102 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38103 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38104 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38105 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38106 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38107 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38108 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38109 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38110 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38112 2011-10-28 Andreas Schwab <schwab@redhat.com>
38114 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38115 redefine if SHARED.
38116 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38118 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38119 wide char related routines to wcsmbs subdir.
38121 2011-10-27 Andreas Schwab <schwab@redhat.com>
38124 * misc/sys/cdefs.h (__THROWNL): Define.
38125 * posix/unistd.h: Use __THREADNL instead of __THREAD
38126 for memory synchronization functions.
38128 2011-10-26 Roland McGrath <roland@hack.frob.com>
38131 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38133 * manual/stdio.texi (Obstack Streams): Node removed.
38135 2011-10-26 Andreas Schwab <schwab@redhat.com>
38137 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38138 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38139 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38141 * math/math_private.h (math_force_eval): Allow non-addressable
38143 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38145 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38147 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38148 file is not needed.
38150 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38151 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38152 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38153 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38154 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38155 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38156 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38157 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38159 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38160 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38161 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38162 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38163 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38164 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38165 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38166 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38167 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38168 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38169 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38170 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38171 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38172 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38173 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38174 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38175 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38176 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38177 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38179 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38180 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
38182 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38183 place. Use VEX encoding when compiling for AVX.
38185 2011-10-25 Andreas Schwab <schwab@redhat.com>
38187 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38188 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38190 * string/test-strchr.c (do_test): Don't generate NUL bytes.
38192 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38194 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
38195 useless if() expression.
38196 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38197 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38198 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38199 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38200 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38201 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38202 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38203 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38204 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38205 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38206 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38207 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38208 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38209 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38210 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38211 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38212 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38213 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38214 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38216 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38218 2011-10-25 Andreas Schwab <schwab@redhat.com>
38220 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38222 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38224 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38226 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38227 .text section. Avoid duplicate constants.
38228 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38229 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38230 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38231 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38232 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38233 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38234 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38235 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38236 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38237 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38238 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38239 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38240 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38241 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38242 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38243 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38244 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38245 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38246 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38247 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38248 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38249 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38250 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38251 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
38252 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
38253 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
38254 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
38255 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
38256 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
38257 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
38258 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
38259 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
38260 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38261 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
38262 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
38263 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
38264 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
38265 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
38266 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
38267 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
38268 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
38269 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
38270 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
38271 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
38272 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
38274 2011-10-24 Ulrich Drepper <drepper@gmail.com>
38276 * sysdeps/x86_64/dla.h: Move to ...
38277 * sysdeps/x86_64/fpu/dla.h: ...here.
38278 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
38279 situations. Use __builtin_fma only for gcc 4.6 and up.
38281 * config.make.in: Add have-mfma4 entry.
38282 * configure.in: Substitute libc_cv_cc_fma4.
38283 * math/Makefile (dbl-only-routines): Add sincostab.
38284 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
38285 Use __sincostab not sincos.
38286 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
38288 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38289 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38290 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38291 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
38293 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
38294 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
38295 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
38296 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
38298 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
38299 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
38301 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
38302 define aliases when function name is a macro.
38303 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
38304 sysdeps/ieee754/dbl-64/sincos.tbl.
38305 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
38306 fma4-enabled routines.
38307 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
38308 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
38309 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
38310 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
38311 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
38312 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
38313 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
38314 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
38315 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
38316 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
38317 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
38318 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
38319 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
38320 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
38321 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
38322 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
38323 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
38324 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
38325 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
38326 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
38327 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
38328 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
38329 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
38330 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
38331 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
38332 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
38333 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
38334 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
38335 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
38336 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
38338 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
38340 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38341 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38342 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38343 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38344 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38345 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38346 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38347 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38349 2011-10-24 Andreas Schwab <schwab@redhat.com>
38351 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
38353 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38355 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
38357 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
38359 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
38361 * string/strnlen.c: Don't define STRNLEN, reverse logic.
38362 Remove unused variable magic_bits.
38363 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
38365 * string/strnlen.c: Define and use STRNLEN macro.
38366 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
38367 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
38368 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
38369 * wcsmbs/wcslen.c: Define and use WCSLEN.
38370 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
38371 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
38372 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38373 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38374 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38375 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38376 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38378 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38380 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38381 strnlen-sse2-no-bsf.
38382 Rename strlen-no-bsf to strlen-sse2-no-bsf.
38383 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38384 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38385 Add strnlen support.
38386 (USE_AS_STRNLEN): New macro.
38387 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38388 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38389 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
38390 * sysdeps/x86_64/wcslen.S: New file.
38392 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
38394 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38395 XMM-moves are used for copying on small sizes.
38397 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38399 * wcsmbs/Makefile (strop-tests): Add wcschr.
38400 * wcsmbs/test-wcschr.c: New file.
38401 * string/test-strchr.c: Update.
38402 Add wcschr support.
38405 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38407 * wcsmbs/Makefile (strop-tests): Add wcslen.
38408 * wcsmbs/test-wcslen.c: New file.
38409 * string/test-strlen.c: Update.
38410 Add wcslen support.
38413 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38415 * po/it.po: Update from translation team.
38417 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38419 * sysdeps/x86_64/wcscmp.S: Update.
38420 Fix wrong comparison semantics.
38421 wcscmp shall use signed comparison not unsigned.
38422 Don't use substraction to avoid overflow bug.
38423 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38424 * wcsmbc/wcscmp.c: Likewise.
38425 * string/test-strcmp.c: Likewise.
38426 Add new tests to check cases with negative values.
38428 2011-10-23 Ulrich Drepper <drepper@gmail.com>
38430 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
38431 * sysdeps/x86_64/dla.h: ...here. New file.
38432 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
38433 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38434 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38435 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38436 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38437 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38438 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38439 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38440 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38442 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
38444 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
38445 __ynl_finite aliases.
38447 2011-10-22 Ulrich Drepper <drepper@gmail.com>
38449 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38451 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
38453 [DLA_FMA] (EMULV): Use DLA_FMA.
38454 [DLA_FMA] (MUL12): Use EMULV.
38455 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
38456 that are not needed.
38457 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38458 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38459 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38460 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38461 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38462 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38463 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38465 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
38467 * math/s_nan.c: Undef __nan.
38468 * math/s_nanf.c: Undef __nanf.
38469 * math/s_nanl.c: Undef __nanl.
38470 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38473 2011-10-22 Ulrich Drepper <drepper@gmail.com>
38475 * math/s_catan.c: Add branch predictions.
38476 * math/s_catanf.c: Likewise.
38477 * math/s_catanh.c: Likewise.
38478 * math/s_catanhf.c: Likewise.
38479 * math/s_catanhl.c: Likewise.
38480 * math/s_catanl.c: Likewise.
38481 * math/s_cexp.c: Likewise.
38482 * math/s_cexpf.c: Likewise.
38483 * math/s_cexpl.c: Likewise.
38484 * math/s_clog.c: Likewise.
38485 * math/s_clog10.c: Likewise.
38486 * math/s_clog10f.c: Likewise.
38487 * math/s_clog10l.c: Likewise.
38488 * math/s_clogf.c: Likewise.
38489 * math/s_clogl.c: Likewise.
38490 * math/s_csqrt.c: Likewise.
38491 * math/s_csqrtf.c: Likewise.
38492 * math/s_csqrtl.c: Likewise.
38493 * math/s_ctanf.c: Likewise.
38494 * math/s_ctanh.c: Likewise.
38495 * math/s_ctanhf.c: Likewise.
38496 * math/s_ctanhl.c: Likewise.
38497 * math/s_ctanl.c: Likewise.
38499 * math/math_private.h: Define __nan, __nanf, __nanl.
38500 * math/s_cacosh.c: Include <math_private.h>.
38501 * math/s_cacoshl.c: Likewise.
38502 * math/s_casinh.c: Likewise.
38503 * math/s_casinhf.c: Likewise.
38504 * math/s_casinhl.c: Likewise.
38505 * math/s_ccos.c: Rely entire on ccosh.
38506 * math/s_ccosf.c: Rely entire on ccoshf.
38507 * math/s_ccosl.c: Rely entirely on ccoshl.
38508 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
38509 Remove tests for FE_INVALID.
38510 * math/s_ccoshf.c: Likewise.
38511 * math/s_ccoshl.c: Likewise.
38512 * math/s_csin.c: Likewise.
38513 * math/s_csinf.c: Likewise.
38514 * math/s_csinh.c Likewise.
38515 * math/s_csinhf.c: Likewise.
38516 * math/s_csinhl.c: Likewise.
38517 * math/s_csinl.c: Likewise.
38518 * math/s_ctan.c: Likewise.
38519 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
38520 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
38521 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
38523 2011-10-21 Ulrich Drepper <drepper@gmail.com>
38525 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
38526 compilation problems.
38528 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
38531 2011-10-20 Ulrich Drepper <drepper@gmail.com>
38533 * sysdeps/i386/configure.in: Test for -mfma4 option.
38534 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
38535 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
38536 COMMON_CPUID_INDEX_80000001.
38537 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
38538 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
38539 use it if FMA3 is not supported.
38540 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
38542 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
38543 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38545 2011-10-20 Andreas Schwab <schwab@redhat.com>
38548 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
38549 it would create a cycle with a link time dependency.
38551 2011-10-19 Ulrich Drepper <drepper@gmail.com>
38553 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38555 * string/Makefile (strop-tests): Add rawmemchr.
38556 * string/test-rawmemchr.c: New file.
38558 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38559 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
38560 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
38561 when compiling str{,n}casecmp and when AVX is available. Hook up
38562 new optimized code in initializers.
38564 2011-10-19 Andreas Schwab <schwab@redhat.com>
38566 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38567 __feraiseexcept instead of feraiseexcept.
38569 2011-10-18 Ulrich Drepper <drepper@gmail.com>
38571 * math/math_private.h: Define defaults for libc_fetestexcept and
38573 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
38574 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
38575 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38576 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38577 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38578 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38579 libc_fetestexcept and libc_feupdateenv.
38581 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
38582 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
38583 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
38584 * sysdeps/x86_64/fpu/math_private.h: Define special version of
38585 libc_feholdexcept_setround.
38587 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
38588 Add s_nearbyint-c and s_nearbyintf-c.
38589 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
38590 nearbyintf inlines.
38591 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
38592 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
38593 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
38594 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
38596 * math/math_private.h: Define defaults for libc_fegetround,
38597 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
38598 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
38599 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
38600 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
38601 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
38602 standard functions.
38603 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38604 Remove comments and hacks for old compiler versions.
38605 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38606 libc_fegetround, libc_fesetround, libc_feholdexcept, and
38607 libc_feholdexceptl.
38609 2011-10-18 Andreas Schwab <schwab@redhat.com>
38611 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
38612 (__feraiseexcept_renamed): Add __NTH.
38613 (feraiseexcept): Add __NTH. Rename local variables to fix
38614 namespace violations.
38616 2011-10-17 Ulrich Drepper <drepper@gmail.com>
38618 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38620 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38622 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38623 recently added interfaces.
38624 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38626 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38627 about macro parameter expansion.
38629 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38630 __NO_MATH_INLINES is defined. Cleanups.
38632 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38633 and __floorf is target has SSE4.1.
38634 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38635 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38636 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38637 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38639 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38641 (floorf): Likewise.
38643 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38645 2011-10-17 Andreas Schwab <schwab@redhat.com>
38647 * misc/sys/cdefs.h: Fix last change.
38649 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38652 2011-10-16 Ulrich Drepper <drepper@gmail.com>
38654 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38656 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38657 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38658 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38659 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38660 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38661 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38662 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38663 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38664 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38665 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38666 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38667 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38668 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38669 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38670 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38671 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38672 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38673 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38674 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38675 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38676 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38677 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38679 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38680 ceil, ceilf, floor, floorf.
38682 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38683 Perform IRELATIVE relocations last.
38685 * elf/do-rel.h: Add another parameter nrelative, replacing the
38686 local variable with the same name. Change name of the function
38687 to end in Rel or Rela (uppercase).
38688 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38689 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38690 elf_dynamic_do_##reloc function.
38692 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38694 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38695 is sufficient, at least on modern CPUs.
38697 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38699 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38700 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38702 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38704 * math/bits/math-finite.h: Add entries for exp.
38705 * math/e_expl.c: Add __*_finite alias.
38706 * sysdeps/i386/fpu/e_exp.S: Likewise.
38707 * sysdeps/i386/fpu/e_expf.S: Likewise.
38708 * sysdeps/i386/fpu/e_expl.c: Likewise.
38709 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38710 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38711 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38712 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38713 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38714 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38715 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38717 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38718 is sufficient, at least on modern CPUs.
38720 * ctype/ctype-info.c (__ctype_init): Define.
38721 * include/ctype.h (__ctype_init): Declare.
38722 (__ctype_b_loc): The variable is always initialized.
38723 (__ctype_toupper_loc): Likewise.
38724 (__ctype_tolower_loc): Likewise.
38725 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38726 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38728 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38730 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38732 * configure.in: Also look in $cxxmachine/include for C++ system
38735 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38737 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38738 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38739 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38740 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38741 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38742 (USE_AS_WMEMCMP): New macro.
38744 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38745 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38746 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38747 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38748 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38749 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38750 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38751 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38752 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38753 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38754 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38755 (USE_AS_WMEMCMP): New macro.
38756 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38757 * sysdeps/string/test-memcmp.c: Update.
38758 Fix simple_wmemcmp.
38760 * wcsmbs/wmemcmp.c: Update.
38761 (WMEMCMP): New macro.
38764 2011-10-12 Andreas Jaeger <aj@suse.de>
38767 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38769 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38771 * libio/iofwide.c (do_length): Avoid warning.
38773 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38775 2011-10-14 Ulrich Drepper <drepper@gmail.com>
38777 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38779 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38780 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38781 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38782 * sysdeps/i386/i686/fpu/e_log.S: New file.
38783 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38784 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38786 * ctype/ctype.h: Add support for inlined isXXX functions when
38787 compiling C++ code.
38789 2011-10-14 Andreas Schwab <schwab@redhat.com>
38791 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38793 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38795 2011-10-13 Roland McGrath <roland@hack.frob.com>
38798 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38800 2011-10-13 Andreas Schwab <schwab@redhat.com>
38802 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38803 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38806 * sysdeps/x86_64/memrchr.S: Check for zero size.
38808 * string/stratcliff.c: Add memrchr tests.
38810 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38812 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38813 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38814 rawmemchr-sse2 rawmemchr-sse2-bsf.
38815 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38816 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38817 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38818 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38819 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38820 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38821 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38822 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38823 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38824 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38825 * string/memrchr.c (MEMRCHR): New macro.
38827 2011-10-12 Ulrich Drepper <drepper@gmail.com>
38829 Add integration with gcc's -ffinite-math-only and optimize wrapper
38831 * Versions.def: Define GLIBC_2.15 version for libm.
38832 * math/Makefile (headers): Add bits/math-finite.h.
38833 * math/bits/math-finite.h: New file.
38834 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38835 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38836 * math/e_acoshl.c: Add __*_finite alias.
38837 * math/e_acosl.c: Likewise.
38838 * math/e_asinl.c: Likewise.
38839 * math/e_atan2l.c: Likewise.
38840 * math/e_atanhl.c: Likewise.
38841 * math/e_coshl.c: Likewise.
38842 * math/e_exp10.c: Likewise.
38843 * math/e_exp10f.c: Likewise.
38844 * math/e_exp10l.c: Likewise.
38845 * math/e_exp2l.c: Likewise.
38846 * math/e_fmodl.c: Likewise.
38847 * math/e_gammal_r.c: Likewise.
38848 * math/e_hypotl.c: Likewise.
38849 * math/e_j0l.c: Likewise.
38850 * math/e_j1l.c: Likewise.
38851 * math/e_jnl.c: Likewise.
38852 * math/e_lgammal_r.c: Likewise.
38853 * math/e_log10l.c: Likewise.
38854 * math/e_log2l.c: Likewise.
38855 * math/e_logl.c: Likewise.
38856 * math/e_powl.c: Likewise.
38857 * math/e_sinhl.c: Likewise.
38858 * math/e_sqrtl.c: Likewise.
38859 * math/e_scalb.c: Completely rewritten and optimized.
38860 * math/e_scalbf.c: Likewise.
38861 * math/e_scalbl.c: Likewise.
38862 * math/w_acos.c: Likewise.
38863 * math/w_acosf.c: Likewise.
38864 * math/w_acosl.c: Likewise.
38865 * math/w_acosh.c: Likewise.
38866 * math/w_acoshf.c: Likewise.
38867 * math/w_acoshl.c: Likewise.
38868 * math/w_asin.c: Likewise.
38869 * math/w_asinf.c: Likewise.
38870 * math/w_asinl.c: Likewise.
38871 * math/w_atan2.c: Likewise.
38872 * math/w_atan2f.c: Likewise.
38873 * math/w_atan2l.c: Likewise.
38874 * math/w_atanh.c: Likewise.
38875 * math/w_atanhf.c: Likewise.
38876 * math/w_atanhl.c: Likewise.
38877 * math/w_exp10.c: Likewise.
38878 * math/w_exp10f.c: Likewise.
38879 * math/w_exp10l.c: Likewise.
38880 * math/w_fmod.c: Likewise.
38881 * math/w_fmodf.c: Likewise.
38882 * math/w_fmodl.c: Likewise.
38883 * math/w_j0.c: Likewise.
38884 * math/w_j0f.c: Likewise.
38885 * math/w_j0l.c: Likewise.
38886 * math/w_j1.c: Likewise.
38887 * math/w_j1f.c: Likewise.
38888 * math/w_j1l.c: Likewise.
38889 * math/w_jn.c: Likewise.
38890 * math/w_jnf.c: Likewise.
38891 * math/w_log.c: Likewise.
38892 * math/w_logf.c: Likewise.
38893 * math/w_logl.c: Likewise.
38894 * math/w_log10.c: Likewise.
38895 * math/w_log10f.c: Likewise.
38896 * math/w_log10l.c: Likewise.
38897 * math/w_log2.c: Likewise.
38898 * math/w_log2f.c: Likewise.
38899 * math/w_log2l.c: Likewise.
38900 * math/w_pow.c: Likewise.
38901 * math/w_powf.c: Likewise.
38902 * math/w_powl.c: Likewise.
38903 * math/w_remainder.c: Likewise.
38904 * math/w_remainderf.c: Likewise.
38905 * math/w_remainderl.c: Likewise.
38906 * math/w_scalb.c: Likewise.
38907 * math/w_scalbf.c: Likewise.
38908 * math/w_scalbl.c: Likewise.
38909 * math/w_sqrt.c: Likewise.
38910 * math/w_sqrtf.c: Likewise.
38911 * math/w_sqrtl.c: Likewise.
38912 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38913 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38915 * math/math_private.h: Declare __kernel_standard_f.
38916 * math/w_cosh.c: Remove cruft and optimize a bit.
38917 * math/w_coshf.c: Likewise.
38918 * math/w_coshl.c: Likewise.
38919 * math/w_exp2.c: Likewise.
38920 * math/w_exp2f.c: Likewise.
38921 * math/w_exp2l.c: Likewise.
38922 * math/w_hypot.c: Likewise.
38923 * math/w_hypotf.c: Likewise.
38924 * math/w_hypotl.c: Likewise.
38925 * math/w_lgamma.c: Likewise.
38926 * math/w_lgamma_r.c: Likewise.
38927 * math/w_lgammaf.c: Likewise.
38928 * math/w_lgammaf_r.c: Likewise.
38929 * math/w_lgammal.c: Likewise.
38930 * math/w_lgammal_r.c: Likewise.
38931 * math/w_sinh.c: Likewise.
38932 * math/w_sinhf.c: Likewise.
38933 * math/w_sinhl.c: Likewise.
38934 * math/w_tgamma.c: Likewise.
38935 * math/w_tgammaf.c: Likewise.
38936 * math/w_tgammal.c: Likewise.
38937 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38938 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38939 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38940 Minor optimizations. Pretty printing. Remove cruft.
38941 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38942 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38943 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38944 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38945 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38946 * sysdeps/i386/fpu/e_asin.S: Likewise.
38947 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38948 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38949 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38950 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38951 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38952 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38953 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38954 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38955 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38956 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38957 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38958 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38959 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38960 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38961 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38962 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38963 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38964 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38965 * sysdeps/i386/fpu/e_log.S: Likewise.
38966 * sysdeps/i386/fpu/e_log10.S: Likewise.
38967 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38968 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38969 * sysdeps/i386/fpu/e_log2.S: Likewise.
38970 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38971 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38972 * sysdeps/i386/fpu/e_logf.S: Likewise.
38973 * sysdeps/i386/fpu/e_logl.S: Likewise.
38974 * sysdeps/i386/fpu/e_pow.S: Likewise.
38975 * sysdeps/i386/fpu/e_powf.S: Likewise.
38976 * sysdeps/i386/fpu/e_powl.S: Likewise.
38977 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38978 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38979 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38980 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38981 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38982 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38983 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38984 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38985 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38986 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38987 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38988 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38989 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38990 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38991 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38992 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38993 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38994 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38995 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38996 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38997 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38998 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38999 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39000 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39001 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39002 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39003 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39004 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39005 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39006 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39007 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39008 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39009 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39010 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39011 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39012 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39013 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39014 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
39015 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39016 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39017 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39018 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39019 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39020 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39021 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39022 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39023 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39024 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39025 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39026 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39027 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39028 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39029 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39030 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39031 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39032 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39033 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39034 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39035 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39036 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39037 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39038 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39039 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39040 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39041 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39042 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39043 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39044 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39045 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39046 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39047 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39048 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39049 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39050 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39051 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39052 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39053 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39054 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39055 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39056 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39057 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39058 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39059 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39060 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39061 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39062 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39063 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39064 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39065 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39066 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39067 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39068 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39069 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39070 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39071 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39072 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39073 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39074 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39075 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39076 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39077 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39078 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39079 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39080 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39081 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39082 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39083 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39084 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39085 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39086 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39087 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39088 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39089 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39090 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39091 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39092 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39093 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39094 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39095 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39096 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
39097 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39098 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39099 (__isnanf): Likewise.
39100 (__isinf_ns): Likewise.
39101 (__isinf_nsf): Likewise.
39102 (__finite): Likewise.
39103 (__finitef): Likewise.
39104 (__ieee754_sqrt): Define as macro.
39105 (__ieee754_sqrtf): Define as macro.
39106 (__ieee754_sqrtl): Define as macro.
39107 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39109 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39110 __FINITE_MATH_ONLY__ consistent.
39111 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39113 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
39115 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39118 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39120 2011-10-09 Ulrich Drepper <drepper@gmail.com>
39122 * po/ja.po: Update from translation team.
39124 2011-10-08 Roland McGrath <roland@hack.frob.com>
39126 * locale/programs/locarchive.c (prepare_address_space): New function.
39127 (create_archive, enlarge_archive, open_archive): Use it.
39129 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39130 inside [SHARED], where it is used.
39132 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39134 * nss/getent.c (netgroup_keys): Remove unused variable.
39135 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39137 2011-10-08 Ulrich Drepper <drepper@gmail.com>
39139 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39140 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39141 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39142 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39143 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39144 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39145 * math/Makefile (libm-calls): Add s_isinf_ns.
39146 * math/divtc3.c: Use __isinf_nsl instead of isinf.
39147 * math/multc3.c: Likewise.
39148 * math/s_casin.c: Likewise.
39149 * math/s_casinf.c: Likewise.
39150 * math/s_casinl.c: Likewise.
39151 * math/s_ccos.c: Likewise.
39152 * math/s_ccosf.c: Likewise.
39153 * math/s_ccosl.c: Likewise.
39154 * math/s_ctan.c: Likewise.
39155 * math/s_ctanf.c: Likewise.
39156 * math/s_ctanh.c: Likewise.
39157 * math/s_ctanhf.c: Likewise.
39158 * math/s_ctanhl.c: Likewise.
39159 * math/s_ctanl.c: Likewise.
39160 * math/w_fmod.c: Likewise.
39161 * math/w_fmodf.c: Likewise.
39162 * math/w_fmodl.c: Likewise.
39163 * math/w_remainder.c: Likewise.
39164 * math/w_remainderf.c: Likewise.
39165 * math/w_remainderl.c: Likewise.
39166 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39167 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39168 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39169 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39170 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39171 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39172 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39173 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39175 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39177 * stdio-common/printf_fphex.c: Likewise.
39178 * stdio-common/printf_size.c: Likewise.
39180 * math/e_exp10.c: Include math_private.h using <...> not "...".
39181 * math/e_exp10f.c: Likewise.
39182 * math/e_exp10l.c: Likewise.
39183 * math/e_exp2l.c: Likewise.
39184 * math/e_j0l.c: Likewise.
39185 * math/e_j1l.c: Likewise.
39186 * math/e_jnl.c: Likewise.
39187 * math/e_lgammal_r.c: Likewise.
39188 * math/e_rem_pio2l.c: Likewise.
39189 * math/e_scalb.c: Likewise.
39190 * math/e_scalbf.c: Likewise.
39191 * math/e_scalbl.c: Likewise.
39192 * math/k_cosl.c: Likewise.
39193 * math/k_sinl.c: Likewise.
39194 * math/k_tanl.c: Likewise.
39195 * math/s_cacoshf.c: Likewise.
39196 * math/s_catan.c: Likewise.
39197 * math/s_catanf.c: Likewise.
39198 * math/s_catanh.c: Likewise.
39199 * math/s_catanhf.c: Likewise.
39200 * math/s_catanhl.c: Likewise.
39201 * math/s_catanl.c: Likewise.
39202 * math/s_ccosh.c: Likewise.
39203 * math/s_ccoshf.c: Likewise.
39204 * math/s_ccoshl.c: Likewise.
39205 * math/s_cexp.c: Likewise.
39206 * math/s_cexpf.c: Likewise.
39207 * math/s_cexpl.c: Likewise.
39208 * math/s_clog.c: Likewise.
39209 * math/s_clog10.c: Likewise.
39210 * math/s_clog10f.c: Likewise.
39211 * math/s_clog10l.c: Likewise.
39212 * math/s_clogf.c: Likewise.
39213 * math/s_clogl.c: Likewise.
39214 * math/s_csin.c: Likewise.
39215 * math/s_csinf.c: Likewise.
39216 * math/s_csinh.c: Likewise.
39217 * math/s_csinhf.c: Likewise.
39218 * math/s_csinhl.c: Likewise.
39219 * math/s_csinl.c: Likewise.
39220 * math/s_csqrt.c: Likewise.
39221 * math/s_csqrtf.c: Likewise.
39222 * math/s_csqrtl.c: Likewise.
39223 * math/s_ctan.c: Likewise.
39224 * math/s_ctanf.c: Likewise.
39225 * math/s_ctanh.c: Likewise.
39226 * math/s_ctanhf.c: Likewise.
39227 * math/s_ctanhl.c: Likewise.
39228 * math/s_ctanl.c: Likewise.
39229 * math/s_ldexp.c: Likewise.
39230 * math/s_ldexpf.c: Likewise.
39231 * math/s_ldexpl.c: Likewise.
39232 * math/s_significand.c: Likewise.
39233 * math/s_significandf.c: Likewise.
39234 * math/s_significandl.c: Likewise.
39235 * math/w_acos.c: Likewise.
39236 * math/w_acosf.c: Likewise.
39237 * math/w_acosh.c: Likewise.
39238 * math/w_acoshf.c: Likewise.
39239 * math/w_acoshl.c: Likewise.
39240 * math/w_acosl.c: Likewise.
39241 * math/w_asin.c: Likewise.
39242 * math/w_asinf.c: Likewise.
39243 * math/w_asinl.c: Likewise.
39244 * math/w_atan2.c: Likewise.
39245 * math/w_atan2f.c: Likewise.
39246 * math/w_atan2l.c: Likewise.
39247 * math/w_atanh.c: Likewise.
39248 * math/w_atanhf.c: Likewise.
39249 * math/w_atanhl.c: Likewise.
39250 * math/w_cosh.c: Likewise.
39251 * math/w_coshf.c: Likewise.
39252 * math/w_coshl.c: Likewise.
39253 * math/w_dremf.c: Likewise.
39254 * math/w_exp10.c: Likewise.
39255 * math/w_exp10f.c: Likewise.
39256 * math/w_exp10l.c: Likewise.
39257 * math/w_exp2.c: Likewise.
39258 * math/w_exp2f.c: Likewise.
39259 * math/w_fmod.c: Likewise.
39260 * math/w_fmodf.c: Likewise.
39261 * math/w_fmodl.c: Likewise.
39262 * math/w_hypot.c: Likewise.
39263 * math/w_hypotf.c: Likewise.
39264 * math/w_hypotl.c: Likewise.
39265 * math/w_j0.c: Likewise.
39266 * math/w_j0f.c: Likewise.
39267 * math/w_j0l.c: Likewise.
39268 * math/w_j1.c: Likewise.
39269 * math/w_j1f.c: Likewise.
39270 * math/w_j1l.c: Likewise.
39271 * math/w_jn.c: Likewise.
39272 * math/w_jnf.c: Likewise.
39273 * math/w_jnl.c: Likewise.
39274 * math/w_lgamma.c: Likewise.
39275 * math/w_lgamma_r.c: Likewise.
39276 * math/w_lgammaf.c: Likewise.
39277 * math/w_lgammaf_r.c: Likewise.
39278 * math/w_lgammal.c: Likewise.
39279 * math/w_lgammal_r.c: Likewise.
39280 * math/w_log.c: Likewise.
39281 * math/w_log10.c: Likewise.
39282 * math/w_log10f.c: Likewise.
39283 * math/w_log10l.c: Likewise.
39284 * math/w_log2.c: Likewise.
39285 * math/w_log2f.c: Likewise.
39286 * math/w_log2l.c: Likewise.
39287 * math/w_logf.c: Likewise.
39288 * math/w_logl.c: Likewise.
39289 * math/w_pow.c: Likewise.
39290 * math/w_powf.c: Likewise.
39291 * math/w_powl.c: Likewise.
39292 * math/w_remainder.c: Likewise.
39293 * math/w_remainderf.c: Likewise.
39294 * math/w_remainderl.c: Likewise.
39295 * math/w_scalb.c: Likewise.
39296 * math/w_scalbf.c: Likewise.
39297 * math/w_scalbl.c: Likewise.
39298 * math/w_sinh.c: Likewise.
39299 * math/w_sinhf.c: Likewise.
39300 * math/w_sinhl.c: Likewise.
39301 * math/w_sqrt.c: Likewise.
39302 * math/w_sqrtf.c: Likewise.
39303 * math/w_sqrtl.c: Likewise.
39304 * math/w_tgamma.c: Likewise.
39305 * math/w_tgammaf.c: Likewise.
39306 * math/w_tgammal.c: Likewise.
39308 * po/ja.po: Update from translation team.
39310 2011-09-29 Andreas Jaeger <aj@suse.de>
39313 * sunrpc/netname.c (netname2host): Fix logic.
39317 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
39319 * math/w_remainder.c (__remainder): Likewise.
39320 * math/w_remainderf.c (__remainderf): Likewise.
39321 * math/libm-test.inc (remainder_test): Add test cases.
39323 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39325 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
39328 2011-10-07 Ulrich Drepper <drepper@gmail.com>
39330 * string/test-memcmp.c: Avoid unncessary #defines.
39331 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39333 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39335 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
39336 Use new sse2 version for core i3 - i7 as it's faster
39337 than sse42 version.
39338 (bit_Prefer_PMINUB_for_stringop): New.
39339 * sysdeps/x86_64/rawmemchr.S: Update.
39340 Replace with faster SSE2 version.
39341 * sysdeps/x86_64/memrchr.S: New file.
39342 * sysdeps/x86_64/memchr.S: Update.
39343 Replace with faster SSE2 version.
39345 2011-09-12 Marek Polacek <mpolacek@redhat.com>
39347 * elf/dl-load.c (lose): Add cast to avoid warning.
39349 2011-10-07 Ulrich Drepper <drepper@gmail.com>
39351 * po/ca.po: Update from translation team.
39353 * inet/getnetgrent_r.c: Hook up nscd.
39354 * nscd/Makefile (routines): Add nscd_netgroup.
39355 (nscd-modules): Add netgroupcache.
39356 (CFLAGS-netgroupcache.c): Define.
39357 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
39358 (cache_search): Add const to second parameter.
39359 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
39361 (dbs): Add netgrdb entry.
39362 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
39363 (verify_persistent_db): Handle netgrdb.
39364 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
39365 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
39367 (netgroup_response_header): Define.
39368 (innetgroup_response_header): Define.
39369 (datahead): Add netgroup_response_header and innetgroup_response_header
39371 * nscd/nscd.conf: Add entries for netgroup cache.
39372 * nscd/nscd.h (dbtype): Add netgrdb.
39373 (_PATH_NSCD_NETGROUP_DB): Define.
39374 (netgroup_iov_disabled): Declare.
39375 (xmalloc, xcalloc, xrealloc): Move declarations here.
39376 (cache_search): Adjust prototype.
39377 Add netgroup-related prototypes.
39378 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39379 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39380 (__nscd_innetgr): Declare.
39381 * nscd/selinux.c (perms): Use access_vector_t as element type and
39382 add netgroup-related initializers.
39383 * nscd/netgroupcache.c: New file.
39384 * nscd/nscd_netgroup.c: New file.
39385 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39386 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39387 For four parameters use innetgr.
39388 * nss/nss_files/files-init.c: Add definition and callback for netgr.
39389 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
39390 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
39391 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
39393 * nscd/connections.c (register_traced_file): Don't register file
39394 for disabled databases.
39396 2011-10-06 Ulrich Drepper <drepper@gmail.com>
39398 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
39400 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
39401 from tree and freeing node.
39403 2011-09-25 Jiri Olsa <jolsa@redhat.com>
39405 * nss/nsswitch.c (__nss_database_lookup): Handle
39406 nss_parse_service_list out of memory case.
39408 2011-09-15 Jiri Olsa <jolsa@redhat.com>
39410 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
39411 out of memory case.
39413 2011-10-04 Andreas Schwab <schwab@redhat.com>
39415 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
39416 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
39418 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
39419 elf_machine_rela, elf_machine_lazy_rel.
39420 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
39421 (ELF_DYNAMIC_DO_REL): Likewise.
39422 (ELF_DYNAMIC_DO_RELA): Likewise.
39423 (ELF_DYNAMIC_RELOCATE): Likewise.
39424 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
39425 to ELF_DYNAMIC_DO_REL.
39426 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
39427 (dl_main): In trace mode always set __RTLD_NOIFUNC.
39428 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
39430 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
39431 skip_ifunc, don't call ifunc function if non-zero.
39432 (elf_machine_rela): Likewise.
39433 (elf_machine_lazy_rel): Likewise.
39434 (elf_machine_lazy_rela): Likewise.
39435 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
39436 (elf_machine_lazy_rel): Likewise.
39437 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
39439 (elf_machine_lazy_rel): Likewise.
39440 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39442 (elf_machine_lazy_rel): Likewise.
39443 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
39444 (elf_machine_lazy_rel): Likewise.
39445 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
39446 (elf_machine_lazy_rel): Likewise.
39447 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39448 (elf_machine_lazy_rel): Likewise.
39449 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
39450 (elf_machine_lazy_rel): Likewise.
39451 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
39452 (elf_machine_lazy_rel): Likewise.
39453 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39454 (elf_machine_lazy_rel): Likewise.
39456 2011-09-28 Ulrich Drepper <drepper@gmail.com>
39458 * nss/nss_files/files-init.c (_nss_files_init): Use static
39459 initialization for all the *_traced_file variables.
39461 2011-09-28 Andreas Schwab <schwab@redhat.com>
39463 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39465 2011-09-27 Roland McGrath <roland@hack.frob.com>
39468 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39470 2011-09-27 Andreas Schwab <schwab@redhat.com>
39472 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39473 Reread the line before reparsing it.
39475 2011-09-26 Andreas Schwab <schwab@redhat.com>
39477 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39479 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
39480 Maxim Kuvyrkov <maxim@codesourcery.com>
39481 Joseph Myers <joseph@codesourcery.com>
39483 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39484 if needed for __stack_chk_guard.
39486 2011-09-19 Roland McGrath <roland@hack.frob.com>
39488 * sysdeps/posix/spawni.c (script_execute): Always define it.
39489 It will be optimized away if unused.
39490 (maybe_script_execute): New function.
39491 (__spawni): Call it.
39493 * Makerules: Don't include tls.make.
39494 (config-tls): Always set to thread.
39495 * tls.make.c: File removed.
39497 2011-09-19 Mike Frysinger <vapier@gentoo.org>
39499 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
39500 * config.make.in (CPPFLAGS-config): New substituted variable.
39502 2011-09-15 Ulrich Drepper <drepper@gmail.com>
39504 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
39507 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
39508 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
39510 2011-09-15 Roland McGrath <roland@hack.frob.com>
39512 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
39513 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
39514 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39515 (CALL_FAIL): Likewise.
39516 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
39517 (CALL_FAIL): Macro removed.
39518 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
39520 2011-09-15 Ulrich Drepper <drepper@gmail.com>
39522 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
39523 for __FINITE_MATH_ONLY__ == 1.
39525 2011-09-15 Andreas Schwab <schwab@redhat.com>
39527 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
39528 __ieee754_sqrt instead of sqrt.
39529 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
39530 __ieee754_sqrtf instead of sqrtf.
39531 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
39532 __floorf instead of floorf.
39533 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
39534 __floorf, __truncf instead of floorf, truncf.
39536 2011-09-14 Ulrich Drepper <drepper@gmail.com>
39538 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
39540 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
39541 __extern_always_inline.
39542 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
39545 2011-09-14 Andreas Schwab <schwab@redhat.com>
39547 * elf/rtld.c (dl_main): Also relocate in dependency order when
39548 doing symbol dependency testing.
39550 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
39552 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39553 Always define `refsym'.
39555 2011-09-13 Andreas Schwab <schwab@redhat.com>
39557 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39558 (__FD_ELT): Renamed from __FDELT.
39559 * misc/bits/select2.h (__FD_ELT): Likewise.
39560 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39561 __FD_MASK instead of __FDELT, __FDMASK.
39562 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39564 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39567 * elf/Makefile (gen-ldd): Fix pattern.
39569 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
39570 (init_tls): Likewise.
39572 2011-09-12 Ulrich Drepper <drepper@gmail.com>
39574 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
39576 2011-09-12 Andreas Schwab <schwab@redhat.com>
39578 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
39579 `struct cmsghdr *' instead of `void *'.
39580 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
39583 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
39585 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
39587 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
39588 ldd_rewrite_script.
39590 2011-09-11 Ulrich Drepper <drepper@gmail.com>
39592 * configure.in: Remove --with-tls option.
39593 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
39594 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
39595 out in case it is missing.
39596 * sysdeps/ia64/elf/configure.in: Likewise.
39597 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
39598 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
39599 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
39600 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
39601 * sysdeps/sh/elf/configure.in: Likewise.
39602 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
39603 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39604 * sysdeps/x86_64/elf/configure.in: Likewise.
39605 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
39606 * sysdeps/mach/hurd/tls.h: Likewise.
39609 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39612 * configure.in: Fix use of AC_INIT.
39614 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39616 2011-09-10 Ulrich Drepper <drepper@gmail.com>
39618 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39620 * malloc/hooks.c: Likewise.
39623 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
39624 variables statically.
39625 (narenas): Initialize.
39626 (list_lock): Initialize.
39627 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
39628 initializtion of main_arena and list_lock. Small cleanups.
39629 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39630 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
39631 Add initializers to main_arena and mp_.
39632 (malloc_state): Remove pagesize member. Change all users to use
39635 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39636 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
39637 is always initialized.
39639 * malloc/malloc.c: Removed unused configurations and dead code.
39640 * malloc/arena.c: Likewise.
39641 * malloc/hooks.c: Likewise.
39642 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
39644 * include/tls.h: Removed. USE___THREAD must always be defined.
39645 * bits/libc-tsd.h: Don't handle !USE___THREAD.
39646 * elf/dl-libc.c: Likewise.
39647 * elf/dl-tsd.c: Likewise.
39648 * include/errno.h: Likewise.
39649 * include/netdb.h: Likewise.
39650 * include/resolv.h: Likewise.
39651 * inet/herrno-loc.c: Likewise.
39652 * inet/herrno.c: Likewise.
39653 * malloc/arena.c: Likewise.
39654 * malloc/hooks.c: Likewise.
39655 * malloc/malloc.c: Likewise.
39656 * resolv/res-state.c: Likewise.
39657 * resolv/res_libc.c: Likewise.
39658 * sysdeps/i386/dl-machine.h: Likewise.
39659 * sysdeps/ia64/dl-machine.h: Likewise.
39660 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39661 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39662 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39663 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39664 * sysdeps/sh/dl-machine.h: Likewise.
39665 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39666 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39667 * sysdeps/unix/i386/sysdep.S: Likewise.
39668 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39669 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39670 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39671 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39672 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39673 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39674 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39675 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39676 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39677 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39678 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39679 * sysdeps/x86_64/dl-machine.h: Likewise.
39680 * tls.make.c: Likewise.
39682 * configure.in: Remove --with-__thread option. Make tests for
39683 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39684 tls_model attribute fail if no support is available. Remove
39686 * Makeconfig: Adjust for dropped configure option. All features are
39688 * Makerules: Likewise.
39689 * Versions.def: Likewise.
39690 * argp/argp-fmtstream.c: Likewise.
39691 * argp/argp-fmtstream.h: Likewise.
39692 * argp/argp-help.c: Likewise.
39693 * assert/assert.c: Likewise.
39694 * config.h.in: Likewise.
39695 * config.make.in: Likewise.
39696 * configure: Likewise.
39697 * configure.in: Likewise.
39698 * csu/Versions: Likewise.
39699 * csu/init.c: Likewise.
39700 * elf/tst-audit2.c: Likewise.
39701 * elf/tst-tls10.c: Likewise.
39702 * elf/tst-tls10.h: Likewise.
39703 * elf/tst-tls11.c: Likewise.
39704 * elf/tst-tls12.c: Likewise.
39705 * elf/tst-tls14.c: Likewise.
39706 * elf/tst-tlsmod11.c: Likewise.
39707 * elf/tst-tlsmod12.c: Likewise.
39708 * elf/tst-tlsmod13.c: Likewise.
39709 * elf/tst-tlsmod13a.c: Likewise.
39710 * elf/tst-tlsmod14a.c: Likewise.
39711 * elf/tst-tlsmod15b.c: Likewise.
39712 * elf/tst-tlsmod16a.c: Likewise.
39713 * elf/tst-tlsmod16b.c: Likewise.
39714 * elf/tst-tlsmod7.c: Likewise.
39715 * elf/tst-tlsmod8.c: Likewise.
39716 * elf/tst-tlsmod9.c: Likewise.
39717 * gmon/gmon.c: Likewise.
39718 * grp/fgetgrent_r.c: Likewise.
39719 * grp/putgrent.c: Likewise.
39720 * hurd/fopenport.c: Likewise.
39721 * include/libc-symbols.h: Likewise.
39722 * include/tls.h: Likewise.
39723 * intl/gettextP.h: Likewise.
39724 * intl/loadinfo.h: Likewise.
39725 * locale/global-locale.c: Likewise.
39726 * locale/localeinfo.h: Likewise.
39727 * mach/devstream.c: Likewise.
39728 * malloc/arena.c: Likewise.
39729 * malloc/set-freeres.c: Likewise.
39730 * misc/err.c: Likewise.
39731 * misc/getttyent.c: Likewise.
39732 * misc/mntent_r.c: Likewise.
39733 * posix/getopt.c: Likewise.
39734 * posix/wordexp.c: Likewise.
39735 * pwd/fgetpwent_r.c: Likewise.
39736 * resolv/Versions: Likewise.
39737 * resolv/res_hconf.c: Likewise.
39738 * shadow/fgetspent_r.c: Likewise.
39739 * shadow/putspent.c: Likewise.
39740 * stdio-common/printf_fphex.c: Likewise.
39741 * stdio-common/tmpfile.c: Likewise.
39742 * stdlib/abort.c: Likewise.
39743 * stdlib/fmtmsg.c: Likewise.
39744 * sunrpc/auth_unix.c: Likewise.
39745 * sunrpc/clnt_perr.c: Likewise.
39746 * sunrpc/clnt_tcp.c: Likewise.
39747 * sunrpc/clnt_udp.c: Likewise.
39748 * sunrpc/clnt_unix.c: Likewise.
39749 * sunrpc/openchild.c: Likewise.
39750 * sunrpc/svc_simple.c: Likewise.
39751 * sunrpc/svc_tcp.c: Likewise.
39752 * sunrpc/svc_udp.c: Likewise.
39753 * sunrpc/svc_unix.c: Likewise.
39754 * sunrpc/xdr.c: Likewise.
39755 * sunrpc/xdr_array.c: Likewise.
39756 * sunrpc/xdr_rec.c: Likewise.
39757 * sunrpc/xdr_ref.c: Likewise.
39758 * sunrpc/xdr_stdio.c: Likewise.
39760 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39762 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39764 2011-07-03 Andreas Jaeger <aj@suse.de>
39766 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39767 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39768 regenerate with gen-libm-tests.pl.
39770 2010-05-12 Petr Baudis <pasky@suse.cz>
39773 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39774 around j0() zero points by switching to j1().
39775 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39776 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39777 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39778 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39780 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39782 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39784 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39786 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39787 Patch in part by Pavel Roskin <proski@gnu.org>.
39790 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39792 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39793 Free memory block if necessary.
39796 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39797 be NULL. Don't lock in this case.
39799 2011-09-09 Roland McGrath <roland@hack.frob.com>
39801 * elf/elf.h (ELFOSABI_GNU): New macro.
39802 (ELFOSABI_LINUX): Define to that.
39804 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39806 * string/strncat.c (strncat): Undef the symbol in case it has been
39807 defined in bits/string.h.
39809 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39811 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39813 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39816 2011-08-17 Andreas Jaeger <aj@suse.de>
39818 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39820 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39821 Ian Lance Taylor <iant@google.com>
39823 * math/libm-test.inc (lround_test): New testcase.
39824 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39826 2011-09-08 Ulrich Drepper <drepper@gmail.com>
39828 * Makefile: Remove support for automatic cvs check-ins.
39829 * Makerules: Likewise.
39830 * config.make.in: Likewise.
39831 * configure.in: Likewise.
39832 * intl/Makefile: Likewise.
39833 * locale/Makefile: Likewise.
39834 * po/Makefile: Likewise.
39835 * posix/Makefile: Likewise.
39836 * sysdeps/gnu/Makefile: Likewise.
39837 * sysdeps/mach/hurd/Makefile: Likewise.
39838 * sysdeps/sparc/sparc32/Makefile: Likewise.
39841 * posix/Makefile (bug-regex32-ENV): Define.
39842 Patch by John Stanley <jpsinthemix@verizon.net>.
39844 * misc/Makefile (headers): Add bits/select2.h.
39845 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39846 * misc/bits/select2.h: New file.
39847 * include/bits/select2.h: New file.
39848 * debug/Makefile (routines): Add fdelt_chk.
39849 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39850 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39852 * debug/fdelt_chk.c: New file.
39854 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39855 * wcsmbs/test-wmemcmp.c: Likewise.
39856 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39857 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39859 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39861 * string/Makefile (strop-tests): Add memcmp.
39862 * string/test-wmemcmp.c: New file.
39863 * string/test-memcmp.c: Add wmemcmp support.
39865 2011-09-08 Roland McGrath <roland@hack.frob.com>
39868 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39871 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39872 garbage value in a __mach_port_mod_refs call in the cases of the
39873 task-self and thread-self ports.
39875 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39877 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39879 2011-09-08 Andreas Schwab <schwab@redhat.com>
39881 * elf/dl-load.c (lose): Check for non-null L.
39883 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39885 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39887 * elf/dl-libc.c (dlerror_run): Pass back error code from
39891 * elf/dl-load.c (lose): Free l_origin if it is valid.
39893 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39895 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39896 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39897 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39898 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39899 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39900 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39902 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39904 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39905 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39906 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39907 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39908 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39909 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39910 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39911 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39912 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39913 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39915 2011-08-15 Alan Modra <amodra@gmail.com>
39918 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39919 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39920 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39921 ppc_mcount to static-only-routines.
39922 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39924 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39925 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39927 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39929 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39930 for finite and infinity parameters.
39932 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39934 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39935 and add nop instructions for throughput optimization.
39936 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39938 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39940 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39941 aligned copy for power7 with vector-scalar instructions.
39942 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39944 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39946 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39949 2011-09-07 Andreas Schwab <schwab@redhat.com>
39952 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39955 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39957 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39958 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39959 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39960 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39963 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39965 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39966 Forgot to demangle the pointer.
39968 * sysdeps/i386/sysdep.h: Define atom_text_section.
39969 * sysdeps/x86_64/sysdep.h: Likewise.
39970 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39971 section with atom_text_section.
39972 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39973 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39974 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39975 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39976 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39978 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39979 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39980 already be defined. Change to take two parameters and don't assign
39981 result to variable. Adjust all users.
39982 Define INTERNAL_GETTIME if not already defined.
39983 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39985 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39986 HAVE_CLOCK_GETTIME_VSYSCALL.
39987 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39989 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39990 gettimeofday vsyscall, just use time.
39992 2011-09-06 Andreas Schwab <schwab@redhat.com>
39994 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39997 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39999 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
40001 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
40003 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
40004 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
40005 syscall if possible.
40007 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40009 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
40010 e_ident. Don't pass to find_mapsXX.
40011 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
40013 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40015 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40016 strchr-sse2-no-bsf strrchr-sse2-no-bsf
40017 * sysdeps/x86_64/multiarch/strchr.S: Update.
40018 Check bit_slow_BSF bit.
40019 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40020 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40021 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40023 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40026 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40028 (tryshell): Define.
40029 (__spawni): Change last parameter to be flag. Test
40030 SPAWN_XFLAGS_USE_PATH flag to use path or not.
40031 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40032 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40033 * posix/spawni.c: Likewise.
40034 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40035 * posix/spawnp.c: Likewise. Change normal version to use
40036 SPAWN_XFLAGS_USE_PATH.
40037 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40038 SPAWN_XFLAGS_TRY_SHELL.
40041 * posix/glob.h: Remove gcc 1.x support.
40044 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40046 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40048 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40049 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40051 * sysdeps/i386/i686/multiarch/strchr.S: New file.
40052 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40053 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40054 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40055 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40056 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40058 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40060 * sysdeps/x86_64/wcscmp.S: New file.
40062 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40063 wcscmp-c wcscmp-sse2
40064 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40065 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40066 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40067 * wcsmbs/wcscmp.c: Allow renaming.
40069 2011-09-05 David S. Miller <davem@davemloft.net>
40071 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40072 stack slot, rather than the struct return pointer slot.
40073 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40074 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40076 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40078 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40080 * po/ja.po: Update from translation team.
40083 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40084 kernel in 64-bit binaries.
40086 2011-09-01 David S. Miller <davem@davemloft.net>
40088 * elf/elf.h (HWCAP_SPARC_*): Move to..
40089 * sysdeps/sparc/sysdep.h: this new file and add new values.
40090 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40091 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40092 _DL_HWCAP_COUNT to 24.
40093 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40095 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40096 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40097 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40098 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40099 instead of magic constants.
40100 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40102 2011-08-31 David S. Miller <davem@davemloft.net>
40104 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40105 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40106 Reimplement to do errno handling inline.
40107 (SYSCALL_ERROR_HANDLER): New macro.
40108 (__SYSCALL_STRING): Do not do errno handling in asm.
40109 (__CLONE_SYSCALL_STRING): Delete.
40110 (__INTERNAL_SYSCALL_STRING): Delete.
40111 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40112 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40113 (PSEUDO): Reimplement to do errno handling inline.
40114 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40115 (SYSCALL_ERROR_HANDLER): New macro.
40116 (__SYSCALL_STRING): Do not do errno handling in asm.
40117 (__CLONE_SYSCALL_STRING): Delete.
40118 (__INTERNAL_SYSCALL_STRING): Delete.
40119 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40120 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40122 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40123 (inline_syscall*): Add 'err' argument.
40124 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40125 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40126 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40127 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40129 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40130 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40132 2011-08-30 Andreas Schwab <schwab@redhat.com>
40134 * elf/rtld.c (dl_main): Relocate objects in dependency order.
40136 2011-08-29 Jiri Olsa <jolsa@redhat.com>
40138 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40141 2011-08-24 David S. Miller <davem@davemloft.net>
40143 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40145 2011-08-24 Andreas Schwab <schwab@redhat.com>
40147 * elf/Makefile: Add rules to build and run unload8 test.
40148 * elf/unload8.c: New file.
40149 * elf/unload8mod1.c: New file.
40150 * elf/unload8mod1x.c: New file.
40151 * elf/unload8mod2.c: New file.
40152 * elf/unload8mod3.c: New file.
40154 * elf/dl-close.c (_dl_close_worker): Reset private search list if
40157 2011-08-23 David S. Miller <davem@davemloft.net>
40159 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40160 subtract stack bias.
40161 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40162 %sp not %fp in calculations.
40163 (_JMPBUF_UNWINDS_ADJ): Likewise.
40165 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40166 (aio_suspend): Call it to force an exception region around the
40167 AIO_MISC_WAIT() invocation.
40169 2011-08-23 Andreas Schwab <schwab@redhat.com>
40171 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40174 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
40176 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40178 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40179 and <dl-machine.h>.
40180 (Elf64_FuncDesc): Remove.
40182 2011-08-22 David S. Miller <davem@davemloft.net>
40184 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40185 sigaltstack check, add missing cfi directives.
40186 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40187 missing cfi directives, and sigaltstack handling.
40189 2011-08-16 Andreas Schwab <schwab@redhat.com>
40192 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40193 object is seen twice.
40194 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40196 * elf/Makefile (distribute): Add tst-initorder2.c.
40197 (tests): Add tst-initorder2.
40198 (modules-names): Add tst-initorder2a tst-initorder2b
40199 tst-initorder2c tst-initorder2d. Add rules to build them.
40200 ($(objpfx)tst-initorder2.out): New rule.
40201 * elf/tst-initorder2.c: New file.
40202 * elf/tst-initorder2.exp: New file.
40204 2011-08-22 Andreas Schwab <schwab@redhat.com>
40206 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40208 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40209 dependencies back to end of function.
40211 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40212 $(elfobjdir)/ld.so.
40214 2011-08-21 Ulrich Drepper <drepper@gmail.com>
40216 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40217 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40218 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40219 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40220 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40221 of __vdso_gettimeofday.
40222 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40223 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
40225 (_libc_vdso_platform_setup): Remove initialization of
40226 __vdso_gettimeofday and __vdso_time.
40228 2011-08-20 Ulrich Drepper <drepper@gmail.com>
40230 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40231 and fgetc_unlocked.
40232 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40235 * elf/dl-open.c (add_to_global): Report additions to the global scope
40236 for LD_DEBUG=scopes.
40237 (dl_open_worker): Also print scope of newly loaded dependencies.
40238 (_dl_show_scope): Indicate if there is no scope.
40241 * stdio-common/Makefile (tests): Add bug24.
40242 * stdio-common/bug24.c: New file.
40244 2011-08-19 Andreas Jaeger <aj@suse.de>
40247 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
40248 non-existant file when using close-on-exec mode.
40250 2011-08-20 Ulrich Drepper <drepper@gmail.com>
40252 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
40253 the very first instruction.
40255 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
40256 the CFI state in the end.
40257 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
40258 inclusion of dl-trampoline.h.
40259 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
40261 2011-08-19 Andreas Schwab <schwab@redhat.com>
40263 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
40264 expectations for long double.
40266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
40267 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
40269 2011-08-14 David S. Miller <davem@davemloft.net>
40271 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
40272 artificual limit depends upon the system page size.
40274 2011-08-17 Ulrich Drepper <drepper@gmail.com>
40276 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
40277 * resolv/Makefile: Define CFLAGS-libresolv.
40279 2011-08-17 Andreas Schwab <schwab@redhat.com>
40281 * nss/makedb.c (compute_tables): Make variables used in nested
40284 2011-08-17 Ulrich Drepper <drepper@gmail.com>
40286 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
40287 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
40288 if buffer was too small.
40290 * elf/pldd.c (main): Attach to all threads in the process.
40291 Rewrite /proc handling to use *at functions.
40293 2011-08-16 Ulrich Drepper <drepper@gmail.com>
40295 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
40296 specifies first scope to show.
40297 (dl_open_worker): Update callers. Move printing scope of new
40298 object to before the relocation.
40299 * elf/rtld.c (dl_main): Update _dl_show_scope call.
40300 * sysdeps/generic/ldsodefs.h: Update declaration.
40302 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
40303 string for the scope number.
40305 2011-08-14 Ulrich Drepper <drepper@gmail.com>
40307 * nscd/servicescache.c (cache_addserv): Make sure written is always
40310 2011-08-14 Roland McGrath <roland@hack.frob.com>
40312 * sysdeps/i386/i486/bits/atomic.h
40313 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
40314 statement expression, so as to suppress "set but not used" warning.
40315 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
40317 * string/strncat.c (STRNCAT): Use prototype definition.
40319 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
40320 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
40322 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
40323 (localedef-modules): Add localedef.
40324 (locale-modules): Add locale.
40326 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
40327 * elf/rtld.c (dl_main): Invert order of assignment in last change,
40328 to avoid a warning.
40330 2011-08-14 David S. Miller <davem@davemloft.net>
40332 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
40333 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
40335 2011-08-13 Ulrich Drepper <drepper@gmail.com>
40337 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
40338 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
40339 * elf/rtld.c (dl_main): Set l_name of vDSO.
40340 Call _dl_show_scope when DL_DEBUG_SCOPES.
40341 (process_dl_debug): Recognize scopes flag and also set it for all.
40342 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
40343 Declare _dl_show_scope.
40345 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
40346 (do_dlopen): Pass caller_dlopen to dl_open.
40347 (__libc_dlopen_mode): Initialize caller_dlopen.
40349 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
40350 of libc. Make tolower call locale-independent. Optimize a bit by
40351 using isdigit instead of isalnum.
40352 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
40354 2011-08-12 Ulrich Drepper <drepper@gmail.com>
40356 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
40357 was a dependency or dynamically loaded.
40359 2011-08-11 Ulrich Drepper <drepper@gmail.com>
40361 * intl/l10nflist.c: Allow architecture-specific pop function.
40362 * sysdeps/x86_64/l10nflist.c: New file.
40364 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
40367 2011-08-10 Andreas Schwab <schwab@redhat.com>
40369 * include/dirent.h: Add libc_hidden_proto for scandirat and
40370 scandirat64. Don't declare __scandirat64.
40371 * dirent/scandirat.c: Add libc_hidden_def.
40372 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40373 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40375 2011-08-10 David S. Miller <davem@davemloft.net>
40377 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40379 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40380 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40381 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40383 2011-08-09 Ulrich Drepper <drepper@gmail.com>
40385 * Versions.def [libc]: Add GLIBC_2.15.
40386 * dirent/Makefile (routines): Add scandirat and scandirat64.
40387 * dirent/Versions [libc]: Export scandirat and scandirat64 for
40389 * dirent/dirent.h: Declare scandirat and scandirat64.
40390 * dirent/scandirat.c: New file.
40391 * dirent/scandirat64.c: New file.
40392 * sysdeps/wordsize-64/scandirat.c: New file.
40393 * sysdeps/wordsize-64/scandirat64.c: New file.
40394 * dirent/opendir.c: Define opendirat.
40395 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
40397 * dirent/scandir64.c: Adjust for scandir.c change.
40398 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
40399 __scandirat64, and __scandir_cancel_handler.
40400 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
40401 additional parameter and use openat instead of open (outside of ld.so).
40402 Add new __opendir as wrapper around __opendirat.
40403 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
40404 here without requiring old scandirat implementation.
40406 2011-08-08 Ulrich Drepper <drepper@gmail.com>
40408 * dirent/scandir.c (cancel_handler): Renamed to
40409 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
40410 defined. Adjust users.
40411 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
40412 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
40414 2011-08-04 Ulrich Drepper <drepper@gmail.com>
40416 * string/test-string.h (IMPL): Use __STRING to expand name and then
40419 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
40422 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40424 * string/Makefile: Update.
40425 (strop-tests): Append strncat.
40426 * string/test-wcscmp.c: New file.
40427 New comprehensive test for wcscmp.
40428 * string/test-strcmp.c: Update.
40429 (WIDE): New define.
40431 2011-07-22 Andreas Schwab <schwab@redhat.com>
40433 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
40436 2011-07-26 Andreas Schwab <schwab@redhat.com>
40438 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40439 encoding to ACE if AI_IDN.
40441 2011-08-01 Jakub Jelinek <jakub@redhat.com>
40443 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
40444 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
40446 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40448 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
40449 Fix overflow bug in strncat.
40450 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40452 * string/test-strncat.c: Update.
40453 Add new tests for checking overflow bugs.
40455 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40457 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40458 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40459 * sysdeps/i386/i686/multiarch/strcat.S: New file.
40460 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40461 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40462 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40463 * sysdeps/i386/i686/multiarch/strncat.S: New file.
40464 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40465 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40467 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40468 (USE_AS_STRCAT): Define.
40469 Add strcat and strncat support.
40470 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40472 2011-07-25 Andreas Schwab <schwab@redhat.com>
40474 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40475 __n bigger than INT_MAX+1.
40476 (__strncmp_g): Likewise.
40478 2011-07-23 Ulrich Drepper <drepper@gmail.com>
40480 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40481 * libio/stido.h: Likewise.
40483 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40485 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40488 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40489 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40490 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40491 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40492 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40495 * scripts/test-installation.pl: Don't expect libnss_test1 to be
40498 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40500 (_dl_x86_64_save_sse): Likewise.
40502 2011-07-22 Ulrich Drepper <drepper@gmail.com>
40504 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
40506 (_dl_x86_64_save_sse): Likewise.
40508 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
40510 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
40512 2011-07-21 Andreas Schwab <schwab@redhat.com>
40514 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
40516 (_dl_x86_64_save_sse): Use correct AVX check.
40518 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40520 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
40521 bug in strncpy/strncat.
40522 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40524 2011-07-21 Ulrich Drepper <drepper@gmail.com>
40526 * string/tester.c (test_strcat): Add tests for different alignments
40527 of source and destination.
40528 (test_strncat): Likewise.
40530 2011-07-20 Ulrich Drepper <drepper@gmail.com>
40533 * posix/glob.c (glob): Check passed in values before using them in
40534 expressions to avoid some overflows.
40535 (glob_in_dir): Likewise.
40538 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
40539 check for AVX enablement so that we don't crash with old kernels and
40541 * elf/tst-audit4.c: Add same checks here.
40542 * elf/tst-audit6.c: Likewise.
40544 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
40546 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
40548 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40550 2011-07-20 Ulrich Drepper <drepper@gmail.com>
40552 * po/cs.po: Update from translation team.
40553 * po/bg.po: Likewise.
40555 2011-07-12 Marek Polacek <mpolacek@redhat.com>
40557 * misc/sys/cdefs.h: Add support for const attribute.
40558 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40559 to gnu_dev_{major,minor,makedev} functions.
40561 2011-07-20 Marek Polacek <mpolacek@redhat.com>
40563 * intl/dcigettext.c (get_output_charset): Add missing bracket.
40565 2011-07-20 Andreas Schwab <schwab@redhat.com>
40567 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40570 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40572 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
40573 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
40574 register in order to avoid conflicts with the soft frame pointer
40575 being held in r11 when necessary.
40576 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
40577 (INTERNAL_VSYSCALL_NCS): Likewise.
40579 2011-07-14 Marek Polacek <mpolacek@redhat.com>
40581 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
40582 * elf/dl-fini.c (_dl_fini): Adjust caller.
40583 * elf/dl-close.c (_dl_close_worker): Likewise.
40584 * sysdeps/generic/ldsodefs.h: Adjust declaration.
40586 2011-07-15 Marek Polacek <mpolacek@redhat.com>
40588 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
40589 "aux_cache->nlibs < 0".
40591 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
40592 in the reload-count case.
40594 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40596 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40597 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
40598 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
40599 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
40600 * sysdeps/x86_64/multiarch/strcat.S: New file.
40601 * sysdeps/x86_64/multiarch/strncat.S: New file.
40602 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
40603 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
40604 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
40605 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
40606 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
40607 (USE_AS_STRCAT): Define.
40608 Add strcat and strncat support.
40609 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40610 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40611 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40612 * string/strncat.c: Update.
40613 (USE_AS_STRNCAT): Define.
40614 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40615 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40617 * sysdeps/x86_64/multiarch/init-arch.h
40618 (bit_Prefer_PMINUB_for_stringop): New.
40619 (index_Prefer_PMINUB_for_stringop): Likewise.
40620 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40621 bit_Prefer_PMINUB_for_stringop.
40623 2011-07-19 Ulrich Drepper <drepper@gmail.com>
40625 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40627 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40628 of casting of buffer.
40629 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40630 buffer32 and buffer64.
40631 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40632 writes instead of casting of buffer.
40633 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40635 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40638 2011-07-19 Andreas Schwab <schwab@redhat.com>
40640 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40642 2011-07-19 Ulrich Drepper <drepper@gmail.com>
40644 * nscd/nscd.c (termination_handler): Don't do anything for a database
40645 if it has not yet been initialized.
40647 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40649 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40651 2011-07-15 Marek Polacek <mpolacek@redhat.com>
40653 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40655 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40657 * po/nl.po: Update from translation team.
40658 * po/sv.po: Likewise.
40660 2011-07-16 Roland McGrath <roland@hack.frob.com>
40662 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40663 now disallowed by GCC.
40665 * configure.in (use-default-link): Default to yes if a test -shared
40666 link meets our qualifications.
40667 * configure: Regenerated.
40669 * config.make.in (output-format): New variable.
40670 * configure.in: Check for ld --print-output-format support.
40671 * configure: Regenerated.
40672 * Makerules ($(common-objpfx)format.lds)
40673 [$(output-format) != unknown]: Just use $(output-format),
40674 instead of the linker-script munging.
40676 2011-07-14 Roland McGrath <roland@hack.frob.com>
40678 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40679 of $(common-objpfx)shlib.lds.
40680 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40682 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40683 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40685 * configure.in (-z relro check): Adjust test code to add a large
40686 writable data section after it.
40687 * configure: Regenerated.
40689 2011-07-11 Roland McGrath <roland@hack.frob.com>
40691 * configure.in (-z relro check): Fix test code to make the variable
40693 * configure: Regenerated.
40695 2011-07-11 Ulrich Drepper <drepper@gmail.com>
40697 * nscd/nscd.h (struct traced_file): Define.
40698 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40699 elements. Add traced_files.
40700 (inotify_fd): Declare.
40701 (register_traced_file): Declare.
40702 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40703 (inotify_fd): Export.
40704 (resolv_conf_descr): Remove.
40705 (nscd_init): Move inotify descriptor creation to main.
40706 Don't register files for notification here.
40707 (register_traced_file): New function.
40708 (invalidate_cache): Don't use reset_res to determine whether to call
40709 res_init, go through the list of registered files.
40710 (main_loop_poll): The inotify descriptors are now stored in the
40711 structures for the traced files.
40712 (main_loop_epoll): Likewise
40713 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40714 to __nss_disable_nscd.
40715 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40716 for a database anymore. Check the records for all the registered
40718 * nss/Makefile (libnss_files-routines): Add files-init.
40719 (libnss_db-routines): Add db-init.
40720 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40721 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40722 * nss/nss_db/db-init.c: New file.
40723 * nss/nss_files/files-init.c: New file.
40724 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40725 __nss_lookup_function.
40726 (__nss_lookup_function): Call nss_load_library.
40727 (nss_load_all_libraries): New function.
40728 (__nss_disable_nscd): Take parameter with callback function for files
40729 to register. Set is_nscd. Load all the DSOs for the NSS modules
40730 used for the cached services.
40731 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40732 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40733 options for features to all the files in nscd.
40735 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40737 2011-07-10 Roland McGrath <roland@hack.frob.com>
40739 * csu/elf-init.c (__libc_csu_init): Comment typo.
40741 2011-07-09 Ulrich Drepper <drepper@gmail.com>
40743 * po/pl.po: Update from translation team.
40744 * po/ja.po: Likewise.
40745 * po/ru.po: Likewise.
40746 * po/ko.po: Likewise.
40747 * po/fr.po: Likewise.
40749 2011-07-09 Roland McGrath <roland@hack.frob.com>
40751 * configure.in (.ctors/.dtors header and trailer check):
40752 Use an empirical test on a built program.
40753 * configure: Regenerated.
40755 * configure.in (-z relro check): Use an empirical test on a built DSO.
40756 Detect, but do not require, on ia64.
40757 * configure: Regenerated.
40759 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40760 Update tests that use readelf to use $READELF instead.
40761 * configure: Regenerated.
40763 2011-07-08 Ulrich Drepper <drepper@gmail.com>
40765 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40766 if the result is not used.
40768 2011-07-05 Andreas Jaeger <aj@suse.de>
40771 * stdlib/tst-strtod.c: Add testcase.
40773 2011-07-07 Ulrich Drepper <drepper@gmail.com>
40775 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
40776 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
40777 The latter has a higher limit. Take additional parameter to pass to
40779 (__pathconf): Pass file to __statfs_link_max.
40780 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40782 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40786 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40787 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40789 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40790 (__statfs_filesize_max): Likewise.
40791 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40793 2011-07-05 Andreas Jaeger <aj@suse.de>
40795 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40797 2011-07-06 Marek Polacek <mpolacek@redhat.com>
40799 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40801 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40804 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40806 * Makefile (strop-tests): Add strncat.
40807 * string/test-strncat.c: New file.
40809 2011-06-30 Marek Polacek <mpolacek@redhat.com>
40811 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40813 2011-06-21 Andreas Jaeger <aj@suse.de>
40815 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40816 Copy rule from iconvdata/Makefile.
40818 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40821 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40822 but no long options are defined, just return 'W'.
40824 2011-06-22 Marek Polacek <mpolacek@redhat.com>
40827 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40829 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40831 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40833 (innetgr): Likewise.
40835 2011-07-05 Roland McGrath <roland@hack.frob.com>
40837 * config.make.in (install_root): Default to $(DESTDIR).
40839 2011-07-05 Ulrich Drepper <drepper@gmail.com>
40841 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40843 2011-07-02 Roland McGrath <roland@hack.frob.com>
40845 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40847 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40848 containing directory rather than embedding absolute directory names.
40850 * scripts/check-local-headers.sh: Rewritten using awk.
40851 Match by word, not by line. Print error messages for matches.
40852 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40854 * Makerules [shlib-lds-flags empty]:
40855 ($(common-objpfx)libc_pic.opts): New target.
40856 ($(common-objpfx)libc_pic.os.clean): New target.
40857 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40859 * config.make.in (OBJCOPY): New variable.
40860 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40861 * configure: Regenerated.
40863 * config.make.in (use-default-link): New variable.
40864 * configure.in (use_default_link): Grok --with-default-link to set it.
40865 * configure: Regenerated.
40866 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40867 (shlib-lds, shlib-lds-flags): Define to empty.
40869 * Makerules (shlib-lds): New variable.
40870 (shlib-lds-flags): New variable.
40871 (build-shlib, build-moduile, build-module-asneeded): Use it.
40872 ($(common-objpfx)libc.so): Use $(shlib-lds).
40873 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40874 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40876 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40877 DT_FLAGS/DT_FLAGS_1 with zero flags.
40879 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40880 linker script munging.
40882 2011-07-02 Ulrich Drepper <drepper@gmail.com>
40884 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40886 * crypt/sha512.c (sha512_process_block): Perform total addition using
40887 128-bit if possible.
40888 (__sha512_finish_ctx): Likewise.
40889 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40891 * crypt/sha256.c (SWAP64): Define.
40892 (sha256_process_block): Perform total addition using 64-bit if
40894 (__sha256_finish_ctx): Likewise.
40896 2011-07-01 Ulrich Drepper <drepper@gmail.com>
40898 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40899 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40900 * nscd/hstcache.c (cache_addhst): Likewise.
40901 * nscd/grpcache.c (cache_addgr): Likewise.
40902 * nscd/aicache.c (addhstaiX): Likewise
40903 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40905 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
40907 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40908 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40909 * nscd/hstcache.c (cache_addhst): Likewise.
40910 * nscd/grpcache.c (cache_addgr): Likewise.
40911 * nscd/aicache.c (addhstaiX): Likewise
40913 2011-07-01 Andreas Schwab <schwab@redhat.com>
40915 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40916 domain only when needed.
40918 2011-06-30 Andreas Schwab <schwab@redhat.com>
40920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40921 is always restored.
40923 2011-06-29 Ulrich Drepper <drepper@gmail.com>
40925 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40926 are re-adding the entry.
40927 * nscd/servicescache.c (cache_addserv): Likewise.
40929 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40931 * sysdeps/generic/dl-irel.h: fix protection against multiple
40933 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40935 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40938 * malloc/memusage.sh: Fix quoting in message.
40939 * debug/xtrace.sh: Likewise.
40941 * configure.in: Remove support for --experimental-malloc option, make
40943 * config.make.in: Likewise.
40944 * malloc/Makefile: Likewise.
40946 2011-06-27 Andreas Schwab <schwab@redhat.com>
40948 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40949 two-byte characters.
40951 2011-06-27 Roland McGrath <roland@hack.frob.com>
40953 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40954 AC_CACHE_CHECK invocation.
40955 * configure: Regenerated.
40957 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40959 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40962 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40963 bit from old_res_options.
40965 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40967 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40968 value type for setfct.
40970 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40972 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40973 __gettimeofday instead of gettimeofday.
40975 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40977 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40979 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40981 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40983 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40986 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40988 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40989 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40990 strcpy-sse2-unaligned strncpy-sse2-unaligned
40991 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40992 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40993 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40994 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40995 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40996 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40997 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40998 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40999 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
41000 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
41001 (STRCPY): Support SSE2 and SSSE3 versions.
41003 2011-06-24 Ulrich Drepper <drepper@gmail.com>
41006 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
41007 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
41008 kernels which artificially limit size of requests.
41010 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41012 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41013 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41014 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
41015 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
41016 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
41017 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
41018 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41019 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41020 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41021 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41022 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41023 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41024 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41025 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41026 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41027 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41028 Enable unaligned load optimization for Intel Core i3, i5 and i7
41030 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41032 (index_Fast_Unaligned_Load): Define.
41033 (HAS_FAST_UNALIGNED_LOAD): Define.
41035 2011-06-23 Marek Polacek <mpolacek@redhat.com>
41037 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41039 2011-06-22 Ulrich Drepper <drepper@gmail.com>
41042 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41043 until it is clear that the information is realy needed.
41044 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41046 2011-06-22 Andreas Schwab <schwab@redhat.com>
41048 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41050 2011-06-22 Ulrich Drepper <drepper@gmail.com>
41052 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41053 /sys/devices/system/cpu/online if it is usable.
41055 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41056 reading the information from the /proc filesystem to once a second.
41058 2011-06-21 Andreas Jaeger <aj@suse.de>
41060 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41061 NULL after inclusion of kernel headers.
41063 2011-06-21 Ulrich Drepper <drepper@gmail.com>
41065 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41066 calls to internal_setent.
41069 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41070 addresses using gethostbyname4_r ignore IPv4 addresses.
41072 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41073 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
41075 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41077 2011-06-20 David S. Miller <davem@davemloft.net>
41079 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41081 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41083 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41084 (elf_irel): Use it.
41085 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41086 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41087 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41088 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41089 * sysdeps/x86_64/dl-irel.h: Likewise.
41091 * elf/dl-runtime.c: Use elf_ifunc_invoke.
41092 * elf/dl-sym.c: Likewise.
41094 2011-06-15 Ulrich Drepper <drepper@gmail.com>
41096 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
41097 need to dereference resplen2.
41099 2011-06-14 Andreas Schwab <schwab@redhat.com>
41101 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41103 2011-06-15 Ulrich Drepper <drepper@gmail.com>
41105 * Makeconfig: Define vardbdir and inst_vardbdir.
41106 * nss/Makefile: Add rules to install db-Makefile.
41108 * nss/nss_db/db-XXX.c: Cleanup.
41110 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41111 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41113 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41114 * nss/makedb.c: Implement -g option to specify that value strings
41115 are generated and should not be added to table iterated over for
41117 * nss/nss_db/db-initgroups.c: New file.
41119 * nss/getent.c: Add support for initgroups lookups through getgrouplist
41122 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41123 (internal_getgrouplist): Adjust to name change.
41124 Update use_initgroups_entry if this is not the first call.
41125 * nss/databases.def: Add initgroups entry.
41127 * nss/makedb.c (compute_tables): Check result of multiple hash table
41128 sizes to minimize maximum chain length.
41130 2011-06-14 Ulrich Drepper <drepper@gmail.com>
41132 * Versions.def: Add entry for libnss_db.
41133 * shlib-versions: Likewise.
41134 * nss/Makefile: Add rules to build libnss_db.
41135 * nss/Versions: Add libnss_db information. Organize libnss_files
41137 * nss/db-Makefile: Add gshadow support. Change rules for the new
41138 makedb progra. Some minor improvements to generate smaller files.
41139 * nss/nss_db/nss_db.h: Move NSS database header data structures to
41141 * nss/makedb.c: ...here.
41142 Improve database format to be smaller and require less memory at
41144 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
41146 * nss/nss_db/db-netgrp.c: Likewise.
41147 * nss/nss_db/db-open.c: Likewise.
41148 * nss/nss_files/flies-XXX.x: Adjust comments.
41149 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41150 * nss/nss_files/files-grp.c: Likewise.
41151 * nss/nss_files/files-hosts.c: Likewise.
41152 * nss/nss_files/files-network.c: Likewise.
41153 * nss/nss_files/files-proto.c: Likewise.
41154 * nss/nss_files/files-pwd.c: Likewise.
41155 * nss/nss_files/files-rpc.c: Likewise.
41156 * nss/nss_files/files-service.c: Likewise.
41157 * nss/nss_files/files-sgrp.c: Likewise.
41158 * nss/nss_files/files-spwd.c: Likewise.
41159 * nss/nss_db/db-alias.c: Removed.
41160 * nss/nss_db/dummy-db.h: Removed.
41162 2011-06-02 Ulrich Drepper <drepper@gmail.com>
41164 * nss/makedb.c: Rewritten to not use database library.
41165 * nss/Makefile: Update to build new makedb program.
41167 2011-06-14 Andreas Jaeger <aj@suse.de>
41169 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41170 memset declaration.
41172 2011-06-10 Andreas Schwab <schwab@redhat.com>
41174 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41177 2011-06-10 Roland McGrath <roland@hack.frob.com>
41179 * Makerules (shlib.lds): Fail if the linker script comes out empty.
41180 * elf/Makefile ($(objpfx)ld.so): Likewise.
41182 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41183 Don't list ld.so twice in dependencies.
41185 * posix/bug-regex31.c: Include <stdlib.h>.
41187 * nscd/hstcache.c (cache_addhst): Remove unused variable.
41189 * nis/nss_compat/compat-spwd.c
41190 (getspent_next_nss_netgr): Remove unused variable.
41191 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41193 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41194 nonmembers" output to use the right array.
41196 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41198 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41200 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41201 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41202 * catgets/gencat.c (read_input_file): Likewise.
41203 * locale/programs/locarchive.c (enlarge_archive): Likewise.
41205 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41206 variable definition inside #if's controlling its use.
41208 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41210 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41212 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41214 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41217 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41219 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41220 * configure: Regenerated.
41222 * Makerules: Revert last change.
41223 * elf/Makefile: Likewise.
41225 2011-06-09 Roland McGrath <roland@hack.frob.com>
41227 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41228 * elf/Makefile ($(objpfx)librtld.os): Likewise.
41229 (reloc-link): Likewise.
41231 2011-06-09 Ulrich Drepper <drepper@gmail.com>
41233 * elf/Makefile: Add rules to build pldd.
41234 * elf/pldd.c: New file.
41235 * elf/pldd-xx.c: New file.
41237 2011-06-07 Ulrich Drepper <drepper@gmail.com>
41239 * version.h: Update for 2.15 development version.
41241 2011-06-07 David S. Miller <davem@davemloft.net>
41243 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41245 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
41246 elf_machine_lazy_rel): Likewise.
41247 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41248 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
41249 elf_machine_lazy_rel): Likewise.
41250 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
41251 dl_hwcap via passed in argument.
41252 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
41255 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41257 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
41259 2011-06-06 Roland McGrath <roland@hack.frob.com>
41262 * manual/fdl-1.1.texi: New file, verbatim from:
41263 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
41264 * manual/lgpl-2.1.texi: New file, verbatim from:
41265 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
41266 * manual/Makefile (licenses): New variable, list those new file names.
41268 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
41270 * manual/fdl.texi: File removed.
41271 * manual/lesser.texi: File removed.
41272 * manual/libc.texinfo (Copying, Documentation License):
41273 Use new @include file names, put @appendix directive before @include.
41275 2011-06-04 Jakub Jelinek <jakub@redhat.com>
41278 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
41279 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
41280 (mq_open): Add __NTH.
41282 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
41284 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41285 Assume Intel Core i3/i5/i7 processor if AVX is available.
41287 2011-05-31 Ulrich Drepper <drepper@gmail.com>
41289 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41292 2011-05-31 Andreas Schwab <schwab@redhat.com>
41294 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
41295 memory. Use alloca_account. Fix memory leak when retrying.
41297 2011-05-31 Ulrich Drepper <drepper@gmail.com>
41299 * version.h (RELEASE): Bump for 2.14 release.
41300 * include/features.h (__GLIBC_MINOR__): Bump to 14.
41302 * config.make.in (RANLIB): Remove entry.
41304 2011-05-30 Ulrich Drepper <drepper@gmail.com>
41306 * po/Makefile (po-sed-cmd): Add ksh to extensions.
41307 (libc.pot): Work around missing support for .ksh extension in xgettext.
41310 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
41311 if both request failed.
41312 (send_dg): In case of server errors clear resplen or *resplen2.
41315 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
41316 when there are multiple maps.
41317 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
41318 (_dl_fini): Remove test here.
41320 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
41322 2011-05-29 Ulrich Drepper <drepper@gmail.com>
41325 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
41326 bit from old_res_options.
41327 (gaih_inet): Likewise.
41330 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
41333 * resolv/res_init.c (res_setoptions): Make the code more compact.
41336 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
41340 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
41342 * malloc/malloc.h: Mark malloc hook variables as deprecated.
41345 * malloc/malloc.h: Declare malloc hook variables as volatile.
41347 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
41351 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
41352 raise in the comment.
41353 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41354 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41355 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
41357 2011-05-28 Ulrich Drepper <drepper@gmail.com>
41360 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
41361 grow the buffers more if it already has to be sufficient.
41362 (build_wcs_upper_buffer): Likewise.
41363 * posix/regexec.c (check_matching): Likewise.
41364 (clean_state_log_if_needed): Likewise.
41365 (extend_buffers): Don't enlarge buffers beyond size of the input
41367 Patches mostly by Emil Wojak <emil@wojak.eu>.
41368 * posix/bug-regex32.c: New file.
41369 * posix/Makefile (tests): Add bug-regex32.
41371 * locale/findlocale.c (_nl_find_locale): Return right away if
41372 _nl_explode_name failed.
41373 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41375 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41377 * debug/xtrace.sh: Unify messages.
41378 * malloc/memusage.sh: Likewise.
41381 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41382 time symbol from vDSO. Substitute with vsyscall if not available.
41383 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41386 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41387 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41388 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41389 Add sendmmsg and internal_sendmmsg.
41390 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
41391 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
41392 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
41394 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
41395 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
41396 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
41398 2011-05-27 Ulrich Drepper <drepper@gmail.com>
41401 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
41402 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
41404 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
41408 * iconvdata/Makefile (tests): Add bug-iconv9.
41409 * iconvdata/bug-iconv9.c: New file.
41411 2011-05-27 Andreas Schwab <schwab@redhat.com>
41414 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
41416 2011-05-25 Jakub Jelinek <jakub@redhat.com>
41418 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41419 (struct user_regs_struct): Change intcs field back to cs.
41421 2011-05-25 Ulrich Drepper <drepper@gmail.com>
41423 * po/ja.po: Update from translation team.
41425 2011-05-23 Ulrich Drepper <drepper@gmail.com>
41428 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
41429 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
41431 2011-05-20 Andreas Schwab <schwab@redhat.com>
41433 * stdlib/longlong.h: Update from GCC.
41435 2011-05-23 Andreas Schwab <schwab@redhat.com>
41437 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
41439 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
41440 Add parameter name.
41441 (__sysconf): Pass it down.
41443 2011-05-22 Ulrich Drepper <drepper@gmail.com>
41446 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
41448 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41449 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
41450 add in in __libc_use_alloca calls. Adjust callers.
41451 (glob): Use malloc in some situations.
41453 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
41454 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
41457 2011-05-21 Ulrich Drepper <drepper@gmail.com>
41459 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41460 and CLOCK_BOOTTIME_ALARM.
41463 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41466 * string/_strerror.c (__strerror_r): Print negative errors as signed
41470 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41471 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41472 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41474 * configure.in: Fix typo in redirection and correct removal of test
41475 files in two cases.
41478 * locale/setlocale.c (new_composite_name): Fix test to check for
41479 identical name of all categories.
41482 * libio/filedoalloc.c (local_isatty): New function.
41483 (_IO_file_doallocate): Use local_isatty.
41484 * stdio-common/perror.c (perror): In case a new stream is used
41485 forward the stream error.
41486 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41489 2011-05-20 Ulrich Drepper <drepper@gmail.com>
41492 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41494 * include/alloca.h (extend_alloca_account): Define.
41497 * posix/regex.h: Fix comments with documentation of user-accessible
41498 fields after compilation and describe correct free'ing of pattern
41499 after re_compile_pattern.
41500 Patch by Reuben Thomas <rrt@sc3d.org>.
41502 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
41504 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
41505 and -mno-altivec to prevent the compiler from using Altivec and/or
41506 VSX instructions when the corresponding registers are not available.
41508 2011-05-19 Andreas Schwab <schwab@redhat.com>
41510 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
41512 2011-05-19 Ulrich Drepper <drepper@gmail.com>
41514 * libio/freopen.c (freopen): Use __dup2, not dup2.
41515 * libio/freopen64.c (freopen64): Likewise.
41517 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
41520 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
41521 * math/Makefile (tests): Add test-powl.
41522 (CFLAGS-test-powl.c): Define.
41523 * math/test-powl.c: New file.
41525 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
41527 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
41529 2011-05-17 Ulrich Drepper <drepper@gmail.com>
41532 * iconvdata/gb18030.c: Update to GB18020-2005.
41534 2011-05-16 Ulrich Drepper <drepper@gmail.com>
41536 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
41537 RE_SYNTAX_POSIX_AWK): Update to match recent development.
41538 Patch by Aharon Robbins <arnold@skeeve.com>.
41541 * stdlib/putenv.c (putenv): Don't always create copy of the variable
41545 * misc/pselect.c (__pselect): Handle timeout value errors hidden
41546 through underflows.
41549 * misc/error.c (error_at_line): Ensure file_name and old_file_name
41550 point to strings before performing equality test for error_one_per_line
41554 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41557 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41558 (struct user_fpregs_struct): Avoid __uint*_t types.
41561 * malloc/mtrace.c (tr_where): Add additional parameter to point to
41562 symbol info. Use it instead of calling _dl_addr locally.
41563 (lock_and_info): New function.
41564 (tr_freehook): Call lock_and_info and pass symbol info as additional
41565 parameter to tr_where.
41566 (tr_mallochook): Likewise.
41567 (tr_reallochook): Likewise.
41568 (tr_memalignhook): Likewise.
41570 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
41571 used and couldn't be at all thread-safe.
41573 2011-05-15 Ulrich Drepper <drepper@gmail.com>
41575 * libio/freopen.c (freopen): Don't close old file descriptor
41576 before the new one is opened. Instead dup the new file descriptor
41577 to the old one after the new stream is created.
41578 * libio/freopen64.c (freopen64): Likewise.
41579 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
41580 * libio/fileops.c (_IO_new_file_close_it): Handle new
41581 _IO_FLAGS2_NOCLOSE flag.
41582 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
41583 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
41584 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
41585 _IO_FLAGS2_NOCLOSE flag.
41586 * include/unistd.h: Add hidden_proto for dup3.
41587 Define __have_dup3.
41588 * io/dup3.c: Define hidden symbol.
41589 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
41592 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
41593 when an incomplete long option is used.
41594 * posix/tst-getopt_long1.c: New file.
41595 * posix/Makefile (tests): Add tst-getopt_long1.
41598 * scripts/config.guess: Update from autoconf-2.68.
41599 * scripts/config.sub: Likewise.
41602 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
41604 (has_cpuclock): ...this. New function.
41605 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
41606 macro here based on has_cpuclock code.
41609 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41610 First byte (not low byte) is now always NUL.
41611 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41613 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41614 Use non-cancelable interfaces.
41617 * locale/iso-639.def: Add entry for Sorani.
41620 * include/stdlib.h: Move include protection to the right place.
41621 Define abort_msg_s. Declare __abort_msg with it.
41622 * stdlib/abort.c (__abort_msg): Adjust type.
41623 * assert/assert.c (__assert_fail_base): New function. Majority
41624 of code from __assert_fail. Allocate memory for __abort_msg with
41626 (__assert_fail): Now call __assert_fail_base.
41627 * assert/assert-perr.c: Remove bulk of implementation. Use
41628 __assert_fail_base.
41629 * include/assert.hL Declare __assert_fail_base.
41630 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41632 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41634 2011-05-14 Ulrich Drepper <drepper@gmail.com>
41638 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41639 until all modules are registered in the DTV.
41640 * elf/Makefile: Add rules to build and run tst-tls19.
41641 * elf/tst-tls19.c: New file.
41642 * elf/tst-tls19mod1.c: New file.
41643 * elf/tst-tls19mod2.c: New file.
41644 * elf/tst-tls19mod3.c: New file.
41645 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41648 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41652 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41653 two-byte sequence errors.
41654 * iconvdata/Makefile (tests): Add bug-iconv8.
41655 * iconvdata/bug-iconv8.c: New file.
41658 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41661 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41664 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41665 (dummy_getcfa): New function.
41666 (init): Get _Unwind_GetCFA address, use dummy if not found.
41667 (backtrace_helper): In recursion check, also check whether CFA changes.
41668 (__backtrace): Completely initialize arg.
41670 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
41671 storing incomplete byte sequence in state object. Avoid testing for
41672 guaranteed too small input if we know there is enough data available.
41674 2011-05-11 Andreas Schwab <schwab@redhat.com>
41676 * Makeconfig (+link-pie): Indent.
41677 * Rules (binaries-pie): Define if $(have-fpie) and
41679 (binaries-shared): Also filter out $(binaries-pie).
41680 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41681 * nscd/Makefile (others-pie): Add nscd.
41682 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41683 ($(objpfx)nscd): Remove command override.
41684 * login/Makefile (others-pie): Add pt_chown.
41685 ($(objpfx)pt_chown): Remove command override.
41686 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41687 remove command overrides.
41689 2011-05-13 Ulrich Drepper <drepper@gmail.com>
41691 * libio/tst_putwc.c: Fix error messages.
41694 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41695 currently writing and seek to current position when not.
41696 * libio/Makefile (tests): Add bug-fclose1.
41697 * libio/bug-fclose1.c: New file.
41699 2011-05-12 Ulrich Drepper <drepper@gmail.com>
41702 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41703 don't set DF_1_NODELETE here.
41704 (do_lookup_x): When entering new entry test for copy relocation
41705 and if necessary set DF_1_NODELETE flag.
41706 * elf/tst-unique4.cc: New file.
41707 * elf/tst-unique4.h: New file.
41708 * elf/tst-unique4lib.cc: New file.
41709 * elf/Makefile: Add rules to build and run tst-unique4.
41710 Patch by Piotr Bury <pbury@goahead.com>.
41712 2011-05-11 Ulrich Drepper <drepper@gmail.com>
41715 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41718 * misc/mntent_r.c (addmntent): Flush the stream after the output
41721 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41722 (is_trusted_path_normalize): Skip initial colon. Append slash
41723 to empty buffer. Duplicate is_trusted_path code but allow
41724 constructed patch to be prefix.
41725 (is_dst): Allow $ORIGIN followed by /.
41726 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41727 Correct testing of result of is_trusted_path_normalize
41728 (decompose_rpath): Fix warning.
41730 2011-05-10 Ulrich Drepper <drepper@gmail.com>
41733 * grp/initgroups.c (internal_getgrouplist): When we found the service
41734 list through the initgroups entry in nsswitch.conf do not always
41735 continue on a successful lookup. Don't always use the
41736 __nss_group_database value if it is set.
41737 * nss/nsswitch.conf (initgroups): Change action for successful db
41738 lookup to continue for compatibility.
41740 2011-05-09 Ulrich Drepper <drepper@gmail.com>
41743 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41745 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41747 * iconvdata/tst-tables.sh: Likewise.
41748 * iconvdata/cp770.c: New file.
41749 * iconvdata/cp771.c: New file.
41750 * iconvdata/cp772.c: New file.
41751 * iconvdata/cp773.c: New file.
41752 * iconvdata/cp774.c: New file.
41753 * iconvdata/testdata/CP770: New file.
41754 * iconvdata/testdata/CP770..UTF8: New file.
41755 * iconvdata/testdata/CP771: New file.
41756 * iconvdata/testdata/CP771..UTF8: New file.
41757 * iconvdata/testdata/CP772: New file.
41758 * iconvdata/testdata/CP772..UTF8: New file.
41759 * iconvdata/testdata/CP773: New file.
41760 * iconvdata/testdata/CP773..UTF8: New file.
41761 * iconvdata/testdata/CP774: New file.
41762 * iconvdata/testdata/CP774..UTF8: New file.
41764 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41766 * iconvdata/gen-8bit-gap.sh: Likewise.
41767 * iconvdata/gen-8bit.sh: Likewise.
41769 * locale/iso-639.def: Add ary entry.
41772 * locale/C-translit.h.in: Add U20A1 transliteration.
41775 * locale/iso-639.def: Add wae entry.
41776 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41779 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41783 * locale/C-translit.h.in: Add entry for U20B9.
41784 Patch by pravin.d.s@gmail.com.
41786 2011-05-08 Ulrich Drepper <drepper@gmail.com>
41789 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41790 ENAMETOOLONG use generic getcwd.
41791 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41792 in rtld. Use *stat64.
41793 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41794 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41795 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41796 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41797 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41798 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41799 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41800 __fstatat64 macros.
41801 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41802 * dirent/rewinddir.c: Add libc_hidden_def.
41803 * sysdeps/mach/hurd/rewinddir.c: Likewise.
41804 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
41806 * include/dirent.h (__alloc_dir): Add flags parameter.
41807 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41808 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41810 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41811 from fdopendir if O_CLOEXEC is already set.
41813 2011-03-15 Alan Modra <amodra@gmail.com>
41815 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41816 l_tls_firstbyte_offset non-zero. Save padding offset in
41817 l_tls_firstbyte_offset for later use.
41818 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41819 freeing static tls block.
41821 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41823 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41824 where #ifdef was intended. The intent is to prevent ARG_MAX from
41825 being defined by the kernel headers.
41827 2011-05-07 Ulrich Drepper <drepper@gmail.com>
41830 * resolv/resolv.h: Define RES_NOTLDQUERY.
41831 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41832 no-tld-query and set RES_NOTLDQUERY.
41833 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41834 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41835 modern BIND to search name as TLD unless forbidden.
41837 2011-05-07 Petr Baudis <pasky@suse.cz>
41838 Ulrich Drepper <drepper@gmail.com>
41841 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41842 (is_trusted_path): ...to here.
41843 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41844 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41845 using is_trusted_path_normalize() in setuid scripts.
41847 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41849 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41850 __BEGIN/__END_DECLS.
41852 2011-05-06 Ulrich Drepper <drepper@gmail.com>
41854 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41855 NSS_STATUS_NOTFOUND if no record was found.
41857 2011-05-05 Andreas Schwab <schwab@redhat.com>
41859 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41860 (headers-not-in-tirpc): Remove rpc/netdb.h
41861 * resolv/netdb.h: Revert last change.
41863 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41865 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41866 circular dependency between libgcc.a and libc.a.
41868 2011-05-05 Andreas Schwab <schwab@redhat.com>
41870 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41871 * nis/Makefile: Don't install rpcsvc/*.
41872 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41873 instead of <rpc/types.h>.
41874 (MAXHOSTNAMELEN): Define.
41876 2011-05-03 Andreas Schwab <schwab@redhat.com>
41878 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41880 2011-04-28 Maciej Babinski <mbabinski@google.com>
41883 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41884 gethostbyname4_r when IPv6 results are possible.
41886 2011-05-02 Ulrich Drepper <drepper@gmail.com>
41889 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41890 _PC_PIPE_BUF handling.
41892 2011-04-30 Bruno Haible <bruno@clisp.org>
41895 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41896 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41898 * inet/getnameinfo.c (getnameinfo): Likewise.
41900 2011-04-29 Ulrich Drepper <drepper@gmail.com>
41902 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41903 to groups setting in database lookup.
41904 * nss/nsswitch.conf: Add initgroups entry.
41906 2011-04-22 Ulrich Drepper <drepper@gmail.com>
41909 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41911 Patch by Eric Blake <eblake@redhat.com>.
41913 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41915 * sunrpc/Makefile (need-export-routines): Add svc_run.
41916 (routines): Remove svc_run.
41917 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41918 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41919 * sunrpc/svc_run.c (svc_run): Likewise.
41920 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41922 2011-04-21 Ulrich Drepper <drepper@gmail.com>
41924 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41925 problem in reallocation in last patch.
41927 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41929 * sunrpc/Makefile: Move inclusion of Rules.
41931 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41933 * nss/nss_files/files-initgroups.c: New file.
41934 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41935 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41936 _nss_files_initgroups_dyn.
41938 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41940 * elf/elf.h (R_ARM_IRELATIVE): Define.
41942 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41944 * po/ru.po: Update from translation team.
41946 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41948 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41951 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41954 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41955 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41956 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41957 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41958 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41960 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41962 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41964 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41965 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41966 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41968 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41971 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41973 * stdlib/bug-getcontext.c: New file.
41974 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41976 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41978 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41979 instructions into .machine "z9-109".
41980 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41981 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41983 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41985 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41986 between environment variables and auxiliary vector.
41988 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41990 * Makefile: Add rules to build linkobj/libc.so.
41991 * include/libc-symbols.h: Define libc_hidden_nolink.
41992 * include/rpc/auth.h: Mark functions which are to be hidden.
41993 * include/rpc/auth_des.h: Likewise.
41994 * include/rpc/auth_unix.h: Likewise.
41995 * include/rpc/clnt.h: Likewise.
41996 * include/rpc/des_crypt.h: Likewise.
41997 * include/rpc/key_prot.h: Likewise.
41998 * include/rpc/pmap_clnt.h: Likewise.
41999 * include/rpc/pmap_prot.h: Likewise.
42000 * include/rpc/pmap_rmt.h: Likewise.
42001 * include/rpc/rpc_msg.h: Likewise.
42002 * include/rpc/svc.h: Likewise.
42003 * include/rpc/svc_auth.h: Likewise.
42004 * include/rpc/xdr.h: Likewise.
42005 * nis/Makefile: Link all DSOs against linkobj/libc.so.
42006 * nss/Makefile: Likewise.
42007 * sunrpc/Makefile: Don't install headers. Build library with normal
42008 entry points. Don't build rpcinfo. Link RPC tests appropriately.
42009 * sunrpc/auth_des.c: Hide exported symbols by default, export some
42010 for the compat linking library. Remove use of INTDEF/INTUSE.
42011 * sunrpc/auth_none.c: Likewise.
42012 * sunrpc/auth_unix.c: Likewise.
42013 * sunrpc/authdes_prot.c: Likewise.
42014 * sunrpc/authuxprot.c: Likewise.
42015 * sunrpc/clnt_gen.c: Likewise.
42016 * sunrpc/clnt_perr.c: Likewise.
42017 * sunrpc/clnt_raw.c: Likewise.
42018 * sunrpc/clnt_simp.c: Likewise.
42019 * sunrpc/clnt_tcp.c: Likewise.
42020 * sunrpc/clnt_udp.c: Likewise.
42021 * sunrpc/clnt_unix.c: Likewise.
42022 * sunrpc/des_crypt.c: Likewise.
42023 * sunrpc/des_soft.c: Likewise.
42024 * sunrpc/get_myaddr.c: Likewise.
42025 * sunrpc/key_call.c: Likewise.
42026 * sunrpc/key_prot.c: Likewise.
42027 * sunrpc/netname.c: Likewise.
42028 * sunrpc/pm_getmaps.c: Likewise.
42029 * sunrpc/pm_getport.c: Likewise.
42030 * sunrpc/pmap_clnt.c: Likewise.
42031 * sunrpc/pmap_prot.c: Likewise.
42032 * sunrpc/pmap_prot2.c: Likewise.
42033 * sunrpc/pmap_rmt.c: Likewise.
42034 * sunrpc/publickey.c: Likewise.
42035 * sunrpc/rpc_cmsg.c: Likewise.
42036 * sunrpc/rpc_common.c: Likewise.
42037 * sunrpc/rpc_dtable.c: Likewise.
42038 * sunrpc/rpc_prot.c: Likewise.
42039 * sunrpc/rpc_thread.c: Likewise.
42040 * sunrpc/rtime.c: Likewise.
42041 * sunrpc/svc.c: Likewise.
42042 * sunrpc/svc_auth.c: Likewise.
42043 * sunrpc/svc_authux.c: Likewise.
42044 * sunrpc/svc_raw.c: Likewise.
42045 * sunrpc/svc_run.c: Likewise.
42046 * sunrpc/svc_simple.c: Likewise.
42047 * sunrpc/svc_tcp.c: Likewise.
42048 * sunrpc/svc_udp.c: Likewise.
42049 * sunrpc/svc_unix.c: Likewise.
42050 * sunrpc/svcauth_des.c: Likewise.
42051 * sunrpc/xcrypt.c: Likewise.
42052 * sunrpc/xdr.c: Likewise.
42053 * sunrpc/xdr_array.c: Likewise.
42054 * sunrpc/xdr_float.c: Likewise.
42055 * sunrpc/xdr_intXX_t.c: Likewise.
42056 * sunrpc/xdr_mem.c: Likewise.
42057 * sunrpc/xdr_rec.c: Likewise.
42058 * sunrpc/xdr_ref.c: Likewise.
42059 * sunrpc/xdr_sizeof.c: Likewise.
42060 * sunrpc/xdr_stdio.c: Likewise.
42062 2011-04-10 Ulrich Drepper <drepper@gmail.com>
42065 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42066 * sysdeps/ia64/dl-tls.h: Likewise.
42067 * sysdeps/powerpc/dl-tls.h: Likewise.
42068 * sysdeps/s390/dl-tls.h: Likewise.
42069 * sysdeps/sh/dl-tls.h: Likewise.
42070 * sysdeps/sparc/dl-tls.h: Likewise.
42071 * sysdeps/x86_64/dl-tls.h: Likewise.
42072 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42074 2011-03-14 Andreas Schwab <schwab@redhat.com>
42076 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42077 rpath element also skip the following colon.
42078 (expand_dynamic_string_token): Add is_path parameter and pass
42079 down to DL_DST_REQUIRED and _dl_dst_substitute.
42080 (decompose_rpath): Call expand_dynamic_string_token with
42081 non-zero is_path. Ignore empty rpaths.
42082 (_dl_map_object_from_fd): Call expand_dynamic_string_token
42085 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
42087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42090 2011-04-09 Ulrich Drepper <drepper@gmail.com>
42093 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42094 Patch by Filipe David Manana <fdmanana@apache.org>.
42096 2011-04-07 Andreas Schwab <schwab@redhat.com>
42098 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42099 Maintain aligned stack.
42100 (CHECK_RSP): Remove unused macro.
42102 2011-04-03 Ulrich Drepper <drepper@gmail.com>
42104 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42105 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42107 2011-04-02 Ulrich Drepper <drepper@gmail.com>
42109 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42111 * include/features.h: Mention __USE_XOPEN2K8 in comment.
42113 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
42116 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42117 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42118 * sysdeps/x86_64/memmove.c: New file.
42119 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42120 (memcpy): Renamed to ...
42121 (__new_memcpy): This.
42122 (memcpy): Provide GLIBC_2_14 memcpy.
42123 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42124 (memcpy): Provide GLIBC_2_2_5 memcpy.
42126 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42129 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42131 2011-03-30 Andreas Schwab <schwab@redhat.com>
42133 * misc/syncfs.c: New file.
42134 * misc/Makefile (routines): Add syncfs.
42135 * posix/unistd.h: Declare syncfs.
42136 * sysdeps/unix/syscalls.list: Add syncfs.
42138 2011-04-01 Andreas Schwab <schwab@redhat.com>
42140 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42142 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42143 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42144 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42145 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42146 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42147 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42148 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42150 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42152 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42153 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42154 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42155 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42156 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42157 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42158 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42160 * io/Makefile: Compile fallocate.c, fallocate64.c, and
42161 sync_file_range.c with -fexceptions.
42162 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42163 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42164 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42165 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42166 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42167 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42168 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
42169 sync_file_range as cancellation point
42170 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
42171 now a wrapper around __call_sync_file_range with cancellation handling.
42172 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42173 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
42174 function name to __call_sync_file_range.
42175 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42176 Add call_sync_file_range.
42178 2011-04-01 Andreas Schwab <schwab@redhat.com>
42180 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42183 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42185 * iconv/iconv.h: Fix typo in comment.
42186 * io/fcntl.h: Likewise.
42187 * libio/stdio.h: Likewise.
42188 * posix/spawn.h: Likewise.
42189 * posix/unistd.h: Likewise.
42190 * stdlib/stdlib.h: Likewise.
42191 * time/time.h: Likewise.
42192 * wcsmbs/wchar.h: Likewise.
42194 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42195 open_by_handle): Add.
42196 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42197 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
42198 Augment a few comments.
42199 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42200 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42201 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42202 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42203 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42204 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42207 * io/fcntl.h (AT_EMPTY_PATH): Define.
42209 2011-03-30 Ulrich Drepper <drepper@gmail.com>
42211 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42212 * sysdeps/unix/sysv/linux/bits/time.h: New file.
42213 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42215 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
42216 * Versions.def: Add GLIBC_2.14.
42217 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42220 2011-03-22 Ulrich Drepper <drepper@gmail.com>
42222 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42224 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42226 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
42229 * string/test-strncmp.c (do_page_test): New function.
42230 (check2): Likewise.
42231 (test_main): Call check2.
42232 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42234 2011-03-20 Ulrich Drepper <drepper@gmail.com>
42237 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42238 Handle cache information in CPU leaf 4.
42239 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42241 2011-03-18 Ulrich Drepper <drepper@gmail.com>
42244 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
42245 character representation.
42246 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
42248 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
42250 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
42251 END(__isnan) to END(__isnanf) to match function entry point/label
42252 EALIGN(__isnanf,...).
42254 2011-03-10 Jakub Jelinek <jakub@redhat.com>
42256 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
42258 2011-03-10 Ulrich Drepper <drepper@gmail.com>
42261 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
42262 copy from the symbol referenced in the relocation to initialize the
42264 Patch by Piotr Bury <pbury@goahead.com>.
42265 * elf/Makefile: Add rules to build and tst-unique3.
42266 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
42267 * elf/tst-unique3.cc: New file.
42268 * elf/tst-unique3.h: New file.
42269 * elf/tst-unique3lib.cc: New file.
42270 * elf/tst-unique3lib2.cc: New file.
42272 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
42274 2011-03-10 Mike Frysinger <vapier@gentoo.org>
42276 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
42277 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
42280 2011-03-06 Ulrich Drepper <drepper@gmail.com>
42282 * elf/dl-load.c (_dl_map_object): If we are looking for the first
42283 to-be-loaded object along a path to loader is ld.so.
42285 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42286 Ulrich Drepper <drepper@gmail.com>
42288 * sysdeps/x86_64/memset.S: After aligning destination, code
42289 branches to different locations depending on the value of
42290 misalignment, when multiarch is enabled. Fix this.
42292 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42294 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
42295 Set _x86_64_preferred_memory_instruction for AMD processsors.
42296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42297 Set bit_Prefer_SSE_for_memop for AMD processors.
42299 2011-03-04 Ulrich Drepper <drepper@gmail.com>
42301 * libio/fmemopen.c (fmemopen): Optimize a bit.
42303 2011-03-03 Andreas Schwab <schwab@redhat.com>
42305 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
42307 2011-03-03 Roland McGrath <roland@redhat.com>
42309 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
42311 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
42313 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
42314 __bzero_ultra1 instead of __memset_ultra1.
42316 2011-02-23 Andreas Schwab <schwab@redhat.com>
42317 Ulrich Drepper <drepper@gmail.com>
42320 * include/link.h (struct link_map): Add l_orig_initfini.
42321 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
42322 returning unsuccessfully.
42323 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
42324 close of a file loaded at startup, restore the original l_initfini
42326 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
42327 list, store the pointer.
42328 * elf/Makefile ($(objpfx)noload-mem): New rule.
42329 (noload-ENV): Define.
42330 (tests): Add $(objpfx)noload-mem.
42331 * elf/noload.c: Include <memcheck.h>.
42332 (main): Call mtrace. Close all opened handles.
42334 2011-02-17 Andreas Schwab <schwab@redhat.com>
42337 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
42338 dependencies are missing.
42340 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
42342 Fix __if_freereq crash: Unlike the generic version which uses free,
42344 * sysdeps/mach/hurd/ifreq.h: New file.
42346 2011-01-27 Petr Baudis <pasky@suse.cz>
42347 Ulrich Drepper <drepper@gmail.com>
42350 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
42351 to extend_alloca().
42352 * stdio-common/bug23.c: New file.
42353 * stdio-common/Makefile (tests): Add bug23.
42355 2010-09-28 Andreas Schwab <schwab@redhat.com>
42356 Ulrich Drepper <drepper@gmail.com>
42359 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
42360 before performing relro protection. At old place add assertion
42361 to make sure nothing changed.
42363 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
42364 Glauber de Oliveira Costa <glommer@gmail.com>
42366 * elf/elf.h: Add new ARM TLS relocs.
42368 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
42370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42371 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42373 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
42375 * sysdeps/wordsize-64/tst-writev.c: New file.
42377 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
42379 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42380 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42381 insns in _dl_start to prevent a TOC reference before relocs are
42384 2011-02-15 Ulrich Drepper <drepper@gmail.com>
42387 * Makeconfig: Remove RANLIB definition.
42388 * Makerules: Don't use RANLIB.
42389 * aclocal.m4: Remove ranlib test.
42390 * configure.in: No need to check for ranlib.
42391 * elf/rtld-Rules: Don't use RANLIB.
42393 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42395 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
42397 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
42398 inclusion protection macro.
42400 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
42401 SIGRTMIN and SIGRTMAX and print information in that case only when
42402 SIGRTMIN is defined.
42404 2011-02-11 Jakub Jelinek <jakub@redhat.com>
42406 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
42407 arginfo fn returning -1.
42409 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
42410 and thousands string is zero terminated.
42412 2011-02-03 Andreas Schwab <schwab@redhat.com>
42414 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
42415 sysdeps/unix/sysv/linux/bits/socket.h.
42417 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
42419 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
42420 (__CPU_COUNT): Remove old macros.
42421 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
42422 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
42423 (__CPU_ALLOC, __CPU_FREE): Add macros.
42424 (__sched_cpualloc, __sched_cpufree): Add declarations.
42426 2011-02-05 Ulrich Drepper <drepper@gmail.com>
42428 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
42429 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
42430 * nscd/aicache.c (addhstaiX): Return timeout of added value.
42431 (readdhstai): Return value of addhstaiX call.
42432 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
42433 (addgrbyX): Return value returned by cache_addgr.
42434 (readdgrbyname): Return value returned by addgrbyX.
42435 (readdgrbygid): Likewise.
42436 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
42437 (addpwbyX): Return value returned by cache_addpw.
42438 (readdpwbyname): Return value returned by addhstbyX.
42439 (readdpwbyuid): Likewise.
42440 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
42441 (addservbyX): Return value returned by cache_addserv.
42442 (readdservbyname): Return value returned by addservbyX:
42443 (readdservbyport): Likewise.
42444 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
42445 (addhstbyX): Return value returned by cache_addhst.
42446 (readdhstbyname): Return value returned by addhstbyX.
42447 (readdhstbyaddr): Likewise.
42448 (readdhstbynamev6): Likewise.
42449 (readdhstbyaddrv6): Likewise.
42450 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
42451 (readdinitgroups): Return value returned by addinitgroupsX.
42452 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
42453 (prune_cache): Keep track of timeout value of re-added entries.
42454 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
42455 * nscd/nscd.h: Adjust prototypes of readd* functions.
42457 2011-02-04 Roland McGrath <roland@redhat.com>
42459 * nis/nis_server.c (nis_servstate): Use the right name for 0.
42460 (nis_stats): Likewise.
42461 * nis/nis_modify.c (nis_modify): Likewise.
42462 * nis/nis_remove.c (nis_remove): Likewise.
42463 * nis/nis_add.c (nis_add): Likewise.
42465 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42467 * posix/fnmatch_loop.c: Add some consts.
42469 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42471 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
42474 * config.make.in (config-cflags-novzeroupper): Define.
42475 * configure.in: Substitute libc_cv_cc_novzeroupper.
42476 * elf/Makefile (AVX-CFLAGS): Define.
42477 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42478 (CFLAGS-tst-auditmod4a.c): Likewise.
42479 (CFLAGS-tst-auditmod4b.c): Likewise.
42480 (CFLAGS-tst-auditmod6b.c): Likewise.
42481 (CFLAGS-tst-auditmod6c.c): Likewise.
42482 (CFLAGS-tst-auditmod7b.c): Likewise.
42483 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42485 2011-02-02 Ulrich Drepper <drepper@gmail.com>
42487 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42488 function to the callback.
42489 Patch partly by Jiri Olsa <jolsa@redhat.com>.
42491 2011-02-02 Andreas Schwab <schwab@redhat.com>
42493 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42496 2011-01-19 Ulrich Drepper <drepper@gmail.com>
42499 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
42501 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
42503 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
42506 * elf/Makefile: Add rules to build and run new test.
42507 * elf/tst-initorder.c: New file.
42508 * elf/tst-initorder.exp: New file.
42509 * elf/tst-initordera1.c: New file.
42510 * elf/tst-initordera2.c: New file.
42511 * elf/tst-initordera3.c: New file.
42512 * elf/tst-initordera4.c: New file.
42513 * elf/tst-initorderb1.c: New file.
42514 * elf/tst-initorderb2.c: New file.
42515 * elf/tst-order-a1.c: New file.
42516 * elf/tst-order-a2.c: New file.
42517 * elf/tst-order-a3.c: New file.
42518 * elf/tst-order-a4.c: New file.
42519 * elf/tst-order-b1.c: New file.
42520 * elf/tst-order-b2.c: New file.
42521 * elf/tst-order-main.c: New file.
42522 New test case by George Gensure <werkt0@gmail.com>.
42524 2010-10-01 Andreas Schwab <schwab@redhat.com>
42526 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42527 decoding ACE if AI_CANONIDN.
42529 2011-01-18 Ulrich Drepper <drepper@gmail.com>
42531 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
42533 2011-01-17 Ulrich Drepper <drepper@gmail.com>
42535 * version.h (RELEASE): Bump for 2.13 release.
42536 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
42538 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
42540 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
42542 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
42543 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42544 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42545 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42546 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42547 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42549 * posix/getconf.c: Update copyright year.
42550 * catgets/gencat.c: Likewise.
42551 * csu/version.c: Likewise.
42552 * debug/catchsegv.sh: Likewise.
42553 * debug/xtrace.sh: Likewise.
42554 * elf/ldconfig.c: Likewise.
42555 * elf/ldd.bash.in: Likewise.
42556 * elf/sprof.c (print_version): Likewise.
42557 * iconv/iconv_prog.c: Likewise.
42558 * iconv/iconvconfig.c: Likewise.
42559 * locale/programs/locale.c: Likewise.
42560 * locale/programs/localedef.c: Likewise.
42561 * malloc/memusage.sh: Likewise.
42562 * malloc/mtrace.pl: Likewise.
42563 * nscd/nscd.c (print_version): Likewise.
42564 * nss/getent.c: Likewise.
42566 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42567 PF_CAIF, and PF_ALG.
42568 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42570 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
42572 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
42573 (modules-names): Use them.
42574 (ifunc-test-modules, ifunc-pie-tests): Define.
42575 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
42576 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
42577 (test-extras): Likewise.
42578 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
42579 $(compile-command.c).
42580 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
42581 (all-built-dso): Define.
42582 (check-textrel.out, check-execstack.out): Depend on it.
42584 * configure.in: Don't override --enable-multi-arch.
42586 2011-01-15 Ulrich Drepper <drepper@gmail.com>
42589 * nscd/hstcache.c (tryagain): Define.
42590 (cache_addhst): Return tryagain not notfound for temporary errors.
42591 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
42594 2011-01-14 Ulrich Drepper <drepper@gmail.com>
42597 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
42598 to make the syscall.
42599 * sysdeps/unix/sysv/linux/setgroups.c: New file.
42602 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
42603 and fall back to matching as normal character if the string ends before
42604 the matching ']' is found. This is what POSIX requires.
42605 * posix/testfnm.c: Adjust test result.
42606 * posix/globtest.sh: Adjust test result. Add new test.
42607 * posix/tst-fnmatch.input: Likewise.
42608 * posix/tst-fnmatch2.c: Add new test.
42610 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
42612 * elf/Makefile (check-execstack): Revert last change. Depend on
42614 (check-execstack.h): New target.
42615 (generated): Add check-execstack.h.
42616 * elf/check-execstack.c: Include "check-execstack.h".
42617 (main): Revert last change.
42618 (handle_file): Return zero if GNU_STACK is absent and
42619 DEFAULT_STACK_PERMS doesn't include PF_X.
42621 2011-01-13 Ulrich Drepper <drepper@gmail.com>
42623 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42624 in child fails because the descriptor is already closed.
42625 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42626 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42627 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
42630 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42634 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42635 temporary buffer used to handle multi lookups locally.
42636 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
42638 2011-01-12 Ulrich Drepper <drepper@gmail.com>
42640 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42643 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
42645 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42646 alignment for SSE2.
42648 2011-01-12 Ulrich Drepper <drepper@gmail.com>
42651 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42652 characters. When rounding increased number of integer digits recompute
42654 * stdio-common/tst-grouping.c: New file.
42655 * stdio-common/Makefile: Add rules to build and run tst-grouping.
42657 2011-01-09 Ulrich Drepper <drepper@gmail.com>
42659 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42660 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
42662 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42664 * bits/select.h: Likewise.
42666 2011-01-08 Ulrich Drepper <drepper@gmail.com>
42668 * po/ja.po: Update from translation team.
42670 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
42673 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42674 implementation just like for lxstat, fxstatat, et al.
42676 2010-12-27 Jim Meyering <meyering@redhat.com>
42679 * posix/regexec.c (build_trtable): Return failure indication upon
42680 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42682 2010-12-25 Ulrich Drepper <drepper@gmail.com>
42685 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42686 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42687 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42688 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42691 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42694 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42695 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42697 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42699 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42700 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42701 script has SORT_BY_INIT_PRIORITY.
42702 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42703 NO_CTORS_DTORS_SECTIONS is defined.
42704 * elf/soinit.c: Likewise.
42705 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42706 NO_CTORS_DTORS_SECTIONS is defined.
42707 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42708 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42709 * sysdeps/sh/init-first.c: Likewise.
42710 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42712 2010-12-24 Ulrich Drepper <drepper@gmail.com>
42714 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42715 always use the slow path.
42717 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42719 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42720 similar rule which adds the sysdep directories to the header search in
42721 order to pick up the correct platform stackinfo.h.
42722 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42723 perform test if it is, otherwise return successfully without testing.
42724 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42725 DEFAULT_STACK_PERMS define in stackinfo.h.
42726 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42727 defined in stackinfo.h.
42728 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42729 DEFAULT_STACK_PERMS defined in stackinfo.h.
42730 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42731 * sysdeps/ia64/stackinfo.h: Likewise.
42732 * sysdeps/s390/stackinfo.h: Likewise.
42733 * sysdeps/sh/stackinfo.h: Likewise.
42734 * sysdeps/sparc/stackinfo.h: Likewise.
42735 * sysdeps/x86_64/stackinfo.h: Likewise.
42736 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42737 PF_X for powerpc64. Retain PF_X for powerpc32.
42739 2010-12-19 Ulrich Drepper <drepper@gmail.com>
42741 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42743 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42744 GETDENTS_64BIT_ALIGNED.
42746 2010-12-14 Ulrich Drepper <dreper@gmail.com>
42748 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
42750 2010-12-10 Andreas Schwab <schwab@redhat.com>
42752 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42755 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42756 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42758 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42759 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42761 2010-12-09 Ulrich Drepper <drepper@gmail.com>
42764 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42767 2010-12-09 Jakub Jelinek <jakub@redhat.com>
42769 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42771 2010-12-03 Ulrich Drepper <drepper@gmail.com>
42773 * po/it.po: Update from translation team.
42775 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42777 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42780 2010-11-30 Ulrich Drepper <drepper@gmail.com>
42782 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42784 2010-11-24 Andreas Schwab <schwab@redhat.com>
42786 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42788 (gaih_getanswer_slice): Likewise.
42790 2010-10-20 Jakub Jelinek <jakub@redhat.com>
42792 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42794 2010-05-31 Petr Baudis <pasky@suse.cz>
42797 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42798 silently even in the chroot mode.
42800 2010-11-22 Ulrich Drepper <drepper@gmail.com>
42802 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42803 last patch a bit. Pretty printing
42805 2010-05-31 Petr Baudis <pasky@suse.cz>
42808 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42809 initialization of skip_initgroups_dyn.
42811 2010-11-19 Ulrich Drepper <drepper@gmail.com>
42813 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42814 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42816 2010-11-16 Ulrich Drepper <drepper@gmail.com>
42818 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42820 2010-11-11 Andreas Schwab <schwab@redhat.com>
42822 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42823 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42824 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42825 ($(objpfx)tst-fnmatch-mem): New rule.
42826 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42827 * posix/tst-fnmatch.c (main): Call mtrace.
42829 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42831 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42832 Support Intel processor model 6 and model 0x2c.
42834 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
42836 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42839 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42842 * string/test-strncasecmp.c (check_result): New function.
42843 (do_one_test): Use it.
42844 (check1): New function.
42845 (test_main): Use it.
42846 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42847 Support strcasecmp and strncasecmp.
42849 2010-11-08 Ulrich Drepper <drepper@gmail.com>
42852 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42853 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42855 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42857 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42859 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42861 * sysdeps/x86_64/multiarch/bzero.S: New file.
42862 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42863 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42864 * sysdeps/x86_64/multiarch/memset.S: New file.
42865 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42866 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42867 Set bit_Prefer_SSE_for_memop for Intel processors.
42868 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42870 (index_Prefer_SSE_for_memop): Define.
42871 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42873 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
42875 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42876 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42878 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42881 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42882 (__x86_64_raw_data_cache_size_half): Likewise.
42883 (__x86_64_raw_shared_cache_size): Likewise.
42884 (__x86_64_raw_shared_cache_size_half): Likewise.
42886 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42887 (__x86_64_raw_data_cache_size_half): Likewise.
42888 (__x86_64_raw_shared_cache_size): Likewise.
42889 (__x86_64_raw_shared_cache_size_half): Likewise.
42890 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42891 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42892 and __x86_64_raw_shared_cache_size_half. Round
42893 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42894 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42895 to multiple of 256 bytes.
42897 2010-11-03 Ulrich Drepper <drepper@gmail.com>
42900 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42901 of inacessible symlinks. Verify result of symlink before returning it.
42902 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42903 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42905 2010-10-28 Erich Ritz <erichritz@gmail.com>
42907 * math/math.h (isinf): Fix typo in comment.
42909 2010-11-01 Ulrich Drepper <drepper@gmail.com>
42911 * po/da.po: Update from translation team.
42913 2010-10-26 Ulrich Drepper <drepper@gmail.com>
42915 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42916 is added to the list.
42918 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42919 Ulrich Drepper <drepper@gmail.com>
42921 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42922 the global list here. Move code to...
42923 (_dl_add_to_namespace_list): ...here. New function.
42924 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42925 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42926 * elf/dl-load.c (lose): Don't remove the element from the list.
42927 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42928 (_dl_map_object): Likewise.
42930 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42933 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42934 into all bytes of SSE register.
42935 Patch by Richard Li <richardpku@gmail.com>.
42937 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42940 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42943 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42945 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42946 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42947 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42948 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42953 2010-10-22 Andreas Schwab <schwab@redhat.com>
42955 * include/dlfcn.h (__RTLD_SECURE): Define.
42956 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42957 mode & __RTLD_SECURE instead.
42958 (open_path): Rename preloaded parameter to secure.
42959 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42960 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42961 * elf/dl-deps.c (openaux): Likewise.
42962 * elf/rtld.c (struct map_args): Remove is_preloaded.
42963 (map_doit): Don't use it.
42964 (dl_main): Likewise.
42965 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42966 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42968 2010-09-09 Andreas Schwab <schwab@redhat.com>
42970 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42971 (sysd-rules-targets): Remove duplicates.
42972 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42973 rtld-%.$o dependency.
42975 2010-10-18 Andreas Schwab <schwab@redhat.com>
42977 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42978 _dl_map_object do it.
42980 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42982 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42983 fast fma builtins, define the macros in the C99 standard.
42984 (FP_FAST_FMAF): Likewise.
42985 (FP_FAST_FMAL): Likewise.
42986 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42988 * bits/mathdef.h: Update copyright year.
42989 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42991 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42993 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42994 builtins, define the macros in the C99 standard.
42995 (FP_FAST_FMAF): Likewise.
42996 (FP_FAST_FMAL): Likewise.
42997 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42999 (FP_FAST_FMAF): Likewise.
43001 2010-10-15 Jakub Jelinek <jakub@redhat.com>
43004 * math/libm-test.inc (fma_test): Some new testcases.
43005 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
43006 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
43007 y and infinite z. Do multiplication by C already in long double.
43008 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
43009 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
43010 y and infinite z. Do bitwise or of inexact bit into u.d.
43011 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
43012 * sysdeps/i386/fpu/s_fmaf.S: Removed.
43013 * sysdeps/i386/fpu/s_fma.S: Removed.
43014 * sysdeps/i386/fpu/s_fmal.S: Removed.
43016 2010-10-16 Jakub Jelinek <jakub@redhat.com>
43019 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43020 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43021 computation is not scheduled after fetestexcept. Fix value
43022 of minimum denormal long double.
43024 2010-10-14 Jakub Jelinek <jakub@redhat.com>
43027 * math/libm-test.inc (fma_test): Add some more tests.
43028 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43031 2010-10-15 Andreas Schwab <schwab@redhat.com>
43033 * scripts/data/localplt-s390-linux-gnu.data: New file.
43034 * scripts/data/localplt-s390x-linux-gnu.data: New file.
43036 2010-10-13 Jakub Jelinek <jakub@redhat.com>
43039 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43040 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43042 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43044 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43045 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43046 if one of x and y is very large and the other is subnormal.
43047 * sysdeps/s390/fpu/s_fmaf.c: New file.
43048 * sysdeps/s390/fpu/s_fma.c: New file.
43049 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43050 * sysdeps/powerpc/fpu/s_fma.S: New file.
43051 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43052 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43053 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43055 2010-10-12 Jakub Jelinek <jakub@redhat.com>
43058 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43060 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43061 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43062 * sysdeps/i386/i686/multiarch/s_fma.c: Include
43063 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43064 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43065 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43066 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43068 2010-10-12 Ulrich Drepper <drepper@redhat.com>
43071 * posix/regcomp.c (parse_branch): One more memory leak plugged.
43072 * posix/bug-regex31.input: Add test case.
43074 2010-10-11 Ulrich Drepper <drepper@gmail.com>
43076 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43077 * posix/bug-regex31.input: New file.
43080 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43081 (parse_sub_exp): Fix last change, use postorder.
43083 * posix/bug-regex31.c: New file.
43084 * posix/Makefile: Add rules to build and run bug-regex31.
43086 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43089 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43092 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43093 to have entries in sys_siglist.
43096 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43099 2010-10-07 Jakub Jelinek <jakub@redhat.com>
43102 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43103 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43104 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43105 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43106 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43107 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43108 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43109 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43110 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43111 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43112 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43113 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43114 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43115 * math/ftestexcept.c (fetestexcept): Likewise.
43116 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43117 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43118 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43119 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43120 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43121 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43122 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43124 2010-10-11 Ulrich Drepper <drepper@gmail.com>
43127 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43130 2010-10-06 Ulrich Drepper <drepper@gmail.com>
43132 * string/bug-strstr1.c: New file.
43133 * string/Makefile: Add rules to build and run bug-strstr1.
43135 2010-10-05 Eric Blake <eblake@redhat.com>
43138 * string/str-two-way.h (two_way_long_needle): Always clear memory
43139 when skipping input due to the shift table.
43141 2010-10-03 Ulrich Drepper <drepper@gmail.com>
43144 * malloc/mcheck.c: Handle large requests.
43147 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43148 for strncmp and strncasecmp.
43149 * string/stratcliff.c: Add tests for strcmp and strncmp.
43150 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43152 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43154 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43157 2010-09-30 Andreas Jaeger <aj@suse.de>
43159 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43160 (CGROUP_SUPER_MAGIC): Define.
43161 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43162 Handle btrfs and cgroup file systems.
43163 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43166 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
43168 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43169 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43171 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43174 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43175 trying to locate the ELF header.
43177 2010-09-27 Andreas Schwab <schwab@redhat.com>
43180 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43181 Mask out sign-bit copies when constructing f_fsid.
43183 2010-09-24 Petr Baudis <pasky@suse.cz>
43185 * debug/stack_chk_fail_local.c: Add missing licence exception.
43186 * debug/warning-nop.c: Likewise.
43188 2010-09-15 Joseph Myers <joseph@codesourcery.com>
43190 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43191 implementing getdents64 using getdents syscall, set d_type if
43192 __ASSUME_GETDENTS32_D_TYPE.
43194 2010-09-16 Andreas Schwab <schwab@redhat.com>
43196 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43197 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43199 2010-09-21 Ulrich Drepper <drepper@redhat.com>
43202 * posix/unistd.h: Undo change of feature selection for ftruncate from
43205 2010-09-20 Ulrich Drepper <drepper@redhat.com>
43207 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
43210 2010-09-20 Andreas Schwab <schwab@redhat.com>
43212 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43214 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43216 2010-09-14 Andreas Schwab <schwab@redhat.com>
43218 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43219 variables after CHECK_SP call.
43220 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43222 2010-09-13 Andreas Schwab <schwab@redhat.com>
43223 Ulrich Drepper <drepper@redhat.com>
43225 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43226 re-relocationg ld.so.
43227 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43228 _dl_init_paths call.
43229 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
43232 2010-09-14 Ulrich Drepper <drepper@redhat.com>
43234 * resolv/res_init.c (__res_vinit): Count the default server we added.
43236 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
43237 Ulrich Drepper <drepper@redhat.com>
43240 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43241 (____longjmp_chk): Use %ebx for saving value across system call.
43244 2010-09-06 Andreas Schwab <schwab@redhat.com>
43246 * manual/Makefile: Don't mix pattern rules with normal rules.
43248 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
43250 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
43252 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
43253 * libio/iofopncook.c (_IO_cookie_init): Likewise.
43254 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
43255 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
43256 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43259 2010-09-04 Ulrich Drepper <drepper@redhat.com>
43262 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
43263 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
43265 2010-09-02 Ulrich Drepper <drepper@redhat.com>
43267 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
43268 * sysdeps/x86_64/addmul_1.S: Likewise.
43269 * sysdeps/x86_64/lshift.S: Likewise.
43270 * sysdeps/x86_64/mul_1.S: Likewise.
43271 * sysdeps/x86_64/rshift.S: Likewise.
43272 * sysdeps/x86_64/sub_n.S: Likewise.
43273 * sysdeps/x86_64/submul_1.S: Likewise.
43275 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
43277 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
43278 Define __sched_param instead of SCHED_* and sched_param when
43279 <bits/sched.h> is included with __need_schedparam defined.
43280 * bits/sched.h [__need_schedparam]
43281 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
43282 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
43283 (__defined_schedparam): Define to 1.
43284 (__sched_param): New structure, identical to sched_param.
43285 (__need_schedparam): Undefine.
43287 2010-08-31 Mike Frysinger <vapier@gentoo.org>
43289 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
43290 (epoll_create1): Declare.
43292 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
43294 2010-08-31 Andreas Schwab <schwab@redhat.com>
43297 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
43298 shifting retval into place.
43300 2010-09-01 Ulrich Drepper <drepper@redhat.com>
43302 * nis/rpcsvc/nis.h: Update copyright notice.
43303 * nis/rpcsvc/nis.x: Likewise.
43304 * nis/rpcsvc/nis_callback.h: Likewise.
43305 * nis/rpcsvc/nis_callback.x: Likewise.
43306 * nis/rpcsvc/nis_object.x: Likewise.
43307 * nis/rpcsvc/nis_tags.h: Likewise.
43308 * nis/rpcsvc/yp.h: Likewise.
43309 * nis/rpcsvc/yp.x: Likewise.
43310 * nis/rpcsvc/ypupd.h: Likewise.
43311 * nis/yp_xdr.c: Likewise.
43312 * nis/ypupdate_xdr.c: Likewise.
43314 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
43315 mainly the body of pmap_getport. Add parameters to specify timeouts.
43316 (pmap_getport): Use __libc_rpc_getport.
43317 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
43318 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
43319 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
43321 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
43323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
43326 2010-08-27 Roland McGrath <roland@redhat.com>
43328 * sysdeps/i386/i686/multiarch/Makefile
43329 (CFLAGS-varshift.c): New variable.
43331 2010-08-27 Ulrich Drepper <drepper@redhat.com>
43333 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
43334 * sysdeps/i386/i686/multiarch/varshift.c: New file.
43336 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
43338 * sysdeps/x86_64/strlen.S: Minimal code improvement.
43340 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
43342 * sysdeps/x86_64/strlen.S: Unroll the loop.
43343 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43344 strlen-sse2 strlen-sse2-bsf.
43345 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
43346 __strlen_no_bsf if bit_Slow_BSF is set.
43347 (__strlen_sse42): Removed.
43348 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
43349 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
43351 2010-08-25 Roland McGrath <roland@redhat.com>
43353 * sysdeps/x86_64/multiarch/varshift.S: File removed.
43354 * sysdeps/x86_64/multiarch/varshift.c: New file.
43355 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
43356 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
43357 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
43358 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43360 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
43362 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43363 strlen-sse2 strlen-sse2-bsf.
43364 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
43365 __strlen_sse2_bsf if bit_Slow_BSF is unset.
43366 (__strlen_sse2): Removed.
43367 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
43368 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
43369 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43370 bit_Slow_BSF for Atom.
43371 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
43372 (index_Slow_BSF): Define.
43373 (HAS_SLOW_BSF): Define.
43375 2010-08-25 Ulrich Drepper <drepper@redhat.com>
43378 * resolv/res_init.c (__res_vinit): When no server address at all
43379 is given default to loopback.
43381 2010-08-24 Roland McGrath <roland@redhat.com>
43383 * configure.in: Remove config-name.h generation.
43384 * configure: Regenerated.
43385 * config-name.in: File removed.
43386 * scripts/config-uname.sh: New file.
43387 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43388 ($(objdir)config-name.h): New target.
43390 * sunrpc/rpc_parse.h: Avoid nested comment.
43392 2010-08-24 Richard Henderson <rth@redhat.com>
43393 Ulrich Drepper <drepper@redhat.com>
43394 H.J. Lu <hongjiu.lu@intel.com>
43396 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
43397 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
43398 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
43399 Replace _mm_srli_si128 with __m128i_shift_right. Replace
43400 _mm_alignr_epi8 with _mm_loadu_si128.
43401 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
43402 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
43403 (__m128i_shift_right): Removed.
43404 * sysdeps/i386/i686/multiarch/varshift.h: New file.
43405 * sysdeps/i386/i686/multiarch/varshift.S: New file.
43406 * sysdeps/x86_64/multiarch/varshift.h: New file.
43407 * sysdeps/x86_64/multiarch/varshift.S: New file.
43409 2010-08-21 Mike Frysinger <vapier@gentoo.org>
43411 * configure.in: Move assembler checks to before sysdep dir checking.
43413 2010-08-20 Petr Baudis <pasky@suse.cz>
43415 * LICENSES: Sync the sunrpc license.
43417 2010-08-19 Ulrich Drepper <drepper@redhat.com>
43419 * sunrpc/auth_des.c: Update copyright notice once again.
43420 * sunrpc/auth_none.c: Likewise.
43421 * sunrpc/auth_unix.c: Likewise.
43422 * sunrpc/authdes_prot.c: Likewise.
43423 * sunrpc/authuxprot.c: Likewise.
43424 * sunrpc/bindrsvprt.c: Likewise.
43425 * sunrpc/clnt_gen.c: Likewise.
43426 * sunrpc/clnt_perr.c: Likewise.
43427 * sunrpc/clnt_raw.c: Likewise.
43428 * sunrpc/clnt_simp.c: Likewise.
43429 * sunrpc/clnt_tcp.c: Likewise.
43430 * sunrpc/clnt_udp.c: Likewise.
43431 * sunrpc/clnt_unix.c: Likewise.
43432 * sunrpc/des_crypt.c: Likewise.
43433 * sunrpc/des_soft.c: Likewise.
43434 * sunrpc/get_myaddr.c: Likewise.
43435 * sunrpc/getrpcport.c: Likewise.
43436 * sunrpc/key_call.c: Likewise.
43437 * sunrpc/key_prot.c: Likewise.
43438 * sunrpc/openchild.c: Likewise.
43439 * sunrpc/pm_getmaps.c: Likewise.
43440 * sunrpc/pm_getport.c: Likewise.
43441 * sunrpc/pmap_clnt.c: Likewise.
43442 * sunrpc/pmap_prot.c: Likewise.
43443 * sunrpc/pmap_prot2.c: Likewise.
43444 * sunrpc/pmap_rmt.c: Likewise.
43445 * sunrpc/rpc/auth.h: Likewise.
43446 * sunrpc/rpc/auth_unix.h: Likewise.
43447 * sunrpc/rpc/clnt.h: Likewise.
43448 * sunrpc/rpc/des_crypt.h: Likewise.
43449 * sunrpc/rpc/key_prot.h: Likewise.
43450 * sunrpc/rpc/netdb.h: Likewise.
43451 * sunrpc/rpc/pmap_clnt.h: Likewise.
43452 * sunrpc/rpc/pmap_prot.h: Likewise.
43453 * sunrpc/rpc/pmap_rmt.h: Likewise.
43454 * sunrpc/rpc/rpc.h: Likewise.
43455 * sunrpc/rpc/rpc_des.h: Likewise.
43456 * sunrpc/rpc/rpc_msg.h: Likewise.
43457 * sunrpc/rpc/svc.h: Likewise.
43458 * sunrpc/rpc/svc_auth.h: Likewise.
43459 * sunrpc/rpc/types.h: Likewise.
43460 * sunrpc/rpc/xdr.h: Likewise.
43461 * sunrpc/rpc_clntout.c: Likewise.
43462 * sunrpc/rpc_cmsg.c: Likewise.
43463 * sunrpc/rpc_common.c: Likewise.
43464 * sunrpc/rpc_cout.c: Likewise.
43465 * sunrpc/rpc_dtable.c: Likewise.
43466 * sunrpc/rpc_hout.c: Likewise.
43467 * sunrpc/rpc_main.c: Likewise.
43468 * sunrpc/rpc_parse.c: Likewise.
43469 * sunrpc/rpc_parse.h: Likewise.
43470 * sunrpc/rpc_prot.c: Likewise.
43471 * sunrpc/rpc_sample.c: Likewise.
43472 * sunrpc/rpc_scan.c: Likewise.
43473 * sunrpc/rpc_scan.h: Likewise.
43474 * sunrpc/rpc_svcout.c: Likewise.
43475 * sunrpc/rpc_tblout.c: Likewise.
43476 * sunrpc/rpc_util.c: Likewise.
43477 * sunrpc/rpc_util.h: Likewise.
43478 * sunrpc/rpcinfo.c: Likewise.
43479 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43480 * sunrpc/rpcsvc/key_prot.x: Likewise.
43481 * sunrpc/rpcsvc/klm_prot.x: Likewise.
43482 * sunrpc/rpcsvc/mount.x: Likewise.
43483 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43484 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43485 * sunrpc/rpcsvc/rex.x: Likewise.
43486 * sunrpc/rpcsvc/rstat.x: Likewise.
43487 * sunrpc/rpcsvc/rusers.x: Likewise.
43488 * sunrpc/rpcsvc/sm_inter.x: Likewise.
43489 * sunrpc/rpcsvc/spray.x: Likewise.
43490 * sunrpc/rpcsvc/yppasswd.x: Likewise.
43491 * sunrpc/rtime.c: Likewise.
43492 * sunrpc/svc.c: Likewise.
43493 * sunrpc/svc_auth.c: Likewise.
43494 * sunrpc/svc_authux.c: Likewise.
43495 * sunrpc/svc_raw.c: Likewise.
43496 * sunrpc/svc_run.c: Likewise.
43497 * sunrpc/svc_simple.c: Likewise.
43498 * sunrpc/svc_tcp.c: Likewise.
43499 * sunrpc/svc_udp.c: Likewise.
43500 * sunrpc/svc_unix.c: Likewise.
43501 * sunrpc/svcauth_des.c: Likewise.
43502 * sunrpc/xcrypt.c: Likewise.
43503 * sunrpc/xdr.c: Likewise.
43504 * sunrpc/xdr_array.c: Likewise.
43505 * sunrpc/xdr_float.c: Likewise.
43506 * sunrpc/xdr_mem.c: Likewise.
43507 * sunrpc/xdr_rec.c: Likewise.
43508 * sunrpc/xdr_ref.c: Likewise.
43509 * sunrpc/xdr_sizeof.c: Likewise.
43510 * sunrpc/xdr_stdio.c: Likewise.
43512 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
43515 2010-08-19 Andreas Schwab <schwab@redhat.com>
43517 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
43519 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
43521 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
43522 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
43523 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
43524 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
43525 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
43526 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
43527 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
43528 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
43529 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
43530 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
43531 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
43532 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
43533 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
43534 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
43536 2010-07-26 Anton Blanchard <anton@samba.org>
43538 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
43539 * malloc/arena.c (heap_trim): Likewise.
43541 2010-08-16 Ulrich Drepper <drepper@redhat.com>
43543 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
43545 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
43546 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
43548 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
43550 * sysdeps/i386/elf/Makefile: New file.
43552 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43554 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43555 from fanotify_init.
43556 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43557 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43559 2010-08-15 Ulrich Drepper <drepper@redhat.com>
43561 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43563 * sysdeps/multiarch/strcmp.S: Likewise.
43565 2010-08-14 Ulrich Drepper <drepper@redhat.com>
43567 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43568 strncase_l-nonascii.
43569 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43570 Add strncase_l-ssse3.
43571 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
43572 * sysdeps/x86_64/strcmp.S: Likewise.
43573 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
43574 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
43575 * sysdeps/x86_64/strncase.S: New file.
43576 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
43577 * sysdeps/x86_64/strncase_l.S: New file.
43578 * string/Makefile (strop-tests): Add strncasecmp.
43579 * string/test-strncasecmp.c: New file.
43581 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
43584 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
43585 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
43587 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43589 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
43591 2010-08-12 Ulrich Drepper <drepper@redhat.com>
43593 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
43594 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
43595 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
43597 2010-05-01 Alan Modra <amodra@gmail.com>
43599 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
43600 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
43601 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
43602 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
43603 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
43604 tidying. Don't tail-call __sigjmp_save for static lib.
43605 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
43607 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43608 (CALL_MCOUNT): Add eh info, and nop after bl.
43609 (TAIL_CALL_SYSCALL_ERROR): New macro.
43610 (PSEUDO_RET): Use it.
43611 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43612 Correct save location of integer regs and cr.
43613 (_dl_profile_resolve): Correct cr save location. Delete nops
43614 after bl when SHARED. Reduce cfi size a little by better
43615 placement of cfi directives.
43616 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43617 make a stack frame. Instead use parm save area as a temp.
43618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43619 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
43620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43621 Don't make a stack frame for parent, use parm save area.
43622 Increase child stack frame to 112 bytes. Don't save unused reg,
43623 and adjust reg usage. Set up cfi on error recovery and
43624 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43626 (__makecontext): Add dummy nop after jump to exit.
43627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43628 Use correct parm save area and cr save, reduce stack frame.
43629 Correct cfi for possible PSEUDO_RET frame setup.
43630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43631 Branch to local label emitted by PSEUDO_RET rather than
43634 2010-08-12 Andreas Schwab <schwab@redhat.com>
43637 * locale/programs/locale.c (print_assignment): New function.
43638 (show_locale_vars): Use it.
43640 2010-08-11 Ulrich Drepper <drepper@redhat.com>
43642 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43644 (struct statfs64): Likewise.
43645 (_STATFS_F_FLAGS): Define.
43646 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43647 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43648 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43649 (ST_VALID): Define locally.
43650 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43651 __statvfs_getflags, use the provided value.
43652 * sysdeps/unix/sysv/linux/kernel-features.h: Define
43653 __ASSUME_STATFS_F_FLAGS.
43655 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43657 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43658 Add sys/fanotify.h.
43659 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43660 fanotify_mask for GLIBC_2.13.
43661 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43662 fanotify_init and fanotify_mark.
43663 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43664 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43666 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43668 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43669 prlimit64 for GLIBC_2.13.
43670 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43672 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43675 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43676 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43677 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43678 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43680 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43683 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43684 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43686 * nss/Makefile: Add rules to build and run tst-nss-test1.
43687 * shlib-versions: Add entry for libnss_test1.
43688 * nss/nss_test1.c: New file.
43689 * nss/tst-nss-test1.c: New file.
43691 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43692 (__nss_configure_lookup): Set appropriate entry in
43693 __nss_configure_lookup to true.
43694 * nss/nsswitch.h: Define enum with indeces of databases in
43695 databases and __nss_database_custom arrays. Declare
43696 __nss_database_custom.
43697 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43698 to avoid using nscd when custom rules are installed.
43699 * nss/getXXbyYY_r.c: Likewise.
43700 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43702 * nss/nss_files/files-parse.c: Whitespace fixes.
43704 2010-08-09 Ulrich Drepper <drepper@redhat.com>
43707 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43708 * posix/fnmatch_loop.c: Likewise.
43710 2010-07-17 Andi Kleen <ak@linux.intel.com>
43712 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43713 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43714 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43715 * Versions.def [GLIBC_2.13]: Add.
43717 2010-08-06 Ulrich Drepper <drepper@redhat.com>
43719 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43720 Also fail if tpwd after pwuid call is NULL.
43722 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43724 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43725 when converting to ms.
43727 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43729 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43730 EOPNOTSUPP errors with ENOTTY.
43731 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43732 EOPNOTSUPP errors with ENOTTY.
43734 2010-07-31 Ulrich Drepper <drepper@redhat.com>
43736 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43737 Add strcasecmp_l-ssse3.
43738 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43740 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43741 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43742 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43744 2010-07-30 Ulrich Drepper <drepper@redhat.com>
43746 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43748 * string/Makefile (strop-tests): Add strcasecmp.
43749 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43750 strcasecmp_l-nonascii.
43751 (gen-as-const-headers): Add locale-defines.sym.
43752 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43753 * sysdeps/x86_64/strcasecmp.S: New file.
43754 * sysdeps/x86_64/strcasecmp_l.S: New file.
43755 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43756 * sysdeps/x86_64/locale-defines.sym: New file.
43757 * string/test-strcasecmp.c: New file.
43759 * string/test-strcasestr.c: Test both ends of the range of characters.
43760 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43762 2010-07-29 Roland McGrath <roland@redhat.com>
43765 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43767 2010-07-27 Ulrich Drepper <drepper@redhat.com>
43769 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43772 2010-07-27 Andreas Schwab <schwab@redhat.com>
43774 * manual/memory.texi (Malloc Tunable Parameters): Document
43777 2010-07-26 Roland McGrath <roland@redhat.com>
43780 * configure.in (-fgnu89-inline check): Set and substitute
43781 gnu89_inline, not libc_cv_gnu89_inline.
43782 * configure: Regenerated.
43783 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43785 2010-07-26 Ulrich Drepper <drepper@redhat.com>
43787 * string/test-strnlen.c: New file.
43788 * string/Makefile (strop-tests): Add strnlen.
43789 * string/tester.c (test_strnlen): Add a few more test cases.
43790 * string/tst-strlen.c: Better error reporting.
43792 * sysdeps/x86_64/strnlen.S: New file.
43794 2010-07-24 Ulrich Drepper <drepper@redhat.com>
43796 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43797 lower-latency instructions.
43799 2010-07-23 Ulrich Drepper <drepper@redhat.com>
43801 * string/test-strcasestr.c: New file.
43802 * string/test-strstr.c: New file.
43803 * string/Makefile (strop-tests): Add strstr and strcasestr.
43804 * string/str-two-way.h: Don't undefine MAX.
43805 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43807 2010-07-21 Andreas Schwab <schwab@redhat.com>
43809 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43810 strcasestr-nonascii.
43811 (CFLAGS-strcasestr-nonascii.c): Define.
43812 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43813 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43814 Remove unused attribute.
43816 2010-07-20 Roland McGrath <roland@redhat.com>
43818 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43819 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43820 ld.so.cache was broken. With it, there is no way to disable dsocaps
43821 like LD_HWCAP_MASK can disable hwcaps.
43823 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43825 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43827 2010-07-16 Ulrich Drepper <drepper@redhat.com>
43829 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43830 call in strcasestr.
43831 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43832 __strcasestr_sse42_nonascii.
43833 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43834 strcasestr-nonascii.c.
43835 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43837 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
43839 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43840 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43841 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43842 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43844 2010-07-09 Ulrich Drepper <drepper@redhat.com>
43846 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43849 2010-07-06 Andreas Schwab <schwab@redhat.com>
43852 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43855 2010-07-06 Ulrich Drepper <drepper@redhat.com>
43857 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43858 _PC_PIPE_BUF using F_GETPIPE_SZ.
43860 2010-07-05 Roland McGrath <roland@redhat.com>
43862 * manual/arith.texi (Rounding Functions): Fix rint description
43863 implicit in round description.
43865 2010-07-02 Ulrich Drepper <drepper@redhat.com>
43867 * elf/Makefile: Fix linking for a few tests to make recent linker
43870 2010-06-30 Andreas Schwab <schwab@redhat.com>
43872 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43873 $(common-objpfx)libc_nonshared.a.
43875 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
43877 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43878 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43879 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43880 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43881 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43882 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43883 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43884 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43899 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43900 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43901 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43902 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43903 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43904 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43905 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43906 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43907 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43908 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43909 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43910 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43926 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43928 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43929 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43930 * string/memmove.c (memmove): Renamed to ...
43931 (MEMMOVE): ...this. Default to memmove.
43932 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43933 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43935 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43936 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43937 mempcpy-ssse3-back memmove-ssse3-back.
43938 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43939 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43940 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43941 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43942 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43943 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43944 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43945 * sysdeps/x86_64/multiarch/memmove.c: New file.
43946 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43947 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43948 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43949 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43950 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43951 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43953 (index_Fast_Copy_Backward): Define.
43954 (HAS_ARCH_FEATURE): Define.
43955 (HAS_FAST_REP_STRING): Define.
43956 (HAS_FAST_COPY_BACKWARD): Define.
43958 2010-06-21 Andreas Schwab <schwab@redhat.com>
43960 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43961 Restore proper fallback handling.
43963 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43966 * posix/group_member.c (__group_member): Correct checking loop.
43968 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43969 OOM in getpwuid_r correctly. Return error number when the caller
43970 should return, otherwise -1.
43971 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43972 call returning > 0 value.
43973 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43975 2010-06-07 Andreas Schwab <schwab@redhat.com>
43977 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43978 libc_nonshared.a from targets in modules-names.
43980 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43982 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43985 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43987 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43988 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43989 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43990 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43992 2010-06-02 Andreas Schwab <schwab@redhat.com>
43994 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43996 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43998 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
44000 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44001 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44002 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44003 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44004 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44005 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
44007 2010-06-14 Roland McGrath <roland@redhat.com>
44009 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
44011 2010-06-07 Jakub Jelinek <jakub@redhat.com>
44013 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
44014 __REDIRECT followed by __THROW.
44015 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
44016 * posix/getopt.h (getopt): Likewise.
44018 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44020 * hurd/lookup-at.c (__file_name_lookup_at): Accept
44021 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
44022 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44024 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44025 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44027 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
44029 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44031 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
44034 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44035 Properly check family and model.
44037 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
44039 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44041 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
44043 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44045 2010-05-21 Ulrich Drepper <drepper@redhat.com>
44047 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44050 2010-05-19 Andreas Schwab <schwab@redhat.com>
44052 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44055 2010-05-21 Andreas Schwab <schwab@redhat.com>
44057 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44058 and internal_recvmmsg.
44059 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44060 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44061 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44062 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44064 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44065 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44066 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44068 2010-05-20 Andreas Schwab <schwab@redhat.com>
44070 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44072 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
44074 POWER7 optimizations.
44075 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44076 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44078 2010-05-19 Ulrich Drepper <drepper@redhat.com>
44080 * version.h: Update for 2.13 development version.
44082 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
44084 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44085 exceptions. Return 0.
44087 2010-05-07 Roland McGrath <roland@redhat.com>
44089 * elf/ldconfig.c (main): Add a const.
44091 2010-05-06 Ulrich Drepper <drepper@redhat.com>
44093 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44094 (args_options): Add no-idn option.
44095 (ahosts_keys_int): Add idn_flags to ai_flags.
44096 (parse_option): Handle 'i' option to clear idn_flags.
44098 * malloc/malloc.c (_int_free): Possible race in the most recently
44099 added check. Only act on the data if no current modification
44102 See ChangeLog.17 for earlier changes.