]> sourceware.org Git - glibc.git/blame - ChangeLog
PowerPC: remove wrong nearbyintl implementation for PPC64
[glibc.git] / ChangeLog
CommitLineData
98fb27a3
AZ
12014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 [BZ #16706]
4 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5 implementation.
6 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7
374f7f61
AZ
82014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9
10 [BZ #16701]
11 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
12 implementation.
13 * math/libm-test.inc (ceil_test_data): Add more tests.
14
4655c291
AZ
152014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16
17 * math/libm-test.inc (trunc_test_data): Add more tests related to
18 BZ#16414.
19
d7329d4b
RM
202014-03-14 Roland McGrath <roland@hack.frob.com>
21
22 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
23 with #if rather than #ifdef.
24 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
25
aa4de9ce
L
262014-03-14 H.J. Lu <hongjiu.lu@intel.com>
27
28 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
29 first. Disable AVX-512 GCC support if assembler doesn't support
30 it.
31 * sysdeps/x86_64/configure: Regenerated.
32
2e03fae7
CD
332014-03-13 Carlos O'Donell <carlos@redhat.com>
34
35 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
36 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
37 (__old_pthread_attr_setstack): Likewise.
38 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
39 [!_STACK_GROWS_DOWN]: Likewise.
40
43ca83ec
MF
412014-03-13 Mike Frysinger <vapier@gentoo.org>
42
43 * config.make.in (have-bash2): Delete.
44 * configure.ac (libc_cv_have_bash2): Delete.
45 * configure: Regenerate.
46 * elf/Makefile (common-ldd-rewrite): Rename to ...
47 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
48 (sh-ldd-rewrite): Delete.
49 (bash-ldd-rewrite): Delete.
50 (have-bash2): Delete checks.
51 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
52
c66e48b4
MF
532014-03-13 Mike Frysinger <vapier@gentoo.org>
54
55 * config.make.in (have-ksh): Delete.
56 (KSH): Delete.
57 * configure.ac (libc_cv_have_ksh): Delete.
58 * configure: Regenerate.
59
b93834ef
MF
602014-03-13 Mike Frysinger <vapier@gentoo.org>
61
62 * elf/Makefile: Delete $(have-ksh) check.
63 ($(objpfx)sotruss): Change KSH to BASH.
64 * elf/sotruss.ksh: Rename to ...
65 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
66 function style to match POSIX. Drop ksh vim mode setting.
67
f3a4632a
MF
682014-03-13 Mike Frysinger <vapier@gentoo.org>
69
70 * manual/time.texi (Specifying the Time Zone with TZ): Change
71 Tuesday to Thursday.
72
5896c8bd
MF
732014-03-13 Mike Frysinger <vapier@gentoo.org>
74
75 * debug/tst-longjmp_chk2.c: Update header comment.
76 (stackoverflow_handler): Add comment. Call assert on pass value.
77
2d63a517
IZ
782014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
79
80 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
81 (HAVE_AVX512_ASM_SUPPORT): Likewise.
82 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
83 (La_x86_64_vector): Add zmm.
84 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
85 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
86 ($(objpfx)tst-audit10): New target.
87 ($(objpfx)tst-audit10.out): Likewise.
88 (tst-audit10-ENV): New.
89 (AVX512-CFLAGS): Likewise.
90 (CFLAGS-tst-audit10.c): Likewise.
91 (CFLAGS-tst-auditmod10a.c): Likewise.
92 (CFLAGS-tst-auditmod10b.c): Likewise.
93 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
94 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
95 * sysdeps/x86_64/configure: Regenerated.
96 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
97 AVX-512 zmm register support.
98 (_dl_x86_64_save_sse): Likewise.
99 (_dl_x86_64_restore_sse): Likewise.
100 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
101 size vector registers.
102 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
103 (ZMM_SIZE): Likewise.
104 * sysdeps/x86_64/tst-audit10.c: New file.
105 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
106 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
107
44c4e5d5
RM
1082014-03-13 Roland McGrath <roland@hack.frob.com>
109
110 * configure.ac (HAVE_EHDR_START): New check.
111 * configure: Regenerated.
112 * config.h.in (HAVE_EHDR_START): New #undef.
113 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
114 assuming the lowest-addressed segment maps the start of the file.
115
acd6e389
JM
1162014-03-13 Joseph Myers <joseph@codesourcery.com>
117
118 * INSTALL: Regenerated.
119
6f918f36
WN
1202014-03-13 Will Newton <will.newton@linaro.org>
121
122 * manual/setjmp.texi (System V contexts): Improve
123 clarity and grammar of documentation.
124
798212a0
PP
1252014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
126
127 [BZ #16381]
798212a0 128 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 129 (tests-pie): Add tst-pie2.
798212a0
PP
130 * elf/tst-pie2.c: New file.
131 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
132 for ET_EXEC.
133 * elf/rtld.c (map_doit): Load executable as lt_executable.
134 (dl_main): Likewise.
135
abe6d90c
JM
1362014-03-12 Joseph Myers <joseph@codesourcery.com>
137
138 [BZ #16642]
139 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
140 (__ASSUME_PSELECT): Undefine.
141
dd3946c6
AZ
1422014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
143
144 [BZ #16689]
145 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
146 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
147 static build.
148 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
149 selector for static builds.
150
c44496df
SP
1512014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
152
153 [BZ #16695]
154 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
155 key in the buffer.
156
27c7220a
AZ
1572014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
158
159 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
160 selector for static builds.
161
600fa361
JM
1622014-03-11 Joseph Myers <joseph@codesourcery.com>
163
76c96cf7
JM
164 * sysdeps/mips/math_private.h [__mips_hard_float]
165 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
166 libc_feresetround_mips_ctx.
167 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
168 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
169 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
170
600fa361
JM
171 [BZ #16677]
172 * math/s_nextafter.c (__nextafter): Do not return value from
173 overflowing computation.
174 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
175 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
176 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
177 Likewise.
178 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
179 Likewise.
180 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
181 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
182
d7706c32
RM
1832014-03-11 Roland McGrath <roland@hack.frob.com>
184
185 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
186 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
187 Move sfi_sp use from the load-multiple (that no longer sets sp) to
188 the new mov targetting sp.
189
4facea47
AZ
1902014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
191
192 [BZ #16683]
193 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
194 Define it for static builds as well.
195 (NO_BZERO_IMPL): Likewise.
196
e65caf1f
VR
1972014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
198
199 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
200 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
201 multiarch strspn for PPC64.
202 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
203 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
204 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
205 (__libc_ifunc_impl_list): Likewise.
206 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
207 multiarch optimizations
208 * string/strspn.c (strspn): Using macro to redefine symbol name.
209
ba9cc071
AZ
2102014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
211 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
212
213 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
214 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
215 multiarch strncat for PPC64.
216 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
217 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
218 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
219 (__libc_ifunc_impl_list): Likewise.
220 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
221 multiarch optimizations
222
8b4ff974
SP
2232014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
224
225 [BZ #16639]
226 * nscd/nscd.service: Make service type forking.
227
54b46a4b
AZ
2282014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
229
230 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
231 sign in non default rounding modes.
232 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
233
e9996ef7
JM
2342014-03-08 Joseph Myers <joseph@codesourcery.com>
235
236 * math/libm-test.inc (ALL_RM_TEST): New macro.
237 (ceil_test): Use ALL_RM_TEST.
238 (cimag_test): Likewise.
239 (conj_test): Likewise.
240 (copysign_test): Likewise.
241 (cproj_test): Likewise.
242 (creal_test): Likewise.
243 (fabs_test): Likewise.
244 (floor_test): Likewise.
245 (fmax_test): Likewise.
246 (fmin_test): Likewise.
247 (fmod_test): Likewise.
248 (fpclassify_test): Likewise.
249 (frexp_test): Likewise.
250 (ilogb_test): Likewise.
251 (isfinite_test): Likewise.
252 (finite_test): Likewise.
253 (isgreater_test): Likewise.
254 (isgreaterequal_test): Likewise.
255 (isinf_test): Likewise.
256 (isless_test): Likewise.
257 (islessequal_test): Likewise.
258 (islessgreater_test): Likewise.
259 (isnan_test): Likewise.
260 (isnormal_test): Likewise.
261 (issignaling_test): Likewise.
262 (isunordered_test): Likewise.
263 (logb_test): Likewise.
264 (logb_downward_test_data): Remove.
265 (logb_test_downward): Likewise.
266 (lround_test): Use ALL_RM_TEST.
267 (llround_test): Likewise.
268 (modf_test): Likewise.
269 (nexttoward_test): Likewise.
270 (remainder_test): Likewise.
271 (drem_test): Likewise.
272 (remainder_tonearest_test_data): Likewise.
273 (remainder_test_tonearest): Likewise.
274 (drem_test_tonearest): Likewise.
275 (remainder_towardzero_test_data): Likewise.
276 (remainder_test_towardzero): Likewise.
277 (drem_test_towardzero): Likewise.
278 (remainder_downward_test_data): Likewise.
279 (remainder_test_downward): Likewise.
280 (drem_test_downward): Likewise.
281 (remainder_upward_test_data): Likewise.
282 (remainder_test_upward): Likewise.
283 (drem_test_upward): Likewise.
284 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
285 (round_test): Use ALL_RM_TEST.
286 (signbit_test): Likewise.
287 (trunc_test): Likewise.
288 (significand_test): Likewise.
289 (main): Don't call removed functions.
290
bc61d27c
JM
2912014-03-07 Joseph Myers <joseph@codesourcery.com>
292
5c780849
JM
293 [BZ #16674]
294 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
295 || __USE_XOPEN2K8].
296 (ILL_ILLOPN): Likewise.
297 (ILL_ILLADR): Likewise.
298 (ILL_ILLTRP): Likewise.
299 (ILL_PRVOPC): Likewise.
300 (ILL_PRVREG): Likewise.
301 (ILL_COPROC): Likewise.
302 (ILL_BADSTK): Likewise.
303 (FPE_INTDIV): Likewise.
304 (FPE_INTOVF): Likewise.
305 (FPE_FLTDIV): Likewise.
306 (FPE_FLTOVF): Likewise.
307 (FPE_FLTUND): Likewise.
308 (FPE_FLTRES): Likewise.
309 (FPE_FLTINV): Likewise.
310 (FPE_FLTSUB): Likewise.
311 (SEGV_MAPERR): Likewise.
312 (SEGV_ACCERR): Likewise.
313 (BUS_ADRALN): Likewise.
314 (BUS_ADRERR): Likewise.
315 (BUS_OBJERR): Likewise.
316 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
317 (TRAP_TRACE): Likewise.
318 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
319 __USE_XOPEN2K8].
320 (CLD_KILLED): Likewise.
321 (CLD_DUMPED): Likewise.
322 (CLD_TRAPPED): Likewise.
323 (CLD_STOPPED): Likewise.
324 (CLD_CONTINUED): Likewise.
325 (POLL_IN): Likewise.
326 (POLL_OUT): Likewise.
327 (POLL_MSG): Likewise.
328 (POLL_ERR): Likewise.
329 (POLL_PRI): Likewise.
330 (POLL_HUP): Likewise.
331 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
332 Likewise.
333 (ILL_ILLOPN): Likewise.
334 (ILL_ILLADR): Likewise.
335 (ILL_ILLTRP): Likewise.
336 (ILL_PRVOPC): Likewise.
337 (ILL_PRVREG): Likewise.
338 (ILL_COPROC): Likewise.
339 (ILL_BADSTK): Likewise.
340 (FPE_INTDIV): Likewise.
341 (FPE_INTOVF): Likewise.
342 (FPE_FLTDIV): Likewise.
343 (FPE_FLTOVF): Likewise.
344 (FPE_FLTUND): Likewise.
345 (FPE_FLTRES): Likewise.
346 (FPE_FLTINV): Likewise.
347 (FPE_FLTSUB): Likewise.
348 (SEGV_MAPERR): Likewise.
349 (SEGV_ACCERR): Likewise.
350 (BUS_ADRALN): Likewise.
351 (BUS_ADRERR): Likewise.
352 (BUS_OBJERR): Likewise.
353 (BUS_MCEERR_AR): Likewise.
354 (BUS_MCEERR_AO): Likewise.
355 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
356 (TRAP_TRACE): Likewise.
357 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
358 __USE_XOPEN2K8].
359 (CLD_KILLED): Likewise.
360 (CLD_DUMPED): Likewise.
361 (CLD_TRAPPED): Likewise.
362 (CLD_STOPPED): Likewise.
363 (CLD_CONTINUED): Likewise.
364 (POLL_IN): Likewise.
365 (POLL_OUT): Likewise.
366 (POLL_MSG): Likewise.
367 (POLL_ERR): Likewise.
368 (POLL_PRI): Likewise.
369 (POLL_HUP): Likewise.
370 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
371 (ILL_ILLOPN): Likewise.
372 (ILL_ILLADR): Likewise.
373 (ILL_ILLTRP): Likewise.
374 (ILL_PRVOPC): Likewise.
375 (ILL_PRVREG): Likewise.
376 (ILL_COPROC): Likewise.
377 (ILL_BADSTK): Likewise.
378 (FPE_INTDIV): Likewise.
379 (FPE_INTOVF): Likewise.
380 (FPE_FLTDIV): Likewise.
381 (FPE_FLTOVF): Likewise.
382 (FPE_FLTUND): Likewise.
383 (FPE_FLTRES): Likewise.
384 (FPE_FLTINV): Likewise.
385 (FPE_FLTSUB): Likewise.
386 (SEGV_MAPERR): Likewise.
387 (SEGV_ACCERR): Likewise.
388 (BUS_ADRALN): Likewise.
389 (BUS_ADRERR): Likewise.
390 (BUS_OBJERR): Likewise.
391 (BUS_MCEERR_AR): Likewise.
392 (BUS_MCEERR_AO): Likewise.
393 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
394 (TRAP_TRACE): Likewise.
395 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
396 __USE_XOPEN2K8].
397 (CLD_KILLED): Likewise.
398 (CLD_DUMPED): Likewise.
399 (CLD_TRAPPED): Likewise.
400 (CLD_STOPPED): Likewise.
401 (CLD_CONTINUED): Likewise.
402 (POLL_IN): Likewise.
403 (POLL_OUT): Likewise.
404 (POLL_MSG): Likewise.
405 (POLL_ERR): Likewise.
406 (POLL_PRI): Likewise.
407 (POLL_HUP): Likewise.
408 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
409 Likewise.
410 (ILL_ILLOPN): Likewise.
411 (ILL_ILLADR): Likewise.
412 (ILL_ILLTRP): Likewise.
413 (ILL_PRVOPC): Likewise.
414 (ILL_PRVREG): Likewise.
415 (ILL_COPROC): Likewise.
416 (ILL_BADSTK): Likewise.
417 (ILL_BADIADDR): Likewise.
418 (ILL_BREAK): Likewise.
419 (FPE_INTDIV): Likewise.
420 (FPE_INTOVF): Likewise.
421 (FPE_FLTDIV): Likewise.
422 (FPE_FLTOVF): Likewise.
423 (FPE_FLTUND): Likewise.
424 (FPE_FLTRES): Likewise.
425 (FPE_FLTINV): Likewise.
426 (FPE_FLTSUB): Likewise.
427 (FPE_DECOVF): Likewise.
428 (FPE_DECDIV): Likewise.
429 (FPE_DECERR): Likewise.
430 (FPE_INVASC): Likewise.
431 (FPE_INVDEC): Likewise.
432 (SEGV_MAPERR): Likewise.
433 (SEGV_ACCERR): Likewise.
434 (SEGV_PSTKOVF): Likewise.
435 (BUS_ADRALN): Likewise.
436 (BUS_ADRERR): Likewise.
437 (BUS_OBJERR): Likewise.
438 (BUS_MCEERR_AR): Likewise.
439 (BUS_MCEERR_AO): Likewise.
440 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
441 (TRAP_TRACE): Likewise.
442 (TRAP_BRANCH): Likewise.
443 (TRAP_HWBKPT): Likewise.
444 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
445 __USE_XOPEN2K8].
446 (CLD_KILLED): Likewise.
447 (CLD_DUMPED): Likewise.
448 (CLD_TRAPPED): Likewise.
449 (CLD_STOPPED): Likewise.
450 (CLD_CONTINUED): Likewise.
451 (POLL_IN): Likewise.
452 (POLL_OUT): Likewise.
453 (POLL_MSG): Likewise.
454 (POLL_ERR): Likewise.
455 (POLL_PRI): Likewise.
456 (POLL_HUP): Likewise.
457 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
458 (ILL_ILLOPN): Likewise.
459 (ILL_ILLADR): Likewise.
460 (ILL_ILLTRP): Likewise.
461 (ILL_PRVOPC): Likewise.
462 (ILL_PRVREG): Likewise.
463 (ILL_COPROC): Likewise.
464 (ILL_BADSTK): Likewise.
465 (FPE_INTDIV): Likewise.
466 (FPE_INTOVF): Likewise.
467 (FPE_FLTDIV): Likewise.
468 (FPE_FLTOVF): Likewise.
469 (FPE_FLTUND): Likewise.
470 (FPE_FLTRES): Likewise.
471 (FPE_FLTINV): Likewise.
472 (FPE_FLTSUB): Likewise.
473 (SEGV_MAPERR): Likewise.
474 (SEGV_ACCERR): Likewise.
475 (BUS_ADRALN): Likewise.
476 (BUS_ADRERR): Likewise.
477 (BUS_OBJERR): Likewise.
478 (BUS_MCEERR_AR): Likewise.
479 (BUS_MCEERR_AO): Likewise.
480 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
481 (TRAP_TRACE): Likewise.
482 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
483 __USE_XOPEN2K8].
484 (CLD_KILLED): Likewise.
485 (CLD_DUMPED): Likewise.
486 (CLD_TRAPPED): Likewise.
487 (CLD_STOPPED): Likewise.
488 (CLD_CONTINUED): Likewise.
489 (POLL_IN): Likewise.
490 (POLL_OUT): Likewise.
491 (POLL_MSG): Likewise.
492 (POLL_ERR): Likewise.
493 (POLL_PRI): Likewise.
494 (POLL_HUP): Likewise.
495 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
496 (ILL_ILLOPN): Likewise.
497 (ILL_ILLADR): Likewise.
498 (ILL_ILLTRP): Likewise.
499 (ILL_PRVOPC): Likewise.
500 (ILL_PRVREG): Likewise.
501 (ILL_COPROC): Likewise.
502 (ILL_BADSTK): Likewise.
503 (FPE_INTDIV): Likewise.
504 (FPE_INTOVF): Likewise.
505 (FPE_FLTDIV): Likewise.
506 (FPE_FLTOVF): Likewise.
507 (FPE_FLTUND): Likewise.
508 (FPE_FLTRES): Likewise.
509 (FPE_FLTINV): Likewise.
510 (FPE_FLTSUB): Likewise.
511 (SEGV_MAPERR): Likewise.
512 (SEGV_ACCERR): Likewise.
513 (BUS_ADRALN): Likewise.
514 (BUS_ADRERR): Likewise.
515 (BUS_OBJERR): Likewise.
516 (BUS_MCEERR_AR): Likewise.
517 (BUS_MCEERR_AO): Likewise.
518 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
519 (TRAP_TRACE): Likewise.
520 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
521 __USE_XOPEN2K8].
522 (CLD_KILLED): Likewise.
523 (CLD_DUMPED): Likewise.
524 (CLD_TRAPPED): Likewise.
525 (CLD_STOPPED): Likewise.
526 (CLD_CONTINUED): Likewise.
527 (POLL_IN): Likewise.
528 (POLL_OUT): Likewise.
529 (POLL_MSG): Likewise.
530 (POLL_ERR): Likewise.
531 (POLL_PRI): Likewise.
532 (POLL_HUP): Likewise.
533 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
534 (ILL_ILLOPN): Likewise.
535 (ILL_ILLADR): Likewise.
536 (ILL_ILLTRP): Likewise.
537 (ILL_PRVOPC): Likewise.
538 (ILL_PRVREG): Likewise.
539 (ILL_COPROC): Likewise.
540 (ILL_BADSTK): Likewise.
541 (FPE_INTDIV): Likewise.
542 (FPE_INTOVF): Likewise.
543 (FPE_FLTDIV): Likewise.
544 (FPE_FLTOVF): Likewise.
545 (FPE_FLTUND): Likewise.
546 (FPE_FLTRES): Likewise.
547 (FPE_FLTINV): Likewise.
548 (FPE_FLTSUB): Likewise.
549 (SEGV_MAPERR): Likewise.
550 (SEGV_ACCERR): Likewise.
551 (BUS_ADRALN): Likewise.
552 (BUS_ADRERR): Likewise.
553 (BUS_OBJERR): Likewise.
554 (BUS_MCEERR_AR): Likewise.
555 (BUS_MCEERR_AO): Likewise.
556 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
557 (TRAP_TRACE): Likewise.
558 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
559 __USE_XOPEN2K8].
560 (CLD_KILLED): Likewise.
561 (CLD_DUMPED): Likewise.
562 (CLD_TRAPPED): Likewise.
563 (CLD_STOPPED): Likewise.
564 (CLD_CONTINUED): Likewise.
565 (POLL_IN): Likewise.
566 (POLL_OUT): Likewise.
567 (POLL_MSG): Likewise.
568 (POLL_ERR): Likewise.
569 (POLL_PRI): Likewise.
570 (POLL_HUP): Likewise.
571 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
572 (ILL_ILLOPN): Likewise.
573 (ILL_ILLADR): Likewise.
574 (ILL_ILLTRP): Likewise.
575 (ILL_PRVOPC): Likewise.
576 (ILL_PRVREG): Likewise.
577 (ILL_COPROC): Likewise.
578 (ILL_BADSTK): Likewise.
579 (ILL_DBLFLT): Likewise.
580 (ILL_HARDWALL): Likewise.
581 (FPE_INTDIV): Likewise.
582 (FPE_INTOVF): Likewise.
583 (FPE_FLTDIV): Likewise.
584 (FPE_FLTOVF): Likewise.
585 (FPE_FLTUND): Likewise.
586 (FPE_FLTRES): Likewise.
587 (FPE_FLTINV): Likewise.
588 (FPE_FLTSUB): Likewise.
589 (SEGV_MAPERR): Likewise.
590 (SEGV_ACCERR): Likewise.
591 (BUS_ADRALN): Likewise.
592 (BUS_ADRERR): Likewise.
593 (BUS_OBJERR): Likewise.
594 (BUS_MCEERR_AR): Likewise.
595 (BUS_MCEERR_AO): Likewise.
596 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
597 (TRAP_TRACE): Likewise.
598 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
599 __USE_XOPEN2K8].
600 (CLD_KILLED): Likewise.
601 (CLD_DUMPED): Likewise.
602 (CLD_TRAPPED): Likewise.
603 (CLD_STOPPED): Likewise.
604 (CLD_CONTINUED): Likewise.
605 (POLL_IN): Likewise.
606 (POLL_OUT): Likewise.
607 (POLL_MSG): Likewise.
608 (POLL_ERR): Likewise.
609 (POLL_PRI): Likewise.
610 (POLL_HUP): Likewise.
611 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
612 (ILL_ILLOPN): Likewise.
613 (ILL_ILLADR): Likewise.
614 (ILL_ILLTRP): Likewise.
615 (ILL_PRVOPC): Likewise.
616 (ILL_PRVREG): Likewise.
617 (ILL_COPROC): Likewise.
618 (ILL_BADSTK): Likewise.
619 (FPE_INTDIV): Likewise.
620 (FPE_INTOVF): Likewise.
621 (FPE_FLTDIV): Likewise.
622 (FPE_FLTOVF): Likewise.
623 (FPE_FLTUND): Likewise.
624 (FPE_FLTRES): Likewise.
625 (FPE_FLTINV): Likewise.
626 (FPE_FLTSUB): Likewise.
627 (SEGV_MAPERR): Likewise.
628 (SEGV_ACCERR): Likewise.
629 (BUS_ADRALN): Likewise.
630 (BUS_ADRERR): Likewise.
631 (BUS_OBJERR): Likewise.
632 (BUS_MCEERR_AR): Likewise.
633 (BUS_MCEERR_AO): Likewise.
634 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
635 (TRAP_TRACE): Likewise.
636 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
637 __USE_XOPEN2K8].
638 (CLD_KILLED): Likewise.
639 (CLD_DUMPED): Likewise.
640 (CLD_TRAPPED): Likewise.
641 (CLD_STOPPED): Likewise.
642 (CLD_CONTINUED): Likewise.
643 (POLL_IN): Likewise.
644 (POLL_OUT): Likewise.
645 (POLL_MSG): Likewise.
646 (POLL_ERR): Likewise.
647 (POLL_PRI): Likewise.
648 (POLL_HUP): Likewise.
649 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
650 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
651
bc61d27c
JM
652 [BZ #16670]
653 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
654 before #include of <time.h>.
655 [!__USE_XOPEN2K] (__need_timespec): Likewise.
656 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
657 (test-xfail-UNIX98/sched.h/conform): Likewise.
658
302949e2
MS
6592014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
660
661 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
662 error absence of trapping exception support.
663 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
664
a00f522a
JM
6652014-03-07 Joseph Myers <joseph@codesourcery.com>
666
6f99f280
JM
667 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
668 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
669 * timezone/Makefile (testdata): Move definition above include of
670 Rules.
671 (test-zones): New variable.
672 (tests-special): Add zone files.
673 (build-testdata): Use $(evaluate-test).
674
0b20a9e8
JM
675 * elf/Makefile (tests-special): Rename tests to end with .out.
676 ($(objpfx)noload-mem): Likewise.
677 ($(objpfx)tst-leaks1-mem): Likewise.
678 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
679 * iconv/Makefile (xtests-special): Change test-iconvconfig to
680 $(objpfx)test-iconvconfig.out.
681 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
682 set -e inside subshell and redirect output to file.
683 * iconvdata/Makefile (generated): Rename tests to end with .out.
684 Correct type.
685 (tests-special): Rename tests to end with .out.
686 ($(objpfx)mtrace-tst-loading): Likewise.
687 * intl/Makefile (generated): Likewise.
688 (tests-special): Likewise.
689 ($(objpfx)mtrace-tst-gettext): Likewise.
690 * misc/Makefile (generated): Likewise.
691 (tests-special): Likewise.
692 ($(objpfx)tst-error1-mem): Likewise.
693 * nptl/Makefile (tests-special): Likewise.
694 ($(objpfx)tst-stack3-mem): Likewise.
695 (generated): Likewise.
696 * posix/Makefile (generated): Likewise.
697 (tests-special): Likewise.
698 (xtests-special): Likewise.
699 ($(objpfx)tst-fnmatch-mem): Likewise.
700 ($(objpfx)bug-regex2-mem): Likewise.
701 ($(objpfx)bug-regex14-mem): Likewise.
702 ($(objpfx)bug-regex21-mem): Likewise.
703 ($(objpfx)bug-regex31-mem): Likewise.
704 ($(objpfx)tst-vfork3-mem): Likewise.
705 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
706 ($(objpfx)tst-pcre-mem): Likewise.
707 ($(objpfx)tst-boost-mem): Likewise.
708 ($(objpfx)bug-ga2-mem): Likewise.
709 ($(objpfx)bug-glob2-mem): Likewise.
710 * resolv/Makefile (generate): Likewise.
711 (tests-special): Likewise.
712 (xtests-special): Likewise.
713 (generated): Likewise.
714 ($(objpfx)mtrace-tst-leaks): Likewise.
715 ($(objpfx)mtrace-tst-leaks2): Likewise.
716
265d52ab
JM
717 * scripts/merge-test-results.sh: New file.
718 * Makefile (tests-special-notdir): New variable.
719 (tests): Run merge-test-results.sh.
720 (xtests): Likewise.
721 * Rules (tests-special-notdir): New variable.
722 (xtests-special-notdir): Likewise.
723 (tests): Run merge-test-results.sh
724 (xtests): Likewise.
725
54ee292d
JM
726 * Makeconfig (test-xfail-name): New variable.
727 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
728 compute variable name for expected failures.
729 * conform/Makefile (conformtest-headers-data): New variable.
730 (conformtest-standards): Likewise.
731 (conformtest-headers-ISO): Likewise.
732 (conformtest-headers-ISO99): Likewise.
733 (conformtest-headers-ISO11): Likewise.
734 (conformtest-headers-POSIX): Likewise.
735 (conformtest-headers-XPG3): Likewise.
736 (conformtest-headers-XPG4): Likewise.
737 (conformtest-headers-UNIX98): Likewise.
738 (conformtest-headers-XOPEN2K): Likewise.
739 (conformtest-headers-POSIX2008): Likewise.
740 (conformtest-headers-XOPEN2K8): Likewise.
741 (conformtest-header-list-base): Likewise.
742 (conformtest-header-list-tests): Likewise.
743 (conformtest-header-base): Likewise.
744 (conformtest-header-tests): Likewise.
745 (tests-special): Add $(conformtest-header-list-tests). If
746 [$(fast-check) && !$(cross-compiling)], add
747 $(conformtest-header-tests) instead of
748 $(objpfx)run-conformtest.out.
749 (generated): Add $(conformtest-header-list-base). If
750 [$(fast-check) && !$(cross-compiling)], add
751 $(conformtest-header-base). Remove previous setting.
752 ($(conformtest-header-list-tests)): New target.
753 (test-xfail-run-conformtest): Remove variable.
754 ($(objpfx)run-conformtest.out): Remove target.
755 (test-xfail-ISO11/complex.h/conform): New variable.
756 (test-xfail-ISO11/stdalign.h/conform): Likewise.
757 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
758 (test-xfail-XPG3/varargs.h/conform): Likewise.
759 (test-xfail-XPG4/varargs.h/conform): Likewise.
760 (test-xfail-UNIX98/varargs.h/conform): Likewise.
761 (test-xfail-XPG4/ndbm.h/conform): Likewise.
762 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
763 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
764 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
765 (test-xfail-XPG3/fcntl.h/conform): Likewise.
766 (test-xfail-XPG3/ftw.h/conform): Likewise.
767 (test-xfail-XPG3/grp.h/conform): Likewise.
768 (test-xfail-XPG3/langinfo.h/conform): Likewise.
769 (test-xfail-XPG3/limits.h/conform): Likewise.
770 (test-xfail-XPG3/pwd.h/conform): Likewise.
771 (test-xfail-XPG3/search.h/conform): Likewise.
772 (test-xfail-XPG3/signal.h/conform): Likewise.
773 (test-xfail-XPG3/stdio.h/conform): Likewise.
774 (test-xfail-XPG3/stdlib.h/conform): Likewise.
775 (test-xfail-XPG3/string.h/conform): Likewise.
776 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
777 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
778 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
779 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
780 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
781 (test-xfail-XPG3/sys/types.h/conform): Likewise.
782 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
783 (test-xfail-XPG3/termios.h/conform): Likewise.
784 (test-xfail-XPG3/time.h/conform): Likewise.
785 (test-xfail-XPG3/unistd.h/conform): Likewise.
786 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
787 (test-xfail-XPG4/fcntl.h/conform): Likewise.
788 (test-xfail-XPG4/langinfo.h/conform): Likewise.
789 (test-xfail-XPG4/netdb.h/conform): Likewise.
790 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
791 (test-xfail-XPG4/signal.h/conform): Likewise.
792 (test-xfail-XPG4/stdio.h/conform): Likewise.
793 (test-xfail-XPG4/stdlib.h/conform): Likewise.
794 (test-xfail-XPG4/stropts.h/conform): Likewise.
795 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
796 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
797 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
798 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
799 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
800 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
801 (test-xfail-XPG4/sys/time.h/conform): Likewise.
802 (test-xfail-XPG4/sys/types.h/conform): Likewise.
803 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
804 (test-xfail-XPG4/termios.h/conform): Likewise.
805 (test-xfail-XPG4/ucontext.h/conform): Likewise.
806 (test-xfail-XPG4/unistd.h/conform): Likewise.
807 (test-xfail-XPG4/utmpx.h/conform): Likewise.
808 (test-xfail-POSIX/sched.h/conform): Likewise.
809 (test-xfail-POSIX/signal.h/conform): Likewise.
810 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
811 (test-xfail-POSIX/tar.h/conform): Likewise.
812 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
813 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
814 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
815 (test-xfail-UNIX98/netdb.h/conform): Likewise.
816 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
817 (test-xfail-UNIX98/sched.h/conform): Likewise.
818 (test-xfail-UNIX98/signal.h/conform): Likewise.
819 (test-xfail-UNIX98/stdio.h/conform): Likewise.
820 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
821 (test-xfail-UNIX98/stropts.h/conform): Likewise.
822 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
823 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
824 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
825 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
826 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
827 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
828 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
829 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
830 (test-xfail-UNIX98/unistd.h/conform): Likewise.
831 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
832 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
833 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
834 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
835 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
836 (test-xfail-XOPEN2K/math.h/conform): Likewise.
837 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
838 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
839 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
840 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
841 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
842 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
843 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
844 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
845 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
846 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
847 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
848 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
849 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
850 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
851 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
852 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
853 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
854 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
855 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
856 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
857 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
858 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
859 (test-xfail-POSIX2008/signal.h/conform): Likewise.
860 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
861 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
862 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
863 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
864 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
865 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
866 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
867 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
868 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
869 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
870 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
871 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
872 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
873 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
874 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
875 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
876 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
877 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
878 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
879 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
880 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
881 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
882 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
883 (conformtest-cc-flags): Likewise.
884 ($(conformtest-header-tests): New target.
885 * conform/check-header-lists.sh: New file.
886 * conform/run-conformtest.sh: Remove.
887
a00f522a
JM
888 * conform/conformtest.pl: Allow ' and \ in values given for
889 constants.
890 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
891 inclusion.
892 [POSIX] (sys/types.h): Likewise.
893 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
894 inclusion.
895 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
896 inclusion.
897 * conform/data/signal.h-data (SIGIO): Remove expectation.
898 [XPG3] (SIGBUS): Do not expect.
899 [POSIX || XPG3] (SIGPOLL): Likewise.
900 [POSIX || XPG3] (SIGPROF): Likewise.
901 [POSIX || XPG3] (SIGSYS): Likewise.
902 [XPG3] (SIGTRAP): Likewise.
903 [POSIX || XPG3] (SIGURG): Likewise.
904 [POSIX || XPG3] (SIGVTALRM): Likewise.
905 [POSIX || XPG3] (SIGXCPU): Likewise.
906 [POSIX || XPG3] (SIGXFSZ): Likewise.
907 [POSIX] (SA_SIGINFO): Expect.
908 [XPG3] (siginfo_t): Do not expect type or contents.
909 [POSIX] (si_pid): Do not expect element.
910 [POSIX] (si_uid): Likewise.
911 [POSIX] (si_addr): Likewise.
912 [POSIX] (si_status): Likewise.
913 [POSIX] (si_band): Likewise.
914 [XPG4] (si_value): Likewise.
915 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
916 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
917 [POSIX || XPG3] (ILL_ILLADR): Likewise.
918 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
919 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
920 [POSIX || XPG3] (ILL_PRVREG): Likewise.
921 [POSIX || XPG3] (ILL_COPROC): Likewise.
922 [POSIX || XPG3] (ILL_BADSTK): Likewise.
923 [POSIX || XPG3] (FPE_INTDIV): Likewise.
924 [POSIX || XPG3] (FPE_INTOVF): Likewise.
925 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
926 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
927 [POSIX || XPG3] (FPE_FLTUND): Likewise.
928 [POSIX || XPG3] (FPE_FLTRES): Likewise.
929 [POSIX || XPG3] (FPE_FLTINV): Likewise.
930 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
931 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
932 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
933 [POSIX || XPG3] (BUS_ADRALN): Likewise.
934 [POSIX || XPG3] (BUS_ADRERR): Likewise.
935 [POSIX || XPG3] (BUS_OBJERR): Likewise.
936 [POSIX || XPG3] (CLD_EXITED): Likewise.
937 [POSIX || XPG3] (CLD_KILLED): Likewise.
938 [POSIX || XPG3] (CLD_DUMPED): Likewise.
939 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
940 [POSIX || XPG3] (CLD_STOPPED): Likewise.
941 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
942 [POSIX || XPG3] (POLL_IN): Likewise.
943 [POSIX || XPG3] (POLL_OUT): Likewise.
944 [POSIX || XPG3] (POLL_MSG): Likewise.
945 [POSIX || XPG3] (POLL_ERR): Likewise.
946 [POSIX || XPG3] (POLL_PRI): Likewise.
947 [POSIX || XPG3] (POLL_HUP): Likewise.
948 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
949 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
950 (SIG*): Do not allow.
951 [XPG3] (si_*): Likewise.
952 [XPG3] (SI_*): Likewise.
953 [XPG3 || XPG4] (sigev_*): Likewise.
954 [XPG3 || XPG4] (SIGEV_*): Likewise.
955 [XPG3 || XPG4] (sival_*): Likewise.
956 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
957 [POSIX || XPG3] (BUS_*): Likewise.
958 [POSIX || XPG3] (CLD_*): Likewise.
959 [POSIX || XPG3] (FPE_*): Likewise.
960 [POSIX || XPG3] (ILL_*): Likewise.
961 [POSIX || XPG3] (POLL_*): Likewise.
962 [POSIX || XPG3] (SEGV_*): Likewise.
963 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
964 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
965 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
966 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
967 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
968 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
969 Specify type and value.
970 (TVERSLEN): Likewise.
971 (REGTYPE): Likewise.
972 (AREGTYPE): Likewise.
973 (LNKTYPE): Likewise.
974 (SYMTYPE): Likewise.
975 (CHRTYPE): Likewise.
976 (BLKTYPE): Likewise.
977 (DIRTYPE): Likewise.
978 (FIFOTYPE): Likewise.
979 (CONTTYPE): Likewise.
980 (TSUID): Likewise.
981 (TSGID): Likewise.
982 (TSVTX): Likewise.
983 (TUREAD): Likewise.
984 (TUWRITE): Likewise.
985 (TUEXEC): Likewise.
986 (TGREAD): Likewise.
987 (TGWRITE): Likewise.
988 (TGEXEC): Likewise.
989 (TOREAD): Likewise.
990 (TOWRITE): Likewise.
991 (TOEXEC): Likewise.
992 [POSIX] (TSVTX): Expect constant.
993
aa97dee1
JM
9942014-03-06 Joseph Myers <joseph@codesourcery.com>
995
f214606a
JM
996 * Makefile (tests): Change dependencies to ....
997 (tests-special): ... additions to this variable.
998 (tests): Depend on $(tests-special).
999 * Makerules (check-abi-list): New variable.
1000 (check-abi): Depend on $(check-abi-list).
1001 [$(subdir) = elf] (tests-special): Add
1002 $(objpfx)check-abi-libc.out.
1003 [$(build-shared) = yes && subdir] (tests-special): Add
1004 $(check-abi-list).
1005 [$(build-shared) = yes && subdir] (tests): Do not depend on
1006 check-abi.
1007 * Rules (tests): Depend on $(tests-special).
1008 (xtests): Depend on $(xtests-special).
1009 * catgets/Makefile (tests): Change dependencies to ....
1010 (tests-special): ... additions to this variable.
1011 * conform/Makefile (tests): Change dependencies to ....
1012 (tests-special): ... additions to this variable.
1013 * elf/Makefile (tests): Change dependencies to ....
1014 (tests-special): ... additions to this variable.
1015 * grp/Makefile (tests): Change dependencies to ....
1016 (tests-special): ... additions to this variable.
1017 * iconv/Makefile (xtests): Change dependencies to ....
1018 (xtests-special): ... additions to this variable.
1019 * iconvdata/Makefile (tests): Change dependencies to ....
1020 (tests-special): ... additions to this variable.
1021 * intl/Makefile (tests): Change dependencies to ....
1022 (tests-special): ... additions to this variable. Also add
1023 $(objpfx)tst-gettext.out.
1024 * io/Makefile (tests): Change dependencies to ....
1025 (tests-special): ... additions to this variable.
1026 * libio/Makefile (tests): Change dependencies to ....
1027 (tests-special): ... additions to this variable.
1028 * malloc/Makefile (tests): Change dependencies to ....
1029 (tests-special): ... additions to this variable.
1030 * misc/Makefile (tests): Change dependencies to ....
1031 (tests-special): ... additions to this variable.
1032 * nptl/Makefile (tests): Change dependencies to ....
1033 (tests-special): ... additions to this variable.
1034 * nptl_db/Makefile (tests): Change dependencies to ....
1035 (tests-special): ... additions to this variable.
1036 * posix/Makefile (tests): Change dependencies to ....
1037 (tests-special): ... additions to this variable.
1038 (xtests): Change dependencies to ....
1039 (xtests-special): ... additions to this variable.
1040 * resolv/Makefile (tests): Change dependencies to ....
1041 (tests-special): ... additions to this variable.
1042 (xtests): Change dependencies to ....
1043 (xtests-special): ... additions to this variable.
1044 * stdio-common/Makefile (tests): Change dependencies to ....
1045 (tests-special): ... additions to this variable.
1046 (do-tst-unbputc): Remove target.
1047 (do-tst-printf): Likewise.
1048 * stdlib/Makefile (tests): Change dependencies to ....
1049 (tests-special): ... additions to this variable.
1050 * string/Makefile (tests): Change dependencies to ....
1051 (tests-special): ... additions to this variable.
1052 * sysdeps/x86/Makefile (tests): Change dependencies to ....
1053 (tests-special): ... additions to this variable.
1054
81700b53
JM
1055 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1056 whole file.
1057 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1058 whole file.
1059 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1060 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1061
2ea18461
JM
1062 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1063 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1064 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1065 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1066 * conform/data/libgen.h-data [XPG3]: Likewise.
1067 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1068 * conform/data/ndbm.h-data [XPG3]: Likewise.
1069 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1070 * conform/data/netdb.h-data [XPG3]: Likewise.
1071 * conform/data/netinet/in.h-data [XPG3]: Likewise.
1072 * conform/data/poll.h-data [XPG3]: Likewise.
1073 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1074 * conform/data/strings.h-data [XPG3]: Likewise.
1075 * conform/data/stropts.h-data [XPG3]: Likewise.
1076 * conform/data/sys/mman.h-data [XPG3]: Likewise.
1077 * conform/data/sys/resource.h-data [XPG3]: Likewise.
1078 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1079 Likewise.
1080 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1081 * conform/data/sys/time.h-data [XPG3]: Likewise.
1082 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1083 * conform/data/sys/uio.h-data [XPG3]: Likewise.
1084 * conform/data/sys/un.h-data [XPG3]: Likewise.
1085 * conform/data/syslog.h-data [XPG3]: Likewise.
1086 * conform/data/ucontext.h-data [XPG3]: Likewise.
1087 * conform/data/utmpx.h-data [XPG3]: Likewise.
1088 * conform/data/varargs.h-data [UNIX98]: Enable file.
1089
355bc986
JM
1090 * manual/Makefile (INSTALL_INFO): Remove variable setting.
1091
215db402
JM
1092 * math/libm-test.inc (struct test_f_f_data): Move expected results
1093 into structure for each rounding mode.
1094 (struct test_ff_f_data): Likewise.
1095 (struct test_ff_f_data_nexttoward): Likewise.
1096 (struct test_fi_f_data): Likewise.
1097 (struct test_fl_f_data): Likewise.
1098 (struct test_if_f_data): Likewise.
1099 (struct test_fff_f_data): Likewise.
1100 (struct test_c_f_data): Likewise.
1101 (struct test_f_f1_data): Likewise.
1102 (struct test_fF_f1_data): Likewise.
1103 (struct test_ffI_f1_data): Likewise.
1104 (struct test_c_c_data): Likewise.
1105 (struct test_cc_c_data): Likewise.
1106 (struct test_f_i_data): Likewise.
1107 (struct test_ff_i_data): Likewise.
1108 (struct test_f_l_data): Likewise.
1109 (struct test_f_L_data): Likewise.
1110 (struct test_fFF_11_data): Likewise.
1111 (RM_): New macro.
1112 (RM_FE_DOWNWARD): Likewise.
1113 (RM_FE_TONEAREST): Likewise.
1114 (RM_FE_TOWARDZERO): Likewise.
1115 (RM_FE_UPWARD): Likewise.
1116 (RUN_TEST_LOOP_f_f): Update references to expected results.
1117 (RUN_TEST_LOOP_2_f): Likewise.
1118 (RUN_TEST_LOOP_fff_f): Likewise.
1119 (RUN_TEST_LOOP_c_f): Likewise.
1120 (RUN_TEST_LOOP_f_f1): Likewise.
1121 (RUN_TEST_LOOP_fF_f1): Likewise.
1122 (RUN_TEST_LOOP_fI_f1): Likewise.
1123 (RUN_TEST_LOOP_ffI_f1): Likewise.
1124 (RUN_TEST_LOOP_c_c): Likewise.
1125 (RUN_TEST_LOOP_cc_c): Likewise.
1126 (RUN_TEST_LOOP_f_i): Likewise.
1127 (RUN_TEST_LOOP_f_i_tg): Likewise.
1128 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1129 (RUN_TEST_LOOP_f_b): Likewise.
1130 (RUN_TEST_LOOP_f_b_tg): Likewise.
1131 (RUN_TEST_LOOP_f_l): Likewise.
1132 (RUN_TEST_LOOP_f_L): Likewise.
1133 (RUN_TEST_LOOP_fFF_11): Likewise.
1134 * math/gen-libm-test.pl (parse_args): Output four copies of
1135 expected results for each test.
1136
67737b8f
JM
1137 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1138 (__ASSUME_UTIMES): Remove.
1139 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1140 (__ASSUME_UTIMES): Likewise.
1141
aa97dee1
JM
1142 * math/gen-auto-libm-tests.c: Update comment on output format.
1143 (output_for_one_input_case): Generate before-rounding and
1144 after-rounding information as conditions on output flags not
1145 floating-point format.
1146 * math/auto-libm-test-out: Regenerated.
1147 * math/gen-libm-test.pl (cond_value): New function.
1148 (or_cond_value): Use cond_value.
1149 (generate_testfile): Handle conditional exceptions.
1150
e6b6a857
JM
11512014-03-05 Joseph Myers <joseph@codesourcery.com>
1152
2f0a0f44
JM
1153 * math/libm-test.inc (max_valid_error): New variable.
1154 (init_max_error): Take new argument specifying whether function
1155 results are exactly determined. Set max_valid_error and bound
1156 other variables for errors based on this argument.
1157 (set_max_error): Do not record results above max_valid_error.
1158 (check_float_internal): Only accept errors of up to 0.5ulps if
1159 also at most max_valid_error.
1160 (START): Take new argument EXACT and pass it to init_max_error.
1161 (acos_test): Update call to START.
1162 (acos_test_tonearest): Likewise.
1163 (acos_test_towardzero): Likewise.
1164 (acos_test_downward): Likewise.
1165 (acos_test_upward): Likewise.
1166 (acosh_test): Likewise.
1167 (asin_test): Likewise.
1168 (asin_test_tonearest): Likewise.
1169 (asin_test_towardzero): Likewise.
1170 (asin_test_downward): Likewise.
1171 (asin_test_upward): Likewise.
1172 (asinh_test): Likewise.
1173 (atan_test): Likewise.
1174 (atanh_test): Likewise.
1175 (atan2_test): Likewise.
1176 (cabs_test): Likewise.
1177 (cacos_test): Likewise.
1178 (cacosh_test): Likewise.
1179 (carg_test): Likewise.
1180 (casin_test): Likewise.
1181 (casinh_test): Likewise.
1182 (catan_test): Likewise.
1183 (catanh_test): Likewise.
1184 (cbrt_test): Likewise.
1185 (ccos_test): Likewise.
1186 (ccosh_test): Likewise.
1187 (ceil_test): Likewise.
1188 (cexp_test): Likewise.
1189 (cimag_test): Likewise.
1190 (clog_test): Likewise.
1191 (clog10_test): Likewise.
1192 (conj_test): Likewise.
1193 (copysign_test): Likewise.
1194 (cos_test): Likewise.
1195 (cos_test_tonearest): Likewise.
1196 (cos_test_towardzero): Likewise.
1197 (cos_test_downward): Likewise.
1198 (cos_test_upward): Likewise.
1199 (cosh_test): Likewise.
1200 (cosh_test_tonearest): Likewise.
1201 (cosh_test_towardzero): Likewise.
1202 (cosh_test_downward): Likewise.
1203 (cosh_test_upward): Likewise.
1204 (cpow_test): Likewise.
1205 (cproj_test): Likewise.
1206 (creal_test): Likewise.
1207 (csin_test): Likewise.
1208 (csinh_test): Likewise.
1209 (csqrt_test): Likewise.
1210 (ctan_test): Likewise.
1211 (ctan_test_tonearest): Likewise.
1212 (ctan_test_towardzero): Likewise.
1213 (ctan_test_downward): Likewise.
1214 (ctan_test_upward): Likewise.
1215 (ctanh_test): Likewise.
1216 (ctanh_test_tonearest): Likewise.
1217 (ctanh_test_towardzero): Likewise.
1218 (ctanh_test_downward): Likewise.
1219 (ctanh_test_upward): Likewise.
1220 (erf_test): Likewise.
1221 (erfc_test): Likewise.
1222 (exp_test): Likewise.
1223 (exp_test_tonearest): Likewise.
1224 (exp_test_towardzero): Likewise.
1225 (exp_test_downward): Likewise.
1226 (exp_test_upward): Likewise.
1227 (exp10_test): Likewise.
1228 (exp10_test_tonearest): Likewise.
1229 (exp10_test_towardzero): Likewise.
1230 (exp10_test_downward): Likewise.
1231 (exp10_test_upward): Likewise.
1232 (pow10_test): Likewise.
1233 (exp2_test): Likewise.
1234 (expm1_test): Likewise.
1235 (expm1_test_tonearest): Likewise.
1236 (expm1_test_towardzero): Likewise.
1237 (expm1_test_downward): Likewise.
1238 (expm1_test_upward): Likewise.
1239 (fabs_test): Likewise.
1240 (fdim_test): Likewise.
1241 (floor_test): Likewise.
1242 (fma_test): Likewise.
1243 (fma_test_towardzero): Likewise.
1244 (fma_test_downward): Likewise.
1245 (fma_test_upward): Likewise.
1246 (fmax_test): Likewise.
1247 (fmin_test): Likewise.
1248 (fmod_test): Likewise.
1249 (fpclassify_test): Likewise.
1250 (frexp_test): Likewise.
1251 (hypot_test): Likewise.
1252 (ilogb_test): Likewise.
1253 (isfinite_test): Likewise.
1254 (finite_test): Likewise.
1255 (isgreater_test): Likewise.
1256 (isgreaterequal_test): Likewise.
1257 (isinf_test): Likewise.
1258 (isless_test): Likewise.
1259 (islessequal_test): Likewise.
1260 (islessgreater_test): Likewise.
1261 (isnan_test): Likewise.
1262 (isnormal_test): Likewise.
1263 (issignaling_test): Likewise.
1264 (isunordered_test): Likewise.
1265 (j0_test): Likewise.
1266 (j1_test): Likewise.
1267 (jn_test): Likewise.
1268 (ldexp_test): Likewise.
1269 (lgamma_test): Likewise.
1270 (gamma_test): Likewise.
1271 (lrint_test): Likewise.
1272 (lrint_test_tonearest): Likewise.
1273 (lrint_test_towardzero): Likewise.
1274 (lrint_test_downward): Likewise.
1275 (lrint_test_upward): Likewise.
1276 (llrint_test): Likewise.
1277 (llrint_test_tonearest): Likewise.
1278 (llrint_test_towardzero): Likewise.
1279 (llrint_test_downward): Likewise.
1280 (llrint_test_upward): Likewise.
1281 (log_test): Likewise.
1282 (log10_test): Likewise.
1283 (log1p_test): Likewise.
1284 (log2_test): Likewise.
1285 (logb_test): Likewise.
1286 (logb_test_downward): Likewise.
1287 (lround_test): Likewise.
1288 (llround_test): Likewise.
1289 (modf_test): Likewise.
1290 (nearbyint_test): Likewise.
1291 (nextafter_test): Likewise.
1292 (nexttoward_test): Likewise.
1293 (pow_test): Likewise.
1294 (pow_test_tonearest): Likewise.
1295 (pow_test_towardzero): Likewise.
1296 (pow_test_downward): Likewise.
1297 (pow_test_upward): Likewise.
1298 (remainder_test): Likewise.
1299 (drem_test): Likewise.
1300 (remainder_test_tonearest): Likewise.
1301 (drem_test_tonearest): Likewise.
1302 (remainder_test_towardzero): Likewise.
1303 (drem_test_towardzero): Likewise.
1304 (remainder_test_downward): Likewise.
1305 (drem_test_downward): Likewise.
1306 (remainder_test_upward): Likewise.
1307 (drem_test_upward): Likewise.
1308 (remquo_test): Likewise.
1309 (rint_test): Likewise.
1310 (rint_test_tonearest): Likewise.
1311 (rint_test_towardzero): Likewise.
1312 (rint_test_downward): Likewise.
1313 (rint_test_upward): Likewise.
1314 (round_test): Likewise.
1315 (scalb_test): Likewise.
1316 (scalbn_test): Likewise.
1317 (scalbln_test): Likewise.
1318 (signbit_test): Likewise.
1319 (sin_test): Likewise.
1320 (sin_test_tonearest): Likewise.
1321 (sin_test_towardzero): Likewise.
1322 (sin_test_downward): Likewise.
1323 (sin_test_upward): Likewise.
1324 (sincos_test): Likewise.
1325 (sinh_test): Likewise.
1326 (sinh_test_tonearest): Likewise.
1327 (sinh_test_towardzero): Likewise.
1328 (sinh_test_downward): Likewise.
1329 (sinh_test_upward): Likewise.
1330 (sqrt_test): Likewise.
1331 (sqrt_test_tonearest): Likewise.
1332 (sqrt_test_towardzero): Likewise.
1333 (sqrt_test_downward): Likewise.
1334 (sqrt_test_upward): Likewise.
1335 (tan_test): Likewise.
1336 (tan_test_tonearest): Likewise.
1337 (tan_test_towardzero): Likewise.
1338 (tan_test_downward): Likewise.
1339 (tan_test_upward): Likewise.
1340 (tanh_test): Likewise.
1341 (tgamma_test): Likewise.
1342 (trunc_test): Likewise.
1343 (y0_test): Likewise.
1344 (y1_test): Likewise.
1345 (yn_test): Likewise.
1346 (significand_test): Likewise.
1347
e6b6a857
JM
1348 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
1349 individual tests in comment.
1350 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
1351 (prev_max_error): New variable.
1352 (prev_real_max_error): Likewise.
1353 (prev_imag_max_error): Likewise.
1354 (compare_ulp_data): Don't refer to test names in comment.
1355 (find_test_ulps): Remove function.
1356 (find_function_ulps): Likewise.
1357 (find_complex_function_ulps): Likewise.
1358 (init_max_error): Take function name as argument. Look up ulps
1359 for that function.
1360 (print_ulps): Remove function.
1361 (print_max_error): Use prev_max_error instead of calling
1362 find_function_ulps.
1363 (print_complex_max_error): Use prev_real_max_error and
1364 prev_imag_max_error instead of calling find_complex_function_ulps.
1365 (check_float_internal): Take max_ulp parameter instead of calling
1366 find_test_ulps. Don't call print_ulps.
1367 (check_float): Update call to check_float_internal.
1368 (check_complex): Update calls to check_float_internal.
1369 (START): Pass argument to init_max_error.
1370 * math/gen-libm-test.pl (%results): Don't include "kind"
1371 information.
1372 (parse_ulps): Don't handle ulps of individual tests.
1373 (print_ulps_file): Likewise.
1374 (output_ulps): Likewise.
1375 * math/README.libm-test: Update.
1376 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
1377 individual tests.
1378 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
1379 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
1380 * sysdeps/arm/libm-test-ulps: Likewise.
1381 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1382 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1383 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
1384 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1385 * sysdeps/microblaze/libm-test-ulps: Likewise.
1386 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1387 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1388 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1389 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1390 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1391 * sysdeps/sh/libm-test-ulps: Likewise.
1392 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1393 * sysdeps/tile/libm-test-ulps: Likewise.
1394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1395
45adef3c
JM
13962014-03-04 Joseph Myers <joseph@codesourcery.com>
1397
1398 * math/libm-test.inc (print_complex_max_error): Check separately
1399 whether real and imaginary errors are within allowed range and
1400 pass 0 to print_complex_function_ulps instead of value within
1401 allowed range.
1402
000232b9
SP
14032014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1404
d4b17258
SP
1405 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
1406 formatting.
1407 (get_handles_fopen): Likewise.
1408 (do_write_test): Likewise.
1409
091eff71
SP
1410 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
1411
fa3cd248
SP
1412 * libio/fileops.c (do_ftell): Use cached offset when
1413 available.
1414 * libio/iofwide.c (do_ftell_wide): Likewise.
1415 * libio/iofdopen.c (_IO_new_fdopen): Don't use
1416 _IO_file_attach.
1417 * libio/wfileops.c (_IO_fwide): Don't cache offset.
1418
000232b9
SP
1419 [BZ #16532]
1420 * libio/libioP.h (get_file_offset): New function.
1421 * libio/fileops.c (get_file_offset): Likewise.
1422 (do_ftell): Likewise.
1423 (_IO_new_file_seekoff): Split out ftell logic.
1424 * libio/wfileops.c (do_ftell_wide): Likewise.
1425 (_IO_wfile_seekoff): Split out ftell logic.
1426 * libio/tst-ftell-active-handler.c: New test case.
1427 * libio/Makefile (tests): Add it.
1428
116f4d1a
RM
14292014-03-03 Roland McGrath <roland@hack.frob.com>
1430
1431 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
1432 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
1433
532a6035
SP
14342014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1435
1436 [BZ #16639]
1437 * nscd/connections.c (nscd_init): Call do_exit.
1438 (start_threads): Call do_exit and notify_parent.
1439 (begin_drop_privileges): Call do_exit.
1440 (finish_drop_privileges): Likewise.
1441 * nscd/selinux.c (preserve_capabilities): Likewise.
1442 (install_real_capabilities): Likewise.
1443 (nscd_selinux_enabled): Likewise.
1444 (avc_create_thread): Likewise.
1445 (avc_alloc_lock): Likewise.
1446 (nscd_avc_init): Likewise.
1447 * nscd/nscd.c (parent_fd): New static variable.
1448 (main): Create a pipe between parent and child processes.
1449 Skip closing parent_fd.
1450 (monitor_child): New function.
1451 (do_exit): Likewise.
1452 (notify_parent): Likewise.
1453 * nscd/nscd.h (notify_parent): Likewise.
1454 (do_exit): Likewise.
1455
d6285c9f
CD
14562014-03-03 Carlos O'Donell <carlos@redhat.com>
1457
1458 * malloc/malloc.c (__libc_calloc): Revert last change.
1459
2b85d2a0
AZ
14602014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1461
1462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1463
c7debbdf
RS
14642014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1465
1466 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
1467 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
1468 implementation.
1469 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1470 (__libc_ifunc_impl_list): Likewise.
1471 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
1472 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
1473 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
1474 * string/strrchr.c: Define STRRCHR.
1475
235eed86
OB
14762014-02-28 Ondřej Bílka <neleai@seznam.cz>
1477
1478 * benchtest/bench-strtok.c (simple_strtok): Delete.
1479 (strtok_string): Use as benchmark.
1480 * string/strtok (STRTOK): New macro.
1481
8e25d1e7
CD
14822014-02-28 Carlos O'Donell <carlos@redhat.com>
1483
ef563f92
CD
1484 * manual/threads.texi: Add header and standard comments to all
1485 functions.
1486
8e25d1e7
CD
1487 * elf/dl-lookup.c (check_match): New function.
1488 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
1489 (do_lookup_x): Remove nested function check_match. Use non-nested
1490 function check_match.
1491
ff71cc37
RM
14922014-02-28 Roland McGrath <roland@hack.frob.com>
1493
f08e9a26
RM
1494 * csu/Makefile (generated, before-compile): Use += rather than =.
1495 * catgets/Makefile (generated, generated-dirs): Likewise.
1496 * debug/Makefile (generated): Likewise.
1497 * dlfcn/Makefile (generated): Likewise.
1498 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
1499 * iconvdata/Makefile (before-compile, generated): Likewise.
1500 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
1501 * libio/Makefile (generated): Likewise.
1502 * malloc/Makefile (generated): Likewise.
1503 * manual/Makefile (generated, generated-dirs): Likewise.
1504 * misc/Makefile (generated): Likewise.
1505 * posix/Makefile (generated): Likewise.
1506 * resolv/Makefile (generated): Likewise.
1507 * sunrpc/Makefile (generated, generated-dirs): Likewise.
1508 * timezone/Makefile (generated, generated-dirs): Likewise.
1509
ff71cc37
RM
1510 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
1511
fe13a20c
AZ
15122014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1513
1514 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
1515 implementation.
1516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
1517 POWER8 llround ifunc implementation.
1518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
1519 POWER8 implementation.
1520 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
1521 POWER8 llround implementation.
1522
1ad8950a
AZ
15232014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1524
1525 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
1526 implementation.
1527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
1528 POWER8 llrint ifunc implementation.
1529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
1530 POWER8 implementation.
1531 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
1532 POWER8 llrint implementation.
1533
cac626d6
AZ
15342014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1535
1536 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
1537 implementation.
1538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
1539 POWER8 finite ifunc implementation.
1540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
1541 POWER8 implementation.
1542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
1543 Likewise.
1544 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
1545 POWER8 finite implementation.
1546 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
1547
4393fc11
AZ
15482014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1549
1550 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
1551 implementation.
1552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
1553 POWER8 isinf ifunc implementation.
1554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
1555 POWER8 implementation.
1556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
1557 Likewise.
1558 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
1559 POWER8 isinf implementation.
1560 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
1561
487972ae
AZ
15622014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1563
1564 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
1565 Add hwcap2 initialization.
1566 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
1567 implementation.
1568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
1569 POWER8 isnan ifunc implementation.
1570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
1571 POWER8 implementation.
1572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
1573 Likewise.
1574 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
1575 POWER8 isnan implementation.
1576 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
1577
7d92b787
JY
15782014-02-27 Joey Ye <joey.ye@arm.com>
1579
1580 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1581 (_FP_NANFRAC_Q): Set to zero.
1582
1cadc858
SP
15832014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1584
1585 [BZ #16623]
1586 * math/auto-libm-test-in: New test inputs.
1587 * math/auto-libm-test-out: Regenerate.
1588 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
1589 and DA.
1590 (__cos): Likewise.
1591 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1592
f8c17e79
JM
15932014-02-27 Joseph Myers <joseph@codesourcery.com>
1594
1595 * scripts/evaluate-test.sh: Take new argument indicating whether
1596 failure is expected.
1597 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
1598 indicating whether failure is expected.
1599 * conform/Makefile (test-xfail-run-conformtest): New variable.
1600 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
1601 level.
1602 * posix/Makefile (test-xfail-annexc): New variable.
1603 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
1604
a5f891ac
JM
16052014-02-26 Joseph Myers <joseph@codesourcery.com>
1606
1607 * argp/Makefile: Include Makeconfig immediately after defining
1608 subdir.
1609 * assert/Makefile: Likewise.
1610 * benchtests/Makefile: Likewise.
1611 * catgets/Makefile: Likewise.
1612 * conform/Makefile: Likewise.
1613 * crypt/Makefile: Likewise.
1614 * csu/Makefile: Likewise.
1615 (all): Remove target.
1616 * ctype/Makefile: Include Makeconfig immediately after defining
1617 subdir.
1618 * debug/Makefile: Likewise.
1619 * dirent/Makefile: Likewise.
1620 * dlfcn/Makefile: Likewise.
1621 * gmon/Makefile: Likewise.
1622 * gnulib/Makefile: Likewise.
1623 * grp/Makefile: Likewise.
1624 * gshadow/Makefile: Likewise.
1625 * hesiod/Makefile: Likewise.
1626 * hurd/Makefile: Likewise.
1627 (all): Remove target.
1628 * iconvdata/Makefile: Include Makeconfig immediately after
1629 defining subdir.
1630 * inet/Makefile: Likewise.
1631 * intl/Makefile: Likewise.
1632 * io/Makefile: Likewise.
1633 * libio/Makefile: Likewise.
1634 (all): Remove target.
1635 * locale/Makefile: Include Makeconfig immediately after defining
1636 subdir.
1637 * login/Makefile: Likewise.
1638 * mach/Makefile: Likewise.
1639 (all): Remove target.
1640 * malloc/Makefile: Include Makeconfig immediately after defining
1641 subdir.
1642 (all): Remove target.
1643 * manual/Makefile: Include Makeconfig immediately after defining
1644 subdir.
1645 * math/Makefile: Likewise.
1646 * misc/Makefile: Likewise.
1647 * nis/Makefile: Likewise.
1648 * nss/Makefile: Likewise.
1649 * po/Makefile: Likewise.
1650 (all): Remove target.
1651 * posix/Makefile: Include Makeconfig immediately after defining
1652 subdir.
1653 * pwd/Makefile: Likewise.
1654 * resolv/Makefile: Likewise.
1655 * resource/Makefile: Likewise.
1656 * rt/Makefile: Likewise.
1657 * setjmp/Makefile: Likewise.
1658 * shadow/Makefile: Likewise.
1659 * signal/Makefile: Likewise.
1660 * socket/Makefile: Likewise.
1661 * soft-fp/Makefile: Likewise.
1662 * stdio-common/Makefile: Likewise.
1663 * stdlib/Makefile: Likewise.
1664 * streams/Makefile: Likewise.
1665 * string/Makefile: Likewise.
1666 * sunrpc/Makefile: Likewise.
1667 (all): Remove target.
1668 * sysvipc/Makefile: Include Makeconfig immediately after defining
1669 subdir.
1670 * termios/Makefile: Likewise.
1671 * time/Makefile: Likewise.
1672 * timezone/Makefile: Likewise.
1673 (all): Remove target.
1674 * wcsmbs/Makefile: Include Makeconfig immediately after defining
1675 subdir.
1676 * wctype/Makefile: Likewise.
1677
5b456e9d
SE
16782014-02-26 Steve Ellcey <sellcey@mips.com>
1679
1680 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
1681 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
1682 (libc_feholdexcept_setround_mips): Ditto.
1683 (libc_feholdsetround): New.
1684 (libc_feholdsetroundf): New.
1685 (libc_feholdsetroundl): New.
1686 (libc_feupdateenv_test_mips): New.
1687 (libc_feupdateenv_test): New.
1688 (libc_feupdateenv_testf): New.
1689 (libc_feupdateenv_testl): New.
1690 (libc_feresetround): New.
1691 (libc_feresetroundf): New.
1692 (libc_feresetroundl): New.
1693 (libc_fetestexcept_mips): New.
1694 (libc_fetestexcept): New.
1695 (libc_fetestexceptf): New.
1696 (libc_fetestexceptl): New.
1697 (HAVE_RM_CTX): New.
1698 (libc_feholdexcept_setround_mips_ctx): New.
1699 (libc_feholdexcept_setround_ctx): New.
1700 (libc_feholdexcept_setroundf_ctx): New.
1701 (libc_feholdexcept_setroundl_ctx): New.
1702 (libc_fesetenv_mips_ctx): New.
1703 (libc_fesetenv_ctx): New.
1704 (libc_fesetenv_ctxf): New.
1705 (libc_fesetenv_ctxl): New.
1706 (libc_feupdateenv_mips_ctx): New.
1707 (libc_feupdateenv_ctx): New.
1708 (libc_feupdateenvf_ctx): New.
1709 (libc_feupdateenvl_ctx): New.
1710 (libc_feholdsetround_mips_ctx): New.
1711 (libc_feholdsetround_ctx): New.
1712 (libc_feholdsetroundf_ctx): New.
1713 (libc_feholdsetroundl_ctx): New.
1714 (libc_feresetround_mips_ctx): New.
1715 (libc_feresetround_ctx): New.
1716 (libc_feresetroundf_ctx): New.
1717 (libc_feresetroundl_ctx): New.
1718
085d0e35
CD
17192014-02-26 Carlos O'Donell <carlos@redhat.com>
1720
f067bf1f
CD
1721 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
1722
085d0e35
CD
1723 * manual/ipc.texi: New file.
1724 * manual/Makefile (chapters): Add ipc.
1725 * manual/job.texi: Add "Inter-Process Communication" to next.
1726 * manual/process.texi: Add "Inter-Process Communication" to prev.
1727
86e58c08
AZ
17282014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1729
1730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1731
4248f0da
OB
17322014-02-26 Ondřej Bílka <neleai@seznam.cz>
1733
1734 * malloc/malloc.c (__libc_calloc): Simplify implementation.
1735
cf822e3c
OB
1736 * manual/arith.texi: Fix spaces after sentences.
1737 * manual/charset.texi: Likewise.
1738 * manual/errno.texi: Likewise.
1739 * manual/install.texi: Likewise.
1740 * manual/llio.texi: Likewise.
1741 * manual/locale.texi: Likewise.
1742 * manual/maint.texi: Likewise.
1743 * manual/math.texi: Likewise.
1744 * manual/memory.texi: Likewise.
1745 * manual/message.texi: Likewise.
1746 * manual/probes.texi: Likewise.
1747 * manual/resource.texi: Likewise.
1748 * manual/signal.texi: Likewise.
1749 * manual/socket.texi: Likewise.
1750 * manual/stdio.texi: Likewise.
1751 * manual/string.texi: Likewise.
1752 * manual/time.texi: Likewise.
1753 * manual/users.texi: Likewise.
1754
ade40b10
CD
17552014-02-25 Carlos O'Donell <carlos@redhat.com>
1756
1757 [BZ #16632]
1758 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
1759 _DEFAULT_SOURCE is defined.
1760
d0503676
CD
17612014-02-25 Ulrich Drepper <drepper@gmail.com>
1762 Carlos O'Donell <carlos@redhat.com>
1763
1764 [BZ #16613]
1765 * elf/dl-tls.c (_dl_count_modids): New function.
1766 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
1767 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
1768 audit library and increment generation counter.
1769 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
1770 * elf/tst-audit9.c: New file.
1771 * elf/tst-auditmod9a.c: New file.
1772 * elf/tst-auditmod9b.c: New file.
1773 * elf/Makefile: Add rules to build and run tst-audit9.
1774
4cbf380c
FW
17752014-02-25 Florian Weimer <fweimer@redhat.com>
1776
1777 [BZ #15347]
1778 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
1779
80a56cc3
WN
17802014-02-25 Will Newton <will.newton@linaro.org>
1781
1782 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
1783 (__longjmp): Restore sp and lr before restoring callee
1784 saved registers. Add longjmp and longjmp_target
1785 SystemTap probe point.
1786 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
1787 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
1788 Define to zero to match jmpbuf layout.
1789 * sysdeps/arm/setjmp.S: Include stap-probe.h.
1790 (__sigsetjmp): Save sp and lr before saving callee
1791 saved registers. Add setjmp SystemTap probe point.
1792
3ea0f74e
SL
17932014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1794
1795 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1796
b04acb26
AS
17972014-02-24 Andreas Schwab <schwab@suse.de>
1798
1799 [BZ #15804]
1800 * elf/pldd.c (wait_for_ptrace_stop): New function.
1801 (main): Call it after attaching.
1802
098ad55c
RM
18032014-02-22 Roland McGrath <roland@hack.frob.com>
1804
d4ec6ae1
RM
1805 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
1806 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
1807 Versions files is now verboten.
1808 * hurd/Versions (libc: GLIBC_2.0):
1809 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
1810 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
1811 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
1812 * mach/Versions: Likewise.
1813
098ad55c
RM
1814 * csu/Versions: Remove unused %include.
1815 * resolv/Versions: Likewise.
1816
acd7f096
JM
18172014-02-21 Joseph Myers <joseph@codesourcery.com>
1818
f0881698
JM
1819 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
1820 ($(objpfx)check-local-headers.out): Likewise.
1821 ($(objpfx)begin-end-check.out): Likewise.
1822 * Makerules (check-abi-%.out): Likewise.
1823 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
1824 ($(objpfx)test2.cat): Likewise.
1825 ($(objpfx)de/libc.cat): Likewise.
1826 ($(objpfx)test-gencat.out): Likewise.
1827 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
1828 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
1829 ($(objpfx)noload-mem): Likewise.
1830 ($(objpfx)tst-pathopt.out): Likewise.
1831 ($(objpfx)tst-rtld-load-self.out): Likewise.
1832 ($(objpfx)tst-array1-cmp.out): Likewise.
1833 ($(objpfx)tst-array1-static-cmp.out): Likewise.
1834 ($(objpfx)tst-array2-cmp.out): Likewise.
1835 ($(objpfx)tst-array3-cmp.out): Likewise.
1836 ($(objpfx)tst-array4-cmp.out): Likewise.
1837 ($(objpfx)tst-array5-cmp.out): Likewise.
1838 ($(objpfx)tst-array5-static-cmp.out): Likewise.
1839 ($(objpfx)check-textrel.out): Likewise.
1840 ($(objpfx)check-execstack.out): Likewise.
1841 ($(objpfx)check-localplt.out): Likewise.
1842 ($(objpfx)order2-cmp.out): Likewise.
1843 ($(objpfx)tst-leaks1-mem): Likewise.
1844 ($(objpfx)tst-leaks1-static-mem): Likewise.
1845 ($(objpfx)tst-initorder-cmp.out): Likewise.
1846 ($(objpfx)tst-initorder2-cmp.out): Likewise.
1847 ($(objpfx)tst-unused-dep.out): Likewise.
1848 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
1849 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
1850 * iconv/Makefile (test-iconvconfig): Likewise.
1851 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
1852 ($(objpfx)iconv-test.out): Likewise.
1853 ($(objpfx)tst-tables.out): Likewise.
1854 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
1855 ($(objpfx)tst-gettext.out): Likewise.
1856 ($(objpfx)tst-translit.out): Likewise.
1857 ($(objpfx)tst-gettext2.out): Likewise.
1858 ($(objpfx)tst-gettext4.out): Likewise.
1859 ($(objpfx)tst-gettext6.out): Likewise.
1860 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
1861 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
1862 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
1863 ($(objpfx)tst-fopenloc-mem.out): Likewise.
1864 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
1865 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
1866 * posix/Makefile ($(objpfx)globtest.out): Likewise.
1867 ($(objpfx)wordexp-tst.out): Likewise.
1868 ($(objpfx)annexc.out): Likewise.
1869 ($(objpfx)tst-fnmatch-mem): Likewise.
1870 ($(objpfx)bug-regex2-mem): Likewise.
1871 ($(objpfx)bug-regex14-mem): Likewise.
1872 ($(objpfx)bug-regex21-mem): Likewise.
1873 ($(objpfx)bug-regex31-mem): Likewise.
1874 ($(objpfx)tst-vfork3-mem): Likewise.
1875 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1876 ($(objpfx)tst-pcre-mem): Likewise.
1877 ($(objpfx)tst-boost-mem): Likewise.
1878 ($(objpfx)tst-getconf.out): Likewise.
1879 ($(objpfx)bug-ga2-mem): Likewise.
1880 ($(objpfx)bug-glob2-mem): Likewise.
1881 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
1882 ($(objpfx)mtrace-tst-leaks2): Likewise.
1883 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
1884 ($(objpfx)tst-printf.out): Likewise.
1885 ($(objpfx)tst-setvbuf1.out): Likewise.
1886 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
1887 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
1888 ($(objpfx)tst-fmtmsg.out): Likewise.
1889 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
1890 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
1891
acd7f096
JM
1892 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
1893 * bits/sigaction.h [__USE_MISC]: Likewise.
1894 * bits/waitstatus.h: Update #endif comments.
1895 * ctype/ctype.h: Likewise.
1896 * dirent/dirent.h: Likewise.
1897 [__USE_MISC]: Remove redundant conditionals.
1898 * grp/grp.h: Update #endif comments.
1899 [__USE_GNU]: Remove redundant conditionals.
1900 [__USE_MISC]: Likewise.
1901 * inet/netinet/in.h [__USE_GNU]: Likewise.
1902 * io/sys/stat.h [__USE_MISC]: Likewise.
1903 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
1904 * libio/bits/stdio.h: Update #endif comments.
1905 [__USE_MISC]: Remove redundant conditionals.
1906 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
1907 * libio/stdio.h: Update #endif comments.
1908 [__USE_MISC]: Remove redundant conditionals.
1909 * math/bits/math-finite.h [__USE_MISC]: Likewise.
1910 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
1911 * math/math.h: Update #else and #endif comments.
1912 [__USE_MISC]: Remove redundant conditionals.
1913 * misc/sys/uio.h: Update #endif comments.
1914 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
1915 * posix/glob.h [__USE_MISC]: Likewise.
1916 * posix/sys/types.h: Update #endif comments.
1917 [__USE_MISC]: Remove redundant conditionals.
1918 * posix/sys/wait.h: Update #endif comments.
1919 [__USE_MISC]: Remove redundant conditionals.
1920 * posix/unistd.h: Update #endif comments.
1921 [__USE_MISC]: Remove redundant conditionals.
1922 * pwd/pwd.h [__USE_GNU]: Likewise.
1923 [__USE_MISC]: Likewise.
1924 * resolv/netdb.h [__USE_GNU]: Likewise.
1925 * signal/signal.h: Update #endif comments.
1926 [__USE_MISC]: Remove redundant conditionals.
1927 * stdlib/stdlib.h: Update #else and #endif comments.
1928 [__USE_MISC]: Remove redundant conditionals.
1929 [__USE_GNU]: Likewise.
1930 * string/bits/string2.h [__USE_MISC]: Likewise.
1931 * string/string.h: Update #endif comments.
1932 [__USE_MISC]: Remove redundant conditionals.
1933 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
1934 Likewise.
1935 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
1936 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
1937 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
1938 Likewise.
1939 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
1940 Likewise.
1941 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
1942 comments.
1943 [__USE_MISC]: Remove redundant conditionals.
1944 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
1945 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
1946 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
1947 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
1948 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
1949 Likewise.
1950 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
1951 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
1952 Likewise.
1953 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
1954 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
1955 Likewise.
1956 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
1957 Likewise.
1958 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
1959 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
1960 Likewise.
1961 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
1962 Likewise.
1963 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
1964 * sysdeps/x86/bits/string.h: Update #endif comments.
1965 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
1966 conditionals.
1967 * time/sys/time.h: Update #endif comments.
1968 * time/time.h: Likewise.
1969 [__USE_MISC]: Remove redundant conditionals.
1970
a5d82e4e
YG
19712014-02-21 Yury Gribov <y.gribov@samsung.com>
1972
1973 [BZ #16600]
1974 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
1975
9a80491d
AS
19762014-02-21 Andreas Schwab <schwab@linux-m68k.org>
1977
1978 * Versions.def (librt): Add GLIBC_2.17.
1979
105fa381
AC
19802014-02-21 Adam Conrad <adconrad@0c3.net>
1981
1982 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
1983 synonym for _SYS_AUXV_H to allow direct inclusion.
1984 * sysdeps/sparc/bits/hwcap.h: Likewise.
1985 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
1986 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
1987 * sysdeps/sparc/sysdep.h: Likewise.
1988
b8cd1c4e
SP
19892014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1990
1991 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
1992
bd939d23
RS
19932014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1994
1995 * benchtests/bench-strrchr.c: Print length instead of position.
1996
5d7b57ca
JM
19972014-02-20 Joseph Myers <joseph@codesourcery.com>
1998
bc688c10
JM
1999 [BZ #16611]
2000 * sysdeps/unix/sysv/linux/kernel-features.h
2001 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2002 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2003 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2004 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2005 Likewise.
2006 [__i386__ || __powerpc__ || __sh__ || __sparc__]
2007 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2008 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2009 (__ASSUME_SENDMMSG): Define instead of using previous
2010 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2011 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2012 (__ASSUME_SENDMMSG_SYSCALL): Define.
2013 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2014 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2015 Likewise.
2016 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2017 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2018 Likewise.
2019 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2020 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2021 Likewise.
2022 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2023 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2024 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2025 [__ASSUME_SENDMMSG]: Change conditionals to
2026 [__ASSUME_SENDMMSG_SOCKETCALL].
2027 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2028 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2029 Define.
2030 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2031 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2032 Likewise.
2033 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2034 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2035 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2036 [!__ASSUME_SENDMMSG]: Change conditional to
2037 [!__ASSUME_SENDMMSG_SOCKETCALL].
2038 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2039 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2040 Define.
2041
0e31b18c
JM
2042 [BZ #16610]
2043 * sysdeps/unix/sysv/linux/kernel-features.h
2044 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2045 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2046 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2047 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2048 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2049 [__i386__ || __sparc__]
2050 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2051 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2052 (__ASSUME_RECVMMSG): Define instead of using previous
2053 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2054 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2055 (__ASSUME_RECVMMSG_SYSCALL): Define.
2056 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2057 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2058 Likewise.
2059 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2060 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2061 Likewise.
2062 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2063 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2064 Likewise.
2065 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2066 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2067 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2068 [__ASSUME_RECVMMSG]: Change condition to
2069 [__ASSUME_RECVMMSG_SOCKETCALL].
2070 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2071 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2072 Define.
2073 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2074 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2075 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2076 Likewise.
2077 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2078 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2079 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2080 [!__ASSUME_RECVMMSG]: Change condition to
2081 [!__ASSUME_RECVMMSG_SOCKETCALL].
2082 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2083 (__ASSUME_RECVMMSG_SYSCALL): Define.
2084
dd481ccf
JM
2085 [BZ #16609]
2086 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2087 __powerpc__ || __s390__ || __sh__ || __sparc__]
2088 (__ASSUME_SOCKETCALL): Define.
2089 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2090 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2091 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2092 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2093 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2094 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2095 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2096 (__ASSUME_ACCEPT4): Define instead of using previous
2097 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2098 __powerpc__ || __sparc__ || __s390__)] condition.
2099 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2100 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2101 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2102 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2103 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2104 [!__ASSUME_ACCEPT4]: Change condition to
2105 [!__ASSUME_ACCEPT4_SOCKETCALL].
2106 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2107 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
2108 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2109 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2110 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2111 __ASSUME_ACCEPT4_SYSCALL.
2112 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2113 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2114 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2115 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2116 __ASSUME_ACCEPT4_SYSCALL.
2117 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2118 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2119 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2120 [__ASSUME_ACCEPT4]: Change condition to
2121 [__ASSUME_ACCEPT4_SOCKETCALL].
2122 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2123 (__ASSUME_SOCKETCALL): Define.
2124 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2125 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2126 (__ASSUME_SOCKETCALL): Define.
2127 (__ASSUME_ACCEPT4): Remove.
2128 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2129 Define.
2130 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2131 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2132 Likewise.
2133 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2134 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2135
5d7b57ca
JM
2136 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2137 macro.
2138 (HWCAP_ARM_LPAE): Likewise.
2139 (HWCAP_ARM_EVTSTRM): Likewise.
2140 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2141 Add vpfd32, lpae and evtstrm.
2142 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2143 Increase to 22.
2144
63689d61
JM
21452014-02-19 Joseph Myers <joseph@codesourcery.com>
2146
2147 * math/auto-libm-test-in: Add tests of clog10.
2148 * math/auto-libm-test-out: Regenerated.
2149 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2150 * sysdeps/i386/fpu/libm-test-ulps: Update.
2151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2152
ab09bf61
AS
21532014-02-18 Andreas Schwab <schwab@suse.de>
2154
2155 [BZ #16574]
2156 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2157 Store non-zero if the second buffer was newly allocated.
2158 (send_dg): Likewise.
2159 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2160 to send_vc and send_dg.
2161 (res_nsend): Pass NULL for ansp2_malloced.
2162 * resolv/res_query.c (__libc_res_nquery): Add parameter
2163 answerp2_malloced and pass it down to __libc_res_nsend.
2164 (res_nquery): Pass additional NULL to __libc_res_nquery.
2165 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2166 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
2167 second answer buffer if answerp2_malloced was set.
2168 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2169 (__libc_res_nquerydomain): Add parameter
2170 answerp2_malloced and pass it down to __libc_res_nquery.
2171 (res_nquerydomain): Pass additional NULL to
2172 __libc_res_nquerydomain.
2173 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2174 additional NULL to __libc_res_nsend and __libc_res_nquery.
2175 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2176 additional NULL to __libc_res_nsearch.
2177 (_nss_dns_gethostbyname4_r): Revert last change. Use new
2178 parameter of __libc_res_nsearch to check for separately allocated
2179 second buffer.
2180 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2181 __libc_res_nquery.
2182 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2183 additional NULL to __libc_res_nquery.
2184 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2185 __libc_res_nsearch.
2186 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2187 * include/resolv.h: Update prototypes of __libc_res_nquery,
2188 __libc_res_nsearch, __libc_res_nsend.
2189
a4fb7861
JM
21902014-02-18 Joseph Myers <joseph@codesourcery.com>
2191
c6af2d89
JM
2192 * math/auto-libm-test-in: Add tests of fma.
2193 * math/auto-libm-test-out: Regenerated.
2194 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2195 (fma_towardzero_test_data): Likewise.
2196 (fma_downward_test_data): Likewise.
2197 (fma_upward_test_data): Likewise.
2198 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2199 mpc_mode.
2200 (rounding_modes): Add values for new field.
2201 (func_calc_method): Add value mpfr_fff_f.
2202 (func_calc_desc): Add mpfr_fff_f union field.
2203 (test_function): Add field exact_args.
2204 (FUNC): Add macro argument EXACT_ARGS.
2205 (FUNC_mpfr_f_f): Update call to FUNC.
2206 (FUNC_mpfr_f_f): Likewise.
2207 (FUNC_mpfr_ff_f): Likewise.
2208 (FUNC_mpfr_if_f): Likewise.
2209 (FUNC_mpc_c_f): Likewise.
2210 (FUNC_mpc_c_c): Likewise.
2211 (test_functions): Add fma. Update calls to FUNC.
2212 (handle_input_arg): Add argument exact_args.
2213 (add_test): Update call to handle_input_arg.
2214 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
2215 (output_for_one_input_case): Update call to calc_generic_results.
2216 Recalculate exact zero results in each rounding mode.
2217
a4fb7861
JM
2218 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2219 non-negative before setting low bit.
2220 * math/auto-libm-test-in: Mark one asin test possibly having
2221 spurious underflow.
2222 * math/auto-libm-test-out: Regenerated.
2223 * sysdeps/i386/fpu/libm-test-ulps: Update.
2224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2225
ef114eaf
DH
22262014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
2227
2b7f4f2c
SP
2228 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2229 * sysdeps/unix/sysv/linux/microblaze: Move directory from
2230 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
2231 * README: Add missing listing for microblaze*-*-linux-gnu.
2232
c70a4b1d
MF
22332014-02-16 Mike Frysinger <vapier@gentoo.org>
2234
2235 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2236 * sysdeps/unix/sysv/linux/ia64: Move directory from
2237 ports/sysdeps/unix/sysv/linux/ia64.
2238 * README: Update listing for ia64-*-linux-gnu.
2239
591aeaf7
TD
22402014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
2241 Joseph Myers <joseph@codesourcery.com>
2242
2243 * Makeconfig (test-name): New variable.
2244 (evaluate-test): Likewise.
2245 * Makerules (do-test-clean): Remove .test-result files.
2246 (common-mostlyclean): Likewise.
2247 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2248 * scripts/evaluate-test.sh: New file.
2249
6e89caf1
JM
22502014-02-14 Joseph Myers <joseph@codesourcery.com>
2251
7f98f180
JM
2252 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2253 separate $(objpfx)tst-fopenloc-cmp.out and
2254 $(objpfx)tst-fopenloc-mem.out targets.
2255 (tests): Update dependencies.
2256 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2257 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2258 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2259 (tst-rxspencer-no-utf8-ARGS): New variable.
2260 (tst-rxspencer-no-utf8-ENV): Likewise.
2261 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2262 instead of $(objpfx)tst-rxspencer-mem.
2263 ($(objpfx)tst-rxspencer-mem): Change target to
2264 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
2265 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2266 * posix/tst-rxspencer-no-utf8.c: New file.
2267
6e89caf1
JM
2268 * elf/Makefile ($(objpfx)order.out): Remove rule.
2269 [$(run-built-tests) = yes] (tests): Depend on
2270 $(objpfx)order-cmp.out.
2271 ($(objpfx)order-cmp.out): New rule.
2272 [$(run-built-tests) = yes] (tests): Depend on
2273 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2274 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2275 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2276 $(objpfx)tst-array5-static-cmp.out.
2277 ($(objpfx)tst-array1.out): Remove rule.
2278 ($(objpfx)tst-array1-cmp.out): New rule.
2279 ($(objpfx)tst-array1-static.out): Remove rule.
2280 ($(objpfx)tst-array1-static-cmp.out): New rule.
2281 ($(objpfx)tst-array2.out): Remove rule.
2282 ($(objpfx)tst-array2-cmp.out): New rule.
2283 ($(objpfx)tst-array3.out): Remove rule.
2284 ($(objpfx)tst-array3-cmp.out): New rule.
2285 ($(objpfx)tst-array4.out): Remove rule.
2286 ($(objpfx)tst-array4-cmp.out): New rule.
2287 ($(objpfx)tst-array5.out): Remove rule.
2288 ($(objpfx)tst-array5-cmp.out): New rule.
2289 ($(objpfx)tst-array5-static.out): Remove rule.
2290 ($(objpfx)tst-array5-static-cmp.out): New rule.
2291 [$(run-built-tests) = yes] (tests): Depend on
2292 $(objpfx)order2-cmp.out.
2293 ($(objpfx)order2.out): Remove rule.
2294 ($(objpfx)order2-cmp.out): New rule.
2295 ($(objpfx)tst-initorder.out): Remove rule.
2296 [$(run-built-tests) = yes] (tests): Depend on
2297 $(objpfx)tst-initorder-cmp.out.
2298 ($(objpfx)tst-initorder-cmp.out): New rule.
2299 ($(objpfx)tst-initorder2.out): Remove rule.
2300 [$(run-built-tests) = yes] (tests): Depend on
2301 $(objpfx)tst-initorder2-cmp.out.
2302 ($(objpfx)tst-initorder2-cmp.out): New rule.
2303 [$(run-built-tests) = yes] (tests): Depend on
2304 $(objpfx)tst-unused-dep-cmp.out.
2305 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2306 ($(objpfx)tst-unused-dep-cmp.out): New rule.
2307 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2308 on $(objpfx)tst-setvbuf1-cmp.out.
2309 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2310 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2311 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2312 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2313 ($(objpfx)tst-svc.out): Remove rule.
2314 ($(objpfx)tst-svc-cmp.out): New rule.
2315
ed9a38e2
JM
23162014-02-13 Joseph Myers <joseph@codesourcery.com>
2317
2318 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
2319 * ctype/ctype.h [__USE_MISC]: Likewise.
2320 * dirent/dirent.h [__USE_MISC]: Likewise.
2321 * grp/grp.h [__USE_MISC]: Likewise.
2322 * io/fcntl.h [__USE_MISC]: Likewise.
2323 * io/sys/stat.h [__USE_MISC]: Likewise.
2324 * libio/stdio.h [__USE_MISC]: Likewise.
2325 * posix/unistd.h [__USE_MISC]: Likewise.
2326 * pwd/pwd.h [__USE_MISC]: Likewise.
2327 * stdlib.h [__USE_MISC]: Likewise.
2328 * string/bits/string2.h [__USE_MISC]: Likewise.
2329 * string/string.h [__USE_MISC]: Likewise.
2330 * time/time.h [__USE_MISC]: Likewise.
2331
d6680619
AS
23322014-02-13 Andreas Schwab <schwab@suse.de>
2333
2334 [BZ #16574]
2335 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
2336 second answer buffer if it was separately allocated.
2337
ace614b8
JM
23382014-02-12 Joseph Myers <joseph@codesourcery.com>
2339
743151ae
JM
2340 * sysdeps/mips/math-tests.h: Include <features.h>.
2341 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2342 (ROUNDING_TESTS_long_double): Do not define.
2343 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2344 (EXCEPTION_TESTS_long_double): Likewise.
2345 * sysdeps/mips/mips64/libm-test-ulps: Update.
2346
498afc54
JM
2347 * include/features.h (__USE_BSD): Remove macro definitions.
2348 (__USE_SVID): Likewise.
2349 (_BSD_SOURCE): Likewise.
2350 (_SVID_SOURCE): Likewise.
2351 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
2352 from definition of _DEFAULT_SOURCE.
2353 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
2354 [_DEFAULT_SOURCE].
2355 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
2356 * bits/mman.h [__USE_BSD]: Likewise.
2357 * bits/termios.h [__USE_BSD]: Likewise.
2358 * bits/waitstatus.h [__USE_BSD]: Likewise.
2359 * ctype/ctype.h [__USE_SVID]: Likewise.
2360 * dirent/dirent.h [__USE_BSD]: Likewise.
2361 * grp/grp.h [__USE_SVID]: Likewise.
2362 [__USE_BSD]: Likewise.
2363 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
2364 * io/fcntl.h [__USE_BSD]: Likewise.
2365 * io/ftw.h [__USE_BSD]: Likewise.
2366 * io/sys/stat.h [__USE_BSD]: Likewise.
2367 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
2368 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
2369 * libio/stdio.h [__USE_SVID]: Likewise.
2370 [__USE_BSD]: Likewise.
2371 * math/math.h [__USE_SVID]: Likewise.
2372 [__USE_BSD]: Likewise.
2373 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
2374 * misc/bits/syslog.h [__USE_BSD]: Likewise.
2375 * misc/search.h [__USE_SVID]: Likewise.
2376 * misc/sys/mman.h [__USE_BSD]: Likewise.
2377 * misc/sys/syslog.h [__USE_BSD]: Likewise.
2378 * misc/sys/uio.h [__USE_BSD]: Likewise.
2379 * posix/bits/unistd.h [__USE_BSD]: Likewise.
2380 * posix/glob.h [__USE_BSD]: Likewise.
2381 * posix/regex.h [__USE_BSD]: Likewise.
2382 * posix/sys/types.h [__USE_BSD]: Likewise.
2383 [__USE_SVID]: Likewise.
2384 * posix/sys/utsname.h [__USE_SVID]: Likewise.
2385 * posix/sys/wait.h [__USE_BSD]: Likewise.
2386 [__USE_SVID]: Likewise.
2387 * posix/unistd.h [__USE_BSD]: Likewise.
2388 [__USE_SVID]: Likewise.
2389 * pwd/pwd.h [__USE_SVID]: Likewise.
2390 * resolv/netdb.h [__USE_BSD]: Likewise.
2391 * setjmp/setjmp.h [__USE_BSD]: Likewise.
2392 * signal/signal.h [__USE_BSD]: Likewise.
2393 [__USE_SVID]: Likewise.
2394 * socket/sys/socket.h [__USE_BSD]: Likewise.
2395 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
2396 * stdlib/stdlib.h [__USE_BSD]: Likewise.
2397 [__USE_SVID]: Likewise.
2398 * string/bits/string2.h [__USE_BSD]: Likewise.
2399 [__USE_SVID]: Likewise.
2400 * string/bits/string3.h [__USE_BSD]: Likewise.
2401 * string/endian.h [__USE_BSD]: Likewise.
2402 * string/string.h [__USE_SVID]: Likewise.
2403 [__USE_BSD]: Likewise.
2404 * string/strings.h [__USE_BSD]: Likewise.
2405 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
2406 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
2407 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
2408 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
2409 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
2410 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
2411 Likewise.
2412 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
2413 Likewise.
2414 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
2415 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
2416 Likewise.
2417 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
2418 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
2419 Likewise.
2420 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
2421 Likewise.
2422 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
2423 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
2424 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
2425 Likewise.
2426 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
2427 Likewise.
2428 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
2429 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
2430 * termios/termios.h [__USE_BSD]: Likewise.
2431 * time/sys/time.h [__USE_BSD]: Likewise.
2432 * time/time.h [__USE_BSD]: Likewise.
2433 [__USE_SVID]: Likewise.
2434
dd7b064c
JM
2435 * Makefile (subdir_targets): Remove subdir_lint.out.
2436
a2c4c199
JM
2437 * stdio-common/Makefile (do-tst-unbputc): Remove target.
2438 (do-tst-printf): Likewise.
2439 (tests): Depend directly on $(objpfx)tst-unbputc.out and
2440 $(objpfx)tst-printf.out.
2441
8756f740
JM
2442 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
2443
1b6dd3f1
JM
2444 * Makerules (check-abi-%): Change target to
2445 $(objpfx)check-abi-%.out.
2446 (check-abi target): Update dependencies.
2447 (check-abi-pattern variable): Redirect output of diff to $@.
2448 (check-abi variable): Likewise.
2449 * elf/Makefile (check-abi): Update dependencies.
2450
ace614b8
JM
2451 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
2452 unused.
2453 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
2454 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
2455 subnormal range.
2456 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
2457 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
2458 value has largest subnormal exponent.
2459 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
2460 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
2461 * sysdeps/aarch64/soft-fp/sfp-machine.h
2462 (_FP_TININESS_AFTER_ROUNDING): New macro.
2463 * sysdeps/alpha/soft-fp/sfp-machine.h
2464 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2465 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2466 Likewise.
2467 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
2468 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2469 * sysdeps/mips/soft-fp/sfp-machine.h
2470 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2471 * sysdeps/powerpc/soft-fp/sfp-machine.h
2472 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2473 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2474 Likewise.
2475 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2476 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2477 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2478 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2479 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2480 Likewise.
2481
fbfdf9cb
DAS
24822014-02-12 Dylan Alex Simon <dylan@dylex.net>
2483
2484 [BZ #16545]
2485 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
2486 model 1.
2487
68b7efaa
RH
24882014-02-12 Richard Henderson <rth@redhat.com>
2489
c70a4b1d 2490 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
2491 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
2492 * sysdeps/unix/sysv/linux/alpha: Move directory from
2493 ports/sysdeps/unix/sysv/linux/alpha.
2494 * README: Update listing for alpha-*-linux-gnu.
2495
cb4a2928
JM
24962014-02-11 Joseph Myers <joseph@codesourcery.com>
2497
c941736c
JM
2498 * include/features.h: Update comment documenting feature test
2499 macros.
2500 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
2501 _DEFAULT_SOURCE.
2502 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
2503 (_SVID_SOURCE): Likewise.
2504 (_DEFAULT_SOURCE): Update description of default features.
2505 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
2506 with _GNU_SOURCE.
2507 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
2508 (S_ISVTX): Likewise.
2509 * manual/math.texi (Mathematical Constants): Likewise.
2510 * manual/signal.texi (Interrupted Primitives): Likewise.
2511 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
2512 * math/test-matherr.c (_SVID_SOURCE): Do not define.
2513 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
2514 Don't refer to _SVID_SOURCE in warning text.
2515
e8d8d7ec
JM
2516 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2517
cb4a2928
JM
2518 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
2519 already defined.
2520 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
2521 * sysdeps/mips/dl-lookup.c: Remove.
2522 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
2523
7e6424e3
AK
25242014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2525
2526 [BZ #16447]
2527 * math/auto-libm-test-in: Add testcase for expl.
2528 * math/auto-libm-test-out: Regenerate.
2529 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
2530 calculation of unsafe.
2531 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
2532
75eff3fe
MS
25332014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
2534
2535 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
2536 * sysdeps/unix/sysv/linux/aarch64: Move directory from
2537 ports/sysdeps/unix/sysv/linux/aarch64.
2538 * README: Update listing for aarch64*-*-linux-gnu.
2539
d35f1e80
WN
25402014-02-11 Will Newton <will.newton@linaro.org>
2541
2542 * manual/probes.texi (Mathematical Function Probes): Use
2543 "triggered" instead of "hit".
2544
7b3436d4
WN
25452014-02-11 Will Newton <will.newton@linaro.org>
2546
2547 * manual/probes.texi (Internal Probes): Add documentation
2548 of setjmp, longjmp and longjmp_target probes.
2549
b4f12ca3
WN
25502014-02-11 Will Newton <will.newton@linaro.org>
2551
2552 * include/stap-probe.h: Add comment about probe argument
2553 format.
2554
c13a72b7
WN
25552014-02-11 Will Newton <will.newton@linaro.org>
2556
2557 * malloc/mtrace.c (attribute_hidden): Remove unused macro
2558 definition. (tr_where, tr_freehook, tr_mallochook,
2559 tr_reallochook, tr_memalignhook): Use ANSI protoype.
2560
195b8165
DM
25612014-02-11 David S. Miller <davem@davemloft.net>
2562
2563 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
2564 processing int_tests.
2565
2ad7600b
JM
25662014-02-10 Joseph Myers <joseph@codesourcery.com>
2567
2568 * sysdeps/mips: Move directory from ports/sysdeps/mips.
2569 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
2570 * sysdeps/unix/sysv/linux/mips: Move directory from
2571 ports/sysdeps/unix/sysv/linux/mips.
2572 * README: Update listing for mips-*-linux-gnu and
2573 mips64-*-linux-gnu.
2574
73588a72
AS
25752014-02-10 Andreas Schwab <schwab@linux-m68k.org>
2576
2577 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
2578 * sysdeps/unix/sysv/linux/m68k: Move directory from
2579 ports/sysdeps/unix/sysv/linux/m68k.
2580 * README: Update listing for m68k-*-linux-gnu.
2581
4372980f
CM
25822014-02-10 Chris Metcalf <cmetcalf@tilera.com>
2583
2584 * sysdeps/tile: Move directory from ports/sysdeps/tile.
2585 * sysdeps/unix/sysv/linux/generic: Move directory from
2586 ports/sysdeps/unix/sysv/linux/generic.
2587 * sysdeps/unix/sysv/linux/tile: Move directory from
2588 ports/sysdeps/unix/sysv/linux/tile.
2589 * README: Update listing for tile*-*-linux-gnu.
2590
a1ffb40e
OB
25912014-02-10 Ondřej Bílka <neleai@seznam.cz>
2592
2593 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
2594 * benchtests/bench-memmem.c (simple_memmem): Likewise.
2595 * catgets/open_catalog.c (__open_catalog): Likewise.
2596 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
2597 * debug/confstr_chk.c: Likewise.
2598 * debug/fread_chk.c (__fread_chk): Likewise.
2599 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
2600 * debug/getgroups_chk.c: Likewise.
2601 * debug/mbsnrtowcs_chk.c: Likewise.
2602 * debug/mbsrtowcs_chk.c: Likewise.
2603 * debug/mbstowcs_chk.c: Likewise.
2604 * debug/memcpy_chk.c: Likewise.
2605 * debug/memmove_chk.c: Likewise.
2606 * debug/mempcpy_chk.c: Likewise.
2607 * debug/memset_chk.c: Likewise.
2608 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2609 * debug/strcat_chk.c (__strcat_chk): Likewise.
2610 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
2611 * debug/strncat_chk.c (__strncat_chk): Likewise.
2612 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
2613 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
2614 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
2615 * debug/wcpncpy_chk.c: Likewise.
2616 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2617 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
2618 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
2619 * debug/wcsncpy_chk.c: Likewise.
2620 * debug/wcsnrtombs_chk.c: Likewise.
2621 * debug/wcsrtombs_chk.c: Likewise.
2622 * debug/wcstombs_chk.c: Likewise.
2623 * debug/wmemcpy_chk.c: Likewise.
2624 * debug/wmemmove_chk.c: Likewise.
2625 * debug/wmempcpy_chk.c: Likewise.
2626 * debug/wmemset_chk.c: Likewise.
2627 * dirent/scandirat.c (SCANDIRAT): Likewise.
2628 * dlfcn/dladdr1.c (dladdr1): Likewise.
2629 * dlfcn/dladdr.c (dladdr): Likewise.
2630 * dlfcn/dlclose.c (dlclose_doit): Likewise.
2631 * dlfcn/dlerror.c (__dlerror): Likewise.
2632 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
2633 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
2634 * dlfcn/dlopen.c (dlopen_doit): Likewise.
2635 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
2636 * dlfcn/dlsym.c (dlsym_doit): Likewise.
2637 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
2638 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
2639 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
2640 Likewise.
2641 * elf/dl-conflict.c: Likewise.
2642 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
2643 * elf/dl-dst.h: Likewise.
2644 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
2645 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
2646 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
2647 * elf/dl-init.c (call_init, _dl_init): Likewise.
2648 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
2649 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
2650 _dl_map_object_from_fd, open_verify, open_path,
2651 _dl_map_object): Likewise.
2652 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
2653 Likewise.
2654 * elf/dl-minimal.c (__libc_memalign): Likewise.
2655 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
2656 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2657 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
2658 * elf/dl-sym.c (do_sym): Likewise.
2659 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
2660 _dl_tls_get_addr_soft): Likewise.
2661 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
2662 * elf/dl-writev.h (_dl_writev): Likewise.
2663 * elf/ldconfig.c (search_dir): Likewise.
2664 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
2665 dl_main): Likewise.
2666 * elf/setup-vdso.h (setup_vdso): Likewise.
2667 * grp/compat-initgroups.c (compat_call): Likewise.
2668 * grp/fgetgrent.c (fgetgrent): Likewise.
2669 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
2670 * grp/putgrent.c (putgrent): Likewise.
2671 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2672 Likewise.
2673 * hurd/hurdinit.c: Likewise.
2674 * iconvdata/8bit-gap.c (struct): Likewise.
2675 * iconvdata/ansi_x3.110.c : Likewise.
2676 * iconvdata/big5.c : Likewise.
2677 * iconvdata/big5hkscs.c : Likewise.
2678 * iconvdata/cp1255.c: Likewise.
2679 * iconvdata/cp1258.c : Likewise.
2680 * iconvdata/cp932.c : Likewise.
2681 * iconvdata/euc-cn.c: Likewise.
2682 * iconvdata/euc-jisx0213.c : Likewise.
2683 * iconvdata/euc-jp.c: Likewise.
2684 * iconvdata/euc-jp-ms.c : Likewise.
2685 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
2686 * iconvdata/gb18030.c : Likewise.
2687 * iconvdata/gbbig5.c (const): Likewise.
2688 * iconvdata/gbgbk.c: Likewise.
2689 * iconvdata/gbk.c : Likewise.
2690 * iconvdata/ibm1364.c : Likewise.
2691 * iconvdata/ibm930.c : Likewise.
2692 * iconvdata/ibm932.c: Likewise.
2693 * iconvdata/ibm933.c : Likewise.
2694 * iconvdata/ibm935.c : Likewise.
2695 * iconvdata/ibm937.c : Likewise.
2696 * iconvdata/ibm939.c : Likewise.
2697 * iconvdata/ibm943.c: Likewise.
2698 * iconvdata/iso_11548-1.c: Likewise.
2699 * iconvdata/iso-2022-cn.c : Likewise.
2700 * iconvdata/iso-2022-cn-ext.c : Likewise.
2701 * iconvdata/iso-2022-jp-3.c: Likewise.
2702 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
2703 * iconvdata/iso-2022-kr.c : Likewise.
2704 * iconvdata/iso646.c (gconv_end): Likewise.
2705 * iconvdata/iso_6937-2.c : Likewise.
2706 * iconvdata/iso_6937.c : Likewise.
2707 * iconvdata/iso8859-1.c: Likewise.
2708 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
2709 * iconvdata/shift_jisx0213.c : Likewise.
2710 * iconvdata/sjis.c : Likewise.
2711 * iconvdata/t.61.c : Likewise.
2712 * iconvdata/tcvn5712-1.c : Likewise.
2713 * iconvdata/tscii.c: Likewise.
2714 * iconvdata/uhc.c : Likewise.
2715 * iconvdata/unicode.c (gconv_end): Likewise.
2716 * iconvdata/utf-16.c (gconv_end): Likewise.
2717 * iconvdata/utf-32.c (gconv_end): Likewise.
2718 * iconvdata/utf-7.c (base64): Likewise.
2719 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
2720 * iconv/gconv_close.c (__gconv_close): Likewise.
2721 * iconv/gconv_open.c (__gconv_open): Likewise.
2722 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
2723 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
2724 internal_ucs4le_loop_single, ucs4le_internal_loop,
2725 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
2726 * iconv/iconv.c (iconv): Likewise.
2727 * iconv/iconv_close.c: Likewise.
2728 * iconv/loop.c (SINGLE): Likewise.
2729 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
2730 * include/atomic.h: Likewise.
2731 * inet/inet6_option.c (option_alloc): Likewise.
2732 * intl/bindtextdom.c (set_binding_values): Likewise.
2733 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
2734 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
2735 * intl/localealias.c (read_alias_file): Likewise.
2736 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2737 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
2738 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
2739 * libio/fmemopen.c (fmemopen): Likewise.
2740 * libio/iofgets.c (_IO_fgets): Likewise.
2741 * libio/iofgets_u.c (fgets_unlocked): Likewise.
2742 * libio/iofgetws.c (fgetws): Likewise.
2743 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
2744 * libio/iogetdelim.c (_IO_getdelim): Likewise.
2745 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
2746 adjust_wide_data, _IO_wfile_seekoff): Likewise.
2747 * locale/findlocale.c (_nl_find_locale): Likewise.
2748 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2749 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
2750 Likewise.
2751 * locale/setlocale.c (setlocale): Likewise.
2752 * login/programs/pt_chown.c (main): Likewise.
2753 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
2754 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
2755 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
2756 mmap, mmap64, mremap, munmap): Likewise.
2757 * math/e_exp2l.c: Likewise.
2758 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
2759 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
2760 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
2761 * math/s_catan.c (__catan): Likewise.
2762 * math/s_catanf.c (__catanf): Likewise.
2763 * math/s_catanh.c (__catanh): Likewise.
2764 * math/s_catanhf.c (__catanhf): Likewise.
2765 * math/s_catanhl.c (__catanhl): Likewise.
2766 * math/s_catanl.c (__catanl): Likewise.
2767 * math/s_ccosh.c (__ccosh): Likewise.
2768 * math/s_ccoshf.c (__ccoshf): Likewise.
2769 * math/s_ccoshl.c (__ccoshl): Likewise.
2770 * math/s_cexp.c (__cexp): Likewise.
2771 * math/s_cexpf.c (__cexpf): Likewise.
2772 * math/s_cexpl.c (__cexpl): Likewise.
2773 * math/s_clog10.c (__clog10): Likewise.
2774 * math/s_clog10f.c (__clog10f): Likewise.
2775 * math/s_clog10l.c (__clog10l): Likewise.
2776 * math/s_clog.c (__clog): Likewise.
2777 * math/s_clogf.c (__clogf): Likewise.
2778 * math/s_clogl.c (__clogl): Likewise.
2779 * math/s_csin.c (__csin): Likewise.
2780 * math/s_csinf.c (__csinf): Likewise.
2781 * math/s_csinh.c (__csinh): Likewise.
2782 * math/s_csinhf.c (__csinhf): Likewise.
2783 * math/s_csinhl.c (__csinhl): Likewise.
2784 * math/s_csinl.c (__csinl): Likewise.
2785 * math/s_csqrt.c (__csqrt): Likewise.
2786 * math/s_csqrtf.c (__csqrtf): Likewise.
2787 * math/s_csqrtl.c (__csqrtl): Likewise.
2788 * math/s_ctan.c (__ctan): Likewise.
2789 * math/s_ctanf.c (__ctanf): Likewise.
2790 * math/s_ctanh.c (__ctanh): Likewise.
2791 * math/s_ctanhf.c (__ctanhf): Likewise.
2792 * math/s_ctanhl.c (__ctanhl): Likewise.
2793 * math/s_ctanl.c (__ctanl): Likewise.
2794 * math/w_pow.c: Likewise.
2795 * math/w_powf.c: Likewise.
2796 * math/w_powl.c: Likewise.
2797 * math/w_scalb.c (sysv_scalb): Likewise.
2798 * math/w_scalbf.c (sysv_scalbf): Likewise.
2799 * math/w_scalbl.c (sysv_scalbl): Likewise.
2800 * misc/error.c (error_tail): Likewise.
2801 * misc/pselect.c (__pselect): Likewise.
2802 * nis/nis_callback.c (__nis_create_callback): Likewise.
2803 * nis/nis_call.c (__nisfind_server): Likewise.
2804 * nis/nis_creategroup.c (nis_creategroup): Likewise.
2805 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
2806 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2807 * nis/nis_getservlist.c (nis_getservlist): Likewise.
2808 * nis/nis_lookup.c (nis_lookup): Likewise.
2809 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
2810 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
2811 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
2812 * nis/nis_xdr.c (xdr_endpoint): Likewise.
2813 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
2814 internal_getgrgid_r): Likewise.
2815 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
2816 Likewise.
2817 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
2818 internal_getpwuid_r): Likewise.
2819 * nis/nss_compat/compat-spwd.c (getspent_next_file,
2820 internal_getspnam_r): Likewise.
2821 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
2822 _nss_nis_getaliasbyname_r): Likewise.
2823 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
2824 _nss_nis_getntohost_r): Likewise.
2825 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
2826 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
2827 Likewise.
2828 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
2829 internal_nis_gethostent_r, internal_gethostbyname2_r,
2830 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
2831 _nss_nis_gethostbyname4_r): Likewise.
2832 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
2833 initgroups_netid): Likewise.
2834 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
2835 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
2836 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
2837 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
2838 _nss_nis_getprotobynumber_r): Likewise.
2839 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
2840 _nss_nis_getsecretkey): Likewise.
2841 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
2842 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
2843 Likewise.
2844 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
2845 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
2846 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
2847 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
2848 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
2849 _nss_nis_getspnam_r): Likewise.
2850 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
2851 Likewise.
2852 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
2853 _nss_nisplus_getntohost_r): Likewise.
2854 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
2855 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
2856 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
2857 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
2858 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
2859 Likewise.
2860 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
2861 _nss_nisplus_getnetbyaddr_r): Likewise.
2862 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
2863 _nss_nisplus_getprotobynumber_r): Likewise.
2864 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
2865 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
2866 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
2867 Likewise.
2868 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
2869 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
2870 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
2871 _nss_nisplus_getspnam_r): Likewise.
2872 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
2873 * nscd/aicache.c (addhstaiX): Likewise.
2874 * nscd/cache.c (cache_search, prune_cache): Likewise.
2875 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
2876 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
2877 * nscd/grpcache.c (addgrbyX): Likewise.
2878 * nscd/hstcache.c (addhstbyX): Likewise.
2879 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2880 * nscd/mem.c (gc, mempool_alloc): Likewise.
2881 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
2882 Likewise.
2883 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
2884 Likewise.
2885 * nscd/nscd_getai.c (__nscd_getai): Likewise.
2886 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2887 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
2888 Likewise.
2889 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
2890 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
2891 * nscd/nscd_helper.c (__readvall, open_socket,
2892 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
2893 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
2894 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
2895 * nscd/pwdcache.c (addpwbyX): Likewise.
2896 * nscd/selinux.c (preserve_capabilities): Likewise.
2897 * nscd/servicescache.c (addservbyX): Likewise.
2898 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
2899 * posix/fnmatch.c (fnmatch): Likewise.
2900 * posix/getopt.c (_getopt_internal_r): Likewise.
2901 * posix/glob.c (glob, glob_in_dir): Likewise.
2902 * posix/wordexp.c (exec_comm_child): Likewise.
2903 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
2904 gaih_getanswer_slice): Likewise.
2905 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
2906 * resolv/res_init.c: Likewise.
2907 * resolv/res_mkquery.c (res_nmkquery): Likewise.
2908 * resolv/res_query.c (__libc_res_nquery): Likewise.
2909 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
2910 Likewise.
2911 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
2912 * stdio-common/perror.c (perror): Likewise.
2913 * stdio-common/printf_fp.c (___printf_fp): Likewise.
2914 * stdio-common/tmpnam.c (tmpnam): Likewise.
2915 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2916 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
2917 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
2918 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
2919 * stdlib/putenv.c (putenv): Likewise.
2920 * stdlib/setenv.c (__add_to_environ): Likewise.
2921 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2922 * stdlib/strtol_l.c (INTERNAL): Likewise.
2923 * string/memmem.c (memmem): Likewise.
2924 * string/strerror.c (strerror): Likewise.
2925 * string/strnlen.c (__strnlen): Likewise.
2926 * string/test-memmem.c (simple_memmem): Likewise.
2927 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
2928 * sunrpc/pm_getport.c (__get_socket): Likewise.
2929 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
2930 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
2931 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
2932 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
2933 Likewise.
2934 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
2935 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
2936 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
2937 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
2938 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
2939 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
2940 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
2941 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
2942 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2943 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2944 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
2945 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
2946 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
2947 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2948 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
2949 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
2950 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
2951 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2952 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
2953 Likewise.
2954 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
2955 Likewise.
2956 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
2957 Likewise.
2958 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
2959 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2960 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
2961 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
2962 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
2963 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
2964 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2965 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
2966 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
2967 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
2968 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
2969 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2970 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2971 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
2972 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2973 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
2974 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
2975 Likewise.
2976 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
2977 Likewise.
2978 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
2979 Likewise.
2980 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2981 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2982 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
2983 Likewise.
2984 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
2985 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
2986 * sysdeps/posix/opendir.c (__opendirat): Likewise.
2987 * sysdeps/posix/sleep.c: Likewise.
2988 * sysdeps/posix/tempname.c: Likewise.
2989 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
2990 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2991 Likewise.
2992 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
2993 elf_machine_rela): Likewise.
2994 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2995 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2996 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
2997 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
2998 Likewise.
2999 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3000 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3001 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3002 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3003 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3004 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3005 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3006 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3007 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3008 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3009 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3010 elf_machine_lazy_rel): Likewise.
3011 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3012 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3013 elf_machine_lazy_rel): Likewise.
3014 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3015 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3016 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3017 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3018 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3019 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3020 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3021 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3022 Likewise.
3023 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3024 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3025 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3026 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3027 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3028 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3029 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3030 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3031 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3032 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3033 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3034 Likewise.
3035 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3036 (__posix_fallocate64_l64): Likewise.
3037 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3038 (posix_fallocate): Likewise.
3039 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3040 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3041 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3042 getifaddrs_internal): Likewise.
3043 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3044 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3045 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3046 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3047 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3048 (__posix_fallocate64_l64): Likewise.
3049 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3050 Likewise.
3051 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3052 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3053 Likewise.
3054 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3055 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3056 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3057 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3058 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3059 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3060 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3061 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3062 Likewise.
3063 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3064 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3065 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3066 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3067 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3068 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3069 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3070 Likewise.
3071 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3072 (posix_fallocate): Likewise.
3073 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3074 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3075 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3076 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3077 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3078 Likewise.
3079 * time/asctime.c (asctime_internal): Likewise.
3080 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3081 * time/tzset.c (__tzset_parse_tz): Likewise.
3082 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3083 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3084 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3085 * wcsmbs/wcsmbsload.h: Likewise.
3086
f3d338c9
OB
30872014-02-10 Ondřej Bílka <neleai@seznam.cz>
3088
3089 [BZ #15894]
3090 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3091
bdfe308a
OB
30922014-02-10 Ondřej Bílka <neleai@seznam.cz>
3093
3094 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3095 arena_get2): Remove THREAD_STATS conditionals.
3096 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3097 __malloc_stats, int): Likewise.
3098
d674667c
MF
30992014-02-08 Mike Frysinger <vapier@gentoo.org>
3100
3101 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3102 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
3103
6349768c
MF
31042014-02-08 Mike Frysinger <vapier@gentoo.org>
3105
3106 * manual/setjmp.texi: Fix typos/grammar errors.
3107
0b7c7473
MF
31082014-02-08 Mike Frysinger <vapier@gentoo.org>
3109
3110 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3111 Only return early when n is <= 0. Delete unused return statement.
3112
ac8cc9e3
MF
31132014-02-08 Mike Frysinger <vapier@gentoo.org>
3114
3115 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3116 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3117 * debug/tst-longjmp_chk3.c: New file.
3118
c5bb8e23
MF
31192014-02-08 Mike Frysinger <vapier@gentoo.org>
3120
3121 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3122 (test_main): Replace code with set_fortify_handler call.
3123 * debug/test-strcpy_chk.c: Likewise.
3124 * debug/tst-chk1.c: Likewise.
3125 * debug/tst-longjmp_chk.c: Likewise.
3126 * test-skeleton.c: Include fcntl.h & paths.h
3127 (set_fortify_handler): Define.
3128
10444e42
MF
31292014-02-08 Mike Frysinger <vapier@gentoo.org>
3130
3131 * debug/tst-longjmp_chk.c: Add header comment and include
3132 ../test-skeleton.c.
3133 (do_test): Mark static.
3134 (TEST_FUNCTION): Define.
3135
1e805e8d
MF
31362014-02-08 Mike Frysinger <vapier@gentoo.org>
3137
3138 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3139 (IP_PMTUDISC_INTERFACE): Likewise.
3140 (IP_MULTICAST_IF): Likewise.
3141 (IP_MULTICAST_TTL): Likewise.
3142 (IP_MULTICAST_LOOP): Likewise.
3143 (IP_ADD_MEMBERSHIP): Likewise.
3144 (IP_DROP_MEMBERSHIP): Likewise.
3145 (IP_UNBLOCK_SOURCE): Likewise.
3146 (IP_BLOCK_SOURCE): Likewise.
3147 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3148 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3149 (IP_MSFILTER): Likewise.
3150 (MCAST_JOIN_GROUP): Likewise.
3151 (MCAST_BLOCK_SOURCE): Likewise.
3152 (MCAST_UNBLOCK_SOURCE): Likewise.
3153 (MCAST_LEAVE_GROUP): Likewise.
3154 (MCAST_JOIN_SOURCE_GROUP): Likewise.
3155 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3156 (MCAST_MSFILTER): Likewise.
3157 (IP_MULTICAST_ALL): Likewise.
3158 (IP_UNICAST_IF): Likewise.
3159
73f79bb7
MF
31602014-02-08 Mike Frysinger <vapier@gentoo.org>
3161
3162 * timezone/Makefile: Delete $(have-ksh) check.
3163 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3164 * timezone/tzselect.ksh: Add +x mode bits.
3165
8da79b60
MF
31662014-02-08 Mike Frysinger <vapier@gentoo.org>
3167
3168 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3169 (ANON_INODE_FS_MAGIC): Likewise.
3170 (BDEVFS_MAGIC): Likewise.
3171 (BINFMTFS_MAGIC): Likewise.
3172 (BTRFS_TEST_MAGIC): Likewise.
3173 (CRAMFS_MAGIC_WEND): Likewise.
3174 (DEBUGFS_MAGIC): Likewise.
3175 (ECRYPTFS_SUPER_MAGIC): Likewise.
3176 (EXT3_SUPER_MAGIC): Likewise.
3177 (EXT4_SUPER_MAGIC): Likewise.
3178 (FUTEXFS_SUPER_MAGIC): Likewise.
3179 (HOSTFS_SUPER_MAGIC): Likewise.
3180 (HUGETLBFS_MAGIC): Likewise.
3181 (MINIX3_SUPER_MAGIC): Likewise.
3182 (MTD_INODE_FS_MAGIC): Likewise.
3183 (NILFS_SUPER_MAGIC): Likewise.
3184 (OPENPROM_SUPER_MAGIC): Likewise.
3185 (PIPEFS_MAGIC): Likewise.
3186 (PSTOREFS_MAGIC): Likewise.
3187 (QNX6_SUPER_MAGIC): Likewise.
3188 (RAMFS_MAGIC): Likewise.
3189 (REISERFS_SUPER_MAGIC_STRING): Likewise.
3190 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3191 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3192 (SECURITYFS_MAGIC): Likewise.
3193 (SELINUX_MAGIC): Likewise.
3194 (SMACK_MAGIC): Likewise.
3195 (SOCKFS_MAGIC): Likewise.
3196 (SQUASHFS_MAGIC): Likewise.
3197 (STACK_END_MAGIC): Likewise.
3198 (TMPFS_MAGIC): Likewise.
3199 (USBDEVICE_SUPER_MAGIC): Likewise.
3200 (V9FS_MAGIC): Likewise.
3201 (XENFS_SUPER_MAGIC): Likewise.
3202 (CRAMFS_MAGIC): Fix typo in comment.
3203 (EXT2_SUPER_MAGIC): Update comment.
3204 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3205
464263cc
JM
32062014-02-08 Joseph Myers <joseph@codesourcery.com>
3207
c6bfe5c4
JM
3208 * sysdeps/arm: Move directory from ports/sysdeps/arm.
3209 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3210 * sysdeps/unix/sysv/linux/arm: Move directory from
3211 ports/sysdeps/unix/sysv/linux/arm.
3212 * README: Update listing for arm-*-linux-gnueabi.
3213
464263cc
JM
3214 * README: Remove mention of am33.
3215
32749f6c
RM
32162014-02-07 Roland McGrath <roland@hack.frob.com>
3217
3218 * bits/sigset.h (__sigemptyset): Use a statement expression rather
3219 than the comma operator, to avoid "rhs of comma has no effect"
3220 compiler warnings.
3221 (__sigfillset, __sigandset, __sigorset): Likewise.
3222 * include/signal.h (__sigemptyset): Likewise.
3223 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3224
d5b396c1
AM
32252014-02-07 Allan McRae <allan@archlinux.org>
3226
3227 * version.h (RELEASE): Set to "development".
3228 (VERSION): Set to "2.19.90"
3229 * NEWS: Add 2.20 section.
3230
3bfff2ed
CD
32312014-02-06 Carlos O'Donell <carlos@redhat.com>
3232
3233 [BZ #16529]
3234 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3235
ee7cc385
SP
32362014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3237
3238 * manual/contrib.texi: Update entry for Carlos O'Donell,
3239 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3240
f877c4f2
CD
32412014-02-05 Carlos O'Donell <carlos@rehdat.com>
3242
27e839f6
CD
3243 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3244
f877c4f2
CD
3245 * sysdeps/unix/sysv/linux/kernel-features.h
3246 [__LINUX_KERNEL_VERSION >= 0x020621]
3247 (__ASSUME_PROC_PID_TASK_COMM): Define.
3248
68159946
SP
32492014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3250
ba17cdbd
SP
3251 [BZ #16398]
3252 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3253 conversion when destination buffer does not have enough space.
3254 * libio/tst-ftell-partial-wide.c: New test case.
3255 * libio/Makefile (tests): Add tst-ftell-partial-wide.
3256
68159946
SP
3257 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3258 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
3259 Leonard and Allan McRae.
3260
2b528732
DM
32612014-02-04 David S. Miller <davem@davemloft.net>
3262
3263 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3264 32-bit.
3265
0ff82463
AZ
32662014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3267
c01603f7
AZ
3268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3269 file
3270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3271 New file
3272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3273 file.
3274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3275 file.
3276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3277 New file.
3278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3279 file.
3280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3281 file.
3282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3283 New file.
3284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3285 New file.
3286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3287 New file.
3288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3289 New file.
3290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3291 New file.
3292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3293 New file.
3294
32952014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3296
0ff82463
AZ
3297 * nptl/shlib-versions: Change powerpc*le start to 2.17.
3298 * shlib-versions: Likewise.
3299
1695c773
AZ
33002014-02-04 Roland McGrath <roland@hack.frob.com>
3301 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3302
3303 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3304 (abilist-pattern): New variable, set to %-le.abilist.
3305
3306 * Makerules (abilist-pattern): New variable.
3307 (vpath): Use $(abilist-pattern) in place of %.abilist.
3308 (check-abi-% pattern rule): Likewise.
3309 (check-abi, update-abi): Likewise.
3310
6c0ce4b4
EW
33112014-02-04 Eric Wong <normalperson@yhbt.net>
3312
3313 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3314
dc98b8f5
EW
33152014-02-04 Eric Wong <normalperson@yhbt.net>
3316
3317 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3318
481e3524
CD
33192014-02-03 Carlos O'Donell <carlos@redhat.com>
3320
3321 * manual/startup.texi: Add next, previous, and top entries for
3322 the `Program Arguments' and `Environment Variables' nodes.
3323
375592d3
AO
33242014-02-03 Alexandre Oliva <aoliva@redhat.com>
3325
3326 * manual/macros.texi: Add comments before MTASC-safety macros.
3327
f54838ba
AO
3328 * manual/users.texi: Document MTASC-safety properties.
3329
909e12ad
AO
3330 * manual/threads.texi (pthread_key_create, pthread_key_delete,
3331 pthread_getspecific, pthread_setspecific): Format with
3332 @deftypefun, and add @safety note.
3333 * manual/signal.texi: Move comments that analyze the above
3334 functions to their home place.
3335
fd3daba4
AM
33362014-02-03 Allan McRae <allan@archlinux.org>
3337
3338 * po/sl.po: Update Slovenian translation from translation project.
3339
597636d7
AO
33402014-02-02 Alexandre Oliva <aoliva@redhat.com>
3341
3342 * manual/time.texi (timegm): Add missing blank after @c.
3343 Reported by Joseph Myers <joseph@codesourcery.com>.
3344
ee196e3c
AO
33452014-02-01 Alexandre Oliva <aoliva@redhat.com>
3346
3347 * manual/check-safety.sh: New.
3348 * manual/Makefile ($(objpfx)stamp-summary): Run it.
3349
f8d529d5
AO
3350 * manual/terminal.texi: Document MTASC-safety properties.
3351
de55fdf4
AO
3352 * manual/filesys.texi: Document MTASC-safety properties.
3353
c3299c08
AO
3354 * manual/errno.texi: Document MTASC-safety properties.
3355
06e90b14
AO
3356 * manual/intro.texi: Document safety identifiers and
3357 conditionals.
3358
1acd4371
AO
3359 * manual/string.texi (wcstok): Fix prototype.
3360 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
3361
23e5b8cb
AO
3362 * manual/time.texi: Document MTASC-safety properties.
3363
11087373
AO
3364 * manual/string.texi: Document MTASC-safety properties.
3365
5da2c93d
AO
3366 * manual/threads.texi: Document MTASC-safety properties.
3367
171e9210
AO
3368 * manual/stdio.texi: Document MTASC-safety properties.
3369
d9e02532
AO
3370 * manual/syslog.texi: Document MTASC-safety properties.
3371
6af8bab7
AO
3372 * manual/sysinfo.texi: Document MTASC-safety properties.
3373
663b02d7
AO
3374 * manual/startup.texi: Document MTASC-safety properties.
3375
973f180b
AO
3376 * manual/socket.texi: Document MTASC-safety properties.
3377
8f3c25c8
AO
3378 * manual/signal.texi: Document MTASC-safety properties.
3379
542210fb
AO
33802014-01-31 Alexandre Oliva <aoliva@redhat.com>
3381
3382 * manual/setjmp.texi: Document MTASC-safety properties.
3383
433c45a2
AO
3384 * manual/search.texi: Document MTASC-safety properties.
3385
c8ce789c
AO
3386 * manual/resource.texi: Document MTASC-safety properties.
3387
19f5d29c
AO
3388 * manual/process.texi: Document MTASC-safety properties.
3389
e2dfb7f4
AO
3390 * manual/platform.texi: Document MTASC-safety properties.
3391
8c1413f5
AO
3392 * manual/pipe.texi: Document MTASC-safety properties.
3393
03483ada
AO
3394 * manual/pattern.texi: Document MTASC-safety properties.
3395
29e7e2df
AO
3396 * manual/message.texi: Document MTASC-safety properties.
3397
9f529d7c
AO
3398 [BZ #12751]
3399 * manual/memory.texi: Document MTASC-safety properties.
3400
27aaa791
AO
3401 * manual/math.texi: Document MTASC-safety properties.
3402
f2d58726
AO
3403 * manual/locale.texi: Document MTASC-safety properties.
3404
2cc3615c
AO
3405 * manual/llio.texi: Document MTASC-safety properties.
3406
d9f0ec97
AO
3407 * manual/libdl.texi: New.
3408
e7c4409a
AO
3409 * manual/lang.texi: Document MTASC-safety properties.
3410
27bdc63c
AO
3411 * manual/job.texi: Document MTASC-safety properties.
3412
a7b90ea9
AO
3413 * manual/getopt.texi: Document MTASC-safety properties.
3414
c49130e3
AO
3415 * manual/ctype.texi: Document MTASC-safety properties.
3416
0d23a5c1
MR
34172014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
3418
3419 [BZ #16046]
3420 * csu/libc-tls.c (static_map): Remove variable.
3421 (__libc_setup_tls): Use main executable's link map for TLS data.
3422 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
3423 casing for LM_ID_BASE and GL(dl_nns).
3424 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
3425 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
3426 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
3427 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
3428 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
3429 member.
3430 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
3431 l_phnum members.
3432
0037bb60
AO
34332014-01-30 Alexandre Oliva <aoliva@redhat.com>
3434
3435 * manual/debug.texi: Document MTASC-safety properties.
3436
409e00bd
L
34372014-01-29 H.J. Lu <hongjiu.lu@intel.com>
3438
3439 [BZ #16510]
3440 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
3441 of __x86_64__ when disabling x87 inline functions.
3442
86e60666
AO
34432014-01-29 Alexandre Oliva <aoliva@redhat.com>
3444
3445 * manual/charset.texi: Document MTASC-safety properties.
3446
76167637
AO
3447 * manual/crypt.texi: Document MTASC-safety properties.
3448
e567f2a0
AO
3449 * manual/conf.texi: Document MTASC-safety properties.
3450
b719dafd
AO
3451 * manual/arith.texi: Document MTASC-safety properties.
3452
4a16c662
AO
3453 * manual/argp.texi: Document MTASC-safety properties.
3454
0a57b83e
AO
3455 * manual/macros.texi: Introduce macros to document multi
3456 thread, asynchronous signal and asynchronous cancellation
3457 safety properties.
3458 * manual/intro.texi: Introduce the properties themselves.
3459
feab2397
KK
34602014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3461
3462 * sysdeps/sh/sh4/Makefile: New file.
3463
1c0d11bc
AS
34642014-01-27 Andreas Schwab <schwab@linux-m68k.org>
3465
3466 * math/gen-libm-test.pl ($srcdir): New variable.
3467 ($auto_input): Use it.
3468
af37a8a3
SP
34692014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3470
d7b00f98
SP
3471 [BZ #16506]
3472 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
3473 access beyond array bounds when parsing netgroups file.
3474
af37a8a3
SP
3475 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
3476 the old buffer before realloc.
3477
0c00f062
AM
34782014-01-27 Allan McRae <allan@archlinux.org>
3479
3480 * po/fr.po: Update French translation from translation project.
3481
7d69a1b0
KK
34822014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3483
3484 * sysdeps/sh/libm-test-ulps: Regenerate.
3485
6e697ff7
DM
34862014-01-24 David S. Miller <davem@davemloft.net>
3487
3488 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
3489
9cadb35c
KK
34902014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3491
3492 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
3493 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
3494
5d41dadf
SP
34952013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3496
3497 [BZ #16474]
3498 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
3499 string pointers after reallocation.
3500
0bad441c
KK
35012014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3502
3503 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
3504 __SH4A__ instead of __SH_FPU_ANY__.
3505
7007c661
KK
35062014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3507
3508 * sysdeps/sh/fpu_control.h: New file.
3509 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
3510 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
3511 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
3512 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
3513 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
3514 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
3515 * sysdeps/sh/sys/ucontext.h: Remove.
3516 * sysdeps/sh/sys: Remove directory.
3517
0f0c35e4
AK
35182014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3519
3520 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
3521 s390/sys/ucontext.h.
3522 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3523 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
3524
4959e284
L
35252014-01-20 H.J. Lu <hongjiu.lu@intel.com>
3526
3527 [BZ #15605]
3528 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
3529
d98720e0
AZ
35302014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3531
3532 [BZ#16431]
3533 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3534 Adjust the vDSO correctly for internal calls.
3535 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
3536
91cbd0bc
AM
35372014-01-20 Allan McRae <allan@archlinux.org>
3538
3539 * po/ca.po: Update Catalan translation from translation project.
3540
7a02cfad
MF
35412014-01-16 Mike Frysinger <vapier@gentoo.org>
3542
3543 * sysdeps/s390/sotruss-lib.c: New file.
3544
736c304a
AZ
35452014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3546
3547 [BZ#16430]
6e077ee5 3548 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
3549 (__GI___gettimeofday): Alias for a different internal symbol to avoid
3550 local calls issues by not having a PLT stub required for IFUNC calls.
3551 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
3552
94d0cea0
JM
35532014-01-16 Joseph Myers <joseph@codesourcery.com>
3554
3555 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
3556 * math/test-fpucw-static.c: Likewise.
3557
980cb518
SP
35582013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3559
3560 [BZ #16453]
3561 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
3562
2393fc01
AZ
35632014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3564
3565 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
3566 implementation for powerpc.
3567
d359bcc2
OB
35682014-01-15 Ondřej Bílka <neleai@seznam.cz>
3569
3570 [BZ #14782]
3571 * sysdeps/posix/system.c (__libc_system): Do not enable
3572 asynchronous cancellation.
3573
7beb48cb
AK
35742014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3575
3576 [BZ #16427]
3577 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
3578 handling only for numbers special also in the IEEE case.
3579
c20d5bf5
AK
35802014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3581
3582 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3583
e83bd4ee
AM
35842014-01-11 Allan McRae <allan@archlinux.org>
3585
76d0ea69
AM
3586 * po/bg.po: Update Bulgarian translation from translation project.
3587
e83bd4ee
AM
3588 * po/de.po: Update German translation from translation project.
3589
bc2ba20a
RM
35902014-01-10 Roland McGrath <roland@hack.frob.com>
3591
3592 * sysdeps/generic/gcc-compat.h: New file.
3593
649ecea2
SP
35942014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3595
3596 * benchtests/asin-inputs: Correct slow inputs.
3597 * benchtests/acos-inputs: Likewise.
3598
1b19c006
AM
35992014-01-10 Allan McRae <allan@archlinux.org>
3600
a46dab08
AM
3601 * po:sv.po: Update Swedish translation from translation project.
3602
421df74a
AM
3603 * po/vi.po: Update Vietnamese translation from translation project.
3604
d61c51a7
AM
3605 * po/eo.po: Update Esperanto translation from translation project.
3606
0339a319
AM
3607 * po/cs.po: Update Czech translation from translation project.
3608
94ad3e99
AM
3609 * po/nl.po: Update Dutch translation from translation project.
3610
e349ca71
AM
3611 * po/pl.po: Update Polish translation from translation project.
3612
ddf930c1
AM
3613 * po/ru.po: Update Russian translation from translation project.
3614
1b19c006
AM
3615 * po/uk.po: Update Ukrainian translation from translation project.
3616
9f236c49
BM
36172014-01-08 Brooks Moses <bmoses@google.com>
3618
3619 * elf/dl-load.c: Fix comment typo.
3620
cd6701cf
CD
36212014-01-08 Carlos O'Donell <carlos@redhat.com>
3622
3623 * po/header.pot: Rename to...
3624 * po/pot.header: ... this.
3625 * po/Makefile: Use pot.header.
3626
66671c84
YK
36272014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
3628 Maxim Kuvyrkov <maxim@kugelworks.com>
3629
3630 [BZ #16394]
cd6701cf
CD
3631 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
3632 SRC and DEST against LEN.
66671c84 3633
38f34581
AZ
36342014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3635
3636 [BZ #16414]
3637 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
3638 implementation.
3639 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
3640
36412014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
3642
3643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3644
4c327f2a
JM
36452014-01-08 Joseph Myers <joseph@codesourcery.com>
3646
3647 [BZ #16408]
3648 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
3649 for large positive arguments.
3650
b821f414
JM
36512014-01-07 Joseph Myers <joseph@codesourcery.com>
3652
1f0f2067
JM
3653 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3654
a5a326f6
JM
3655 * math/auto-libm-test-in: Mark various tests with
3656 xfail-rounding:ldbl-128ibm.
3657 * math/auto-libm-test-out: Regenerated.
3658
b821f414
JM
3659 [BZ #16407]
3660 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3661 Increase overflow threshold.
3662
94c8a4bc
OB
36632014-01-07 Ondřej Bílka <neleai@seznam.cz>
3664
3665 [BZ #14286]
3666 * stdio-common/vfprintf.c: Check for integer overflow.
3667
87ded0c3
AK
36682014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3669
3670 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
3671 the first argument and return value of __tls_get_addr_internal.
3672
c5eebdd0
AK
36732014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3674
3675 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
3676 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
3677
05d138ef
AK
36782014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3679
3680 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
3681 * sysdeps/s390/rtld-global-offsets.sym: New file.
3682 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
3683 GLIBC_2.19 symbol.
3684 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
3685 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
3686 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3687 ... this.
3688 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
3689 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3690 ... this.
3691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3692 Regenerate.
3693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3694 Regenerate.
3695 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
3696 halfs of GPRs for high_gprs contexts.
3697 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
3698 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
3699 field.
3700 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
3701 uc_flags field.
3702 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
3703 64 bit versions:
3704 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
3705 for high GPRs (uc_high_gprs) and for future extensions
3706 (__reserved).
3707 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
3708 for future extensions (__reserved).
3709 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
3710 64 bit versions:
3711 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
3712 SC_HIGHGPRS offset definition.
3713 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
3714 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
3715
93a45ff1
AK
37162014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3717
3718 * Versions.def: Add GLIBC_2.19 for libpthread.
3719 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
3720 siglongjmp for libpthread with GLIBC_2.19 symver.
3721 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
3722 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
3723 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
3724 * sysdeps/s390/__longjmp.c: New file.
3725 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
3726 * sysdeps/s390/longjmp.c: New file.
3727 * sysdeps/s390/setjmp.S: New file.
3728 * sysdeps/s390/sigjmp.S: New file.
3729 * sysdeps/s390/v1-longjmp.c: New file.
3730 * sysdeps/s390/v1-setjmp.h: New file.
3731 * sysdeps/s390/v1-sigjmp.c: New file.
3732 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
3733 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
3734 GLIBC_2.19 version.
3735 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
3736 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
3737 versioned symbols for ____longjmp_chk.
3738 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3739 Likewise.
3740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3741 Regenerate.
3742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3743 Regenerate.
3744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3745 Regenerate.
3746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3747 Regenerate.
3748 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
3749 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
3750 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
3751 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
3752 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
3753 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
3754 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
3755 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
3756 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
3757 * sysdeps/s390/rtld-__longjmp.c: New file.
3758 * sysdeps/s390/rtld-setjmp.S: New file.
3759
eb3fc44b
JM
37602014-01-06 Joseph Myers <joseph@codesourcery.com>
3761
3762 [BZ #16400]
3763 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3764 Return -__logl (x) for small positive arguments without evaluating
3765 a polynomial.
3766
9341dde4
MF
37672014-01-06 Mike Frysinger <vapier@gentoo.org>
3768
3769 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
3770 Rename to ...
3771 (__ptrace_peeksiginfo_args): ... this.
3772 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3773 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3774 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3775
4cff0293
AM
37762014-01-06 Allan McRae <allan@archlinux.org>
3777
3778 * inet/netinet/in.h: Fix typo in comment.
3779
75595dcf
AJ
37802014-01-05 Andreas Jaeger <aj@suse.de>
3781
3782 * sysdeps/i386/fpu/libm-test-ulps: Update.
3783
79c1e109
AM
37842014-01-05 Allan McRae <allan@archlinux.org>
3785
dd804818
AM
3786 * po/libc.pot: Regenerated.
3787
79c1e109
AM
3788 * malloc/memusagestat.c: Fix gettext call formatting.
3789
0c813d1f
SK
37902014-01-04 Sami Kerola <kerolasa@iki.fi>
3791
3792 * nscd/nscd.c: Improve usage() output.
3793
20f4a8d9
MF
37942014-01-04 Mike Frysinger <vapier@gentoo.org>
3795
3796 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
3797 * sysdeps/unix/sysv/linux/configure: Regenerated.
3798 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
3799 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
3800
22562bb2
JM
38012014-01-03 Joseph Myers <joseph@codesourcery.com>
3802
3803 [BZ #16390]
3804 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3805 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
3806
d7ad2d9b
AZ
38072014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3808
3809 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
3810 extra tokens at end of #undef directive.
3811 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
3812 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
3813 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3814
7dd009d8
JM
38152014-01-03 Joseph Myers <joseph@codesourcery.com>
3816
24db925a
JM
3817 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3818
7dd009d8
JM
3819 * math/auto-libm-test-in: Mark various tests with
3820 xfail-rounding:ldbl-128ibm.
3821 * math/auto-libm-test-out: Regenerated.
3822
396e3ecf
JM
38232014-01-02 Joseph Myers <joseph@codesourcery.com>
3824
819e5d50
JM
3825 [BZ #16386]
3826 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
3827 numbers with subnormal high part when calculating exponent.
3828
90b6a1e5
JM
3829 [BZ #16385]
3830 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
3831 fabs.
3832
396e3ecf
JM
3833 [BZ #16384]
3834 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
3835 M_LN2l.
3836 (__ieee754_acoshl): Use __log1pl not __log1p.
3837
6c8dbf00
OB
38382013-01-02 Ondřej Bílka <neleai@seznam.cz>
3839
3840 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
3841 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
3842 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
3843 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
3844 Convert to GNU style.
3845 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
3846 mem2mem_check, mem2chunk_check, top_check, realloc_check,
3847 memalign_check, __malloc_set_state): Likewise.
3848 * malloc/mallocbug.c (main): Likewise.
3849 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
3850 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
3851 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
3852 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
3853 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
3854 * malloc/malloc.h: Likewise.
3855 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
3856 memalignhook, reallochook, mabort): Likewise.
3857 * malloc/mcheck.h: Likewise.
3858 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
3859 mmap64, mremap, munmap, dest): Likewise.
3860 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
3861 * malloc/morecore.c (__default_morecore): Likewise.
3862 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
3863 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
3864 _obstack_allocated_p, obstack_free, _obstack_memory_used,
3865 print_and_abort): Likewise.
3866 * malloc/obstack.h: Likewise.
3867 * malloc/set-freeres.c (__libc_freeres): Likewise.
3868 * malloc/tst-mallocstate.c (main): Likewise.
3869 * malloc/tst-mtrace.c (main): Likewise.
3870 * malloc/tst-realloc.c (do_test): Likewise.
3871
d4124212
SP
38722013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3873
9a3c6a6f
SP
3874 [BZ #16366]
3875 * nscd/netgroupcache.c (do_notfound): New function.
3876 (addgetnetgrentX): Use it.
3877
d4124212
SP
3878 [BZ # 16365]
3879 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
3880 NSS_STATUS_NOTFOUND.
3881
97b9a009
JM
38822014-01-01 Joseph Myers <joseph@codesourcery.com>
3883
3884 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3886
d4697bc9
AM
38872014-01-01 Allan McRae <allan@archlinux.org>
3888
ddb3687f
AM
3889 * scripts/update-copyrights: Update configure input file suffix.
3890
88726d48
AM
3891 * NEWS: Update copyright year.
3892 * catgets/gencat.c: Likewise.
3893 * csu/version.c: Likewise.
3894 * debug/catchsegv.sh: Likewise.
3895 * debug/pcprofiledump.c: Likewise.
3896 * debug/xtrace.sh: Likewise.
3897 * elf/ldconfig.c: Likewise.
3898 * elf/ldd.bash.in: Likewise.
3899 * elf/pldd.c: Likewise.
3900 * elf/sotruss.ksh: Likewise.
3901 * elf/sprof.c: Likewise.
3902 * iconv/iconv_prog.c: Likewise.
3903 * iconv/iconvconfig.c: Likewise.
3904 * locale/programs/locale.c: Likewise.
3905 * locale/programs/localedef.c: Likewise.
3906 * login/programs/pt_chown.c: Likewise.
3907 * malloc/memusage.sh: Likewise.
3908 * malloc/memusagestat.c: Likewise.
3909 * malloc/mtrace.pl: Likewise.
3910 * manual/libc.texinfo: Likewise.
3911 * nscd/nscd.c: Likewise.
3912 * nss/getent.c: Likewise.
3913 * nss/makedb.c: Likewise.
3914 * posix/getconf.c: Likewise.
3915 * scripts/test-installation.pl: Likewise.
3916
d4697bc9
AM
3917 * All files with FSF copyright notices: Update copyright dates
3918 using scripts/update-copyrights.
3919 * intl/plural.c: Regenerated.
3920 * locale/programs/charmap-kw.h: Likewise.
3921 * locale/programs/locfile-kw.h: Likewise.
3922
c8590f9d
MF
39232013-12-31 Mike Frysinger <vapier@gentoo.org>
3924
3925 * sysdeps/unix/sysv/linux/configure: Regenerated.
3926 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
3927 the linux/fanotify.h header.
3928 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
3929 HAVE_LINUX_FANOTIFY_H is defined.
3930
b19221b9
SP
39312013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3932
dd1d85e5
SP
3933 * benchtests/cos-inputs: New inputs.
3934 * benchtests/sin-inputs: Likewise.
3935
1acbb90f
SP
3936 * benchtests/atan-inputs: New inputs. Fix name of multiple
3937 precision fallback inputs.
3938
4c012ed3
SP
3939 * benchtests/atanh-inputs: New inputs.
3940 * benchtests/tanh-inputs: Likewise.
3941
eff98324
SP
3942 * benchtests/acosh-inputs: New inputs.
3943 * benchtests/asinh-inputs: Likewise.
3944
ce641152
SP
3945 * benchtests/cosh-inputs: New inputs.
3946 * benchtests/sinh-inputs: Likewise.
3947
b19221b9
SP
3948 * benchtests/acos-inputs: Add more inputs.
3949 * benchtests/asin-inputs: Likewise.
3950
030a4976 39512013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 3952
030a4976 3953 [BZ #16375]
9dcc8f11
VS
3954 * manual/arith.texi: Fix spelling.
3955 * manual/charset.texi: Likewise.
3956 * manual/errno.texi: Likewise.
3957 * manual/filesys.texi: Likewise.
3958 * manual/lang.texi: Likewise.
3959 * manual/llio.texi: Likewise.
3960 * manual/locale.texi: Likewise.
3961 * manual/message.texi: Likewise.
3962 * manual/resource.texi: Likewise.
3963 * manual/search.texi: Likewise.
3964 * manual/setjmp.texi: Likewise.
3965 * manual/stdio.texi: Likewise.
3966 * manual/string.texi: Likewise.
3967 * manual/sysinfo.texi: Likewise.
3968 * manual/time.texi: Likewise.
3969
11520a57
CD
39702013-12-27 Carlos O'Donell <carlos@redhat.com>
3971
3972 * po/sl.po: New file.
3973
471103ae
MF
39742013-12-27 Mike Frysinger <vapier@gentoo.org>
3975
3976 * .gitignore: Add core/.gdbinit/.gdb_history.
3977
6c9642ed
AM
39782013-12-27 Allan McRae <allan@archlinux.org>
3979
3980 [BZ #16369]
3981 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
3982 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
3983
3f637079
BM
39842013-12-24 Brooks Moses <bmoses@google.com>
3985
3986 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
3987 all compilers that claim C++98 compliance, not just GCC.
3988 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
3989 Likewise.
3990
abc26e99
MK
39912013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
3992
3993 * NEWS: Restore accidentally deleted bug-fix entries.
3994
362b47fe
MK
39952013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
3996 Ondřej Bílka <neleai@seznam.cz>
3997
3998 [BZ #15073]
3999 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 4000 have_lock.
362b47fe 4001
b9bcbbcb
OB
40022013-12-23 Ondřej Bílka <neleai@seznam.cz>
4003
4004 [BZ #12986]
4005 * manual/stdio.texi (String Input Conversions): Clarify that character
4006 classes are not supported.
4007
fb55fcd2
AZ
40082013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4009
4010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4011
ef7344f0
JM
40122013-12-22 Joseph Myers <joseph@codesourcery.com>
4013
4f40e4b3
JM
4014 [BZ #16337]
4015 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4016 Calculate results for small negative arguments directly rather
4017 than using reflection formula with special underflow handling.
4018
ef7344f0
JM
4019 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4020 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4021 sysdeps/unix/bsd/bsd4.4/syscalls.list.
4022 (fchflags): Likewise.
4023 (revoke): Likewise.
4024 (setlogin): Likewise.
4025 (sigaltstack): Likewise.
4026 (wait4): Likewise.
4027 (sigblock): Remove.
4028 (sigsetmask): Likewise.
4029 (wait3): Likewise.
4030 (waitpid): Likewise.
4031 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4032 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4033 file.
4034 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4035 * sysdeps/unix/bsd/Makefile: ... here.
4036 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4037 * sysdeps/unix/bsd/Versions: ... here.
4038 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4039 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4040 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4041 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4042 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4043 * sysdeps/unix/bsd/sigblock.c: ... here.
4044 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4045 * sysdeps/unix/bsd/sigsetmask.c: ... here.
4046 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4047 * sysdeps/unix/bsd/sigvec.c: ... here.
4048 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4049 * sysdeps/unix/bsd/tcdrain.c: ... here.
4050 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4051 * sysdeps/unix/bsd/tcgetattr.c: ... here.
4052 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4053 * sysdeps/unix/bsd/tcsetattr.c: ... here.
4054 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4055 * sysdeps/unix/bsd/wait.c: ... here.
4056 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4057 * sysdeps/unix/bsd/wait3.c: ... here.
4058 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4059 * sysdeps/unix/bsd/waitpid.c: ... here.
4060
5b0626b9
JM
40612013-12-21 Joseph Myers <joseph@codesourcery.com>
4062
4063 [BZ #16356]
4064 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4065 round-to-nearest for [!USE_AS_EXPM1L].
4066 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4067 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
4068 more tests of exp and exp10. Expect some exp10 tests to miss
4069 exceptions or fail in directed rounding modes.
4070 * math/auto-libm-test-out: Regenerated.
4071 * math/libm-test.inc (exp10_tonearest_test_data): New array.
4072 (exp10_test_tonearest): New function.
4073 (exp10_towardzero_test_data): New array.
4074 (exp10_test_towardzero): New function.
4075 (exp10_downward_test_data): New array.
4076 (exp10_test_downward): New function.
4077 (exp10_upward_test_data): New array.
4078 (exp10_test_upward): New function.
4079 (main): Call the new functions.
4080 * sysdeps/i386/fpu/libm-test-ulps: Update.
4081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4082
7fda5682
JM
40832013-12-20 Joseph Myers <joseph@codesourcery.com>
4084
31e3a405
JM
4085 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4086 asinh, atan, atan2, atanh, cbrt, cos and cosh.
4087 * math/auto-libm-test-out: Regenerated.
4088 * math/libm-test.inc (acosh_test_data): Add more tests.
4089 (atanh_test_data): Likewise.
4090 (ceil_test_data): Likewise.
4091 (copysign_test_data): Likewise.
4092 * sysdeps/i386/fpu/libm-test-ulps: Update.
4093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4094
85bff96a
JM
4095 * timezone/checktab.awk: Update from tzcode 2013i.
4096 * timezone/private.h: Likewise.
4097 * timezone/scheck.c: Likewise.
4098 * timezone/tzfile.h: Likewise.
4099 * timezone/tzselect.ksh: Likewise.
4100 * timezone/zdump.c: Likewise.
4101 * timezone/zic.c: Likewise.
4102
b7867a3b
JM
4103 * math/auto-libm-test-in: Add tests of cpow.
4104 * math/auto-libm-test-out: Regenerated.
4105 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4106 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4107 mpc_cc_c.
4108 (func_calc_desc): Add mpc_cc_c union field.
4109 (test_functions): Add cpow.
4110 (special_fill_2pi): New function.
4111 (special_real_inputs): Add 2pi.
4112 (calc_generic_results): Handle mpc_cc_c.
4113 * sysdeps/i386/fpu/libm-test-ulps: Update.
4114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4115
7fda5682
JM
4116 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4117 csqrt, ctan and ctanh.
4118 * math/auto-libm-test-out: Regenerated.
4119 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4120 (TEST_COND_x86): Likewise.
4121 (ccos_test_data): Use AUTO_TESTS_c_c.
4122 (ccosh_test_data): Likewise.
4123 (cexp_test_data): Likewise.
4124 (clog_test_data): Likewise.
4125 (csqrt_test_data): Likewise.
4126 (ctan_test_data): Likewise.
4127 (ctan_tonearest_test_data): Likewise.
4128 (ctan_towardzero_test_data): Likewise.
4129 (ctan_downward_test_data): Likewise.
4130 (ctan_upward_test_data): Likewise.
4131 (ctanh_test_data): Likewise.
4132 (ctanh_tonearest_test_data): Likewise.
4133 (ctanh_towardzero_test_data): Likewise.
4134 (ctanh_downward_test_data): Likewise.
4135 (ctanh_upward_test_data): Likewise.
4136 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4137 mpc_c_c.
4138 (func_calc_desc): Add mpc_c_c union field.
4139 (FUNC_mpc_c_c): New macro.
4140 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4141 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4142 ctanh.
4143 (special_fill_min_subnorm_p120): New function.
4144 (special_real_inputs): Add min_subnorm_p120.
4145 (calc_generic_results): Handle mpc_c_c.
4146 * sysdeps/i386/fpu/libm-test-ulps: Update.
4147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4148
5ff8d60e
SP
41492013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4150
392dd2de
SP
4151 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4152 do_sin_slow): New functions.
4153 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4154 cslow2, csloww1, csloww2): Use the new functions.
4155
84ba214c
SP
4156 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4157 Use M to change sign of result instead of X. Assume X is
4158 positive.
4159 (csloww1): Likewise.
4160 (__sin): Adjust.
4161 (__cos): Adjust.
4162
975195e4
SP
4163 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4164 arguments A and DA.
4165 (__sin): Adjust.
4166 (__cos): Likewise.
4167
5ff8d60e
SP
4168 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4169 (__cos): Likewise.
4170 (sloww1): Don't adjust sign of DX.
4171 (csloww1): Likewise.
4172 (sloww2): Use X directly and don't adjust sign of DX.
4173 (csloww2): Likewise.
4174
eb983568
JM
41752013-12-19 Joseph Myers <joseph@codesourcery.com>
4176
64a17f1a
JM
4177 * math/auto-libm-test-in: Add tests of cabs and carg.
4178 * math/auto-libm-test-out: Regenerated.
4179 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4180 (carg_test_data): Likewise.
4181 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4182 mpc_c_f.
4183 (func_calc_desc): Add mpc_c_f union field.
4184 (test_functions): Add cabs and carg.
4185 (calc_generic_results): Handle mpc_c_f.
4186
eb983568
JM
4187 * sysdeps/powerpc/powerpc32/libgcc-compat.S
4188 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4189 as a macro and a compat symbol.
4190 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4191 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4192 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4193 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4194 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4195 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4196 not use .hidden.
4197 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4198 Likewise.
4199 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4200 Likewise.
4201 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4202 Likewise.
4203 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4204 Likewise.
4205 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4206 Likewise.
4207 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4208 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4209 from GLIBC_2.3.2.
4210
6eeb678a
AZ
42112013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4212
4213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4214
6f6fc482
JM
42152013-12-19 Joseph Myers <joseph@codesourcery.com>
4216
21fea2e2
JM
4217 * manual/texinfo.tex: Update to version 2013-11-26.10 with
4218 trailing whitespace removed.
4219 * scripts/config.guess: Update to version 2013-11-29.
4220 * scripts/config.sub: Update to version 2013-10-01.
4221
6f6fc482
JM
4222 * math/auto-libm-test-in: Add tests of sincos.
4223 * math/auto-libm-test-out: Regenerated.
4224 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4225 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4226 mpfr_f_11.
4227 (func_calc_desc): Add mpfr_f_11 union field.
4228 (test_functions): Add sincos.
4229 (calc_generic_results): Handle mpfr_f_11.
4230 * sysdeps/i386/fpu/libm-test-ulps: Update.
4231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4232
83f5c32d
AS
42332013-12-19 Andreas Schwab <schwab@suse.de>
4234
4235 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4236 CALL_MCOUNT.
4237 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4238 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4239 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4240
c688b419
JM
42412013-12-19 Joseph Myers <joseph@codesourcery.com>
4242
335ee092
JM
4243 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4244 * sysdeps/i386/fpu/libm-test-ulps: Update.
4245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4246
f88acd39
JM
4247 [BZ #16293]
4248 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4249 round-to-nearest mode when using frndint.
4250 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4251 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4252 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4253 Likewise.
4254 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
4255 sinh test to fail.
4256 * math/auto-libm-test-out: Regenerated.
4257 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4258 (TEST_COND_x86): Likewise.
4259 (expm1_tonearest_test_data): New array.
4260 (expm1_test_tonearest): New function.
4261 (expm1_towardzero_test_data): New array.
4262 (expm1_test_towardzero): New function.
4263 (expm1_downward_test_data): New array.
4264 (expm1_test_downward): New function.
4265 (expm1_upward_test_data): New array.
4266 (expm1_test_upward): New function.
4267 (main): Run the new test functions.
4268 * sysdeps/i386/fpu/libm-test-ulps: Update.
4269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4270
c688b419
JM
4271 * include/features.h: Update comment documenting feature test
4272 macros. Mention _DEFAULT_SOURCE in comment.
4273 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4274 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4275 _BSD_SOURCE and _SVID_SOURCE.
4276 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4277 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4278 !_SVID_SOURCE]: Likewise.
4279 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4280 (__USE_POSIX_IMPLICITLY): Define.
4281 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4282 (_POSIX_SOURCE): Undefine and redefine.
4283 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4284 (_POSIX_C_SOURCE): Likewise.
4285 * manual/creature.texi (_DEFAULT_SOURCE): Document.
4286 (Feature Test Macros): Update documentation of default features.
4287
9f6e964c
RS
42882013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4289
4290 * benchtests/Makefile: Add bench-strtok.
4291 * benchtests/bench-strtok.c: New file: strtok benchtest.
4292
ee0a148a
AM
42932013-12-19 Allan McRae <allan@archlinux.org>
4294
4295 * manual/install.texi: Suppress menu for plain text output.
4296 * INSTALL: Regenerated.
4297
b9ab448f
BM
42982013-12-18 Brooks Moses <bmoses@google.com>
4299
4300 [BZ #15846]
4301 * misc/getauxval.c: Include errno.h.
4302 (__getauxval): Set errno to ENOENT if the requested type is not
4303 found.
4304 * misc/sys/auxv.h (getauxval): Document that it may set errno;
4305 don't declare with __attribute_const__.
4306 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4307 * manual/startup.texi: Document that getauxval sets errno.
4308
23776487
JM
43092013-12-18 Joseph Myers <joseph@codesourcery.com>
4310
f889953b
JM
4311 * math/auto-libm-test-in: Add tests of jn and yn.
4312 * math/auto-libm-test-out: Regenerated.
4313 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
4314 (yn_test_data): Likewise.
4315 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4316 mpfr_if_f.
4317 (func_calc_desc): Add mpfr_if_f union field.
4318 (FUNC_mpfr_if_f): New macro.
4319 (test_functions): Add jn and yn.
4320 (calc_generic_results): Assert type of second input for
4321 mpfr_ff_f. Handle mpfr_if_f.
4322 (output_for_one_input_case): Disable all checking for arguments
4323 fitting floating-point types in case of an integer argument.
4324 * sysdeps/i386/fpu/libm-test-ulps: Update.
4325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4326
23776487
JM
4327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4328 Don't expect fegetround reference in libm.so.
4329
cb756c6d
MS
43302013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4331
4332 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
4333 $(config-cflags-nofma).
4334
2dec468f
JM
43352013-12-18 Joseph Myers <joseph@codesourcery.com>
4336
5953eb3a
JM
4337 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
4338 * math/auto-libm-test-out: Regenerated.
4339
2dec468f
JM
4340 [BZ #16338]
4341 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
4342 to determine exponent and adjust argument to have exponent of -1.
4343 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4344 log2.
4345 * math/auto-libm-test-out: Regenerated.
4346 * sysdeps/i386/fpu/libm-test-ulps: Update.
4347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4348
4d84e6ad
OB
43492013-12-18 Ondřej Bílka <neleai@seznam.cz>
4350
4351 * manual/probes.texi: Remove cases when per-thread arenas are
4352 disabled.
4353
1818483b
AS
43542013-12-18 Andreas Schwab <schwab@suse.de>
4355
4356 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
4357 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
4358 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
4359 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
4360 * sysdeps/i386/i686/multiarch/Makefile: Update.
4361 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
4362
25de95bf
JM
43632013-12-17 Joseph Myers <joseph@codesourcery.com>
4364
4365 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
4366 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
4367
674762d9
PE
43682013-12-17 Paul Eggert <eggert@cs.ucla.edu>
4369
ed27ed83 4370 [BZ #15968]
0748546f
PE
4371 Support TZ transition times < 00:00:00.
4372 This is needed for version-3 tz-format files; it supports time
4373 stamps past 2037 for America/Godthab (the only entry in the tz
4374 database for which this change is relevant).
4375 * manual/time.texi (TZ Variable): Document transition times
4376 from -167:59:59 through -00:00:01.
4377 * time/tzset.c (tz_rule): Time of day is now signed.
4378 (__tzset_parse_tz): Parse negative time of day.
4379
4480e934
PE
4380 Document TZ transition times >= 25:00:00.
4381 * manual/time.texi (TZ Variable): Document transition times from
4382 25:00:00 through 167:59:59. These are already supported, and this
4383 support will help with version-3 tz-format files.
4384
69947401
PE
4385 * manual/time.texi (TZ Variable): Modernize North America example
4386 to reflect current (i.e., 2007-and-later) daylight saving rules.
4387
674762d9
PE
4388 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
4389
7011c262
JM
43902013-12-17 Joseph Myers <joseph@codesourcery.com>
4391
2fc6557e
JM
4392 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
4393 * sysdeps/unix/bsd/bits/stat.h: Likewise.
4394 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
4395 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4396 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
4397 * sysdeps/unix/bsd/bsdstat.h: Likewise.
4398 * sysdeps/unix/bsd/clock.c: Likewise.
4399 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
4400 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
4401 * sysdeps/unix/bsd/init-posix.c: Likewise.
4402 * sysdeps/unix/bsd/poll.c: Likewise.
4403 * sysdeps/unix/bsd/ptsname.c: Likewise.
4404 * sysdeps/unix/bsd/seekdir.c: Likewise.
4405 * sysdeps/unix/bsd/setegid.c: Likewise.
4406 * sysdeps/unix/bsd/seteuid.c: Likewise.
4407 * sysdeps/unix/bsd/setgid.c: Likewise.
4408 * sysdeps/unix/bsd/setrgid.c: Likewise.
4409 * sysdeps/unix/bsd/setruid.c: Likewise.
4410 * sysdeps/unix/bsd/setsid.c: Likewise.
4411 * sysdeps/unix/bsd/setuid.c: Likewise.
4412 * sysdeps/unix/bsd/sigaction.c: Likewise.
4413 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
4414 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
4415 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
4416 * sysdeps/unix/bsd/telldir.c: Likewise.
4417 * sysdeps/unix/bsd/times.c: Likewise.
4418 * sysdeps/unix/bsd/usleep.c: Likewise.
4419
029c7b25
JM
4420 * misc/Makefile (install-lib): Remove libbsd-compat.a.
4421 ($(objpfx)libbsd-compat.a): Remove rule.
4422
7011c262
JM
4423 * include/features.h (__FAVOR_BSD): Do not define.
4424 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
4425 features conflicting with POSIX.
4426 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
4427 (_BSD_SOURCE): Remove description of not being a subset of other
4428 feature test macros.
4429 * manual/job.texi (getpgrp): Do not document BSD version.
4430 (getpgid): Do not document by reference to BSD getpgrp.
4431 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
4432 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
4433 * signal/signal.h [__FAVOR_BSD]: Likewise.
4434 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
4435 instead of making contents conditional on [__FAVOR_BSD].
4436 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
4437
affb6f78
AZ
44382013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4439
4440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4441
c88769dd
JM
44422013-12-17 Joseph Myers <joseph@codesourcery.com>
4443
6432a540
JM
4444 [BZ #16314]
4445 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
4446 values below 2**-450, not 2**-500.
4447 * math/auto-libm-test-in: Don't allow spurious underflow from
4448 hypot.
4449 * math/auto-libm-test-out: Regenerated.
4450
c88769dd
JM
4451 [BZ #16316]
4452 [BZ #16330]
4453 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
4454 values of ha and hb and sort them after adjusting subnormal
4455 arguments.
4456 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4457 Likewise.
4458 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
4459 values of ea and eb and sort them after adjusting subnormal
4460 arguments.
4461 * math/auto-libm-test-in: Do not expect some hypot tests of
4462 subnormals to fail. Add more hypot tests.
4463 * math/auto-libm-test-out: Regenerated.
4464
29618f6b
KK
44652013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4466
4467 [BZ #13304]
4468 * sysdeps/sh/s_fma.c: New file.
4469 * sysdeps/sh/s_fmaf.c: New file.
4470 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
4471 version.
4472 * sysdeps/sh/Implies: Add sh/soft-fp.
4473
eacfdfbf
RM
44742013-12-16 Roland McGrath <roland@hack.frob.com>
4475
4476 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
4477 level of indirection to members `objname', `errstring', `malloced'.
4478 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
4479 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
4480 it as the __longjmp argument (just pass 1 instead).
4481 (_dl_catch_error): Initialize C with argument pointers and address of
4482 volatile local ERRCODE rather than copying values out of C at return.
4483
ff362e5b
JM
44842013-12-16 Joseph Myers <joseph@codesourcery.com>
4485
4486 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
4487 * math/auto-libm-test-out: Regenerated.
4488 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
4489 (hypot_test_data): Likewise.
4490 (pow_test_data): Likewise.
4491 (pow_tonearest_test_data): Likewise.
4492 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4493 mpfr_ff_f.
4494 (func_calc_desc): Add mpfr_ff_f union field.
4495 (FUNC_mpfr_ff_f): New macro.
4496 (test_functions): Add atan2, hypot and pow.
4497 (special_fill_min): New function.
4498 (special_fill_minus_min): Likewise.
4499 (special_fill_min_subnorm): Likewise.
4500 (special_fill_minus_min_subnorm): Likewise.
4501 (special_real_inputs): Add min, -min, min_subnorm and
4502 -min_subnorm.
4503 (calc_generic_results): Handle mpfr_ff_f.
4504 * sysdeps/i386/fpu/libm-test-ulps: Update.
4505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4506
5764c27f
WN
45072013-12-16 Will Newton <will.newton@linaro.org>
4508
4509 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
4510 (Aligned Memory Blocks): Add documentation for aligned_alloc
4511 and suggest it as an alternative to posix_memalign.
4512 (Hooks for Malloc): Document __memalign_hook is also called
4513 for aligned_alloc. (Summary of Malloc): Add summary for
4514 aligned alloc. Document __memalign_hook is also called
4515 for aligned_alloc.
4516
0a096e44
WN
45172013-12-16 Will Newton <will.newton@linaro.org>
4518
4519 * manual/memory.texi (Malloc Examples): Clarify default
4520 alignment documentation. Suggest posix_memalign rather
4521 than memalign or valloc.
4522 (Aligned Memory Blocks): Remove suggestion to use memalign
4523 or valloc. Remove obsolete comment about BSD.
4524 Document memalign errno values and mark the function obsolete.
4525 Document posix_memalign returned error codes. Mark valloc
4526 as obsolete. (Hooks for Malloc): __memalign_hook is also
4527 called for posix_memalign and valloc.
4528 (Summary of Malloc): Add posix_memalign to function summary.
4529 __memalign_hook is also called for posix_memalign and valloc.
4530
8d561986
SP
45312013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4532
4533 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
4534 TAYLOR_SIN.
4535 (__sin): Adjust.
4536 (__cos): Likewise.
4537 (sloww): Use mynumber union. Expand ternary operator into
4538 if-else statements.
4539 (cslow): use mynumber union.
4540
73616a74
AM
45412013-12-16 Allan McRae <allan@archlinux.org>
4542
9e8ac24b
AM
4543 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
4544 * configure: Regenerated.
4545
6f8e37eb
AM
4546 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
4547
8894bad3
AM
4548 [BZ #14120]
4549 * configure.ac: Added --enable-maintainer-mode. Check for
4550 autoconf when enabled.
4551 * configure: Regenerated.
4552
73616a74
AM
4553 * nscd/nscd.service: New file.
4554 * nscd/nscd.tmpfiles: New file.
4555
584b18eb
OB
45562013-12-14 Ondřej Bílka <neleai@seznam.cz>
4557
4558 [BZ #12100]
4559 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
4560 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
4561 * sysdeps/x86_64/multiarch/strstr.c: ... here.
4562 (strstr): Add __strstr_sse2_unaligned ifunc.
4563 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
4564 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
4565 (strcasestr): Remove __strcasestr_sse42 ifunc.
4566 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
4567 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4569
8a5c7897
KK
45702013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4571
4572 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
4573 * sysdeps/sh/bits/fenv.h: ... here.
4574 * sysdeps/sh/sh4/fpu/bits: Remove directory.
4575
fd712ef3
AZ
45762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4577
4578 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
4579
42fcb46c
AZ
45802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4581
4582 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
4583 hypotf multiarch implementations.
4584 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
4585 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
4586 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
4587 multiarch hypot for PPC64.
4588 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
4589 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
4590 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
4591 multiarch hypotf for PPC64.
4592
83efded4
AZ
45932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4594
4595 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
4596 modff multiarch implementations.
4597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
4598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
4599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
4600 multiarch modf for PPC64.
4601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
4602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
4603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
4604 multiarch modff for PPC64.
4605
43e246d2
AZ
46062013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4607
4608 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
4609 and logl multiarch implementations.
4610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
4611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
4612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
4613 multiarch logb for PPC64.
4614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
4615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
4616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
4617 multiarch logb for PPC64.
4618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
4619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
4620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
4621 multiarch logb for PPC64.
4622
8fdad123
AZ
46232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4624
4625 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
4626 isinff multiarch implementation.
4627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
4628 file.
4629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
4630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
4631 multiarch isinf for PPC64.
4632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
4633 file.
4634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
4635 multiarch isinff for PPC64.
4636
1481d706
AZ
46372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4638
4639 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
4640 finitef multiarch implementation.
4641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
4642 file.
4643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
4644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
4645 multiarch finite for PPC64.
4646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
4647 file.
4648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
4649 multiarch finitef for PPC64.
4650
5ccd5fc8
AZ
46512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4652
4653 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
4654 lrint multiarch implementation.
4655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
4656 file.
4657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
4658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
4659 multiarch llrint for PPC64.
4660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
4661 multiarch lrint for PPC64.
4662
2568f3fa
AZ
46632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4664
4665 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
4666 copysignf multiarch implementation.
4667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
4668 file.
4669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
4670 file.
4671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
4672 multiarch copysign for PPC64.
4673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
4674 multiarch copysignf for PPC64.
4675
1cb341fd
AZ
46762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4677
4678 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
4679 multiarch implementation.
4680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
4681 file.
4682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
4683 file.
4684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
4685 file.
4686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
4687 file.
4688 multiarch llround for PPC64.
4689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
4690 multiarch trunc for PPC64.
4691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
4692 multiarch truncf for PPC64.
4693
59a3e194
AZ
46942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4695
4696 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
4697 multiarch implementation.
4698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
4699 file.
4700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
4701 file.
4702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
4703 file.
4704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
4705 file.
4706 multiarch llround for PPC64.
4707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
4708 multiarch round for PPC64.
4709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
4710 multiarch roundf for PPC64.
4711
357fd3b4
AZ
47122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4713
4714 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
4715 multiarch implementation.
4716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
4717 file.
4718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
4719 file.
4720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
4721 file.
4722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
4723 file.
4724 multiarch llround for PPC64.
4725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
4726 multiarch floor for PPC64.
4727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
4728 multiarch floorf for PPC64.
4729
96770f12
AZ
47302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4731
4732 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
4733 multiarch implementation.
4734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
4735 file.
4736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
4737 file.
4738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
4739 file.
4740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
4741 file.
4742 multiarch llround for PPC64.
4743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
4744 multiarch ceil for PPC64.
4745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
4746 multiarch ceilf for PPC64.
4747
c3627f6e
AZ
47482013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4749
4750 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4751 multiarch implementation.
4752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
4753 file.
4754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
4755 file.
4756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
4757 file.
4758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
4759 multiarch llround for PPC64.
4760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
4761 multiarch lround for PPC64.
4762
b2284ad7
AZ
47632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4764
4765 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4766 multiarch implementation.
4767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
4768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
4769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
4770 file.
4771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
4772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
4773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
4774 multiarch isnan for PPC64.
4775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
4776 multiarch isnanf for PPC64.
4777
69bbc63d
AZ
47782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4779
4780 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
4781 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
4782 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
4783 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
4784 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
4785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
4786
c24517c9
AZ
47872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4788
4789 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
4790 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4791 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4792 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4793
a52374e8
AZ
47942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4795
4796 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
4797 multiarch implementations.
4798 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4799 (__libc_ifunc_impl_list): Likewise.
4800 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
4801 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
4802 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
4803 multiarch stpcpy for PPC64.
4804
7f5ec113
AZ
48052013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4806
4807 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
4808 multiarch implementations.
4809 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4810 (__libc_ifunc_impl_list): Likewise.
4811 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
4812 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
4813 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
4814 multiarch strcpy for PPC64.
4815
e28bcd42
AZ
48162013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4817
4818 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
4819 redefine function name.
4820 (_wordcopy_fwd_dest_aligned): Likewise.
4821 (_wordcopy_bwd_aligned): Likewise.
4822 (_wordcopy_bwd_dest_aligned): Likewise.
4823 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
4824 multiarch implementations.
4825 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4826 (__libc_ifunc_impl_list): Likewise.
4827 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
4828 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
4829 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
4830 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
4831 multiarch wcscpy for PPC64.
4832
92cacfce
AZ
48332013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4834
4835 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
4836 multiarch implementations.
4837 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4838 (__libc_ifunc_impl_list): Likewise.
4839 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
4840 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
4841 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
4842 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
4843 multiarch wcscpy for PPC64.
4844
7b714620
AZ
48452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4846
4847 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
4848 multiarch implementations.
4849 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4850 (__libc_ifunc_impl_list): Likewise.
4851 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
4852 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
4853 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
4854 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
4855 multiarch wcsrchr for PPC64.
4856
16fd2ae3
AZ
48572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4858
4859 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
4860 multiarch implementations.
4861 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4862 (__libc_ifunc_impl_list): Likewise.
4863 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
4864 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
4865 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
4866 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
4867 multiarch wcschr for PPC64.
4868
9ee2969b
AZ
48692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4870
4871 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
4872 multiarch implementations.
4873 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4874 (__libc_ifunc_impl_list): Likewise.
4875 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
4876 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
4877 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
4878 multiarch strchrnul for PPC64.
4879
372dc060
AZ
48802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4881
4882 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
4883 implementations.
4884 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4885 (__libc_ifunc_impl_list): Likewise.
4886 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
4887 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
4888 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
4889 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
4890 strchr for PPC64.
4891
24c2c3b9
AZ
48922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4893
4894 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
4895 implementations.
4896 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4897 (__libc_ifunc_impl_list): Likewise.
4898 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
4899 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
4900 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
4901 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
4902 strncmp for PPC64.
4903
1c92d9a0
AZ
49042013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4905
4906 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
4907 multiarch implementations.
4908 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4909 (__libc_ifunc_impl_list): Likewise.
4910 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
4911 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
4912 strncasecmp for PPC64.
4913 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
4914 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
4915 multiarch strncasecmp_l for PPC64.
4916
17de3ee3
AZ
49172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4918
4919 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
4920 multiarch implementations.
4921 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4922 (__libc_ifunc_impl_list): Likewise.
4923 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
4924 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
4925 multiarch strcasecmp for PPC64.
4926 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
4927 file.
4928 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
4929 multiarch strcasecmp_l for PPC64.
4930
62982bf9
AZ
49312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4932
4933 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
4934 implementations.
4935 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4936 (__libc_ifunc_impl_list): Likewise.
4937 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
4938 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
4939 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
4940 strnlen for PPC64.
4941
a65f4904
AZ
49422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4943
4944 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
4945 implementations.
4946 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4947 (__libc_ifunc_impl_list): Likewise.
4948 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
4949 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
4950 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
4951 strlen for PPC64.
4952
1fd005ad
AZ
49532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4954
4955 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
4956 implementations.
4957 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4958 (__libc_ifunc_impl_list): Likewise.
4959 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
4960 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
4961 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
4962 rawmemrchr for PPC64.
4963
cd05ba91
AZ
49642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4965
4966 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
4967 implementation.
4968 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4969 (__libc_ifunc_impl_list): Likewise.
4970 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
4971 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
4972 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
4973 memrchr for PPC64.
4974
870f8676
AZ
49752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4976
4977 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
4978 implementation.
4979 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4980 (__libc_ifunc_impl_list): Likewise.
4981 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
4982 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
4983 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
4984 memchr for PPC64.
4985
f00be62b
AZ
49862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4987
4988 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
4989 implementation.
4990 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4991 (__libc_ifunc_impl_list): Likewise.
4992 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
4993 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
4994 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
4995 mempcpy for PPC64.
4996
8a29a3d0
AZ
49972013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4998
4999 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5000 avoid cretion of __bzero symbol.
5001 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5002 Likewise.
5003 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5004 Likewise.
5005 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5006 Likewise.
5007 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5008 multiarch implementations.
5009 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5010 (__libc_ifunc_impl_list): Likewise.
5011 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5012 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5013 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5014 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5015 bzero for PPC32.
5016 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5017 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5018 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5019 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5020 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5021 memset for PPC64.
5022 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5023
07253fcf
AZ
50242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5025
5026 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5027 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5028 implementations.
5029 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5030 (__libc_ifunc_impl_list): Likewise.
5031 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5032 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5033 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5034 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5035 memcmp for PPC64.
5036
b5beafbc
AZ
50372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5038
5039 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5040 multiarch for POWER/PPC64.
5041 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5042 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5043 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5044 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5045 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5046 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5047 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5048 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5049 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5050 memcpy for PPC64.
5051
5e6a4d4b
AZ
50522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5053
5054 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5055 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5056 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5057 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5058 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5059 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5060 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5061 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5062 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5063 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5064 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5065 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5066 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5067 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5068 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5076
ddfab6dc
KK
50772013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5078
5079 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5080
19b5525e
SP
50812013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5082
5083 * benchtests/Makefile (bench): Add exp2 and log2.
5084 (LDLIBS-bench-exp2): Add -lm.
5085 (LDLIBS-bench-log2): Likewise.
5086 * benchtests/exp2-inputs: New inputs file.
5087 * benchtests/log2-inputs: New inputs file.
5088 * benchtests/log-inputs: Add new inputs.
5089 * benchtests/tan-inputs: Likewise.
5090
196f7f5d
SP
50912013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5092
7a74607f
SP
5093 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5094 definition...
5095 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5096 csloww1, csloww2): ... from here.
5097
196f7f5d
SP
5098 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5099 instead of structures.
5100 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5101 (POLYNOMIAL): Likewise.
5102 (TAYLOR_SLOW): Likewise.
5103 (__sin): Likewise.
5104 (__cos): Likewise.
5105 (slow1): Likewise.
5106 (slow2): Likewise.
5107 (sloww): Likewise.
5108 (sloww1); Likewise.
5109 (sloww2): Likewise.
5110 (bsloww1): Likewise.
5111 (bsloww2): Likewise.
5112 (cslow2): Likewise.
5113 (csloww): Likewise.
5114 (csloww1): Likewise.
5115 (csloww2): Likewise.
5116
0dfa665c
OB
51172013-12-10 Ondřej Bílka <neleai@seznam.cz>
5118
5119 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5120 (__malloc_assert, __libc_realloc, __libc_calloc,
5121 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5122 memcpy and memset.
5123 * malloc/hooks.c (realloc_check): Likewise.
5124
5782a80f
OB
51252013-12-10 Ondřej Bílka <neleai@seznam.cz>
5126
5127 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5128 * malloc/arena.c: Remove PER_THREAD conditional.
5129 [!PER_THREAD]: Remove code.
5130 (ptmalloc_unlock_all2): Likewise.
5131 (ptmalloc_init): Likewise.
5132 (_int_new_arena): Likewise.
5133 (arena_get2): Likewise.
5134 * malloc/hooks.c (__malloc_get_state): Likewise.
5135 (__malloc_set_state): Likewise.
5136 * malloc/malloc.c: Likewise.
5137 (struct malloc_state): Likewise.
5138 (struct malloc_par): Likewise.
5139 (__libc_realloc): Likewise.
5140 (__libc_mallopt): Likewise.
5141
aeb95445
AZ
51422013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5143
5144 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5145
e8349efd
OB
51462013-12-09 Ondřej Bílka <neleai@seznam.cz>
5147
5148 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5149 macro to a function. Check for zero perturb_byte.
5150 (_int_malloc, _int_free): Remove zero perturb_byte checks.
5151
f3eeb3fc
OB
51522013-12-09 Ondřej Bílka <neleai@seznam.cz>
5153
5154 * malloc/malloc.c: (force_reg): Remove.
5155 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5156 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5157 force_reg by atomic_forced_read.
5158 * malloc/arena.c (ptmalloc_init): Likewise.
5159 * malloc/hooks.c (top_check): Likewise.
5160
be2f9009
AZ
51612013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5162
5163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5164
e7b914bd
MT
51652013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
5166
5167 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5168
9f0be4f8
JM
51692013-12-08 Joseph Myers <joseph@codesourcery.com>
5170
5171 * math/auto-libm-test-in: Add tests of lgamma.
5172 * math/auto-libm-test-out: Regenerated.
5173 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5174 (M_LOG_2_SQRT_PIl): Likewise.
5175 (lgamma_test_data): Use AUTO_TESTS_f_f1.
5176 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5177 mpfr_f_f1.
5178 (func_calc_desc): Add mpfr_f_f1 union field.
5179 (ARGS1): New macro.
5180 (ARGS2): Likewise.
5181 (ARGS3): Likewise.
5182 (ARGS4): Likewise.
5183 (RET1): Likewise.
5184 (RET2): Likewise.
5185 (CALC): Likewise.
5186 (FUNC): Likewise.
5187 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5188 (test_functions): Add lgamma.
5189 (calc_generic_results): Handle mpfr_f_f1.
5190 * sysdeps/i386/fpu/libm-test-ulps: Update.
5191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5192
24eeafdb
AZ
51932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5194
5195 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5196 __mpn_add_n for PowerPC64/POWER7.
5197 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5198 __mpn_sub_n for PowerPC64/POWER7.
5199
4a2c0fd4
AZ
52002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5201
5202 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5203 __mpn_addmul_1 for PowerPC64.
5204 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5205 __mpn_submul_1 for PowerPC64.
5206 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5207 for PowerPC64.
5208 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5209 for PowerPC64.
5210
4b5b548c
FS
52112013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
5212
5213 [BZ #15089]
5214 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5215
0a3ac0aa
AZ
52162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5217
5218 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5219
ccdc8438
AZ
52202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5221
5222 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5223 add multiarch folders.
5224 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5225 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5226 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5227 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5228 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5229 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5230 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5231 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5232 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5233 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5234 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5241
2e973d99
AZ
52422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5243
5244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5245 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5247 New file.
5248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5249 New file.
5250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5251 multiarch __ieee754_hypot for PowerPC32.
5252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5253 New file.
5254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5255 New file.
5256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5257 multiarch __ieee754_hypotf for PowerPC32.
5258
2d9470b2
AZ
52592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5260
5261 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5262 long_double_symbol only if __logbl is defined.
5263 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5264 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5265 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5266 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5267 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5268 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5269 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5270 path for implementation.
5271 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5272 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5274 logb, and logbl multiarch implementations for PowerPC32.
5275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5276 file.
5277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5278 file.
5279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5280 multiarch logb for PowerPC32.
5281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5282 file.
5283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5284 file.
5285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5286 multiarch logbf for PowerPC32.
5287 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5289 file.
5290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5291 multiarch logbl implementation for PowerPC32.
5292
5212ffce
AZ
52932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5294
5295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5296 and modff multiarch implementations.
5297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5298 New file.
5299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5300 New file.
5301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5302 multiarch modf for PowerPC32.
5303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5304 New file.
5305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5306 New file.
5307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5308 multiarch modff for PowerPC32.
5309
79dccf31
AZ
53102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5311
5312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5313 and lrintf multiarch implementations.
5314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
5315 New file.
5316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
5317 New file.
5318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
5319 multiarch lrint for PowerPC32.
5320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
5321 file: multiarch lrintf for PowerPC32.
5322
deb66480
AZ
53232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5324
5325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
5326 and lroundf multiarch implementations.
5327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
5328 New file.
5329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
5330 New file.
5331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
5332 New file.
5333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
5334 multiarch lround for PowerPC32.
5335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
5336 file: multiarch lroundf for PowerPC32.
5337
264b036b
AZ
53382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5339
5340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5341 copysign and copysignf multiarch implementations.
5342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
5343 New file.
5344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
5345 New file.
5346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
5347 file: multiarch copysign for PowerPC32.
5348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
5349 file: multiarch copysignf for PowerPC32.
5350
d47db6c9
AZ
53512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5352
5353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
5354 and truncf multiarch implementations.
5355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
5356 New file.
5357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
5358 file.
5359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
5360 multiarch trunc for PowerPC32.
5361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
5362 New file.
5363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
5364 New file.
5365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
5366 multiarch truncf for PowerPC32.
5367
ddb60b5a
AZ
53682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5369
5370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
5371 and roundf multiarch implementations.
5372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
5373 New file.
5374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
5375 file.
5376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
5377 multiarch round for PowerPC32.
5378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
5379 New file.
5380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
5381 New file.
5382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
5383 multiarch roundf for PowerPC32.
5384
bedcf49b
AZ
53852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5386
5387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
5388 and floorf multiarch implementations.
5389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
5390 New file.
5391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
5392 file.
5393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
5394 multiarch floor for PowerPC32.
5395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
5396 New file.
5397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
5398 New file.
5399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
5400 multiarch floorf for PowerPC32.
5401
35ae5b40
AZ
54022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5403
5404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
5405 and ceilf multiarch implementations.
5406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
5407 New file.
5408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
5409 file.
5410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
5411 multiarch ceil for PowerPC32.
5412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
5413 New file.
5414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
5415 file.
5416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
5417 multiarch ceilf for PowerPC32.
5418
ae1a4cd9
AZ
54192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5420
5421 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
5422 is defined.
5423 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
5424 FINITEF is defined.
5425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
5426 and finitef multiarch implementations.
5427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
5428 New file.
5429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
5430 file.
5431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
5432 multiarch finite for PowerPC32.
5433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
5434 New file.
5435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
5436 file: multiarch finitef for PowerPC32.
5437
64fffd65
AZ
54382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5439
5440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
5441 and isinff multiarch implementations.
5442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
5443 file.
5444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
5445 file.
5446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
5447 multiarch isinf for PowerPC32.
5448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
5449 New file.
5450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
5451 multiarch isinff for PowerPC32.
5452
8e4e7ba2
AZ
54532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5454
5455 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
5456 alias when __isnan is defined.
5457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
5458 and isnanf multiarch implementations.
5459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
5460 file.
5461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
5462 file.
5463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
5464 file.
5465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
5466 file.
5467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
5468 multiarch isnan for PowerPC32.
5469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
5470 New file.
5471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
5472 New file.
5473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
5474 multiarch isnanf for PowerPC32.
5475
ddba588e
AZ
54762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5477
5478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
5479 and sqrtf multiarch implementations.
5480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
5481 file.
5482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
5483 file.
5484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
5485 multiarch sqrt for PowerPC32.
5486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
5487 file.
5488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
5489 file.
5490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
5491 multiarch sqrtf for PowerPC32.
5492
0f96a2f0
AZ
54932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5494
5495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
5496 and llroundf multiarch implementations.
5497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
5498 New file.
5499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
5500 New file.
5501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
5502 New file.
5503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
5504 file: multiarch llround for PowerPC32.
5505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
5506 file: multiarch llroundf for PowerPC32.
5507
c9b5d79e
AZ
55082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5509
5510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
5511 multiarch PowerPC32 fpu implementations.
5512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
5513 New file.
5514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
5515 New file.
5516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
5517 multiarch llrint for PowerPC32.
5518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
5519 New file.
5520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
5521 New file.
5522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
5523 file.
5524
9cbb3aab
AZ
55252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5526
5527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
5528
ea5a72f8
AZ
55292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5530
5531 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
5532 file.
5533 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
5534 file.
5535 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
5536 file.
5537 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
5538 multiarch wordcopy for PPC32.
5539 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5540 wordcopy objects.
5541 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5542 (__libc_ifunc_impl_list): Likewise.
5543 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
5544 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
5545 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
5546 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
5547 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
5548 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
5549
93be09e7
AZ
55502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5551
5552 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
5553 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
5554 file.
5555 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
5556 file.
5557 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
5558 file.
5559 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
5560 multiarch wcscpy for PPC32.
5561 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5562 multiarch objects.
5563 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5564 (__libc_ifunc_impl_list): Likewise.
5565 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5566 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5567 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
5568 sysdeps/powerpc/power6/wcscpy.c.
5569
bb04e529
AZ
55702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5571
5572 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
5573 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
5574 file.
5575 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
5576 file.
5577 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
5578 file.
5579 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
5580 multiarch wcsrchr for PPC32.
5581 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5582 multiarch objects.
5583 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5584 (__libc_ifunc_impl_list): Likewise.
5585 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5586 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5587 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
5588 sysdeps/powerpc/power6/wcsrchr.c.
5589
05b5cd1c
AZ
55902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5591
5592 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
5593 file.
5594 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
5595 file.
5596 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
5597 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
5598 multiarch wcschr for PPc32.
5599 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5600 multiarch objects.
5601 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5602 (__libc_ifunc_impl_list): Likewise.
5603 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
5604 * sysdeps/powerpc/power6/wcschr.c: ... to here.
5605 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
5606 sysdeps/powerpc/power6/wcschr.c.
5607
ba964147
AZ
56082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5609
5610 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
5611 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
5612 file.
5613 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
5614 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
5615 file: multiarch strchr for PPC32.
5616 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
5617 multiarch objects.
5618 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5619 (__libc_ifunc_impl_list): Likewise.
5620
31c81aaa
AZ
56212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5622
5623 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
5624 name.
5625 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
5626 file.
5627 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
5628 file.
5629 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
5630 multiarch strchrnul for PPC32.
5631 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
5632 multiarch objects.
5633 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5634 (__libc_ifunc_impl_list): Likewise.
5635
0d0607d9
AZ
56362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5637
5638 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
5639 file.
5640 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
5641 multiarch strncasecmp for PPC32.
5642 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
5643 file.
5644 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
5645 multiarch strncasecmp_l for PPC32.
5646 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
5647 strncasecmp multiarch objects.
5648 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5649 (__libc_ifunc_impl_list): Likewise.
5650
4dfd5c86
AZ
56512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5652
5653 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
5654 file.
5655 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
5656 multiarch strncasecmp for PPC32.
5657 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5658 New file.
5659 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
5660 multiarch strcasecmp_l for PPC32.
5661 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
5662 multiarch objects.
5663 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5664 (__libc_ifunc_impl_list): Likewise.
5665
a19e01a3
AZ
56662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5667
5668 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
5669 file.
5670 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
5671 file.
5672 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
5673 multiarch strncmp for PPC32.
5674 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
5675 multiarch objects.
5676 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5677 (__libc_ifunc_impl_list): Likewise.
5678
ae9cf7a2
AZ
56792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5680
5681 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
5682 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
5683 file.
5684 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
5685 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
5686 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
5687 multiarch objects.
5688 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5689 (__libc_ifunc_impl_list): Likewise.
5690
3148bb7d
AZ
56912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5692
5693 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
5694 file.
5695 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
5696 file.
5697 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
5698 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
5699 multiarch objects.
5700 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5701 (__libc_ifunc_impl_list): Likewise.
5702
7af8b946
AZ
57032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5704
5705 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
5706 file.
5707 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
5708 file.
5709 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
5710 multiarch rawmemchr for PPC32.
5711 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
5712 multiarch objects.
5713 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5714 (__libc_ifunc_impl_list): Likewise.
5715
03a6aa6a
AZ
57162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5717
5718 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
5719 file.
5720 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
5721 file.
5722 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
5723 file: memrchr multiarch for PPC32.
5724 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
5725 multiarch objects.
5726 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5727 (__libc_ifunc_impl_list): Likewise.
5728
1c62e6d9
AZ
57292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5730
5731 * string/memchr.c (__memchr): Using macro to redefine symbol name.
5732 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
5733 file.
5734 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
5735 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
5736 multiarch memchr for PPC32.
5737 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
5738 multiarch objects.
5739 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5740 (__libc_ifunc_impl_list): Likewise.
5741
87da8bdb
AZ
57422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5743
5744 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
5745 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
5746 file.
5747 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
5748 file.
5749 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
5750 file: multiarch mempcpy for PPC32.
5751 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
5752 multiarch objects.
5753 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5754 (__libc_ifunc_impl_list): Likewise.
5755
20ed4714
AZ
57562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5757
5758 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
5759 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
5760 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
5761 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
5762 multiarch bzero for PPC32.
5763 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
5764 file.
5765 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
5766 file.
5767 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
5768 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
5769 file: multiarch memset for PPC32.
5770 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
5771 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
5772 memset multiarch objects.
5773 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5774 (__libc_ifunc_impl_list): Likewise.
5775
ab3e3a46
AZ
57762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5777
5778 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
5779 file.
5780 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
5781 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
5782 memcmp for PPC32.
5783 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
5784 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
5785 multiarch objects.
5786 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5787 (__libc_ifunc_impl_list): Likewise.
5788
930de6f0
AZ
57892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5790
5791 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
5792 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
5793 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
5794 file.
5795 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
5796 file.
5797 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
5798 file.
5799 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
5800 multiarch memcpy for PPC32.
5801 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
5802 multiarch objects.
5803 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5804 (__libc_ifunc_impl_list): Likewise.
5805
4c628e00
AZ
58062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5807
5808 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
5809 support multiarch for POWER/PPC32.
5810 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5811 Likewise.
5812 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
5814 Implies file to make multiarch folder appers before the fpu and
5815 default folder for power4 configuration.
5816
f4479220
SP
58172013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5818
5819 * scripts/bench.pl: Append volatile keyword to type.
5820
8517800f
KK
58212013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5822
5823 * sysdeps/sh/sotruss-lib.c: New file.
5824 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
5825
180138f1
AZ
58262013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5827
5828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5829
bbf37bdc
JM
58302013-12-05 Joseph Myers <joseph@codesourcery.com>
5831
e47cc4e0
JM
5832 [BZ #6810]
5833 * math/w_tgamma.c: Include <errno.h>.
5834 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
5835 * math/w_tgammaf.c: Include <errno.h>.
5836 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
5837 * math/w_tgammal.c: Include <errno.h>.
5838 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
5839 * math/auto-libm-test-in: Do not allow missing errno on tgamma
5840 underflow. Add more tgamma tests.
5841 * math/auto-libm-test-out: Regenerated.
5842 * sysdeps/i386/fpu/libm-test-ulps: Update.
5843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5844
bbf37bdc
JM
5845 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
5846 sin, sinh, tan, tanh, tgamma, y0 and y1.
5847 * math/auto-libm-test-out: Regenerated.
5848 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5849 (TEST_COND_x86): Likewise.
5850 (M_E2l): Remove macro.
5851 (M_E3l): Likewise.
5852 (M_2_SQRT_PIl): Likewise.
5853 (M_SQRT_PIl): Likewise.
5854 (M_1_DIV_El): Likewise.
5855 (log_test_data): Use AUTO_TESTS_f_f.
5856 (log10_test_data): Likewise.
5857 (log1p_test_data): Likewise.
5858 (log2_test_data): Likewise.
5859 (sin_test_data): Likewise.
5860 (sin_tonearest_test_data): Likewise.
5861 (sin_towardzero_test_data): Likewise.
5862 (sin_downward_test_data): Likewise.
5863 (sin_upward_test_data): Likewise.
5864 (sinh_test_data): Likewise.
5865 (sinh_tonearest_test_data): Likewise.
5866 (sinh_towardzero_test_data): Likewise.
5867 (sinh_downward_test_data): Likewise.
5868 (sinh_upward_test_data): Likewise.
5869 (tan_test_data): Likewise.
5870 (tan_tonearest_test_data): Likewise.
5871 (tan_towardzero_test_data): Likewise.
5872 (tan_downward_test_data): Likewise.
5873 (tan_upward_test_data): Likewise.
5874 (tanh_test_data): Likewise.
5875 (tgamma_test_data): Likewise.
5876 (y0_test_data): Likewise.
5877 (y1_test_data): Likewise.
5878 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
5879 (special_real_inputs): Add pi/4.
5880 * sysdeps/i386/fpu/libm-test-ulps: Update.
5881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5882
eb5ad6b9
AZ
58832013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5884
5885 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
5886 "longjmp_target" static probes.
5887 (__longjmp): Rename to __longjmp_symbol.
5888 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5889 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
5890 on which longjmp to generate.
5891 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5892 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
5893 probe.
5894 (__sigsetjmp): Rename to __sigsetjmp_symbol.
5895 (__sigjmp_save): Rename to __sigjmp_save_symbol.
5896 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5897 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
5898 and __sigjmp_save_symbol based on which sigsetjmp to generated.
5899 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
5900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
5901 __longjmp_symbol based on which __longjmp to generate.
5902 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
5903 probe.
5904 (setjmp): Rename to setjmp_symbol.
5905 (__sigsetjmp): Rename to __sigsetjmp_symbol.
5906 (_setjmp): Rename to _setjmp_symbol.
5907 (__sigsetjmp): Rename to __sigsetjmp_symbol.
5908 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
5909 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
5910 which setjmp to generate.
5911 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
5912 "longjmp_target" static probes.
5913
d136c6dc
SP
59142013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5915
9298ecba
SP
5916 * benchtests/README: Add note about output arguments.
5917 * benchtests/bench-sincos.c: Remove file.
5918 * benchtests/sincos-inputs: New file.
5919 * scripts/bench.pl: Identify output arguments and define
5920 static variables for them.
5921
232983e9
SP
5922 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
5923
d136c6dc
SP
5924 [BZ #15941]
5925 * Makefile (INSTALL): Add install-plain.texi as the primary
5926 dependency.
5927 * manual/install-plain.texi: New file.
5928 * manual/install.texi: Include node directive only for
5929 non-plaintext output.
5930
699ff837
JM
59312013-12-04 Joseph Myers <joseph@codesourcery.com>
5932
ab07cea8
JM
5933 * stdlib/longlong.h: Update from GCC.
5934
699ff837
JM
5935 [BZ #6807]
5936 [BZ #15901]
5937 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
5938 * math/w_j0f.c (y0f): Likewise.
5939 * math/w_j0l.c (__y0l): Likewise.
5940 * math/w_j1.c (y1): Likewise.
5941 * math/w_j1f.c (y1f): Likewise.
5942 * math/w_j1l.c (__y1l): Likewise
5943 * math/w_jn.c (yn): Likewise.
5944 * math/w_jnf.c (ynf): Likewise.
5945 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
5946 Bessel function pole errors in _POSIX_ mode. Use NAN as return
5947 value for Bessel function domain errors outside _SVID_ mode.
5948 Adjust sign of return value for yn (negative integer, 0).
5949 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
5950 by zero in return for negative x and set sign appropriately for
5951 negative n.
5952 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
5953 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5954 * math/libm-test.inc (y0_test_data): Add more tests and adjust
5955 expectations in error cases.
5956 (y1_test_data): Likewise.
5957 (yn_test_data): Likewise.
5958 * sysdeps/i386/fpu/libm-test-ulps: Update.
5959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5960
5b118558
UW
59612013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5962
5963 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
5964 "64" to "64-v1". Add "64-v2".
5965 (abi-64-options): Rename to ...
5966 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
5967 (abi-64-condition): Rename to ...
5968 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
5969 (abi-64-ld-soname): Rename to ...
5970 (abi-64-v1-ld-soname): ... this.
5971 (abi-64-v2-options): Define.
5972 (abi-64-v2-condition): Likewise.
5973 (abi-64-v2-ld-soname): Likewise.
5974 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
5975 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
5976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
5977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
5978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
5979
61cd8fe4
UW
59802013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5981 Alan Modra <amodra@gmail.com>
5982
5983 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
5984 New versions for use with the ELFv2 ABI.
5985 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
5986 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
5987 declaration.
5988 (struct La_ppc64v2_retval): Likewise.
5989 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
5990 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
5991 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
5992 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
5993 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
5994 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
5995 Do not save or restore CR.
5996 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
5997 (_dl_profile_resolve): Do no save or restore CR. Support extended
5998 return values for ELFv2 ABI. Fix location of FPR return registers.
5999 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6000 updated values for _CALL_ELF == 2.
6001 (La_regs, La_retval, int_retval): Likewise.
6002
8b8a692c
UW
60032013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6004
6005 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6006 (FRAME_MIN_SIZE_PARM): Likewise.
6007 (FRAME_BACKCHAIN): Likewise.
6008 (FRAME_CR_SAVE): Likewise.
6009 (FRAME_LR_SAVE): Likewise.
6010 (FRAME_TOC_SAVE): Likewise.
6011 (FRAME_PARM_SAVE): Likewise.
6012 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6013 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6014 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6015 (call_mcount_parm_offset): New macro.
6016 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6017 (PROF): Use symbolic stack frame offsets.
6018 (TAIL_CALL_SYSCALL_ERROR): Likewise.
6019 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6020 Redefine in terms of FRAME_MIN_SIZE.
6021 (_dl_runtime_resolve): Use symbolic stack frame offsets.
6022 (_dl_profile_resolve): Likewise. Update comment.
6023 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6024 symbols stack frame offsets.
6025 (__sigsetjmp): Likewise.
6026 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6027 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6028 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6029 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6030
6031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6032 (FRAME_BACKCHAIN): Remove.
6033 (FRAME_CR_SAVE): Likewise.
6034 (FRAME_LR_SAVE): Likewise.
6035 (FRAME_COMPILER_DW): Likewise.
6036 (FRAME_LINKER_DW): Likewise.
6037 (FRAME_TOC_SAVE): Likewise.
6038 (FRAME_PARM_SAVE): Likewise.
6039 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6040 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6041 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6043 (CHECK_SP): Use symbolic stack frame offsets.
6044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6045 zone" instead of caller's parameter save area for temp storage.
6046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6047 Likewise. Also, use symbolic stack frame offsets.
6048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6049 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6050 our own stack frame instead of the caller's.
6051 (__socket): Use symbolic stack frame offsets.
6052
122b66de
UW
60532013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6054 Alan Modra <amodra@gmail.com>
6055
6056 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6057 Define.
6058 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6059 PPC64_LOCAL_ENTRY_OFFSET): Define.
6060 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6061 New function.
6062 (elf_machine_fixup_plt): Call it.
6063 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
6064 reloc arguments.
6065 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
6066 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6067 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
6068 r2 before calling target.
6069
696caf1d
UW
60702013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6071 Alan Modra <amodra@gmail.com>
6072
6073 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6074 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6075 versions of macros to support ELFv2 ABI.
6076 (LOCALENTRY): New macro.
6077 (ENTRY, EALIGN): Use it.
6078 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6079 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6080 fall through into ENTRY entry point.
6081 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6082 Only define if _CALL_ELF != 2.
6083
6084 (elf_machine_matches_host): Verify ABI version matches.
6085 (RTLD_START): Use LOCALENTRY.
6086 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6087 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6088 (PLT_ENTRY_WORDS): New macro.
6089 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6090 (elf_machine_runtime_setup): Support ELFv2 ABI.
6091 (elf_machine_fixup_plt): Likewise.
6092 (elf_machine_plt_conflict): Likewise.
6093 (resolve_ifunc): Likewise.
6094 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6095 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6096 Likewise.
6097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6098 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6100 (makecontext): Support ELFv2 ABI.
6101 * elf/elf.h (EF_PPC64_ABI): Define.
6102
d31beafa
UW
61032013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6104
6105 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6106 New assembler macro.
6107 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6108 [ASSEMBLER] (ENTRY): ... but instead here ...
6109 [ASSEMBLER] (EALIGN): ... and here.
6110 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6111 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6112 [!ASSEMBLER] (ENTRY_2): Use it.
6113 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6114 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
6115 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6116 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6117 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6119 Use PPC64_LOAD_FUNCPTR.
6120
b525166b
UW
61212013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6122
6123 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6124
7ec07d9a
AM
61252013-12-04 Alan Modra <amodra@gmail.com>
6126
6127 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6128 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6129 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6130 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6131
6132 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6133 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6134 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6135 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6136 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6137 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6138
5162e7dd
UW
61392013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6140
6141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6142 (__makecontext): Fix incorrect CFI when backtracing out of
6143 context created via makecontext.
6144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6145 (__setcontext): Fix incorrect CFI during switch to new context.
6146 (__novec_setcontext): Likewise.
6147
19e3372b
OB
61482013-12-04 Ondřej Bílka <neleai@seznam.cz>
6149
6150 [BZ #4772]
6151 * time/strptime_l.c (__strptime_internal): Allow modifiers
6152 in strptime.
6153 * time/tst-strptime.c (day_tests): Add testcase.
6154
6155
ecaf142d
SP
61562013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6157
6158 * scripts/bench.pl: Skip over blank lines.
6159
fbf964ae
PE
61602013-12-04 Paul Eggert <eggert@cs.ucla.edu>
6161
6162 [BZ #926]
6163 * manual/time.texi (Calendar Time): Clarify what timezone functions
6164 use.
6165
fa60a674
AZ
61662013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6167
6168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6169
d674f0ef
OB
61702013-12-04 Ondřej Bílka <neleai@seznam.cz>
6171
6172 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6173 implementation.
6174 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6175 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6176 * debug/memset_chk.c (__memset_chk): Likewise.
6177 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6178 * debug/strncpy_chk.c: Likewise.
6179
17dea188
JM
61802013-12-03 Joseph Myers <joseph@codesourcery.com>
6181
749008ff
JM
6182 [BZ #15268]
6183 [BZ #15425]
6184 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6185 (__ieee754_exp): For possibly underflowing results, check size of
6186 result and force underflow exception if required.
6187 * math/auto-libm-test-in: Add more tests of exp.
6188 * math/auto-libm-test-out: Regenerated.
6189 * sysdeps/i386/fpu/libm-test-ulps: Update.
6190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6191
17dea188
JM
6192 [BZ #16283]
6193 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6194 * math/w_exp2f.c (__exp2f): Likewise.
6195 * math/w_exp2l.c (__exp2l): Likewise.
6196 * math/auto-libm-test-in: Do not allow missing errno on exp2
6197 underflow.
6198 * math/auto-libm-test-out: Regenerated.
6199
b20de2c3
OB
62002013-12-03 Ondřej Bílka <neleai@seznam.cz>
6201
6202 [BZ #16274]
6203 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6204 handle filename validation.
6205 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6206 (do_open): Delete.
6207
d8e2dbe3
JM
62082013-12-03 Joseph Myers <joseph@codesourcery.com>
6209
34e16df5
JM
6210 [BZ #6786]
6211 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6212 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6213 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6214 <float.h>.
6215 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6216 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6217 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6218 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6219 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6220 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6221 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6222 * math/auto-libm-test-in: Don't allow missing errno from erfc.
6223 Add more erfc tests.
6224 * math/auto-libm-test-out: Regenerated.
6225 * sysdeps/i386/fpu/libm-test-ulps: Update.
6226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6227
d8e2dbe3
JM
6228 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6229 exp2, expm1, j0 and j1.
6230 * math/auto-libm-test-out: Regenerated.
6231 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6232 (erfc_test_data): Likewise.
6233 (exp_test_data): Likewise.
6234 (exp_tonearest_test_data): Likewise.
6235 (exp_towardzero_test_data): Likewise.
6236 (exp_downward_test_data): Likewise.
6237 (exp_upward_test_data): Likewise.
6238 (exp10_test_data): Likewise.
6239 (exp2_test_data): Likewise.
6240 (expm1_test_data): Likewise.
6241 (j0_test_data): Likewise.
6242 (j1_test_data): Likewise.
6243 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6244 (input_flag_type): Add flag_xfail_rounding.
6245 (input_flags): Add xfail-rounding.
6246 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6247 (output_for_one_input_case): Handle flag_xfail_rounding.
6248 * sysdeps/i386/fpu/libm-test-ulps: Update.
6249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6250
18d14251
AJ
62512013-12-03 Aurelien Jarno <aurelien@aurel32.net>
6252
3d2e6075 6253 [BZ #16289]
18d14251
AJ
6254 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6255 division by 0.
6256
520d437b
SP
62572013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6258
6259 [BZ #16195]
6260 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6261 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6262 (STAP_PROBE0): New macro.
6263 (STAP_PROBE1): Likewise.
6264 (STAP_PROBE2): Likewise.
6265 (STAP_PROBE3): Likewise.
6266 (STAP_PROBE4): Likewise.
6267
416e0145
OB
62682013-12-02 Ondřej Bílka <neleai@seznam.cz>
6269
6270 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6271
9d17796a
SE
62722013-12-02 Steve Ellcey <sellcey@mips.com>
6273
6274 * benchtests/Makefile (bench): Add sqrt.
6275 (LDLIBS-bench-sqrt): New.
6276 * benchtests/sqrt-input: New.
6277
f524d6a8
PS
62782013-12-02 Pavel Simerda <psimerda@redhat.com>
6279
639a0ef8
PS
6280 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6281 (GAIH_EAI): Likewise.
6282 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6283 (gaih_inet): Likewise.
6284 (getaddrinfo): Don't use GAIH_EAI.
6285
f524d6a8
PS
6286 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6287 (struct gaih): Remove definition.
6288
df3aedaf
SP
62892013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6290
6291 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6292 Use HERRNOP directly.
6293
1ab19dec
AZ
62942013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6295
b42ad38d 6296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 6297
176b0c79
JM
62982013-11-30 Joseph Myers <joseph@codesourcery.com>
6299
6300 * math/gen-auto-libm-tests.c (test_functions): Add more
6301 single-argument functions.
6302 (special_fill_pi_2): New function.
6303 (special_fill_minus_pi_2): Likewise.
6304 (special_fill_pi_6): Likewise.
6305 (special_fill_minus_pi_6): Likewise.
6306 (special_fill_pi_3): Likewise.
6307 (special_fill_2pi_3): Likewise.
6308 (special_fill_e): Likewise.
6309 (special_fill_1_e): Likewise.
6310 (special_fill_e_minus_1): Likewise.
6311 (special_real_inputs): Add more special inputs.
6312 (output_for_one_input_case): Do not require ERANGE on underflow to
6313 zero if round-to-nearest result does not underflow to zero, unless
6314 exact results required.
6315 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
6316 atan, atanh, cbrt, cos and cosh.
6317 * math/auto-libm-test-out: Regenerated.
6318 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
6319 (acos_tonearest_test_data): Likewise.
6320 (acos_towardzero_test_data): Likewise.
6321 (acos_downward_test_data): Likewise.
6322 (acos_upward_test_data): Likewise.
6323 (acosh_test_data): Likewise.
6324 (asin_test_data): Likewise.
6325 (asin_tonearest_test_data): Likewise.
6326 (asin_towardzero_test_data): Likewise.
6327 (asin_upward_test_data): Likewise.
6328 (asinh_test_data): Likewise.
6329 (atan_test_data): Likewise.
6330 (atanh_test_data): Likewise.
6331 (cbrt_test_data): Likewise.
6332 (cos_test_data): Likewise.
6333 (cos_tonearest_test_data): Likewise.
6334 (cos_towardzero_test_data): Likewise.
6335 (cos_downward_test_data): Likewise.
6336 (cos_upward_test_data): Likewise.
6337 (cosh_test_data): Likewise.
6338 (cosh_tonearest_test_data): Likewise.
6339 (cosh_towardzero_test_data): Likewise.
6340 (cosh_downward_test_data): Likewise.
6341 (cosh_upward_test_data): Likewise.
6342 * sysdeps/i386/fpu/libm-test-ulps: Update.
6343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6344
ffb536d0
JM
63452013-11-29 Joseph Myers <joseph@codesourcery.com>
6346
2a77a467
JM
6347 [BZ #6787]
6348 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
6349 * math/w_exp10f.c (__exp10f): Likewise.
6350 * math/w_exp10l.c (__exp10l): Likewise.
6351 * math/libm-test.inc (exp10_test_data): Add more tests and expect
6352 errno settings in existing tests.
6353
ea3bc4e8
JM
6354 [BZ #14032]
6355 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
6356 precision control set to double precision.
6357 * sysdeps/i386/fpu/w_sqrt.c: New file.
6358 * math/auto-libm-test-in: Add more tests.
6359 * math/auto-libm-test-out: Update.
6360
0712c9d8
JM
6361 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
6362 (sqrt_test_tonearest): New function.
6363 (sqrt_towardzero_test_data): New variable.
6364 (sqrt_test_towardzero): New function.
6365 (sqrt_downward_test_data): New variable.
6366 (sqrt_test_downward): New function.
6367 (sqrt_upward_test_data): New variable.
6368 (sqrt_test_upward): New function.
6369 (main): Call the new functions.
6370
ffb536d0
JM
6371 * math/gen-auto-libm-tests.c: New file.
6372 * math/auto-libm-test-in: Likewise.
6373 * math/auto-libm-test-out: New generated file.
6374 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
6375 variables.
6376 (%beautify): Add generated representations of zero.
6377 (top level): Set $auto_input and call parse_auto_input.
6378 (beautify): Remove trailing "f" from hex float constants.
6379 (parse_args): Handle XFAIL_TEST.
6380 (convert_condition): New function.
6381 (or_value): Likewise.
6382 (or_cond_value): Likewise.
6383 (generate_testfile): Handle AUTO_TESTS_* lines.
6384 (parse_auto_input): New function.
6385 * math/libm-test.inc (XFAIL_TEST): New macro.
6386 (ERRNO_UNCHANGED): Update value.
6387 (ERRNO_EDOM): Likewise.
6388 (ERRNO_ERANGE): Likewise.
6389 (IGNORE_RESULT): Likewise.
6390 (TEST_COND_flt_32): New macro.
6391 (TEST_COND_dbl_64): Likewise.
6392 (TEST_COND_ldbl_96_intel): Likewise.
6393 (TEST_COND_ldbl_96_m68k): Likewise.
6394 (TEST_COND_ldbl_128): Likewise.
6395 (TEST_COND_ldbl_128ibm): Likewise.
6396 (TEST_COND_long32): Likewise.
6397 (TEST_COND_long64): Likewise.
6398 (TEST_COND_before_rounding): Likewise.
6399 (TEST_COND_after_rounding): Likewise.
6400 (enable_test): Handle XFAIL_TEST flag.
6401 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
6402 with finite results.
6403 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
6404 auto-libm-test-out.
6405
acd98a8e
AK
64062013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6407 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6408
6409 [BZ #16214]
6410 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
6411 __tls_get_addr_internal instead of __tls_get_offset in order to
6412 avoid GOT pointer dependency. Make rtld export
6413 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
6414 __tls_get_addr since we are a __tls_get_offset platform.
6415 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
6416 GOT pointer being set up before.
6417 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
6418
3c1c46a6
JM
64192013-11-28 Joseph Myers <joseph@codesourcery.com>
6420
7475aef5
JM
6421 * manual/math.texi (Errors in Math Functions): Document accuracy
6422 goals.
6423
8bca7cd8
JM
6424 [BZ #15004]
6425 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
6426 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
6427 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6428 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6429 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6430 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6431 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6432 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6433 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6434 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6435 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6436 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6437 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6438 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6439 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6440 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6441
91a1f3fe
JM
6442 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
6443 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
6444 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
6445 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
6446 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
6447 Likewise.
6448 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
6449 Likewise.
6450 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
6451 Likewise.
6452 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
6453 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
6454 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
6455 atomic-feupdateenv and flt-rounds.
6456 * sysdeps/powerpc/nofpu/Versions (libc): Add
6457 __atomic_feholdexcept, __atomic_feclearexcept,
6458 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
6459 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
6460 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
6461 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
6462 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
6463 here.
6464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6465 Update.
6466
c5df7609
JM
6467 * manual/arith.texi (FP Exceptions): Document that exceptions may
6468 not be raised when matherr is used.
6469 (Math Error Reporting): Document overflow in directed rounding
6470 modes. Document that errno may not be set when finite values are
6471 returned on overflow. Document intent to set errno on underflow
6472 only for underflow to zero.
6473
3c1c46a6
JM
6474 [BZ #16271]
6475 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
6476 round-to-nearest then adjust result for other rounding modes.
6477 * include/fenv.h (fegetround): Use libm_hidden_proto.
6478 * math/fegetround.c (fegetround): Use libm_hidden_def.
6479 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6480 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6481 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6482 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6483 Likewise.
6484 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
6485 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6486 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6487 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
6488
5a4c6d53
SP
64892013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6490
6491 [BZ #16077]
6492 * nss/Versions (libnss_files): Add
6493 _nss_files_gethostbyname3_r.
6494 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
6495 New function.
6496 (HOST_DB_LOOKUP): Remove macro.
6497 (_nss_files_gethostbyname_r): Implement function without the
6498 HOST_DB_LOOKUP macro.
6499 (_nss_files_gethostbyname2_r): Likewise.
6500
897b98ba
OB
65012013-11-28 Ondřej Bílka <neleai@seznam.cz>
6502
6503 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
6504
6f476861
UB
65052013-11-26 Uros Bizjak <ubizjak@gmail.com>
6506
6507 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
6508 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
6509 warning.
6510
bd12ab55
AZ
65112013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6512
6513 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
6514 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
6515 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6516 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6517 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
6518 __fe_nomask_env_priv and attribute_hidden.
6519 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
6520 (libc_feupdateenv_test_ppc): Likewise.
6521 (libc_feresetround_ppc): Likewise.
6522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6523 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
6524 compat_symbol macro.
6525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6526 (__fe_nomask_env): Likewise.
6527 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
6528
52bb6543
OB
65292013-11-26 Ondřej Bílka <neleai@seznam.cz>
6530
6531 * string/Makefile: Remove ifunc tests.
6532 * string/test-string.h: Define TEST_IFUNC.
6533 * string/test-bcopy-ifunc.c: Remove.
6534 * string/test-bzero-ifunc.c: Likewise.
6535 * string/test-memccpy-ifunc.c: Likewise.
6536 * string/test-memchr-ifunc.c: Likewise.
6537 * string/test-memcmp-ifunc.c: Likewise.
6538 * string/test-memcpy-ifunc.c: Likewise.
6539 * string/test-memmem-ifunc.c: Likewise.
6540 * string/test-memmove-ifunc.c: Likewise.
6541 * string/test-mempcpy-ifunc.c: Likewise.
6542 * string/test-memrchr-ifunc.c: Likewise.
6543 * string/test-memset-ifunc.c: Likewise.
6544 * string/test-rawmemchr-ifunc.c: Likewise.
6545 * string/test-stpcpy-ifunc.c: Likewise.
6546 * string/test-stpncpy-ifunc.c: Likewise.
6547 * string/test-strcasecmp-ifunc.c: Likewise.
6548 * string/test-strcasestr-ifunc.c: Likewise.
6549 * string/test-strcat-ifunc.c: Likewise.
6550 * string/test-strchr-ifunc.c: Likewise.
6551 * string/test-strchrnul-ifunc.c: Likewise.
6552 * string/test-strcmp-ifunc.c: Likewise.
6553 * string/test-strcpy-ifunc.c: Likewise.
6554 * string/test-strcspn-ifunc.c: Likewise.
6555 * string/test-strlen-ifunc.c: Likewise.
6556 * string/test-strncasecmp-ifunc.c: Likewise.
6557 * string/test-strncat-ifunc.c: Likewise.
6558 * string/test-strncmp-ifunc.c: Likewise.
6559 * string/test-strncpy-ifunc.c: Likewise.
6560 * string/test-strnlen-ifunc.c: Likewise.
6561 * string/test-strpbrk-ifunc.c: Likewise.
6562 * string/test-strrchr-ifunc.c: Likewise.
6563 * string/test-strspn-ifunc.c: Likewise.
6564 * string/test-strstr-ifunc.c: Likewise.
6565
ab260039 65662013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
6567
6568 * benchtests/Makefile: Remove ifunc tests.
6569 * benchtests/bench-string.h: Define TEST_IFUNC.
6570 * benchtests/bench-bcopy-ifunc.c: Remove.
6571 * benchtests/bench-bzero-ifunc.c: Likewise.
6572 * benchtests/bench-memccpy-ifunc.c: Likewise.
6573 * benchtests/bench-memchr-ifunc.c: Likewise.
6574 * benchtests/bench-memcmp-ifunc.c: Likewise.
6575 * benchtests/bench-memcpy-ifunc.c: Likewise.
6576 * benchtests/bench-memmem-ifunc.c: Likewise.
6577 * benchtests/bench-memmove-ifunc.c: Likewise.
6578 * benchtests/bench-mempcpy-ifunc.c: Likewise.
6579 * benchtests/bench-memrchr-ifunc.c: Likewise.
6580 * benchtests/bench-memset-ifunc.c: Likewise.
6581 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
6582 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
6583 * benchtests/bench-stpcpy-ifunc.c: Likewise.
6584 * benchtests/bench-stpncpy-ifunc.c: Likewise.
6585 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
6586 * benchtests/bench-strcasestr-ifunc.c: Likewise.
6587 * benchtests/bench-strcat-ifunc.c: Likewise.
6588 * benchtests/bench-strchr-ifunc.c: Likewise.
6589 * benchtests/bench-strchrnul-ifunc.c: Likewise.
6590 * benchtests/bench-strcmp-ifunc.c: Likewise.
6591 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
6592 * benchtests/bench-strcpy-ifunc.c: Likewise.
6593 * benchtests/bench-strcspn-ifunc.c: Likewise.
6594 * benchtests/bench-strlen-ifunc.c: Likewise.
6595 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
6596 * benchtests/bench-strncat-ifunc.c: Likewise.
6597 * benchtests/bench-strncmp-ifunc.c: Likewise.
6598 * benchtests/bench-strncpy-ifunc.c: Likewise.
6599 * benchtests/bench-strnlen-ifunc.c: Likewise.
6600 * benchtests/bench-strpbrk-ifunc.c: Likewise.
6601 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 6602 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
6603 * benchtests/bench-strspn-ifunc.c: Likewise.
6604 * benchtests/bench-strstr-ifunc.c: Likewise.
6605
66062013-11-26 Ondřej Bílka <neleai@seznam.cz>
6607
ab260039
OB
6608 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
6609
d1d9eaf4 66102013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 6611
d1d9eaf4
OB
6612 * resolv/netdb.h: Use __glibc_reserved instead __unused.
6613 * rt/aio.h: Likewise.
6614 * sysdeps/gnu/bits/utmp.h: Likewise.
6615 * sysdeps/gnu/bits/utmpx.h: Likewise.
6616 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6617 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
6618 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
6619 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
6620 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
6621 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6622 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
6623 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
6624 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
6625 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6626 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6627 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6628 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
6629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
6630 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6631 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
6632 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6633 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6634 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6635 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
6636 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
6637 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
6638 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
6639 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6640 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6641 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6642 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
6643 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6644 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6645 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6646 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
6647 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
6648 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
6649 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6650 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6651 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
6652 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6653 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6654 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6655 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
6656 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
6657 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6658
a7624ed9
CD
66592013-11-25 Carlos O'Donell <carlos@redhat.com>
6660
6661 [BZ #16245]
6662 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
6663 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
6664
63cfe52b
JM
66652013-11-25 Joseph Myers <joseph@codesourcery.com>
6666
6667 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
6668 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6669 Likewise.
6670
41e8926a
AZ
66712013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6672
6673 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
6674 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
6675 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
6676 (__fesetround): Remove define.
6677 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
6678 rounding and exceptions handling.
6679 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
6680 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
6681 (__fe_nomask_env): Likewise.
6682 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
6683 __fegetround instead of fegetround.
6684 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6685 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
6686
6851bd4d
RM
66872013-11-21 Roland McGrath <roland@hack.frob.com>
6688
070906ff
RM
6689 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
6690 it's there.
6691
6851bd4d
RM
6692 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
6693
84ae135d
MI
66942013-11-21 Meador Inge <meadori@codesourcery.com>
6695
6696 [BZ #11157]
6697 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
6698 (encrypt_r): Likewise.
6699 * malloc/obstack.h (obstack_free): Likewise.
6700 * posix/unistd.h (encrypt): Likewise.
6701
daf75146
GM
67022013-11-21 Guy Martin <gmsoft@tuxicoman.be>
6703
6704 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
6705 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
6706 DL_CALL_DT_FINI() that call the functions directly.
6707 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
6708 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
6709 * elf/dl-fini.c: Likewise.
6710
10ad46bc
OB
67112013-11-20 Ondřej Bílka <neleai@seznam.cz>
6712
6713 * malloc/hooks.c (memalign_check): Add alignment rounding.
6714 * malloc/malloc.c (_mid_memalign): New function.
6715 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
6716 Implement by calling _mid_memalign.
6717 * manual/probes.texi (Memory Allocation Probes): Remove
6718 memory_valloc_retry and memory_pvalloc_retry.
6719
f3fd2628
SP
67202013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6721
4712799f
SP
6722 * locale/programs/locarchive.c (open_archive): Add const
6723 qualifier to ARCHIVEFNAME and copy default fname to
6724 DEFAULT_FNAME.
6725
0417b20f
SP
6726 [BZ #15601]
6727 * libio/tst-widetext.input: Rename Oriya to Odia.
6728 * locale/iso-639.def: Likewise.
6729
f3fd2628
SP
6730 * manual/probes.texi (Mathematical Function Probes): Add
6731 documentation for sin, cos, asin and acos probes.
6732 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
6733 (__sin32): Add slowasin probe.
6734 (__cos32): Add slowacos probe.
6735 (__mpsin): Add slowsin probe.
6736 (__mpcos): Add slowcos probe.
6737
73c1ce4f
JM
67382013-11-19 Joseph Myers <joseph@codesourcery.com>
6739
6740 [BZ #15483]
6741 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
6742 thread-local __sim_exceptions_thread and global
6743 __sim_exceptions_global.
6744 (__sim_disabled_exceptions): Change to thread-local
6745 __sim_disabled_exceptions_thread and global
6746 __sim_disabled_exceptions_global.
6747 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6748 and global __sim_round_mode_global.
6749 (__simulate_exceptions): Use thread-local floating-point state and
6750 set global state from it as needed.
6751 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
6752 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
6753 __sim_round_mode_thread.
6754 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
6755 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
6756 and global __sim_exceptions_global.
6757 (__sim_disabled_exceptions): Change to thread-local
6758 __sim_disabled_exceptions_thread and global
6759 __sim_disabled_exceptions_global.
6760 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6761 and global __sim_round_mode_global.
6762 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
6763 (SIM_SET_GLOBAL): Likewise.
6764 * sysdeps/powerpc/soft-fp/sfp-machine.h
6765 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
6766 __sim_round_mode_thread.
6767 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
6768 __sim_disabled_exceptions_thread.
6769 (__sim_exceptions): Change to __sim_exceptions_thread.
6770 (__sim_disabled_exceptions): Change to
6771 __sim_disabled_exceptions_thread.
6772 (__sim_round_mode): Change to __sim_round_mode_thread.
6773 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
6774 thread-local floating-point state and set global state from it as
6775 needed.
6776 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
6777 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
6778 (__sim_disabled_exceptions): Remove extern declaration.
6779 (feenableexcept): Use thread-local floating-point state and set
6780 global state from it as needed.
6781 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
6782 extern declaration.
6783 (__sim_disabled_exceptions): Likewise.
6784 (__sim_round_mode): Likewise.
6785 (__fegetenv): Use thread-local floating-point state.
6786 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
6787 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6788 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
6789 floating-point state and set global state from it as needed.
6790 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
6791 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6792 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
6793 Likewise.
6794 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6795 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
6796 Likewise.
6797 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
6798 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
6799 Use __sim_round_mode_thread.
6800 * math/test-fenv-tls.c: New file.
6801 * math/Makefile (tests): Add test-fenv-tls.
6802 ($(objpfx)test-fenv-tls): Depend on
6803 $(common-objpfx)nptl/libpthread.so.
6804
b5449b12
AS
68052013-11-19 Andreas Schwab <schwab@suse.de>
6806
6807 * locale/programs/locale.c (show_info): Decode wordarray elements.
6808 * locale/categories.def (LC_MONETARY): Add element for
6809 _NL_MONETARY_CRNCYSTR.
6810 * locale/C-monetary.c (conversion_rate): New variable.
6811 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
6812 element.
6813
e186536b
CM
68142013-11-18 Chris Metcalf <cmetcalf@tilera.com>
6815
6816 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
6817 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
6818
5c349950
PP
68192013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6820
6821 * elf/Makefile (tst-auxv): New test.
6822 * elf/tst-auxv.c: New
6823 * elf/rtld.c (dl_main): Adjust AT_EXECFN
6824
699df45b
JM
68252013-11-18 Joseph Myers <joseph@codesourcery.com>
6826
6827 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
6828 (hidden_proto): Caller changed.
6829 (hidden_tls_proto): New macro.
6830 (libc_hidden_tls_proto): Likewise.
6831 (rtld_hidden_tls_proto): Likewise.
6832 (libm_hidden_tls_proto): Likewise.
6833 (libresolv_hidden_tls_proto): Likewise.
6834 (librt_hidden_tls_proto): Likewise.
6835 (libdl_hidden_tls_proto): Likewise.
6836 (libnss_files_hidden_tls_proto): Likewise.
6837 (libnsl_hidden_tls_proto): Likewise.
6838 (libnss_nisplus_hidden_tls_proto): Likewise.
6839 (libutil_hidden_tls_proto): Likewise.
6840
b7589107
OB
68412013-11-18 Ondřej Bílka <neleai@seznam.cz>
6842
6843 [BZ #10253]
6844 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
6845 (decompose_rpath): Defer expansion to fillin_rpath.
6846 (_dl_init_paths): Pass linkmap to fillin_rpath.
6847
250c23bd
RS
68482013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6849
6850 * benchtests/Makefile: Add strsep.
6851 * benchtests/bench-strsep.c: New file: strsep benchtest.
6852 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
6853
a7931fcf
AS
68542013-11-18 Andreas Schwab <schwab@suse.de>
6855
6856 * locale/programs/locale.c (show_info) [case byte]: Check for
6857 '\377' instead of '\177'.
6858 * locale/C-monetary.c (not_available): Always use "\377".
6859 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
6860 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
6861 detect unavailable sign_posn locale elements.
6862 * locale/localeconv.c (__localeconv): For grouping and
6863 mon_grouping handle "\177" and "\377" like no grouping.
6864 (INT_ELEM): New macro. Use it to set all numeric members.
6865 * locale/programs/ld-monetary.c (monetary_read)
6866 <tok_mon_grouping>: Normalize single -1 to the empty string.
6867 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
6868 Likewise.
6869
728dab0e
OB
68702013-11-07 Ondřej Bílka <neleai@seznam.cz>
6871
6872 [BZ #16055]
6873 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
6874 when we match (nil).
6875 * stdio-common/tst-sscanf.c (struct test): Add testcase.
6876
66294491
JM
68772013-11-16 Joseph Myers <joseph@codesourcery.com>
6878
ce665817
JM
6879 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
6880 (NO_TEST_INLINE): Update value.
6881 (ERRNO_UNCHANGED): Likewise.
6882 (ERRNO_EDOM): Likewise.
6883 (ERRNO_ERANGE): Likewise.
6884 (IGNORE_RESULT): Likewise.
6885 (check_float_internal): Check signs of NaN results if
6886 TEST_NAN_SIGN used.
6887 (check_complex): Pass TEST_NAN_SIGN flag through to second
6888 check_float_internal call.
6889 (copysign_test_data): Add tests with quiet NaNs as second
6890 argument. Use TEST_NAN_SIGN.
6891 (fabs_test_data): Add test of negative quiet NaN argument. Use
6892 TEST_NAN_SIGN.
6893 (signbit_test_data): Add tests of quiet NaN argument.
6894 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
6895
ee1466a9
JM
6896 * math/gen-libm-test.pl (show_exceptions): Take extra argument
6897 $ignore_result.
6898 (parse_args): Handle function results specified as IGNORE.
6899 * math/libm-test.inc (IGNORE_RESULT): New macro.
6900 (check_float_internal): Do not check numerical result if flag
6901 IGNORE_RESULT set.
6902 (check_complex): Pass through IGNORE_RESULT to second
6903 check_float_internal call.
6904 (check_int): Do not check numerical result if flag IGNORE_RESULT
6905 set.
6906 (check_long): Likewise.
6907 (check_bool): Likewise.
6908 (check_longlong): Likewise.
6909 (lrint_test_data): Add tests of infinite and NaN arguments.
6910 (lrint_tonearest_test_data): Likewise.
6911 (lrint_towardzero_test_data): Likewise.
6912 (lrint_downward_test_data): Likewise.
6913 (lrint_upward_test_data): Likewise.
6914 (llrint_test_data): Likewise.
6915 (llrint_tonearest_test_data): Likewise.
6916 (llrint_towardzero_test_data): Likewise.
6917 (llrint_downward_test_data): Likewise.
6918 (llrint_upward_test_data): Likewise.
6919 (lround_test_data): Likewise.
6920 (llround_test_data): Likewise.
6921
14407b7e
JM
6922 * math/libm-test.inc (NO_TEST_INLINE): New macro.
6923 (ERRNO_UNCHANGED): Update value.
6924 (ERRNO_EDOM): Likewise.
6925 (ERRNO_ERANGE): Likewise.
6926 (NO_TEST_INLINE_FLOAT): New macro.
6927 (NO_TEST_INLINE_DOUBLE): Likewise.
6928 (enable_test): New function.
6929 (RUN_TEST_f_f): Check enable_test before running test.
6930 (RUN_TEST_2_f): Likewise.
6931 (RUN_TEST_fff_f): Likewise.
6932 (RUN_TEST_c_f): Likewise.
6933 (RUN_TEST_f_f1): Likewise.
6934 (RUN_TEST_fF_f1): Likewise.
6935 (RUN_TEST_fI_f1): Likewise.
6936 (RUN_TEST_ffI_f1): Likewise.
6937 (RUN_TEST_c_c): Likewise.
6938 (RUN_TEST_cc_c): Likewise.
6939 (RUN_TEST_f_i): Likewise.
6940 (RUN_TEST_f_i_tg): Likewise.
6941 (RUN_TEST_ff_i_tg): Likewise.
6942 (RUN_TEST_f_b): Likewise.
6943 (RUN_TEST_f_b_tg): Likewise.
6944 (RUN_TEST_f_l): Likewise.
6945 (RUN_TEST_f_L): Likewise.
6946 (RUN_TEST_fFF_11): Likewise.
6947 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
6948 conditionals.
6949 (cosh_test_data): Likewise.
6950 (exp_test_data): Likewise.
6951 (expm1_test_data): Likewise.
6952 (hypot_test_data): Likewise.
6953 (pow_test_data): Likewise.
6954 (sinh_test_data): Likewise.
6955 (tanh_test_data): Likewise.
6956 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
6957 flags argument.
6958
ca07f197
JM
6959 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
6960 tests with quiet NaN input and output.
6961 (acosh_test_data): Likewise.
6962 (asin_test_data): Likewise.
6963 (asinh_test_data): Likewise.
6964 (atan_test_data): Likewise.
6965 (atanh_test_data): Likewise.
6966 (atan2_test_data): Likewise.
6967 (cbrt_test_data): Likewise.
6968 (cos_test_data): Likewise.
6969 (cosh_test_data): Likewise.
6970 (erf_test_data): Likewise.
6971 (erfc_test_data): Likewise.
6972 (exp_test_data): Likewise.
6973 (exp10_test_data): Likewise.
6974 (exp2_test_data): Likewise.
6975 (expm1_test_data): Likewise.
6976 (hypot_test_data): Likewise.
6977 (j0_test_data): Likewise.
6978 (j1_test_data): Likewise.
6979 (jn_test_data): Likewise.
6980 (lgamma_test_data): Likewise.
6981 (log_test_data): Likewise.
6982 (log10_test_data): Likewise.
6983 (log1p_test_data): Likewise.
6984 (log2_test_data): Likewise.
6985 (pow_test_data): Likewise.
6986 (scalb_test_data): Likewise.
6987 (sin_test_data): Likewise.
6988 (sincos_test_data): Likewise.
6989 (sinh_test_data): Likewise.
6990 (tan_test_data): Likewise.
6991 (tanh_test_data): Likewise.
6992 (tgamma_test_data): Likewise.
6993 (y0_test_data): Likewise.
6994 (y1_test_data): Likewise.
6995 (yn_test_data): Likewise.
6996
66294491
JM
6997 [BZ #16167]
6998 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
6999 argument being NaN and avoid computations with second argument in
7000 that case.
7001 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7002 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7003 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7004
1820b143
CL
70052013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
7006
7007 * locale/iso-639.def: Add Chitwani Tharu (the).
7008
714bd261
AS
70092013-11-14 Andreas Schwab <schwab@suse.de>
7010
7011 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7012 word instead of empty string.
7013
7ab44563
AZ
70142013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7015
7016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7017 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7019 (__fe_nomask_env): Likewise.
7020
e8470ea2
SE
70212013-11-13 Steve Ellcey <sellcey@mips.com>
7022
7023 * benchtests/bench-timing.h: Include time.h.
7024
17c1d9f0
L
70252013-11-13 H.J. Lu <hongjiu.lu@intel.com>
7026
7027 [BZ #15997]
7028 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7029 to 3.4.0 for x32.
7030 * sysdeps/unix/sysv/linux/configure: Regenerated.
7031
9310c284
JM
70322013-11-13 Joseph Myers <joseph@codesourcery.com>
7033
7034 [BZ #16151]
7035 * stdlib/strtod_l.c (round_and_return): Do not consider
7036 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7037 exponent one less than half the least subnormal exponent.
7038 * stdlib/test-strtod-round-data: Add more tests.
7039 * stdlib/tst-strtod-round.c (tests): Regenerated.
7040
7a2ad8cf
AZ
70412013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7042
7043 [BZ #14143]
7044 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7045 (__fe_mask_env): Likewise.
7046 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7047 libm_hidden_proto and add function prototype.
7048 (__fe_mask_env): Add function prototype.
7049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7050 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7052 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7054 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7055
50727aa7
MS
70562013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7057
b2f386c1 7058 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
7059 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7060
a615be46
MS
70612013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7062
7063 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7064 of htab_find_slot().
7065
7ddace62
DM
70662013-11-11 David S. Miller <davem@davemloft.net>
7067
7068 [BZ #16150]
7069 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7070 symbol in the non-vis3 case in static builds.
7071 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7072 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7073 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7074 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7075
9182aa67
JK
70762013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7077
7078 [BZ #387]
7079 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7080 it is empty.
7081
450a2e2d
AZ
70822013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7083
b2f386c1
SP
7084 * benchtests/Makefile: Add bench-strtod.
7085 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 7086
8ec3f656
AS
70872013-11-11 Andreas Schwab <schwab@suse.de>
7088
7089 [BZ #16153]
7090 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7091 terminating NUL in key length.
7092
76a9b998
AZ
70932013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7094
7095 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7096 Add artificial ODP entry for vDSO symbol for PPC64.
7097 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7098 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7099
e4368156
OB
71002013-11-07 Ondřej Bílka <neleai@seznam.cz>
7101
7102 [BZ #15374]
7103 * nss/getent.c (services_keys): Recognize services starting with digit.
7104
8d6bb57c
DM
71052013-11-06 David S. Miller <davem@davemloft.net>
7106
7107 [BZ #15985]
7108 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7109 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7110
e256c421
WN
71112013-11-06 Will Newton <will.newton@linaro.org>
7112
7113 * manual/memory.texi (Malloc Examples): Remove register
7114 keyword from examples.
7115
f6e12daa 71162013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 7117
f6e12daa 7118 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 7119
9d880655
AS
71202013-11-04 Joseph Myers <joseph@codesourcery.com>
7121
fd2f9486 7122 [BZ #6981]
9d880655
AS
7123 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7124 depending on [__GCC_IEC_559 > 0].
7125 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7126 depending on [__GCC_IEC_559_COMPLEX > 0].
7127
ae129d3c
CL
71282013-11-03 Chris Leonard <cjl@sugarlabs.org>
7129
7130 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7131 to iso-639.def.
7132
4a15c2a4 71332013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
7134
7135 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7136
8b35e35d
OB
71372013-11-01 Ondřej Bílka <neleai@seznam.cz>
7138
7139 [BZ #16112]
7140 * malloc/malloc (malloc_info): Do not handle first bin as
7141 special case.
7142
1d70fd6c
CL
71432013-11-01 Chris Leonard <cjl@sugarlabs.org>
7144
7145 * locale/iso-639.def: Add Central Nahuatl (nhn).
7146
8c5c2600
BH
71472013-11-01 Bruno Haible <bruno@clisp.org>
7148
7149 [BZ #7003]
7150 * manual/math.texi (BSD Random): Specify range upper bound as
7151 in POSIX.
7152
da5579c2
CL
71532013-10-31 Chris Leonard <cjl@sugarlabs.org>
7154
7155 * locale/iso-639.def: Add Meadow Mari (mhr).
7156
5d30d853
OB
71572013-10-31 Ondřej Bílka <neleai@seznam.cz>
7158
7159 [BZ #14752], [BZ #15763]
7160 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7161 Validate name.
7162 * rt/tst_shm.c: Add test for escaping directory.
7163
a4966c61
AS
71642013-10-31 Andreas Schwab <schwab@suse.de>
7165
8a43e768 7166 [BZ #15917]
a4966c61
AS
7167 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7168 followed by 'x' as part of digit sequence.
7169 * stdio-common/tst-sscanf.c (double_tests2): New tests.
7170
28d708c4
MAP
71712013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7172
7173 [BZ #16037]
7174 * configure.ac: allow GNU Make 4.0 and greater.
7175 * configure: Regenerated.
7176
a56ee40b
WN
71772013-10-30 Will Newton <will.newton@linaro.org>
7178
7179 [BZ #16038]
7180 * malloc/hooks.c (memalign_check): Limit alignment to the
7181 maximum representable power of two.
7182 * malloc/malloc.c (__libc_memalign): Likewise.
7183 * malloc/tst-memalign.c (do_test): Add test for very
7184 large alignment values.
7185 * malloc/tst-posix_memalign.c (do_test): Likewise.
7186
c6e4925d
OB
71872013-10-30 Ondřej Bílka <neleai@seznam.cz>
7188
7189 [BZ #11087]
7190 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7191 (munmap_chunk): Likewise.
7192 (mremap_chunk): Likewise.
7193
71942013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 7195
8a43e768 7196 [BZ #15799]
bbea82f7
OB
7197 * stdlib/div.c (div): Remove obsolete code.
7198 * stdlib/ldiv.c (ldiv): Likewise.
7199 * stdlib/lldiv.c (lldiv): Likewise.
7200
977f4b31
SP
72012013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7202
7203 [BZ #16071]
7204 * nss/nss_files/files-XXX.c (get_contents_ret): New
7205 enumerator.
7206 (get_contents): New function.
7207 (internal_getent): Use it. Expand size of LINEBUFLEN.
7208
cb8a6dbd
MF
72092013-10-30 Mike Frysinger <vapier@gentoo.org>
7210
7211 * configure.in: Moved to ...
7212 * configure.ac: ... here. Change reference to configure.in
7213 to configure.ac.
7214 * sysdeps/arm/preconfigure.ac: ... here.
7215 configure.in to configure.ac.
7216 * sysdeps/gnu/configure.in: Moved to ...
7217 * sysdeps/gnu/configure.ac: ... here.
7218 * sysdeps/i386/configure.in: Moved to ...
7219 * sysdeps/i386/configure.ac: ... here.
7220 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7221 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7222 * sysdeps/mach/configure.in: Moved to ...
7223 * sysdeps/mach/configure.ac: ... here.
7224 * sysdeps/mach/hurd/configure.in: Moved to ...
7225 * sysdeps/mach/hurd/configure.ac: ... here.
7226 * sysdeps/powerpc/configure.in: Moved to ...
7227 * sysdeps/powerpc/configure.ac: ... here.
7228 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7229 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7230 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7231 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7232 * sysdeps/s390/s390-32/configure.in: Moved to ...
7233 * sysdeps/s390/s390-32/configure.ac: ... here.
7234 * sysdeps/s390/s390-64/configure.in: Moved to ...
7235 * sysdeps/s390/s390-64/configure.ac: ... here.
7236 * sysdeps/sh/configure.in: Moved to ...
7237 * sysdeps/sh/configure.ac: ... here.
7238 * sysdeps/sparc/configure.in: Moved to ...
7239 * sysdeps/sparc/configure.ac: ... here.
7240 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7241 * sysdeps/unix/sysv/linux/configure.ac: ... here.
7242 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7243 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7244 * sysdeps/x86_64/configure.in: Moved to ...
7245 * sysdeps/x86_64/configure.ac: ... here.
7246 * sysdeps/x86_64/preconfigure.in: Moved to ...
7247 * sysdeps/x86_64/preconfigure.ac: ... here.
7248 * aclocal.m4: Change reference to configure.in to configure.ac.
7249 * config.h.in: Likewise.
7250 * manual/install.texi: Likewise.
7251 * manual/maint.texi: Likewise.
7252 * Makefile: Likewise.
7253 * malloc/Makefile: Likewise.
7254 * nscd/Makefile: Likewise.
7255 * Makeconfig: Change reference to configure.in and
7256 preconfigure.in to configure.ac and preconfigure.ac
7257 respectively.
7258 * INSTALL: Regenerated.
7259 * configure: Likewise.
7260 * sysdeps/gnu/configure: Likewise.
7261 * sysdeps/i386/configure: Likewise.
7262 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7263 * sysdeps/mach/configure: Likewise.
7264 * sysdeps/mach/hurd/configure: Likewise.
7265 * sysdeps/powerpc/configure: Likewise.
7266 * sysdeps/powerpc/powerpc32/configure: Likewise.
7267 * sysdeps/powerpc/powerpc64/configure: Likewise.
7268 * sysdeps/s390/s390-32/configure: Likewise.
7269 * sysdeps/s390/s390-64/configure: Likewise.
7270 * sysdeps/sh/configure: Likewise.
7271 * sysdeps/sparc/configure: Likewise.
7272 * sysdeps/unix/sysv/linux/configure: Likewise.
7273 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7274 * sysdeps/x86_64/configure: Likewise.
7275 * sysdeps/x86_64/preconfigure: Likewise.
7276
36a4953a
AS
72772013-10-29 Andreas Schwab <schwab@suse.de>
7278
7279 * stdio-common/Makefile (tst-swscanf-ENV): Define.
7280
c79a1204
SP
72812013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7282
dfa1b402
SP
7283 * benchtests/pow-inputs: Add new inputs.
7284
54f73d9c
SP
7285 * benchtests/exp-inputs: Add new inputs.
7286
c79a1204
SP
7287 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7288 conditional check for return value.
7289 (__cos32): Likewise.
7290
67beb545 72912013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
7292
7293 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7294 to provide a boost for large inputs with word alignment.
7295 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7296 implementation based on optimized PPC64 strcpy.
7297 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7298 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7299 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7300 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7301
151659f6
OB
73022013-10-25 Ondřej Bílka <neleai@seznam.cz>
7303
482a077e 7304 [BZ #2801]
151659f6
OB
7305 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7306
10b0f26b
OB
73072013-10-25 Ondřej Bílka <neleai@seznam.cz>
7308
7309 [BZ #14876]
7310 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7311 * time/tst-strptime.c (day_tests): Add testcase.
7312
ca42d35e
OB
73132013-10-25 Ondřej Bílka <neleai@seznam.cz>
7314
482a077e 7315 [BZ #14029]
ca42d35e
OB
7316 * manual/pattern.texi: Acknowledge that fnmatch can fail.
7317
52e6d801
FB
73182013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
7319
7320 [BZ #16074]
7321 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
7322 MAP_FAILED on error.
7323
7cbcdb36
SP
73242013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7325
7326 [BZ #16072]
7327 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
7328 heap for large requests.
7329
894f3f10
AM
73302013-10-25 Aurelien Jarno <aurelien@aurel32.net>
7331
7332 [BZ #9954]
7333 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
7334 result if the result has no associated interface.
7335 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
7336 interface for all 127.X.Y.Z addresses.
7337
b85545a6
CL
73382013-10-24 Chris Leonard <cjl@sugarlabs.org>
7339
7340 * locale/iso-639.def: Add Ligurian (lij)
7341
d1f23d46
OB
73422013-10-21 Ondřej Bílka <neleai@seznam.cz>
7343
7344 [BZ #15825]
7345 * sunrpc/rpc_main.c: Document rpcgen -5.
7346
4db5b08f
MS
73472013-10-19 Michael Stahl <mstahl@redhat.com>
7348
7349 * elf/rtld.c (do_preload): Print the reason why preloading failed.
7350
a471e96a
OB
73512013-10-19 Ondřej Bílka <neleai@seznam.cz>
7352
d1f23d46 7353 [BZ #10278]
a471e96a
OB
7354 * posix/glob.c: Match only directories when trailing slash is present.
7355 * posix/tst-gnuglob.c (my_opendir): Do not open files.
7356 (main): Add testcase.
7357
45c30c61
OB
73582013-10-19 Ondřej Bílka <neleai@seznam.cz>
7359
7360 [BZ #15670]
7361 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
7362
484c12fb
CD
73632013-10-18 Carlos O'Donell <carlos@redhat.com>
7364
3d7dc513
CD
7365 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
7366 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
7367 AUTH_DES and cindex for FIPS 140-2.
7368 (DES Encryption): Add cindex FIPS 46-3.
7369
484c12fb
CD
7370 * locale/locarchive.h (struct locarhandle): Add fname.
7371 * locale/programs/localedef.c (main): Pass ARGV[remaining]
7372 if an optional argument was specified to --list-archive,
7373 otherwise NULL.
7374 * locale/programs/locarchive.c (show_archive_content): Take new
7375 argument fname and pass it via ah.fname to open_archive.
7376 * locale/programs/localedef.h: Update decl.
7377 (open_archive): If AH->fname is non-null, open that file
7378 rather than the default file name, and don't ignore ENOENT.
7379 (create_archive): Set AH.fname to NULL.
7380 (delete_locales_from_archive): Likewise.
7381 (add_locales_to_archive): Likewise.
7382 * locale/programs/locfile.c (write_all_categories): Likewise.
7383
3c8325fb
JM
73842013-10-18 Joseph Myers <joseph@codesourcery.com>
7385 Aldy Hernandez <aldyh@redhat.com>
7386
7387 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
7388 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
7389 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
7390 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
7391 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
7392 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
7393 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
7394 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
7395 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
7396 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
7397 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
7398 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
7399 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
7400 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
7401 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
7402 Likewise.
7403 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
7404 Likewise.
7405 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
7406 Likewise.
7407 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
7408 Likewise.
7409 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
7410 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
7411 Likewise.
7412 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
7413 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
7414 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
7415 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
7416 Likewise.
7417 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
7418 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
7419 * sysdeps/powerpc/preconfigure: Likewise.
7420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
7421 Likewise.
7422 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
7423 Replace contents of file by #include of <fenv_libc.h>.
7424 * sysdeps/powerpc/soft-fp/sfp-machine.h
7425 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
7426 and <sys/prctl.h>.
7427 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
7428 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
7429 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
7430 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
7431 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
7432 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
7433 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
7434 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
7435 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
7436 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
7437 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
7438 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
7439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7440 Allow copysignl PLT reference to be missing.
7441
5abe0682
RS
74422013-10-18 Richard Sandiford <richard@codesourcery.com>
7443 Joseph Myers <joseph@codesourcery.com
7444
7445 [BZ #15948]
7446 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
7447 single character.
7448 (add_to_tablewc): Assert sequence of wide characters is nonempty.
7449
c7738d08
SP
74502013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7451
7452 * elf/tst-tls-dlinfo.c: Don't include tls.h.
7453 * elf/tst-tls1.c: Likewise.
7454 * elf/tst-tls10.h: Likewise.
7455 * elf/tst-tls14.c: Likewise.
7456 * elf/tst-tls2.c: Likewise.
7457 * elf/tst-tls3.c: Likewise.
7458 * elf/tst-tls4.c: Likewise.
7459 * elf/tst-tls5.c: Likewise.
7460 * elf/tst-tls6.c: Likewise.
7461 * elf/tst-tls7.c: Likewise.
7462 * elf/tst-tls8.c: Likewise.
7463 * elf/tst-tls9.c: Likewise.
7464 * elf/tst-tlsmod1.c: Likewise.
7465 * elf/tst-tlsmod13.c: Likewise.
7466 * elf/tst-tlsmod13a.c: Likewise.
7467 * elf/tst-tlsmod14a.c: Likewise.
7468 * elf/tst-tlsmod16a.c: Likewise.
7469 * elf/tst-tlsmod16b.c: Likewise.
7470 * elf/tst-tlsmod2.c: Likewise.
7471 * elf/tst-tlsmod3.c: Likewise.
7472 * elf/tst-tlsmod4.c: Likewise.
7473 * elf/tst-tlsmod5.c: Likewise.
7474 * elf/tst-tlsmod6.c: Likewise.
7475
0bfcf2c7
OB
74762013-10-18 Ondřej Bílka <neleai@seznam.cz>
7477
7478 [BZ #12486]
7479 * malloc/malloc.c: remove checks for statistics.
7480
264aad1e
OB
74812013-10-17 Ondřej Bílka <neleai@seznam.cz>
7482
7483 [BZ #15277]
7484 * inet/inet_net.c (inet_network): Detect additional invalid strings.
7485 * inet/tst-network.c: Add testcase.
7486
b957ced8
AS
74872013-10-17 Andreas Schwab <schwab@suse.de>
7488
7489 [BZ #15218]
7490 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
7491 to determine canonical name.
7492
c5d5d574
OB
74932013-10-17 Ondřej Bílka <neleai@seznam.cz>
7494
7495 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
7496 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
7497 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7498 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7499 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7500 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7501 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7502 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7503 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7504 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7505 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7506 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7507 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7508 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7509 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7510 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7511 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7512 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7513 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7514 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7515 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7516 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7517 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7518 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
7519 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
7520 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7521 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7522 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
7523 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7524 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
7525 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7526 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7527 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7528 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7529 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7530 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7531 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7532 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7533 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7534 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7535 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7536 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7537 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7538 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7539 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7540 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7541 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7542 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7543 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7544 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7545 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7546 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7547 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7548 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7549 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7550 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7551 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7552 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7553
e5c2c2d0
JM
75542013-10-17 Joseph Myers <joseph@codesourcery.com>
7555
7556 [BZ #16041]
7557 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
7558 make result into a quiet NaN.
7559
51ca9e29
JM
75602013-10-16 Joseph Myers <joseph@codesourcery.com>
7561
7562 * soft-fp/adddf3.c: Fix horizontal whitespace.
7563 * soft-fp/addsf3.c: Likewise.
7564 * soft-fp/addtf3.c: Likewise.
7565 * soft-fp/divdf3.c: Likewise.
7566 * soft-fp/divsf3.c: Likewise.
7567 * soft-fp/divtf3.c: Likewise.
7568 * soft-fp/double.h: Likewise.
7569 * soft-fp/eqdf2.c: Likewise.
7570 * soft-fp/eqsf2.c: Likewise.
7571 * soft-fp/eqtf2.c: Likewise.
7572 * soft-fp/extenddftf2.c: Likewise.
7573 * soft-fp/extended.h: Likewise.
7574 * soft-fp/extendsfdf2.c: Likewise.
7575 * soft-fp/extendsftf2.c: Likewise.
7576 * soft-fp/extendxftf2.c: Likewise.
7577 * soft-fp/fixdfdi.c: Likewise.
7578 * soft-fp/fixdfsi.c: Likewise.
7579 * soft-fp/fixdfti.c: Likewise.
7580 * soft-fp/fixsfdi.c: Likewise.
7581 * soft-fp/fixsfsi.c: Likewise.
7582 * soft-fp/fixsfti.c: Likewise.
7583 * soft-fp/fixtfdi.c: Likewise.
7584 * soft-fp/fixtfsi.c: Likewise.
7585 * soft-fp/fixtfti.c: Likewise.
7586 * soft-fp/fixunsdfdi.c: Likewise.
7587 * soft-fp/fixunsdfsi.c: Likewise.
7588 * soft-fp/fixunsdfti.c: Likewise.
7589 * soft-fp/fixunssfdi.c: Likewise.
7590 * soft-fp/fixunssfsi.c: Likewise.
7591 * soft-fp/fixunssfti.c: Likewise.
7592 * soft-fp/fixunstfdi.c: Likewise.
7593 * soft-fp/fixunstfsi.c: Likewise.
7594 * soft-fp/fixunstfti.c: Likewise.
7595 * soft-fp/floatdidf.c: Likewise.
7596 * soft-fp/floatdisf.c: Likewise.
7597 * soft-fp/floatditf.c: Likewise.
7598 * soft-fp/floatsidf.c: Likewise.
7599 * soft-fp/floatsisf.c: Likewise.
7600 * soft-fp/floatsitf.c: Likewise.
7601 * soft-fp/floattidf.c: Likewise.
7602 * soft-fp/floattisf.c: Likewise.
7603 * soft-fp/floattitf.c: Likewise.
7604 * soft-fp/floatundidf.c: Likewise.
7605 * soft-fp/floatundisf.c: Likewise.
7606 * soft-fp/floatunditf.c: Likewise.
7607 * soft-fp/floatunsidf.c: Likewise.
7608 * soft-fp/floatunsisf.c: Likewise.
7609 * soft-fp/floatunsitf.c: Likewise.
7610 * soft-fp/floatuntidf.c: Likewise.
7611 * soft-fp/floatuntisf.c: Likewise.
7612 * soft-fp/floatuntitf.c: Likewise.
7613 * soft-fp/fmadf4.c: Likewise.
7614 * soft-fp/fmasf4.c: Likewise.
7615 * soft-fp/fmatf4.c: Likewise.
7616 * soft-fp/gedf2.c: Likewise.
7617 * soft-fp/gesf2.c: Likewise.
7618 * soft-fp/getf2.c: Likewise.
7619 * soft-fp/ledf2.c: Likewise.
7620 * soft-fp/lesf2.c: Likewise.
7621 * soft-fp/letf2.c: Likewise.
7622 * soft-fp/muldf3.c: Likewise.
7623 * soft-fp/mulsf3.c: Likewise.
7624 * soft-fp/multf3.c: Likewise.
7625 * soft-fp/negdf2.c: Likewise.
7626 * soft-fp/negsf2.c: Likewise.
7627 * soft-fp/negtf2.c: Likewise.
7628 * soft-fp/op-1.h: Likewise.
7629 * soft-fp/op-2.h: Likewise.
7630 * soft-fp/op-4.h: Likewise.
7631 * soft-fp/op-8.h: Likewise.
7632 * soft-fp/op-common.h: Likewise.
7633 * soft-fp/quad.h: Likewise.
7634 * soft-fp/single.h: Likewise.
7635 * soft-fp/soft-fp.h: Likewise.
7636 * soft-fp/sqrtdf2.c: Likewise.
7637 * soft-fp/sqrtsf2.c: Likewise.
7638 * soft-fp/sqrttf2.c: Likewise.
7639 * soft-fp/subdf3.c: Likewise.
7640 * soft-fp/subsf3.c: Likewise.
7641 * soft-fp/subtf3.c: Likewise.
7642 * soft-fp/truncdfsf2.c: Likewise.
7643 * soft-fp/trunctfdf2.c: Likewise.
7644 * soft-fp/trunctfsf2.c: Likewise.
7645 * soft-fp/trunctfxf2.c: Likewise.
7646 * soft-fp/unorddf2.c: Likewise.
7647 * soft-fp/unordsf2.c: Likewise.
7648 * soft-fp/unordtf2.c: Likewise.
7649
9ebb0332
JM
76502013-10-15 Joseph Myers <joseph@codesourcery.com>
7651
7652 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
7653 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
7654
4b1a6d8b
OB
76552013-10-15 Ondřej Bílka <neleai@seznam.cz>
7656
7657 * elf/dl-libc.c: Clear initfini list after freeing.
7658
1e145589
JM
76592013-10-14 Joseph Myers <joseph@codesourcery.com>
7660
7661 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
7662 * soft-fp/addsf3.c: Likewise.
7663 * soft-fp/addtf3.c: Likewise.
7664 * soft-fp/divdf3.c: Likewise.
7665 * soft-fp/divsf3.c: Likewise.
7666 * soft-fp/divtf3.c: Likewise.
7667 * soft-fp/double.h: Likewise.
7668 * soft-fp/eqdf2.c: Likewise.
7669 * soft-fp/eqsf2.c: Likewise.
7670 * soft-fp/eqtf2.c: Likewise.
7671 * soft-fp/extenddftf2.c: Likewise.
7672 * soft-fp/extended.h: Likewise.
7673 * soft-fp/extendsfdf2.c: Likewise.
7674 * soft-fp/extendsftf2.c: Likewise.
7675 * soft-fp/extendxftf2.c: Likewise.
7676 * soft-fp/fixdfdi.c: Likewise.
7677 * soft-fp/fixdfsi.c: Likewise.
7678 * soft-fp/fixdfti.c: Likewise.
7679 * soft-fp/fixsfdi.c: Likewise.
7680 * soft-fp/fixsfsi.c: Likewise.
7681 * soft-fp/fixsfti.c: Likewise.
7682 * soft-fp/fixtfdi.c: Likewise.
7683 * soft-fp/fixtfsi.c: Likewise.
7684 * soft-fp/fixtfti.c: Likewise.
7685 * soft-fp/fixunsdfdi.c: Likewise.
7686 * soft-fp/fixunsdfsi.c: Likewise.
7687 * soft-fp/fixunsdfti.c: Likewise.
7688 * soft-fp/fixunssfdi.c: Likewise.
7689 * soft-fp/fixunssfsi.c: Likewise.
7690 * soft-fp/fixunssfti.c: Likewise.
7691 * soft-fp/fixunstfdi.c: Likewise.
7692 * soft-fp/fixunstfsi.c: Likewise.
7693 * soft-fp/fixunstfti.c: Likewise.
7694 * soft-fp/floatdidf.c: Likewise.
7695 * soft-fp/floatdisf.c: Likewise.
7696 * soft-fp/floatditf.c: Likewise.
7697 * soft-fp/floatsidf.c: Likewise.
7698 * soft-fp/floatsisf.c: Likewise.
7699 * soft-fp/floatsitf.c: Likewise.
7700 * soft-fp/floattidf.c: Likewise.
7701 * soft-fp/floattisf.c: Likewise.
7702 * soft-fp/floattitf.c: Likewise.
7703 * soft-fp/floatundidf.c: Likewise.
7704 * soft-fp/floatundisf.c: Likewise.
7705 * soft-fp/floatunsidf.c: Likewise.
7706 * soft-fp/floatunsisf.c: Likewise.
7707 * soft-fp/floatuntidf.c: Likewise.
7708 * soft-fp/floatuntisf.c: Likewise.
7709 * soft-fp/floatuntitf.c: Likewise.
7710 * soft-fp/fmadf4.c: Likewise.
7711 * soft-fp/fmasf4.c: Likewise.
7712 * soft-fp/fmatf4.c: Likewise.
7713 * soft-fp/gedf2.c: Likewise.
7714 * soft-fp/gesf2.c: Likewise.
7715 * soft-fp/getf2.c: Likewise.
7716 * soft-fp/ledf2.c: Likewise.
7717 * soft-fp/lesf2.c: Likewise.
7718 * soft-fp/letf2.c: Likewise.
7719 * soft-fp/muldf3.c: Likewise.
7720 * soft-fp/mulsf3.c: Likewise.
7721 * soft-fp/multf3.c: Likewise.
7722 * soft-fp/negdf2.c: Likewise.
7723 * soft-fp/negsf2.c: Likewise.
7724 * soft-fp/negtf2.c: Likewise.
7725 * soft-fp/op-1.h: Likewise.
7726 * soft-fp/op-2.h: Likewise.
7727 * soft-fp/op-4.h: Likewise.
7728 * soft-fp/op-8.h: Likewise.
7729 * soft-fp/op-common.h: Likewise.
7730 * soft-fp/quad.h: Likewise.
7731 * soft-fp/single.h: Likewise.
7732 * soft-fp/soft-fp.h: Likewise.
7733 * soft-fp/sqrtdf2.c: Likewise.
7734 * soft-fp/sqrtsf2.c: Likewise.
7735 * soft-fp/sqrttf2.c: Likewise.
7736 * soft-fp/subdf3.c: Likewise.
7737 * soft-fp/subsf3.c: Likewise.
7738 * soft-fp/subtf3.c: Likewise.
7739 * soft-fp/truncdfsf2.c: Likewise.
7740 * soft-fp/trunctfdf2.c: Likewise.
7741 * soft-fp/trunctfsf2.c: Likewise.
7742 * soft-fp/trunctfxf2.c: Likewise.
7743 * soft-fp/unorddf2.c: Likewise.
7744 * soft-fp/unordsf2.c: Likewise.
7745 * soft-fp/unordtf2.c: Likewise.
7746
17c48a60
OB
77472013-10-14 Ondřej Bílka <neleai@seznam.cz>
7748
7749 [BZ #15672]
7750 * misc/error.c (error_tail): Fix possible buffer overflow.
7751
cabba934
OB
77522013-10-14 Aurelien Jarno <aurelien@aurel32.net>
7753
7754 [BZ #13028]
7755 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
7756 address.
7757
94bf958a
PM
77582013-10-14 P. J. McDermott <pj@pehjota.net>
7759
7760 [BZ #832]
7761 * elf/ldd.bash.in (try_trace): New function. Delete previous code
7762 testing pipefail option.
7763
71b4dea7
JM
77642013-10-12 Joseph Myers <joseph@codesourcery.com>
7765
7766 * soft-fp/double.h: Indent preprocessor directives inside #if.
7767 * soft-fp/extended.h: Likewise.
7768 * soft-fp/op-2.h: Likewise.
7769 * soft-fp/op-4.h: Likewise.
7770 * soft-fp/op-common.h: Likewise.
7771 * soft-fp/quad.h: Likewise.
7772 * soft-fp/single.h: Likewise.
7773 * soft-fp/soft-fp.h: Likewise.
7774
55602758
YC
77752013-10-12 Yuri Chornoivan <yurchor@ukr.net>
7776
7777 * iconv/iconv_prog.c: Fix typos.
7778 * stdio-common/psiginfo-data.h: Likewise.
7779
9cd83302
RT
77802013-10-12 Reuben Thomas <rrt@sc3d.org>
7781
7782 [BZ #15764]
7783 * locale/setlocale.c: Fix typo.
7784
99fd9f47
JM
77852013-10-12 Joseph Myers <joseph@codesourcery.com>
7786
b7ea74f0
JM
7787 [BZ #16036]
7788 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
7789 signaling NaN arguments.
7790 * soft-fp/unordsf2.c (__unordsf2): Likewise.
7791 * soft-fp/unordtf2.c (__unordtf2): Likewise.
7792
8a509447
JM
7793 [BZ #14910]
7794 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
7795 unordered operands.
7796 * soft-fp/gesf2.c (__gesf2): Likewise.
7797 * soft-fp/getf2.c (__getf2): Likewise.
7798 * soft-fp/ledf2.c (__ledf2): Likewise.
7799 * soft-fp/lesf2.c (__lesf2): Likewise.
7800 * soft-fp/letf2.c (__letf2): Likewise.
7801
98998e9f
JM
7802 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
7803 * soft-fp/eqsf2.c (__eqsf2): Likewise.
7804 * soft-fp/eqtf2.c (__eqtf2): Likewise.
7805 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
7806 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
7807 * soft-fp/fixdfti.c (__fixdfti): Likewise.
7808 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
7809 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
7810 * soft-fp/fixsfti.c (__fixsfti): Likewise.
7811 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
7812 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
7813 * soft-fp/fixtfti.c (__fixtfti): Likewise.
7814 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
7815 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
7816 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
7817 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
7818 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
7819 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
7820 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
7821 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
7822 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
7823 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
7824 * soft-fp/floatdisf.c (__floatdisf): Likewise.
7825 * soft-fp/floatsisf.c (__floatsisf): Likewise.
7826 * soft-fp/floattidf.c (__floattidf): Likewise.
7827 * soft-fp/floattisf.c (__floattisf): Likewise.
7828 * soft-fp/floattitf.c (__floattitf): Likewise.
7829 * soft-fp/floatundidf.c (__floatundidf): Likewise.
7830 * soft-fp/floatundisf.c (__floatundisf): Likewise.
7831 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
7832 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
7833 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
7834 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
7835 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
7836 * soft-fp/gesf2.c (__gesf2): Likewise.
7837 * soft-fp/getf2.c (__getf2): Likewise.
7838 * soft-fp/ledf2.c (__ledf2): Likewise.
7839 * soft-fp/lesf2.c (__lesf2): Likewise.
7840 * soft-fp/letf2.c (__letf2): Likewise.
7841
8edc4a11
JM
7842 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
7843 Undefine and redefine.
7844 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
7845 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
7846 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
7847 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
7848 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7849 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
7850 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7851 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
7852 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7853 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
7854 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7855 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
7856 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7857 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
7858 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7859
8399acaf
JM
7860 [BZ #16032]
7861 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
7862 without decrementing exponent if mantissa >= that for the
7863 denominator, not >.
7864 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
7865 denominator, not >. Decrement exponent in < case instead of
7866 incrementing in >= case.
7867 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
7868 without decrementing exponent if mantissa >= that for the
7869 denominator, not >.
7870
99fd9f47
JM
7871 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
7872 computing saturated result for unsigned overflow.
7873
10e1cf6b
SP
78742013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7875 Jeff Law <law@redhat.com>
7876
7877 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
7878 (atan2Mp): Add systemtap probe marker.
7879 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
7880 (__ieee754_log): Add systemtap probe marker.
7881 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
7882 (atanMp): Add systemtap probe marker.
7883 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
7884 (tanMp): Add systemtap probe marker.
7885 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
7886 (__slowexp): Add systemtap probe marker.
7887 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
7888 (__slowpow): Add systemtap probe marker.
7889 * manual/probes.texi: Document probes.
7890
3d110c7c
EB
78912013-10-11 Eric Biggers <ebiggers3@gmail.com>
7892
7893 [BZ #15362]
7894 * libio/fileops.c (_IO_new_file_write): Return count of bytes
7895 written.
7896 (_IO_new_file_xsputn): Don't return EOF if nothing has been
7897 written.
7898 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
7899 written to buffer but not flushed.
7900 * libio/iofwrite_u.c: Likewise.
7901 * libio/iopadn.c: Return bytes returned even if EOF was
7902 encountered.
7903 * libio/iowpadn.c: Likewise.
7904 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
7905 if _IO_padn does not write the whole buffer.
7906 [!COMPILE_WPRINTF] (PAD): Likewise.
7907
75b4202a
DM
79082013-10-10 David S. Miller <davem@davemloft.net>
7909
7910 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
7911 directory block.
7912
6c6352e6
JM
79132013-10-10 Joseph Myers <joseph@codesourcery.com>
7914
33b853c3
JM
7915 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
7916 instead of FSF address.
7917 * soft-fp/fixdfti.c: Likewise.
7918 * soft-fp/fixsfti.c: Likewise.
7919 * soft-fp/fixtfti.c: Likewise.
7920 * soft-fp/fixunsdfti.c: Likewise.
7921 * soft-fp/fixunssfti.c: Likewise.
7922 * soft-fp/fixunstfti.c: Likewise.
7923 * soft-fp/floattidf.c: Likewise.
7924 * soft-fp/floattisf.c: Likewise.
7925 * soft-fp/floattitf.c: Likewise.
7926 * soft-fp/floatuntidf.c: Likewise.
7927 * soft-fp/floatuntisf.c: Likewise.
7928 * soft-fp/floatuntitf.c: Likewise.
7929 * soft-fp/trunctfxf2.c: Likewise.
7930
6c6352e6
JM
7931 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
7932 * soft-fp/fixdfti.c: Likewise.
7933 * soft-fp/fixsfti.c: Likewise.
7934 * soft-fp/fixtfti.c: Likewise.
7935 * soft-fp/fixunsdfti.c: Likewise.
7936 * soft-fp/fixunssfti.c: Likewise.
7937 * soft-fp/fixunstfti.c: Likewise.
7938 * soft-fp/floattidf.c: Likewise.
7939 * soft-fp/floattisf.c: Likewise.
7940 * soft-fp/floattitf.c: Likewise.
7941 * soft-fp/floatuntidf.c: Likewise.
7942 * soft-fp/floatuntisf.c: Likewise.
7943 * soft-fp/floatuntitf.c: Likewise.
7944 * soft-fp/trunctfxf2.c: Likewise.
7945
3bf78b71
DM
79462013-10-10 David S. Miller <davem@davemloft.net>
7947
7948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7949
6f10289e
JM
79502013-10-10 Joseph Myers <joseph@codsourcery.com>
7951
bd878fc0
JM
7952 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7953 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
7954 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
7955 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
7956 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
7957 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
7958 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
7959
6f10289e
JM
7960 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
7961 for NaNs before doing comparisons on argument.
7962 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
7963 Likewise.
7964
321e2684
WN
79652013-10-10 Will Newton <will.newton@linaro.org>
7966
7967 * malloc/hooks.c (memalign_check): Ensure the value of bytes
7968 passed to _int_memalign does not overflow.
7969
40fefba1
TR
79702013-10-10 Torvald Riegel <triegel@redhat.com>
7971
7972 * scripts/bench.pl: Add include-sources directive.
7973 * benchtests/README: Update documentation.
7974
2ae21ed2
JM
79752013-10-10 Joseph Myers <joseph@codesourcery.com>
7976
dcc2dd3f
JM
7977 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
7978 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
7979 instead of FP_INIT_ROUNDMODE.
7980 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
7981 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
7982
2ae21ed2
JM
7983 [BZ #16034]
7984 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
7985 copy class of input value.
7986 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
7987 not handle exceptions.
7988 * soft-fp/negsf2.c (__negsf2): Likewise.
7989 * soft-fp/negtf2.c (__negtf2): Likewise.
7990 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
7991
cb8f9562
JM
79922013-10-09 Joseph Myers <joseph@codesourcery.com>
7993
7994 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
7995 semicolon. From Linux kernel.
7996
5b60c59d
AB
79972013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
7998
7999 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8000
b86835ca
YC
80012013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
8002
8003 [BZ #156]
8004 * manual/socket.texi: Added statement about buffer
8005 for gethostbyname2_r.
8006
e7044ea7
OB
80072013-10-08 Ondřej Bílka <neleai@seznam.cz>
8008
8009 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8010 Use .p2align directive instead, throughout.
8011 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8012 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8013 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8014 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8015 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8016 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8017 * sysdeps/x86_64/strchr.S: Likewise.
8018 * sysdeps/x86_64/strrchr.S: Likewise.
8019
09544cbc
SP
80202013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8021
88576635
SP
8022 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8023
e7b2d1dd
SP
8024 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8025
09544cbc
SP
8026 * sysdeps/generic/math_private.h (__mpsin1): Remove
8027 declaration.
8028 (__mpcos1): Likewise.
8029 (__mpsin): New argument __range_reduce.
8030 (__mpcos): Likewise.
8031 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8032 (slow): Use __mpsin and __mpcos.
8033 (slow1): Likewise.
8034 (slow2): Likewise.
8035 (sloww): Likewise.
8036 (sloww1): Likewise.
8037 (sloww2): Likewise.
8038 (bsloww): Likewise.
8039 (bsloww1): Likewise.
8040 (bsloww2): Likewise.
8041 (cslow2): Likewise.
8042 (csloww): Likewise.
8043 (csloww1): Likewise.
8044 (csloww2): Likewise.
8045 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8046 range_reduce. Merge in __mpsin1.
8047 (__mpcos): Likewise.
8048 (__mpsin1): Remove.
8049 (__mpcos1): Likewise.
8050
7602d070
JM
80512013-10-07 Joseph Myers <joseph@codesourcery.com>
8052
8053 * locale/loadlocale.c (_nl_intern_locale_data): Use
8054 LOCFILE_ALIGNED_P.
8055 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8056 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8057 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8058 obstack data is appropriately aligned.
8059 (obstack_int32_grow_fast): Likewise.
8060 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8061 * locale/programs/locfile.c (add_locale_uint32): Likewise.
8062 (add_locale_uint32_array): Likewise.
8063
a357259b
SP
80642013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8065
8066 * benchtests/Makefile: Remove ARGLIST and RET variables.
8067 ($(objpfx)bench-%.c): Pass only function name to the script.
8068 * benchtests/README: Update documentation.
8069 * benchtests/acos-inputs: Add new directives.
8070 * benchtests/acosh-inputs: Likewise.
8071 * benchtests/asin-inputs: Likewise.
8072 * benchtests/asinh-inputs: Likewise.
8073 * benchtests/atan-inputs: Likewise.
8074 * benchtests/atanh-inputs: Likewise.
8075 * benchtests/cos-inputs: Likewise.
8076 * benchtests/cosh-inputs: Likewise.
8077 * benchtests/exp-inputs: Likewise.
8078 * benchtests/log-inputs: Likewise.
8079 * benchtests/pow-inputs: Likewise.
8080 * benchtests/rint-inputs: Likewise.
8081 * benchtests/sin-inputs: Likewise.
8082 * benchtests/sinh-inputs: Likewise.
8083 * benchtests/tan-inputs: Likewise.
8084 * benchtests/tanh-inputs: Likewise.
8085 * scripts/bench.pl: Add support for new directives.
8086
9ec1b13d
AM
80872013-10-07 Alan Modra <amodra@gmail.com>
8088
8089 * README: Fix careless merge.
8090
8b7d57cd
AM
80912013-10-05 Alan Modra <amodra@gmail.com>
8092
8093 * NEWS: Mention powerpc64le support and bugs fixed.
8094 * README: Both big-endian and little-endian powerpc64 supported.
8095
7b7bab13
ST
80962013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8097
8098 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8099 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8100 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8101 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8102
d39baad1
RA
81032013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
8104
8105 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8106 match prototype.
8107
cd78f7e7
JM
81082013-10-04 Joseph Myers <joseph@codesourcery.com>
8109
29d73d86
JM
8110 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8111 Move -mhard-float appending from
8112 ports/sysdeps/powerpc/powerpc32/Makefile.
8113 [$(with-fp) = yes] (ASFLAGS): Likewise.
8114 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8115 * sysdeps/powerpc/nofpu: Move directory from
8116 ports/sysdeps/powerpc/nofpu.
8117 * sysdeps/powerpc/soft-fp: Move directory from
8118 ports/sysdeps/powerpc/soft-fp.
8119 * sysdeps/powerpc/powerpc32/405: Move directory from
8120 ports/sysdeps/powerpc/powerpc32/405.
8121 * sysdeps/powerpc/powerpc32/440: Move directory from
8122 ports/sysdeps/powerpc/powerpc32/440.
8123 * sysdeps/powerpc/powerpc32/464: Move directory from
8124 ports/sysdeps/powerpc/powerpc32/464.
8125 * sysdeps/powerpc/powerpc32/476: Move directory from
8126 ports/sysdeps/powerpc/powerpc32/476.
8127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8128 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8130 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8132 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8134 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8136 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8137 * README: Update for powerpc-*-linux-gnu software floating point
8138 support in libc.
8139
e246b347
JM
8140 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8141 case to powerpc/powerpc32*.
8142 * sysdeps/unix/sysv/linux/configure: Regenerated.
8143
89c2003e
JM
8144 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8145 (_FPU_MASK_OM): Define as 0x04.
8146 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8147 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8148 0x00c10080.
8149 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8150 0x0000003c.
8151 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8152
cd78f7e7
JM
8153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8154 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8155 getcontext_e500.
8156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8157 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8158 setcontext_e500.
8159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8160 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8161 and setcontext_e500.
8162
c755294d
CL
81632013-10-04 Chris Leonard <cjl@sugarlabs,.org>
8164
8165 * locale/iso-3166.def: Update iso-1366.def and related occurrences
8166
e16d221c
SP
81672013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8168
8169 * manual/threads.texi (Default Thread Attributes): Fix typo.
8170
215c7d43
WN
81712013-10-04 Will Newton <will.newton@linaro.org>
8172
8173 * malloc/Makefile: Add tst-memalign.
8174 * malloc/tst-memalign.c: New file.
8175
27d0461b
WN
8176 * malloc/tst-posix_memalign.c: Add comments.
8177 (do_test): Add comments and call free on all potentially
8178 allocated pointers. Add space after cast.
8179
1bc92709
WN
8180 * malloc/tst-pvalloc.c: Add comments.
8181 (do_test): Add comments and call free on all potentially
8182 allocated pointers. Remove duplicate check for NULL pointer.
8183 Add space after cast.
8184
66a9be9d
WN
8185 * malloc/tst-valloc.c: Add comments.
8186 (do_test): Add comments and call free on all potentially
8187 allocated pointers. Remove duplicate check for NULL pointer.
8188 Add space after cast.
8189
4cb81307
AM
81902013-10-04 Alan Modra <amodra@gmail.com>
8191
8192 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8193 Use stdint types in rather than __attribute__((mode())).
8194 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8195
f8e3e9f3
AM
81962013-10-04 Alan Modra <amodra@gmail.com>
8197
8198 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8199 Correct handling of unaligned relocs for little-endian.
8200 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8201
8f9ebb08
AM
82022013-10-04 Alan Modra <amodra@gmail.com>
8203
8204 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8205 * configure: Regenerate.
8206 * nptl/shlib-versions: Powerpc*le starts at 2.18.
8207 * shlib-versions: Likewise.
8208
0edf96c2
AM
82092013-10-04 Alan Modra <amodra@gmail.com>
8210
8211 * string/tester.c (test_memrchr): Increment reported test cycle.
8212
e0f7a380
AM
82132013-10-04 Alan Modra <amodra@gmail.com>
8214
8215 * string/test-memcpy.c (do_one_test): When reporting errors, print
8216 string address and don't overrun end of string.
8217
466b0393
AM
82182013-10-04 Alan Modra <amodra@gmail.com>
8219
8220 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8221 insrdi. Make better use of reg selection to speed exit slightly.
8222 Schedule entry path a little better. Remove useless "are we done"
8223 checks on entry to main loop. Handle wrapping around zero address.
8224 Correct main loop count. Handle single left-over word from main
8225 loop inline rather than by using loop_small. Remove extra word
8226 case in loop_small caused by wrong loop count. Add little-endian
8227 support.
8228 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8229 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
8230 cache hint.
8231 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8232 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8233 support. Avoid rlwimi.
8234 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8235
3be87c77
AM
82362013-10-04 Alan Modra <amodra@gmail.com>
8237
8238 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 8239 insrdi. Formatting.
3be87c77
AM
8240 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8241 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8242 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8243 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8244 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8245 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8246
759cfef3
AM
82472013-10-04 Alan Modra <amodra@gmail.com>
8248
8249 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8250 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8251 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8252 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8253 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8254 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8255 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8256 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8257 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
8258 use of regs. Use power7 mtocrf. Tidy function tails.
8259
fe6e95d7
AM
82602013-10-04 Alan Modra <amodra@gmail.com>
8261
8262 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8263 Formatting. Consistently use rXXX register defines or rN defines.
8264 Use early exit labels that avoid restoring unused non-volatile regs.
8265 Make cr field use more consistent with rWORDn compares. Rename
8266 regs used as shift registers for unaligned loop, using rN defines
8267 for short lifetime/multiple use regs.
8268 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8269 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
8270 addi 1,1,64 to pop stack frame. Simplify return value code.
8271 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8272
664318c3
AM
82732013-10-04 Alan Modra <amodra@gmail.com>
8274
8275 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8276 support. Correct typos, formatting. Optimize tail. Use insrdi
8277 rather than rlwimi.
8278 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8279 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8280 little-endian support. Correct typos.
8281 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
8282 rather than rlwimi.
8283 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
8284 in loop and entry code to keep "and." results.
8285 (strchr): Add little-endian support. Comment. Move cntlzd
8286 earlier in tail.
8287 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8288
43b84013
AM
82892013-10-04 Alan Modra <amodra@gmail.com>
8290
8291 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8292 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8293 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8294 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8295
8a7413f9
AM
82962013-10-04 Alan Modra <amodra@gmail.com>
8297
8298 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8299 (rTMP): Define as r11.
8300 (strcmp): Add little-endian support. Optimise tail.
8301 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8302 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8303 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8304 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8305 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8306 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8307 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8308
33ee81de
AM
83092013-10-04 Alan Modra <amodra@gmail.com>
8310
8311 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8312 little-endian support. Remove unnecessary "are we done" tests.
8313 Handle "s" wrapping around zero and extremely large "size".
8314 Correct main loop count. Handle single left-over word from main
8315 loop inline rather than by using small_loop. Correct comments.
8316 Delete "zero" tail, use "end_max" instead.
8317 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
8318
db9b4570
AM
83192013-10-04 Alan Modra <amodra@gmail.com>
8320
8321 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
8322 support. Don't branch over align.
8323 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
8324 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
8325 support. Rearrange tmp reg use to suit. Comment.
8326 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
8327
f7c399cf
AM
83282013-10-04 Alan Modra <amodra@gmail.com>
8329
8330 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
8331
0b2c2ace
AM
83322013-10-04 Alan Modra <amodra@gmail.com>
8333
8334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
8335 conditional form of branch and link when obtaining pc.
8336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8337
02f04a6c
AM
83382013-10-04 Alan Modra <amodra@gmail.com>
8339
8340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
8341 HIWORD/LOWORD.
8342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
8343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
8344
9b874b2f
AM
83452013-10-04 Alan Modra <amodra@gmail.com>
8346
8347 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
8348 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
8349 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8350 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
8351 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8352 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8353 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
8354 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8355 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8356 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
8357
be1e5d31
AB
83582013-10-04 Anton Blanchard <anton@au1.ibm.com>
8359 Alistair Popple <alistair@ozlabs.au.ibm.com>
8360 Alan Modra <amodra@gmail.com>
8361
8362 [BZ #15723]
8363 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
8364 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
8365 _dl_hwcap access for little-endian.
8366 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
8367 destroy vmx regs when saving unaligned.
8368 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
8369 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
8370 destroy vmx regs when saving unaligned.
8371
fef13a78
AM
83722013-10-04 Alan Modra <amodra@gmail.com>
8373
8374 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
8375 Don't use a union to pack hi/low value.
8376
76a66d51
AB
83772013-10-04 Anton Blanchard <anton@au1.ibm.com>
8378
8379 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
8380 for little-endian.
8381 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8382 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
8383 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8384 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8385 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8386
6a31fe7f
AM
83872013-10-04 Alan Modra <amodra@gmail.com>
8388
8389 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
8390 constants to usual value for .cst8 section, and remove redundant
8391 high address load.
8392 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
8393 constant for 0x1p52. Load little-endian words of double from
8394 correct stack offsets.
8395
7b88401f
AM
83962013-10-04 Alan Modra <amodra@gmail.com>
8397
8398 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
8399 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
8400 words of double from correct stack offsets.
8401 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8402 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
8403 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8404 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8405 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8406 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8407 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8408 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8409 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8410 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8411 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8412 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8413 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8414 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8415 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8416 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
8417 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8418
9c008155
AM
84192013-10-04 Alan Modra <amodra@gmail.com>
8420
8421 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
8422 64-bit int/double union.
8423 (_FPU_SETCW): Likewise.
8424 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
8425 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
8426
da13146d
AM
84272013-10-04 Alan Modra <amodra@gmail.com>
8428
8429 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
8430 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
8431
603e8410
AM
84322013-10-04 Alan Modra <amodra@gmail.com>
8433
8434 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
8435 use vector int constants.
8436 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
8437
4a28b3ca
AB
84382013-10-04 Anton Blanchard <anton@au1.ibm.com>
8439
8440 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
8441 array with long long.
8442 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
8443 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
8444 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
8445 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
8446 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
8447 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
8448 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
8449 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
8450 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
8451 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
8452 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
8453 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
8454 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
8455
2ca85d2b
AB
84562013-10-04 Anton Blanchard <anton@au1.ibm.com>
8457
8458 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
8459 (__signbit): Likewise. Correct for little-endian.
8460 (__signbitl): Call __signbit.
8461 (lrint): Correct for little-endian.
8462 (lrintf): Call lrint.
8463
62a728ae
AM
84642013-10-04 Alan Modra <amodra@gmail.com>
8465
8466 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
8467 union 32-bit int array member with 64-bit int array.
8468 (t515, tm256): Double rather than long double.
8469 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
8470
32c301df
AM
84712013-10-04 Alan Modra <amodra@gmail.com>
8472
8473 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
8474 Delete.
8475 (IEEE854_LONG_DOUBLE_BIAS): Delete.
8476 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
8477 version of math_ldbl.h.
8478
650ef4bd
AM
84792013-10-04 Alan Modra <amodra@gmail.com>
8480
8481 [BZ #15734], [BZ #15735]
8482 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
8483 all uses of ieee875 long double macros and unions. Simplify test
8484 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
8485 ldbl_extract_mantissa value for ix,iy exponents. Properly
8486 normalize after ldbl_extract_mantissa, and don't add hidden bit
8487 already handled. Don't treat low word of ieee854 mantissa like
8488 low word of IBM long double and mask off bit when testing for
8489 zero.
8490 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
8491 all uses of ieee875 long double macros and unions. Simplify tests
8492 for 0.0L and inf. Correct double adjustment of k. Delete dead code
8493 adjusting ha,hb. Simplify code setting kld. Delete two600 and
8494 two1022, instead use their values. Recognise that tests for large
8495 "a" and small "b" are mutually exclusive. Rename vars. Comment.
8496 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
8497 Rewrite all uses of ieee875 long double macros and unions. Simplify
8498 test for 0.0L and nan. Correct negation.
8499 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
8500 ieee875 long double macros and unions. Correct output for large
8501 magnitude x. Correct absolute value calculation.
8502 (__erfcl): Likewise.
8503 * math/libm-test.inc: Add tests for errors discovered in IBM long
8504 double versions of fmodl, remainderl, erfl and erfcl.
8505
765714ca
AM
85062013-10-04 Alan Modra <amodra@gmail.com>
8507
8508 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
8509 all uses of ieee854 long double macros and unions. Simplify tests
8510 for long doubles that are fully specified by the high double.
8511 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8512 Likewise.
8513 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
8514 Remove dead code too.
8515 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8516 (__ieee754_ynl): Likewise.
8517 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8518 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
8519 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8520 Remove dead code too.
8521 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
8522 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8523 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
8524 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
8525 Simplify.
8526 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
8527 Simplify.
8528 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
8529 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
8530 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
8531 Comment on variable precision.
8532 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
8533 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8534 Likewise.
8535 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8536 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8537 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8538 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
8539 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
8540
4ebd120c
AM
85412013-10-04 Alan Modra <amodra@gmail.com>
8542
8543 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
8544 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
8545 all uses of ieee854 long double macros and unions.
8546 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
8547 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8548 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
8549 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
8550 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8551 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8552 Likewise.
8553 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
8554 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8555 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
8556 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8557 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
8558 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
8559 Simplify sign and nan test too.
8560 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
8561 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
8562 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
8563 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
8564 Likewise.
8565 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8566 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
8567 Likewise.
8568 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8569 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
8570 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
8571 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
8572 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
8573 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
8574
1b6adf88
AM
85752013-10-04 Alan Modra <amodra@gmail.com>
8576
8577 * stdio-common/printf_size.c (__printf_size): Don't use
8578 union ieee854_long_double in fpnum union.
8579 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
8580 signbit macro to retrieve sign from long double.
8581 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
8582 retrieve sign from long double.
8583 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
8584 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
8585 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
8586 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8587 * math/test-misc.c (main): Don't use union ieee854_long_double.
8588
4cf69995
AM
85892013-10-04 Alan Modra <amodra@gmail.com>
8590
8591 [BZ #15680]
8592 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
8593 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
8594 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
8595 calculation. Remove unnecessary test for denormal exponent.
8596 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
8597 Correct handling of denormals. Avoid undefined shift behaviour.
8598 Correct normalisation of low mantissa when low double is denormal.
8599 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8600 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
8601 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
8602 Correct normalisation of low mantissa. Test for overflow of high
8603 mantissa and normalise.
8604 (ldbl_nearbyint): Use more readable constant for two52.
8605 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
8606 (__mpn_construct_long_double): Fix test for overflow of high
8607 mantissa and correct normalisation. Avoid undefined shift.
8608
9605ca6c
AM
86092013-10-04 Alan Modra <amodra@gmail.com>
8610
8611 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
8612 (union ibm_extended_long_double): Define as an array of ieee754_double.
8613 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
8614 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
8615 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
8616 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8617 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8618 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
8619 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8620 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8621 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8622 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
8623 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8624
975569d0
JM
86252013-10-03 Joseph Myers <joseph@codesourcery.com>
8626
d3d23756
JM
8627 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
8628 page size instead of calling getpagesize.
8629
975569d0
JM
8630 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
8631 (LOCFILE_ALIGN_MASK): Likewise.
8632 (LOCFILE_ALIGN_UP): Likewise.
8633 (LOCFILE_ALIGNED_P): Likewise.
8634 * locale/programs/ld-collate.c (collate_output): Use the new
8635 macros instead of __alignof__ (int32_t).
8636 * locale/weight.h (findidx): Likewise.
8637
b1fe1f2b
OB
86382013-10-03 Ondřej Bílka <neleai@seznam.cz>
8639
8640 [BZ #431]
8641 * manual/string.texi: Fix strncat and wcsncat.
8642
5f855e35
BM
86432013-10-03 Brooks Moses <bmoses@google.com>
8644
8645 [BZ #15915]
8646 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
8647 * Makerules: ...here, and adjust associated comments.
8648
3cef6009
WN
86492013-10-02 Will Newton <will.newton@linaro.org>
8650
8651 * malloc/Makefile: Add tst-pvalloc.
8652 * malloc/tst-pvalloc.c: New file.
8653
7815420b
WN
86542013-10-02 Will Newton <will.newton@linaro.org>
8655
8656 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
8657 improve test coverage.
8658
4868b204
WN
86592013-10-02 Will Newton <will.newton@linaro.org>
8660
8661 * malloc/Makefile: Add tst-posix_memalign.
8662 * malloc/tst-posix_memalign.c: New file.
8663
29c793b3
EB
86642013-10-01 Eric Blake <eblake@redhat.com>
8665
8666 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
8667 Use __THROWNL rather than __THROW on static functions.
8668
fd967522
PM
86692013-09-30 Petr Machata <pmachata@redhat.com>
8670
8671 * elf/elf.h (R_AARCH64_ABS16): New macro.
8672 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
8673 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
8674 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
8675 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
8676 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
8677 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
8678 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
8679 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
8680 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
8681 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
8682 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
8683 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
8684 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
8685 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
8686 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
8687 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
8688 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
8689 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
8690 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
8691 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
8692 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
8693 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
8694 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
8695 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
8696 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
8697 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
8698 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
8699 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
8700 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
8701 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
8702 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
8703 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
8704 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
8705 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
8706 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
8707 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
8708 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
8709 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
8710 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
8711 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
8712 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
8713 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
8714 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
8715 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
8716 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
8717 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
8718 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
8719 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
8720 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
8721 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
8722 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
8723 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
8724 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
8725 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
8726 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
8727 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
8728 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
8729 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
8730 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
8731 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
8732 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
8733 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
8734 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
8735 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
8736 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
8737 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
8738 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
8739 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
8740 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
8741 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
8742 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
8743 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
8744 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
8745 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
8746 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
8747 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
8748 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
8749 (R_AARCH64_TLSDESC_LDR): Likewise.
8750 (R_AARCH64_TLSDESC_ADD): Likewise.
8751 (R_AARCH64_TLSDESC_CALL): Likewise.
8752
b2179107
AS
87532013-09-30 Andreas Schwab <schwab@suse.de>
8754
8755 [BZ #15048]
8756 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
8757 the nss database lookup.
8758 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8759 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8760
47f28d0a
MF
87612013-09-28 Mike Frysinger <vapier@gentoo.org>
8762
8763 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
8764
87652013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
8766
8767 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
8768 ${Bash-specific parameter/pattern/string} parameter expansion.
8769 * sysdeps/unix/make-syscalls.sh: Likewise.
8770
f4518a17
KK
87712013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8772
8773 * sysdeps/sh/stackguard-macros.h: New file.
8774
dc1a95c7
OB
87752013-09-26 Ondřej Bílka <neleai@seznam.cz>
8776
8777 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8778 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
8779 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
8780 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
8781 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8782 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
8783
5ebbff8f
AZ
87842013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8785
8786 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
8787 Fix thread ID register.
8788
4fd2cf9f
JM
87892013-09-25 Joseph Myers <joseph@codesourcery.com>
8790
8791 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
8792 [POSIX || UNIX98]: Require rather than permitting all symbols from
8793 <time.h>.
8794 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
8795 element of struct sched_param.
8796 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
8797 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
8798 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
8799 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
8800 constant.
8801
12c22bc4
OL
88022013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
8803
8804 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
8805 argument calculation.
8806
a03d8ea7
JM
88072013-09-24 Joseph Myers <joseph@codesourcery.com>
8808
8809 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
8810 Expect macro.
8811 [POSIX] (pthread_attr_t): Do not require type.
8812 [POSIX] (pthread_cond_t): Likewise.
8813 [POSIX] (pthread_condattr_t): Likewise.
8814 [POSIX] (pthread_key_t): Likewise.
8815 [POSIX] (pthread_mutex_t): Likewise.
8816 [POSIX] (pthread_mutexattr_t): Likewise.
8817 [POSIX] (pthread_once_t): Likewise.
8818 [POSIX] (pthread_t): Likewise.
8819 [POSIX-based standards] (pthread_atfork): Expect function.
8820
6055173a
JM
88212013-09-24 Joseph Myers <joseph@codesourcery.com>
8822 Richard Sandiford <richard@codesourcery.com>
8823
8824 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
8825 (swap_endianness_p): New extern variable.
8826 (set_big_endian): New inline function.
8827 (maybe_swap_uint32): Likewise.
8828 (maybe_swap_uint32_array): Likewise.
8829 (maybe_swap_uint32_obstack): Likewise.
8830 * locale/programs/locfile.c: Include <stdbool.h>.
8831 (swap_endianness_p): New variable.
8832 (add_locale_uint32): Call maybe_swap_uint32.
8833 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
8834 (write_locale_data): Call maybe_swap_uint32_array.
8835 * locale/programs/ld-collate.c (obstack_int32_grow): Call
8836 maybe_swap_uint32.
8837 (obstack_int32_grow_fast): Likewise.
8838 (output_weightwc): Call maybe_swap_uint32_obstack.
8839 (collate_output): Likewise.
8840 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
8841 (OPT_LITTLE_ENDIAN): Likewise.
8842 (options): Add --little-endian and --big-endian options.
8843 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
8844 * locale/programs/locarchive.c: Include "locfile.h".
8845 (GET): New macro.
8846 (SET): Likewise.
8847 (INC): Likewise.
8848 (create_archive): Use the new macros to access fields of
8849 structures directly mapped from or written to locale archives.
8850 (oldlocrecentcmp): Likewise.
8851 (enlarge_archive): Likewise.
8852 (insert_name): Likewise.
8853 (add_alias): Likewise.
8854 (add_locale): Likewise.
8855 (delete_locales_from_archive): Likewise.
8856 (show_archive_content): Likewise.
8857 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
8858 locale data.
8859
39bf0bb4
RM
88602013-09-24 Roland McGrath <roland@hack.frob.com>
8861
8862 * manual/freemanuals.texi: Updated from (newly) canonical copy at
8863 http://www.gnu.org/doc/freemanuals.texi.
8864 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
8865
f02eed10
WN
88662013-09-24 Will Newton <will.newton@linaro.org>
8867
8868 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
8869 macro.
8870
a3a6c312
JM
88712013-09-23 Joseph Myers <joseph@codesourcery.com>
8872
8873 * locale/hashval.h (compute_hashval): Interpret bytes of key as
8874 unsigned char.
8875
107375ac
MR
88762013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
8877
8878 * manual/threads.texi (POSIX Threads): Fix a typo.
8879
141f3a77
SP
88802013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8881
303e567a
SP
8882 [BZ #14547]
8883 * string/tst-strcoll-overflow.c: New test case.
8884 * string/Makefile (xtests): Add tst-strcoll-overflow.
8885 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
8886 cache if string sizes may cause integer overflow.
8887
141f3a77
SP
8888 [BZ #14547]
8889 * string/strcoll_l.c (coll_seq): New members rule, idx,
8890 save_idx and back_us.
8891 (get_next_seq_nocache): New function.
8892 (do_compare_nocache): New function.
8893 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
8894 when malloc fails.
8895
c61b4d41
CD
88962013-09-23 Carlos O'Donell <carlos@redhat.com>
8897
0b1f8e35
CD
8898 [BZ #15754]
8899 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
8900 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
8901 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
8902
c61b4d41
CD
8903 [BZ #15754]
8904 * elf/Makefile (tests): Add tst-ptrguard1.
8905 (tests-static): Add tst-ptrguard1-static.
8906 (tst-ptrguard1-ARGS): Define.
8907 (tst-ptrguard1-static-ARGS): Define.
8908 * elf/tst-ptrguard1.c: New file.
8909 * elf/tst-ptrguard1-static.c: New file.
8910 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
8911 * sysdeps/i386/stackguard-macros.h: Likewise.
8912 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8913 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8914 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8915 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8916 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8917 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8918
89192013-09-23 Hector Marco <hecmargi@upv.es>
8920 Ismael Ripoll <iripoll@disca.upv.es>
8921 Carlos O'Donell <carlos@redhat.com>
8922
8923 [BZ #15754]
8924 * sysdeps/generic/stackguard-macros.h: Define
8925 __pointer_chk_guard_local and POINTER_CHK_GUARD.
8926 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
8927 Define __pointer_chk_guard_local.
8928 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
8929 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
8930
f5f4e7b4
VV
89312013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
8932
8933 [BZ #15859]
8934 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
8935
5bb43a43
AS
89362013-09-20 Andreas Schwab <schwab@linux-m68k.org>
8937
8938 * include/string.h (__ffs): Declare as hidden.
8939 * string/ffs.c (__ffs): Define as hidden.
8940 * sysdeps/i386/ffs.c (__ffs): Likewise.
8941 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
8942 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
8943 * sysdeps/s390/ffs.c (__ffs): Likewise.
8944 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
8945
3ea5be54
AO
89462013-09-20 Alexandre Oliva <aoliva@redhat.com>
8947
ffb89e53
AO
8948 * NEWS: Mention malloc probes.
8949
322dea08
AO
8950 * malloc/arena.c (new_heap): New memory_heap_new probe.
8951 (grow_heap): New memory_heap_more probe.
8952 (shrink_heap): New memory_heap_less probe.
8953 (heap_trim): New memory_heap_free probe.
8954 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
8955 (systrim): New memory_sbrk_less probe.
8956 * manual/probes.texi: Document them.
8957
655673f3
AO
8958 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
8959 * manual/probes.texi: Document it.
8960
35fed6f1
AO
8961 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
8962 (__libc_realloc): Add memory_realloc_retry probe.
8963 (__libc_memalign): Add memory_memalign_retry probe.
8964 (__libc_valloc): Add memory_valloc_retry probe.
8965 (__libc_pvalloc): Add memory_pvalloc_retry probe.
8966 (__libc_calloc): Add memory_calloc_retry probe.
8967 * manual/probes.texi: Document them.
8968
6999d38c
AO
8969 * malloc/arena.c (get_free_list): Add probe
8970 memory_arena_reuse_free_list.
8971 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
8972 and memory_arena_reuse.
8973 (arena_get2) [!PER_THREAD]: Likewise.
8974 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
8975 memory_arena_reuse_realloc.
8976 * manual/probes.texi: Document them.
8977
0653427f
AO
8978 * malloc/malloc.c (__libc_free): Add
8979 memory_mallopt_free_dyn_thresholds probe.
8980 (__libc_mallopt): Add multiple memory_mallopt probes.
8981 * manual/probes.texi: Document them.
8982
3ea5be54
AO
8983 * malloc/malloc.c: Include stap-probe.h.
8984 (__libc_mallopt): Add memory_mallopt probe.
8985 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
8986 * manual/probes.texi: New.
8987 * manual/Makefile (chapters): Add probes.
8988 * manual/threads.texi: Set next node.
8989
e35696c3 89902013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 8991
e35696c3
CL
8992 [BZ #15963, #13985]
8993 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
8994 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
8995 Add `Chinese' to `nan' entry name.
8996
4aafb73c
SP
89972013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8998
8999 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9000 (POLYNOMIAL): Likewise.
9001 (TAYLOR_SINCOS): Likewise.
9002 (TAYLOR_SLOW): Likewise.
9003 (__sin): Use TAYLOR_SINCOS.
9004 (__cos): Likewise.
9005 (slow): Use TAYLOR_SLOW.
9006 (sloww): Likewise.
9007 (bsloww): Likewise.
9008 (csloww): Likewise.
9009
d84f25c7
LD
90102013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9011
9012 * stdlib/strtod_l.c: Fix buffer overrun.
9013
5eea0404
SP
90142013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9015
7849ff93
SP
9016 * benchtests/Makefile (bench): Add sincos.
9017 * benchtests/bench-sincos.c: New file.
9018
cfa3c886
SP
9019 * math/libm-test.inc (cos_test_data): New test inputs.
9020 (sin_test_data): Likewise.
9021
b348e1e3
SP
9022 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9023 macro.
9024 (__sin): Use it.
9025 (__cos): Likewise.
9026 (slow1): Likewise.
9027 (slow2): Likewise.
9028 (sloww1): Likewise.
9029 (sloww2): Likewise.
9030 (bsloww1): Likewise.
9031 (bsloww2): Likewise.
9032 (cslow2): Likewise.
9033 (csloww1): Likewise.
9034 (csloww2): Likewise.
9035
6cce25f8
SP
9036 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9037 function.
9038 (__sin): Use it.
9039 (__cos): Likewise.
9040
5eea0404
SP
9041 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9042 gotos.
9043 (__cos): Likewise.
9044
9c21573c
MR
90452013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
9046
9047 * config.h.in (HAVE_MIPS_NAN2008): New macro.
9048 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9049 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9050 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9051 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9052 * elf/cache.c (print_entry): Handle the new cache flags.
9053
24d22e65
JM
90542013-09-18 Joseph Myers <joseph@codesourcery.com>
9055 Aldy Hernandez <aldyh@redhat.com>
9056
9057 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9058 Change condition to [_SOFT_FLOAT].
9059 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9060 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9061 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9062 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9063 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9064 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9065 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9066 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9067 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9068 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9069 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9070 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9071 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9072 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9073 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9074 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9075 declaration.
9076
d13ef066
JM
90772013-09-18 Joseph Myers <joseph@codesourcery.com>
9078
2e071de0
JM
9079 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9080 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9081 (__longjmp): Use LOAD_GP to load saved GPRs.
9082 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9083 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9084 (__sigsetjmp): Use SAVE_GP to save GPRs.
9085
d13ef066
JM
9086 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9087 Do not append -msoft-float.
9088 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9089
97a0650b
SP
90902013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9091
9092 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9093
11ca09e9
JM
90942013-09-17 Joseph Myers <joseph@codesourcery.com>
9095
9096 [BZ #15966]
9097 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9098 (_FPU_GETCW): Use initial "__" on variable and field names but not
9099 on macro parameter name.
9100 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
9101 parentheses around reference to macro parameter.
9102
08ffcf34
RS
91032013-09-13 Richard Sandiford <richard@codesourcery.com>
9104
9105 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9106 prototype.
9107 (ctype_startup): Use uint32_t in cast and sizeof for
9108 ctype->charnames.
9109
ae7080d3
JL
91102013-09-11 Jia Liu <proljc@gmail.com>
9111
9112 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9113 __daddr_t_defined.
9114 [__FreeBSD__]: Likewise.
9115
5905e7b3
OB
91162013-09-11 Ondřej Bílka <neleai@seznam.cz>
9117
9118 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9119 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9120 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9121 (strchr): Remove __strchr_sse42 ifunc selection.
9122 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9123 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9124
b987c776
WN
91252013-09-11 Will Newton <will.newton@linaro.org>
9126
9127 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9128 parameter to RES. Remove hardcoded 1000 value.
9129 * benchtests/bench-skeleton.c (main): Pass RES parameter
9130 to TIMING_INIT and multiply result by 1000.
9131
ddf985af
AZ
91322013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9133
9134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9135
ffdd3181
AS
91362013-09-11 Andreas Schwab <schwab@suse.de>
9137
9138 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9139 if not defined.
9140 (O_TMPFILE) [__USE_GNU]: Define.
9141 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9142 Define.
9143
b73ed247
WN
91442013-09-11 Will Newton <will.newton@linaro.org>
9145
9146 [BZ #15857]
9147 * malloc/malloc.c (__libc_memalign): Check the value of bytes
9148 does not overflow.
9149
55e17aad
WN
91502013-09-11 Will Newton <will.newton@linaro.org>
9151
9152 [BZ #15856]
9153 * malloc/malloc.c (__libc_valloc): Check the value of bytes
9154 does not overflow.
9155
1159a193
WN
91562013-09-11 Will Newton <will.newton@linaro.org>
9157
9158 [BZ #15855]
9159 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9160 does not overflow.
9161
5905e7b3 91622013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
9163
9164 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9165 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9166 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9167 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9168 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9169
cdfc721b
AM
91702013-09-10 Allan McRae <allan@archlinux.org>
9171
aa04af00
AM
9172 [BZ #15748]
9173 * manual/arith.texi (Parsing of Floats): Clarify
9174 cross-reference.
9175
cdfc721b
AM
9176 [BZ #15849]
9177 * manual/install.texi (Running make install): Mention
9178 --enable-pt-chown.
9179 * INSTALL: Regenerated.
9180
95e7cf29
MR
91812013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9182
9183 * csu/init-first.c (_init): Remove the !SHARED condition around
9184 FPU control word initialization.
9185 * elf/dl-support.c (_dl_fpu_control): New variable.
9186 (_dl_aux_init) <AT_FPUCW>: Initialize it.
9187 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9188 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9189 * math/test-fpucw-static.c: New file.
9190 * math/test-fpucw-ieee.c: New file.
9191 * math/test-fpucw-ieee-static.c: New file.
9192 * math/Makefile (tests): Add `test-fpucw-ieee' and
9193 `$(tests-static)'.
9194 (tests-static): New variable.
9195 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9196 dependency to...
9197 [($(build-shared),yes)]
9198 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9199 ... this.
9200 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9201 New dependency.
9202
83e43bf0
AM
92032013-09-09 Allan McRae <allan@archlinux.org>
9204
a9f5ce09
AM
9205 [BZ #15939]
9206 * manual/string.texi (Collation Functions): Fix typo in
9207 strcoll example.
9208 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9209
34829bc2
AM
9210 [BZ #15893]
9211 * stdlib/isomac.c (get_null_defines): Fix memory leak.
9212
3932737d
AM
9213 [BZ #15892]
9214 * libio/memstream.c (open_memstream): Fix memory leak.
9215 * libio/wmemstream.c (open_wmemstream): Likewise.
9216
83e43bf0
AM
9217 [BZ #15895]
9218 * nscd/netgroupcache.c: Fix nesting of ifdefs.
9219
0c66b8e9
WN
92202013-09-09 Will Newton <will.newton@linaro.org>
9221
9222 * malloc/Makefile: Add tst-realloc to tests.
9223 * malloc/tst-realloc.c: New file.
9224
f6b00fd1
AM
92252013-09-09 Allan McRae <allan@archlinux.org>
9226
9227 [BZ #15844]
9228 * COPYING: Update from GNU website to fix FSF address.
9229 * COPYING.LIB: Likewise.
9230
eec55e16
DM
92312013-09-06 David S. Miller <davem@davemloft.net>
9232
9233 * po/zh_TW.po: Update Chinese (traditional) translation from
9234 translation project.
9235
1ecbb381
RS
92362013-09-06 Richard Sandiford <richard@codesourcery.com>
9237 Joseph Myers <joseph@codesourcery.com>
9238
9239 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9240 "localeinfo.h".
9241 (obstack_chunk_alloc): New macro.
9242 (obstack_chunk_free): Likewise.
9243 (record_offset): New function.
9244 (init_locale_data): Likewise.
9245 (align_locale_data): Likewise.
9246 (add_locale_empty): Likewise.
9247 (add_locale_raw_data): Likewise.
9248 (add_locale_raw_obstack): Likewise.
9249 (add_locale_string): Likewise.
9250 (add_locale_wstring): Likewise.
9251 (add_locale_uint32): Likewise.
9252 (add_locale_uint32_array): Likewise.
9253 (add_locale_char): Likewise.
9254 (start_locale_structure): Likewise.
9255 (end_locale_structure): Likewise.
9256 (start_locale_prelude): Likewise.
9257 (end_locale_prelude): Likewise.
9258 (write_locale_data): Take locale_file structure rather than an
9259 iovec.
9260 * locale/programs/locfile.h: Include "obstack.h".
9261 (struct locale_file): Change to store locale file contents instead
9262 of header.
9263 (init_locale_data): New prototype.
9264 (align_locale_data): Likewise.
9265 (add_locale_empty): Likewise.
9266 (add_locale_raw_data): Likewise.
9267 (add_locale_raw_obstack): Likewise.
9268 (add_locale_string): Likewise.
9269 (add_locale_wstring): Likewise.
9270 (add_locale_uint32): Likewise.
9271 (add_locale_uint32_array): Likewise.
9272 (add_locale_char): Likewise.
9273 (start_locale_structure): Likewise.
9274 (end_locale_structure): Likewise.
9275 (start_locale_prelude): Likewise.
9276 (end_locale_prelude): Likewise.
9277 (write_locale_data): Update prototype.
9278 * locale/programs/3level.h (struct TABLE): Remove result field.
9279 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9280 Use new locale_file interface.
9281 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9282 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9283 * locale/programs/ld-address.c (address_output): Use new
9284 locale_file interface.
9285 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9286 NO_ADD_LOCALE.
9287 (collate_finish): Don't call collseq_table_finalize.
9288 (collate_output): Use new locale_file interface.
9289 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9290 in file.
9291 (NO_FINALIZE): Change to NO_ADD_LOCALE.
9292 (TABLE): Move defines earlier in file.
9293 (ELEMENT): Likewise.
9294 (DEFAULT): Likewise.
9295 (wctrans_table_add): Move macro and inline function earlier in
9296 file.
9297 (struct wctype_table): Move type earlier in file.
9298 (add_locale_wctype_table): New static prototype.
9299 (struct locale_ctype_t): Use logical types instead of struct iovec
9300 pointers for members.
9301 (ctype_output): Use new locale_file interface.
9302 (wctype_table_finalize): Change to add_locale_wctype_table. Use
9303 new locale_file interface.
9304 (allocate_arrays): Update for use of new locale_file interface.
9305 * locale/programs/ld-identification.c (identification_output): Use
9306 new locale_file interface.
9307 * locale/programs/ld-measurement.c (measurement_output): Likewise.
9308 * locale/programs/ld-messages.c (messages_output): Likewise.
9309 * locale/programs/ld-monetary.c (monetary_output): Likewise.
9310 * locale/programs/ld-name.c (name_output): Likewise.
9311 * locale/programs/ld-numeric.c (numeric_output): Likewise.
9312 * locale/programs/ld-paper.c (paper_output): Likewise.
9313 * locale/programs/ld-telephone.c (telephone_output): Likewise.
9314 * locale/programs/ld-time.c (time_output): Likewise.
9315
e029e2e5
AZ
93162013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9317
9318 * benchtests/Makefile: Add memrchr benchmark.
9319 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
9320 benchmark as memrchr.
9321 * benchtests/bench-memrchr-ifunc.c: New file.
9322 * benchtests/bench-memrchr.c: New file.
9323
bbf6e8e4
WN
93242013-09-06 Will Newton <will.newton@linaro.org>
9325
9326 * benchtests/Makefile (string-bench): Add memcpy.
9327
6c82a2f8
CD
93282013-09-05 Carlos O'Donell <carlos@redhat.com>
9329 Cong Wang <amwang@redhat.com>
9330
e732c5f0 9331 [BZ #15850]
6c82a2f8
CD
9332 * sysdeps/unix/sysv/linux/bits/in.h
9333 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
9334 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
9335 before __USE_KERNEL_IPV6_DEFS uses.
9336 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
9337 IPPROTO_BEETPH.
9338 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
9339 sockaddr_in6, or ipv6_mreq.
9340
5430fc65
AZ
93412013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9342
9343 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
9344 memory access for final bytes in some large inputs.
9345 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
9346
4660856c
AZ
93472013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9348
9349 * string/test-memrchr.c: New file.
9350 * string/test-memrchr-ifunc.c: New file.
9351 * string/Makefile: Add new memrchr testcase.
9352
bb8ea713
MF
93532013-09-05 Mike Frysinger <vapier@gentoo.org>
9354
9355 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
9356 fanotify_init returns EPERM.
9357
b92a20b5
JM
93582013-09-04 Joseph Myers <joseph@codesourcery.com>
9359
9360 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
9361 errors.
9362 (top level): Treat second token from macro or constant entries for
9363 allowed headers as allowed.
9364 * include/complex.h: Condition internal declarations on
9365 [!_ISOMAC].
9366 * include/fenv.h: Condition include of <stdbool.h> and internal
9367 declarations on [!_ISOMAC].
7447ccd9
CL
9368
93692013-09-04 Chris Leonard <cjl@sugarlabs,.org>
9370
3e181dda 9371 [BZ #15923]
7447ccd9
CL
9372 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
9373
3f2e46a4
JM
93742013-09-04 Joseph Myers <joseph@codesourcery.com>
9375
9376 * configure.in (--enable-versioning): Remove configure option.
9377 (libc_cv_asm_symver_directive): Remove configure test.
9378 (libc_cv_ld_version_script_option): Likewise.
9379 (VERSIONING): Remove variable and AC_SUBST.
9380 (DO_VERSIONING): Remove AC_DEFINE.
9381 * configure: Regenerated.
9382 * config.h.in (DO_VERSIONING): Remove macro.
9383 * Makerules [$(versioning) = yes]: Change conditionals to
9384 [$(build-shared) = yes].
9385 * config.make.in (versioning): Remove variable.
9386 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
9387 [$(build-shared) = yes].
9388 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
9389 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
9390 * elf/Makefile [$(versioning) = yes]: Change conditionals to
9391 [$(build-shared) = yes].
9392 * extra-lib.mk [$(versioning) = yes]: Likewise.
9393 * hurd/Makefile [$(versioning) = yes]: Likewise.
9394 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
9395 [SHARED].
9396 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
9397 [SHARED].
9398 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9399 [SHARED && !NO_HIDDEN].
9400 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
9401 [SHARED].
9402 [SHARED && DO_VERSIONING]: Likewise..
9403 * libio/Makefile [$(versioning) = yes]: Change conditionals to
9404 [$(build-shared) = yes].
9405 * manual/install.texi (--disable-versioning): Remove
9406 documentation.
9407 * INSTALL: Regenerated.
9408 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
9409 to [SHARED].
9410 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
9411 [$(build-shared) = yes].
9412 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
9413 * sysdeps/i386/i686/multiarch/strstr-c.c
9414 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9415 [SHARED && !NO_HIDDEN].
9416 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
9417 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
9418 * sysdeps/powerpc/powerpc32/dl-machine.c
9419 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
9420 * sysdeps/powerpc/powerpc32/sysdep.h
9421 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
9422 to [SHARED && PIC && !NO_HIDDEN].
9423 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
9424 conditional to [SHARED].
9425
44558701
WN
94262013-09-04 Will Newton <will.newton@linaro.org>
9427
9428 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
9429 * benchtests/bench-string.h: Include bench-timing.h instead
9430 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
9431 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
9432 call to HP_TIMING_DIFF_INIT.
9433 * benchtests/bench-memccpy.c: Use bench-timing.h macros
9434 instead of hp-timing.h macros.
9435 * benchtests/bench-memchr.c: Likewise.
9436 * benchtests/bench-memcmp.c: Likewise.
9437 * benchtests/bench-memcpy.c: Likewise.
9438 * benchtests/bench-memmem.c: Likewise.
9439 * benchtests/bench-memmove.c: Likewise.
9440 * benchtests/bench-memset.c: Likewise.
9441 * benchtests/bench-rawmemchr.c: Likewise.
9442 * benchtests/bench-strcasecmp.c: Likewise.
9443 * benchtests/bench-strcasestr.c: Likewise.
9444 * benchtests/bench-strcat.c: Likewise.
9445 * benchtests/bench-strchr.c: Likewise.
9446 * benchtests/bench-strcmp.c: Likewise.
9447 * benchtests/bench-strcpy.c: Likewise.
9448 * benchtests/bench-strcpy_chk.c: Likewise.
9449 * benchtests/bench-strlen.c: Likewise.
9450 * benchtests/bench-strncasecmp.c: Likewise.
9451 * benchtests/bench-strncat.c: Likewise.
9452 * benchtests/bench-strncmp.c: Likewise.
9453 * benchtests/bench-strncpy.c: Likewise.
9454 * benchtests/bench-strnlen.c: Likewise.
9455 * benchtests/bench-strpbrk.c: Likewise.
9456 * benchtests/bench-strrchr.c: Likewise.
9457 * benchtests/bench-strspn.c: Likewise.
9458 * benchtests/bench-strstr.c: Likewise.
9459
cae16d66
WN
94602013-09-04 Will Newton <will.newton@linaro.org>
9461
9462 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
9463
ffa3cd7f
JM
94642013-09-03 Joseph Myers <joseph@codesourcery.com>
9465
9466 [BZ #15427]
9467 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
9468 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
9469 * math/libm-test.inc (lgamma_test_data): Add more tests.
9470 * sysdeps/i386/fpu/libm-test-ulps: Update.
9471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9472
8f02859f
OB
94732013-09-03 Ondřej Bílka <neleai@seznam.cz>
9474
9475 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
9476 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9477 Add ifunc.
9478 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9479 Add strcmp-sse2-unaligned
9480 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
9481
18d43716
MF
94822013-09-02 Mike Frysinger <vapier@gentoo.org>
9483
9484 * Versions.def (libc): Add GLIBC_2.19.
9485
ac444012
MF
94862013-09-02 Mike Frysinger <vapier@gentoo.org>
9487
9488 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
9489 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
9490
b7835e32
JM
94912013-09-02 Joseph Myers <joseph@codesourcery.com>
9492
9493 [BZ #14155]
9494 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
9495 intermediate calculations in recurrence.
9496 (__ieee754_ynf): Likewise.
9497 * math/libm-test.inc (jn_test_data): Do not allow spurious
9498 underflow exception. Add more tests.
9499 (yn_test_data): Add more tests.
9500 * sysdeps/i386/fpu/libm-test-ulps: Update.
9501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9502
8220f4f0
OB
95032013-09-02 Ondřej Bílka <neleai@seznam.cz>
9504
9505 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
9506
f24a6d08
OB
95072013-08-30 Ondřej Bílka <neleai@seznam.cz>
9508
9509 * csu/init-first.c: Fix then/than typos.
9510 * locale/programs/ld-collate.c: Likewise.
9511 * locale/programs/linereader.h: Likewise.
9512 * manual/charset.texi: Likewise.
9513 * manual/filesys.texi: Likewise.
9514 * manual/stdio.texi: Likewise.
9515 * manual/string.texi: Likewise.
9516 * stdlib/fmtmsg.c: Likewise.
9517 * sysdeps/i386/stpncpy.S: Likewise.
9518 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9519 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9520 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9521 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9522
382466e0
OB
95232013-08-30 Ondřej Bílka <neleai@seznam.cz>
9524
9525 * elf/dl-open.c: Fix typos.
9526 * iconvdata/gbbig5.c: Likewise.
9527 * iconvdata/iso-2022-jp.c: Likewise.
9528 * iconv/gconv_int.h: Likewise.
9529 * iconv/loop.c: Likewise.
9530 * nis/rpcsvc/nis.h: Likewise.
9531 * resolv/ns_name.c: Likewise.
9532 * stdio-common/vfscanf.c: Likewise.
9533 * streams/stropts.h: Likewise.
9534 * sunrpc/rpc_thread.c: Likewise.
9535 * sysdeps/i386/strpbrk.S: Likewise.
9536 * sysdeps/ieee754/k_standard.c: Likewise.
9537 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9538 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9539 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
9540 * sysdeps/mach/hurd/profil.c: Likewise.
9541 * sysdeps/s390/dl-procinfo.h: Likewise.
9542 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9543 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9544 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
9545 * sysdeps/x86_64/dl-trampoline.S: Likewise.
9546 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9547
0186c6e9
OB
95482013-08-30 Ondřej Bílka <neleai@seznam.cz>
9549
9550 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
9551 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
9552
d4e16af1
OB
95532013-08-29 Ondřej Bílka <neleai@seznam.cz>
9554
9555 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
9556 aix specific files.
9557 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
9558 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
9559 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
9560 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
9561 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
9562 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
9563 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
9564 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
9565
88335980
TS
95662013-08-29 Thomas Schwinge <thomas@codesourcery.com>
9567 Roland McGrath <roland@hack.frob.com>
9568
9569 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
9570 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
9571
ed479b02
ST
95722013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
9573
9574 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
9575 __executable_start symbol instead of _start.
9576
f1cc4c86
TS
95772013-08-29 Thomas Schwinge <thomas@codesourcery.com>
9578
d821f07c
TS
9579 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
9580 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
9581 Move macros to...
9582 * sysdeps/gnu/ldsodefs.h: ... this new file.
9583
c54290cf
TS
9584 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
9585 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
9586 instead of ELFOSABI_LINUX.
9587
0007fc9b 9588 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
9589 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
9590 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
9591 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
9592 Likewise.
9593 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
9594 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
9595 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
9596 Likewise.
9597 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9598 (ibm_extended_long_double): Add ieee_nan member.
9599 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
9600 (do_test): New function.
9601
f1cc4c86
TS
9602 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
9603 TEST_TRUNC.
9604 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
9605 functions, renamed from truncdfsf_test, trunctfsf_test,
9606 trunctfdf_test.
9607 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
9608 functions.
9609 (do_test): Run all these.
9610
6f65e668
OB
96112013-08-29 Ondřej Bílka <neleai@seznam.cz>
9612
9613 * argp/argp-help.c: Fix typos.
9614 * argp/argp-parse.c: Likewise.
9615 * debug/backtracesyms.c: Likewise.
9616 * elf/elf.h: Likewise.
9617 * malloc/malloc.c: Likewise.
9618 * nis/nis_print.c: Likewise.
9619 * resolv/res_comp.c: Likewise.
9620 * stdlib/stdlib.h: Likewise.
9621 * sunrpc/clnt_tcp.c: Likewise.
9622 * sunrpc/clnt_udp.c: Likewise.
9623 * sunrpc/clnt_unix.c: Likewise.
9624 * sysdeps/unix/bsd/ptsname.c: Likewise.
9625 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9626 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
9627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
9628 Likewise.
9629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
9630 Likewise.
9631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
9632 Likewise.
6f65e668
OB
9633 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9634
3a309239
SP
96352013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9636
9637 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
9638 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9639
3b813b29
MF
96402013-08-27 Mike Frysinger <vapier@gentoo.org>
9641
9642 [BZ #15897]
9643 * dlfcn/Makefile (tests): Add bug-dl-leaf.
9644 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
9645 ($(objpfx)bug-dl-leaf): New rule.
9646 ($(objpfx)bug-dl-leaf.so): Likewise.
9647 ($(objpfx)bug-dl-leaf.out): Likewise.
9648 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
9649 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
9650 * dlfcn/bug-dl-leaf.c: New test.
9651 * dlfcn/bug-dl-leaf-lib.c: Likewise.
9652 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
9653 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
9654 (dlclose): Likewise.
9655 (dlmopen): Likewise.
9656
8cc3269f
RM
96572013-08-27 Roland McGrath <roland@hack.frob.com>
9658
7f9d0034
RM
9659 * include/netdb.h [!_ISOMAC]:
9660 Don't include <tls.h>.
9661 (h_errno, __libc_h_errno): Move declaration and macros out of
9662 [_LIBC_REENTRANT].
9663
fb431262
RM
9664 * include/resolv.h [_RESOLV_H_]:
9665 Don't include <tls.h>.
9666 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
9667 * resolv/res_libc.c: Don't include <tls.h>.
9668 (_res): Use __attribute__ ((nocommon)) in place of
9669 __attribute__ ((section (".bss"))).
9670
bd81123a
RM
9671 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
9672 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
9673
c4e42566
RM
9674 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
9675
f890a59b
RM
9676 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
9677 only under [SIOCGIFCONF && SIOCGIFNETMASK].
9678
9679 * resolv/res_mkquery.c: Include <sys/time.h>.
9680
5d1f0a09
RM
9681 * inet/ifreq.c: Moved to ...
9682 * sysdeps/unix/ifreq.c: ... here.
9683 * inet/ifreq.c: New file, true stub version.
9684
6fcf28b3
RM
9685 * socket/sa_len.c: New file.
9686 * socket/Makefile (aux): Add it.
9687 * sysdeps/unix/sysv/linux/Makefile
9688 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
9689 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
9690 and #include <socket/sa_len.c>.
9691 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
9692 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
9693
e041fb8b
RM
9694 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
9695 * bits/socket.h: ... here.
9696
8cc3269f
RM
9697 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
9698 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
9699 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
9700
5d228a43
AS
97012013-08-27 Andreas Schwab <schwab@suse.de>
9702
45b8accc
AS
9703 [BZ #15736]
9704 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
9705 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
9706 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
9707 * string/test-strcasecmp.c (test_main): Run tests in several
9708 locales.
9709 * string/test-strncasecmp.c (test_main): Likewise.
9710
5d228a43
AS
9711 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
9712 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
9713 to __strcasecmp_nonascii and __strncasecmp_nonascii.
9714 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
9715 (__strncasecmp_ssse3) [PIC]: Likewise.
9716
59d112a4
RM
97172013-08-26 Roland McGrath <roland@hack.frob.com>
9718
53234cc3
RM
9719 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
9720
59d112a4
RM
9721 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
9722 instead of explicitly declaring xdecrypt.
9723 * nis/nss_nis/nis-publickey.c: Likewise.
9724
595aba70
SP
97252013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9726
9727 [BZ #15890]
9728 * nscd/aicache.c: Include res_hconf.h.
9729 (addhstaiX): Initialize res_hconf.
9730
ffabd393
AS
97312013-08-26 Andreas Schwab <schwab@suse.de>
9732
9733 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
9734 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
9735
e0a69f5c
SP
97362013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9737
9738 * nscd/aicache.c (addhstaiX): Fix indentation.
9739
8c12f01d
MF
97402013-08-25 Mike Frysinger <vapier@gentoo.org>
9741
9742 * configure.ac: Quote $build_pt_chown test.
9743 * configure: Regenerated.
9744
8fe89494
JM
97452013-08-23 Joseph Myers <joseph@codesourcery.com>
9746
9747 [BZ #15532]
9748 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
9749 * math/s_cexpf.c (__cexpf): Likewise.
9750 * math/s_cexpl.c (__cexpl): Likewise.
9751 * math/libm-test.inc (cexp_test_data): Correct expected return
9752 value for NaN + i0. Add another test.
9753
75b181d6
DM
97542013-08-22 David S. Miller <davem@davemloft.net>
9755
9756 * po/ca.po: Update Catalan translation from translation project.
936241e4 9757 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 9758
acd06bb1
JM
97592013-08-21 Joseph Myers <joseph@codesourcery.com>
9760
9761 [BZ #15797]
9762 * math/s_fdim.c (__fdim): Check for infinite arguments if result
9763 is infinite, not alongside NaN test.
9764 * math/s_fdimf.c (__fdimf): Likewise.
9765 * math/s_fdiml.c (__fdiml): Likewise.
9766 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
9767 errno is unchanged.
9768
c0c3f78a
OB
97692013-08-21 Ondřej Bílka <neleai@seznam.cz>
9770
9771 * argp/argp-help.c: Fix typos.
9772 * crypt/speeds.c: Likewise.
9773 * csu/check_fds.c: Likewise.
9774 * elf/dl-load.c: Likewise.
9775 * elf/dl-open.c: Likewise.
9776 * elf/reldep3.c: Likewise.
9777 * elf/reldep.c: Likewise.
9778 * elf/sprof.c: Likewise.
9779 * iconv/iconv_charmap.c: Likewise.
9780 * iconv/skeleton.c: Likewise.
9781 * iconv/strtab.c: Likewise.
9782 * io/lockf64.c: Likewise.
9783 * libio/libioP.h: Likewise.
9784 * resolv/gai_notify.c: Likewise.
9785 * resolv/ns_name.c: Likewise.
9786 * resolv/ns_samedomain.c: Likewise.
9787 * resolv/res_send.c: Likewise.
9788 * stdlib/random.c: Likewise.
9789 * sunrpc/rpc/xdr.h: Likewise.
9790 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
9791 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9792 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9793 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9794 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9795 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9796 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9797 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9798 * sysdeps/mach/hurd/check_fds.c: Likewise.
9799 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9800 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9801 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9802 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9803 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9804 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9805 * sysdeps/pthread/aio_notify.c: Likewise.
9806 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
9807 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
9808 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
9809 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9810 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9811
46ed1038
LD
98122013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9813
9814 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
9815 version if bit_Slow_SSE4_2 is set.
9816 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9817 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9818
d400dcac
AZ
98192013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9820
9821 [BZ #15867]
9822 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
9823 trampoline stack frame information.
9824 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
9825 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
9826 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
9827 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
9828 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
9829 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9830 (_libc_vdso_platform_setup): Initialize the signal trampolines.
9831 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
9832 sa_flags value.
9833 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
9834 interrupting a syscall and set with option SA_SIGINFO.
9835
42c8fdd8
JM
98362013-08-20 Joseph Myers <joseph@codesourcery.com>
9837
c980f2f4
JM
9838 [BZ #15531]
9839 * math/s_cproj.c (__cproj): Only return an infinity if one part of
9840 argument is infinite.
9841 * math/s_cprojf.c (__cprojf): Likewise.
9842 * math/s_cprojl.c (__cprojl): Likewise.
9843 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
9844 * math/libm-test.inc (cproj_test_data): Add more tests.
9845
0716c4fc
JM
9846 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
9847
42c8fdd8
JM
9848 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
9849 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
9850 size. Use __ffs to determine corresponding shift.
9851
b31469d0
JM
98522013-08-20 Joseph Myers <joseph@codesourcery.com>
9853 Roland McGrath <roland@hack.frob.com>
9854
9855 * Makefile (INSTALL): Remove trailing blank lines from output of
9856 makeinfo.
9857
4e39af6e
AK
98582013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9859
9860 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
9861 Align 32 bit compat elf_greg to 8 bytes.
9862
f315524e
AA
98632013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
9864
9865 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
9866
1326ba1a
SP
98672013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9868
9869 * string/strcoll_l.c (coll_seq): New structure.
9870 (get_next_seq_cached): New function.
9871 (get_next_seq): New function.
9872 (do_compare): New function.
9873 (STRCOLL): Use GNU style definition. Simplify implementation
9874 by using get_next_seq, get_next_seq_cached and do_compare.
9875
91ce4085
FW
98762013-08-16 Florian Weimer <fweimer@redhat.com>
9877
9878 [BZ #14699]
9879 CVE-2013-4237
9880 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
9881 member.
9882 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
9883 member.
9884 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
9885 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
9886 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
9887 conditional.
9888 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
9889 GETDENTS_64BIT_ALIGNED.
9890 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9891 * manual/filesys.texi (Reading/Closing Directory): Document
9892 ENAMETOOLONG return value of readdir_r. Recommend readdir more
9893 strongly.
9894 * manual/conf.texi (Limits for Files): Add portability note to
9895 NAME_MAX, PATH_MAX.
9896 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
9897
ca0a6bc4
AS
98982013-08-13 Andreas Schwab <schwab@suse.de>
9899
9900 [BZ #15749]
9901 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
9902 of fabs.
9903 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
9904 LDBL_MAX_EXP >= 16384]: Add tests for it.
9905
6c1fd795
DM
99062013-08-12 David S. Miller <davem@davemloft.net>
9907
9908 * version.h (RELEASE): Set to "development".
9909 (VERSION): Set to "2.18.90".
9910 * NEWS: Add 2.19 section.
9911
31ad488d
DM
99122013-08-03 David S. Miller <davem@davemloft.net>
9913
9914 * po/ko.po: Update Korean translation from translation project.
9915
db24e684
DM
99162013-08-01 David S. Miller <davem@davemloft.net>
9917
9918 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
9919 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
9920 Bilka.
9921
f723285b
DM
99222013-07-30 David S. Miller <davem@davemloft.net>
9923
9924 * po/fr.po: Update French translation from translation project.
9925
3cbc52db
DM
99262013-07-28 David S. Miller <davem@davemloft.net>
9927
30bbc0cc
DM
9928 * po/cs.po: Update Czech translation from translation project.
9929
3cbc52db
DM
9930 * po/sv.po: Update Swedish translation from translation project.
9931
d492e6d0
DM
99322013-07-27 David S. Miller <davem@davemloft.net>
9933
f1a7f492
DM
9934 * po/eo.po: Update Esperanto translation from translation project.
9935
90e62a4a
DM
9936 * po/vi.po: Update Vietnamese translation from translation project.
9937
d492e6d0
DM
9938 * po/de.po: Update German translation from translation project.
9939
d4baa62d
DM
99402013-07-26 David S. Miller <davem@davemloft.net>
9941
641aa7b4
DM
9942 * po/bg.po: Update Bulgarian translation from translation project.
9943
d4baa62d
DM
9944 * po/nl.po: Update Dutch translation from translation project.
9945 * po/pl.po: Update Polish translation from translation project.
9946 * po/ru.po: Update Russian translation from translation project.
9947
61a9dcb9
DM
99482013-07-24 David S. Miller <davem@davemloft.net>
9949
9950 * po/libc.pot: Update.
9951
7b1f8b58
AZ
99522013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9953
9954 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
9955 variable page size.
9956 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
9957 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
9958 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
9959
a8fc7a03
AK
99602013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9961
9962 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
9963
e4608715
CD
99642013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9965 Andreas Schwab <schwab@suse.de>
9966 Roland McGrath <roland@hack.frob.com>
9967 Joseph Myers <joseph@codesourcery.com>
9968 Carlos O'Donell <carlos@redhat.com>
9969
9970 [BZ #15755]
9971 * config.h.in: Define HAVE_PT_CHOWN.
9972 * config.make.in (build-pt-chown): New variable.
9973 * configure.in (--enable-pt_chown): New configure option.
9974 * configure: Regenerate.
9975 * login/Makefile: Include Makeconfig. Build pt_chown only if
9976 build-pt-chown is enabled.
9977 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
9978 pt_chown to fix pty ownership.
9979 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
9980 CLOSE_ALL_FDS.
9981 * manual/install.texi (Configuring and compiling): Mention
9982 --enable-pt_chown. Add @findex for grantpt.
9983 * INSTALL: Regenerate.
9984
da2d62df
DM
99852013-07-20 David S. Miller <davem@davemloft.net>
9986
9987 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
9988 difference between 32-bit and 64-bit.
9989
d7e06450
CD
99902013-07-15 Carlos O'Donell <carlos@redhat.com>
9991
9992 [BZ #15711]
9993 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
9994 Avoid system header dependency with -ffreestanding.
9995 ($(objpfx)bits/syscall%d): Likewise.
9996
f959cfd7
DM
99972013-07-13 David S. Miller <davem@davemloft.net>
9998
9999 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10000 underflows from atanl/atan2l due to bug 15319.
10001 (casinh_test_data): Likewise.
10002
c61f8513
DM
100032013-07-07 David S. Miller <davem@davemloft.net>
10004
10005 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10006
72c90ed0
JA
100072013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
10008
10009 * sysdeps/i386/fpu/libm-test-ulps: Update.
10010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10011
52dfbe13
SP
100122013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10013
10014 * configure.in (--enable-lock-elision): Fix message text.
10015 * INSTALL: Regenerate.
10016 * configure: Regenerate.
10017
3f169543
AZ
100182013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10019
10020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10021
521c6785
AJ
100222013-07-03 Andreas Jaeger <aj@suse.de>
10023
10024 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10025 define.
10026 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10027 (ptrace_peeksiginfo_args): Add.
10028 (__ptrace_peeksiginfo_flags): Add.
10029 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10030 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10031 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10032
d2cc15cb
AM
100332013-07-03 Allan McRae <allan@archlinux.org>
10034
10035 * sysdeps/i386/fpu/libm-test-ulps: Update.
10036
3aaeeca7
DM
100372013-07-02 David S. Miller <davem@davemloft.net>
10038
10039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10040
5314ed1a
MT
100412013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
10042
10043 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10044
67338156
JM
100452013-07-02 Joseph Myers <joseph@codesourcery.com>
10046
10047 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10049
1717da59
AK
100502013-07-02 Andi Kleen <ak@linux.intel.com>
10051
10052 * config.h.in (ENABLE_LOCK_ELISION): Add.
10053 * configure.in (--enable-lock-elision): Add option.
10054 * manual/install.texi: Document --enable lock elision.
10055 * configure: Regenerate
10056 * INSTALL: Regenerate.
10057
1c81621c
L
100582013-07-02 H.J. Lu <hongjiu.lu@intel.com>
10059
10060 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10061 SSE4.2 strcasecmp for libc.a.
10062 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10063
77f01ab5
JM
100642013-07-02 Joseph Myers <joseph@codesourcery.com>
10065
10066 [BZ #13304]
10067 * soft-fp/op-common.h (_FP_FMA): New macro.
10068 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10069 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
10070 (_FP_MUL_MEAT_1_imm): ... here.
10071 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
10072 (_FP_MUL_MEAT_1_wide): ... here.
10073 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
10074 (_FP_MUL_MEAT_1_hard): ... here.
10075 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10076 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
10077 (_FP_MUL_MEAT_2_wide): ... here.
10078 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
10079 (_FP_MUL_MEAT_2_wide_3mul): ... here.
10080 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
10081 (_FP_MUL_MEAT_2_gmp): ... here.
10082 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10083 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
10084 (_FP_MUL_MEAT_4_wide): ... here.
10085 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
10086 (_FP_MUL_MEAT_4_gmp): ... here.
10087 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10088 (_FP_WFRACBITS_DW_S): Likewise.
10089 (_FP_WFRACXBITS_DW_S): Likewise.
10090 (_FP_HIGHBIT_DW_S): Likewise.
10091 (FP_FMA_S): Likewise.
10092 (_FP_FRAC_HIGH_DW_S): Likewise.
10093 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10094 (_FP_WFRACBITS_DW_D): Likewise.
10095 (_FP_WFRACXBITS_DW_D): Likewise.
10096 (_FP_HIGHBIT_DW_D): Likewise.
10097 (FP_FMA_D): Likewise.
10098 (_FP_FRAC_HIGH_DW_D): Likewise.
10099 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10100 (_FP_WFRACBITS_DW_E): Likewise.
10101 (_FP_WFRACXBITS_DW_E): Likewise.
10102 (_FP_HIGHBIT_DW_E): Likewise.
10103 (FP_FMA_E): Likewise.
10104 (_FP_FRAC_HIGH_DW_E): Likewise.
10105 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10106 (_FP_WFRACBITS_DW_Q): Likewise.
10107 (_FP_WFRACXBITS_DW_Q): Likewise.
10108 (_FP_HIGHBIT_DW_Q): Likewise.
10109 (FP_FMA_Q): Likewise.
10110 (_FP_FRAC_HIGH_DW_Q): Likewise.
10111 * soft-fp/fmasf4.c: New file.
10112 * soft-fp/fmadf4.c: Likewise.
10113 * soft-fp/fmatf4.c: Likewise.
10114
6308fd9a
LD
101152013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10116
10117 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10118 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10119 Silvermont.
10120 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10121 macro.
10122 (index_Slow_SSE4_2): Likewise.
10123 (index_Prefer_PMINUB_for_stringop): Likewise.
10124 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10125 bit_Slow_SSE4_2 is set.
10126 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10127 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10128
89cd9569
RA
101292013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10130
10131 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10132 rtld_global._dl_hwcap2.
10133 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10134 POWER8.
10135 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10136 POWER8 feature descriptions defined in _dl_hwcap2.
10137 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10138 string handling for POWER8 feature bits.
10139 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10140 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10141 _dl_powerpc_cap_flags.
10142 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10143 * sysdeps/powerpc/rtld-global-offsets.sym
10144 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10145 _dl_hwcap2 in the rtld_global_ro structure.
10146
1ae8bfe0
RA
101472013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10148
10149 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10150 hardware capabilities in support of AT_HWCAP2.
10151 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10152 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10153 GLRO(dl_hwcap2).
10154 (_dl_show_auxv): Add support for calling _dl_procinfo to display
10155 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
10156 explicitly the unknown a_type display mechanism is used.
10157 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10158 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10159 struct member.
10160 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10161 to macro prototype for AT_HWCAP2 support.
10162 * sysdeps/i386/dl-procinfo.h: Likewise.
10163 * sysdeps/s390/dl-procinfo.h: Likewise.
10164 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10165 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
10166 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
10167 return -1 for unknown a_type display fallback.
10168 * sysdeps/sparc/dl-procinfo.h: Likewise.
10169 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10170 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10171
8fbec010
JM
101722013-06-28 Joseph Myers <joseph@codesourcery.com>
10173
10174 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10175 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10176
0432680e
PY
101772013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
10178
10179 [BZ #12492]
10180 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10181 mprotect making __stack_prot writable.
10182
ce61a2ad
NF
101832013-06-28 Nathan Froyd <froydnj@codesourcery.com>
10184 Joseph Myers <joseph@codesourcery.com>
10185
10186 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10187 as being properly aligned.
10188
f91f1c0f
MR
101892013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
10190
3d0f5d0c
MR
10191 * dlfcn/modstatic5.c: New file.
10192 * dlfcn/tststatic5.c: New file.
10193 * dlfcn/Makefile (tests): Add tststatic5.
10194 (tests-static): Likewise.
10195 (modules-names): Add modstatic5.
10196 (tststatic5-ENV): New variable.
10197 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10198
f91f1c0f
MR
10199 [BZ #15022]
10200 * elf/dl-support.c (_dl_main_map): New variable.
10201 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10202 (_dl_nns, _dl_load_adds): Set to 1.
10203 (_dl_initial_searchlist): Refer to _dl_main_map.
10204 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10205 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10206 call to _dl_get_origin.
10207 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10208 around call_map.
10209 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10210 * dlfcn/modstatic3.c: New file.
10211 * dlfcn/tststatic3.c: New file.
10212 * dlfcn/tststatic4.c: New file.
10213 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10214 (tests-static): Likewise.
10215 (modules-names): Add modstatic3.
10216 (tststatic3-ENV, tststatic4-ENV): New variables.
10217 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10218 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10219
cbe7d24b
JM
102202013-06-26 Joseph Myers <joseph@codesourcery.com>
10221
10222 * configure.in (CC): Require GCC version 4.4 or later.
10223 * configure: Regenerated.
10224 * manual/install.texi (Tools for Compilation): Update GCC version
10225 requirement.
10226 * INSTALL: Regenerated.
10227
11b8a0e1
LD
102282013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10229
10230 [BZ #15674]
bb5bb87c
L
10231 * string/test-memcmp.c (check2): New.
10232 (main): Call check2.
10233
11b8a0e1
LD
10234 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10235
b0037103
MR
102362013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
10237
10238 [BZ #15022]
10239 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10240 over to...
10241 (dl_open_worker) [!SHARED]: ... here.
10242
c18c701d
RA
102432013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10244
10245 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10246
1d17fa5f
RH
102472013-06-25 Richard Henderson <rth@redhat.com>
10248
10249 * locale/programs/locarchive.c: Include <libc-internal.h>
10250
8fcb833a
JM
102512013-06-25 Joseph Myers <joseph@codesourcery.com>
10252
10253 * manual/texinfo.tex: Update to version 2013-06-21.17, with
10254 trailing whitespace removed.
10255
17db6e8d
MF
102562013-06-24 Mike Frysinger <vapier@gentoo.org>
10257
10258 [BZ #10283]
17db6e8d
MF
10259 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10260 * locale/programs/locarchive.c: Include libc-mmap.h.
10261 (prepare_address_space): Take two new outputs (the mmap base and len).
10262 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
10263 values.
10264 (create_archive): Declare new mmap base and len values for
10265 prepare_address_space, and store the result in ah.
10266 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10267 (enlarge_archive): If ah->mmap_base is not NULL, use that and
10268 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10269 Declare new mmap base and len values for
10270 prepare_address_space, and store the result in new_ah.
10271 (open_archive): Declare new mmap base and len values for
10272 prepare_address_space, and store the result in ah.
10273 (close_archive): If ah->mmap_base is not NULL, use that and
10274 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10275 * sysdeps/generic/libc-mmap.h: New file.
10276
d605071e
MF
102772013-06-24 Mike Frysinger <vapier@gentoo.org>
10278
10279 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10280 (ALIGN_UP): Likewise.
10281 (PTR_ALIGN_DOWN): Likewise.
10282 (PTR_ALIGN_UP): Likewise.
10283
2f063a6e
RA
102842013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10285
10286 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10287 entry mapped to PPC_PLATFORM_POWER8.
10288 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10289 POWER8.
10290 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10291 (_dl_string_platform): Add case for exporting platform position for
10292 POWER8.
10293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10294 search path to sysdeps/powerpc/powerpc32/power8 directory.
10295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10296 search path to sysdeps/powerpc/powerpc64/power8 directory.
10297 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10298 power7 directories.
10299 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10300 power7 directories.
10301
a31ee4b3
SP
103022013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10303
a74ca98f
SP
10304 * INSTALL: Regenerate.
10305
a31ee4b3
SP
10306 * nscd/connections.c (nscd_init): Fix comment.
10307
695c378f
JM
103082013-06-22 Joseph Myers <joseph@codesourcery.com>
10309
d8412221
JM
10310 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10311
695c378f
JM
10312 [BZ #15667]
10313 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
10314 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
10315
d1d54715
MR
103162013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10317
10318 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10319 DL_DST_REQ_STATIC.
10320 (DL_DST_REQ_STATIC): Remove macro.
10321
8fdda7af
JM
103222013-06-21 Joseph Myers <joseph@codesourcery.com>
10323
10324 [BZ #7006]
10325 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
10326 with a shift of 0 bits.
10327
f3bc5e5a
MR
103282013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10329
10330 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
10331 $(tststatic-ENV).
10332
be09e8c9
KK
103332013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10334
10335 [BZ #15655]
10336 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
10337
85c2e611
AZ
103382013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10339
10340 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
10341 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
10342 accepts -fno-tree-loop-distribute-patterns.
10343 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
10344 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
10345 recursive call.
10346 * string/memset.c (memset): Likewise.
10347 * string/test-memmove.c (simple_memmove): Disable loop transformation
10348 to library calls.
10349 * string/test-memset.c (simple_memset): Likewise.
10350 * benchtests/bench-memmove.c (simple_memmove): Likewise.
10351 * benchtests/bench-memset.c (simple_memset): Likewise.
10352 * configure: Regenerated.
10353
c91e0825
JM
103542013-06-20 Joseph Myers <joseph@codesourcery.com>
10355
b8c792af
JM
10356 * math/test-misc.c (main): Ignore fesetround failure when failures
10357 of subsequent rounding tests would be ignored.
10358
c91e0825
JM
10359 [BZ #15654]
10360 * math/fedisblxcpt.c (fedisableexcept): Return 0.
10361 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
10362 * math/fegetenv.c (__fegetenv): Return 0.
10363 * math/fegetexcept.c (fegetexcept): Return 0.
10364 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
10365 FE_TONEAREST.
10366 * math/feholdexcpt.c (feholdexcept): Return 0.
10367 * math/fesetenv.c (__fesetenv): Return 0.
10368 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
10369 argument FE_TONEAREST.
10370 * math/feupdateenv.c (__feupdateenv): Return 0.
10371 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
10372
bfcacbde
RM
103732013-06-18 Roland McGrath <roland@hack.frob.com>
10374
10375 * elf/rtld-Rules (rtld-compile-command.S): New variable.
10376 (rtld-compile-command.s, rtld-compile-command.c): New variables.
10377 ($(objpfx)rtld-%.os rules): Use them.
10378
e55a9b25
AZ
103792013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10380
10381 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
10382 fields.
10383
346d65b3
RM
103842013-06-17 Roland McGrath <roland@hack.frob.com>
10385
12086fb4
RM
10386 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
10387 length of target pattern, then descending length of dependency pattern.
10388 * configure.in (AWK): Require gawk 3.1.2 or newer.
10389 * manual/install.texi (Tools for Compilation): Say that we do.
10390 * configure: Regenerated.
10391
346d65b3
RM
10392 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
10393 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
10394 * scripts/sysd-rules.awk: ... this new script.
10395 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
10396 than a glob-style pattern.
10397
1a846317
JM
103982013-06-17 Joseph Myers <joseph@codesourcery.com>
10399
10400 * math/test-misc.c (main): Do not treat incorrectly rounded
10401 conversions as failure unless ROUNDING_TESTS passes.
10402
8fc75e6f
JM
104032013-06-15 Joseph Myers <joseph@codesourcery.com>
10404
3711a167
JM
10405 [BZ #15631]
10406 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
10407 restore exception state around main square root computation, then
10408 check for inexactness explicitly.
10409
8fc75e6f
JM
10410 * math/libm-test.inc (fma_test_data): Add another test.
10411
61dd6208
SP
104122013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10413
adf23d2c
SP
10414 * manual/threads.texi (Non-POSIX Extensions): New document
10415 node. Document pthread_getattr_default_np and
10416 pthread_setattr_default_np.
10417
61dd6208
SP
10418 * Versions.def (libpthread): Add GLIBC_2.18.
10419 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
10420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10421 Likewise.
10422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10423 Likewise.
10424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10425 Likewise.
10426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10427 Likewise.
10428 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
10429 Likewise.
10430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10431 Likewise.
10432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10433 Likewise.
10434 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10435 Likewise.
10436 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10437 Likewise.
10438
d086fc7b
LD
104392013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10440
10441 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10442 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
10443
747ef469
SP
104442013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10445 H.J. Lu <hjl.tools@gmail.com>
10446
10447 [BZ #15627]
10448 * sysdeps/x86_64/rtld-memset.c: Remove file.
10449 * sysdeps/x86_64/rtld-memset.S: New file.
10450
1b2feed2
JM
104512013-06-14 Joseph Myers <joseph@codesourcery.com>
10452
10453 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
10454 (test_in_one_mode): Take arguments for whether the rounding mode
10455 is supported for each floating-point type.
10456 (do_test): Pass new arguments to test_in_one_mode using
10457 ROUNDING_TESTS.
10458
a58ad3f8
RM
104592013-06-13 Roland McGrath <roland@hack.frob.com>
10460
10461 * posix/tst-waitid.c (do_test): Distinguish different instances of
10462 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
10463 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
10464 before entering the kernel for waitpid.
10465
c204ab28
SP
104662013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10467
10468 * NEWS: Fix note on clock function precision. Text by Roland
10469 McGrath.
10470
f4a29fba
RM
104712013-06-13 Roland McGrath <roland@hack.frob.com>
10472
10473 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
10474 it into place only when and if the sanity check passes.
10475
1f24b9ad
JM
104762013-06-13 Joseph Myers <joseph@codesourcery.com>
10477
10478 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
10479 output for whether conversion result is exact. Take argument
10480 indicating whether type is IBM long double.
10481 (round_for_all): Change need_exact field to ibm_ld.
10482 * stdlib/tst-strtod-round.c (struct exactness): New type.
10483 (struct test): Change bool ld_ok field to struct exactness exact.
10484 (TEST): Update all definitions for change to field.
10485 (tests): Regenerate array contents.
10486 (test_in_one_mode): Take pointer to new field instead of old ld_ok
10487 field value. Check for IBM long double here.
10488 (do_test): Update calls to test_in_one_mode.
10489
58206c68
SP
104902013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10491
10492 [BZ #12515]
10493 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
10494 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
10495
2d6f4c5b 104962013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
10497
10498 [BZ #15605]
10499 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
10500 generated by the compiler on loop optimizations.
10501 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
10502 general definitions.
10503
94f2c076
JM
105042013-06-12 Joseph Myers <joseph@codesourcery.com>
10505
10506 * math/bug-nextafter.c: Include <math-tests.h>.
10507 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10508 the relevant type.
10509 * math/bug-nexttoward.c: Include <math-tests.h>.
10510 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10511 the relevant type.
10512 * math/test-misc.c: Include <math-tests.h>.
10513 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10514 the relevant type.
10515
e0e50a0a
AJ
105162013-06-12 Andreas Jaeger <aj@suse.de>
10517
10518 * po/ia.po: Update Interlingua translation from translation
10519 project.
10520
25061094
SP
105212013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10522
10523 * include/fenv.h: Include stdbool.h.
10524 (struct rm_ctx): New structure.
10525 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
10526 Define macro.
10527 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
10528 (SET_RESTORE_ROUNDF): Likewise.
10529 (SET_RESTORE_ROUNDL): Likewise.
10530 (SET_RESTORE_ROUND_NOEX): Likewise.
10531 (SET_RESTORE_ROUND_NOEXF): Likewise.
10532 (SET_RESTORE_ROUND_NOEXL): Likewise.
10533 (SET_RESTORE_ROUND_53BIT): Likewise.
10534 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
10535 (libc_feresetround_noexf_ctx): Likewise.
10536 (libc_feresetround_noexl_ctx): Likewise.
10537 (libc_feholdsetround_53bit_ctx): Likewise.
10538 (libc_feresetround_53bit_ctx): Likewise.
10539 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
10540 (libc_feholdexcept_setround_sse_ctx): New function.
10541 (libc_fesetenv_sse_ctx): Likewise.
10542 (libc_feupdateenv_sse_ctx): Likewise.
10543 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
10544 (libc_feholdexcept_setround_387_ctx): Likewise.
10545 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
10546 (libc_feholdsetround_387_prec_ctx): Likewise.
10547 (libc_feholdsetround_387_ctx): Likewise.
10548 (libc_feholdsetround_387_53bit_ctx): Likewise.
10549 (libc_feholdsetround_sse_ctx): Likewise.
10550 (libc_feresetround_sse_ctx): Likewise.
10551 (libc_feresetround_387_ctx): Likewise.
10552 (libc_feupdateenv_387_ctx): Likewise.
10553 (libc_feholdexcept_setroundf_ctx): Define macro.
10554 (libc_fesetenvf_ctx): Likewise.
10555 (libc_feupdateenvf_ctx): Likewise.
10556 (libc_feholdsetroundf_ctx): Likewise.
10557 (libc_feresetroundf_ctx): Likewise.
10558 (libc_feholdexcept_setround_ctx): Likewise.
10559 (libc_fesetenv_ctx): Likewise.
10560 (libc_feupdateenv_ctx): Likewise.
10561 (libc_feholdsetround_ctx): Likewise.
10562 (libc_feresetround_ctx): Likewise.
10563 (libc_feholdexcept_setroundl_ctx): Likewise.
10564 (libc_feupdateenvl_ctx): Likewise.
10565 (libc_feholdsetroundl_ctx): Likewise.
10566 (libc_feresetroundl_ctx): Likewise.
10567 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
10568 (libc_feresetround_53bit_ctx): Likewise.
10569
59b30555
SP
105702013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10571
10572 * locale/iso-639.def: Convert to UTF-8.
10573
f1d73d30
JM
105742013-06-11 Joseph Myers <joseph@codesourcery.com>
10575
10576 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
10577 (EXCEPTION_TESTS_double): Likewise.
10578 (EXCEPTION_TESTS_long_double): Likewise.
10579 (EXCEPTION_TESTS): Likewise.
10580 * math/libm-test.inc (test_exceptions): Only test exceptions if
10581 EXCEPTION_TESTS (FLOAT).
10582
94aca5e7
SP
105832013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10584
10585 * benchtests/Makefile (string-bench): Add strcpy_chk and
10586 stpcpy_chk.
10587 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
10588 * benchtests/bench-stpcpy_chk.c: New file.
10589 * benchtests/bench-strcpy_chk-ifunc.c: New file.
10590 * benchtests/bench-strcpy_chk.c: New file.
10591 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
10592 code.
10593 (do_test): Likewise.
10594
fac0c5f2
RA
105952013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10596
10597 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
10598 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
10599 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
10600 with tabs where appropriate.
10601 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
10602 dl-procinfo.h.
10603 [PPC_PLATFORM_PPC440]: Likewise.
10604 [PPC_PLATFORM_PPC464]: Likewise.
10605 [PPC_PLATFORM_PPC476]: Likewise.
10606 (_dl_string_platform): Add support for detecting ppc405, ppc440,
10607 ppc464, and ppc476 platform strings merging from ports/
10608 dl-procinfo.h.
10609
f22bc486
AS
106102013-06-11 Andreas Schwab <schwab@suse.de>
10611
10612 [BZ #14991]
10613 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
10614 (from_ucs4_idx): Regenerate.
10615 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
10616 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
10617 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
10618 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
10619 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
10620 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
10621 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
10622 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
10623 from FROM_LOOP and TO_LOOP specific macros.
10624 (BODY): Handle combining characters.
10625 * iconvdata/BIG5HKSCS.irreversible: Update.
10626 * iconvdata/BIG5HKSCS.precomposed: New file.
10627 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
10628 characters.
10629 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
10630
c1f75dc3
SP
106312013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10632
4eacded2
SP
10633 * include/sys/time.h: Fix indentation and add copyright header.
10634
fec799f8
SP
10635 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
10636 (do_test): Likewise.
10637 * string/test-memchr.c (do_one_test): Likewise.
10638 (do_test): Likewise.
10639 * string/test-memcmp.c (do_one_test): Likewise.
10640 (do_test): Likewise.
10641 * string/test-memcpy.c (do_one_test): Likewise.
10642 (do_test): Likewise.
10643 * string/test-memmem.c (do_one_test): Likewise.
10644 (do_test): Likewise.
10645 (do_random_tests): Likewise.
10646 * string/test-memmove.c (do_one_test): Likewise.
10647 (do_test): Likewise.
10648 * string/test-memset.c (do_one_test): Likewise.
10649 (do_test): Likewise.
10650 * string/test-rawmemchr.c (do_one_test): Likewise.
10651 (do_test): Likewise.
10652 * string/test-strcasecmp.c (do_one_test): Likewise.
10653 (do_test): Likewise.
10654 * string/test-strcasestr.c (do_one_test): Likewise.
10655 (do_test): Likewise.
10656 * string/test-strcat.c (do_one_test): Likewise.
10657 (do_test): Likewise.
10658 * string/test-strchr.c (do_one_test): Likewise.
10659 (do_test): Likewise.
10660 * string/test-strcmp.c (do_one_test): Likewise.
10661 (do_test): Likewise.
10662 * string/test-strcpy.c (do_one_test): Likewise.
10663 (do_test): Likewise.
10664 * string/test-string.h: Likewise.
10665 (test_init): Likewise.
10666 * string/test-strlen.c (do_one_test): Likewise.
10667 (do_test): Likewise.
10668 * string/test-strncasecmp.c (do_one_test): Likewise.
10669 (do_test): Likewise.
10670 * string/test-strncat.c (do_one_test): Likewise.
10671 (do_test): Likewise.
10672 * string/test-strncmp.c (do_one_test): Likewise.
10673 (do_test_limit): Likewise.
10674 (do_test): Likewise.
10675 * string/test-strncpy.c (do_one_test): Likewise.
10676 (do_test): Likewise.
10677 * string/test-strnlen.c (do_one_test): Likewise.
10678 (do_test): Likewise.
10679 * string/test-strpbrk.c (do_one_test): Likewise.
10680 (do_test): Likewise.
10681 * string/test-strrchr.c (do_one_test): Likewise.
10682 (do_test): Likewise.
10683 * string/test-strspn.c (do_one_test): Likewise.
10684 (do_test): Likewise.
10685 * string/test-strstr.c (do_one_test): Likewise.
10686 (do_test): Likewise.
10687
97020474
SP
10688 * benchtests/Makefile (string-bench): Add string benchmarks.
10689 * benchtests/bench-bcopy-ifunc.c: New file.
10690 * benchtests/bench-bcopy.c: New file.
10691 * benchtests/bench-bzero-ifunc.c: New file.
10692 * benchtests/bench-bzero.c: New file.
10693 * benchtests/bench-memccpy-ifunc.c: New file.
10694 * benchtests/bench-memccpy.c: New file.
10695 * benchtests/bench-memchr-ifunc.c: New file.
10696 * benchtests/bench-memchr.c: New file.
10697 * benchtests/bench-memcmp-ifunc.c: New file.
10698 * benchtests/bench-memcmp.c: New file.
10699 * benchtests/bench-memmem-ifunc.c: New file.
10700 * benchtests/bench-memmem.c: New file.
10701 * benchtests/bench-memmove-ifunc.c: New file.
10702 * benchtests/bench-memmove.c: New file.
10703 * benchtests/bench-mempcpy-ifunc.c: New file.
10704 * benchtests/bench-mempcpy.c: New file.
10705 * benchtests/bench-memset-ifunc.c: New file.
10706 * benchtests/bench-memset.c: New file.
10707 * benchtests/bench-rawmemchr-ifunc.c: New file.
10708 * benchtests/bench-rawmemchr.c: New file.
10709 * benchtests/bench-stpcpy-ifunc.c: New file.
10710 * benchtests/bench-stpcpy.c: New file.
10711 * benchtests/bench-stpncpy-ifunc.c: New file.
10712 * benchtests/bench-stpncpy.c: New file.
10713 * benchtests/bench-strcasecmp-ifunc.c: New file.
10714 * benchtests/bench-strcasecmp.c: New file.
10715 * benchtests/bench-strcasestr-ifunc.c: New file.
10716 * benchtests/bench-strcasestr.c: New file.
10717 * benchtests/bench-strcat-ifunc.c: New file.
10718 * benchtests/bench-strcat.c: New file.
10719 * benchtests/bench-strchr-ifunc.c: New file.
10720 * benchtests/bench-strchr.c: New file.
10721 * benchtests/bench-strchrnul-ifunc.c: New file.
10722 * benchtests/bench-strchrnul.c: New file.
10723 * benchtests/bench-strcmp-ifunc.c: New file.
10724 * benchtests/bench-strcmp.c: New file.
10725 * benchtests/bench-strcpy-ifunc.c: New file.
10726 * benchtests/bench-strcpy.c: New file.
10727 * benchtests/bench-strcspn-ifunc.c: New file.
10728 * benchtests/bench-strcspn.c: New file.
10729 * benchtests/bench-strlen-ifunc.c: New file.
10730 * benchtests/bench-strlen.c: New file.
10731 * benchtests/bench-strncasecmp-ifunc.c: New file.
10732 * benchtests/bench-strncasecmp.c: New file.
10733 * benchtests/bench-strncat-ifunc.c: New file.
10734 * benchtests/bench-strncat.c: New file.
10735 * benchtests/bench-strncmp-ifunc.c: New file.
10736 * benchtests/bench-strncmp.c: New file.
10737 * benchtests/bench-strncpy-ifunc.c: New file.
10738 * benchtests/bench-strncpy.c: New file.
10739 * benchtests/bench-strnlen-ifunc.c: New file.
10740 * benchtests/bench-strnlen.c: New file.
10741 * benchtests/bench-strpbrk-ifunc.c: New file.
10742 * benchtests/bench-strpbrk.c: New file.
10743 * benchtests/bench-strrchr-ifunc.c: New file.
10744 * benchtests/bench-strrchr.c: New file.
10745 * benchtests/bench-strspn-ifunc.c: New file.
10746 * benchtests/bench-strspn.c: New file.
10747 * benchtests/bench-strstr-ifunc.c: New file.
10748 * benchtests/bench-strstr.c: New file.
10749
c1f75dc3
SP
10750 * benchtests/Makefile: Disable parallel execution of targets.
10751 (string-bench): Add memcpy.
10752 (benchset): New variable to store a list of benchmark sets.
10753 (bench-func): Renamed from bench.
10754 (bench-set): New target.
10755 (bench): Depend on bench-func and bench-set.
10756 * benchtests/README: Add section on benchmark sets.
10757 * benchtests/bench-memcpy-ifunc.c: New file.
10758 * benchtests/bench-memcpy.c: New file.
10759 * benchtests/bench-string.h: New file.
10760
50fd745b
AS
107612013-06-11 Andreas Schwab <schwab@suse.de>
10762
10763 [BZ #15577]
10764 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
10765 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
10766 values in the triple.
10767 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
10768 terminator in the group key.
10769
3ee7e9fe
AJ
107702013-06-11 Andreas Jaeger <aj@suse.de>
10771
10772 * po/zh_TW.po: Update Chinese (traditional) translation from
10773 translation project.
10774
89fb6835
SP
107752013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10776
10777 * include/time.h (__clock_gettime): Add libc_hidden_proto.
10778 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
10779 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
10780 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10781 (clock_getcpuclockid): Likewise.
10782 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
10783 Add weak_alias and libc_hidden_def.
10784 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
10785 * rt/clock_gettime.c (clock_gettime): Rename to
10786 __clock_gettime. Add weak_alias and libc_hidden_def.
10787 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
10788 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
10789 __clock_nanosleep. Add weak_alias and libc_hidden_def.
10790 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
10791 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
10792 Likewise.
10793 * rt/clock_settime.c (clock_settime): Rename to
10794 __clock_settime. Add weak_alias and libc_hidden_def.
10795 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
10796
0efa6f8b
JM
107972013-06-10 Joseph Myers <joseph@codesourcery.com>
10798
b8c61b4b
JM
10799 * mach/err_boot.sub: Remove trailing whitespace.
10800 * mach/err_ipc.sub: Likewise.
10801 * mach/err_mach.sub: Likewise.
10802
0efa6f8b
JM
10803 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
10804 (ROUNDING_TESTS_double): Likewise.
10805 (ROUNDING_TESTS_long_double): Likewise.
10806 (ROUNDING_TESTS): Likewise.
10807 * math/libm-test.inc: Include <math-tests.h>.
10808 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
10809 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10810 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10811 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10812
50b818bf
SP
108132013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10814
10815 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
10816 of assigning.
10817
60d2f8f3
JM
108182013-06-08 Joseph Myers <joseph@codesourcery.com>
10819
4902d2c3
JM
10820 * sysdeps/gnu/errlist.awk: Do not generate space at end of
10821 otherwise empty TRANS lines.
10822 * sysdeps/gnu/errlist.c: Regenerated.
10823
60d2f8f3
JM
10824 * catgets/gencat.c (error_print): Use (void) in function
10825 definition.
10826 * crypt/crypt_util.c (__init_des): Likewise.
10827 * crypt/speeds.c (Stop): Likewise.
10828 (main): Likewise.
10829 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
10830 * inet/ruserpass.c (token): Likewise.
10831 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
10832 * intl/localealias.c (extend_alias_table): Likewise.
10833 * intl/plural-exp.c (init_germanic_plural): Likewise.
10834 * libio/fcloseall.c (__fcloseall): Likewise.
10835 * libio/genops.c (_IO_flush_all): Likewise.
10836 (_IO_flush_all_linebuffered): Likewise.
10837 (_IO_cleanup): Likewise.
10838 (_IO_iter_begin): Likewise.
10839 (_IO_iter_end): Likewise.
10840 (_IO_list_lock): Likewise.
10841 (_IO_list_unlock): Likewise.
10842 (_IO_list_resetlock): Likewise.
10843 * libio/getchar.c (getchar): Likewise.
10844 * libio/getchar_u.c (getchar_unlocked): Likewise.
10845 * libio/getwchar.c (getwchar): Likewise.
10846 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
10847 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
10848 * login/getpt.c (__getpt): Likewise.
10849 * login/tst-utmp.c (main): Likewise.
10850 * malloc/hooks.c (__malloc_check_init): Likewise.
10851 * malloc/malloc.c (__malloc_stats): Likewise.
10852 * malloc/mtrace.c (tr_break): Likewise.
10853 (mtrace): Likewise.
10854 (muntrace): Likewise.
10855 * misc/fstab.c (endfsent): Likewise.
10856 * misc/getclktck.c (__getclktck): Likewise.
10857 * misc/getdtsz.c (__getdtablesize): Likewise.
10858 * misc/gethostid.c (gethostid): Likewise.
10859 * misc/getpagesize.c (__getpagesize): Likewise.
10860 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
10861 (__get_nprocs): Likewise.
10862 (__get_phys_pages): Likewise.
10863 (__get_avphys_pages): Likewise.
10864 * misc/getttyent.c (getttyent): Likewise.
10865 (setttyent): Likewise.
10866 (endttyent): Likewise.
10867 * misc/getusershell.c (getusershell): Likewise.
10868 (endusershell): Likewise.
10869 (setusershell): Likewise.
10870 (initshells): Likewise.
10871 * misc/hsearch.c (__hdestroy): Likewise.
10872 * misc/sync.c (sync): Likewise.
10873 * misc/syslog.c (closelog_internal): Likewise.
10874 (closelog): Likewise.
10875 * misc/ttyslot.c (ttyslot): Likewise.
10876 * misc/vhangup.c (vhangup): Likewise.
10877 * posix/fork.c (__fork): Likewise.
10878 * posix/getegid.c (__getegid): Likewise.
10879 * posix/geteuid.c (__geteuid): Likewise.
10880 * posix/getgid.c (__getgid): Likewise.
10881 * posix/getpid.c (__getpid): Likewise.
10882 * posix/getppid.c (__getppid): Likewise.
10883 * posix/getuid.c (__getuid): Likewise.
10884 * posix/pause.c (pause): Likewise.
10885 * posix/setpgrp.c (setpgrp): Likewise.
10886 * posix/setsid.c (__setsid): Likewise.
10887 * posix/test-vfork.c (noop): Likewise.
10888 * resolv/gethnamaddr.c (_endhtent): Likewise.
10889 (_gethtent): Likewise.
10890 (ht_endhostent): Likewise.
10891 (gethostent): Likewise.
10892 (dns_service): Likewise.
10893 * stdlib/drand48.c (drand48): Likewise.
10894 * stdlib/lrand48.c (lrand48): Likewise.
10895 * stdlib/mrand48.c (mrand48): Likewise.
10896 * stdlib/rand.c (rand): Likewise.
10897 * stdlib/random.c (__random): Likewise.
10898 * stdlib/setenv.c (clearenv): Likewise.
10899 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
10900 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
10901 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
10902 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
10903 (__get_nprocs): Likewise.
10904 (__get_phys_pages): Likewise.
10905 (__get_avphys_pages): Likewise.
10906 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
10907 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
10908 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
10909 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
10910 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
10911 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
10912 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
10913 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
10914 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
10915 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
10916 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
10917 * sysdeps/mach/hurd/sync.c (sync): Likewise.
10918 * sysdeps/posix/clock.c (clock): Likewise.
10919 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
10920 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
10921 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
10922 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
10923 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
10924 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
10925 (__get_nprocs_conf): Likewise.
10926 (__get_phys_pages): Likewise.
10927 (__get_avphys_pages): Likewise.
10928 * time/clock.c (clock): Likewise.
10929 * time/tzset.c (__tzname_max): Likewise.
10930
2e09a79a
JM
109312013-06-07 Joseph Myers <joseph@codesourcery.com>
10932
10933 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
10934 (__bswap_32): Do not use "register".
10935 * crypt/crypt.c (_ufc_doit_r): Likewise.
10936 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10937 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10938 * gmon/gmon.c (__monstartup): Likewise.
10939 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
10940 * hurd/hurdmalloc.c (more_memory): Likewise.
10941 (malloc): Likewise.
10942 (free): Likewise.
10943 (realloc): Likewise.
10944 (malloc_fork_prepare): Likewise.
10945 (malloc_fork_parent): Likewise.
10946 (malloc_fork_child): Likewise.
10947 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
10948 (_svcauth_des): Likewise.
10949 * inet/inet_lnaof.c (inet_lnaof): Likewise.
10950 * inet/inet_net.c (inet_network): Likewise.
10951 * inet/inet_netof.c (inet_netof): Likewise.
10952 * inet/rcmd.c (__validuser2_sa): Likewise.
10953 * io/fts.c (fts_open): Likewise.
10954 (fts_load): Likewise.
10955 (fts_close): Likewise.
10956 (fts_read): Likewise.
10957 (fts_children): Likewise.
10958 (fts_build): Likewise.
10959 (fts_stat): Likewise.
10960 (fts_sort): Likewise.
10961 (fts_alloc): Likewise.
10962 (fts_lfree): Likewise.
10963 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
10964 (_IO_file_xsgetn): Likewise.
10965 (_IO_file_xsgetn_mmap): Likewise.
10966 * libio/iofopncook.c (_IO_cookie_read): Likewise.
10967 (_IO_cookie_write): Likewise.
10968 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
10969 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
10970 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
10971 * malloc/obstack.c (_obstack_begin): Likewise.
10972 (_obstack_begin_1): Likewise.
10973 (_obstack_newchunk): Likewise.
10974 (_obstack_allocated_p): Likewise.
10975 (obstack_free): Likewise.
10976 (_obstack_memory_used): Likewise.
10977 * misc/getttyent.c (getttynam): Likewise.
10978 (getttyent): Likewise.
10979 (skip): Likewise.
10980 (value): Likewise.
10981 * misc/getusershell.c (initshells): Likewise.
10982 * misc/syslog.c (__vsyslog_chk): Likewise.
10983 * misc/ttyslot.c (ttyslot): Likewise.
10984 * nis/nis_hash.c (__nis_hash): Likewise.
10985 * posix/fnmatch_loop.c (FCT): Likewise.
10986 * posix/getconf.c (print_all): Likewise.
10987 (main): Likewise.
10988 * posix/getopt.c (exchange): Likewise.
10989 * posix/glob.c (globfree): Likewise.
10990 (prefix_array): Likewise.
10991 (__glob_pattern_type): Likewise.
10992 * resolv/arpa/nameser.h (NS_GET16): Likewise.
10993 (NS_GET32): Likewise.
10994 (NS_PUT16): Likewise.
10995 (NS_PUT32): Likewise.
10996 * resolv/gethnamaddr.c (getanswer): Likewise.
10997 (gethostbyname2): Likewise.
10998 (gethostbyaddr): Likewise.
10999 (_gethtent): Likewise.
11000 (_gethtbyname2): Likewise.
11001 (_gethtbyaddr): Likewise.
11002 * resolv/ns_print.c (dst_s_get_int16): Likewise.
11003 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11004 * resolv/res_init.c (__res_vinit): Likewise.
11005 (net_mask): Likewise.
11006 * resolv/res_mkquery.c (outchar): Likewise.
11007 (PRINT): Likewise.
11008 * stdio-common/printf_fp.c (outchar): Likewise.
11009 (PRINT): Likewise.
11010 * stdio-common/printf_fphex.c (outchar): Likewise.
11011 (PRINT): Likewise.
11012 * stdio-common/printf_size.c (outchar): Likewise.
11013 (PRINT): Likewise.
11014 * stdio-common/test_rdwr.c (main): Likewise.
11015 * stdio-common/tfformat.c (matches): Likewise.
11016 * stdio-common/vfprintf.c (outchar): Likewise.
11017 (printf_unknown): Likewise.
11018 (buffered_vfprintf): Likewise.
11019 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11020 * stdio-common/xbug.c (AppendToBuffer): Likewise.
11021 (ReadFile): Likewise.
11022 * stdlib/qsort.c (SWAP): Likewise.
11023 (_quicksort): Likewise.
11024 * stdlib/setenv.c (__add_to_environ): Likewise.
11025 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11026 * stdlib/strtol_l.c (__strtol_l): Likewise.
11027 * stdlib/tst-strtod.c (main): Likewise.
11028 * stdlib/tst-strtol.c (main): Likewise.
11029 * stdlib/tst-strtoll.c (main): Likewise.
11030 * string/bits/string2.h (__strcmp_cc): Likewise.
11031 (__strcmp_cg): Likewise.
11032 (__strcspn_c1): Likewise.
11033 (__strcspn_c2): Likewise.
11034 (__strcspn_c3): Likewise.
11035 (__strspn_c1): Likewise.
11036 (__strspn_c2): Likewise.
11037 (__strspn_c3): Likewise.
11038 (__strsep_1c): Likewise.
11039 (__strsep_2c): Likewise.
11040 (__strsep_3c): Likewise.
11041 * string/memccpy.c (__memccpy): Likewise.
11042 * string/stpcpy.c (__stpcpy): Likewise.
11043 * string/strcmp.c (strcmp): Likewise.
11044 * string/strrchr.c (strrchr): Likewise.
11045 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11046 Likewise.
11047 * sysdeps/mach/hurd/getcwd.c
11048 (_hurd_canonicalize_directory_name_internal): Likewise.
11049 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11050 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11051 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11052 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11053 Likewise, in both definitions.
11054 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11055 definitions.
11056 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11057 64] (__bswap_64): Likewise.
11058 * time/test_time.c (main): Likewise.
11059 * time/tzfile.c (__tzfile_read): Likewise.
11060 (__tzfile_compute): Likewise.
11061 * time/tzset.c (__tzset_parse_tz): Likewise.
11062 (tzset_internal): Likewise.
11063 (compute_change): Likewise.
11064 * wcsmbs/wcscat.c (__wcscat): Likewise.
11065 * wcsmbs/wcschr.c (wcschr): Likewise.
11066 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11067 * wcsmbs/wcscspn.c (wcscspn): Likewise.
11068 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11069 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11070 * wcsmbs/wcsspn.c (wcsspn): Likewise.
11071 * wcsmbs/wcsstr.c (wcsstr): Likewise.
11072 * wcsmbs/wmemchr.c (wmemchr): Likewise.
11073 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11074 * wcsmbs/wmemset.c (wmemset): Likewise.
11075
9e54314b
JM
110762013-06-06 Joseph Myers <joseph@codesourcery.com>
11077
11078 * scripts/config.guess: Update to version 2013-05-16.
11079 * scripts/config.sub: Update to version 2013-04-24.
11080 * scripts/install-sh: Update to version 2011-11-20.07.
11081 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11082 * scripts/move-if-change: Update to version 2012-01-06 07:23.
11083
350635a5
OB
110842013-06-06 Ondřej Bílka <neleai@seznam.cz>
11085
11086 * debug/fgetws_u_chk.c: Fix leading whitespaces.
11087 * elf/sln.c: Likewise.
11088 * hurd/hurd/ioctl.h: Likewise.
11089 * hurd/hurdmalloc.c: Likewise.
11090 * hurd/xattr.c: Likewise.
11091 * include/shlib-compat.h: Likewise.
11092 * inet/ruserpass.c: Likewise.
11093 * libio/iofgets_u.c: Likewise.
11094 * libio/iofgetws_u.c: Likewise.
11095 * locale/programs/ld-identification.c: Likewise.
11096 * locale/programs/ld-time.c: Likewise.
11097 * mach/msg-destroy.c: Likewise.
11098 * nss/nss_files/files-netgrp.c: Likewise.
11099 * resolv/res_data.c: Likewise.
11100 * soft-fp/op-1.h: Likewise.
11101 * soft-fp/op-2.h: Likewise.
11102 * soft-fp/op-4.h: Likewise.
11103 * soft-fp/op-common.h: Likewise.
11104 * stdio-common/printf_fphex.c: Likewise.
11105 * stdlib/strtod_l.c: Likewise.
11106 * sunrpc/rpc/clnt.h: Likewise.
11107 * sysdeps/generic/framestate.c: Likewise.
11108 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11109 * sysdeps/i386/bsd-setjmp.S: Likewise.
11110 * sysdeps/i386/__longjmp.S: Likewise.
11111 * sysdeps/i386/setjmp.S: Likewise.
11112 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11113 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11114 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11115 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11116 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11117 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11118 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11119 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11120 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11121 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11122 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11123 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11124 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11125 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11126 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11127 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11128 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11129 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11130 * sysdeps/ieee754/support.c: Likewise.
11131 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11132 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11133 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11134 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11135 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11136 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11137 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11138 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11139 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11140 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11141 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11142 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11143 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11144 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11145 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11146 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11147 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11149
44a988af
OB
111502013-06-05 Ondřej Bílka <neleai@seznam.cz>
11151
25506f09 11152 * posix/transbug.c: Remove executable mode.
44a988af 11153
9c84384c
JM
111542013-06-05 Joseph Myers <joseph@codesourcery.com>
11155
11156 * crypt/speeds.c: Remove trailing whitespace.
11157 * dlfcn/default.c: Likewise.
11158 * elf/ifuncdep2.c: Likewise.
11159 * elf/ifuncmain1.c: Likewise.
11160 * elf/ifuncmain1vis.c: Likewise.
11161 * elf/testobj.h: Likewise.
11162 * elf/tst-stackguard1.c: Likewise.
11163 * gmon/sys/gmon.h: Likewise.
11164 * hurd/hurdmsg.c: Likewise.
11165 * hurd/new-fd.c: Likewise.
11166 * hurd/ports-get.c: Likewise.
11167 * iconvdata/ibm1008_420.c: Likewise.
11168 * inet/tst-getni1.c: Likewise.
11169 * inet/tst-getni2.c: Likewise.
11170 * libio/ioungetc.c: Likewise.
11171 * libio/wfiledoalloc.c: Likewise.
11172 * manual/libm-err-tab.pl: Likewise.
11173 * math/w_dremf.c: Likewise.
11174 * misc/ftruncate.c: Likewise.
11175 * posix/bug-glob2.c: Likewise.
11176 * posix/tst-pcre.c: Likewise.
11177 * posix/wait4.c: Likewise.
11178 * resolv/README: Likewise.
11179 * resolv/res_debug.h: Likewise.
11180 * resolv/tst-inet_ntop.c: Likewise.
11181 * setjmp/bug269-setjmp.c: Likewise.
11182 * soft-fp/extended.h: Likewise.
11183 * soft-fp/op-1.h: Likewise.
11184 * soft-fp/op-2.h: Likewise.
11185 * soft-fp/op-4.h: Likewise.
11186 * soft-fp/op-8.h: Likewise.
11187 * soft-fp/testit.c: Likewise.
11188 * stdio-common/bug16.c: Likewise.
11189 * stdlib/random.c: Likewise.
11190 * sunrpc/rpcsvc/rquota.x: Likewise.
11191 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11192 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11193 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11194 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11195 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11196 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11197 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11198 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11199 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11200 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11201 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11202 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11203 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11204 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11205 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11206 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11207 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11208 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11209 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11210 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11211 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11212 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11213 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11214 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11215 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11216 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11217 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11218 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11219 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11220 * sysdeps/ieee754/s_lib_version.c: Likewise.
11221 * sysdeps/mach/hurd/check_fds.c: Likewise.
11222 * sysdeps/mach/hurd/getsockname.c: Likewise.
11223 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11224 * sysdeps/mach/hurd/recvfrom.c: Likewise.
11225 * sysdeps/powerpc/bits/link.h: Likewise.
11226 * sysdeps/powerpc/dl-procinfo.c: Likewise.
11227 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11228 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11229 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11230 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11231 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11232 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11233 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11234 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11235 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11236 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11237 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11238 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11239 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11240 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11241 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11242 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11243 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11244 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11245 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11246 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11247 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11248 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11249 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11250 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11251 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11252 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11253 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11254 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11255 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11256 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11257 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11258 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11259 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11260 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11261 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11262 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11263 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11264 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11265 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11266 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11267 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11268 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11269 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11270 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11271 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11272 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11273 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11274 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11275 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11276 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11277 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11278 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11279 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11280 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11281 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11282 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11283 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11284 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11285 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11286 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11287 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11288 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11289 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11290 * sysdeps/powerpc/sysdep.h: Likewise.
11291 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11292 * sysdeps/s390/s390-64/sub_n.S: Likewise.
11293 * sysdeps/sh/dl-trampoline.S: Likewise.
11294 * sysdeps/sh/memset.S: Likewise.
11295 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11296 * sysdeps/sh/strlen.S: Likewise.
11297 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11298 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11299 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11300 * sysdeps/sparc/sparc32/rem.S: Likewise.
11301 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11302 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11303 * sysdeps/sparc/sparc32/strchr.S: Likewise.
11304 * sysdeps/sparc/sparc32/udiv.S: Likewise.
11305 * sysdeps/sparc/sparc32/urem.S: Likewise.
11306 * sysdeps/sparc/sparc64/add_n.S: Likewise.
11307 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11308 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11309 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11310 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11311 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11312 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11313 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
11314 * sysdeps/unix/bsd/times.c: Likewise.
11315 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
11316 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
11317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11320 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11321 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11322 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11323 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
11324 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
11325 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
11326 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11327 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
11328 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11329 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11330 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11331 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11332 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
11333 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
11334 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
11335 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11336 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
11337 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11338 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
11339 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
11340 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11341 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
11342 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11343 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
11344 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
11345 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
11346 * sysdeps/x86_64/strcspn.S: Likewise.
11347
869378a5
RA
113482013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11349
11350 * locale/C-translit.h: Revert #include <stdint.h> because this is a
11351 generated file. Regenerate properly from gen-translit.pl.
11352 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
11353 locale/C-translit.h.
11354
840e2943
AS
113552013-06-05 Andreas Schwab <schwab@suse.de>
11356
11357 [BZ #15100]
11358 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
11359 week as 6 instead of -1.
11360 * time/tst-strptime.c (day_tests): Add test case.
11361
4c60cb0c
SP
113622013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11363
11364 * sysdeps/generic/math_private.h
11365 (libc_feholdexcept_setround_53bit): Replace with
11366 libc_feholdsetround_53bit.
11367 (libc_feupdateenv_53bit): Replace with
11368 libc_feresetround_53bit.
11369 (SET_RESTORE_ROUND_53BIT): Adjust.
11370
d180203e
SP
113712013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11372
96df079a
SP
11373 * string/test-strchrnul.c: Add copyright header.
11374
d180203e
SP
11375 * posix/tst-getaddrinfo4.c: Increase test timeout.
11376
8b0ccb2d
CD
113772013-06-03 Carlos O'Donell <carlos@redhat.com>
11378
11379 [BZ #15536]
11380 * math/libm-test.inc (MAX_EXP): Remove
11381 (MIN_EXP): Define.
11382 (ulp): Use MIN_EXP - MANT_DIG.
11383 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
11384
3b3c4d40
CD
113852013-05-31 Carlos O'Donell <carlos@redhat.com>
11386
11387 * po/be.po: Revert last change.
11388 * po/zh_CN.po: Likewise.
11389 * po/header.pot: Likewise.
11390
fab7ce3f
JM
113912013-05-31 Joseph Myers <joseph@codesourcery.com>
11392
11393 * Makefile ($(common-objpfx)linkobj/libc.so): Define
11394 link-libc-deps to empty as target-specific variable.
11395 * Makerules (link-libc-args): New variable.
11396 (libc-for-link): Likewise.
11397 (link-libc-deps): Likewise.
11398 (lib%.so): Depend on $(link-libc-deps). Link with
11399 $(link-libc-args).
11400 (build-module): Link with $(link-libc-args).
11401 (build-module-asneeded): Likewise.
11402 (build-module-helper-objlist): Filter out $(link-libc-deps) from
11403 list of objects.
11404 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
11405 target-specific variable.
11406 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
11407 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
11408 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
11409 libc.
11410 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
11411 libc and ld.so.
11412 ($(objpfx)libpcprofile.so): Likewise.
11413 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
11414 libc_nonshared.a.
11415 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
11416 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
11417 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
11418 $(link-libc-deps).
11419 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
11420 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
11421 * login/Makefile ($(objpfx)libutil.so): Likewise.
11422 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
11423 * math/Makefile ($(objpfx)libm.so): Likewise.
11424 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
11425 $(objpfx)libnsl.so): Define libc-for-link as target-specific
11426 variable instead of depending directly on libc.
11427 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
11428 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
11429 $(link-libc-deps).
11430 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
11431 libc.
11432 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
11433 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
11434 ($(objpfx)libanl.so): Likewise.
11435 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
11436 ld.so.
11437 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
11438 $(link-libc-deps).
11439 * sysdeps/i386/fpu/Makefile: Remove file.
11440 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
11441 ($(objpfx)libm.so): Remove dependency on ld.so.
11442
eca5920c
PF
114432013-05-30 Patsy Franklin <pfrankli@redhat.com>
11444
11445 [BZ # 15553]
11446 * nis/yp_xdr.c (XDRMAXNAME): Define.
11447 (XDRMAXRECORD): Define.
11448 (xdr_domainname): Use XDRMAXNAME.
11449 (xdr_mapname): Likewise.
11450 (xdr_peername): Likewise.
11451 (xdr_keydat): Use XDRMAXRECORD.
11452 (xdr_valdat): Likewise.
11453
114542013-05-30 Jeff Law <law@redhat.com>
96945714
JL
11455
11456 [BZ #14256]
11457 * manual/errno.texi (ESTALE): Update to account for more than
11458 just NFS file systems.
11459 * sysdeps/gnu/errlist.c: Regenerated.
11460
b9375348
SP
114612013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11462
11463 [BZ #15465]
11464 * elf/Makefile (tests): Add tst-null-argv.
11465 (modules-names): Add tst-null-argv-lib.
11466 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
11467 (tst-null-argv-ENV): Set environment for tst-null-argv.
11468 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
11469 (RTLD_PROGNAME): New macro.
11470 * elf/tst-null-argv.c: New test case.
11471 * elf/tst-null-argv-lib.c: Library for test case.
11472 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
11473 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
11474 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
11475 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
11476 * elf/dl-init.c (call_init): Likewise.
11477 (_dl_init): Likewise.
11478 * elf/dl-load.c (print_search_path): Likewise.
11479 (_dl_map_object): Likewise.
11480 * elf/dl-lookup.c (do_lookup_x): Likewise.
11481 (add_dependency): Likewise.
11482 (_dl_lookup_symbol_x): Likewise.
11483 (_dl_debug_bindings): Likewise.
11484 * elf/dl-open.c (_dl_show_scope): Likewise.
11485 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11486 * elf/dl-version.c (match_symbol): Likewise.
11487 (_dl_check_map_versions): Likewise.
11488 * elf/rtld.c (dl_main): Likewise.
11489 (print_unresolved): Use RTLD_PROGNAME.
11490 (print_missing_version): Likewise.
11491 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11492 (elf_machine_rela): Likewise.
11493 * sysdeps/powerpc/powerpc32/dl-machine.c
11494 (__process_machine_rela): Likewise.
11495 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11496 Likewise.
11497 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11498 Likewise.
11499 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11500 Likewise.
11501 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11502 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
11503 Likewise.
11504 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
11505 Likewise.
11506 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11507
8a9f20c8
CD
115082013-05-28 Carlos O'Donell <carlos@redhat.com>
11509
11510 * po/be.po: Add descriptive title.
11511 * po/zh_CN.po: Likewise.
11512 * po/header.pot: Likewise.
11513
0e60d68e
MF
115142013-05-28 Mike Frysinger <vapier@gentoo.org>
11515
11516 * locale/programs/locarchive.c (create_archive): Inlucde fname in
11517 error message.
11518 (enlarge_archive): Likewise.
11519
56b672e9
BN
115202013-05-28 Ben North <ben@redfrontdoor.org>
11521
11522 * manual/arith.texi (frexp): It is the magnitude of the return
11523 value which lies in [0.5, 1), not the return value itself.
11524
5e056687
AZ
115252013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11526
11527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11528
2b66ef5d
TS
115292013-05-26 Thomas Schwinge <thomas@codesourcery.com>
11530
528c2405
TS
11531 * stdio-common/bug26.c (main): Correct fscanf template.
11532
07b4c13d
TS
11533 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
11534 declare _dl_skip_args.
11535
ec9dd97c
TS
11536 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
11537 Don't declare.
11538
2b66ef5d
TS
11539 * manual/platform.texi: Add missing @end deftypefun.
11540
4f8dfe27
JM
115412013-05-24 Joseph Myers <joseph@codesourcery.com>
11542
0323d086
JM
11543 [BZ #15529]
11544 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
11545 bit of mantissa of 2^16382.
11546 * math/libm-test.inc (hypot_test_data): Add more tests.
11547
dd4259b9
JM
11548 * math/libm-test.inc: Add drem and pow10 to list of tested
11549 functions.
11550 (pow10_test): New function.
11551 (drem_test): Likewise.
11552 (drem_test_tonearest): Likewise.
11553 (drem_test_towardzero): Likewise.
11554 (drem_test_downward): Likewise.
11555 (drem_test_upward): Likewise.
11556 (main): Call the new functions.
11557
4f8dfe27
JM
11558 * math/libm-test.inc (finite_test_data): Remove.
11559 (finite_test): Run tests from isfinite_test_data.
11560 (gamma_test_data): Remove.
11561 (gamma_test): Run tests from lgamma_test_data.
11562 * sysdeps/i386/fpu/libm-test-ulps: Update.
11563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11564
d116b7c4
AZ
115652013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11566
11567 * manual/platform.texi: Add PowerPC PPR function set documentation.
11568 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
11569 implementation.
11570
e96e3767
CD
115712013-05-24 Carlos O'Donell <carlos@redhat.com>
11572
11573 * math/libm-test.inc (MAX_EXP): Define.
11574 (ULPDIFF): Define.
11575 (ulp): New function.
11576 (check_float_internal): Use ULPDIFF.
11577 (cpow_test): Disable failing test.
11578 (check_ulp): Test ulp() implemetnation.
11579 (main): Call check_ulp before starting tests.
11580
b679a606
JM
115812013-05-24 Joseph Myers <joseph@codesourcery.com>
11582
e8bdba36
JM
11583 * math/gen-libm-test.pl (generate_testfile): Do not handle
11584 START_DATA and END_DATA.
11585 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
11586 END_DATA.
11587 (acos_tonearest_test_data): Likewise.
11588 (acos_towardzero_test_data): Likewise.
11589 (acos_downward_test_data): Likewise.
11590 (acos_upward_test_data): Likewise.
11591 (acosh_test_data): Likewise.
11592 (asin_test_data): Likewise.
11593 (asin_tonearest_test_data): Likewise.
11594 (asin_towardzero_test_data): Likewise.
11595 (asin_downward_test_data): Likewise.
11596 (asin_upward_test_data): Likewise.
11597 (asinh_test_data): Likewise.
11598 (atan_test_data): Likewise.
11599 (atanh_test_data): Likewise.
11600 (atan2_test_data): Likewise.
11601 (cabs_test_data): Likewise.
11602 (cacos_test_data): Likewise.
11603 (cacosh_test_data): Likewise.
11604 (carg_test_data): Likewise.
11605 (casin_test_data): Likewise.
11606 (casinh_test_data): Likewise.
11607 (catan_test_data): Likewise.
11608 (catanh_test_data): Likewise.
11609 (cbrt_test_data): Likewise.
11610 (ccos_test_data): Likewise.
11611 (ccosh_test_data): Likewise.
11612 (ceil_test_data): Likewise.
11613 (cexp_test_data): Likewise.
11614 (cimag_test_data): Likewise.
11615 (clog_test_data): Likewise.
11616 (clog10_test_data): Likewise.
11617 (conj_test_data): Likewise.
11618 (copysign_test_data): Likewise.
11619 (cos_test_data): Likewise.
11620 (cos_tonearest_test_data): Likewise.
11621 (cos_towardzero_test_data): Likewise.
11622 (cos_downward_test_data): Likewise.
11623 (cos_upward_test_data): Likewise.
11624 (cosh_test_data): Likewise.
11625 (cosh_tonearest_test_data): Likewise.
11626 (cosh_towardzero_test_data): Likewise.
11627 (cosh_downward_test_data): Likewise.
11628 (cosh_upward_test_data): Likewise.
11629 (cpow_test_data): Likewise.
11630 (cproj_test_data): Likewise.
11631 (creal_test_data): Likewise.
11632 (csin_test_data): Likewise.
11633 (csinh_test_data): Likewise.
11634 (csqrt_test_data): Likewise.
11635 (ctan_test_data): Likewise.
11636 (ctan_tonearest_test_data): Likewise.
11637 (ctan_towardzero_test_data): Likewise.
11638 (ctan_downward_test_data): Likewise.
11639 (ctan_upward_test_data): Likewise.
11640 (ctanh_test_data): Likewise.
11641 (ctanh_tonearest_test_data): Likewise.
11642 (ctanh_towardzero_test_data): Likewise.
11643 (ctanh_downward_test_data): Likewise.
11644 (ctanh_upward_test_data): Likewise.
11645 (erf_test_data): Likewise.
11646 (erfc_test_data): Likewise.
11647 (exp_test_data): Likewise.
11648 (exp_tonearest_test_data): Likewise.
11649 (exp_towardzero_test_data): Likewise.
11650 (exp_downward_test_data): Likewise.
11651 (exp_upward_test_data): Likewise.
11652 (exp10_test_data): Likewise.
11653 (exp2_test_data): Likewise.
11654 (expm1_test_data): Likewise.
11655 (fabs_test_data): Likewise.
11656 (fdim_test_data): Likewise.
11657 (finite_test_data): Likewise.
11658 (floor_test_data): Likewise.
11659 (fma_test_data): Likewise.
11660 (fma_towardzero_test_data): Likewise.
11661 (fma_downward_test_data): Likewise.
11662 (fma_upward_test_data): Likewise.
11663 (fmax_test_data): Likewise.
11664 (fmin_test_data): Likewise.
11665 (fmod_test_data): Likewise.
11666 (fpclassify_test_data): Likewise.
11667 (frexp_test_data): Likewise.
11668 (gamma_test_data): Likewise.
11669 (hypot_test_data): Likewise.
11670 (ilogb_test_data): Likewise.
11671 (isfinite_test_data): Likewise.
11672 (isgreater_test_data): Likewise.
11673 (isgreaterequal_test_data): Likewise.
11674 (isinf_test_data): Likewise.
11675 (isless_test_data): Likewise.
11676 (islessequal_test_data): Likewise.
11677 (islessgreater_test_data): Likewise.
11678 (isnan_test_data): Likewise.
11679 (isnormal_test_data): Likewise.
11680 (issignaling_test_data): Likewise.
11681 (isunordered_test_data): Likewise.
11682 (j0_test_data): Likewise.
11683 (j1_test_data): Likewise.
11684 (jn_test_data): Likewise.
11685 (ldexp_test_data): Likewise.
11686 (lgamma_test_data): Likewise.
11687 (lrint_test_data): Likewise.
11688 (lrint_tonearest_test_data): Likewise.
11689 (lrint_towardzero_test_data): Likewise.
11690 (lrint_downward_test_data): Likewise.
11691 (lrint_upward_test_data): Likewise.
11692 (llrint_test_data): Likewise.
11693 (llrint_tonearest_test_data): Likewise.
11694 (llrint_towardzero_test_data): Likewise.
11695 (llrint_downward_test_data): Likewise.
11696 (llrint_upward_test_data): Likewise.
11697 (log_test_data): Likewise.
11698 (log10_test_data): Likewise.
11699 (log1p_test_data): Likewise.
11700 (log2_test_data): Likewise.
11701 (logb_test_data): Likewise.
11702 (logb_downward_test_data): Likewise.
11703 (lround_test_data): Likewise.
11704 (llround_test_data): Likewise.
11705 (modf_test_data): Likewise.
11706 (nearbyint_test_data): Likewise.
11707 (nextafter_test_data): Likewise.
11708 (nexttoward_test_data): Likewise.
11709 (pow_test_data): Likewise.
11710 (pow_tonearest_test_data): Likewise.
11711 (pow_towardzero_test_data): Likewise.
11712 (pow_downward_test_data): Likewise.
11713 (pow_upward_test_data): Likewise.
11714 (remainder_test_data): Likewise.
11715 (remainder_tonearest_test_data): Likewise.
11716 (remainder_towardzero_test_data): Likewise.
11717 (remainder_downward_test_data): Likewise.
11718 (remainder_upward_test_data): Likewise.
11719 (remquo_test_data): Likewise.
11720 (rint_test_data): Likewise.
11721 (rint_tonearest_test_data): Likewise.
11722 (rint_towardzero_test_data): Likewise.
11723 (rint_downward_test_data): Likewise.
11724 (rint_upward_test_data): Likewise.
11725 (round_test_data): Likewise.
11726 (scalb_test_data): Likewise.
11727 (scalbn_test_data): Likewise.
11728 (scalbln_test_data): Likewise.
11729 (signbit_test_data): Likewise.
11730 (sin_test_data): Likewise.
11731 (sin_tonearest_test_data): Likewise.
11732 (sin_towardzero_test_data): Likewise.
11733 (sin_downward_test_data): Likewise.
11734 (sin_upward_test_data): Likewise.
11735 (sincos_test_data): Likewise.
11736 (sinh_test_data): Likewise.
11737 (sinh_tonearest_test_data): Likewise.
11738 (sinh_towardzero_test_data): Likewise.
11739 (sinh_downward_test_data): Likewise.
11740 (sinh_upward_test_data): Likewise.
11741 (sqrt_test_data): Likewise.
11742 (tan_test_data): Likewise.
11743 (tan_tonearest_test_data): Likewise.
11744 (tan_towardzero_test_data): Likewise.
11745 (tan_downward_test_data): Likewise.
11746 (tan_upward_test_data): Likewise.
11747 (tanh_test_data): Likewise.
11748 (tgamma_test_data): Likewise.
11749 (trunc_test_data): Likewise.
11750 (y0_test_data): Likewise.
11751 (y1_test_data): Likewise.
11752 (yn_test_data): Likewise.
11753 (significand_test_data): Likewise.
11754
b679a606
JM
11755 * math/gen-libm-test.pl (@functions): Remove variable.
11756 (generate_testfile): Don't handle START and END lines.
11757 * math/libm-test.inc (START): New macro.
11758 (END): Likewise.
11759 (END_COMPLEX): Likewise.
11760 (acos_test): Use END macro without arguments.
11761 (acos_test_tonearest): Likewise.
11762 (acos_test_towardzero): Likewise.
11763 (acos_test_downward): Likewise.
11764 (acos_test_upward): Likewise.
11765 (acosh_test): Likewise.
11766 (asin_test): Likewise.
11767 (asin_test_tonearest): Likewise.
11768 (asin_test_towardzero): Likewise.
11769 (asin_test_downward): Likewise.
11770 (asin_test_upward): Likewise.
11771 (asinh_test): Likewise.
11772 (atan_test): Likewise.
11773 (atanh_test): Likewise.
11774 (atan2_test): Likewise.
11775 (cabs_test): Likewise.
11776 (cacos_test): Use END_COMPLEX macro without arguments.
11777 (cacosh_test): Likewise.
11778 (carg_test): Use END macro without arguments.
11779 (casin_test): Use END_COMPLEX macro without arguments.
11780 (casinh_test): Likewise.
11781 (catan_test): Likewise.
11782 (catanh_test): Likewise.
11783 (cbrt_test): Use END macro without arguments.
11784 (ccos_test): Use END_COMPLEX macro without arguments.
11785 (ccosh_test): Likewise.
11786 (ceil_test): Use END macro without arguments.
11787 (cexp_test): Use END_COMPLEX macro without arguments.
11788 (cimag_test): Use END macro without arguments.
11789 (clog_test): Use END_COMPLEX macro without arguments.
11790 (clog10_test): Likewise.
11791 (conj_test): Likewise.
11792 (copysign_test): Use END macro without arguments.
11793 (cos_test): Likewise.
11794 (cos_test_tonearest): Likewise.
11795 (cos_test_towardzero): Likewise.
11796 (cos_test_downward): Likewise.
11797 (cos_test_upward): Likewise.
11798 (cosh_test): Likewise.
11799 (cosh_test_tonearest): Likewise.
11800 (cosh_test_towardzero): Likewise.
11801 (cosh_test_downward): Likewise.
11802 (cosh_test_upward): Likewise.
11803 (cpow_test): Use END_COMPLEX macro without arguments.
11804 (cproj_test): Likewise.
11805 (creal_test): Use END macro without arguments.
11806 (csin_test): Use END_COMPLEX macro without arguments.
11807 (csinh_test): Likewise.
11808 (csqrt_test): Likewise.
11809 (ctan_test): Likewise.
11810 (ctan_test_tonearest): Likewise.
11811 (ctan_test_towardzero): Likewise.
11812 (ctan_test_downward): Likewise.
11813 (ctan_test_upward): Likewise.
11814 (ctanh_test): Likewise.
11815 (ctanh_test_tonearest): Likewise.
11816 (ctanh_test_towardzero): Likewise.
11817 (ctanh_test_downward): Likewise.
11818 (ctanh_test_upward): Likewise.
11819 (erf_test): Use END macro without arguments.
11820 (erfc_test): Likewise.
11821 (exp_test): Likewise.
11822 (exp_test_tonearest): Likewise.
11823 (exp_test_towardzero): Likewise.
11824 (exp_test_downward): Likewise.
11825 (exp_test_upward): Likewise.
11826 (exp10_test): Likewise.
11827 (exp2_test): Likewise.
11828 (expm1_test): Likewise.
11829 (fabs_test): Likewise.
11830 (fdim_test): Likewise.
11831 (finite_test): Likewise.
11832 (floor_test): Likewise.
11833 (fma_test): Likewise.
11834 (fma_test_towardzero): Likewise.
11835 (fma_test_downward): Likewise.
11836 (fma_test_upward): Likewise.
11837 (fmax_test): Likewise.
11838 (fmin_test): Likewise.
11839 (fmod_test): Likewise.
11840 (fpclassify_test): Likewise.
11841 (frexp_test): Likewise.
11842 (gamma_test): Likewise.
11843 (hypot_test): Likewise.
11844 (ilogb_test): Likewise.
11845 (isfinite_test): Likewise.
11846 (isgreater_test): Likewise.
11847 (isgreaterequal_test): Likewise.
11848 (isinf_test): Likewise.
11849 (isless_test): Likewise.
11850 (islessequal_test): Likewise.
11851 (islessgreater_test): Likewise.
11852 (isnan_test): Likewise.
11853 (isnormal_test): Likewise.
11854 (issignaling_test): Likewise.
11855 (isunordered_test): Likewise.
11856 (j0_test): Likewise.
11857 (j1_test): Likewise.
11858 (jn_test): Likewise.
11859 (ldexp_test): Likewise.
11860 (lgamma_test): Likewise.
11861 (lrint_test): Likewise.
11862 (lrint_test_tonearest): Likewise.
11863 (lrint_test_towardzero): Likewise.
11864 (lrint_test_downward): Likewise.
11865 (lrint_test_upward): Likewise.
11866 (llrint_test): Likewise.
11867 (llrint_test_tonearest): Likewise.
11868 (llrint_test_towardzero): Likewise.
11869 (llrint_test_downward): Likewise.
11870 (llrint_test_upward): Likewise.
11871 (log_test): Likewise.
11872 (log10_test): Likewise.
11873 (log1p_test): Likewise.
11874 (log2_test): Likewise.
11875 (logb_test): Likewise.
11876 (logb_test_downward): Likewise.
11877 (lround_test): Likewise.
11878 (llround_test): Likewise.
11879 (modf_test): Likewise.
11880 (nearbyint_test): Likewise.
11881 (nextafter_test): Likewise.
11882 (nexttoward_test): Likewise.
11883 (pow_test): Likewise.
11884 (pow_test_tonearest): Likewise.
11885 (pow_test_towardzero): Likewise.
11886 (pow_test_downward): Likewise.
11887 (pow_test_upward): Likewise.
11888 (remainder_test): Likewise.
11889 (remainder_test_tonearest): Likewise.
11890 (remainder_test_towardzero): Likewise.
11891 (remainder_test_downward): Likewise.
11892 (remainder_test_upward): Likewise.
11893 (remquo_test): Likewise.
11894 (rint_test): Likewise.
11895 (rint_test_tonearest): Likewise.
11896 (rint_test_towardzero): Likewise.
11897 (rint_test_downward): Likewise.
11898 (rint_test_upward): Likewise.
11899 (round_test): Likewise.
11900 (scalb_test): Likewise.
11901 (scalbn_test): Likewise.
11902 (scalbln_test): Likewise.
11903 (signbit_test): Likewise.
11904 (sin_test): Likewise.
11905 (sin_test_tonearest): Likewise.
11906 (sin_test_towardzero): Likewise.
11907 (sin_test_downward): Likewise.
11908 (sin_test_upward): Likewise.
11909 (sincos_test): Likewise.
11910 (sinh_test): Likewise.
11911 (sinh_test_tonearest): Likewise.
11912 (sinh_test_towardzero): Likewise.
11913 (sinh_test_downward): Likewise.
11914 (sinh_test_upward): Likewise.
11915 (sqrt_test): Likewise.
11916 (tan_test): Likewise.
11917 (tan_test_tonearest): Likewise.
11918 (tan_test_towardzero): Likewise.
11919 (tan_test_downward): Likewise.
11920 (tan_test_upward): Likewise.
11921 (tanh_test): Likewise.
11922 (tgamma_test): Likewise.
11923 (trunc_test): Likewise.
11924 (y0_test): Likewise.
11925 (y1_test): Likewise.
11926 (yn_test): Likewise.
11927 (significand_test): Likewise.
11928
bae143d2
OB
119292013-05-24 Ondřej Bílka <neleai@seznam.cz>
11930
11931 [BZ #15381]
11932 * libio/genops.c (_IO_no_init): Initialize wide struct info.
11933
9323d39b
EM
119342013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
11935
d4ea44a0 11936 [BZ #14894]
9323d39b
EM
11937 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
11938 __ppc_mdoio and __ppc_mdoom.
11939 * manual/platform.texi: Document new functions __ppc_yield,
11940 __ppc_mdoio and __ppc_mdoom.
11941
13e23af7
CD
119422013-05-22 Carlos O'Donell <carlos@redhat.com>
11943
11944 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
11945 (main): Mention "tls" pseudo-hwcap is legacy.
11946 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
11947
351fe550
JM
119482013-05-22 Joseph Myers <joseph@codesourcery.com>
11949
11950 * math/gen-libm-test.pl (parse_args): Output only string of
11951 arguments as text for test name, not full call or descriptions of
11952 tests for extra outputs.
11953 (generate_testfile): Do not pass function name to parse_args.
11954 Generate this_func variable from START.
11955 * math/libm-test.inc (struct test_f_f_data): Rename test_name
11956 field to arg_str.
11957 (struct test_ff_f_data): Likewise.
11958 (test_ff_f_data_nexttoward): Likewise.
11959 (struct test_fi_f_data): Likewise.
11960 (struct test_fl_f_data): Likewise.
11961 (struct test_if_f_data): Likewise.
11962 (struct test_fff_f_data): Likewise.
11963 (struct test_c_f_data): Likewise.
11964 (struct test_f_f1_data): Likewise. Remove field extra_name.
11965 (struct test_fF_f1_data): Likewise.
11966 (struct test_ffI_f1_data): Likewise.
11967 (struct test_c_c_data): Rename test_name field to arg_str.
11968 (struct test_cc_c_data): Likewise.
11969 (struct test_f_i_data): Likewise.
11970 (struct test_ff_i_data): Likewise.
11971 (struct test_f_l_data): Likewise.
11972 (struct test_f_L_data): Likewise.
11973 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
11974 and extra2_name.
11975 (COMMON_TEST_SETUP): New macro.
11976 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
11977 (COMMON_TEST_CLEANUP): Likewise.
11978 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
11979 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
11980 macros.
11981 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
11982 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
11983 macros.
11984 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
11985 (RUN_TEST_fff_f): Take argument string. Call new setup and
11986 cleanup macros.
11987 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
11988 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
11989 macros.
11990 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
11991 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
11992 macros.
11993 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
11994 (RUN_TEST_fF_f1): Take argument string. Call new setup and
11995 cleanup macros.
11996 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
11997 (RUN_TEST_fI_f1): Take argument string. Call new setup and
11998 cleanup macros.
11999 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12000 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
12001 cleanup macros.
12002 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12003 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
12004 macros.
12005 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12006 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
12007 macros.
12008 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12009 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
12010 macros.
12011 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12012 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
12013 cleanup macros.
12014 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12015 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
12016 cleanup macros.
12017 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12018 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
12019 macros.
12020 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12021 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
12022 cleanup macros.
12023 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12024 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
12025 macros.
12026 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12027 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
12028 macros.
12029 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12030 (RUN_TEST_fFF_11): Take argument string. Call new setup and
12031 cleanup macros.
12032 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12033
85118d4d
EBM
120342013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12035
12036 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12037 to _sifields.sigfault.
12038 (si_addr_lsb): Define new macro.
12039 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12040 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12041 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12042
7a44c18f
CD
120432013-05-03 Carlos O'Donell <carlos at redhat.com>
12044
12045 [BZ #15441]
12046 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12047 returns -1.
12048 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12049 null return -1.
12050 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12051 loading the domain.
12052
b50a7181
JM
120532013-05-22 Joseph Myers <joseph@codesourcery.com>
12054
12055 * math/gen-libm-test.pl (parse_args): Do not include expected
12056 result in test name.
12057 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12058 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12059 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12060 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12061 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12063
051063c8
SP
120642013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12065
3ce9e010
SP
12066 * benchtests/Makefile: Sort function entries.
12067
051063c8
SP
12068 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12069 tanh, asinh, acosh, atanh.
12070 * benchtests/acos-inputs: New file.
12071 * benchtests/acosh-inputs: New file.
12072 * benchtests/asin-inputs: New file.
12073 * benchtests/asinh-inputs: New file.
12074 * benchtests/atanh-inputs: New file.
12075 * benchtests/cosh-inputs: New file.
12076 * benchtests/log-inputs: New file.
12077 * benchtests/sinh-inputs: New file.
12078 * benchtests/tanh-inputs: New file.
12079
47c22455
DL
120802013-05-21 Dmitry V. Levin <ldv@altlinux.org>
12081
12082 [BZ #15339]
12083 * posix/tst-getaddrinfo4.c: New test.
12084 * posix/Makefile (tests): Add it.
12085
3d04f5db
SP
120862013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12087
12088 [BZ #15339]
12089 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12090 when no services were used.
12091 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12092 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12093
d5dd6189
AS
120942013-05-21 Andreas Schwab <schwab@suse.de>
12095
12096 [BZ #15014]
12097 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12098 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12099 successful.
12100 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12101 redundant variable declarations and reallocation of buffer when
12102 parsing as IPv6 address. Always set NSS status when called from
12103 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
12104 buffer too small. Correct computation of needed size.
12105 * nss/Makefile (tests): Add test-digits-dots.
12106 * nss/test-digits-dots.c: New test.
12107
fef94eab
SP
121082013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12109
12110 * benchtests/Makefile: Remove instructions for adding
12111 benchmark tests.
12112 * benchtests/README: New file to explain how to execute and
12113 enhance the benchmark tests.
12114
e39adf43
AS
121152013-05-21 Andreas Schwab <schwab@suse.de>
12116
12117 [BZ #15493]
12118 * setjmp/Makefile (tests): Add tst-sigsetjmp.
12119 * setjmp/tst-sigsetjmp.c: New test.
12120
b2b671b6
OB
121212013-05-20 Ondřej Bílka <neleai@seznam.cz>
12122
12123 * sysdeps/x86_64/memset.S (memset): New implementation.
12124 (__bzero): Likewise.
12125 (__memset_tail): New function.
12126
2d48b41c
OB
121272013-05-20 Ondřej Bílka <neleai@seznam.cz>
12128
12129 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12130 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12131 __memcpy_sse2_unaligned ifunc selection.
12132 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12133 Add memcpy-sse2-unaligned.S.
12134 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12135 Add: __memcpy_sse2_unaligned.
12136
f16cc3eb
JM
121372013-05-19 Joseph Myers <joseph@codesourcery.com>
12138
3e694268
JM
12139 [BZ #15490]
12140 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12141 math_force_eval before restoring floating-point envrionment.
12142 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12143 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12144 Likewise.
12145 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12146 <math_private.h>.
12147 (__nearbyintl): Use math_force_eval before restoring
12148 floating-point environment.
12149 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12150
db62a907
JM
12151 * math/gen-libm-test.pl (special_functions): Remove.
12152 (parse_args): Don't handle TEST_extra. Handle functions with no
12153 return value.
12154 * math/libm-test.inc (struct test_sincos_data): Replace with
12155 struct test_fFF_11_data.
12156 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12157 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12158 (sincos_test_data): Change element type to struct
12159 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
12160 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12161 RUN_TEST_LOOP_sincos.
12162 * math/README.libm-test: Don't mention special handling of
12163 individual functions.
12164 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12165 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12166 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12167 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12168 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12170
f16cc3eb
JM
12171 * math/gen-libm-test.pl (get_variable): Remove function.
12172 (parse_args): Don't show pointer parameters to call in test
12173 names. Use "extra output N" in test names for extra outputs
12174 rather than naming variables.
12175
3779b5b6
JM
121762013-05-18 Joseph Myers <joseph@codesourcery.com>
12177
2ee094ff
JM
12178 [BZ #15488]
12179 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12180 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12181 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12182 double tests.
12183 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12184 disable.
12185 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12186 check_long_double.
12187
3779b5b6
JM
12188 * math/gen-libm-test.pl (@tests): Remove variable.
12189 ($count): Likewise.
12190 (new_test): Remove function.
12191 (show_exceptions): New function.
12192 (special_functions): Use show_exceptions instead of new_test.
12193 (parse_args): Likewise.
12194 (generate_testfile): Pass only function name in generated call to
12195 print_max_error or print_complex_max_error.
12196 (get_ulps): Do not handle complex tests specially.
12197 (output_test): Rename to ...
12198 (get_all_ulps_for_test): ... this. Return a string rather than
12199 printing to a file. Require ulps to be present.
12200 (output_ulps): Generate arrays rather than #defines.
12201 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12202 (struct ulp_data): New type.
12203 (BUILD_COMPLEX_ULP): Remove macro.
12204 (compare_ulp_data): New function.
12205 (find_ulps): Likewise.
12206 (find_test_ulps): Likewise.
12207 (find_function_ulps): Likewise.
12208 (find_complex_function_ulps): Likewise.
12209 (print_max_error): Determine allowed ulps using
12210 find_function_ulps.
12211 (print_complex_max_error): Determine allowed ulps using
12212 find_complex_function_ulps.
12213 (check_float_internal): Determine max ulps using find_test_ulps.
12214 (check_float): Do not take max_ulp parameter. Update call to
12215 check_float_internal.
12216 (check_complex): Likewise.
12217 (check_int): Do not take max_ulp parameter.
12218 (check_long): Likewise.
12219 (check_bool): Likewise.
12220 (check_longlong): Likewise.
12221 (struct test_f_f_data): Remove max_ulp field.
12222 (struct test_ff_f_data): Likewise.
12223 (struct test_ff_f_data_nexttoward): Likewise.
12224 (struct test_fi_f_data): Likewise.
12225 (struct test_fl_f_data): Likewise.
12226 (struct test_if_f_data): Likewise.
12227 (struct test_fff_f_data): Likewise.
12228 (struct test_c_f_data): Likewise.
12229 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12230 (struct test_fF_f1_data): Likewise.
12231 (struct test_ffI_f1_data): Likewise.
12232 (struct test_c_c_data): Remove max_ulp field.
12233 (struct test_cc_c_data): Likewise.
12234 (struct test_f_i_data): Likewise.
12235 (struct test_ff_i_data): Likewise.
12236 (struct test_f_l_data): Likewise.
12237 (struct test_f_L_data): Likewise.
12238 (struct test_sincos_data): Likewise.
12239 (RUN_TEST_f_f): Do not handle ulps.
12240 (RUN_TEST_LOOP_f_f): Likewise.
12241 (RUN_TEST_2_f): Likewise.
12242 (RUN_TEST_LOOP_2_f): Likewise.
12243 (RUN_TEST_fff_f): Likewise.
12244 (RUN_TEST_LOOP_fff_f): Likewise.
12245 (RUN_TEST_c_f): Likewise.
12246 (RUN_TEST_LOOP_c_f): Likewise.
12247 (RUN_TEST_f_f1): Likewise.
12248 (RUN_TEST_LOOP_f_f1): Likewise.
12249 (RUN_TEST_fF_f1): Likewise.
12250 (RUN_TEST_LOOP_fF_f1): Likewise.
12251 (RUN_TEST_fI_f1): Likewise.
12252 (RUN_TEST_LOOP_fI_f1): Likewise.
12253 (RUN_TEST_ffI_f1): Likewise.
12254 (RUN_TEST_LOOP_ffI_f1): Likewise.
12255 (RUN_TEST_c_c): Likewise.
12256 (RUN_TEST_LOOP_c_c): Likewise.
12257 (RUN_TEST_cc_c): Likewise.
12258 (RUN_TEST_LOOP_cc_c): Likewise.
12259 (RUN_TEST_f_i): Likewise.
12260 (RUN_TEST_LOOP_f_i): Likewise.
12261 (RUN_TEST_f_i_tg): Likewise.
12262 (RUN_TEST_LOOP_f_i_tg): Likewise.
12263 (RUN_TEST_ff_i_tg): Likewise.
12264 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12265 (RUN_TEST_f_b): Likewise.
12266 (RUN_TEST_LOOP_f_b): Likewise.
12267 (RUN_TEST_f_b_tg): Likewise.
12268 (RUN_TEST_LOOP_f_b_tg): Likewise.
12269 (RUN_TEST_f_l): Likewise.
12270 (RUN_TEST_LOOP_f_l): Likewise.
12271 (RUN_TEST_f_L): Likewise.
12272 (RUN_TEST_LOOP_f_L): Likewise.
12273 (RUN_TEST_sincos): Likewise.
12274 (RUN_TEST_LOOP_sincos): Likewise.
12275
8269107f
JM
122762013-05-17 Joseph Myers <joseph@codesourcery.com>
12277
bb38759d
JM
12278 [BZ #15480]
12279 [BZ #15485]
12280 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12281 main case of finite arguments, set rounding mode to FE_TONEAREST
12282 and discard exceptions.
12283 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12284 exceptions.
12285 (remainder_tonearest_test_data): New variable.
12286 (remainder_test_tonearest): New function.
12287 (remainder_towardzero_test_data): New variable.
12288 (remainder_test_towardzero): New function.
12289 (remainder_downward_test_data): New variable.
12290 (remainder_test_downward): New function.
12291 (remainder_upward_test_data): New variable.
12292 (remainder_test_upward): New function.
12293 (main): Call the new test functions.
12294
a00bdcf0
JM
12295 * math/libm-test.inc (struct test_f_f1_data): Remove field
12296 extra_init.
12297 (struct test_fF_f1_data): Likewise.
12298 (struct test_ffI_f1_data): Likewise.
12299 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
12300 based on value of EXTRA_EXPECTED.
12301 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12302 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
12303 EXTRA_VAR based on value of EXTRA_EXPECTED.
12304 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12305 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
12306 EXTRA_VAR based on value of EXTRA_EXPECTED.
12307 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12308 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
12309 EXTRA_VAR based on value of EXTRA_EXPECTED.
12310 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12311 * math/gen-libm-test.pl (parse_args): Don't output initializers
12312 for extra output values.
12313
de407f79
JM
12314 * math/libm-test.inc (check_int): Expect result to be exactly
12315 equal to expected value and do not handle ulps.
12316 (check_long): Likewise.
12317 (check_longlong): Likewise.
12318
8269107f
JM
12319 * math/libm-test.inc (ceil_test_data): Test for "inexact"
12320 exceptions.
12321 (cimag_test_data): Likewise.
12322 (conj_test_data): Likewise.
12323 (copysign_test_data): Likewise.
12324 (cproj_test_data): Likewise.
12325 (creal_test_data): Likewise.
12326 (fabs_test_data): Likewise.
12327 (fdim_test_data): Likewise.
12328 (finite_test_data): Likewise.
12329 (floor_test_data): Likewise.
12330 (fmax_test_data): Likewise.
12331 (fmin_test_data): Likewise.
12332 (fmod_test_data): Likewise.
12333 (fpclassify_test_data): Likewise.
12334 (frexp_test_data): Likewise.
12335 (ilogb_test_data): Likewise.
12336 (isfinite_test_data): Likewise.
12337 (isgreater_test_data): Likewise.
12338 (isgreaterequal_test_data): Likewise.
12339 (isinf_test_data): Likewise.
12340 (isless_test_data): Likewise.
12341 (islessequal_test_data): Likewise.
12342 (islessgreater_test_data): Likewise.
12343 (isnan_test_data): Likewise.
12344 (isnormal_test_data): Likewise.
12345 (issignaling_test_data): Likewise.
12346 (isunordered_test_data): Likewise.
12347 (ldexp_test_data): Likewise.
12348 (lrint_test_data): Likewise.
12349 (lrint_test_data) [TEST_FLOAT]: Disable one test.
12350 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
12351 (lrint_tonearest_test_data): Test for "inexact" exceptions.
12352 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12353 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
12354 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12355 test input.
12356 (lrint_towardzero_test_data): Test for "inexact" exceptions.
12357 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12358 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
12359 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
12360 that test input.
12361 (lrint_downward_test_data): Test for "inexact" exceptions.
12362 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12363 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
12364 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12365 test input.
12366 (lrint_upward_test_data): Test for "inexact" exceptions.
12367 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
12368 test input.
12369 (llrint_test_data): Test for "inexact" exceptions.
12370 (llrint_test_data) [TEST_FLOAT]: Disable one test.
12371 (llrint_tonearest_test_data): Test for "inexact" exceptions.
12372 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12373 (llrint_towardzero_test_data): Test for "inexact" exceptions.
12374 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12375 (llrint_downward_test_data): Test for "inexact" exceptions.
12376 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12377 (llrint_upward_test_data): Test for "inexact" exceptions.
12378 (logb_test_data): Likewise.
12379 (logb_downward_test_data): Likewise.
12380 (nextafter_test_data): Likewise.
12381 (nexttoward_test_data): Likewise.
12382 (remainder_test_data): Likewise.
12383 (remquo_test_data): Likewise.
12384 (scalbn_test_data): Likewise.
12385 (scalbln_test_data): Likewise.
12386 (signbit_test_data): Likewise.
12387 (sqrt_test_data): Likewise.
12388 (significand_test_data): Likewise.
12389
48a18de1
SP
123902013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12391
12392 [BZ #15424]
12393 * benchtests/bench-modf.c (struct args): Mark arg0 as
12394 volatile.
12395 * scripts/bench.pl: Mark members of struct args as volatile.
12396
13d3b41a
AZ
123972013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12398
68191c1d 12399 [BZ # 15497]
13d3b41a
AZ
12400 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
12401 negative infinity on POWER6 or lower.
12402 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
12403
2848b105
MR
124042013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12405
12406 [BZ #15442]
12407 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
12408 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
12409 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
12410 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
12411 (_FP_SETQNAN): New macro.
12412 (_FP_SETQNAN_SEMIRAW): Likewise.
12413 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
12414 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
12415 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
12416 (FP_EXTEND): Use _FP_FRAC_SNANP.
12417 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
12418 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
12419 into account.
12420 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12421 New macro.
12422 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12423 Likewise.
12424
323e5cb7
JM
124252013-05-16 Joseph Myers <joseph@codesourcery.com>
12426
c58b274f
JM
12427 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
12428 with DIVIDE_BY_ZERO_EXCEPTION.
12429 (gamma_test_data): Likewise.
12430 (lgamma_test_data): Likewise.
12431 (log_test_data): Likewise.
12432 (log10_test_data): Likewise.
12433 (log2_test_data): Likewise.
12434 (tgamma_test_data): Likewise.
12435
0ab34904
JM
12436 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
12437 (acos_test_tonearest): Likewise.
12438 (acos_test_towardzero): Likewise.
12439 (acos_test_downward): Likewise.
12440 (acos_test_upward): Likewise.
12441 (acosh_test): Likewise.
12442 (asin_test): Likewise.
12443 (asin_test_tonearest): Likewise.
12444 (asin_test_towardzero): Likewise.
12445 (asin_test_downward): Likewise.
12446 (asin_test_upward): Likewise.
12447 (asinh_test): Likewise.
12448 (atan_test): Likewise.
12449 (atanh_test): Likewise.
12450 (atan2_test): Likewise.
12451 (cabs_test): Likewise.
12452 (cacos_test): Likewise.
12453 (cacosh_test): Likewise.
12454 (casin_test): Likewise.
12455 (casinh_test): Likewise.
12456 (catan_test): Likewise.
12457 (catanh_test): Likewise.
12458 (cbrt_test): Likewise.
12459 (ccos_test): Likewise.
12460 (ccosh_test): Likewise.
12461 (cexp_test): Likewise.
12462 (clog_test): Likewise.
12463 (clog10_test): Likewise.
12464 (cos_test): Likewise.
12465 (cos_test_tonearest): Likewise.
12466 (cos_test_towardzero): Likewise.
12467 (cos_test_downward): Likewise.
12468 (cos_test_upward): Likewise.
12469 (cosh_test): Likewise.
12470 (cosh_test_tonearest): Likewise.
12471 (cosh_test_towardzero): Likewise.
12472 (cosh_test_downward): Likewise.
12473 (cosh_test_upward): Likewise.
12474 (cpow_test): Likewise.
12475 (csin_test): Likewise.
12476 (csinh_test): Likewise.
12477 (csqrt_test): Likewise.
12478 (ctan_test): Likewise.
12479 (ctan_test_tonearest): Likewise.
12480 (ctan_test_towardzero): Likewise.
12481 (ctan_test_downward): Likewise.
12482 (ctan_test_upward): Likewise.
12483 (ctanh_test): Likewise.
12484 (ctanh_test_tonearest): Likewise.
12485 (ctanh_test_towardzero): Likewise.
12486 (ctanh_test_downward): Likewise.
12487 (ctanh_test_upward): Likewise.
12488 (erf_test): Likewise.
12489 (erfc_test): Likewise.
12490 (exp_test): Likewise.
12491 (exp_test_tonearest): Likewise.
12492 (exp_test_towardzero): Likewise.
12493 (exp_test_downward): Likewise.
12494 (exp_test_upward): Likewise.
12495 (exp10_test): Likewise.
12496 (exp2_test): Likewise.
12497 (expm1_test): Likewise.
12498 (fmod_test): Likewise.
12499 (gamma_test): Likewise.
12500 (hypot_test): Likewise.
12501 (j0_test): Likewise.
12502 (j1_test): Likewise.
12503 (jn_test): Likewise.
12504 (lgamma_test): Likewise.
12505 (log_test): Likewise.
12506 (log10_test): Likewise.
12507 (log1p_test): Likewise.
12508 (log2_test): Likewise.
12509 (logb_test_downward): Likewise.
12510 (pow_test): Likewise.
12511 (pow_test_tonearest): Likewise.
12512 (pow_test_towardzero): Likewise.
12513 (pow_test_downward): Likewise.
12514 (pow_test_upward): Likewise.
12515 (remainder_test): Likewise.
12516 (remquo_test): Likewise.
12517 (sin_test): Likewise.
12518 (sin_test_tonearest): Likewise.
12519 (sin_test_towardzero): Likewise.
12520 (sin_test_downward): Likewise.
12521 (sin_test_upward): Likewise.
12522 (sincos_test): Likewise.
12523 (sinh_test): Likewise.
12524 (sinh_test_tonearest): Likewise.
12525 (sinh_test_towardzero): Likewise.
12526 (sinh_test_downward): Likewise.
12527 (sinh_test_upward): Likewise.
12528 (sqrt_test): Likewise.
12529 (tan_test): Likewise.
12530 (tan_test_tonearest): Likewise.
12531 (tan_test_towardzero): Likewise.
12532 (tan_test_downward): Likewise.
12533 (tan_test_upward): Likewise.
12534 (tanh_test): Likewise.
12535 (tgamma_test): Likewise.
12536 (y0_test): Likewise.
12537 (y1_test): Likewise.
12538 (yn_test): Likewise.
12539
323e5cb7
JM
12540 * math/gen-libm-test.pl (adjust_arg): Remove function.
12541 (special_function): Remove argument $in_func. Only handle
12542 generating output for tables of tests, not inside functions.
12543 (parse_args): Likewise.
12544 (generate_testfile): Remove variable $in_func. Update call to
12545 parse_args.
12546 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
12547 (MINUS_ZERO_INIT): Rename macro to minus_zero.
12548 (PLUS_INFTY_INIT): Rename macro to plus_infty.
12549 (MINUS_INFTY_INIT): Rename macro to minus_infty.
12550 (QNAN_VALUE_INIT): Rename macro to qnan_value.
12551 (MAX_VALUE_INIT): Rename macro to max_value.
12552 (MIN_VALUE_INIT): Rename macro to min_value.
12553 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
12554 (plus_zero): Remove variable.
12555 (minus_zero): Likewise.
12556 (plus_infty): Likewise.
12557 (minus_infty): Likewise.
12558 (qnan_value): Likewise.
12559 (max_value): Likewise.
12560 (min_value): Likewise.
12561 (min_subnorm_value): Likewise.
12562
e054f494
RA
125632013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12564
12565 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
12566 uint64_t or uint32_t usage.
12567 * crypt/sha256-block.c: Likewise.
12568 * crypt/sha256-crypt.c: Likewise.
12569 * crypt/sha256.c: Likewise.
12570 * crypt/sha512-block.c: Likewise.
12571 * crypt/sha512-crypt.c: Likewise.
12572 * crypt/sha512.c: Likewise.
12573 * debug/backtrace-tst.c: Likewise.
12574 * debug/pcprofiledump.c: Likewise.
12575 * elf/cache.c: Likewise.
12576 * elf/dl-cache.c: Likewise.
12577 * elf/dl-misc.c: Likewise.
12578 * elf/dl-profile.c: Likewise.
12579 * elf/dl-support.c: Likewise.
12580 * elf/ldconfig.c: Likewise.
12581 * elf/sprof.c: Likewise.
12582 * iconv/dummy-repertoire.c: Likewise.
12583 * iconv/iconv_charmap.c: Likewise.
12584 * iconv/skeleton.c: Likewise.
12585 * iconvdata/8bit-generic.c: Likewise.
12586 * iconvdata/cp737.h: Likewise.
12587 * iconvdata/cp775.h: Likewise.
12588 * iconvdata/ibm1008.h: Likewise.
12589 * iconvdata/ibm1025.h: Likewise.
12590 * iconvdata/ibm1046.h: Likewise.
12591 * iconvdata/ibm1097.h: Likewise.
12592 * iconvdata/ibm1112.h: Likewise.
12593 * iconvdata/ibm1122.h: Likewise.
12594 * iconvdata/ibm1123.h: Likewise.
12595 * iconvdata/ibm1124.h: Likewise.
12596 * iconvdata/ibm1129.h: Likewise.
12597 * iconvdata/ibm1130.h: Likewise.
12598 * iconvdata/ibm1132.h: Likewise.
12599 * iconvdata/ibm1133.h: Likewise.
12600 * iconvdata/ibm1137.h: Likewise.
12601 * iconvdata/ibm1140.h: Likewise.
12602 * iconvdata/ibm1141.h: Likewise.
12603 * iconvdata/ibm1142.h: Likewise.
12604 * iconvdata/ibm1143.h: Likewise.
12605 * iconvdata/ibm1144.h: Likewise.
12606 * iconvdata/ibm1145.h: Likewise.
12607 * iconvdata/ibm1146.h: Likewise.
12608 * iconvdata/ibm1147.h: Likewise.
12609 * iconvdata/ibm1148.h: Likewise.
12610 * iconvdata/ibm1149.h: Likewise.
12611 * iconvdata/ibm1153.h: Likewise.
12612 * iconvdata/ibm1154.h: Likewise.
12613 * iconvdata/ibm1155.h: Likewise.
12614 * iconvdata/ibm1156.h: Likewise.
12615 * iconvdata/ibm1157.h: Likewise.
12616 * iconvdata/ibm1158.h: Likewise.
12617 * iconvdata/ibm1160.h: Likewise.
12618 * iconvdata/ibm1161.h: Likewise.
12619 * iconvdata/ibm1162.h: Likewise.
12620 * iconvdata/ibm1163.h: Likewise.
12621 * iconvdata/ibm1164.h: Likewise.
12622 * iconvdata/ibm1166.h: Likewise.
12623 * iconvdata/ibm1167.h: Likewise.
12624 * iconvdata/ibm12712.h: Likewise.
12625 * iconvdata/ibm1390.h: Likewise.
12626 * iconvdata/ibm1399.h: Likewise.
12627 * iconvdata/ibm16804.h: Likewise.
12628 * iconvdata/ibm4517.h: Likewise.
12629 * iconvdata/ibm4899.h: Likewise.
12630 * iconvdata/ibm4909.h: Likewise.
12631 * iconvdata/ibm4971.h: Likewise.
12632 * iconvdata/ibm5347.h: Likewise.
12633 * iconvdata/ibm803.h: Likewise.
12634 * iconvdata/ibm856.h: Likewise.
12635 * iconvdata/ibm901.h: Likewise.
12636 * iconvdata/ibm902.h: Likewise.
12637 * iconvdata/ibm9030.h: Likewise.
12638 * iconvdata/ibm9066.h: Likewise.
12639 * iconvdata/ibm921.h: Likewise.
12640 * iconvdata/ibm922.h: Likewise.
12641 * iconvdata/ibm9448.h: Likewise.
12642 * iconvdata/isiri-3342.h: Likewise.
12643 * iconvdata/jis0201.h: Likewise.
12644 * include/link.h: Likewise.
12645 * include/netdb.h: Likewise.
12646 * inet/check_native.c: Likewise.
12647 * inet/check_pf.c: Likewise.
12648 * inet/getipv4sourcefilter.c: Likewise.
12649 * inet/getnameinfo.c: Likewise.
12650 * inet/getsourcefilter.c: Likewise.
12651 * inet/htonl.c: Likewise.
12652 * inet/setipv4sourcefilter.c: Likewise.
12653 * inet/setsourcefilter.c: Likewise.
12654 * inet/test-inet6_opt.c: Likewise.
12655 * inet/tst-network.c: Likewise.
12656 * locale/C-collate.c: Likewise.
12657 * locale/C-ctype.c: Likewise.
12658 * locale/C-time.c: Likewise.
12659 * locale/C-translit.h: Likewise.
12660 * locale/loadarchive.c: Likewise.
12661 * locale/programs/3level.h: Likewise.
12662 * locale/programs/charmap.c: Likewise.
12663 * locale/programs/charmap.h: Likewise.
12664 * locale/programs/ld-address.c: Likewise.
12665 * locale/programs/ld-collate.c: Likewise.
12666 * locale/programs/ld-ctype.c: Likewise.
12667 * locale/programs/ld-identification.c: Likewise.
12668 * locale/programs/ld-measurement.c: Likewise.
12669 * locale/programs/ld-messages.c: Likewise.
12670 * locale/programs/ld-monetary.c: Likewise.
12671 * locale/programs/ld-name.c: Likewise.
12672 * locale/programs/ld-numeric.c: Likewise.
12673 * locale/programs/ld-paper.c: Likewise.
12674 * locale/programs/ld-telephone.c: Likewise.
12675 * locale/programs/ld-time.c: Likewise.
12676 * locale/programs/linereader.c: Likewise.
12677 * locale/programs/locale.c: Likewise.
12678 * locale/programs/locarchive.c: Likewise.
12679 * locale/programs/locfile.h: Likewise.
12680 * locale/programs/repertoire.c: Likewise.
12681 * locale/programs/simple-hash.c: Likewise.
12682 * locale/programs/simple-hash.h: Likewise.
12683 * malloc/memusage.c: Likewise.
12684 * malloc/memusagestat.c: Likewise.
12685 * nis/nis_defaults.c: Likewise.
12686 * nis/nis_hash.c: Likewise.
12687 * nis/nis_print.c: Likewise.
12688 * nis/nis_xdr.c: Likewise.
12689 * nscd/connections.c: Likewise.
12690 * nscd/hstcache.c: Likewise.
12691 * nscd/nscd_gethst_r.c: Likewise.
12692 * nscd/nscd_getserv_r.c: Likewise.
12693 * nscd/nscd_helper.c: Likewise.
12694 * nscd/servicescache.c: Likewise.
12695 * nss/makedb.c: Likewise.
12696 * nss/nss_db/db-XXX.c: Likewise.
12697 * nss/nss_db/db-initgroups.c: Likewise.
12698 * nss/nss_db/db-netgrp.c: Likewise.
12699 * nss/nss_files/files-network.c: Likewise.
12700 * nss/nss_files/files-parse.c: Likewise.
12701 * posix/bug-regex5.c: Likewise.
12702 * posix/fnmatch_loop.c: Likewise.
12703 * posix/regcomp.c: Likewise.
12704 * posix/regexec.c: Likewise.
12705 * posix/tst-rfc3484-2.c: Likewise.
12706 * posix/tst-rfc3484-3.c: Likewise.
12707 * posix/tst-rfc3484.c: Likewise.
12708 * resolv/nss_dns/dns-canon.c: Likewise.
12709 * resolv/nss_dns/dns-network.c: Likewise.
12710 * resolv/res_init.c: Likewise.
12711 * resolv/res_mkquery.c: Likewise.
12712 * resolv/tst-aton.c: Likewise.
12713 * stdlib/cxa_atexit.c: Likewise.
12714 * stdlib/cxa_finalize.c: Likewise.
12715 * stdlib/gen-fpioconst.c: Likewise.
12716 * stdlib/strtol_l.c: Likewise.
12717 * string/tst-endian.c: Likewise.
12718 * sunrpc/auth_des.c: Likewise.
12719 * sunrpc/clnt_udp.c: Likewise.
12720 * sunrpc/rtime.c: Likewise.
12721 * sunrpc/svcauth_des.c: Likewise.
12722 * sunrpc/xdr.c: Likewise.
12723 * sunrpc/xdr_intXX_t.c: Likewise.
12724 * sunrpc/xdr_rec.c: Likewise.
12725 * sysdeps/generic/ldconfig.h: Likewise.
12726 * sysdeps/generic/ldsodefs.h: Likewise.
12727 * sysdeps/generic/memusage.h: Likewise.
12728 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12729 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
12730 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
12731 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12732 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12733 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12734 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12735 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12736 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12737 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12738 * sysdeps/posix/getaddrinfo.c: Likewise.
12739 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12740 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12741 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12742 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12743 * sysdeps/powerpc/test-gettimebase.c: Likewise.
12744 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12745 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
12746 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
12747 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12748 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
12749 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12750 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12751 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
12752 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
12753 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
12754 * sysdeps/x86_64/dl-tls.h: Likewise.
12755 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
12756 * time/alt_digit.c: Likewise.
12757 * time/era.c: Likewise.
12758 * wcsmbs/tst-c16c32-1.c: Likewise.
12759
8c75f674
JM
127602013-05-16 Joseph Myers <joseph@codesourcery.com>
12761
12762 * math/libm-test.inc (struct test_sincos_data): New type.
12763 (RUN_TEST_LOOP_sincos): New macro.
12764 (sincos_test_data): New variable.
12765 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
12766
e6e49e59
RH
127672013-05-16 Richard Henderson <rth@redhat.com>
12768
12769 * math/atest-exp2.c (LIMB64): New macro.
12770 (CONSTSZ): New macro.
12771 (mp_exp1, mp_exp_m1, mp_log2): New variables.
12772 (hexdig): Move ...
12773 (print_mpn_fp): ... to function scope.
12774 (read_mpn_hex): Remove.
12775 (get_log2): Remove.
12776 (exp2_mpn): Use mp_log2.
12777 (main): Use mp_exp1.
12778
15c7c18d
JM
127792013-05-16 Joseph Myers <joseph@codesourcery.com>
12780
105a07df
JM
12781 * math/libm-test.inc: Remove comment about not testing "inexact"
12782 exceptions.
12783 (INEXACT_EXCEPTION): New macro.
12784 (NO_INEXACT_EXCEPTION): Likewise.
12785 (INVALID_EXCEPTION_OK): Update value.
12786 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12787 (OVERFLOW_EXCEPTION_OK): Likewise.
12788 (UNDERFLOW_EXCEPTION_OK): Likewise.
12789 (IGNORE_ZERO_INF_SIGN): Likewise.
12790 (ERRNO_UNCHANGED): Likewise.
12791 (ERRNO_EDOM): Likewise.
12792 (ERRNO_ERANGE): Likewise.
12793 (test_exceptions): Handle testing "inexact" exceptions.
12794 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
12795 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
12796 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
12797 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
12798 INEXACT_EXCEPTION.
12799 (rint_towardzero_test_data): Likewise.
12800 (rint_downward_test_data): Likewise.
12801 (rint_upward_test_data): Likewise.
12802
e9eee333
JM
12803 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
12804 with OVERFLOW_EXCEPTION.
12805 (exp10_test_data): Likewise.
12806 (exp2_test_data): Likewise.
12807 (expm1_test_data): Likewise.
12808 (lgamma_test_data): Likewise.
12809 (pow_test_data): Likewise.
12810 (tgamma_test_data): Likewise.
12811 (yn_test_data): Remove duplicate test of overflow.
12812
1c38ff73
JM
12813 * math/libm-test.inc (struct test_cc_c_data): New type.
12814 (RUN_TEST_LOOP_cc_c): New macro.
12815 (cpow_test_data): New variable.
12816 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
12817
15c7c18d
JM
12818 * math/libm-test.inc (struct test_f_L_data): New type.
12819 (RUN_TEST_LOOP_f_L): New macro.
12820 (llrint_test_data): New variable.
12821 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
12822 (llrint_tonearest_test_data): New variable.
12823 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
12824 (llrint_towardzero_test_data): New variable.
12825 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
12826 (llrint_downward_test_data): New variable.
12827 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
12828 (llrint_upward_test_data): New variable.
12829 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
12830 (llround_test_data): New variable.
12831 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
12832
f137ff13
PC
128332013-05-13 Peter Collingbourne <pcc@google.com>
12834
12835 * math/atest-exp2.c (get_log2): Remove const attribute.
12836
3608cb24
JM
128372013-05-15 Joseph Myers <joseph@codesourcery.com>
12838
12839 * math/libm-test.inc (struct test_f_l_data): New type.
12840 (RUN_TEST_LOOP_f_l): New macro.
12841 (lrint_test_data): New variable.
12842 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
12843 (lrint_tonearest_test_data): New variable.
12844 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
12845 (lrint_towardzero_test_data): New variable.
12846 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
12847 (lrint_downward_test_data): New variable.
12848 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
12849 (lrint_upward_test_data): New variable.
12850 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
12851 (lround_test_data): New variable.
12852 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
12853
39b1f617
PC
128542013-05-15 Peter Collingbourne <pcc@google.com>
12855
1deff3dc
PC
12856 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
12857 (EXTRACT_WORDS64) Use where appropriate.
12858 (INSERT_WORDS64) Likewise.
12859
791f3ba0
PC
12860 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
12861 constraints with x constraints.
12862 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
12863
39b1f617
PC
12864 * malloc/obstack.c (_obstack_compat): Add initializer.
12865
12fba011
EM
128662013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
12867
12868 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
12869 si_trapno and add si_addr_lsb to _sifields.sigfault.
12870 (si_trapno): Remove macro.
12871 (si_addr_lsb): Define new macro.
12872 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12873
d369f531
JM
128742013-05-15 Joseph Myers <joseph@codesourcery.com>
12875
b861c6c4
JM
12876 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
12877 instead of TEST_f_l.
12878 (llrint_test_tonearest): Likewise.
12879 (llrint_test_towardzero): Likewise.
12880 (llrint_test_downward): Likewise.
12881 (llrint_test_upward): Likewise.
12882 (llround_test): Likewise.
12883
7abeee12
JM
12884 * math/libm-test.inc (struct test_f_i_data): Add comment.
12885 (RUN_TEST_LOOP_f_b): New macro.
12886 (RUN_TEST_LOOP_f_b_tg): Likewise.
12887 (finite_test_data): New variable.
12888 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
12889 (isfinite_test_data): New variable.
12890 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12891 (isinf_test_data): New variable.
12892 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12893 (isnan_test_data): New variable.
12894 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12895 (isnormal_test_data): New variable.
12896 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12897 (issignaling_test_data): New variable.
12898 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12899 (signbit_test_data): New variable.
12900 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12901
cbe8c4d3
JM
12902 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
12903 with INVALID_EXCEPTION.
12904 (acosh_test_data): Likewise.
12905 (asin_test_data): Likewise.
12906 (atanh_test_data): Likewise.
12907 (fmod_test_data): Likewise.
12908 (log_test_data): Likewise.
12909 (log10_test_data): Likewise.
12910 (log2_test_data): Likewise.
12911 (pow_test_data): Likewise.
12912 (sqrt_test_data): Likewise.
12913 (y0_test_data): Likewise.
12914 (y1_test_data): Likewise.
12915 (yn_test_data): Likewise.
12916
5575c0e5
JM
12917 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
12918 function contents.
12919
d369f531
JM
12920 * math/libm-test.inc (struct test_ff_i_data): New type.
12921 (RUN_TEST_LOOP_ff_i_tg): New macro.
12922 (isgreater_test_data): New variable.
12923 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12924 (isgreaterequal_test_data): New variable.
12925 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12926 (isless_test_data): New variable.
12927 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12928 (islessequal_test_data): New variable.
12929 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12930 (islessgreater_test_data): New variable.
12931 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12932 (isunordered_test_data): New variable.
12933 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12934
781fd748
DM
129352013-05-14 David S. Miller <davem@davemloft.net>
12936
12937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12938
87aa21df
JM
129392013-05-14 Joseph Myers <joseph@codesourcery.com>
12940
5e908270
JM
12941 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
12942
f71172e5
JM
12943 * math/libm-test.inc (struct test_fF_f1_data): Change type of
12944 extra_test to int.
12945 (struct test_f_i_data): Change type of max_ulp to int.
12946
8cfa635a
JM
12947 * math/libm-test.inc (test_ffI_f1_data): New type.
12948 (RUN_TEST_LOOP_ffI_f1): New macro.
12949 (remquo_test_data): New variable.
12950 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
12951
2bcb36b2
JM
12952 * setjmp/tst-setjmp-fp.c: New file.
12953 * setjmp/Makefile (tests): Add tst-setjmp-fp.
12954 (link-libm): New variable.
12955 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
12956
acbd839a
JM
12957 * math/libm-test.inc (struct test_f_i_data): New type.
12958 (RUN_TEST_LOOP_f_i): New macro.
12959 (RUN_TEST_LOOP_f_i_tg): Likewise.
12960 (fpclassify_test_data): New variable.
12961 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
12962 (ilogb_test_data): New variable.
12963 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
12964
e414d745
JM
12965 * math/libm-test.inc (scalbln_test): Correct function name in END
12966 call.
12967
d9c2a0fd
JM
12968 * math/libm-test.inc (struct test_f_f1_data): Add comment.
12969 (RUN_TEST_LOOP_fI_f1): New macro.
12970 (frexp_test_data): New variable.
12971 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
12972
9dc9095d
JM
12973 * math/libm-test.inc (struct test_fF_f1_data): New type.
12974 (RUN_TEST_LOOP_fF_f1): New macro.
12975 (modf_test_data): New variable.
12976 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
12977
87aa21df
JM
12978 * math/libm-test.inc (struct test_f_f1_data): New type.
12979 (RUN_TEST_LOOP_f_f1): New macro.
12980 (gamma_test_data): New variable.
12981 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
12982 (lgamma_test_data): New variable.
12983 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
12984
141af660
CD
129852013-05-13 Carlos O'Donell <carlos@redhat.com>
12986
12987 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
12988 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
12989 (main): Comment "tls" pseudo-hwcap.
12990
6d33265c
JM
129912013-05-13 Joseph Myers <joseph@codesourcery.com>
12992
68fc074c
JM
12993 * math/libm-test.inc (struct test_fl_f_data): New type.
12994 (RUN_TEST_LOOP_fl_f): New variable.
12995 (scalbln_test_data): New variable.
12996 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
12997
243216e1
JM
12998 * math/libm-test.inc (struct test_fi_f_data): New type.
12999 (RUN_TEST_LOOP_fi_f): New macro.
13000 (ldexp_test_data): New variable.
13001 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13002 (scalbn_test_data): New variable.
13003 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13004
6a1992e2
JM
13005 * math/libm-test.inc (struct test_c_f_data): New type.
13006 (RUN_TEST_LOOP_c_f): New macro.
13007 (cabs_test_data): New variable.
13008 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13009 (carg_test_data): New variable.
13010 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13011 (cimag_test_data): New variable.
13012 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13013 (creal_test_data): New variable.
13014 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13015
0e400df5
JM
13016 * math/libm-test.inc (struct test_if_f_data): New type.
13017 (RUN_TEST_LOOP_if_f): New macro.
13018 (jn_test_data): New variable.
13019 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13020 (yn_test_data): New variable.
13021 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13022
6d33265c
JM
13023 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13024
f98ece5f
AZ
130252013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13026
13027 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13028 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13029
0f7d347b
SP
130302013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13031
43fe811b
SP
13032 * benchtests/Makefile (CPPFLAGS-nonlib): Add
13033 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13034 (bench-deps): Add bench-timing.h.
13035 * benchtests-bench-skeleton.c: Include bench-timing.h.
13036 (main): Use TIMING_* macros instead of clock_gettime.
13037 * benchtests/bench-timing.h: New file.
13038
0f7d347b
SP
13039 [BZ #14582]
13040 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13041 Renamed from _LIB_VERSION.
13042 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13043
601a3a5f
JM
130442013-05-12 Joseph Myers <joseph@codesourcery.com>
13045
4f184d30
JM
13046 * math/libm-test.inc (struct test_fff_f_data): New type.
13047 (RUN_TEST_LOOP_fff_f): New macro.
13048 (fma_test_data): New variable.
13049 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13050 (fma_towardzero_test_data): New variable.
13051 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13052 (fma_downward_test_data): New variable.
13053 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13054 (fma_upward_test_data): New variable.
13055 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13056
08198877
JM
13057 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13058 (struct test_c_c_data): New type.
13059 (RUN_TEST_LOOP_c_c): New macro.
13060 (cacos_test_data): New variable.
13061 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13062 (cacosh_test_data): New variable.
13063 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13064 (casin_test_data): New variable.
13065 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13066 (casinh_test_data): New variable.
13067 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13068 (catan_test_data): New variable.
13069 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13070 (catanh_test_data): New variable.
13071 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13072 (ccos_test_data): New variable.
13073 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13074 (ccosh_test_data): New variable.
13075 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13076 (cexp_test_data): New variable.
13077 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13078 (clog_test_data): New variable.
13079 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13080 (clog10_test_data): New variable.
13081 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13082 (conj_test_data): New variable.
13083 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13084 (cproj_test_data): New variable.
13085 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13086 (csin_test_data): New variable.
13087 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13088 (csinh_test_data): New variable.
13089 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13090 (csqrt_test_data): New variable.
13091 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13092 (ctan_test_data): New variable.
13093 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13094 (ctan_tonearest_test_data): New variable.
13095 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13096 (ctan_towardzero_test_data): New variable.
13097 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13098 (ctan_downward_test_data): New variable.
13099 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13100 (ctan_upward_test_data): New variable.
13101 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13102 (ctanh_test_data): New variable.
13103 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13104 (ctanh_tonearest_test_data): New variable.
13105 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13106 (ctanh_towardzero_test_data): New variable.
13107 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13108 (ctanh_downward_test_data): New variable.
13109 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13110 (ctanh_upward_test_data): New variable.
13111 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13112 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13113 of BUILD_COMPLEX.
13114
601a3a5f
JM
13115 * math/libm-test.inc (struct test_ff_f_data): New type.
13116 (struct test_ff_f_data_nexttoward): Likewise.
13117 (RUN_TEST_LOOP_2_f): New macro.
13118 (RUN_TEST_LOOP_ff_f): Likewise.
13119 (atan2_test_data): New variable.
13120 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13121 (copysign_test_data): New variable.
13122 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13123 (fdim_test_data): New variable.
13124 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13125 (fmax_test_data): New variable.
13126 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13127 (fmin_test_data): New variable.
13128 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13129 (fmod_test_data): New variable.
13130 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13131 (hypot_test_data): New variable.
13132 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13133 (nextafter_test_data): New variable.
13134 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13135 (nexttoward_test_data): New variable.
13136 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13137 (pow_test_data): New variable.
13138 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13139 (pow_tonearest_test_data): New variable.
13140 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13141 (pow_towardzero_test_data): New variable.
13142 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13143 (pow_downward_test_data): New variable.
13144 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13145 (pow_upward_test_data): New variable.
13146 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13147 (remainder_test_data): New variable.
13148 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13149 (scalb_test_data): New variable.
13150 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13151 * sysdeps/i386/fpu/libm-test-ulps: Update.
13152
74c57478
JM
131532013-05-11 Joseph Myers <joseph@codesourcery.com>
13154
8329e4da
JM
13155 * math/libm-test.inc (fma_test): Use max_value instead of local
13156 variable fltmax.
13157 (nextafter_test): Likewise.
13158
74c57478
JM
13159 * math/libm-test.inc (acos_towardzero_test_data): New variable.
13160 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13161 (acos_downward_test_data): New variable.
13162 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13163 (acos_upward_test_data): New variable.
13164 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13165 (acosh_test_data): New variable.
13166 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13167 (asin_test_data): New variable.
13168 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13169 (asin_tonearest_test_data): New variable.
13170 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13171 (asin_towardzero_test_data): New variable.
13172 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13173 (asin_downward_test_data): New variable.
13174 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13175 (asin_upward_test_data): New variable.
13176 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13177 (asinh_test_data): New variable.
13178 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13179 (atan_test_data): New variable.
13180 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13181 (atanh_test_data): New variable.
13182 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13183 (cbrt_test_data): New variable.
13184 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13185 (ceil_test_data): New variable.
13186 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13187 (cos_test_data): New variable.
13188 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13189 (cos_tonearest_test_data): New variable.
13190 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13191 (cos_towardzero_test_data): New variable.
13192 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13193 (cos_downward_test_data): New variable.
13194 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13195 (cos_upward_test_data): New variable.
13196 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13197 (cosh_test_data): New variable.
13198 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13199 (cosh_tonearest_test_data): New variable.
13200 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13201 (cosh_towardzero_test_data): New variable.
13202 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13203 (cosh_downward_test_data): New variable.
13204 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13205 (cosh_upward_test_data): New variable.
13206 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13207 (erf_test_data): New variable.
13208 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13209 (erfc_test_data): New variable.
13210 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13211 (exp_test_data): New variable.
13212 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13213 (exp_tonearest_test_data): New variable.
13214 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13215 (exp_towardzero_test_data): New variable.
13216 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13217 (exp_downward_test_data): New variable.
13218 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13219 (exp_upward_test_data): New variable.
13220 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13221 (exp10_test_data): New variable.
13222 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13223 (exp2_test_data): New variable.
13224 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13225 (expm1_test_data): New variable.
13226 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13227 (fabs_test_data): New variable.
13228 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13229 (floor_test_data): New variable.
13230 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13231 (j0_test_data): New variable.
13232 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13233 (j1_test_data): New variable.
13234 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13235 (log_test_data): New variable.
13236 (log_test): Run tests with RUN_TEST_LOOP_f_f.
13237 (log10_test_data): New variable.
13238 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13239 (log1p_test_data): New variable.
13240 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13241 (log2_test_data): New variable.
13242 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13243 (logb_test_data): New variable.
13244 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13245 (logb_downward_test_data): New variable.
13246 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13247 (nearbyint_test_data): New variable.
13248 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13249 (rint_test_data): New variable.
13250 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13251 (rint_tonearest_test_data): New variable.
13252 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13253 (rint_towardzero_test_data): New variable.
13254 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13255 (rint_downward_test_data): New variable.
13256 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13257 (rint_upward_test_data): New variable.
13258 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13259 (round_test_data): New variable.
13260 (round_test): Run tests with RUN_TEST_LOOP_f_f.
13261 (sin_test_data): New variable.
13262 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13263 (sin_tonearest_test_data): New variable.
13264 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13265 (sin_towardzero_test_data): New variable.
13266 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13267 (sin_downward_test_data): New variable.
13268 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13269 (sin_upward_test_data): New variable.
13270 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13271 (sinh_test_data): New variable.
13272 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13273 (sinh_tonearest_test_data): New variable.
13274 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13275 (sinh_towardzero_test_data): New variable.
13276 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13277 (sinh_downward_test_data): New variable.
13278 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13279 (sinh_upward_test_data): New variable.
13280 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13281 (sqrt_test_data): New variable.
13282 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13283 (tan_test_data): New variable.
13284 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13285 (tan_tonearest_test_data): New variable.
13286 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13287 (tan_towardzero_test_data): New variable.
13288 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13289 (tan_downward_test_data): New variable.
13290 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13291 (tan_upward_test_data): New variable.
13292 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13293 (tanh_test_data): New variable.
13294 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13295 (tgamma_test_data): New variable.
13296 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13297 (trunc_test_data): New variable.
13298 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13299 (y0_test_data): New variable.
13300 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13301 (y1_test_data): New variable.
13302 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13303 (significand_test_data): New variable.
13304 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13305
7187d844
CG
133062013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
13307
13308 [BZ #12387]
13309 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13310
f63fae73
PT
133112013-05-10 Pino Toscano <toscano.pino@tiscali.it>
13312
13313 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
13314
8a67a4b3
AJ
133152013-05-10 Andreas Jaeger <aj@suse.de>
13316
13317 [BZ #15448]
13318 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
13319 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
13320
51df539d
JM
133212013-05-10 Joseph Myers <joseph@codesourcery.com>
13322
13323 * math/gen-libm-test.pl (adjust_arg): New function.
13324 (special_functions): Handle generating output in both functions
13325 and arrays.
13326 (parse_args): Likewise.
13327 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
13328 $in_func argument to parse_args.
13329 * math/libm-test.inc (struct test_f_f_data): New type.
13330 (IF_ROUND_INIT_): New macro.
13331 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
13332 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13333 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13334 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13335 (ROUND_RESTORE_): Likewise.
13336 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
13337 (ROUND_RESTORE_FE_TONEAREST): Likewise.
13338 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
13339 (ROUND_RESTORE_FE_UPWARD): Likewise.
13340 (RUN_TEST_LOOP_f_f): New macro.
13341 (acos_test_data): New variable.
13342 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
13343 (acos_tonearest_test_data): New variable.
13344 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13345
5c637fe5
SP
133462013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13347
13348 * benchtests/bench-skeleton.c (startup): Fix coding style.
13349
ab2b9461
JM
133502013-05-10 Joseph Myers <joseph@codesourcery.com>
13351
13352 [BZ #6809]
13353 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
13354 negative infinity argument.
13355 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
13356 negative infinity argument.
13357 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
13358 negative infinity argument.
13359 * math/libm-test.inc (tgamma_test): Expect errno to be set for
13360 domain errors.
13361
4c0fe6fe
FW
133622013-05-10 Florian Weimer <fweimer@redhat.com>
13363
13364 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
13365 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
13366 * iconv/iconv_prog.c (main): Likewise.
13367 * locale/programs/charmap-dir.c (charmap_readdir)
13368 (fopen_uncompressed): Likewise.
13369 * locale/programs/locfile.c (siblings_uncached)
13370 (write_locale_data): Use lstat64 instead of lstat.
13371 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
13372 stat.
13373
a3375d29
AJ
133742013-05-10 Andreas Jaeger <aj@suse.de>
13375
13376 [BZ #15395]
13377 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
13378 localization.
13379 Include <locale.h>.
13380
36129722
CD
133812013-05-09 Carlos O'Donell <carlos@redhat.com>
13382
13383 * elf/dl-close.c (_dl_close_worker): Add comments.
13384
faa7f811
JM
133852013-05-09 Joseph Myers <joseph@codesourcery.com>
13386
ed41ffef
JM
13387 [BZ #15359]
13388 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
13389 high part of pi/2.
13390 (__ieee754_rem_pio2l): Update comments.
13391
d0213cd0
JM
13392 [BZ #15429]
13393 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
13394 high part of pi/2.
13395 (__ieee754_rem_pio2l): Update comments.
13396
0d3e777a
JM
13397 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
13398 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
13399
24f56066
JM
13400 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
13401 M_PI_4l.
13402
faa7f811
JM
13403 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
13404 (M_PI_34_LOG10El): Likewise.
13405 (M_PI2_LOG10El): Likewise.
13406 (M_PI4_LOG10El): Likewise.
13407 (M_PI_LOG10El): Likewise.
13408
e9a5e0fd
AZ
134092013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13410
13411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13412
d8cd06db
JM
134132013-05-08 Joseph Myers <joseph@codesourcery.com>
13414
a0d9f9d7
JM
13415 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
13416 (MINUS_ZERO_INIT): Likewise.
13417 (PLUS_INFTY_INIT): Likewise.
13418 (MINUS_INFTY_INIT): Likewise.
13419 (QNAN_VALUE_INIT): Likewise.
13420 (MAX_VALUE_INIT): Likewise.
13421 (MIN_VALUE_INIT): Likewise.
13422 (MIN_SUBNORM_VALUE_INIT): Likewise.
13423 (plus_zero): Initialize with PLUS_ZERO_INIT.
13424 (minus_zero): Initialize with MINUS_ZERO_INIT.
13425 (plus_infty): Initialize with PLUS_INFTY_INIT.
13426 (minus_infty): Initialize with MINUS_INFTY_INIT.
13427 (qnan_value): Initialize with QNAN_VALUE_INIT.
13428 (max_value): Initialize with MAX_VALUE_INIT.
13429 (min_value): Initialize with MIN_VALUE_INIT.
13430 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
13431
ae08db3b
JM
13432 * math/libm-test.inc (RUN_TEST_if_f): New macro.
13433 (jn_test): Use TEST_if_f instead of TEST_ff_f.
13434 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
13435 (yn_test): Use TEST_if_f instead of TEST_ff_f.
13436
f44bf14a
JM
13437 * math/libm-test.inc (RUN_TEST_f_f): New macro.
13438 (RUN_TEST_2_f): Likewise.
13439 (RUN_TEST_ff_f): Likewise.
13440 (RUN_TEST_fi_f): Likewise.
13441 (RUN_TEST_fl_f): Likewise.
13442 (RUN_TEST_fff_f): Likewise.
13443 (RUN_TEST_c_f): Likewise.
13444 (RUN_TEST_f_f1): Likewise.
13445 (RUN_TEST_fF_f1): Likewise.
13446 (RUN_TEST_fI_f1): Likewise.
13447 (RUN_TEST_ffI_f1): Likewise.
13448 (RUN_TEST_c_c): Likewise.
13449 (RUN_TEST_cc_c): Likewise.
13450 (RUN_TEST_f_i): Likewise.
13451 (RUN_TEST_f_i_tg): Likewise.
13452 (RUN_TEST_ff_i_tg): Likewise.
13453 (RUN_TEST_f_b): Likewise.
13454 (RUN_TEST_f_b_tg): Likewise.
13455 (RUN_TEST_f_l): Likewise.
13456 (RUN_TEST_f_L): Likewise.
13457 (RUN_TEST_sincos): Likewise.
13458 * math/gen-libm-test.pl (new_test): Take new argument to indicate
13459 whether to show exceptions. Do not include ");\n" in return
13460 value.
13461 (special_functions): Output call to RUN_TEST_sincos instead of
13462 check_float calls. Update calls to new_test.
13463 (parse_args): Output call to single RUN_TEST_* macro instead of
13464 check_* calls and other assignments. Update calls to new_test.
13465
d8cd06db
JM
13466 [BZ #2546]
13467 [BZ #2560]
13468 [BZ #5159]
13469 [BZ #15426]
13470 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
13471 input to result for tgamma overflow.
13472 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
13473 (gamma_coeff): New variable.
13474 (NCOEFF): New macro.
13475 (gamma_positive): New function.
13476 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
13477 underflow here. Use gamma_positive instead of exp (lgamma) for
13478 other arguments.
13479 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
13480 (gamma_coeff): New variable.
13481 (NCOEFF): New macro.
13482 (gammaf_positive): New function.
13483 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
13484 underflow here. Use gamma_positive instead of exp (lgamma) for
13485 other arguments.
13486 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
13487 (gamma_coeff): New variable.
13488 (NCOEFF): New macro.
13489 (gammal_positive): New function.
13490 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
13491 underflow here. Use gamma_positive instead of exp (lgamma) for
13492 other arguments.
13493 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
13494 (gamma_coeff): New variable.
13495 (NCOEFF): New macro.
13496 (gammal_positive): New function.
13497 (__ieee754_gammal_r): Handle positive infinity, overflow and
13498 underflow here. Handle NaN the same as positive infinity. Remove
13499 check x < 0xffffffff for negative integers. Use gamma_positive
13500 instead of exp (lgamma) for other arguments.
13501 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
13502 (gamma_coeff): New variable.
13503 (NCOEFF): New macro.
13504 (gammal_positive): New function.
13505 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
13506 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13507 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13508 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
13509 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13510 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13511 * sysdeps/generic/math_private.h (__gamma_productf): New
13512 prototype.
13513 (__gamma_product): Likewise.
13514 (__gamma_productl): Likewise.
13515 * math/Makefile (libm-calls): Add gamma_product.
13516 * math/libm-test.inc (tgamma_test): Add more tests.
13517 * sysdeps/i386/fpu/libm-test-ulps: Update.
13518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13519
bb7cf681
OB
135202013-05-08 Ondřej Bílka <neleai@seznam.cz>
13521
13522 * benchtests/bench-skeleton.c (main): Preheat CPU.
13523
ba853947
AJ
135242013-05-07 Aurelien Jarno <aurelien@aurel32.net>
13525
13526 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
13527
8347c74c
RM
135282013-05-07 Roland McGrath <roland@hack.frob.com>
13529
13530 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
13531 and _dl_skip_args_internal.
13532
e8dd4791
CD
135332013-05-07 Carlos O'Donell <carlos@redhat.com>
13534
13535 * manual/message.texi (Message Translation): Talk about users.
13536 Message to key mapping impacts design.
13537
c7405830
RM
135382013-05-06 Roland McGrath <roland@hack.frob.com>
13539
a9173057
RM
13540 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
13541
976e2f03
RM
13542 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
13543
9723ffc5
RM
13544 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
13545 * sysdeps/wordsize-64/glob64.c: ... here.
13546
962e6658
RM
13547 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
13548 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
13549 New macros.
13550
ee586a6d
RM
13551 * debug/getlogin_r_chk.c: Moved to ...
13552 * login/getlogin_r_chk.c: ... here.
13553 * debug/Makefile (routines): Move getlogin_r_chk to ...
13554 * login/Makefile (routines): ... here.
13555 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
13556 * login/Versions (libc: GLIBC_2.4): ... here.
13557
355f9165
RM
13558 * io/poll.c (__poll): Renamed from poll.
13559 Add libc_hidden_def.
13560 (poll): Define as weak alias.
13561
bd9ffde6
RM
13562 * debug/ptsname_r_chk.c: Moved to ...
13563 * login/ptsname_r_chk.c: ... here.
13564 * debug/Makefile (routines): Move ptsname_r_chk to ...
13565 * login/Makefile (routines): ... here.
13566 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
13567 * login/Versions (libc: GLIBC_2.4): ... here.
13568
8fb16a04
RM
13569 * posix/getlogin.c: Moved to ...
13570 * login/getlogin.c: ... here.
13571 * posix/getlogin_r.c: Moved to ...
13572 * login/getlogin_r.c: ... here.
13573 * posix/getlogin_r.c: Moved to ...
13574 * login/getlogin_r.c: ... here.
13575 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
13576 * login/Makefile (routines): ... here.
13577 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
13578 * login/Versions (libc: GLIBC_2.0): ... here.
13579
b99b892f
RM
13580 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
13581 (setrlimit): Define as weak alias.
13582
c7405830
RM
13583 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
13584 Call __ names for open, ftruncate, and close.
13585 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
13586 (truncate): Define as weak alias.
13587
5bf96de5
JM
135882013-05-06 Joseph Myers <joseph@codesourcery.com>
13589
9ea3513c
JM
13590 * math/gen-libm-test.pl (parse_args): Initialize x before each
13591 test of frexp, modf and remquo.
13592
5bf96de5
JM
13593 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
13594 test signgam value.
13595
16e616a7
AZ
135962013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13597
13598 [BZ #15418]
13599 [BZ #15419]
13600 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
13601 internal tests.
13602 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13603
d5e82754
RM
136042013-05-06 Roland McGrath <roland@hack.frob.com>
13605
13606 * elf/dl-writev.h: New file.
13607 * elf/dl-misc.c: Include it.
13608 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
13609 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
13610
a7548d41
JM
136112013-05-04 Joseph Myers <joseph@codesourcery.com>
13612
b7dab1e4
JM
13613 * math/libm-test.inc (noXFails): Remove variable.
13614 (noXPasses): Likewise.
13615 (BUILD_COMPLEX_INT): Remove macro.
13616 (print_screen): Remove xfail argument.
13617 (print_screen_max_error): Likewise.
13618 (update_stats): Likewise.
13619 (print_max_error): Likewise. Update calls to other affected
13620 functions.
13621 (print_complex_max_error): Likewise.
13622 (test_single_exception): Update calls to print_screen.
13623 (test_single_errno): Likewise.
13624 (check_float_internal): Remove xfail argument. Update calls to
13625 other affected functions.
13626 (check_float): Likewise.
13627 (check_complex): Likewise.
13628 (check_int): Likewise.
13629 (check_long): Likewise.
13630 (check_bool): Likewise.
13631 (check_longlong): Likewise.
13632 (main): Don't print noXFails and noXPasses.
13633 * math/gen-libm-test.pl (top level): Don't mention expected
13634 failure handling in comment.
13635 (new_test): Don't handle expected failures.
13636 (parse_args): Don't mention expected failure handling in comment.
13637 (generate_testfile): Don't handle expected failures.
13638 (parse_ulps): Likewise.
13639 (print_ulps_file): Likewise.
13640 (get_failure): Remove function.
13641 (output_test): Don't handle expected failures.
13642 * make/README.libm-test: Don't mention expected failure handling.
13643
a7548d41
JM
13644 * math/libm-test.inc (plus_zero): Make const. Add initializer.
13645 (minus_zero): Likewise.
13646 (plus_infty): Likewise.
13647 (minus_infty): Likewise.
13648 (qnan_value): Likewise.
13649 (max_value): Likewise.
13650 (min_value): Likewise.
13651 (min_subnorm_value): Likewise.
13652 (initialize): Do not initialize those variables dynamically.
13653
60bfd54c
RM
136542013-05-03 Roland McGrath <roland@hack.frob.com>
13655
cc0e6ed8
RM
13656 * io/open.c (__open_2): Moved to ...
13657 * io/open_2.c: ... this new file.
13658 * io/open64.c (__open64_2): Moved to ...
13659 * io/open64_2.c: ... this new file.
13660 * io/openat.c (__openat_2): Moved to ...
13661 * io/openat_2.c: ... this new file.
13662 * io/openat64.c (__openat64_2): Moved to ...
13663 * io/openat64_2.c: ... this new file.
13664 * io/Makefile (routines): Add them.
13665 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
13666 * sysdeps/unix/sysv/linux/open_2.c: File removed.
13667 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
13668 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
13669 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
13670 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
13671 (__openat64): Add hidden_ver.
13672 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
13673 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
13674
60bfd54c
RM
13675 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
13676 Separately conditionalize setting of GLRO(dl_sysinfo) so
13677 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
13678 as well, but the actual setting is only under [NEED_DL_SYSINFO].
13679
83e7640f
AZ
136802013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13681
13682 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
13683 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
13684 definition.
13685 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
13686 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13687 (_libc_vdso_platform_setup): Add __vdso_time initialization.
13688 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
13689 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
13690
d5dc2af3
JM
136912013-05-03 Joseph Myers <joseph@codesourcery.com>
13692
c31a5b1e
JM
13693 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
13694 test signgam value.
13695
d5dc2af3
JM
13696 * math/libm-test.inc (hypot_test): Do not use
13697 IGNORE_ZERO_INF_SIGN.
13698
164fd39d
AJ
136992013-05-03 Andreas Jaeger <aj@suse.de>
13700
13701 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
13702 Linux 3.9.
13703 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
13704 (PF_MAX): Adjust for VSOCK change.
13705
8237f48c
AZ
137062013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13707
13708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13709
9df02941
CD
137102013-05-02 Carlos O'Donell <carlos@redhat.com>
13711
13712 [BZ #15264]
13713 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
13714 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
13715 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
13716
d422395e
DM
137172013-05-02 David S. Miller <davem@davemloft.net>
13718
13719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13720
a07c5731
OB
137212013-05-01 Ondřej Bílka <neleai@seznam.cz>
13722
13723 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
13724
1324e37f
RM
137252013-05-01 Roland McGrath <roland@hack.frob.com>
13726
13727 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
13728
0695940b
RS
137292013-05-01 Richard Smith <richard@metafoo.co.uk>
13730
bb5f27ad 13731 [BZ #14952]
0695940b
RS
13732 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
13733 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13734 Use __attribute__ ((__gnu_inline__)).
13735 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13736 Don't use __attribute__ ((__gnu_inline__)).
13737
10de07f5
JM
137382013-05-01 Joseph Myers <joseph@codesourcery.com>
13739
13740 [BZ #15423]
13741 * math/s_catan.c (__catan): Handle small real or imaginary part of
13742 input specially to avoid spurious underflow.
13743 * math/s_catanf.c (__catanf): Likewise.
13744 * math/s_catanh.c (__catanh): Likewise.
13745 * math/s_catanhf.c (__catanhf): Likewise.
13746 * math/s_catanhl.c (__catanhl): Likewise.
13747 * math/s_catanl.c (__catanl): Likewise.
13748 * math/libm-test.inc (catan_test): Add more tests.
13749 (catanh_test): Likewise.
13750 * sysdeps/i386/fpu/libm-test-ulps: Update.
13751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13752
cb4d5414
AZ
137532013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13754
13755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13756
caf84319
JM
137572013-04-30 Joseph Myers <joseph@codesourcery.com>
13758
13759 [BZ #15416]
13760 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
13761 accurately for denominator in atan2.
13762 * math/s_catanf.c (__catanf): Likewise.
13763 * math/s_catanh.c (__catanh): Likewise.
13764 * math/s_catanhf.c (__catanhf): Likewise.
13765 * math/s_catanhl.c (__catanhl): Likewise.
13766 * math/s_catanl.c (__catanl): Likewise.
13767 * math/libm-test.inc (catan_test): Add more tests.
13768 (catanh_test): Likewise.
13769 * sysdeps/i386/fpu/libm-test-ulps: Update.
13770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13771
d569c6ee
SP
137722013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13773
6dbe713d
SP
13774 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
13775
f0ee064b
SP
13776 * benchtests/Makefile (bench): Remove slow benchmarks.
13777 * benchtests/atan-inputs: Add slow benchmark inputs.
13778 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
13779 (BENCH_FUNC): Accept variant offset.
13780 (VARIANT): Define.
13781 * benchtests/bench-skeleton.c (main): Run benchmark for each
13782 variant.
13783 * benchtests/cos-inputs: Add slow benchmark inputs.
13784 * benchtests/exp-inputs: Likewise.
13785 * benchtests/pow-inputs: Likewise.
13786 * benchtests/sin-inputs: Likewise.
13787 * benchtests/slowatan-inputs: Remove.
13788 * benchtests/slowatan.c: Remove.
13789 * benchtests/slowcos-inputs: Remove.
13790 * benchtests/slowcos.c: Remove.
13791 * benchtests/slowexp-inputs: Remove.
13792 * benchtests/slowexp.c: Remove.
13793 * benchtests/slowpow-inputs: Remove.
13794 * benchtests/slowpow.c: Remove.
13795 * benchtests/slowsin-inputs: Remove.
13796 * benchtests/slowsin.c: Remove.
13797 * benchtests/slowtan-inputs: Remove.
13798 * benchtests/slowtan.c: Remove.
13799 * benchtests/tan-inputs: Add slow benchmark inputs.
13800 * scripts/bench.pl: Parse comments and directives.
13801
d569c6ee
SP
13802 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
13803 in CPPFLAGS.
13804 ($(objpfx)bench-%.c): Remove *-ITER.
13805 * benchtests/bench-modf.c: Remove definition of ITER.
13806 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
13807 (main): Loop for DURATION seconds instead of fixed number of
13808 iterations.
13809 * scripts/bench.pl: Don't expect iterations in parameters.
13810
a6a242fe
RM
138112013-04-29 Roland McGrath <roland@hack.frob.com>
13812
13813 * io/fchdir.c (__fchdir): Renamed from fchdir.
13814 (fchdir): Define as weak alias.
13815
f2da7793
JM
138162013-04-29 Joseph Myers <joseph@codesourcery.com>
13817
13818 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
13819 (ERRNO_EDOM): Likewise.
13820 (ERRNO_ERANGE): Likewise.
13821 (noErrnoTests): New variable.
13822 (init_max_error): Set errno to 0.
13823 (test_single_errno): New function.
13824 (test_errno): Likewise.
13825 (check_float_internal): Call test_errno. Set errno to 0.
13826 (check_complex): Refer to errno tests in comment.
13827 (check_int): Call test_errno. Set errno to 0.
13828 (check_long): Likewise.
13829 (check_bool): Likewise.
13830 (check_longlong): Likewise.
13831 (cos_test): Use ERRNO_* flags for errno tests instead of
13832 check_int.
13833 (expm1_test): Likewise.
13834 (fmod_test): Likewise.
13835 (ilogb_test): Likewise.
13836 (lgamma_test): Likewise.
13837 (pow_test): Likewise.
13838 (remainder_test): Likewise.
13839 (sin_test): Likewise.
13840 (tan_test): Likewise.
13841 (yn_test): Likewise.
13842 (initialize): Set errno to 0.
13843 (main): Print number of errno tests.
13844 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
13845
b1a36ceb
AJ
138462013-04-29 Andreas Jaeger <aj@suse.de>
13847
c3ed8088
AJ
13848 [BZ #15084]
13849 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
13850 and RES_USEVC.
13851
f1a24198
AJ
13852 [BZ #15085]
13853 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
13854 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
13855 unimplemented.
13856
9ce3b2cb
AJ
13857 [BZ #15380]
13858 * stdlib/random.c (__initstate): Return NULL if
13859 __initstate fails.
13860
f1a24198 13861 [BZ #15086]
b1a36ceb
AJ
13862 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
13863 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
13864 RES_SNGLKUPREOP.
13865
7e7b6f36
AZ
138662013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13867
13868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13869
4d14f449
JM
138702013-04-29 Joseph Myers <joseph@codesourcery.com>
13871
13872 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
13873 of individual tests.
13874 (casin_test): Likewise.
13875 (casinh_test): Likewise.
13876
5b4217d7
JM
138772013-04-27 Joseph Myers <joseph@codesourcery.com>
13878
13879 [BZ #15409]
13880 * math/s_catan.c (__catan): Handle arguments with large real or
13881 imaginary part separately without squaring.
13882 * math/s_catanf.c (__catanf): Likewise.
13883 * math/s_catanh.c (__catanh): Likewise.
13884 * math/s_catanhf.c (__catanhf): Likewise.
13885 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13886 and redefine.
13887 (__catanhl): Handle arguments with large real or imaginary part
13888 separately without squaring.
13889 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13890 and redefine.
13891 (__catanl): Handle arguments with large real or imaginary part
13892 separately without squaring.
13893 * math/libm-test.inc (catan_test): Add more tests.
13894 (catanh_test): Likewise.
13895 * sysdeps/i386/fpu/libm-test-ulps: Update.
13896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13897
4220c3ef
AJ
138982013-04-27 Andreas Jaeger <aj@suse.de>
13899
13900 [BZ #15007]
13901 * stdlib/stdlib.h: Update guards for qecvt.
13902 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
13903 <stdlib.h>.
13904
4721b2d1
AM
139052013-04-27 Allan McRae <allan@archlinux.org>
13906
13907 * sysdeps/i386/fpu/libm-test-ulps: Update.
13908
f0302940
JM
139092013-04-26 Joseph Myers <joseph@codesourcery.com>
13910
9457fd95
JM
13911 [BZ #15406]
13912 * math/s_catan.c: Include <float.h>.
13913 (__catan): Ensure underflow exception occurs for underflowed
13914 result.
13915 * math/s_catanf.c: Include <float.h>.
13916 (__catanf): Ensure underflow exception occurs for underflowed
13917 result.
13918 * math/s_catanh.c: Include <float.h>.
13919 (__catanh): Ensure underflow exception occurs for underflowed
13920 result.
13921 * math/s_catanhf.c: Include <float.h>.
13922 (__catanhf): Ensure underflow exception occurs for underflowed
13923 result.
13924 * math/s_catanhl.c: Include <float.h>.
13925 (__catanhl): Ensure underflow exception occurs for underflowed
13926 result.
13927 * math/s_catanl.c: Include <float.h>.
13928 (__catanl): Ensure underflow exception occurs for underflowed
13929 result.
13930 * math/libm-test.inc (catan_test): Add more tests.
13931 (catanh_test): Likewise.
13932
f0302940
JM
13933 [BZ #15405]
13934 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
13935 underflowed result.
13936 * math/s_ccoshf.c (__ccoshf): Likewise.
13937 * math/s_ccoshl.c (__ccoshl): Likewise.
13938 * math/s_csin.c (__csin): Likewise.
13939 * math/s_csinf.c (__csinf): Likewise.
13940 * math/s_csinh.c (__csinh): Likewise.
13941 * math/s_csinhf.c (__csinhf): Likewise.
13942 * math/s_csinhl.c (__csinhl): Likewise.
13943 * math/s_csinl.c (__csinl): Likewise.
13944 * math/libm-test.inc (ccos_test): Add more tests.
13945 (ccosh_test): Likewise.
13946 (csin_test): Likewise.
13947 (csinh_test): Likewise.
13948
aa630f59
AZ
139492013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13950
13951 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
13952 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
13953 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
13954 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
13955 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
13956 powerpc/power5+/fpu folders.
13957 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13958
13959
1b835983
MT
139602013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13961
13962 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13963
73709b26
JM
139642013-04-25 Joseph Myers <joseph@codesourcery.com>
13965
13966 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
13967 additions to variable.
13968 [$(config-machine) = x86_64] (modules-names): Likewise.
13969 ($(objpfx)tst-audit3): Remove dependency.
13970 ($(objpfx)tst-audit3.out): Likewise.
13971 ($(objpfx)tst-audit4): Likewise.
13972 ($(objpfx)tst-audit4.out): Likewise.
13973 ($(objpfx)tst-audit5): Likewise.
13974 ($(objpfx)tst-audit5.out): Likewise.
13975 ($(objpfx)tst-audit6): Likewise.
13976 ($(objpfx)tst-audit6.out): Likewise.
13977 ($(objpfx)tst-audit7): Likewise.
13978 ($(objpfx)tst-audit7.out): Likewise.
13979 (tst-audit3-ENV): Remove variable.
13980 (tst-audit4-ENV): Likewise.
13981 (tst-audit5-ENV): Likewise.
13982 (tst-audit6-ENV): Likewise.
13983 (tst-audit7-ENV): Likewise.
13984 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
13985 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
13986 addition to variable.
13987 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
13988 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
13989 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
13990 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
13991 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
13992 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
13993 tst-audit3, tst-audit4 and tst-audit5.
13994 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
13995 tst-audit6 and tst-audit7.
13996 [$(subdir) = elf] (modules-names): Add audit modules for those
13997 tests.
13998 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
13999 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14000 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14001 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14002 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14003 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14004 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14005 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14006 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14007 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14008 [$(subdir) = elf] (tst-audit3-ENV): New variable.
14009 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14010 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14011 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14012 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14013 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14014 Likewise.
14015 [$(subdir) = elf && $(config-cflags-avx) = yes]
14016 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14017 [$(subdir) = elf && $(config-cflags-avx) = yes]
14018 (CFLAGS-tst-auditmod4a.c): Likewise.
14019 [$(subdir) = elf && $(config-cflags-avx) = yes]
14020 (CFLAGS-tst-auditmod4b.c): Likewise.
14021 [$(subdir) = elf && $(config-cflags-avx) = yes]
14022 (CFLAGS-tst-auditmod6b.c): Likewise.
14023 [$(subdir) = elf && $(config-cflags-avx) = yes]
14024 (CFLAGS-tst-auditmod6c.c): Likewise.
14025 [$(subdir) = elf && $(config-cflags-avx) = yes]
14026 (CFLAGS-tst-auditmod7b.c): Likewise.
14027 * elf/tst-audit3.c: Move to ...
14028 * sysdeps/x86_64/tst-audit3.c: ... here.
14029 * elf/tst-audit4.c: Move to ...
14030 * sysdeps/x86_64/tst-audit4.c: ... here.
14031 * elf/tst-audit5.c: Move to ...
14032 * sysdeps/x86_64/tst-audit5.c: ... here.
14033 * elf/tst-audit6.c: Move to ...
14034 * sysdeps/x86_64/tst-audit6.c: ... here.
14035 * elf/tst-audit7.c: Move to ...
14036 * sysdeps/x86_64/tst-audit7.c: ... here.
14037 * elf/tst-auditmod3a.c: Move to ...
14038 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14039 * elf/tst-auditmod3b.c: Move to ...
14040 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14041 * elf/tst-auditmod4a.c: Move to ...
14042 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14043 * elf/tst-auditmod4b.c: Move to ...
14044 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14045 * elf/tst-auditmod5a.c: Move to ...
14046 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14047 * elf/tst-auditmod5b.c: Move to ...
14048 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14049 * elf/tst-auditmod6a.c: Move to ...
14050 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14051 * elf/tst-auditmod6b.c: Move to ...
14052 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14053 * elf/tst-auditmod6c.c: Move to ...
14054 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14055 * elf/tst-auditmod7a.c: Move to ...
14056 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14057 * elf/tst-auditmod7b.c: Move to ...
14058 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14059
1ef74943
PP
140602013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
14061
14062 [BZ #15366]
14063 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14064 define unconditionally.
14065 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14066 define unconditionally.
14067 (INT8_C, INT16_C, etc.): Likewise.
14068
93fd48c5
MR
140692013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
14070
ae9552cf
MR
14071 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14072 __ehdr_start with hidden visibility.
14073
93fd48c5
MR
14074 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14075
418601aa
CD
140762013-04-24 Carlos O'Donell <carlos@redhat.com>
14077
14078 * math/libm-test.inc (cos_test): Use accurate hex constants.
14079 (sincost_test): Likewise.
14080
2f38fbfe
JM
140812013-04-24 Joseph Myers <joseph@codesourcery.com>
14082
5e221800
JM
14083 * math/libm-test.inc (catan_test): Add more tests.
14084 (catanh_test): Likewise.
14085
77f143fd
JM
14086 * math/s_catanf.c (__catanf): Use suffixed floating-point
14087 constants.
14088 * math/s_catanhf.c (__catanhf): Likewise.
14089 * math/s_catanhl.c (__catanhl): Likewise.
14090 * math/s_catanl.c (__catanl): Likewise.
14091
2f38fbfe
JM
14092 [BZ #15394]
14093 * math/s_catan.c (__catan): Calculate imaginary part of result
14094 with log1p not log unless computing log of number close to 0.
14095 * math/s_catanf.c (__catanf): Likewise.
14096 * math/s_catanl.c (__catanl): Likewise.
14097 * math/s_catanh.c (__catanh): Calculate real part of result with
14098 log1p not log unless computing log of number close to 0.
14099 * math/s_catanhf.c (__catanhf): Likewise.
14100 * math/s_catanhl.c (__catanhl): Likewise.
14101 * math/libm-test.inc (catan_test): Add more tests.
14102 (catanh_test): Likewise.
14103 * sysdeps/i386/fpu/libm-test-ulps: Update.
14104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14105
45d69176
SP
141062013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14107
14108 * benchtests/Makefile: Mention files in which fast and slow
14109 paths of math functions are implemented.
14110
87f51853
RM
141112013-04-23 Roland McGrath <roland@hack.frob.com>
14112
14113 * sysdeps/posix/timespec_get.c: New file.
14114
3c026539
AZ
141152013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14116
14117 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14118 POWER.
14119 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14120 for POWER.
14121 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14122 powerpc/power5/fpu folders.
14123 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14124 * benchtests/Makefile: Add modf testcase.
14125 * benchtests/bench-modf.c: New file: Benchmark test for mo
14126
ff491d14
SP
141272013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14128
14129 [BZ #14888]
14130 * time/Makefile (tests): Add tst-strptime-whitespace.
14131 * time/strptime_l.c (get_number): Use ISSPACE.
14132 (__strptime_internal): Likewise.
14133 * time/tst-strptime-whitespace.c: New test case.
14134
7ed3f4e8
AS
141352013-04-23 Andreas Schwab <schwab@linux-m68k.org>
14136
14137 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14138 member.
14139 (_nss_files_init): Set it here.
14140
5c95f7b6
HC
141412013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
14142
14143 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14144 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14145 unsigned.
14146
d34c9158
JBG
141472013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
14148
14149 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14150
2169712d
SP
141512013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14152
14153 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14154 size just once.
14155
29c5de99
DM
141562013-04-21 David S. Miller <davem@davemloft.net>
14157
14158 * po/ru.po: Update Russion translation from translation project.
14159
ccdad15d
AC
141602013-04-17 Adam Conrad <adconrad@0c3.net>
14161
14162 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14163 and setfsgid.
14164
0f122b8d
CD
141652013-04-17 Carlos O'Donell <carlos@redhat.com>
14166
5c5b07da 14167 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 14168 * configure: Regenerate.
5c5b07da 14169 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
14170 Add example to error message.
14171 * sysdeps/i386/configure: Regenerate.
14172
037714dd
SP
141732013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14174
14175 * benchtests/Makefile (bench): Add cos, tan, slowcos and
14176 slowtan.
14177 * benchtests/cos-inputs: New file.
14178 * benchtests/slowcos-inputs: New file.
14179 * benchtests/slowcos.c: New file.
14180 * benchtests/slowtan-inputs: New file.
14181 * benchtests/slowtan.c: New file.
14182 * benchtests/tan-inputs: New file.
14183
e913141d
RM
141842013-04-16 Roland McGrath <roland@hack.frob.com>
14185
14186 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14187 considered kosher.
14188
a2964074
SP
141892013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14190
4856bcd2
SP
14191 * benchtests/Makefile: Include cppflags-iterator.mk to add
14192 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14193
a2964074
SP
14194 * Makefile.in (bench-clean): New target.
14195 * benchtests/Makefile (bench-clean): Likewise.
14196
9fbf9aca
DH
141972013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
14198
14199 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14200
207d1e2a
TS
142012013-04-15 Thomas Schwinge <thomas@codesourcery.com>
14202
14203 * stdio-common/tstdiomisc.c: Fix coding-style violation.
14204
306dfba9
AS
142052013-04-15 Andreas Schwab <schwab@suse.de>
14206
14207 * nscd/grpcache.c (cache_addgr): Properly check for short write.
14208 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14209 * nscd/pwdcache.c (cache_addpw): Likewise.
14210 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
14211 more than recsize.
14212
206a6699
SP
142132013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14214
14215 * benchtests/Makefile (bench): Write all output to
14216 bench-out.tmp together.
14217
0582f6b3
AS
142182013-04-15 Andreas Schwab <schwab@suse.de>
14219
14220 * nscd/nscd.c (main): Don't fork again after closing files.
14221
acb4325f
SP
142222013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14223
5cb26d0a
SP
14224 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14225
acb4325f
SP
14226 * benchtests/Rules (bench-deps): Collect dependencies into a
14227 single variable. Add Makefile to dependencies.
14228 ($(objpfx)bench-%.c): Depend on bench-deps.
14229
47792506
RM
142302013-04-12 Roland McGrath <roland@hack.frob.com>
14231 Xavier Roche <roche+kml2@exalead.com>
14232
14233 [BZ #15361]
14234 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14235 just that it's a file descriptor.
14236 * manual/llio.texi (Synchronizing AIO Operations): Update description
14237 for EBADF error from aio_fsync.
14238
8fc1bee5
SP
142392013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14240
14241 * Rules (bench): Move target definition...
14242 * benchtests/Makefile: ... here.
14243
aba5e333
CD
142442013-04-11 Carlos O'Donell <carlos@redhat.com>
14245
14246 * math/libm-test.inc (cos_test): Fix PI/2 test.
14247 (sincos_test): Likewise.
14248 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14249 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14250
273cdee8
AS
142512013-04-11 Andreas Schwab <schwab@suse.de>
14252
6ecec3b6
AS
14253 [BZ #13988]
14254 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14255 accept exponent character only when digits were seen.
14256 * stdio-common/Makefile (tests): Add bug26.
14257 * stdio-common/bug26.c: New file.
14258
273cdee8
AS
14259 [BZ #14293]
14260 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14261 non-freeable.
14262
8da491f5
SP
142632013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14264
01dc6df9
SP
14265 * Makeconfig (rtld-prefix): Define built linker prefix.
14266 * Rules (run-bench): Use it.
14267 * math/Makefile (run-regen-ulps): Likewise.
14268
8da491f5
SP
14269 * Rules (bench): Remove eval.
14270
abe7f530
SP
142712013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14272 Roland McGrath <roland@hack.frob.com>
14273 Ondrej Bilka <neleai@seznam.cz>
14274
14275 [BZ #15346]
14276 * time/getdate.c: Include ctype.h and alloca.h.
14277 (__getdate_r): Trim leading and trailing spaces of input.
14278 * time/tst-getdate.c (tests): Add tests with leading and
14279 trailing spaces.
14280
61c23e62
RM
142812013-04-08 Roland McGrath <roland@hack.frob.com>
14282
14283 [BZ #14280]
14284 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14285 when computing value.
14286
7208a313
CD
142872013-04-06 Carlos O'Donell <carlos@redhat.com>
14288
085b2d41
CD
14289 * math/README.libm-test (How can I generate "libm-test-ulps"?):
14290 Use testrun.sh to run libm tests.
14291
7208a313
CD
14292 [BZ #15309]
14293 * elf/dl-open.c (dl_open_worker): memset all of seen array.
14294
872c0acd
MM
142952013-04-06 Marko Myllynen <myllynen@redhat.com>
14296
14297 [BZ #15264]
14298 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14299
26510bdd
CD
143002013-04-06 Carlos O'Donell <carlos@redhat.com>
14301
14302 * Makefile.in (regen-ulps): New target.
14303 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14304 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14305 [ifneq (no,$(PERL)] (regen-ulps): New target.
14306 [ifeq (no,$(PERL)] (regen-ulps): New target.
14307 * math/libm-test.inc (ulps_file_name): Define.
14308 (output_dir): New variable.
14309 (options): Add "output-dir" option.
14310 (parse_opt): Handle 'o' case.
14311 (main): If output_dir is non-NULL use it as a prefix
14312 otherwise use "".
14313 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
14314
a01f19c8
CD
143152013-04-06 Carlos O'Donell <carlos@redhat.com>
14316
14317 [BZ #10060, #10062]
14318 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
14319 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
14320 fail configure if __sync_val_compare_and_swap is not inlined.
14321 * sysdeps/i386/configure: Regenerate.
14322 * configure.in: Build for i686 when configured for i386.
14323 * configure: Regenerate.
14324 * README: Remove i386 reference.
14325
b7a329a5
CD
143262013-04-06 Carlos O'Donell <carlos@redhat.com>
14327
14328 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
14329 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14330
bf0f50df
TS
143312013-04-05 Thomas Schwinge <thomas@codesourcery.com>
14332
ee091edf
TS
14333 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
14334 (lmsnanval): New variables.
14335 (F): Add conversion tests.
14336 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
14337 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
14338
a8b792d6
TS
14339 * stdio-common/tstdiomisc.c (F): Properly collect individual
14340 tests' results.
14341
a1cbf437
TS
14342 [BZ #14686, #15336]
14343 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
14344 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14345 Instead, use input NaN values or generate a qNaN by arithmetic
14346 operation. Also fix bugs to comply with the standard.
14347 * math/libm-test.inc (remainder_test): Add more tests.
14348
8b43a0c9
TS
14349 [BZ #15335, #15342]
14350 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
14351 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
14352 input NaN values or generate a qNaN by arithmetic operation.
14353
d91da4ce
TS
14354 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
14355 unreachable code.
14356
bf0f50df
TS
14357 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
14358 definitions.
14359
05e166c8
JM
143602013-04-03 Joseph Myers <joseph@codesourcery.com>
14361
14362 [BZ #14478]
14363 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
14364 underflowed result.
14365 * math/s_cexpf.c (__cexpf): Likewise.
14366 * math/s_cexpl.c (__cexpl): Likewise.
14367 * math/libm-test.inc (cexp_test): Add more tests.
14368
1cef1b19
AS
143692013-04-03 Andreas Schwab <schwab@suse.de>
14370
14371 [BZ #15330]
14372 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
14373 order arrays from heap if bigger than alloca cutoff.
14374
74d87055
TS
143752013-04-03 Thomas Schwinge <thomas@codesourcery.com>
14376
14377 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
14378 (SNAN_TESTS_double): Refer to GCC PR56831.
14379 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
14380 GCC PR56828.
14381
d755bba4
SP
143822013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14383
90d5d5bb
SP
14384 * Rules (bench): Move bench.out after the run is complete.
14385
73e0cd5d
SP
14386 * Rules (bench): Echo currently running benchmark.
14387
64aabd4b
SP
14388 * benchtests/Makefile (bench): Add atan and slowatan.
14389 * benchtests/atan-inputs: New file.
14390 * benchtests/slowatan-inputs: New file.
14391 * benchtests/slowatan.c: New file.
14392
c871eccd
SP
14393 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
14394 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
14395 its value.
14396
d755bba4
SP
14397 [BZ #15305]
14398 * sysdeps/unix/sysv/linux/kernel-features.h
14399 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
14400 __ASSUME_XFS_RESTRICTED_CHOWN.
14401 * sysdeps/unix/sysv/linux/pathconf.c
14402 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14403 Save and restore errno.
14404
52ce4860
JM
144052013-04-02 Joseph Myers <joseph@codesourcery.com>
14406
14407 [BZ #15327]
14408 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
14409 arguments using __kernel_casinh.
14410 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
14411 arguments using __kernel_casinhf.
14412 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
14413 arguments using __kernel_casinhl.
14414 * math/libm-test.inc (cacosh_test): Add more tests.
14415 * sysdeps/i386/fpu/libm-test-ulps: Update.
14416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14417
81f311c2
SP
144182013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14419
e7906a47
SP
14420 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
14421 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
14422
92e3664b
SP
14423 * bench/Makefile (bench): Add sin and slowsin.
14424 * benchtests/sin-inputs: New file.
14425 * benchtests/slowsin-inputs: New file.
14426 * benchtests/slowsin.c: New file.
14427
81f311c2
SP
14428 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
14429 (bench): Add slowexp and slowpow.
14430 (exp-ITER): Increase iterations.
14431 (pow-ITER): Likewise.
14432 * benchtests/exp-inputs: Change input.
14433 * benchtests/pow-inputs: Likewise.
14434 * benchtests/slowexp-inputs: New file.
14435 * benchtests/slowexp.c: New file.
14436 * benchtests/slowpow-inputs: New file.
14437 * benchtests/slowpow.c: New file.
14438
ab0f1aa9
AZ
144392013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14440
14441 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
14442 instructions.
14443 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14444 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
14445 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14446 * benchtests/Makefile: Add rint benchtest.
14447 * benchtests/rint-inputs: Input for rint benchtest.
14448
57267616
TS
144492013-04-02 Thomas Schwinge <thomas@codesourcery.com>
14450
14451 * Versions.def (libm): Add GLIBC_2.18.
14452 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
14453 hidden libm prototypes.
14454 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
14455 * math/Makefile (libm-calls): Add s_issignaling.
14456 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
14457 __issignalingf, __issignalingl. Adjust all libm.abilist files.
14458 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
14459 declaration.
14460 * math/math.h [__USE_GNU] (issignaling): New macro.
14461 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
14462 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
14463 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
14464 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
14465 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
14466 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
14467 * manual/arith.texi (issignaling): New section.
14468 * manual/libm-err-tab.pl (@all_functions): Update comment.
14469 * math/gen-libm-test.pl (parse_args): Apply special handling for
14470 issignaling.
14471 * math/libm-test.inc (print_float, issignaling_test): New
14472 functions.
14473 (check_float_internal): Add issignaling checks.
14474 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
14475 default definition.
14476 * sysdeps/powerpc/math-tests.h: New file.
14477 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
14478 tests.
14479 * math/test-snan.c (TEST_FUNC): Likewise.
14480
6142896d
DM
144812013-03-30 David S. Miller <davem@davemloft.net>
14482
14483 * po/de.po: Update from translation team.
14484
ccc8cadf
JM
144852013-03-30 Joseph Myers <joseph@codesourcery.com>
14486
14487 [BZ #10357]
14488 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14489 imaginary part less than 1.0 and real part less than 0.5
14490 specially.
14491 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14492 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14493 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
14494 (cacos_test): Add more tests.
14495 (casin_test): Likewise.
14496 (casinh_test): Likewise.
14497 * sysdeps/i386/fpu/libm-test-ulps: Update.
14498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14499
0f6a8d4b
SP
145002013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14501
0d1029de
SP
14502 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
14503 ONE with its value.
14504
c2d94018
SP
14505 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
14506 (__pow_mp): Replace ONE and MONE with their values.
14507 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14508 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
14509 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14510 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
14511 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14512 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14513
27ec37f1
SP
14514 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
14515
a64d7e0e
SP
14516 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
14517 (__pow_mp): Replace ZERO and MZERO with their values.
14518 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14519 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14520 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14521 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14522 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14523 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
14524 (__sqr): Likewise.
14525
d26dd3eb
SP
14526 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
14527
0f6a8d4b
SP
14528 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
14529
e57b0c61
RM
145302013-03-28 Roland McGrath <roland@hack.frob.com>
14531
14532 * include/stdlib.h [!SHARED] (__call_tls_dtors):
14533 Declare with __attribute__ ((weak)).
14534 * stdlib/exit.c (__libc_atexit) [!SHARED]:
14535 Call __call_tls_dtors only if it's not NULL.
14536
356b3480
RM
145372013-03-28 Roland McGrath <roland@hack.frob.com>
14538
288f7d79
RM
14539 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
14540 didn't do it already, then set _dl_phdr and _dl_phnum based on the
14541 magic __ehdr_start linker symbol if it's defined.
14542 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
14543 them up here if it was already done.
14544
dc0a0263
RM
14545 * elf/dl-support.c (_dl_phdr): Make pointer to const.
14546 (_dl_aux_init): Use const in cast when setting it.
14547 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
14548 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
14549 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
14550
3d3436ae
RM
14551 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
14552 Declare them here.
14553 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
14554 * csu/libc-tls.c: Nor here.
14555 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
14556
356b3480
RM
14557 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
14558 (__libc_message): Never call vsyslog.
14559
b0f1246a
AM
145602013-03-28 Alan Modra <amodra@gmail.com>
14561
14562 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
14563 Define as empty.
14564 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
14565 Likewise.
14566
fbbe2b9a
AZ
145672013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14568
14569 [BZ #15214]
14570 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
14571 underflow.
14572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14573
1728ab37
SP
145742013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14575
7a86be6e
SP
14576 [BZ #15304]
14577 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14578 Don't add gid passed as argument.
14579
1728ab37
SP
14580 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
14581
3a7182a1
JM
145822013-03-27 Joseph Myers <joseph@codesourcery.com>
14583
14584 [BZ #15307]
14585 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14586 imaginary part between 1.0 and 1.5 and real part less than 0.5
14587 specially.
14588 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14589 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14590 * math/libm-test.inc (cacos_test): Add more tests.
14591 (casin_test): Likewise.
14592 (casinh_test): Likewise.
14593 * sysdeps/i386/fpu/libm-test-ulps: Update.
14594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14595
6f2e90e7
SP
145962013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14597
5739f705
SP
14598 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
14599 constants.
14600 (norm): Likewise.
14601 (denorm): Likewise.
14602 (__dbl_mp): Likewise.
14603 (add_magnitudes): Likewise.
14604 (sub_magnitudes): Likewise.
14605 (__add): Likewise.
14606 (__sub): Likewise.
14607 (__mul): Likewise.
14608 (__sqr): Likewise.
14609 (__inv): Likewise.
14610 (__dvd): Likewise.
14611
e375e83d
SP
14612 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
14613 commented code.
14614 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
14615 (__dubcos): Likewise.
14616 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
14617 (__ieee754_acos): Likewise.
14618 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14619 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
14620 (__exp1): Likewise.
14621 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14622 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14623 (log1): Likewise.
14624 (my_log2): Likewise.
14625 (checkint): Likewise.
14626 * sysdeps/ieee754/dbl-64/e_remainder.c
14627 (__ieee754_remainder): Likewise.
14628 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14629 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14630 (bsloww): Likewise.
14631 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14632
6f2e90e7
SP
14633 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
14634 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
14635 MANTISSA_STORE_T to store computations on mantissa. Use
14636 macros for rounding and division.
14637 (denorm): Likewise.
14638 (__dbl_mp): Likewise.
14639 (add_magnitudes): Likewise.
14640 (sub_magnitudes): Likewise.
14641 (__mul): Likewise.
14642 (__sqr): Likewise.
14643 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
14644 powers of two in terms of TWOPOW macro.
14645 (mp_no): Make type of mantissa as MANTISSA_T.
14646 [!RADIXI]: Define RADIXI.
14647 [!TWO52]: Define TWO52.
14648 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
14649
fce14d4e
AZ
146502013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14651
14652 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
14653 llroundl symbol when building for PPC32.
14654
9ad027fb
MW
146552013-03-24 Mark H Weaver <mhw@netris.org>
14656
14657 * manual/arith.texi (Normalization Functions): Fix prototypes for
14658 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
14659
e42a38dd
AZ
146602013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14661
14662 [BZ #13889]
14663 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
14664 high value to check if expl overflow.
14665 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
14666 to check for underflow and overflow.
14667 * math/libm-test.inc: Add exp test.
14668
2e0fb521
DL
146692013-03-21 Dmitry V. Levin <ldv@altlinux.org>
14670
14671 [BZ #11120]
14672 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
14673 with NOT_IN_libc.
14674
b5784d95
AZ
146752013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14676
14677 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
14678 symbol.
14679
5aa4a1a1
TS
146802013-03-21 Thomas Schwinge <thomas@codesourcery.com>
14681
bdef0be7
TS
14682 * math/gen-libm-test.pl (parse_args, special_functions): Properly
14683 wrap blocks consisting of several statements.
14684
5aa4a1a1
TS
14685 * sysdeps/generic/math-tests.h: New file.
14686 * sysdeps/i386/fpu/math-tests.h: Likewise.
14687 * math/test-snan.c: Include it.
14688 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
14689
98c48fe5
JM
146902013-03-21 Joseph Myers <joseph@codesourcery.com>
14691
14692 [BZ #15285]
14693 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
14694 (__ieee754_j0l): Do not improve calculations using cos of twice
14695 input for inputs above LDBL_MAX / 2.0L.
14696 (__ieee754_y0l): Likewise.
14697 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
14698 (__ieee754_j1l): Do not improve calculations using cos of twice
14699 input for inputs above LDBL_MAX / 2.0L.
14700 (__ieee754_y1l): Likewise.
14701 * math/libm-test.inc (j0_test): Add another test.
14702 (j1_test): Likewise.
14703 (y0_test): Likewise.
14704 (y1_test): Likewise.
14705 * sysdeps/i386/fpu/libm-test-ulps: Update.
14706
3775a8bc
SP
147072013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14708
14709 * Rules ($(objpfx)bench-%.c): Include code from a C source
14710 file.
14711
0a1b2ae6
JM
147122013-03-21 Joseph Myers <joseph@codesourcery.com>
14713
14714 [BZ #15287]
14715 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14716 imaginary part 1.0 and real part less than 0.5 specially.
14717 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14718 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14719 * math/libm-test.inc (cacos_test): Add more tests.
14720 (casin_test): Likewise.
14721 (casinh_test): Likewise.
14722 * sysdeps/i386/fpu/libm-test-ulps: Update.
14723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14724
b33d4ce4
SP
147252013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14726
14727 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
14728 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
14729
bef0b507
JM
147302013-03-20 Joseph Myers <joseph@codesourcery.com>
14731
14732 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
14733 * config.make.in (config-cflags-sse4): Remove variable.
14734 (config-cflags-avx): Likewise.
14735 (config-cflags-sse2avx): Likewise.
14736 (config-cflags-novzeroupper): Likewise.
14737 (config-asflags-i686): Likewise.
14738 (have-mfma4): Likewise.
14739 (have-as-vis3): Likewise.
14740 (MIG): Likewise.
14741 * configure.in (MIG): Do not AC_SUBST.
14742 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
14743 (libc_cv_cc_sse4): Do not AC_SUBST.
14744 (libc_cv_cc_avx): Likewise.
14745 (libc_cv_cc_sse2avx): Likewise.
14746 (libc_cv_cc_novzeroupper): Likewise.
14747 (libc_cv_cc_fma4): Likewise.
14748 (libc_cv_as_i686): Likewise.
14749 (libc_cv_sparc_as_vis3): Likewise.
14750 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
14751 LIBC_CONFIG_VAR.
14752 (config-asflags-i686): Likewise.
14753 (config-cflags-avx): Likewise.
14754 (config-cflags-sse2avx): Likewise.
14755 (have-mfma4): Likewise.
14756 (config-cflags-novzeroupper): Likewise.
14757 * sysdeps/mach/configure.in (MIG): Likewise.
14758 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
14759 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
14760 LIBC_CONFIG_VAR.
14761 (config-cflags-avx): Likewise.
14762 (config-cflags-sse2avx): Likewise.
14763 (have-mfma4): Likewise.
14764 (config-cflags-novzeroupper): Likewise.
14765 * configure: Regenerated.
14766 * sysdeps/i386/configure: Likewise.
14767 * sysdeps/mach/configure: Likewise.
14768 * sysdeps/sparc/configure: Likewise.
14769 * sysdeps/x86_64/configure: Likewise.
14770
912cc4b3
RM
147712013-03-20 Roland McGrath <roland@hack.frob.com>
14772
14773 [BZ #14812]
14774 * locale/programs/localedef.c (options): Put N_ translation marker
14775 on argument names, not just descriptions.
14776
04eed2b0
MS
147772013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14778
14779 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
14780
a065ceff
OB
147812013-03-20 Ondřej Bílka <neleai@seznam.cz>
14782
9bb2a810 14783 [BZ #14176]
a065ceff
OB
14784 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
14785
a600e5ce
RM
147862013-03-19 Roland McGrath <roland@hack.frob.com>
14787
14788 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
14789 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
14790 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
14791 [!BEFORE_ABORT] (before_abort): New function.
14792 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
14793 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
14794 (writev_for_fatal): New function.
14795 (WRITEV_FOR_FATAL): New macro; call that.
14796 (backtrace_and_maps): New function.
14797 (BEFORE_ABORT): New macro; call that.
14798 (struct str_list): Type removed.
14799 (__libc_message, __libc_fatal): Functions removed.
14800 Include <sysdeps/posix/libc_fatal.c> instead.
14801
6b18bea6
JM
148022013-03-19 Joseph Myers <joseph@codesourcery.com>
14803
14804 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
14805 constants.
14806 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
14807 double constants.
14808
aaa8cb4b
AS
148092013-03-19 Andreas Schwab <schwab@suse.de>
14810
44673770
AS
14811 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
14812 * sysdeps/gnu/configure: Regenerate.
14813
aaa8cb4b
AS
14814 * configure.in: Substitute libc_cv_rtlddir.
14815 * configure: Regenerate.
14816 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
14817 * Makeconfig (rtlddir, inst_rtlddir): New variables.
14818 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
14819 * elf/Makefile (install-others, CFLAGS-interp.c)
14820 (ldso_install, common-ldd-rewrite): Likewise.
14821 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
14822 $(inst_slibdir)/$(rtld-installed-name).
14823 * scripts/rellns-sh: Add -p option.
14824 * Makerules (make-shlib-link): Use rellns-sh to get relative name
14825 for source.
14826
d3cfc668
SP
148272013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14828
14829 * manual/nptl.texi: Renamed to ...
14830 * manual/threads.texi: ... this.
14831 * manual/Makefile (chapters): Update.
14832
0e2b9cdd
RM
148332013-03-18 Roland McGrath <roland@hack.frob.com>
14834
14835 [BZ #14812]
14836 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
14837 on argument names, not just descriptions.
0e2b9cdd
RM
14838 * malloc/memusagestat.c (options): Likewise.
14839 * nss/getent.c (options): Likewise.
63270c24
RM
14840
148412013-03-18 Benno Schulenberg <bensberg@justemail.net>
14842
14843 [BZ #14812]
14844 * iconv/iconv_prog.c (options): Put N_ translation marker
14845 on argument names, not just descriptions.
14846 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 14847
b2e1393c
OB
148482013-03-18 Ondrej Bilka <neleai@seznam.cz>
14849
14850 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
14851 implementation which is faster on all x86_64 architectures.
14852 Tested on AMD, Intel Nehalem, SNB, IVB.
14853 * sysdeps/x86_64/strnlen.S: Likewise.
14854
14855 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14856 Remove all multiarch strlen and strnlen versions.
14857 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14858 Remove strlen and strnlen related parts.
14859
14860 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
14861 Inline strlen part.
14862 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
14863
14864 * sysdeps/x86_64/multiarch/strlen.S: Remove.
14865 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
14866 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
14867 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
14868 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14869 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
14870
ec4ff04d
CD
148712013-03-17 Carlos O'Donell <carlos@redhat.com>
14872
14873 * manual/memory.texi (Malloc Tunable Parameters):
14874 Sort parameters alphabetically. Add comments for missing entries.
14875
cd18e90a
DM
148762013-03-17 David S. Miller <davem@davemloft.net>
14877
14878 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14879
2a185d32
JM
148802013-03-16 Joseph Myers <joseph@codesourcery.com>
14881
d2f9799e
JM
14882 [BZ #15283]
14883 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
14884 for arguments at most half maximum finite value.
14885 * math/libm-test.inc (j0_test): Add more tests.
14886 (j1_test): Likewise.
14887 (y0_test): Likewise.
14888 (y1_test): Likewise.
14889 * sysdeps/i386/fpu/libm-test-ulps: Update.
14890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14891
2a185d32
JM
14892 [BZ #14155]
14893 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
14894 1 / x and functions P and Q for arguments above 0x1p256L.
14895 (__ieee754_y0l): Likewise.
14896 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14897 (__ieee754_y1l): Likewise.
14898 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
14899 (j1_test): Likewise.
14900 (y0_test): Likewise.
14901 (y1_test): Likewise.
14902
6cbec759
TS
149032013-03-16 Thomas Schwinge <thomas@codesourcery.com>
14904
14905 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
14906 variable.
14907
bc16e260
RM
149082013-03-15 Roland McGrath <roland@hack.frob.com>
14909
aefc9b8c
RM
14910 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
14911 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
14912 zero since it's initialized to EXEC_PAGESIZE.
14913
bc16e260
RM
14914 * sysdeps/unix/sysv/linux/ldsodefs.h
14915 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
14916 * sysdeps/generic/ldsodefs.h: ... here.
14917
a57da955
TS
149182013-03-15 Thomas Schwinge <thomas@codesourcery.com>
14919
af00a34d
TS
14920 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
14921
495ded2c
TS
14922 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
14923 math/test-snan.c.
14924 * math/test-snan.c: Renamed from
14925 sysdeps/powerpc/fpu/test-powerpc-snan.c.
14926 * math/Makefile (tests): Add test-snan.
14927 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
14928 test-powerpc-snan.
14929
777b0332
TS
14930 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
14931 SUFFIX. Initialize qNaN_var with __builtin_nan family of
14932 functions.
14933 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
14934 __builtin_nan family of functions.
14935 * math/libm-test.inc (initialize): Initialize qnan_value with
14936 __builtin_nan family of functions.
14937 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
14938 Remove variables.
14939 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
14940 Remove functions.
14941 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
14942 storage class. Initialize qNaN_var and sNaN_var with
14943 __builtin_nan and __builtin_nans families of functions,
14944 respectively.
14945
64d063b8
TS
14946 * math/libm-test.inc (acosh_test): Also test with qNaN input.
14947 (sqrt_test): Remove duplicate test with qNaN input.
14948 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
14949 (round_test, signbit_test, significand_test): Note missing +/-Inf
14950 as well as qNaN tests.
14951
67e971f1
TS
14952 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
14953 qNaN_var. Fix a few strings, too.
14954 * math/libm-test.inc (nan_value): Rename to qnan_value.
14955 * math/gen-libm-test.pl (%beautify): Adjust to that.
14956 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
14957 * math/test-misc.c (main): Likewise.
14958 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
14959 to __qnan_bytes, and __qnan_union, respectively.
14960 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
14961 Likewise.
14962 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
14963 and lqnanval, respectively.
14964 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
14965 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
14966 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
14967 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
14968
64487e12
TS
14969 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
14970 * math/test-misc.c (main) [__x86_64__]: Enable test for long
14971 doubles.
14972
e015e27b
TS
14973 * math/test-misc.c (main): Fix copy'n'pastos.
14974 * misc/tst-efgcvt.c (special): Likewise.
14975
a57da955
TS
14976 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
14977 Remove declarations.
14978
1e380345
SP
149792013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14980
14981 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
14982 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
14983 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
14984 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
14985
ef26eece
AZ
149862013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14987
14988 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
14989 macro to return vdso values correctly in IFUNC implementations.
14990 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14991 Optimization by using IFUNC.
14992
8cfdb7e0
SP
149932013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14994 Richard Henderson <rth@redhat.com>
14995 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14996
14997 * Makefile.in (bench): New target.
14998 * NEWS: Mention the benchmark framework.
14999 * Rules (bench): Likewise.
15000 (binaries-bench): Generate binaries for functions to
15001 benchmark.
15002 * benchtests/Makefile: New makefile for benchmark tests.
15003 * benchtests/bench-skeleton.c: New skeleton file for benchmark
15004 programs.
15005 * benchtests/exp-inputs: New input file for EXP function.
15006 * benchtests/pow-inputs: New input file for POW function.
15007 * scripts/bench.pl: New script to generate source files for
15008 benchmark programs.
15009
bcda9880
SP
150102013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15011
d22ca8cd
SP
15012 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15013 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15014 computations on mantissa. Use macros for rounding and
15015 division.
15016 (denorm): Likewise.
15017 (__dbl_mp): Likewise.
15018 (add_magnitudes): Likewise.
15019 (sub_magnitudes): Likewise.
15020 (__mul): Likewise.
15021 (__sqr): Likewise.
15022 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15023 powers of two in terms of TWOPOW macro.
15024 (mp_no): Make type of mantissa as MANTISSA_T.
15025 [!RADIXI]: Define RADIXI.
15026 [!TWO52]: Define TWO52.
15027 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15028
bcda9880
SP
15029 * manual/nptl.texi (cindex): Modify threads to pthreads.
15030
06d5adfb
JM
150312013-03-15 Joseph Myers <joseph@codesourcery.com>
15032
15033 * sysdeps/x86_64/preconfigure: Regenerated.
15034
41c7328e
JM
150352013-03-14 Joseph Myers <joseph@codesourcery.com>
15036
15037 [BZ #14155]
15038 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15039 0x1p28 and above.
15040 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15041 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15042 0x1p28 and above.
15043 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15044 * math/libm-test.inc (j0_test): Do not allow one spurious
15045 underflow exception.
15046 (y1_test): Likewise.
15047
e25cfa60
SP
150482013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15049
0409959c
SP
15050 * manual/Makefile (chapters): Add nptl.
15051 * manual/debug.texi (Debugging Support): Add link to Threads
15052 chapter.
15053 * manual/nptl.texi: New file.
15054
e25cfa60
SP
15055 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15056
58a1335e
PB
150572013-03-14 Petr Baudis <pasky@ucw.cz>
15058
15059 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15060 for non-NULL pointer before the memory validity test. Pointed
15061 out by Holger Brunck <holger.brunck@keymile.com>.
15062
9dc7c64f
AS
150632013-03-13 Andreas Schwab <schwab@suse.de>
15064
15065 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15066 instead of .os.
15067
54206aa6
JM
150682013-03-13 Joseph Myers <joseph@codesourcery.com>
15069
15070 * timezone/zic.c: Update from tzcode 2013b.
15071
e98cdb38
CD
150722013-03-12 Carlos O'Donell <carlos@redhat.com>
15073
15074 * manual/install.texi (Configuring and compiling):
15075 Mention i686 and i586.
15076 * INSTALL: Regenerate.
15077
9967e003
RM
150782013-03-12 Roland McGrath <roland@hack.frob.com>
15079
15080 * sysdeps/init_array/elf-init.c: New file.
15081 * csu/elf-init.c
15082 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15083 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15084
15085 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15086 __gmon_start__ as global, but as static with a .preinit_array pointer.
15087 * sysdeps/init_array/gmon-start.c: New file. Use that.
15088 * sysdeps/init_array/crti.S: New file, empty except for comments.
15089 * sysdeps/init_array/crtn.S: Likewise.
15090
e6b5a293 150912013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
15092
15093 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15094 definining bcopy.
80f844c9
OB
15095 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15096 Remove Prefer_SSE_for_memop.
15097 * sysdeps/x86_64/multiarch/init-arch.h: Remove
15098 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15099 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
15100 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15101 memset-x86-64.
80f844c9 15102 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 15103 Remove bzero, memset ifunc support.
80f844c9
OB
15104 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15105 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15106 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15107 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15108
fb6b0fcb
AS
151092013-03-11 Andreas Schwab <schwab@suse.de>
15110
15111 [BZ #15234]
15112 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15113 by SHLIB_COMPAT.
15114 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15115 (GLIBC_2.16): Remove pthread_atfork.
15116
3e6bd4b1
PP
151172013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15118
15119 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15120 (ptestcases.h): Likewise.
15121
222d7f00
RM
151222013-03-08 Roland McGrath <roland@hack.frob.com>
15123
15124 * Makeconfig ($(common-objpfx)config.status): Depend on
15125 sysdeps/*/preconfigure{,.in} too.
15126
1ba4f030
JM
151272013-03-08 Joseph Myers <joseph@codesourcery.com>
15128
a222d91a
JM
15129 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15130 (__free_hook): Use void * instead of __malloc_ptr_t.
15131 (__malloc_hook): Likewise.
15132 (__realloc_hook): Likewise.
15133 (__memalign_hook): Likewise.
15134 (__after_morecore_hook): Likewise.
15135 * malloc/arena.c (save_malloc_hook): Likewise.
15136 (save_free_hook): Likewise.
15137 * malloc/hooks.c (malloc_hook_ini): Likewise.
15138 (realloc_hook_ini): Likewise.
15139 (memalign_hook_ini): Likewise.
15140 * malloc/malloc.c (malloc_hook_ini): Likewise.
15141 (realloc_hook_ini): Likewise.
15142 (memalign_hook_ini): Likewise.
15143 (__free_hook): Likewise.
15144 (__malloc_hook): Likewise.
15145 (__realloc_hook): Likewise.
15146 (__memalign_hook): Likewise.
15147 (__libc_malloc): Likewise.
15148 (__libc_free): Likewise.
15149 (__libc_realloc): Likewise.
15150 (__libc_memalign): Likewise.
15151 (__libc_valloc): Likewise.
15152 (__libc_pvalloc): Likewise.
15153 (__libc_calloc): Likewise.
15154 (__posix_memalign): Likewise.
15155 * malloc/morecore.c (__sbrk): Likewise.
15156 (__default_morecore): Likewise.
15157
5cc45e10
JM
15158 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15159
dd54b864
JM
15160 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15161 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15162 __malloc_ptrdiff_t.
15163
1ba4f030
JM
15164 * malloc/malloc.h (__malloc_size_t): Remove macro.
15165 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15166 __malloc_size_t.
15167 (old_memalign_hook): Likewise.
15168 (old_realloc_hook): Likewise.
15169 (struct hdr): Likewise.
15170 (flood): Likewise.
15171 (mallochook): Likewise.
15172 (memalignhook): Likewise.
15173 (reallochook): Likewise.
15174 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15175 (tr_old_realloc_hook): Likewise.
15176 (tr_old_memalign_hook): Likewise.
15177 (tr_mallochook): Likewise.
15178 (tr_reallochook): Likewise.
15179 (tr_memalignhook): Likewise.
15180
edf66e57
AZ
151812013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15182
15183 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15184 default_ldbl_pack and using as default implementation.
15185 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15186 implementation.
15187 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15188 redundant definition.
15189 (ldbl_insert_mantissa): Likewise.
15190 (ldbl_canonicalize): Likewise.
15191 (ldbl_nearbyint): Likewise.
15192 (ldbl_pack): Rename to ldbl_pack_ppc.
15193 (ldbl_unpack): Rename to ldbl_unpack_ppc.
15194 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15195 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15196
6d9145d8
SP
151972013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15198
15199 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15200 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15201 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15202 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15203 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15204 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15205 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15206 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15207
4dd4e157
AJ
152082013-03-07 Andreas Jaeger <aj@suse.de>
15209
15210 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15211 bits/mman-linux.h.
15212
adbb8027
SP
152132013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15214
ce544b5b
SP
15215 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15216 Include mpa.h and declare __MPEXP.
15217 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15218 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15219 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15220 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15221 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15222 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15223 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15224
4cc149fd
SP
15225 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15226 (__slowpow): Use long double EXPL and LOGL functions to
15227 compute POW.
15228 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15229 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15230 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15231 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15232 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15233 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15234
e6ebd4a7
SP
15235 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15236 intermediate variable to calculate exponent.
15237 (__sqr): Likewise.
15238 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15239 Likewise.
15240 (__sqr): Likewise.
15241
82a9811d
SP
15242 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15243 [!NO__SQR]: Define __sqr.
15244 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15245 and NO__SQR. Remove all code except __mul and __sqr. Include
15246 sysdeps/ieee754/dbl-64/mpa.c.
15247 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15248
adbb8027
SP
15249 [BZ #12723]
15250 * posix/Makefile (tests): Add tst-pathconf.
15251 * posix/tst-pathconf.c: New test case.
15252 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15253 _PC_PIPE_BUF.
15254 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15255
39120df9
PF
152562013-03-06 Patsy Franklin <pfrankli@redhat.com>
15257
15258 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15259
67525cb8
AJ
152602013-03-06 Andreas Jaeger <aj@suse.de>
15261
664a9ce4
AJ
15262 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15263 definition via __MAP_ANONYMOUS.
15264
8e39047d
AJ
15265 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15266 it's not part of Linux headers.
15267
67525cb8
AJ
15268 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15269 (MAP_HUGE_MASK): Define.
15270
15271 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15272 Define.
15273 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15274 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15275 Define.
15276 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15277 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15278 Define.
15279 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15280 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15281 Define.
15282 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15283
15284 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15285 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15286 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15287 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15288 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15289 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15290
15291 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15292 Handle f2fs.
15293
15294 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15295 Handle f2fs and efivarfs.
15296
15297 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15298 f2fs.
15299
15300 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15301 (EFIVARFS_MAGIC): Add.
15302 (F2FS_LINK_MAX): Add.
15303
e1b42695
PP
153042013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15305
15306 * stdio-common/vfprintf.c: Replace __builtin_expect with
15307 __glibc_unlikely.
15308
2d67d91a
JM
153092013-03-06 Joseph Myers <joseph@codesourcery.com>
15310
15311 [BZ #13550]
15312 * sysdeps/generic/bp-sym.h: Remove file.
15313 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
15314 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
15315 <bp-sym.h> and <bp-asm.h>.
15316 (__longjmp): Don't use BP_SYM.
15317 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
15318 and <bp-asm.h>.
15319 (memcpy): Don't use BP_SYM.
15320 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
15321 <bp-sym.h> and <bp-asm.h>.
15322 (memcpy): Don't use BP_SYM.
15323 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
15324 <bp-asm.h>.
15325 (memcpy): Don't use BP_SYM.
15326 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
15327 <bp-asm.h>.
15328 (memset): Don't use BP_SYM.
15329 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15330 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15331 (__bzero): Don't use BP_SYM.
15332 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15333 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15334 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
15335 <bp-sym.h> and <bp-asm.h>.
15336 (memcmp): Don't use BP_SYM. Remove comment about bounded
15337 pointers.
15338 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
15339 <bp-sym.h> and <bp-asm.h>.
15340 (memcpy): Don't use BP_SYM.
15341 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
15342 <bp-sym.h> and <bp-asm.h>.
15343 (memset): Don't use BP_SYM.
15344 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15345 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15346 (__bzero): Don't use BP_SYM.
15347 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15348 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15349 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
15350 <bp-sym.h> and <bp-asm.h>.
15351 (strncmp): Don't use BP_SYM. Remove comment about bounded
15352 pointers.
15353 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
15354 <bp-sym.h> and <bp-asm.h>.
15355 (memcpy): Don't use BP_SYM.
15356 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
15357 <bp-sym.h> and <bp-asm.h>.
15358 (memset): Don't use BP_SYM.
15359 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15360 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15361 (__bzero): Don't use BP_SYM.
15362 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15363 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15364 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
15365 <bp-sym.h> and <bp-asm.h>.
15366 (__memchr): Don't use BP_SYM.
15367 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
15368 <bp-sym.h> and <bp-asm.h>.
15369 (memcmp): Don't use BP_SYM. Remove comment about bounded
15370 pointers.
15371 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
15372 <bp-sym.h> and <bp-asm.h>.
15373 (memcpy): Don't use BP_SYM.
15374 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
15375 <bp-sym.h> and <bp-asm.h>.
15376 (__mempcpy): Don't use BP_SYM.
15377 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
15378 <bp-sym.h> and <bp-asm.h>.
15379 (__memrchr): Don't use BP_SYM.
15380 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
15381 <bp-sym.h> and <bp-asm.h>.
15382 (memset): Don't use BP_SYM.
15383 (__bzero): Likewise.
15384 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
15385 <bp-sym.h> and <bp-asm.h>.
15386 (__rawmemchr): Don't use BP_SYM.
15387 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
15388 <bp-sym.h> and <bp-asm.h>.
15389 (__STRCMP): Don't use BP_SYM.
15390 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
15391 <bp-sym.h> and <bp-asm.h>.
15392 (strchr): Don't use BP_SYM.
15393 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
15394 <bp-sym.h> and <bp-asm.h>.
15395 (__strchrnul): Don't use BP_SYM.
15396 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
15397 <bp-sym.h> and <bp-asm.h>.
15398 (strlen): Don't use BP_SYM.
15399 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
15400 <bp-sym.h> and <bp-asm.h>.
15401 (strncmp): Don't use BP_SYM. Remove comment about bounded
15402 pointers.
15403 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
15404 <bp-sym.h> and <bp-asm.h>.
15405 (__strnlen): Don't use BP_SYM.
15406 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
15407 <bp-sym.h> and <bp-asm.h>.
15408 (__GI__setjmp): Don't use BP_SYM.
15409 (_setjmp): Likewise.
15410 (__sigsetjmp): Likewise.
15411 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
15412 (L(start_addresses)): Don't use BP_SYM.
15413 (_start): Likewise.
15414 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
15415 <bp-asm.h>.
15416 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
15417 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
15418 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15419 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15420 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
15421 <bp-asm.h>.
15422 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
15423 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
15424 about bounded pointers.
15425 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15426 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15427 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
15428 <bp-asm.h>.
15429 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
15430 about bounded pointers. Remove GKM FIXME comments.
15431 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15432 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
15433 <bp-asm.h>.
15434 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
15435 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
15436 Remove GKM FIXME comments.
15437 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15438 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15439 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
15440 <bp-asm.h>.
15441 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
15442 about bounded pointers. Remove GKM FIXME comment.
15443 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
15444 and <bp-asm.h>.
15445 (strncmp): Don't use BP_SYM. Remove comment about bounded
15446 pointers.
15447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
15448 <bp-sym.h> and <bp-asm.h>.
15449 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
15451 <bp-sym.h> and <bp-asm.h>.
15452 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
15453 comment.
15454
cdcf361f
PP
154552013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15456
15457 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
15458 call free(NULL).
15459
3c4a2b15
DM
154602013-03-05 David S. Miller <davem@davemloft.net>
15461
15462 * po/es.po: Update from translation team.
15463
cdcf361f 154642013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
15465
15466 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
15467 <bits/mman-linux.h>.
15468 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15469 is fine.
15470 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
15471 <bits/mman-linux.h> to end of file.
15472 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15473 is fine.
15474 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
15475 <bits/mman-linux.h> to end of file.
15476 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15477 is fine.
15478 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
15479 <bits/mman-linux.h> to end of file.
15480
15481 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
15482 (MCL_CURRENT, MCL_FUTURE): Define here.
15483
5f67c04f
AK
154842013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15485
8a4473cc 15486 [BZ #15232]
5f67c04f
AK
15487 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
15488 attribute_hidden.
15489 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15490
c3e94a95
AK
154912013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15492
15493 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
15494 fourth parameter needed for rt_sigprocmask syscall.
15495 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15496 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15497 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15498 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15499 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15500 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
15501
cfb6382a
JM
155022013-03-04 Joseph Myers <joseph@codesourcery.com>
15503
15504 [BZ #13550]
15505 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
15506 comment about bounded pointers.
15507 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
15508 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
15509
539d8e01
AJ
155102013-03-04 Andreas Jaeger <aj@suse.de>
15511
15512 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
15513 common definitions.
15514
15515 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
15516 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
15517 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
15518 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15519 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
15520 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15521
2e167a70 155222013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
15523
15524 [BZ #15055]
15525 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
15526 __ieee754_sqrl instead of __sqrl.
15527
68508633
JM
155282013-03-01 Joseph Myers <joseph@codesourcery.com>
15529
15530 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
15531 * sysdeps/powerpc/fpu_control.h: ... here.
15532 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
15533 * sysdeps/powerpc/bits/fenvinline.h: ... here.
15534 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
15535 * sysdeps/powerpc/bits/mathinline.h: ... here.
15536
7775448e
RM
155372013-03-01 Roland McGrath <roland@hack.frob.com>
15538
15539 * elf/dl-hwcaps.c (_dl_important_hwcaps):
15540 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
15541 to just [NEED_DL_SYSINFO_DSO].
15542 * elf/dl-support.c: Likewise.
15543 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
15544 * elf/rtld.c (dl_main): Likewise.
15545 * elf/setup-vdso.h (setup_vdso): Likewise.
15546 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
15547 * sysdeps/unix/sysv/linux/dl-sysdep.c
15548 (_dl_discover_osversion): Likewise.
15549
4e9b5995
CD
155502013-03-01 Carlos O'Donell <carlos@redhat.com>
15551
15552 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
15553 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15554
e23872c8
SP
155552013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
15556
e5c74c63
SP
15557 * NEWS: Mention libm performance improvements and non-x86 PI
15558 futex support.
15559
e23872c8
SP
15560 * csu/libc-start.c (__pthread_initialize_minimal): Change
15561 function arguments.
15562 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15563
b5510883
JM
155642013-02-28 Joseph Myers <joseph@codesourcery.com>
15565
15566 [BZ #13550]
15567 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
15568 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
15569 <bp-sym.h> and <bp-asm.h>.
15570 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15571 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
15572 and <bp-asm.h>.
15573 (memcpy): Don't use BP_SYM.
15574 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
15575 <bp-asm.h>.
15576 (__mpn_add_n): Don't use BP_SYM.
15577 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
15578 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
15579 and <bp-asm.h>.
15580 (__mpn_addmul_1): Don't use BP_SYM.
15581 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15582 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
15583 <bp-sym.h>.
15584 (_setjmp): Don't use BP_SYM.
15585 (__novmx_setjmp): Likewise.
15586 (__GI__setjmp): Likewise.
15587 (__vmx_setjmp): Likewise.
15588 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
15589 <bp-sym.h>.
15590 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
15591 (__bzero): Don't use BP_SYM.
15592 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15593 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15594 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
15595 <bp-sym.h> and <bp-asm.h>.
15596 (memcpy): Don't use BP_SYM.
15597 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
15598 <bp-sym.h> and <bp-asm.h>.
15599 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15600 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
15601 <bp-sym.h> and <bp-asm.h>.
15602 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15603 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
15604 <bp-asm.h>.
15605 (__mpn_lshift): Don't use BP_SYM.
15606 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15607 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
15608 <bp-asm.h>.
15609 (memset): Don't use BP_SYM.
15610 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15611 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15612 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
15613 <bp-asm.h>.
15614 (__mpn_mul_1): Don't use BP_SYM.
15615 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15616 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
15617 <bp-sym.h> and <bp-asm.h>.
15618 (memcmp): Don't use BP_SYM.
15619 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
15620 <bp-sym.h> and <bp-asm.h>.
15621 (memcpy): Don't use BP_SYM.
15622 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
15623 <bp-sym.h> and <bp-asm.h>.
15624 (memset): Don't use BP_SYM.
15625 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
15626 <bp-sym.h> and <bp-asm.h>.
15627 (strncmp): Don't use BP_SYM.
15628 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
15629 <bp-sym.h> and <bp-asm.h>.
15630 (memcpy): Don't use BP_SYM.
15631 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
15632 <bp-sym.h> and <bp-asm.h>.
15633 (memset): Don't use BP_SYM.
15634 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
15635 <bp-sym.h> and <bp-asm.h>.
15636 (__memchr): Don't use BP_SYM.
15637 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
15638 <bp-sym.h> and <bp-asm.h>.
15639 (memcmp): Don't use BP_SYM.
15640 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
15641 <bp-sym.h> and <bp-asm.h>.
15642 (memcpy): Don't use BP_SYM.
15643 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
15644 <bp-sym.h> and <bp-asm.h>.
15645 (__mempcpy): Don't use BP_SYM.
15646 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
15647 <bp-sym.h> and <bp-asm.h>.
15648 (__memrchr): Don't use BP_SYM.
15649 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
15650 <bp-sym.h> and <bp-asm.h>.
15651 (memset): Don't use BP_SYM.
15652 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
15653 <bp-sym.h> and <bp-asm.h>.
15654 (__rawmemchr): Don't use BP_SYM.
15655 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
15656 <bp-sym.h> and <bp-asm.h>.
15657 (__STRCMP): Don't use BP_SYM.
15658 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
15659 <bp-sym.h> and <bp-asm.h>.
15660 (strchr): Don't use BP_SYM.
15661 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
15662 <bp-sym.h> and <bp-asm.h>.
15663 (__strchrnul): Don't use BP_SYM.
15664 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
15665 <bp-sym.h> and <bp-asm.h>.
15666 (strlen): Don't use BP_SYM.
15667 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
15668 <bp-sym.h> and <bp-asm.h>.
15669 (strncmp): Don't use BP_SYM.
15670 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
15671 <bp-sym.h> and <bp-asm.h>.
15672 (__strnlen): Don't use BP_SYM.
15673 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
15674 <bp-asm.h>.
15675 (__mpn_rshift): Don't use BP_SYM.
15676 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15677 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
15678 <bp-sym.h> and <bp-asm.h>.
15679 (__sigsetjmp): Don't use BP_SYM.
15680 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
15681 (L(start_addresses)): Don't use BP_SYM.
15682 (_start): Likewise.
15683 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
15684 <bp-asm.h>.
15685 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
15686 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15687 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15688 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
15689 <bp-asm.h>.
15690 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
15691 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15692 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15693 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
15694 <bp-asm.h>.
15695 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
15696 comments.
15697 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15698 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
15699 <bp-asm.h>.
15700 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
15701 FIXME comments.
15702 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15703 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15704 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
15705 <bp-asm.h>.
15706 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
15707 comment.
15708 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
15709 and <bp-asm.h>.
15710 (strncmp): Don't use BP_SYM,
15711 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
15712 <bp-asm.h>.
15713 (__mpn_sub_n): Don't use BP_SYM.
15714 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15715 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
15716 and <bp-asm.h>.
15717 (__mpn_submul_1): Don't use BP_SYM.
15718 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
15720 <bp-sym.h> and <bp-asm.h>.
15721 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
15723 <bp-sym.h> and <bp-asm.h>.
15724 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
15725 comment.
15726
8d19fe64
SP
157272013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15728
15729 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
15730 Use ZK to minimize writes to Z.
15731 (sub_magnitudes): Simplify code a bit.
15732 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
15733 Use ZK to minimize writes to Z.
15734 (sub_magnitudes): Simplify code a bit.
15735
85bd816a
RM
157362013-02-27 Roland McGrath <roland@hack.frob.com>
15737
15738 * csu/gmon-start.c: Add special exception to license text.
15739
b5977bf2
RH
157402013-02-27 Richard Henderson <rth@redhat.com>
15741
15742 * scripts/config.guess: Update from config.git.
15743 * scripts/config.sub: Likewise.
15744
11d6e2f2
SP
157452013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15746
09c14ed2
SP
15747 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
15748
a688864e
SP
15749 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
15750
6295157a
SP
15751 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
15752
b8de2202
SP
15753 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
15754
11d6e2f2
SP
15755 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
15756
7e80ddb8
RM
157572013-02-26 Roland McGrath <roland@hack.frob.com>
15758
15759 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
15760 [$(build-shared = yes].
7e80ddb8 15761
7da6d9ed
SP
157622013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15763
45f05884
SP
15764 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
15765 (__mul): Reduce iterations for calculating mantissa.
15766
2236d359
SP
15767 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
15768 MPTWO.
15769 (__mpranred): Likewise.
15770
7da6d9ed
SP
15771 [BZ #15160]
15772 * malloc/memusagestat.c (main): Draw graphs for heap and stack
15773 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
15774
b7688c42
PE
157752013-02-26 Paul Eggert <eggert@cs.ucla.edu>
15776
15777 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
15778 Define __attribute__.
15779
53a5c423
SP
157802013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15781
15782 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
15783 unused.
15784 * posix/regex_internal.h (__attribute): Remove.
15785 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
15786 (re_string_context_at): Likewise.
15787 (bitset_not): Use __attribute__ and mark function as possibly
15788 unused.
15789 (bitset_merge): Likewise.
15790 (bitset_mask): Likewise.
15791 (re_string_char_size_at): Likewise.
15792 (re_string_wchar_at): Likewise.
15793 (re_string_elem_size_at): Likewise.
15794
60f5a8b5
SP
157952013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15796
2a983a2e
SP
15797 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
15798 code.
15799 (cc32): Likewise.
15800
e69804d1
SP
15801 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
15802 (__acr): Likewise.
15803 (__cpy): Likewise.
15804 (norm): Likewise.
15805 (denorm): Likewise.
15806 (__dbl_mp): Likewise.
15807 (add_magnitudes): Likewise.
15808 (sub_magnitudes): Likewise.
15809 (__mul): Likewise.
15810 (__inv): Likewise.
15811
2f22a1e8
SP
15812 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
15813 style.
15814
8930ddc7
SP
15815 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
15816 style.
15817
dc60cb11
SP
15818 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
15819 code.
15820
60f5a8b5
SP
15821 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
15822 up changes with default code.
15823 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
15824 Likewise.
15825
b4d1fd33
AM
158262013-02-24 Allan McRae <allan@archlinux.org>
15827
faf6f8bc
AM
15828 * manual/socket.texi (The Internet Namespace): Order menu items
15829 to match that in the file.
15830
b4d1fd33
AM
15831 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
15832 node listing of the info page menu.
15833
2366713d
JM
158342013-02-21 Joseph Myers <joseph@codesourcery.com>
15835
15836 [BZ #13550]
15837 * sysdeps/i386/bp-asm.h: Remove file.
15838 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
15839 (PARMS): Do not use macros from bp-asm.h.
15840 (S1): Likewise.
15841 (S2): Likewise.
15842 (SIZE): Likewise.
15843 (__mpn_add_n): Do not use BP_SYM
15844 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
15845 "bp-asm.h".
15846 (PARMS): Do not use macros from bp-asm.h.
15847 (S1): Likewise.
15848 (SIZE): Likewise.
15849 (__mpn_addmul_1): Do not use BP_SYM
15850 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
15851 "bp-asm.h".
15852 (PARMS): Do not use macros from bp-asm.h.
15853 (SIGMSK): Likewise.
15854 (_setjmp): Likewise. Do not use BP_SYM.
15855 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
15856 "bp-asm.h".
15857 (PARMS): Do not use macros from bp-asm.h.
15858 (SIGMSK): Likewise.
15859 (setjmp): Likewise. Do not use BP_SYM.
15860 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
15861 "bp-asm.h".
15862 (PARMS): Do not use macros from bp-asm.h.
15863 (__frexp): Do not use BP_SYM.
15864 (frexp): Likewise.
15865 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
15866 "bp-asm.h".
15867 (PARMS): Do not use macros from bp-asm.h.
15868 (__frexpf): Do not use BP_SYM.
15869 (frexpf): Likewise.
15870 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
15871 "bp-asm.h".
15872 (PARMS): Do not use macros from bp-asm.h.
15873 (__frexpl): Do not use BP_SYM.
15874 (frexpl): Likewise.
15875 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
15876 "bp-asm.h".
15877 (PARMS): Do not use macros from bp-asm.h.
15878 (__remquo): Do not use BP_SYM.
15879 (remquo): Likewise.
15880 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
15881 "bp-asm.h".
15882 (PARMS): Do not use macros from bp-asm.h.
15883 (__remquof): Do not use BP_SYM.
15884 (remquof): Likewise.
15885 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
15886 "bp-asm.h".
15887 (PARMS): Do not use macros from bp-asm.h.
15888 (__remquol): Do not use BP_SYM.
15889 (remquol): Likewise.
15890 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
15891 "bp-asm.h".
15892 (PARMS): Do not use macros from bp-asm.h.
15893 (DEST): Likewise.
15894 (SRC): Likewise.
15895 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
15896 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
15897 "bp-asm.h".
15898 (PARMS): Do not use macros from bp-asm.h.
15899 (strlen): Do not use BP_SYM.
15900 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
15901 "bp-asm.h".
15902 (PARMS): Do not use macros from bp-asm.h.
15903 (S1): Likewise.
15904 (S2): Likewise.
15905 (SIZE): Likewise.
15906 (__mpn_add_n): Do not use BP_SYM.
15907 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
15908 "bp-asm.h".
15909 (PARMS): Do not use macros from bp-asm.h.
15910 (S1): Likewise.
15911 (SIZE): Likewise.
15912 (__mpn_addmul_1): Do not use BP_SYM.
15913 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
15914 weak_alias.
15915 (bzero): Likewise.
15916 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
15917 "bp-asm.h".
15918 (PARMS): Do not use macros from bp-asm.h.
15919 (S): Likewise.
15920 (SIZE): Likewise.
15921 (__mpn_lshift): Do not use BP_SYM.
15922 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
15923 "bp-asm.h".
15924 (PARMS): Do not use macros from bp-asm.h.
15925 (DEST): Likewise.
15926 (SRC): Likewise.
15927 (LEN): Likewise.
15928 (memcpy): Likewise. Do not use BP_SYM.
15929 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
15930 libc_hidden_def and weak_alias.
15931 (mempcpy): Do not use BP_SYM in weak_alias.
15932 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
15933 "bp-asm.h".
15934 (PARMS): Do not use macros from bp-asm.h.
15935 (DEST): Likewise.
15936 (LEN): Likewise.
15937 [!BZERO_P] (CHR): Likewise.
15938 (memset): Likewise. Do not use BP_SYM.
15939 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
15940 "bp-asm.h".
15941 (PARMS): Do not use macros from bp-asm.h.
15942 (S1): Likewise.
15943 (SIZE): Likewise.
15944 (__mpn_mul_1): Do not use BP_SYM.
15945 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
15946 "bp-asm.h".
15947 (PARMS): Do not use macros from bp-asm.h.
15948 (S): Likewise.
15949 (SIZE): Likewise.
15950 (__mpn_rshift): Do not use BP_SYM.
15951 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
15952 "bp-asm.h".
15953 (PARMS): Do not use macros from bp-asm.h.
15954 (STR): Likewise.
15955 (CHR): Likewise.
15956 (strchr): Likewise. Do not use BP_SYM.
15957 (index): Do not use BP_SYM in weak_alias.
15958 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
15959 "bp-asm.h".
15960 (PARMS): Do not use macros from bp-asm.h.
15961 (DEST): Likewise.
15962 (SRC): Likewise.
15963 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
15964 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
15965 "bp-asm.h".
15966 (PARMS): Do not use macros from bp-asm.h.
15967 (strlen): Do not use BP_SYM.
15968 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
15969 "bp-asm.h".
15970 (PARMS): Do not use macros from bp-asm.h.
15971 (S1): Likewise.
15972 (S2): Likewise.
15973 (SIZE): Likewise.
15974 (__mpn_sub_n): Do not use BP_SYM.
15975 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
15976 "bp-asm.h".
15977 (PARMS): Do not use macros from bp-asm.h.
15978 (S1): Likewise.
15979 (SIZE): Likewise.
15980 (__mpn_submul_1): Do not use BP_SYM.
15981 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
15982 "bp-asm.h".
15983 (PARMS): Do not use macros from bp-asm.h.
15984 (S1): Likewise.
15985 (S2): Likewise.
15986 (SIZE): Likewise.
15987 (__mpn_add_n): Do not use BP_SYM.
15988 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
15989 weak_alias.
15990 (bzero): Likewise.
15991 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
15992 "bp-asm.h".
15993 (PARMS): Do not use macros from bp-asm.h.
15994 (BLK2): Likewise.
15995 (LEN): Likewise.
15996 (memcmp): Do not use BP_SYM.
15997 (bcmp): Do not use BP_SYM in weak_alias.
15998 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
15999 "bp-asm.h".
16000 (PARMS): Do not use macros from bp-asm.h.
16001 (DEST): Likewise.
16002 (SRC): Likewise.
16003 (LEN): Likewise.
16004 (memcpy): Likewise. Do not use BP_SYM.
16005 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16006 "bp-asm.h".
16007 (PARMS): Do not use macros from bp-asm.h.
16008 (DEST): Likewise.
16009 (SRC): Likewise.
16010 (LEN): Likewise.
16011 (memmove): Likewise. Do not use BP_SYM.
16012 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16013 "bp-asm.h".
16014 (PARMS): Do not use macros from bp-asm.h.
16015 (DEST): Likewise.
16016 (SRC): Likewise.
16017 (LEN): Likewise.
16018 (__mempcpy): Likewise. Do not use BP_SYM.
16019 (mempcpy): Do not use BP_SYM in weak_alias.
16020 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16021 "bp-asm.h".
16022 (PARMS): Do not use macros from bp-asm.h.
16023 (DEST): Likewise.
16024 (LEN): Likewise.
16025 [!BZERO_P] (CHR): Likewise.
16026 (memset): Likewise. Do not use BP_SYM.
16027 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16028 "bp-asm.h".
16029 (PARMS): Do not use macros from bp-asm.h.
16030 (STR2): Likewise.
16031 (strcmp): Do not use BP_SYM.
16032 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16033 "bp-asm.h".
16034 (PARMS): Do not use macros from bp-asm.h.
16035 (STR): Likewise.
16036 (DELIM): Likewise.
16037 [USE_AS_STRTOK_R] (SAVE): Likewise.
16038 (FUNCTION): Likewise. Do not use BP_SYM.
16039 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16040 aliases.
16041 (strtok_r): Likewise.
16042 (__GI___strtok_r): Likewise.
16043 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16044 (PARMS): Do not use macros from bp-asm.h.
16045 (S): Likewise.
16046 (SIZE): Likewise.
16047 (__mpn_lshift): Do not use BP_SYM.
16048 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16049 (PARMS): Do not use macros from bp-asm.h.
16050 (STR): Likewise.
16051 (CHR): Likewise.
16052 (__memchr): Do not use BP_SYM.
16053 (memchr): Do not use BP_SYM in weak_alias.
16054 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16055 (PARMS): Do not use macros from bp-asm.h.
16056 (BLK2): Likewise.
16057 (LEN): Likewise.
16058 (memcmp): Do not use BP_SYM.
16059 (bcmp): Do not use BP_SYM in weak_alias.
16060 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16061 (PARMS): Do not use macros from bp-asm.h.
16062 (S1): Likewise.
16063 (SIZE): Likewise.
16064 (__mpn_mul_1): Do not use BP_SYM.
16065 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16066 "bp-asm.h".
16067 (PARMS): Do not use macros from bp-asm.h.
16068 (STR): Likewise.
16069 (CHR): Likewise.
16070 (__rawmemchr): Do not use BP_SYM.
16071 (rawmemchr): Do not use BP_SYM in weak_alias.
16072 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16073 (PARMS): Do not use macros from bp-asm.h.
16074 (S): Likewise.
16075 (SIZE): Likewise.
16076 (__mpn_rshift): Do not use BP_SYM.
16077 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16078 (PARMS): Do not use macros from bp-asm.h.
16079 (SIGMSK): Likewise.
16080 (__sigsetjmp): Likewise. Do not use BP_SYM.
16081 * sysdeps/i386/start.S: Do not include "bp-sym.h".
16082 (_start): Do not use BP_SYM.
16083 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16084 (PARMS): Do not use macros from bp-asm.h.
16085 (DEST): Likewise.
16086 (SRC): Likewise.
16087 (__stpcpy): Likewise. Do not use BP_SYM.
16088 (stpcpy): Do not use BP_SYM in weak_alias.
16089 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16090 "bp-asm.h".
16091 (PARMS): Do not use macros from bp-asm.h.
16092 (DEST): Likewise.
16093 (SRC): Likewise.
16094 (LEN): Likewise.
16095 (__stpncpy): Likewise. Do not use BP_SYM.
16096 (stpncpy): Do not use BP_SYM in weak_alias.
16097 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16098 (PARMS): Do not use macros from bp-asm.h.
16099 (STR): Likewise.
16100 (CHR): Likewise.
16101 (strchr): Likewise. Do not use BP_SYM.
16102 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16103 "bp-asm.h".
16104 (PARMS): Do not use macros from bp-asm.h.
16105 (STR): Likewise.
16106 (CHR): Likewise.
16107 (__strchrnul): Likewise. Do not use BP_SYM.
16108 (strchrnul): Do not use BP_SYM in weak_alias.
16109 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16110 "bp-asm.h".
16111 (PARMS): Do not use macros from bp-asm.h.
16112 (STOP): Likewise.
16113 (strcspn): Do not use BP_SYM.
16114 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16115 "bp-asm.h".
16116 (PARMS): Do not use macros from bp-asm.h.
16117 (STR): Likewise.
16118 (STOP): Likewise.
16119 (strpbrk): Likewise. Do not use BP_SYM.
16120 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16121 "bp-asm.h".
16122 (PARMS): Do not use macros from bp-asm.h.
16123 (STR): Likewise.
16124 (CHR): Likewise.
16125 (strrchr): Likewise. Do not use BP_SYM.
16126 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16127 (PARMS): Do not use macros from bp-asm.h.
16128 (SKIP): Likewise.
16129 (strspn): Do not use BP_SYM.
16130 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16131 (PARMS): Do not use macros from bp-asm.h.
16132 (STR): Likewise.
16133 (DELIM): Likewise.
16134 (SAVE): Likewise.
16135 (FUNCTION): Likewise. Do not use BP_SYM.
16136 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16137 aliases.
16138 (strtok_r): Likewise.
16139 (__GI___strtok_r): Likewise.
16140 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16141 (PARMS): Do not use macros from bp-asm.h.
16142 (S1): Likewise.
16143 (S2): Likewise.
16144 (SIZE): Likewise.
16145 (__mpn_sub_n): Do not use BP_SYM.
16146 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16147 "bp-asm.h".
16148 (PARMS): Do not use macros from bp-asm.h.
16149 (S1): Likewise.
16150 (SIZE): Likewise.
16151 (__mpn_submul_1): Do not use BP_SYM.
16152 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16153 <bp-sym.h>.
16154 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16155 and <bp-asm.h>.
16156 (PARMS): Do not use macros from bp-asm.h.
16157 (FLAGS): Likewise.
16158 (PTID): Likewise.
16159 (TLS): Likewise.
16160 (CTID): Likewise.
16161 (__clone): Do not use BP_SYM.
16162 (clone): Do not use BP_SYM in weak_alias.
16163 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16164 and <bp-asm.h>.
16165 (PARMS): Do not use macros from bp-asm.h.
16166 (LEN): Likewise.
16167 (__mmap64): Do not use BP_SYM.
16168 (mmap64): Do not use BP_SYM in weak_alias.
16169 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16170 <bp-sym.h> and <bp-asm.h>.
16171 (PARMS): Do not use macros from bp-asm.h.
16172 (__posix_fadvise64_l64): Do not use BP_SYM.
16173 * sysdeps/unix/sysv/linux/i386/semtimedop.S
16174 (PARMS): Do not use macros from bp-asm.h.
16175 (NSOPS): Likewise.
16176 (semtimedop): Do not use BP_SYM.
16177 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16178 and <bp-asm.h>.
16179
582a3cff
AM
161802013-02-21 Allan McRae <allan@archlinux.org>
16181
16182 * manual/message.texi (Charset conversion in gettext):
16183 Move @end statement to beginning of line.
16184
bab8a695
SP
161852013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16186
80945231
SP
16187 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16188 static.
16189 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16190 Likewise.
16191
bab8a695
SP
16192 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16193 (denorm): Likewise.
16194 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16195 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16196
e21d7aa7
AK
161972013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16198
16199 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16200 tail-call to the resolved function if pltexit isn't needed.
16201
4c7a4263
SP
162022013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16203
16204 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16205 or Y being zero as being unlikely.
16206 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16207 Likewise.
16208
41f49342
CD
162092013-02-20 Carlos O'Donell <carlos@redhat.com>
16210
16211 * manual/nss.texi (System Databases and Name Service Switch):
16212 Remove frobnicate @pxref.
16213
50022a93
TS
162142013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16215
16216 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16217 __attribute__ ((unused)) to __attribute__ ((__unused__)).
16218
08cbd996
PM
162192013-02-20 Petr Machata <pmachata@redhat.com>
16220
16221 * elf/elf.h (R_ARM_TARGET1): New macro.
16222 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16223 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16224 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16225 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16226 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16227 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16228 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16229 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16230 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16231 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16232 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16233 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16234 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16235 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16236 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16237 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16238 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16239 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16240 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16241 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16242 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16243 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16244 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16245 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16246 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16247 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16248 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16249 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16250 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16251 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16252 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16253 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16254 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16255 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16256 (R_ARM_THM_GOT_BREL12): Likewise.
16257 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16258 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16259 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16260 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16261 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16262 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16263 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16264 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16265 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16266
c7b275d6
TS
162672013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16268
16269 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16270 __attribute_used__ to __attribute__ ((unused)).
16271
20cd7fb3
SP
162722013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16273
16274 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16275 powerpc mpa.c.
16276 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16277 comment formatting.
16278 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16279
92945b52
JM
162802013-02-19 Joseph Myers <joseph@codesourcery.com>
16281
16282 [BZ #13550]
16283 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16284 Remove macro.
16285 (ENTER): Remove both macro definitions.
16286 (LEAVE): Likewise.
16287 (CHECK_BOUNDS_LOW): Likewise.
16288 (CHECK_BOUNDS_HIGH): Likewise.
16289 (CHECK_BOUNDS_BOTH): Likewise.
16290 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16291 (RETURN_BOUNDED_POINTER): Likewise.
16292 (RETURN_NULL_BOUNDED_POINTER): Likewise.
16293 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16294 (POP_ERRNO_LOCATION_RETURN): Likewise.
16295 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16296 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16297 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16298 macros.
16299 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16300 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16301 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16302 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16303 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16304 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16305 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16306 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16307 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16308 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16309 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16310 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16311 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16312 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16313 removed macros.
16314 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16315 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
16316 macros.
16317 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16318 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
16319 * sysdeps/i386/i586/memset.S (memset): Likewise.
16320 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
16321 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16322 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
16323 macros.
16324 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16325 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
16326 Change uses of L(2) to L(out).
16327 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
16328 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
16329 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
16330 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16331 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
16332 removed macros.
16333 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16334 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
16335 macros.
16336 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16337 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
16338 (RETURN): Do not use macro LEAVE.
16339 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
16340 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
16341 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
16342 * sysdeps/i386/i686/memset.S (memset): Likewise.
16343 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
16344 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
16345 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16346 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
16347 Likewise.
16348 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16349 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
16350 L(1_2) and L(1_3) into L(1).
16351 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16352 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
16353 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16354 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
16355 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16356 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
16357 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
16358 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16359 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
16360 macros.
16361 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
16362 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16363 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
16364 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
16365 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
16366 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16367 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
16368 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
16369 * sysdeps/i386/strcspn.S (strcspn): Likewise.
16370 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
16371 * sysdeps/i386/strrchr.S (strrchr): Likewise.
16372 * sysdeps/i386/strspn.S (strspn): Likewise.
16373 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
16374 conditional code.
16375 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16376 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
16377 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16378 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
16379 L(1_3) into L(1_1).
16380 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
16381 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16382 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
16383 macros.
16384 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16385
2389741a
JJ
163862013-02-19 Jakub Jelinek <jakub@redhat.com>
16387
16388 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
16389 macro.
16390
2016b3cd
SP
163912013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16392
e4f22324
SP
16393 * math/atest-exp.c (exp_mpn): Remove ROUND.
16394 * math/atest-exp2.c (exp_mpn): Likewise.
16395 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
16396
2016b3cd
SP
16397 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
16398 * stdlib/tst-tls-atexit-lib.c: Likewise.
16399 * stdlib/tst-tls-atexit.c: Likewise.
16400
4be9b544
MF
164012013-02-18 Mike Frysinger <vapier@gentoo.org>
16402
16403 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
16404 and __attribute_alloc_size__.
16405
2f62b9ee
MF
164062013-02-18 Mike Frysinger <vapier@gentoo.org>
16407
16408 * include/programs/xmalloc.h: Change __attribute_alloc_size to
16409 __attribute_alloc_size__.
16410 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
16411 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
16412
6ff444c4
MF
164132013-02-18 Mike Frysinger <vapier@gentoo.org>
16414
16415 * include/programs/xmalloc.h: New file.
16416 * catgets/gencat.c: Include it.
16417 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
16418 * elf/pldd.c: Likewise.
16419 * iconv/iconv_charmap.c: Likewise.
16420 * iconv/iconvconfig.c: Likewise.
16421 * iconv/strtab.c: Likewise.
16422 * locale/programs/locale.c: Likewise.
16423 * locale/programs/localedef.h: Likewise.
16424 * locale/programs/simple-hash.c: Likewise.
16425 * nscd/nscd.h: Likewise.
16426 * nss/makedb.c: Likewise.
16427 * sysdeps/generic/ldconfig.h: Likewise.
16428
be179c8a
SP
164292013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16430
ba384f6e
SP
16431 * Versions.def: Add GLIBC_2.18.
16432 * include/link.h (struct link_map): New member l_tls_dtor_count.
16433 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
16434 (__call_tls_dtors): Likewise.
16435 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
16436 __cxa_thread_atexit_impl.
16437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16438 Likewise.
16439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16440 Likewise.
16441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16442 Likewise.
16443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16444 Likewise.
16445 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
16447 Likewise.
16448 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
16449 Likewise.
16450 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16452 Likewise.
16453 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
16454 (tests): Add test case tst-tls-atexit.
16455 (modules-names): Add shared library for tst-tls-atexit.
85891aca 16456 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
16457 (GLIBC_PRIVATE): Add __call_tls_dtors.
16458 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
16459 for libstdc++.
16460 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
16461 * stdlib/tst-tls-atexit.c: New test case.
16462 * stdlib/tst-tls-atexit-lib.c: New test case.
16463
ffaa74cf 16464 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 16465
be179c8a
SP
16466 * elf/Versions (ld): Add _dl_find_dso_for_object.
16467 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
16468 * elf/dl-open.c (_dl_find_dso_for_object): New function.
16469 (dl_open_worker): Use _dl_find_dso_for_object.
16470 * elf/dl-sym.c (do_sym): Likewise.
16471 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
16472
f78b5caa
AK
164732013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16474
16475 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
16476 Syntactic changes only.
16477 (_dl_runtime_profile): Do a tail-call to the resolved function.
16478
29691210
JM
164792013-02-17 Joseph Myers <joseph@codesourcery.com>
16480
16481 [BZ #13550]
16482 * sysdeps/x86_64/bp-asm.h: Remove file.
16483 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
16484 <bp-sym.h> and <bp-asm.h>.
16485 (__clone): Do not use BP_SYM.
16486 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
16487 <bp-sym.h> and <bp-asm.h>.
16488 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16489 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
16490 "bp-asm.h".
16491 (_setjmp): Do not use BP_SYM.
16492 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
16493 "bp-asm.h".
16494 (setjmp): Do not use BP_SYM.
16495 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
16496 libc_hidden_def.
16497 (mempcpy): Do not use BP_SYM in weak_alias.
16498 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
16499 "bp-asm.h".
16500 (strchr): Do not use BP_SYM.
16501 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
16502 "bp-asm.h".
16503 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
16504 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
16505 (_start): Do not use BP_SYM.
16506 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
16507 "bp-asm.h".
16508 (strcat): Do not use BP_SYM.
16509 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
16510 "bp-asm.h".
16511 (STRCMP): Do not use BP_SYM.
16512 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
16513 "bp-asm.h".
16514 (STRCPY): Do not use BP_SYM.
16515 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
16516 "bp-asm.h".
16517 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
16518 "bp-asm.h".
16519 (FUNCTION): Do not use BP_SYM.
16520 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
16521 weak_alias.
16522 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
16523
f238fd19
AJ
165242013-02-17 Andreas Jaeger <aj@suse.de>
16525
16526 * time/Versions: Sort entries.
16527 * string/Versions: Likewise.
16528 * resolv/Versions: Likewise.
16529 * posix/Versions: Likewise.
16530 * iconv/Versions: Likewise.
16531 * elf/Versions: Likewise.
16532 * wcsmbs/Versions: Likewise.
16533
bd07f23c 165342013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 16535
22af19f9
SP
16536 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
16537 loop termination condition.
16538
4709fe76
SP
16539 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
16540 variable to calculate EZ.
16541 (__sqr): Likewise.
2d0e0f29
SP
16542
16543 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
16544 the lower precision input.
16545
daaa7713
JM
165462013-02-15 Joseph Myers <joseph@codesourcery.com>
16547
16548 [BZ #13550]
16549 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
16550 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
16551 (run-via-rtld-prefix): Do not handle %-bp tests.
16552 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
16553 (all-object-suffixes): Remove .ob.
16554 (bppfx): Remove variable.
16555 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
16556 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
16557 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
16558 [$(build-bounded) = yes] (libtype.ob): Likewise.
16559 * Makerules (elide-routines.ob): Remove variable.
16560 (do-tests-clean): Do not handle *-bp.out.
16561 (common-mostlyclean): Do not handle *-bp and *-bp.out.
16562 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
16563 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
16564 (tests): Do not include $(tests-bp.out).
16565 (xtests): Do not include $(xtests-bp.out).
16566 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
16567 [$(build-bounded) = yes] ($(addprefix
16568 $(objpfx),$(binaries-bounded))): Remove rule.
16569 ($(objpfx)%-bp.out): Remove rule.
16570 * config.make.in (build-bounded): Remove variable.
16571 * crypt/Makefile [$(build-bounded) = yes]
16572 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
16573 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
16574 append to variable.
16575 [$(build-bounded) = yes] (install-lib): Likewise.
16576 [$(build-bounded) = yes] (generated): Likewise.
16577 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
16578 Remove rule.
16579 * intl/Makefile [$(build-bounded) = yes]
16580 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
16581 * math/Makefile [$(build-bounded) = yes]
16582 ($(tests:%=$(objpfx)%-bp): Likewise.
16583 * misc/Makefile [$(build-bounded) = yes]
16584 ($(objpfx)tst-tsearch-bp): Likewise.
16585 * nptl/Makeconfig (bounded-thread-library): Remove variable.
16586 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
16587 Remove dependency.
16588 * string/Makefile (o-objects.ob): Remove variable.
16589 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
16590 (CFLAGS-.ob): Remove variable.
16591 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
16592 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
16593 both definitions of variable.
16594 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
16595 (ASFLAGS-.ob): Remove variable.
16596
e97ed6dd
JM
165972013-02-14 Joseph Myers <joseph@codesourcery.com>
16598
2bdd4ca6
JM
16599 [BZ #13550]
16600 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
16601 Remove __BOUNDED_POINTERS__ from condition.
16602 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
16603 * string/bits/string2.h [!__NO_STRING_INLINES &&
16604 !__BOUNDED_POINTERS__]: Likewise.
16605 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
16606 Likewise.
16607 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
16608 Remove conditional code.
16609 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
16610 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
16611 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
16612 condition.
16613
e97ed6dd
JM
16614 [BZ #13550]
16615 * csu/libc-start.c: Do not include <bp-sym.h>.
16616 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
16617 * elf/dl-open.c: Do not include <bp-sym.h>.
16618 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
16619 * math/fegetenv.c: Do not include <bp-sym.h>.
16620 (fegetenv): Do not use BP_SYM in versioned symbols.
16621 * nptl/sysdeps/pthread/bits/libc-lockP.h
16622 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
16623 <bp-sym.h>.
16624 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16625 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
16626 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16627 (__pthread_mutex_destroy): Likewise.
16628 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16629 (__pthread_mutex_lock): Likewise.
16630 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16631 (__pthread_mutex_trylock): Likewise.
16632 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16633 (__pthread_mutex_unlock): Likewise.
16634 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16635 (__pthread_mutexattr_init): Likewise.
16636 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16637 (__pthread_mutexattr_destroy): Likewise.
16638 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16639 (__pthread_mutexattr_settype): Likewise.
16640 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16641 (__pthread_rwlock_init): Likewise.
16642 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16643 (__pthread_rwlock_destroy): Likewise.
16644 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16645 (__pthread_rwlock_rdlock): Likewise.
16646 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16647 (__pthread_rwlock_tryrdlock): Likewise.
16648 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16649 (__pthread_rwlock_wrlock): Likewise.
16650 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16651 (__pthread_rwlock_trywrlock): Likewise.
16652 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16653 (__pthread_rwlock_unlock): Likewise.
16654 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16655 (__pthread_key_create): Likewise.
16656 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16657 (__pthread_setspecific): Likewise.
16658 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16659 (__pthread_getspecific): Likewise.
16660 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
16661 Likewise.
16662 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16663 (_pthread_cleanup_push_defer): Likewise.
16664 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16665 (_pthread_cleanup_pop_restore): Likewise.
16666 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16667 (pthread_setcancelstate): Likewise.
16668 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
16669 <bp-sym.h>.
16670 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
16671 (memchr): Do not use BP_SYM in weak_alias.
16672 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
16673 (fegetenv): Do not use BP_SYM in versioned symbols.
16674 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
16675 (fesetenv): Do not use BP_SYM in versioned symbols.
16676 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16677 (feupdateenv): Do not use BP_SYM in versioned symbols.
16678 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16679 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16680 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
16681 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
16682 (open64): Do not use BP_SYM in weak_alias.
16683 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
16684 (fegetenv): Do not use BP_SYM in versioned symbols.
16685 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
16686 (fesetenv): Do not use BP_SYM in versioned symbols.
16687 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16688 (feupdateenv): Do not use BP_SYM in versioned symbols.
16689 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
16690 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
16691 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
16692 (feraiseexcept): Do not use BP_SYM in versioned symbols.
16693 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16694 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16695 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
16696 <bp-sym.h>.
16697 (__libc_start_main): Do not use BP_SYM.
16698
d6752ccd
SP
166992013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16700
cb57ce60
SP
16701 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
16702 redundant return line.
16703 (norm): Likewise.
16704 (denorm): Likewise.
16705 (dbl_mp): Likewise.
16706 (sub_magnitudes): Likewise.
16707 (__add): Likewise.
16708 (__sub): Likewise.
16709 (__mul): Likewise.
16710 (__inv): Likewise.
16711 (__dvd): Likewise.
16712 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
16713 (norm): Likewise.
16714 (denorm): Likewise.
16715 (dbl_mp): Likewise.
16716 (sub_magnitudes): Likewise.
16717 (__add): Likewise.
16718 (__sub): Likewise.
16719 (__mul): Likewise.
16720 (__inv): Likewise.
16721 (__dvd): Likewise.
16722
f414520d
SP
16723 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
16724 instead of __mul.
16725 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16726 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
16727 (cc32): Likewise.
16728
d6752ccd
SP
16729 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
16730 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
16731 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
16732 of __mul for squares.
16733 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
16734 function
16735 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
16736 Likewise.
16737 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
16738 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16739
70d9946a
JM
167402013-02-13 Joseph Myers <joseph@codesourcery.com>
16741
16742 [BZ #13550]
16743 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
16744 code.
16745 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
16746 prototype or function definition. Rename ubp_* variables and
16747 parameters. Remove argv definitions conditional on
16748 [__BOUNDED_POINTERS__].
16749 * debug/backtrace.c (__backtrace): Do not use __unbounded.
16750 * elf/dl-runtime.c (_dl_fixup): Likewise.
16751 * include/set-hooks.h (RUN_HOOK): Likewise.
16752 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
16753 definition.
16754 * string/strcpy.c (strcpy): Do not use __unbounded.
16755 * sysdeps/generic/frame.h (struct layout): Likewise.
16756 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
16757 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
16758 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
16759 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
16760 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
16761 (__backtrace): Likewise.
16762 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
16763 use __ptrvalue.
16764 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16765 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16766 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16767 Likewise.
16768 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
16769 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
16770 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16771 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16772 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
16773 Do not use __unbounded.
16774 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
16775 Rename __unboundedrlimits parameter to rlimits in prototype.
16776 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
16777 Do not use __unbounded.
16778 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
16779 not use __ptrvalue.
16780 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16781 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
16782 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16783 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
16784 __ptrvalue or __unbounded.
16785 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
16786 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
16787 use __unbounded.
16788 (__new_msgctl): Do not use __ptrvalue.
16789 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
16790 __unbounded.
16791 (__libc_msgrcv): Do not use __ptrvalue.
16792 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
16793 startup_info): Do not use __unbounded.
16794 (__libc_start_main): Likewise. Rename ubp_* variables and
16795 parameters. Remove argv definitions conditional on
16796 [__BOUNDED_POINTERS__].
16797 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
16798 __ptrvalue.
16799 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
16800 use __unbounded.
16801 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
16802 or __ptrvalue.
16803 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
16804 use __unbounded.
16805 (__new_shmctl): Do not use __ptrvalue.
16806 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
16807 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
16808 Likewise.
16809 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
16810 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
16811 (__libc_sigaction): Likewise.
16812 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
16813 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
16814 Likewise.
16815 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16816
cc7834d6
OB
168172013-02-13 Ondřej Bílka <neleai@seznam.cz>
16818
ffb1ec7b 16819 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
16820
16821 * string/mempcpy.c: Implement by calling memcpy.
16822
bdf02814
SP
168232013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16824
c2af38aa
SP
16825 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
16826
4e92d59e
SP
16827 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
16828 evaluation.
16829
909279a5
SP
16830 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
16831 values in the mantissa.
16832
bdf02814
SP
16833 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
16834 minimize writes to Z.
16835 (sub_magnitudes): Simplify code a bit.
16836
cd525923
RM
168372013-02-12 Roland McGrath <roland@hack.frob.com>
16838
16839 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
16840 from the message. The linker prefixes all warnings with that already.
16841
7e2f0d2d
AS
168422013-02-12 Andreas Schwab <schwab@suse.de>
16843
a445af0b
AS
16844 [BZ #15078]
16845 * posix/regexec.c (extend_buffers): Add parameter min_len.
16846 (check_matching): Pass minimum needed length.
16847 (clean_state_log_if_needed): Likewise.
16848 (get_subexp): Likewise.
16849 * posix/Makefile (tests): Add bug-regex34.
16850 (bug-regex34-ENV): Define.
16851 * posix/bug-regex34.c: New file.
16852
7e2f0d2d
AS
16853 [BZ #11561]
16854 * posix/regcomp.c (parse_bracket_exp): When looking up collating
16855 elements compare against the byte sequence of it, not its name.
16856 * posix/Makefile (tests): Add bug-regex35.
16857 (bug-regex35-ENV): Define.
16858 * posix/bug-regex35.c: New file.
16859
a175b684
TV
168602013-02-11 Tom de Vries <tom@codesourcery.com>
16861
16862 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
16863 comment.
16864 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
16865 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
16866 (CHECK_EOL): Add undef.
16867
310998fe 168682013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
16869
16870 * bits/stdlib-bsearch.h: New file.
16871 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 16872 * stdlib/stdlib.h: Likewise.
41eda41d 16873
8ded91fb
RM
168742013-02-11 Roland McGrath <roland@hack.frob.com>
16875
16876 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
16877 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
16878 declaration.
16879 * manual/search.texi (Array Search Function): Add missing const in
16880 lfind prototype.
16881 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
16882 declaration to use rlim_t.
16883 (Basic Scheduling Functions): Remove erroneous const from
16884 sched_getparam prototype. Remove erroneous * from
16885 sched_get_priority_max and sched_get_priority_min prototypes.
16886 (Resource Usage): Fix summary @comment on vtimes to refer to
16887 sys/vtimes.h rather than vtimes.h.
16888 Add missing *s in vtimes prototype.
16889 (Limits on Resources): Fix ulimit prototype to return long int.
16890 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
16891 prototypes to use long int rather than double.
16892 (BSD Random): Fix initstate and setstate to use char *, not void *.
16893 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
16894 prototype to make second argument 'struct aiocb64 *const[]'.
16895 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
16896 (Status of AIO Operations): Remove erroneous const in aio_return and
16897 aio_return64 prototypes.
16898 (Synchronizing I/O): Fix sync prototype to return void.
16899 * manual/startup.texi (Suboptions): Remove an erroneous const in
16900 getsubopt prototype.
16901 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
16902 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
16903 use size_t rather than int.
16904 (Scanning All Users): Likewise for getpwent_r.
16905 (Setting Groups): Add missing const to setgroups prototype.
16906 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
16907 * manual/socket.texi (Host Names): Fix gethostbyaddr and
16908 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
16909 'const void *' rather than 'const char *'.
16910 (Host Address Functions): Likewise for inet_ntop.
16911 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
16912 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
16913 ssize_t for return value.
16914 (Sending Data): Likewise for send, sendto, sendmsg.
16915 (Socket Option Functions): Add a missing const in setsockopt prototype.
16916 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
16917 use wchar_t for the argument.
16918 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
16919 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
16920 take no arguments.
16921 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
16922 double/float/long double for second argument.
16923 Fix return types of significand, significandf, significandl.
16924 * manual/filesys.texi (Setting Permissions): Use mode_t for second
16925 argument in fchmod prototype.
16926 (File Owner): Use uid_t and gid_t in fchown prototype.
16927 (File Times): Add const to utimes, futimes, and lutimes prototypes.
16928 (Making Special Files): Use mode_t and dev_t in mknod prototype.
16929 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
16930 use 'const struct dirent **' as argument types to CMP function pointer
16931 argument.
16932 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
16933 (File Times): Fix summary magic @comment for struct utimbuf and utime
16934 to refer to utime.h, not time.h.
16935 * manual/string.texi (Argz Functions): Add missing const in
16936 argz_extract and argz_next prototypes.
16937 (Finding Tokens in a String): Likewise for basename.
16938 (String/Array Comparison): Fix typo in wcscasecmp prototype.
16939 (Copying and Concatenation): Fix typo in wmemmove prototype.
16940 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
16941 (Signal Stack): Remove erroneous const in sigstack prototype.
16942 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
16943 prototype.
16944 (Simple Calendar Time): Likewise for stime.
16945 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
16946 prototype.
16947 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
16948 say sys/sysctl.h instead.
16949 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
16950 and vsyslog prototypes.
16951
fe77fe6d
TV
169522013-02-11 Tom de Vries <tom@codesourcery.com>
16953
16954 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
16955 Remove.
16956
3a09b620
RM
169572013-02-11 Roland McGrath <roland@hack.frob.com>
16958
16959 * misc/sys/mman.h: Fix typo in mremap comment.
16960
550a0b89
RM
169612013-02-08 Roland McGrath <roland@hack.frob.com>
16962
16963 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
16964 the '\0' terminator.
16965
a2da1673
JM
169662013-02-08 Joseph Myers <joseph@codesourcery.com>
16967
16968 [BZ #13550]
16969 * debug/segfault.c: Don't include <bp-checks.h>.
16970 * sysdeps/generic/bp-checks.h: Remove file.
16971 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
16972 (__GETDENTS): Don't use CHECK_N.
16973 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
16974 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
16975 (__getgroups): Don't use CHECK_N.
16976 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
16977 (setgroups): Don't use CHECK_N.
16978 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
16979 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
16980 (__libc_msgrcv): Don't use CHECK_N.
16981 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
16982 (__libc_msgsnd): Don't use CHECK_N.
16983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
16984 <bp-checks.h>.
16985 (__libc_pread): Don't use CHECK_N.
16986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
16987 include <bp-checks.h>.
16988 (__libc_pread64): Don't use CHECK_N.
16989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
16990 include <bp-checks.h>.
16991 (__libc_pwrite): Don't use CHECK_N.
16992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
16993 include <bp-checks.h>.
16994 (__libc_pwrite64): Don't use CHECK_N.
16995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
16996 <bp-checks.h>.
16997 (__libc_pread): Don't use CHECK_N.
16998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
16999 include <bp-checks.h>.
17000 (__libc_pread64): Don't use CHECK_N.
17001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17002 include <bp-checks.h>.
17003 (__libc_pwrite): Don't use CHECK_N.
17004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17005 include <bp-checks.h>.
17006 (__libc_pwrite64): Don't use CHECK_N.
17007 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17008 (do_pread): Don't use CHECK_N.
17009 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17010 (do_pread64): Don't use CHECK_N.
17011 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17012 (do_pwrite): Don't use CHECK_N.
17013 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17014 (do_pwrite64): Don't use CHECK_N.
17015 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17016 (__libc_readv): Don't use CHECK_N.
17017 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17018 (semop): Don't use CHECK_N.
17019 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17020 <bp-checks.h>.
17021 (semtimedop): Don't use CHECK_N.
17022 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17023 (__libc_pread): Don't use CHECK_N.
17024 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17025 <bp-checks.h>.
17026 (__libc_pread64): Don't use CHECK_N.
17027 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17028 <bp-checks.h>.
17029 (__libc_pwrite): Don't use CHECK_N.
17030 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17031 <bp-checks.h>.
17032 (__libc_pwrite64): Don't use CHECK_N.
17033 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17034 <bp-checks.h>.
17035 (__libc_msgrcv): Don't use CHECK_N.
17036 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17037 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
17038 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17039 (__libc_writev): Don't use CHECK_N.
17040
b84660a8
RM
170412013-02-08 Roland McGrath <roland@hack.frob.com>
17042
7f3e75f8
RM
17043 * string/strcpy.c: Removed unused variable.
17044
b84660a8
RM
17045 * Makeconfig (+sysdep-includes): Define with := rather than =.
17046 Use an existing include/ subdir of each sysdeps dir before it.
17047
471514d3
CD
170482013-02-08 Carlos O'Donell <carlos@redhat.com>
17049
17050 * nscd/connection.c (register_traced_file): Comment function.
17051 [HAVE_INOTIFY] (union __inev): Define.
17052 [HAVE_INOTIFY] (inotify_check_files): New function.
17053 [HAVE_INOTIFY] (clear_db_cache): Likewise.
17054 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17055 clear_db_cache.
17056 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17057
b2d3c3be
CD
170582013-02-08 Carlos O'Donell <carlos@redhat.com>
17059
17060 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17061 loaded if not already and that a failure is permanent.
17062
b39949d2
CD
170632013-02-08 Carlos O'Donell <carlos@redhat.com>
17064
ddacd1db 17065 [BZ #15006]
b39949d2
CD
17066 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17067 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17068
b2c9eff4
JM
170692013-02-08 Joseph Myers <joseph@codesourcery.com>
17070
f3aae3f3
JM
17071 [BZ #13550]
17072 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17073 (CHECK_1_NULL_OK): Likewise.
17074 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17075 (__fxstat): Do not use CHECK_1.
17076 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17077 <bp-checks.h>.
17078 (___fxstat64): Do not use CHECK_1.
17079 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17080 <bp-checks.h>.
17081 (__fxstatat): Do not use CHECK_1.
17082 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17083 <bp-checks.h>.
17084 (__fxstatat64): Do not use CHECK_1.
17085 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17086 <bp-checks.h>.
17087 (__fxstat): Do not use CHECK_1.
17088 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17089 <bp-checks.h>.
17090 (__fxstatat): Do not use CHECK_1.
17091 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17092 <bp-checks.h>.
17093 (__getresgid): Do not use CHECK_1.
17094 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17095 <bp-checks.h>.
17096 (__getresuid): Do not use CHECK_1.
17097 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17098 <bp-checks.h>.
17099 (__lxstat): Do not use CHECK_1.
17100 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17101 <bp-checks.h>.
17102 (__old_msgctl): Do not use CHECK_1.
17103 (__new_msgctl): Likewise.
17104 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17105 <bp-checks.h>.
17106 (__new_setrlimit): Do not use CHECK_1.
17107 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17108 <bp-checks.h>.
17109 (__old_shmctl): Do not use CHECK_1.
17110 (__new_shmctl): Likewise.
17111 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17112 <bp-checks.h>.
17113 (__xstat): Do not use CHECK_1.
17114 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17115 (__lxstat): Do not use CHECK_1.
17116 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17117 <bp-checks.h>.
17118 (___lxstat64): Do not use CHECK_1.
17119 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17120 (__old_msgctl): Do not use CHECK_1.
17121 (__new_msgctl): Likewise.
17122 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17123 <bp-checks.h>.
17124 (__gettimeofday): Do not use CHECK_1.
17125 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17126 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17127 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17128 <bp-checks.h>.
17129 (__gettimeofday): Do not use CHECK_1.
17130 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17131 (__old_shmctl): Do not use CHECK_1_NULL_OK.
17132 (__new_shmctl): Do not use CHECK_1.
17133 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17134 <bp-checks.h>.
17135 (do_sigtimedwait): Do not use CHECK_1.
17136 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17137 <bp-checks.h>.
17138 (do_sigwaitinfo): Do not use CHECK_1.
17139 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17140 <bp-checks.h>.
17141 (msgctl): Do not use CHECK_1.
17142 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17143 <bp-checks.h>.
17144 (shmctl): Do not use CHECK_1.
17145 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17146 (ustat): Do not use CHECK_1.
17147 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17148 <bp-checks.h>.
17149 (__fxstat): Do not use CHECK_1.
17150 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17151 <bp-checks.h>.
17152 (__fxstatat): Do not use CHECK_1.
17153 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17154 <bp-checks.h>.
17155 (__lxstat): Do not use CHECK_1.
17156 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17157 <bp-checks.h>.
17158 (__xstat): Do not use CHECK_1.
17159 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17160 (__xstat): Do not use CHECK_1.
17161 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17162 (___xstat64): Do not use CHECK_1.
17163
b2c9eff4
JM
17164 [BZ #13550]
17165 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17166 definitions.
17167 (CHECK_BOUNDS_HIGH): Likewise.
17168 * string/strcpy.c: Do not include <bp-checks.h>.
17169 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17170
f1d70dad
RM
171712013-02-07 Roland McGrath <roland@hack.frob.com>
17172
17173 * nscd/nscd-client.h (__nscd_drop_map_ref):
17174 Add __attribute__ ((unused)).
17175 * nis/nss-nisplus.h (niserr2nss): Likewise.
17176
17177 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17178 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17179
17180 * csu/libc-tls.c (init_static_tls, init_slotinfo):
17181 Remove inline keyword.
17182 * include/rounding-mode.h (round_away): Likewise.
17183 * libio/wfileops.c (adjust_wide_data): Likewise.
17184 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17185 (__m128i_strloadu_tolower): Likewise.
17186 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17187 (__m128i_strloadu_tolower): Likewise.
17188 * time/mktime.c (ydhms_diff): Likewise.
17189 * locale/elem-hash.h (elem_hash): Likewise.
17190 * locale/setlocale.c (setdata): Likewise.
17191 * posix/regex_internal.h (re_string_char_size_at): Likewise.
17192 (re_string_wchar_at): Likewise.
17193 (bitset_not, bitset_merge, bitset_mask): Likewise.
17194 [!(__GNUC__ > 3)] (inline): Remove macro.
17195 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17196 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17197 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17198 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17199 * string/memcmp.c (memcmp_bytes): Likewise.
17200 * locale/programs/locarchive.c (compute_hashval): Likewise.
17201 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17202 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17203 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17204 * nss/getent.c (print_rpc, print_protocols): Likewise.
17205 (print_passwd, print_group, print_aliases): Likewise.
17206 * nis/nss-nisplus.h (niserr2nss): Likewise.
17207 * nscd/connections.c (restart_p): Likewise.
17208 Change return type to bool.
17209
eab55bfb
RM
172102013-02-05 Roland McGrath <roland@hack.frob.com>
17211
7bd642f5
RM
17212 * Makeconfig (all-Depend-files): Add existing
17213 $(sorted-subdirs:=/Depend) files.
17214 (all-subdirs): Remove nss.
17215 * sysdeps/unix/inet/Subdirs: Add it here instead.
17216 * hesiod/Depend: New file.
17217
573c29b2
RM
17218 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17219 instead of calling alloca.
17220
b2e25af0
RM
17221 * io/lseek.c (__lseek): Rename to __libc_lseek.
17222 Define __lseek as an alias.
17223
eab55bfb
RM
17224 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17225
9a0d1941
CD
172262013-02-04 Carlos O'Donell <carlos@redhat.com>
17227
17228 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17229 else clause and remove check for non-standard endianness.
17230
b83bbec4
DM
172312013-02-04 David S. Miller <davem@davemloft.net>
17232
17233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17234
6277fdab
JM
172352013-02-04 Joseph Myers <joseph@codesourcery.com>
17236
17237 [BZ #13550]
17238 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17239 (__ubp_memchr): Remove prototype.
17240 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17241 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17242 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17243 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17244 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17245 Remove alias.
17246 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17247 (__ubp_memchr): Likewise.
17248 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17249 (__ubp_memchr): Likewise.
17250 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17251 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17252 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17253 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17254 CHECK_STRING.
17255 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17256 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17257 (__getcwd): Do not use CHECK_STRING.
17258 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17259 <bp-checks.h>.
17260 (__real_chown): Do not use CHECK_STRING.
17261 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17262 <bp-checks.h>.
17263 (fchownat): Do not use CHECK_STRING.
17264 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17265 CHECK_STRING.
17266 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17267 <bp-checks.h>.
17268 (__lchown): Do not use CHECK_STRING.
17269 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17270 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17271 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17272 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17274 include <bp-checks.h>.
17275 (truncate64): Do not use CHECK_STRING.
17276 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17277 <bp-checks.h>.
17278 (__real_chown): Do not use CHECK_STRING.
17279 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17280 <bp-checks.h>.
17281 (__lchown): Do not use CHECK_STRING.
17282 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17283 <bp-checks.h>.
17284 (__chown): Do not use CHECK_STRING.
17285 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17286 <bp-checks.h>.
17287 (truncate64): Do not use CHECK_STRING.
17288 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17289 Likewise.
17290 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17291 (__xmknod): Do not use CHECK_STRING.
17292 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17293 <bp-checks.h>.
17294 (__xmknodat): Do not use CHECK_STRING.
17295 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17296 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17297
903ae060
AS
172982013-02-04 Andreas Schwab <schwab@suse.de>
17299
17300 [BZ #14142]
17301 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17302 * include/netdb.h: Likewise for h_errno.
17303 * elf/tst-stackguard1.c: Include <tls.h>.
17304
542f9466
JK
173052013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17306
17307 * elf/link.h (struct link_map): Extend the l_addr comment.
17308 * include/link.h (struct link_map): Likewise.
17309
e782a927
JM
173102013-02-01 Joseph Myers <joseph@codesourcery.com>
17311
17312 [BZ #13550]
17313 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
17314 (BOUNDED_1): Remove macro.
17315 * debug/backtrace.c: Don't include <bp-checks.h>.
17316 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
17317 (__backtrace): Likewise.
17318 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
17319 <bp-checks.h>.
17320 (__backtrace): Don't use BOUNDED_1.
17321 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
17322 <bp-checks.h>.
17323 (__backtrace): Don't use BOUNDED_1.
17324 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
17325 (__backtrace): Don't use BOUNDED_1.
17326 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
17327 (shmat): Don't use BOUNDED_N.
17328
8cf28c5e
JM
173292013-01-31 Joseph Myers <joseph@codesourcery.com>
17330
3a7ac8a0
JM
17331 [BZ #13550]
17332 * sysdeps/generic/bp-start.h: Remove file.
17333 * csu/libc-start.c: Don't include <bp-start.h>.
17334 (LIBC_START_MAIN): Set up __environ directly instead of using
17335 INIT_ARGV_and_ENVIRON.
17336 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
17337 <bp-start.h>.
17338
f3499f95
JM
17339 [BZ #13550]
17340 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
17341 definitions.
17342 (CHECK_FCNTL): Likewise.
17343 (CHECK_N_PAGES): Likewise.
17344
32a45bea
JM
17345 [BZ #13550]
17346 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
17347 definitions.
17348 (CHECK_SIGSET_NULL_OK): Likewise.
17349 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
17350 <bp-checks.h>.
17351 (sigpending): Don't use CHECK_SIGSET.
17352 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
17353 <bp-checks.h>.
17354 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17355 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
17356 <bp-checks.h>.
17357 (do_sigsuspend): Don't use CHECK_SIGSET.
17358 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
17359 use CHECK_SIGSET.
17360 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
17361 (do_sigwait): Don't use CHECK_SIGSET.
17362 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
17363 use CHECK_SIGSET.
17364 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
17365 include <bp-checks.h>.
17366 (sigpending): Don't use CHECK_SIGSET.
17367 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
17368 include <bp-checks.h>.
17369 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17370 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
17371 <bp-checks.h>.
17372 (sigpending): Don't use CHECK_SIGSET.
17373 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
17374 <bp-checks.h>.
17375 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17376
2e8a5c8c
JM
17377 [BZ #13550]
17378 * sysdeps/generic/bp-semctl.h: Remove file.
17379 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
17380 <bp-checks.h> and <bp-semctl.h>.
17381 (__old_semctl): Don't use CHECK_SEMCTL.
17382 (__new_semctl): Likewise.
17383 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
17384 and <bp-semctl.h>.
17385 (__old_semctl): Don't use CHECK_SEMCTL.
17386 (__new_semctl): Likewise.
17387 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
17388 <bp-checks.h> and <bp-semctl.h>.
17389 (__old_semctl): Don't use CHECK_SEMCTL.
17390 (__new_semctl): Likewise.
17391 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
17392 <bp-checks.h> and <bp-semctl.h>.
17393 (semctl): Don't use CHECK_SEMCTL.
17394
c2d54929
JM
17395 [BZ #13550]
17396 * Makerules (elide-bp-thunks): Remove variable.
17397 (elide-routines.oS): Don't use $(elide-bp-thunks).
17398 (elide-routines.os): Likewise.
17399 (elide-routines.o): Likewise.
17400 (elide-routines.op): Likewise.
17401 (elide-routines.og): Likewise.
17402 (objects): Don't use $(bp-thunks).
17403 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
17404 include.
17405 (common-generated): Do not add s-proto-bp.d.
17406 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
17407 (int): Likewise.
17408 (typ): Likewise.
17409 Do not generate makefile rules for bounded-pointer thunks.
17410 * sysdeps/generic/bp-thunks.h: Remove file.
17411 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
17412 * sysdeps/unix/s-proto-bp.S: Likewise.
17413
8cf28c5e
JM
17414 [BZ #15062]
17415 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
17416 parts of result separately when argument is not close to line from
17417 -i to i and one part of argument is small.
17418 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17419 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17420 * math/libm-test.inc (cacos_test): Add more tests.
17421 (casin_test): Likewise.
17422 (casinh_test): Likewise.
17423 * sysdeps/i386/fpu/libm-test-ulps: Update.
17424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17425
c4e33b8d
DM
174262013-01-31 David S. Miller <davem@davemloft.net>
17427
17428 * po/de.po: Update from translation team.
17429
3b60b421
MK
174302013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
17431
17432 * time/tzfile.c: Include stdint.h for SIZE_MAX.
17433
bb931195
TS
174342013-01-25 Thomas Schwinge <thomas@codesourcery.com>
17435
b5a5da23
TS
17436 * configure.in (_AC_PROG_CC_C89): New definition.
17437 * configure: Regenerate.
17438
bb931195
TS
17439 * configure.in (AC_PROG_CPP): New definition.
17440 * configure: Regenerate.
17441
8c53a12c
JM
174422013-01-23 Joseph Myers <joseph@codesourcery.com>
17443
17444 * debug/tst-backtrace.h: New file.
17445 * debug/tst-backtrace2.c: Include tst-backtrace.h.
17446 (ret): Remove variable.
17447 (x): Likewise.
17448 (FAIL): Remove macro.
17449 (NO_INLINE): Likewise.
17450 (fn1): Use match function instead of strstr.
17451 * debug/tst-backtrace3.c: Include tst-backtrace.h.
17452 (ret): Remove variable.
17453 (x): Likewise.
17454 (FAIL): Remove macro.
17455 (NO_INLINE): Likewise.
17456 (fn): Use match function instead of strstr.
17457 * debug/tst-backtrace4.c: Include tst-backtrace.h.
17458 (ret): Remove variable.
17459 (x): Likewise.
17460 (FAIL): Remove macro.
17461 (NO_INLINE): Likewise.
17462 (handle_signal): Use match function instead of strstr.
17463 * debug/tst-backtrace5.c: Include tst-backtrace.h.
17464 (ret): Remove variable.
17465 (x): Likewise.
17466 (FAIL): Remove macro.
17467 (NO_INLINE): Likewise.
17468 (handle_signal): Use match function instead of strstr.
17469
4858fa2a
RM
174702013-01-23 Roland McGrath <roland@hack.frob.com>
17471
17472 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
17473
bae8e7f5
DM
174742013-01-23 David S. Miller <davem@davemloft.net>
17475
17476 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
17477 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
17478 argument of CAS if possible.
17479 * sysdeps/sparc/sparc64/bits/atomic.h
17480 (__arch_compare_and_exchange_val_32_acq): Likewise.
17481 (__arch_compare_and_exchange_val_64_acq): Likewise.
17482
9cbbc4ae
PT
174832013-01-23 Pino Toscano <toscano.pino@tiscali.it>
17484
17485 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
17486 * sysdeps/posix/ulimit.c: ... this.
92a601b8 17487 Include <limits.h>.
67b3f58c 17488 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 17489
5655a0b5
AC
174902013-01-23 Adam Conrad <adconrad@0c3.net>
17491
17492 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
17493 (LDFLAGS-tst-array5): Likewise.
17494
052aff95
JM
174952013-01-23 Joseph Myers <joseph@codesourcery.com>
17496
17497 [BZ #15036]
17498 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
17499 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
17500 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
17501 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
17502
7c1e01aa
DM
175032013-01-21 David S. Miller <davem@davemloft.net>
17504
17505 * sysdeps/sparc/backtrace.c: New file.
17506 * sysdeps/sparc/sparc32/backtrace.h: New file.
17507 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
17508 * sysdeps/sparc/sparc64/backtrace.h: New file.
17509 * sysdeps/sparc/sparc64/backtrace.c: Delete.
17510 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
17511 -funwind-tables.
17512
ab087e0a
AS
175132013-01-21 Andreas Schwab <schwab@suse.de>
17514
17515 [BZ #15020]
17516 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
17517 closed its stdout.
17518
ed689c2f
AS
175192013-01-20 Andreas Schwab <schwab@linux-m68k.org>
17520
17521 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
17522 "mpa2.h".
17523 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17524
31d470ac
JM
175252013-01-18 Joseph Myers <joseph@codesourcery.com>
17526 Mark Mitchell <mark@codesourcery.com>
17527 Tom de Vries <tom@codesourcery.com>
17528 Paul Pluzhnikov <ppluzhnikov@google.com>
17529
17530 * debug/tst-backtrace2.c: New file.
17531 * debug/tst-backtrace3.c: Likewise.
17532 * debug/tst-backtrace4.c: Likewise.
17533 * debug/tst-backtrace5.c: Likewise.
17534 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
17535 (CFLAGS-tst-backtrace3.c): Likewise.
17536 (CFLAGS-tst-backtrace4.c): Likewise.
17537 (CFLAGS-tst-backtrace5.c): Likewise.
17538 (LDFLAGS-tst-backtrace2): Likewise.
17539 (LDFLAGS-tst-backtrace3): Likewise.
17540 (LDFLAGS-tst-backtrace4): Likewise.
17541 (LDFLAGS-tst-backtrace5): Likewise.
17542 (tests): Add new tests tst-backtrace2, tst-backtrace3,
17543 tst-backtrace4 and tst-backtrace5.
17544
90567f30 175452013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
17546 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17547
17548 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
17549 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
17550 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
17551 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
17552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17553 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
17554 "+r" and remove output regs list as redundant. Add explicit inline
17555 asm to specify register of return val to work around compiler codegen
17556 bug. Remove (int) cast on return value. Add return type parameter to
17557 use in macro so that this macro does not truncate return value for
17558 64-bit values.
17559 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
17560 pass to INTERNAL_VSYSCALL_NCS.
17561 (INLINE_VSYSCALL): Add 'long int' as return type to
17562 INTERNAL_VSYSCALL_NCS macro invocation.
17563 (INTERNAL_VSYSCALL): Add 'long int' as return type to
17564 INTERNAL_VSYSCALL_NCS macro invocation.
17565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17566
d3b9ea61
SP
175672013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17568
0b57daeb
SP
17569 [BZ #14496]
17570 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
17571 Fix application of SIMD FP exception mask.
17572
caa99d06
SP
17573 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
17574 mp_no from a power of two.
17575 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
17576 __mpexp_twomm1. Use __pow_mp.
17577
d3b9ea61
SP
17578 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
17579 multiplication.
17580
1dbaee3c
DM
175812013-01-17 David S. Miller <davem@davemloft.net>
17582
17583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17584
728d7b43
JM
175852013-01-17 Joseph Myers <joseph@codesourcery.com>
17586
17587 [BZ #15023]
17588 * include/complex.h: Condition contents on [!_COMPLEX_H].
17589 (__kernel_casinhf): New prototype.
17590 (__kernel_casinh): Likewise.
17591 (__kernel_casinhl): Likewise.
17592 * math/Makefile (libm_calls): Add k_casinh.
17593 * math/k_casinh.c: New file.
17594 * math/k_casinhf.c: Likewise.
17595 * math/k_casinhl.c: Likewise.
17596 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
17597 finite nonzero arguments.
17598 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
17599 finite nonzero arguments.
17600 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
17601 finite nonzero arguments.
17602 * math/s_casinh.c: Do not include <float.h>.
17603 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
17604 * math/s_casinhf.c: Do not include <float.h>.
17605 (__casinhf): Move code for finite nonzero arguments to
17606 k_casinhf.c.
17607 * math/s_casinhl.c: Do not include <float.h>.
17608 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
17609 redefine.
17610 (__casinhl): Move code for finite nonzero arguments to
17611 k_casinhl.c.
17612 * math/libm-test.inc (cacos_test): Add more tests.
17613 * sysdeps/i386/fpu/libm-test-ulps: Update.
17614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17615
2a26ef3a
PT
176162013-01-17 Pino Toscano <toscano.pino@tiscali.it>
17617
17618 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
17619 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
17620 [!HAVE_MREMAP]: Remove [defined linux] case.
17621 * malloc/arena.c: Do not include <malloc-sysdep.h>.
17622
a897655d
SP
176232013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17624
17625 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
17626
881ebe89 176272013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
17628
17629 * elf/elf.h (R_386_SIZE32): New relocation.
17630 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
17631 R_386_SIZE32.
17632 (elf_machine_rela): Likewise.
17633 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17634 R_X86_64_SIZE64 and R_X86_64_SIZE32.
17635
59981e9b
JM
176362013-01-17 Joseph Myers <joseph@codesourcery.com>
17637
17638 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
17639 (FP_FAST_FMA): Do not define.
17640 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
17641 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
17642 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
17643 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
17644 !_SOFT_FLOAT]: Likewise.
17645 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
17646 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
17647 value.
17648 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
17649 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
17650 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
17651 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
17652 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
17653 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
17654 file.
17655
cfa8054f
AS
176562013-01-16 Andreas Schwab <schwab@suse.de>
17657
17658 [BZ #14327]
17659 * include/stdlib.h (__mktemp): Add declaration.
17660 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
17661 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
17662
dd930cc5
SP
176632013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17664
881ebe89
SP
17665 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
17666 definitions.
17667 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17668 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
17669 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
17670 definitions here.
17671 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
17672 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
17673 definitions.
17674 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
17675 and ONE.
17676 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
17677 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
17678 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
17679 definitions.
17680 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
17681 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
17682 definitions.
17683 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 17684
dd930cc5
SP
17685 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
17686
c19a9f89
DM
176872013-01-15 David S. Miller <davem@davemloft.net>
17688
1aa61767
DM
17689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17690 trunc{,f} to libm-sysdep_routes.
17691 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
17693 file.
17694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
17695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
17696 file.
17697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
17698 file.
17699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
17700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
17701 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
17702 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
17703 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
17704 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
17705 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
17706 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
17707
c42d5e98
DM
17708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17709 nearbyint{,f} to libm-sysdep_routes.
17710 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
17712 New file.
17713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
17714 file.
17715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
17716 New file.
17717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
17718 file.
17719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
17720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
17721 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
17722 file.
17723 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
17724 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
17725 file.
17726 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
17727 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
17728 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
17729
c19a9f89
DM
17730 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17731 libc_feholdexcept and libc_fesetenv.
17732
357679d2
MF
177332013-01-15 Mike Frysinger <vapier@gentoo.org>
17734
17735 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
17736
65a82e3d
DM
177372013-01-14 David S. Miller <davem@davemloft.net>
17738
8b954ab9
DM
17739 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
17740 (SPARC_ASM_VIS2_IFUNC): Likewise.
17741 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
17742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
17743 use of 'siam' instruction.
17744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
17745 Likewise.
17746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
17747 Likewise.
17748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
17749 Likewise.
17750 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
17751 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17752 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
17753 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
17754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
17755 file.
17756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
17757 file.
17758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
17759 file.
17760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
17761 file.
17762 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
17763 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
17764 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
17765 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
17766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
17767 new VIS2 routines.
17768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17771 Likewise.
17772 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17773 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17774 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17775 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
17777 routines to libm-sysdep_routines.
17778 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17779
65a82e3d
DM
17780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17781 fdim/fdimf to libm-sysdep_routines.
17782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
17783 file.
17784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
17785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
17786 file.
17787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
17788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
17789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
17790 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
17791 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
17792 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
17793 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
17794
e34ab705
SP
177952013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17796
2a91b573
SP
17797 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
17798 to optimize copies.
17799
1066a534
SP
17800 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
17801 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17802 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17803
e34ab705
SP
17804 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
17805 local variable MPTWO.
17806 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17807 Likewise.
17808
aba5e596
MF
178092013-01-13 Mike Frysinger <vapier@gentoo.org>
17810
17811 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
17812 GLOB_NOESCAPE.
17813
e557e9e5
MF
178142013-01-13 Mike Frysinger <vapier@gentoo.org>
17815
17816 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
17817
0428cec9
MF
178182013-01-13 Mike Frysinger <vapier@gentoo.org>
17819
17820 * manual/pattern.texi (glob_t): Document gl_flags.
17821 (glob64_t): Likewise.
17822
8794a964
DM
178232013-01-11 David S. Miller <davem@davemloft.net>
17824
66438c3f
RM
17825 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
17826 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
17827 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
17828 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
17829 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
17830 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
17831 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
17832 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
17833 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
17834 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
17835 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
17836 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
17837 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
17838
4ae4244d
DM
17839 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
17840 sparc V9 rather than using V8 code.
17841 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17842 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17843
8794a964
DM
17844 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17845 Move to...
17846 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
17847 Here.
17848
6270516e
RM
178492013-01-11 Roland McGrath <roland@hack.frob.com>
17850
17851 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
17852 not in the main loop.
17853 * configure: Regenerated.
17854
6a57d931
JM
178552013-01-11 Joseph Myers <joseph@codesourcery.com>
17856
17857 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
17858 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
17859 to just #else.
17860 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
17861 [!__GLIBC_HAVE_LONG_LONG] case.
17862 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
17863 condition to just #else.
17864 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
17865 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
17866 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
17867 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
17868 unconditional.
17869 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
17870 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
17871 #elif condition to just #else.
17872 * sysdeps/unix/sysv/linux/sys/sysmacros.h
17873 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
17874 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
17875 #elif condition to just #else.
17876
0e8529e9
SE
178772013-01-11 Steve Ellcey <sellcey@mips.com>
17878
17879 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
17880 (EF_MIPS_ARCH_64): Fix value.
17881 (EF_MIPS_ARCH_32R2): New.
17882 (EF_MIPS_ARCH_64R2): New.
17883
740b3dbe
L
178842013-01-11 H.J. Lu <hongjiu.lu@intel.com>
17885
17886 * Makeconfig (+link-pie-before-libc): New.
17887 (+link-pie-after-libc): Likewise.
17888 (+link-pie-tests): Likewise.
17889 (+link-pie): Rewritten.
17890 (link-before-libc): Remove $(config-LDFLAGS).
17891 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
17892 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
17893 (config-LDFLAGS): Renamed to ...
17894 (rtld-LDFLAGS): This.
17895 (rtld-tests-LDFLAGS): New macro.
17896 (link-libc-rpath-link): Likewise.
17897 (link-libc-tests-rpath-link): Likewise.
17898 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
17899 (link-libc): Prepand $(link-libc-rpath-link).
17900 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
17901 (test-program-prefix): New macro.
17902 (test-via-rtld-prefix): Likewise.
17903 (test-program-cmd): Likewise.
17904 (host-test-program-cmd): Likewise.
17905 * Makefile ($(common-objpfx)testrun.sh): Replace
17906 $(run-program-prefix) with $(test-program-prefix).
17907 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
17908 $(rtld-LDFLAGS).
17909 ($(common-objpfx)shlib.lds): Likewise.
17910 (build-module-helper): Likewise.
17911 ($(common-objpfx)format.lds): Likewise.
17912 * Rules (binaries-pie-tests): New.
17913 (binaries-pie-notests): Likewise.
17914 (binaries-pie): Rewritten.
17915 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
17916 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
17917 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
17918 (make-test-out): Replace $(host-built-program-cmd) with
17919 $(host-test-program-cmd).
17920 * config.make.in (build-hardcoded-path-in-tests): New variable.
17921 * configure.in (--enable-hardcoded-path-in-tests): New configure
17922 option.
17923 (hardcoded_path_in_tests): New AC_SUBST.
17924 * configure: Regenerated.
17925 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
17926 $(built-program-cmd) with $(test-program-cmd).
17927 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
17928 (test_program_cmd): This.
17929 * elf/Makefile ($(objpfx)order.out): Run test with
17930 $(test-program-prefix).
17931 ($(objpfx)order2.out): Likewise.
17932 ($(objpfx)tst-initorder.out): Likewise.
17933 ($(objpfx)tst-initorder2.out): Likewise.
17934 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
17935 $(test-program-cmd).
17936 ($(objpfx)tst-array1-static.out): Likewise.
17937 ($(objpfx)tst-array2.out): Likewise.
17938 ($(objpfx)tst-array3.out): Likewise.
17939 ($(objpfx)tst-array4.out): Likewise.
17940 ($(objpfx)tst-array5.out): Likewise.
17941 ($(objpfx)tst-array5-static.out): Likewise.
17942 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
17943 $(test-program-cmd).
17944 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
17945 $(run-program-prefix) with $(test-program-prefix).
17946 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
17947 (test_program_prefix): This.
17948 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
17949 $(run-program-prefix) with $(test-program-prefix).
17950 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
17951 (test_program_prefix): This.
17952 * iconvdata/tst-tables.sh: Likewise.
17953 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
17954 $(run-program-prefix) with $(test-program-prefix).
17955 ($(objpfx)tst-translit.out): Likewise.
17956 ($(objpfx)tst-gettext2.out): Likewise.
17957 ($(objpfx)tst-gettext4.out): Likewise.
17958 ($(objpfx)tst-gettext6.out): Likewise.
17959 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
17960 (test_program_prefix): This.
17961 * intl/tst-gettext2.sh: Likewise.
17962 * intl/tst-gettext4.sh Likewise.
17963 * intl/tst-gettext6.sh: Likewise.
17964 * intl/tst-translit.sh: Likewise.
17965 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
17966 with $(test-program-cmd).
17967 * libio/Makefile ($(objpfx)test-freopen.out): Replace
17968 $(run-program-prefix) with $(test-program-prefix).
17969 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
17970 (test_program_prefix): This.
17971 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
17972 $(run-program-prefix) with $(test-program-prefix).
17973 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
17974 (test_program_prefix): This.
17975 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
17976 * posix/Makefile ($(objpfx)globtest.out): Replace
17977 $(run-via-rtld-prefix) and $(test-wrapper) with
17978 $(test-program-prefix) and $(test-via-rtld-prefix).
17979 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
17980 $(test-program-prefix).
17981 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
17982 $(host-test-program-cmd).
17983 (tst-spawn-ARGS): Likewise.
17984 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
17985 $(test-program-prefix).
17986 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
17987 (test_via_rtld_prefix): This.
17988 (test_wrapper): Renamed to ...
17989 (test_program_prefix): This.
17990 (run_program_prefix): Replaced by test_program_prefix.
17991 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
17992 (test_program_prefix): This.
17993 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
17994 with $(host-test-program-cmd).
17995 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
17996 $(run-program-prefix) with $(test-program-prefix).
17997 ($(objpfx)tst-printf.out): Likewise.
17998 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
17999 $(test-program-cmd).
18000 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18001 (test_program_prefix): This.
18002 * stdio-common/tst-unbputc.sh: Likewise.
18003 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18004 $(run-program-prefix) with $(test-program-prefix).
18005 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18006 (test_program_prefix): This.
18007 * string/Makefile ($(objpfx)tst-svc.out): Replace
18008 $(built-program-cmd) with $(test-program-cmd).
18009
c6fe55cf
AJ
180102013-01-11 Andreas Jaeger <aj@suse.de>
18011
18012 [BZ #15003]
18013 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18014 value. Sync with Linux 3.7.
18015
9e6919c8
DM
180162013-01-10 David S. Miller <davem@davemloft.net>
18017
18018 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18019 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18020 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18021
1c9f1a02
RM
180222013-01-10 Roland McGrath <roland@hack.frob.com>
18023
18024 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18025 never set.
18026 * configure: Regenerated.
18027
b9de2dde
DM
180282013-01-10 David S. Miller <davem@davemloft.net>
18029
18030 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18031 sparc V9 rather than using V8 code.
18032 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18033 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18034
e7f68ef4
RM
180352013-01-10 Roland McGrath <roland@hack.frob.com>
18036
18037 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18038 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18039 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18040 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18041 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18042 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18043 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18044 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18045 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18046 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18047 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18048 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18049 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18050 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18051 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18052 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18053 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18054 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18055 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18056 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18057 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18058 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18059 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18060 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18061 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18062 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18063 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18064
5a47cc9c
DM
180652013-01-10 David S. Miller <davem@davemloft.net>
18066
18067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18068
4cf8f209
L
180692013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18070
18071 * posix/Makefile (tests-static): New variable.
18072 (tests): Add $(tests-static).
18073 (tst-exec-static-ARGS): New variable.
18074 (tst-spawn-static-ARGS): Likewise.
18075 * posix/tst-exec-static.c: New file.
18076 * posix/tst-spawn-static.c: Likewise.
18077 * posix/tst-exec.c: Support run directly.
18078 * posix/tst-spawn.c: Likewise.
18079
fed0faa1
JM
180802013-01-10 Joseph Myers <joseph@codesourcery.com>
18081
828beb13
JM
18082 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18083 long.
18084 * math/bits/mathcalls.h (llrint): Likewise.
18085 (llround): Likewise.
18086 * stdlib/stdlib.h (struct drand48_data): Likewise.
18087 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18088 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18089 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18090 Likewise.
18091 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18092 Likewise.
18093 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18094 (elf_greg_t): Likewise.
18095 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18096 (__jmp_buf): Likewise.
18097 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18098 definitions.
18099 (llrint): Likewise, for all definitions.
18100 (llrintl): Likewise.
18101
fed0faa1
JM
18102 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18103 Remove [__GNUC__] condition.
18104 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18105 condition to just [__USE_ISOC99].
18106 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18107
1a20cb20
L
181082013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18109
18110 [BZ #14200]
18111 * sysdeps/unix/sysv/linux/x86/bits/environments.h
18112 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18113 defined.
18114 (_POSIX_V6_ILP32_OFF32): Likewise.
18115 (_XBS5_ILP32_OFF32): Likewise.
18116 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18117 (__ILP32_OFFBIG_LDFLAGS): Likewise.
18118
751b85f7
SP
181192013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18120
7490eb81
SP
18121 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18122
751b85f7
SP
18123 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18124 doubles __mpexp_twomm1. Adjust usage.
18125 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18126 Remove.
18127
988197f0
AS
181282013-01-10 Andreas Schwab <schwab@suse.de>
18129
18130 [BZ #14964]
18131 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18132 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18133
e83d7298
DM
181342013-01-09 David S. Miller <davem@davemloft.net>
18135
034ed64b 18136 [BZ #15003]
e83d7298
DM
18137 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18138 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18139 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18140 TCP_FASTOPEN): Define.
18141 (tcp_repair_opt): New structure.
18142 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18143 enum values.
18144 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18145 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18146 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18147 (tcp_cookie_transactions): New structure.
18148
d5e0b9bd
AB
181492013-01-09 Anton Blanchard <anton@samba.org>
18150
18151 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18152 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18153 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18154 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18155
0c07e3ea
JM
181562013-01-09 Joseph Myers <joseph@codesourcery.com>
18157
18158 * include/features.h (__USE_ANSI): Remove.
18159
232f7002
RM
181602013-01-09 Roland McGrath <roland@hack.frob.com>
18161
ad98e30c
RM
18162 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18163
232f7002
RM
18164 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18165
950c99ca
SP
181662013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
18167
b5792741
SP
18168 * sysdeps/s390/fpu/libm-test-ulps: Update.
18169
47cf2278
SP
18170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18171
950c99ca
SP
18172 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18173 (__acr): Likewise.
18174 (__cpy): Likewise.
18175 (norm): Likewise.
18176 (denorm): Likewise.
18177 (__mp_dbl): Likewise.
18178 (__dbl_mp): Likewise.
18179 (add_magnitudes): Likewise.
18180 (sub_magnitudes): Likewise.
18181 (__add): Likewise.
18182 (__sub): Likewise.
18183 (__mul): Likewise.
18184 (__inv): Likewise.
18185 (__dvd): Likewise.
18186 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18187 (__acr): Likewise.
18188 (__cpy): Likewise.
18189 (norm): Likewise.
18190 (denorm): Likewise.
18191 (__mp_dbl): Likewise.
18192 (__dbl_mp): Likewise.
18193 (add_magnitudes): Likewise.
18194 (sub_magnitudes): Likewise.
18195 (__add): Likewise.
18196 (__sub): Likewise.
18197 (__mul): Likewise.
18198 (__inv): Likewise.
18199 (__dvd): Likewise.
18200 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18201 (__acr): Likewise.
18202 (__cpy): Likewise.
18203 (norm): Likewise.
18204 (denorm): Likewise.
18205 (__mp_dbl): Likewise.
18206 (__dbl_mp): Likewise.
18207 (add_magnitudes): Likewise.
18208 (sub_magnitudes): Likewise.
18209 (__add): Likewise.
18210 (__sub): Likewise.
18211 (__mul): Likewise.
18212 (__inv): Likewise.
18213 (__dvd): Likewise.
18214
eede9df9
JM
182152013-01-08 Joseph Myers <joseph@codesourcery.com>
18216
18217 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18218 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18219 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18220 2 && __USE_EXTERN_INLINES]: Likewise.
18221
c40ea3d9
AJ
182222013-01-08 Andreas Jaeger <aj@suse.de>
18223
18224 [BZ# 14985]
18225 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18226 Remove.
18227 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18228 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18229
2ccdea26
AB
182302013-01-07 Anton Blanchard <anton@samba.org>
18231
18232 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18233 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18234 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18235 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18236 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18237 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18238 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18239 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18240 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18241 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18242 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18243 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18244 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18245 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18246 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18247 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18248 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18249 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18250 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18251 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18252 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18253 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18254 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18255 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18256 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18257 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18258 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18259 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18260 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18261 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18262 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18263 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18264 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18265 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18266 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18267 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18268 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18269 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18270 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18271 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18272 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18273 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18274 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18275
a9708fed
JM
182762013-01-07 Joseph Myers <joseph@codesourcery.com>
18277
375607b9
JM
18278 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18279 (__MALLOC_PMT): Likewise.
18280 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18281 [__GNUC__], only on [_LIBC].
18282 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18283 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18284 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18285 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18286 forward declaration.
18287 (realloc_hook_ini): Likewise.
18288 (memalign_hook_ini): Likewise.
18289 (__libc_memalign): Do not use __MALLOC_PMT in variable
18290 declaration.
18291 (__libc_valloc): Likewise.
18292 (__libc_pvalloc): Likewise.
18293 (__libc_calloc): Likewise.
18294 (__posix_memalign): Likewise.
18295
a9708fed
JM
18296 [BZ #14996]
18297 * math/s_casinh.c: Include <float.h>.
18298 (__casinh): Do not do computation with squaring and square root
18299 for large arguments.
18300 * math/s_casinhf.c: Include <float.h>.
18301 (__casinhf): Do not do computation with squaring and square root
18302 for large arguments.
18303 * math/s_casinhl.c: Include <float.h>.
18304 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18305 (__casinhl): Do not do computation with squaring and square root
18306 for large arguments.
18307 * math/libm-test.inc (casin_test): Add more tests.
18308 (casinh_test): Likewise.
18309 * sysdeps/i386/fpu/libm-test-ulps: Update.
18310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18311
afec409a
L
183122013-01-04 H.J. Lu <hongjiu.lu@intel.com>
18313
18314 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
18315 (__x86_64_raw_data_cache_size): Likewise.
18316 (__x86_64_data_cache_size_half): Likewise.
18317 (__x86_64_raw_data_cache_size_half): Likewise.
18318 (__x86_64_shared_cache_size): Likewise.
18319 (__x86_64_raw_shared_cache_size): Likewise.
18320 (__x86_64_shared_cache_size_half): Likewise.
18321 (__x86_64_raw_shared_cache_size_half): Likewise.
18322 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
18323 to ...
18324 (__x86_data_cache_size): This.
18325 (__x86_64_raw_data_cache_size): Renamed to ...
18326 (__x86_raw_data_cache_size): This.
18327 (__x86_64_data_cache_size_half): Renamed to ...
18328 (__x86_data_cache_size_half): This.
18329 (__x86_64_raw_data_cache_size_half): Renamed to ...
18330 (__x86_raw_data_cache_size_half): This.
18331 (__x86_64_shared_cache_size): Renamed to ...
18332 (__x86_shared_cache_size): This.
18333 (__x86_64_raw_shared_cache_size): Renamed to ...
18334 (__x86_raw_shared_cache_size): This.
18335 (__x86_64_shared_cache_size_half): Renamed to ...
18336 (__x86_shared_cache_size_half): This.
18337 (__x86_64_raw_shared_cache_size_half): Renamed to ...
18338 (__x86_raw_shared_cache_size_half): This.
18339 * sysdeps/x86_64/memcpy.S: Updated.
18340 * sysdeps/x86_64/memset.S: Likewise.
18341 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18342 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18343 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18344
0b3986d0
DM
183452013-01-04 David S. Miller <davem@davemloft.net>
18346
18347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18348
e47686e9
AS
183492013-01-04 Andreas Schwab <schwab@linux-m68k.org>
18350
d643bac1
AS
18351 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
18352 1 to avoid redefinition warning.
18353 (__USE_GNU): Don't define.
18354 (init_signaling_nan): Protoize.
18355
e47686e9
AS
18356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18357
b18decba
SP
183582013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18359
fffb407f
SP
18360 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
18361 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
18362 (__cpymn): Likewise.
18363 (norm): Remove commented code.
18364 (denorm): Likewise.
18365 (__mp_dbl): Likewise.
18366 (__inv): Likewise.
18367 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
18368 (__cpymn): Likewise.
18369 (norm): Remove commented code.
18370 (denorm): Likewise.
18371 (__mp_dbl): Likewise.
18372 (__inv): Likewise.
18373
b18decba
SP
18374 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
18375 mp_no value for 1.0 and 2.0.
18376 (norm): Use RADIXI instead of radixi.d.
18377 (denorm): Likewise.
18378 (__mul): Use 0.0 instead of zero.d.
18379 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
18380 mp_no value for 1.0 and 2.0.
18381 (norm): Use RADIXI instead of radixi.d.
18382 (denorm): Likewise.
18383 (__mul): Use 0.0 instead of zero.d.
18384
cdc1c96f
JM
183852013-01-04 Joseph Myers <joseph@codesourcery.com>
18386
18387 [BZ #14994]
18388 * math/s_casinh.c (__casinh): Reduce finite argument to first
18389 quadrant then set signs of results at the end.
18390 * math/s_casinhf.c (__casinhf): Likewise.
18391 * math/s_casinhl.c (__casinhl): Likewise.
18392 * math/libm-test.inc (casin_test): Add more tests.
18393 (casinh_test): Likewise.
18394 * sysdeps/i386/fpu/libm-test-ulps: Update.
18395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18396
302913e1
SP
183972013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18398
6420d207
SP
18399 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
18400
a9e48ab4
SP
18401 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
18402
b7837264
SP
18403 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
18404 declarations.
18405 (denorm): Likewise.
18406 (__mp_dbl): Likewise.
18407 (__inv): Likewise.
18408
f8af25d2
SP
18409 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
18410 and adjust the header comment.
18411
302913e1
SP
18412 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
18413 variable name from declaration.
18414
5d7dd1ca
L
184152013-01-03 H.J. Lu <hongjiu.lu@intel.com>
18416
18417 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18418 Initialize COMMON_CPUID_INDEX_7 element.
18419 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
18420 (CPUID_RTM): Likewise.
18421 (HAS_RTM): Likewise.
18422 (COMMON_CPUID_INDEX_7): New enum.
18423
2f5f40f4
AS
184242013-01-03 Andreas Schwab <schwab@linux-m68k.org>
18425
18426 [BZ #14981]
18427 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
18428 size is zero, record memory as freed.
18429
4056f4a0
AJ
184302013-01-03 Andreas Jaeger <aj@suse.de>
18431
18432 * po/ia.po: Add new Interlingua translation.
18433
ab15736f 184342012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
18435
18436 * locale/programs/localedef.c: Fix description of '--posix' flag.
18437
568035b7
JM
184382013-01-02 Joseph Myers <joseph@codesourcery.com>
18439
e6898b8d
JM
18440 * NEWS: Update dates in second copyright notice.
18441 * README: Update copyright dates in example.
18442 * manual/libc.texinfo: Update copyright dates.
18443 * scripts/test-installation.pl: Update copyright date in --version
18444 output.
18445
0e2f9562
JM
18446 * hurd/ctty-input.c: Fix copyright notice formatting.
18447 * hurd/ctty-output.c: Likewise.
18448 * hurd/dtable.c: Likewise.
18449 * hurd/hurd-raise.c: Likewise.
18450 * hurd/hurdprio.c: Likewise.
18451 * hurd/msgportdemux.c: Likewise.
18452 * misc/sys/file.h: Likewise.
18453 * misc/sys/ioctl.h: Likewise.
18454 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18455 * sysdeps/mach/hurd/chdir.c: Likewise.
18456 * sysdeps/mach/hurd/fchdir.c: Likewise.
18457 * sysdeps/mach/hurd/rename.c: Likewise.
18458 * sysdeps/mach/hurd/rmdir.c: Likewise.
18459 * sysdeps/mach/hurd/seekdir.c: Likewise.
18460 * sysdeps/mach/hurd/setsid.c: Likewise.
18461 * sysdeps/posix/wait3.c: Likewise.
18462
568035b7
JM
18463 * All files with FSF copyright notices: Update copyright dates
18464 using scripts/update-copyrights.
18465 * intl/plural.c: Regenerated.
18466 * locale/programs/charmap-kw.h: Likewise.
18467 * locale/programs/locfile-kw.h: Likewise.
18468
da08f647
SP
184692013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18470
0f5477af
SP
18471 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
18472 four values.
18473
44e0d4c2
SP
18474 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
18475 calculation loop and add branch prediction.
18476
4d55b4e5
SP
18477 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
18478 check access beyond bounds of m1np.
18479
da08f647
SP
18480 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18481 MPTWO.
18482 (__inv): Remove local variable MPTWO to use the global
18483 constant.
18484 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
18485 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18486 variable MPTWO.
18487 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
18488 MP3HALFS static const.
18489
8e051029
DM
184902013-01-01 David S. Miller <davem@davemloft.net>
18491
18492 * po/ca.po: Update from translation team.
18493
f4cf5f2d
JM
184942013-01-01 Joseph Myers <joseph@codesourcery.com>
18495
18496 * scripts/update-copyrights: New file.
18497 * Makeconfig: Reformat copyright notice.
18498 * ctype/ctype.h: Likewise.
18499 * debug/swprintf_chk.c: Likewise.
18500 * elf/dl-cache.c: Likewise.
18501 * elf/dl-debug.c: Likewise.
18502 * elf/dl-object.c: Likewise.
18503 * grp/initgroups.c: Likewise.
18504 * hurd/Makefile: Likewise.
18505 * hurd/hurd/signal.h: Likewise.
18506 * hurd/hurdfault.c: Likewise.
18507 * hurd/hurdioctl.c: Likewise.
18508 * hurd/hurdlookup.c: Likewise.
18509 * hurd/intr-msg.c: Likewise.
18510 * iconv/gconv_open.c: Likewise.
18511 * libio/swprintf.c: Likewise.
18512 * locale/lc-ctype.c: Likewise.
18513 * locale/nl_langinfo.c: Likewise.
18514 * mach/Machrules: Likewise.
18515 * mach/Makefile: Likewise.
18516 * malloc/obstack.h: Likewise.
18517 * manual/Makefile: Likewise.
18518 * manual/tsort.awk: Likewise.
18519 * misc/bits/stab.def: Likewise.
18520 * nis/nis_print_group_entry.c: Likewise.
18521 * nis/nis_table.c: Likewise.
18522 * nis/nss_compat/compat-pwd.c: Likewise.
18523 * nis/nss_compat/compat-spwd.c: Likewise.
18524 * po/Makefile: Likewise.
18525 * posix/fnmatch.c: Likewise.
18526 * posix/regex.h: Likewise.
18527 * resolv/Makefile: Likewise.
18528 * resolv/nss_dns/dns-network.c: Likewise.
18529 * resolv/res_hconf.c: Likewise.
18530 * scripts/gen-sorted.awk: Likewise.
18531 * soft-fp/soft-fp.h: Likewise.
18532 * stdio-common/printf.h: Likewise.
18533 * stdlib/monetary.h: Likewise.
18534 * stdlib/random.c: Likewise.
18535 * stdlib/random_r.c: Likewise.
18536 * sysdeps/generic/Makefile: Likewise.
18537 * sysdeps/gnu/Makefile: Likewise.
18538 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18539 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18540 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18541 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18542 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18543 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18544 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18545 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18546 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18547 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18548 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18549 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18550 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18551 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18552 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18553 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18554 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18555 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18556 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18557 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18558 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18559 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18560 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18561 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18562 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
18563 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18564 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18565 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
18566 * sysdeps/mach/hurd/errnos.awk: Likewise.
18567 * sysdeps/mach/hurd/fork.c: Likewise.
18568 * sysdeps/mach/hurd/getcwd.c: Likewise.
18569 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
18570 * sysdeps/mach/hurd/mmap.c: Likewise.
18571 * sysdeps/mach/hurd/utimes.c: Likewise.
18572 * sysdeps/mach/hurd/xmknod.c: Likewise.
18573 * sysdeps/posix/profil.c: Likewise.
18574 * sysdeps/posix/readdir_r.c: Likewise.
18575 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18576 * sysdeps/powerpc/bits/setjmp.h: Likewise.
18577 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
18578 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18579 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18580 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18581 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18582 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18583 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18584 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18585 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18586 * sysdeps/pthread/lio_listio.c: Likewise.
18587 * sysdeps/sparc/dl-procinfo.h: Likewise.
18588 * sysdeps/unix/i386/sysdep.S: Likewise.
18589 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
18590 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
18591 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
18592 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
18593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18594 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
18595 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
18596 * sysdeps/unix/sysv/linux/speed.c: Likewise.
18597 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
18598 * sysdeps/wordsize-32/divdi3.c: Likewise.
18599 * time/sys/time.h: Likewise.
18600 * wcsmbs/Makefile: Likewise.
18601
0549fbba
DM
186022013-01-01 David S. Miller <davem@davemloft.net>
18603
a141f1a7
DM
18604 * po/fr.po: Update from translation team.
18605
0549fbba
DM
18606 * catgets/gencat.c: Update copyright year.
18607 * csu/version.c: Likewise.
18608 * debug/catchsegv.sh: Likewise.
18609 * debug/pcprofiledump.c: Likewise.
18610 * debug/xtrace.sh: Likewise.
18611 * elf/ldconfig.c: Likewise.
18612 * elf/ldd.bash.in: Likewise.
18613 * elf/pldd.c: Likewise.
18614 * elf/sotruss.ksh: Likewise.
18615 * elf/sprof.c: Likewise.
18616 * iconv/iconv_prog.c: Likewise.
18617 * iconv/iconvconfig.c: Likewise.
18618 * locale/programs/locale.c: Likewise.
18619 * locale/programs/localedef.c: Likewise.
18620 * login/programs/pt_chown.c: Likewise.
18621 * malloc/memusage.sh: Likewise.
18622 * malloc/memusagestat.c: Likewise.
18623 * malloc/mtrace.pl: Likewise.
18624 * nscd/nscd.c: Likewise.
18625 * nss/getent.c: Likewise.
18626 * nss/makedb.c: Likewise.
18627 * posix/getconf.c: Likewise.
18628
18ea052c
SP
186292012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18630
18631 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
18632 numbers.
18633
9c89fca6
MF
186342012-12-30 Mike Frysinger <vapier@gentoo.org>
18635
18636 * math/bits/mathcalls.h (modf): Use __nonnull.
18637
085ec079
SP
186382012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18639
18640 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
18641 (split): Use macro CN instead of the bare value.
18642 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
18643 could be used.
18644 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
18645 instead of the bare value.
18646 (power1): Likewise.
18647
6d9f97e1
SP
186482012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18649
d63f73be
SP
18650 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
18651 __ATAN_TWOM.
18652 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18653
6d9f97e1
SP
18654 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
18655 their values.
18656 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18657 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18658 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
18659 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18660
4c4febf5
AJ
186612012-12-28 Andreas Jaeger <aj@suse.de>
18662
af5843ef
AJ
18663 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
18664 values are from Linux 3.7.
18665
4c4febf5
AJ
18666 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
18667 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
18668
99136f82
SP
186692012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18670
2f216c3c 18671 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
18672 TRUE case.
18673
99136f82
SP
18674 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
18675 (norm): Likewise.
18676 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
18677 variables with preprocessor constants.
18678 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18679 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18680 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18681
7fffbdff
BH
186822012-12-27 Bruno Haible <bruno@clisp.org>
18683
18684 [BZ #14317]
18685 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
18686 only if needed.
18687
b76eb5f0
SP
186882012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18689
31a7fe5c
SP
18690 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
18691 and use variable directly.
18692 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
18693
b76eb5f0
SP
18694 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18695 MPONE.
18696 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
18697 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18698 variable MPONE.
18699 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18700 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18701 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
18702 include directive. Remove local variable MPONE.
18703 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
18704 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
18705 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18706
2c8bfe7d
DM
187072012-12-25 David S. Miller <davem@davemloft.net>
18708
18709 * version.h (RELEASE): Set to "development".
18710 (VERSION): Set to "2.17.90".
18711 * NEWS: Add 2.18 section.
18712
147d03b0
DM
187132012-12-21 David S. Miller <davem@davemloft.net>
18714
18715 * po/hr.po: Update from translation team.
18716
a8ebb2b9
AK
187172012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18718
18719 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
18720
95b4f1b6
SE
187212012-12-19 Steve Ellcey <sellcey@mips.com>
18722
b2d94007 18723 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 18724
cedb2a90
MS
187252012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18726
18727 * manual/contrib.texi (Contributors): Spelling correction.
18728
bbf527d6
DM
187292012-12-15 David S. Miller <davem@davemloft.net>
18730
18731 * po/ru.po: Update from translation team.
18732
bc38c906
DM
187332012-12-13 David S. Miller <davem@davemloft.net>
18734
85429b1a
DM
18735 * NEWS: Mention IFUNC testsuite enhancements.
18736
d283e353
DM
18737 * po/pl.po: Update from translation team.
18738 * po/bg.po: Likewise.
18739
bc38c906
DM
18740 * manual/contrib.texi (Contributors): Update entries for Hongjiu
18741 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
18742
a181b0d7
DM
187432012-12-11 David S. Miller <davem@davemloft.net>
18744
4641d57e
DM
18745 * po/sv.po: Update from translation team.
18746
f7bc6495
DM
18747 * po/vi.po: Update from translation team.
18748
6fc9048f
DM
18749 * po/cs.po: Update from translation team.
18750
a181b0d7
DM
18751 * po/de.po: Update from translation team.
18752 * po/eo.po: Likewise.
18753 * po/nl.po: Likewise.
18754
f70bfe80
SP
187552012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18756
3c8b4190
SP
18757 [BZ #14246]
18758 * manual/argp.texi (Argp Helper Functions): Move node to follow
18759 Argp Parsing State.
18760
f70bfe80
SP
18761 [BZ #14872]
18762 * manual/conf.texi (Limits on File System Capacity): Mention if
18763 terminating null is included in the max size.
18764
188f0adf
AJ
187652012-12-10 Andreas Jaeger <aj@suse.de>
18766
18767 * po/cs.po: Update from translation team.
18768
56e7d3ad
SP
187692012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18770
18771 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
18772 void pointer and cast to uintptr_t.
18773 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
18774 path.
18775 * sysdeps/s390/s390-64/memcpy.S: Likewise.
18776 * sysdeps/s390/s390-64/memset.S: Likewise.
18777
76f2d2ea 187782012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
18779
18780 [BZ #14833]
18781 * menual/message.texi (Message Translation): Fix typos.
18782 (Helper programs for gettext): Likewise.
18783
67cbf9a2
AS
187842012-12-07 Andreas Schwab <schwab@linux-m68k.org>
18785
18786 [BZ #14898]
18787 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
18788 Change to -1.
18789
682d0e9a
DM
187902012-12-07 David S. Miller <davem@davemloft.net>
18791
18792 * po/libc.pot: Update.
18793
573cd484
RH
187942012-12-07 Richard Henderson <rth@redhat.com>
18795
7e9da188 18796 [BZ #10114]
573cd484
RH
18797 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
18798 normal/normal case to before the switch.
18799 (_FP_DIV): Likewise.
18800
e933a943
MF
188012012-12-06 Carlos O'Donell <carlos@systemhalted.org>
18802 Mike Frysinger <vapier@gentoo.org>
18803
18804 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
18805 check for __NR_fadvise64_64.
18806
82123268
CM
188072012-12-06 Chris Metcalf <cmetcalf@tilera.com>
18808
18809 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
18810 0, not just to plain "0" as a statement.
18811 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
18812 with cw.
18813
d9814526
JM
188142012-12-06 Joseph Myers <joseph@codesourcery.com>
18815
18816 * NEWS: Use sourceware.org in Bugzilla URL.
18817
7728c574
SP
188182012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18819
f16946dd
SP
18820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18821 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
18822
5704bbcb
SP
18823 * stdio-common/tst-put-error.c (do_test): Add newline to the
18824 padded test to ensure flush.
18825
17aa0516
JL
188262012-12-05 Jeff Law <law@redhat.com>
18827
18828 * sunrpc/etc.rpc (fedfs_admin): Add entry.
18829
363313b5
JM
188302012-12-05 Joseph Myers <joseph@codesourcery.com>
18831
effbd42a
JM
18832 * README: Don't refer to ports add-on as distributed separately.
18833 Mention AArch64 in list of systems supported in the ports add-on.
18834
87600365
JM
18835 * LICENSES: Add more non-FSF copyright and license notices.
18836
a0d7066a
JM
18837 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
18838 ((unused)).
18839
66ca5a5b
JM
18840 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
18841
363313b5
JM
18842 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
18843 10000 as width of padded output.
18844
b37984ad
JM
188452012-12-04 Joseph Myers <joseph@codesourcery.com>
18846
9003570a
JM
18847 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
18848
b37984ad
JM
18849 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
18850 variable LX with __attribute__ ((unused)).
18851 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18852 Likewise.
18853 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18854 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18855 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
18856 with __attribute__ ((unused)).
18857
c8df52ec
DM
188582012-12-04 David S. Miller <davem@abraco.davemloft.net>
18859
18860 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
18861
b3b099af
JM
188622012-12-04 Joseph Myers <joseph@codesourcery.com>
18863
c33aa6e3
JM
18864 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
18865 (CFLAGS-nldbl-acos.c): New variable.
18866 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
18867 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
18868 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
18869 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
18870 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
18871 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
18872 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
18873 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
18874 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
18875 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
18876 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
18877 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
18878 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
18879 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
18880 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
18881 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
18882 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
18883 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
18884 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
18885 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
18886 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
18887 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
18888 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
18889 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
18890 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
18891 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
18892 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
18893 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
18894 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
18895 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
18896 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
18897 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
18898 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
18899 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
18900 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
18901 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
18902 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
18903 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
18904 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
18905 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
18906 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
18907 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
18908 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
18909 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
18910 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
18911 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
18912 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
18913 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
18914 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
18915 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
18916 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
18917 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
18918 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
18919 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
18920 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
18921 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
18922 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
18923 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
18924 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
18925 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
18926 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
18927 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
18928 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
18929 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
18930 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
18931 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
18932 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
18933 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
18934 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
18935 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
18936 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
18937 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
18938 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
18939 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
18940 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
18941 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
18942 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
18943 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
18944 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
18945 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
18946 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
18947 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
18948 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
18949 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
18950 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
18951 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
18952 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
18953 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
18954 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
18955 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
18956 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
18957 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
18958 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
18959 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
18960 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
18961 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
18962 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
18963
20f0018d
JM
18964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18965 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
18966
b3b099af
JM
18967 [BZ #14914]
18968 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
18969 whole low double instead of just low 47 bits when splitting values
18970 into two parts.
18971
029264d1
AM
189722012-12-03 Allan McRae <allan@archlinux.org>
18973
18974 * manual/stdio.texi (Predefined Printf Handlers): Remove
18975 @hsep and @vsep usage.
18976
c9d6789e
MF
189772012-12-03 Mike Frysinger <vapier@gentoo.org>
18978
18979 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
18980 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
18981
4b7634a5
JL
189822012-12-03 Jeff Law <law@redhat.com>
18983
18984 * time/sys/time.h (settimeofday): Do not mark TV argument
18985 as __nonnull.
18986
eb6cbd24
MF
189872012-12-01 Mike Frysinger <vapier@gentoo.org>
18988
18989 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
18990 when currently writing and seek to current position when not.
18991 * libio/Makefile (tests): Remove bug-fclose1.
18992 * libio/bug-fclose1.c: Delete.
18993
f638872a
JM
189942012-12-01 Joseph Myers <joseph@codesourcery.com>
18995
18996 * manual/arith.texi (feenableexcept): Fix typo.
18997 (fedisableexcept): Likewise.
18998
48085d14
RM
189992012-11-30 Roland McGrath <roland@hack.frob.com>
19000
19001 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19002 second, differently-typed declaration, rather than a cast.
19003
1a538b9f
SP
190042012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19005
19006 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19007 * include/rpc/svc.h: ... here.
19008
d07f2ff1 190092012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
19010
19011 [BZ #13013]
19012 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19013 depending n and resplen2 to catch cases where answer
19014 equals answerp2.
19015
c93ec1f0
CD
190162012-11-29 Carlos O'Donell <carlos@systemhalted.org>
19017
19018 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19019 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19020
37db69de
MF
190212012-11-29 Mike Frysinger <vapier@gentoo.org>
19022
19023 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19024
e10c4e4f
RM
190252012-11-29 Roland McGrath <roland@hack.frob.com>
19026
19027 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19028
2af1b328
JL
190292012-11-28 Jeff Law <law@redhat.com>
19030
19031 [BZ #13761]
19032 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19033 dataset_temporary. Track alloca usage into alloca_used.
19034 If dataset is large allocate and release it via malloc/free.
19035
111db5b1
FW
190362012-06-04 Florian Weimer <fweimer@redhat.com>
19037
f06cc227 19038 [BZ #14197]
111db5b1
FW
19039 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19040
dd694abd
DM
190412012-11-28 David S. Miller <davem@davemloft.net>
19042
19043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19044
9984dd01
JM
190452012-11-28 Joseph Myers <joseph@codesourcery.com>
19046
19047 [BZ #14803]
19048 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19049 of pi/2 rounded to nearest to 64 bits.
19050 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19051 nearest to 64 bits.
19052 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19053 bits.
19054
14bc93a9
JL
190552012-11-28 Jeff Law <law@redhat.com>
19056 Martin Osvald <mosvald@redhat.com>
19057
19058 [BZ #14889]
19059 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19060 * sunrpc/svc.c: Include time.h.
19061 (__svc_accept_failed): New function.
19062 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19063 any reason other than EINTR, call __svc_accept_failed.
19064 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19065 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19066
e3c6aa3a
AS
190672012-11-28 Andreas Schwab <schwab@suse.de>
19068
19069 * scripts/abilist.awk: Also handle indirect functions in .opd
19070 section.
19071
1bead169
JM
190722012-11-28 Joseph Myers <joseph@codesourcery.com>
19073
19074 [BZ #13881]
19075 * sysdeps/x86/fpu/powl_helper.c: New file.
19076 * sysdeps/x86/fpu/Makefile: Likewise.
19077 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19078 (p3): New object.
19079 (__ieee754_powl): Use __powl_helper for finite arguments except
19080 integer exponents below 8.
19081 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19082 (p3): New object.
19083 (__ieee754_powl): Use __powl_helper for finite arguments except
19084 integer exponents below 8.
19085 * math/libm-test.inc (pow_test): Add more tests and enable some
19086 previously disabled tests.
19087 * sysdeps/i386/fpu/libm-test-ulps: Update.
19088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19089
0817d63d
SP
190902012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19091 Carlos O'Donell <carlos_odonell@mentor.com>
19092
19093 * nss/makedb.c (is_prime): Assert that input is odd and greater
19094 than 4. Note that fact in a comment too.
19095 (next_prime): Add 4 to input.
19096
de2fd463
SP
190972012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19098
19099 [BZ #11741]
19100 * libio/Makefile (tests): Add test case tst-fwrite-error.
19101 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19102 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19103 * libio/tst-fwrite-error.c: New test case.
19104
c515fb51
L
191052012-11-26 H.J. Lu <hongjiu.lu@intel.com>
19106
19107 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19108 before casting to void *.
19109 * include/libc-internal.h (__pointer_type): New macro.
19110 (__integer_if_pointer_type_sub): Likewise.
19111 (__integer_if_pointer_type): Likewise.
19112 (cast_to_integer): Likewise.
19113 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19114 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19115 before casting to atomic64_t.
19116 (atomic_exchange_acq): Likewise.
19117 (__arch_exchange_and_add_body): Likewise.
19118 (__arch_add_body): Likewise.
19119 (atomic_add_negative): Likewise.
19120 (atomic_add_zero): Likewise.
19121
4cf77aa9
JM
191222012-11-26 Joseph Myers <joseph@codesourcery.com>
19123
19124 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19125 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19126 (add_fdes): Likewise.
19127 (linear_search_fdes): Likewise.
19128 (binary_search_unencoded_fdes): Likewise.
19129
d260b3b4
AS
191302012-11-26 Andreas Schwab <schwab@linux-m68k.org>
19131
19132 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19133
67060746
AC
191342012-11-24 Adam Conrad <adconrad@0c3.net>
19135
19136 * configure.in: Autodetect C++ header directories.
19137 * configure: Regenerated.
19138
800938a1
MF
191392012-11-23 Mike Frysinger <vapier@gentoo.org>
19140
19141 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19142
4e6e34e6
AS
191432012-11-23 Andreas Schwab <schwab@linux-m68k.org>
19144
19145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19146
7c7feb47
JM
191472012-11-22 Joseph Myers <joseph@codesourcery.com>
19148
7184dcdf
JM
19149 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19150 LDBL_MANT_DIG == 106]: Disable some tests.
19151 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19152 Likewise.
19153 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19154 Likewise.
19155
0a42601f
JM
19156 [BZ #14871]
19157 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19158 input for small inputs. Return +/- pi/2 for large inputs.
19159 * math/libm-test.inc (atan_test): Add more tests.
19160
79c9b9fe
JM
19161 * sysdeps/generic/unwind-dw2-fde-glibc.c
19162 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19163 __attribute__ ((unused)).
19164
c60d3bf2
JM
19165 [BZ #14645]
19166 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19167 x * y if x and y are nonzero and z is zero.
19168
ef1e0867
JM
19169 [BZ #14811]
19170 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19171 nonzero exponents with absolute value below 0x1p-117 to +/-
19172 0x1p-117.
19173
1468ded3
JM
19174 [BZ #14869]
19175 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19176 up arguments below 2**-450, not just those below 2**-500.
19177 * math/libm-test.inc (hypot_test): Add another test.
19178
8e27e3cc
JM
19179 [BZ #14868]
19180 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19181 Return a+b for ratio over 2**120, not 2**60.
19182 * math/libm-test.inc (hypot_test): Add another test.
19183
c9c0279b
JM
19184 * math/libm-test.inc (clog_test): Use
19185 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19186 (clog10_test): Likewise.
19187
7c7feb47
JM
19188 [BZ #6778]
19189 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19190
fff1530e
AS
191912012-11-22 Andreas Schwab <schwab@suse.de>
19192
19193 * sysdeps/i386/fpu/libm-test-ulps: Update.
19194
94558d30
PT
191952012-11-22 Pino Toscano <toscano.pino@tiscali.it>
19196
19197 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19198 printf output with newline.
19199
7e1be741
L
192002012-11-21 H.J. Lu <hongjiu.lu@intel.com>
19201
6bfea974
L
19202 [BZ #14865]
19203 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19204 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19205 -z nodlopen, -z initfirst and -z execstack support.
19206 * configure: Regenerated.
19207
7e1be741
L
19208 * elf/elf.h (DF_1_NODIRECT): New macro.
19209 (DF_1_IGNMULDEF): Likewise.
19210 (DF_1_NOKSYMS): Likewise.
19211 (DF_1_NOHDR): Likewise.
19212 (DF_1_EDITED): Likewise.
19213 (DF_1_NORELOC): Likewise.
19214 (DF_1_SYMINTPOSE): Likewise.
19215 (DF_1_GLOBAUDIT): Likewise.
19216 (DF_1_SINGLETON): Likewise.
19217 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19218 DT_1_SUPPORTED_MASK bits.
19219 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19220
105ce2ce
CD
192212012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
19222
19223 * sysdeps/unix/make-syscalls.sh: Document prefixes.
19224
123be9de
TS
192252012-11-20 Thomas Schwinge <thomas@codesourcery.com>
19226
d072f3f7
TS
19227 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19228 macro.
19229
123be9de
TS
19230 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19231 (sendmmsg): Move declarations...
19232 * socket/sys/socket.h: ... here.
19233 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19234 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19235 include it from...
19236 * socket/recvmmsg.c: ... this new file.
19237 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19238 (sendmmsg): Rename to __sendmmsg, create weak alias and make
19239 definition of __sendmmsg hidden.
19240 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19241 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19242 Move ENOSYS stub into and include it from...
19243 * socket/sendmmsg.c: ... this new file.
19244 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19245 (sysdep_routines): Move recvmmsg and sendmmsg...
19246 * socket/Makefile (routines): ... here.
19247 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19248 (GLIBC_PRIVATE): Add __sendmmsg.
19249 * include/sys/socket.h (__sendmmsg): Add declarations.
19250 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19251 sendmmsg.
19252
cf9a5d18
JM
192532012-11-20 Joseph Myers <joseph@codesourcery.com>
19254
19255 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19256 variable I1 with __attribute__ ((unused)).
19257 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19258
ecd4caf9
JM
192592012-11-19 Joseph Myers <joseph@codesourcery.com>
19260
be14d48f
JM
19261 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19262 DUMMY variables with __attribute__ ((unused)).
19263
ecd4caf9
JM
19264 * bits/byteswap.h: Include <bits/types.h>.
19265 (__bswap_64): Use __uint64_t instead of unsigned long long int.
19266
986cab95
PT
192672012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19268
19269 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19270 string_t. Do not manually set errno.
19271 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19272 length with __strnlen. Make sure to both set errno and return it on
19273 failure.
19274
6d33cc9d
DM
192752012-11-19 David S. Miller <davem@davemloft.net>
19276
19277 With help from Joseph Myers.
19278 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19279 very large arguments properly.
19280 * math/libm-test.inc (atan_test): New tests.
19281 (atan2_test): New tests.
19282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19283 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19284
ee663277
JM
192852012-11-19 Joseph Myers <joseph@codesourcery.com>
19286
877f2d8e
JM
19287 [BZ #14856]
19288 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19289 Define to 3.
19290
116fc08a
JM
19291 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19292 [POSIX] (EADDRNOTAVAIL): Likewise.
19293 [POSIX] (EAFNOSUPPORT): Likewise.
19294 [POSIX] (EALREADY): Likewise.
19295 [POSIX] (ECONNABORTED): Likewise.
19296 [POSIX] (ECONNREFUSED): Likewise.
19297 [POSIX] (ECONNRESET): Likewise.
19298 [POSIX] (EDESTADDRREQ): Likewise.
19299 [POSIX] (EDQUOT): Likewise.
19300 [POSIX] (EHOSTUNREACH): Likewise.
19301 [POSIX] (EIDRM): Likewise.
19302 [POSIX] (EISCONN): Likewise.
19303 [POSIX] (ELOOP): Likewise.
19304 [POSIX] (EMULTIHOP): Likewise.
19305 [POSIX] (ENETDOWN): Likewise.
19306 [POSIX] (ENETUNREACH): Likewise.
19307 [POSIX] (ENOBUFS): Likewise.
19308 [POSIX] (ENODATA): Likewise.
19309 [POSIX] (ENOLINK): Likewise.
19310 [POSIX] (ENOMSG): Likewise.
19311 [POSIX] (ENOPROTOOPT): Likewise.
19312 [POSIX] (ENOSR): Likewise.
19313 [POSIX] (ENOSTR): Likewise.
19314 [POSIX] (ENOTCONN): Likewise.
19315 [POSIX] (ENOTSOCK): Likewise.
19316 [POSIX] (EOPNOTSUPP): Likewise.
19317 [POSIX] (EOVERFLOW): Likewise.
19318 [POSIX] (EPROTO): Likewise.
19319 [POSIX] (EPROTONOSUPPORT): Likewise.
19320 [POSIX] (EPROTOTYPE): Likewise.
19321 [POSIX] (ESTALE): Likewise.
19322 [POSIX] (ETIME): Likewise.
19323 [POSIX] (ETXTBSY): Likewise.
19324 [POSIX] (EWOULDBLOCK): Likewise.
19325 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
19326 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
19327 [POSIX] (SEEK_CUR): Likewise.
19328 [POSIX] (SEEK_END): Likewise.
19329 [POSIX || UNIX98] (mode_t): Do not require.
19330 [POSIX] (off_t): Likewise.
19331 [POSIX] (pid_t): Likewise.
19332 [POSIX] (sys/stat.h): Do not allow header.
19333 [POSIX] (unistd.h): Likewise.
19334 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
19335 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
19336 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
19337 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
19338 require.
19339 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
19340 sigevent): Specify elements.
19341 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
19342 entry.
19343 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
19344 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
19345
a483863f
JM
19346 * conform/data/cpio.h-data [POSIX]: Disable whole file.
19347 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
19348 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
19349 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
19350 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
19351 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
19352 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
19353 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
19354 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
19355 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
19356 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
19357 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
19358 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
19359 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
19360 Likewise.
19361 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
19362 Likewise.
19363 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
19364 Likewise.
19365 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
19366 Likewise.
19367 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
19368 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
19369 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
19370 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
19371 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
19372 Specify lower bound on value.
19373 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
19374 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
19375 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
19376 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
19377 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
19378 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
19379 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
19380 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
19381 value.
19382 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
19383 as optional.
19384 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
19385 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
19386 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
19387 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
19388 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
19389 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
19390 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
19391 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
19392 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
19393 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
19394 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
19395 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
19396 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
19397 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
19398 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
19399 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
19400 entry.
19401 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
19402 optional.
19403 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
19404 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
19405 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
19406 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
19407 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
19408 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
19409 Likewise.
19410 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
19411 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
19412 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
19413 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
19414 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
19415 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
19416 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
19417 as optional.
19418 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
19419 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
19420 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
19421 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
19422 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
19423 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
19424 specify as optional.
19425 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
19426 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
19427 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
19428 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
19429 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
19430 [XPG3] (NL_LANGMAX): Likewise.
19431 [POSIX || XPG3] (NL_MSGMAX): Likewise.
19432 [POSIX || XPG3] (NL_NMAX): Likewise.
19433 [POSIX || XPG3] (NL_SETMAX): Likewise.
19434 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
19435 [XPG3] (NZERO): Likewise.
19436 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
19437 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
19438 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
19439 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
19440 (REG_ERANGE): Expect.
19441 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
19442 optional-constant.
19443 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
19444 Use (void) in prototype.
19445 [POSIX] (*_t): Allow.
19446 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
19447 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
19448 (WRDE_BADVAL): Expect.
19449
5ba924e3
JM
19450 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
19451 expect.
19452 [XPG3 || XPG4] (O_RSYNC): Likewise.
19453 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
19454 Likewise.
19455 [XPG3 || XPG4] (pthread_sigmask): Likewise.
19456 [XPG3 || XPG4] (sigqueue): Likewise.
19457 [XPG3 || XPG4] (sigtimedwait): Likewise.
19458 [XPG3 || XPG4] (sigwaitinfo): Likewise.
19459 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
19460 [XPG3 || XPG4] (vsnprintf): Likewise.
19461 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
19462 Likewise.
19463 [XPG3 || XPG4] (blksize_t): Likewise.
19464 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
19465 Likewise.
19466 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
19467 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19468 [XPG3 || XPG4] (struct itimerspec): Likewise.
19469 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
19470 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
19471 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
19472 [XPG3 || XPG4] (clockid_t): Likewise.
19473 [XPG3 || XPG4] (timer_t): Likewise.
19474 [XPG3 || XPG4] (clock_getres): Likewise.
19475 [XPG3 || XPG4] (clock_gettime): Likewise.
19476 [XPG3 || XPG4] (clock_settime): Likewise.
19477 [XPG3 || XPG4] (nanosleep): Likewise.
19478 [XPG3 || XPG4] (timer_create): Likewise.
19479 [XPG3 || XPG4] (timer_delete): Likewise.
19480 [XPG3 || XPG4] (timer_gettime): Likewise.
19481 [XPG3 || XPG4] (timer_getoverrun): Likewise.
19482 [XPG3 || XPG4] (timer_settime): Likewise.
19483 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
19484 [XPG3 || XPG4] (getlogin_r): Likewise.
19485 [XPG3 || XPG4] (pread): Likewise.
19486 [XPG3 || XPG4] (pthread_atfork): Likewise.
19487 [XPG3 || XPG4] (pwrite): Likewise.
19488
ee663277
JM
19489 [BZ #14835]
19490 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
19491 <bits/siginfo.h>.
19492
942caa16
PT
194932012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19494
e19af380
PT
19495 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
19496 finalizing MALLSTREAM.
19497
942caa16
PT
19498 * sysdeps/mach/hurd/syncfs.c: New file.
19499
cfde9b46
SP
195002012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19501
19502 [BZ #14719]
19503 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
19504 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
19505 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
19506 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
19507 (_nss_dns_gethostbyname4_r): Likewise.
19508 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
19509 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
19510
f6da27e5
PH
195112012-11-19 Peng Haitao <penght@cn.fujitsu.com>
19512
19513 [BZ #13763]
19514 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
19515
6665d4a2
SM
195162012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
19517
1f51ee92
SM
19518 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
19519 * elf/cache.c (print_entry): Print ",AArch64" for
19520 FLAG_AARCH64_LIB64
19521
6665d4a2
SM
19522 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
19523 * elf/cache.c (print_entry): Print ",hard-float" for
19524 FLAG_ARM_LIBHF.
19525
05b227bd
DM
195262012-11-18 David S. Miller <davem@davemloft.net>
19527
19528 With help from Joseph Myers.
19529 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
19530 cutoff to 2**-13.
19531 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
19532 cutoff to 2**-25.
19533 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
19534 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
19535 small.
19536 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
19537 * math/libm-test.inc (y0_test): New tests.
19538 (y1_test): New tests.
19539 * sysdeps/i386/fpu/libm-test-ulps: Update.
19540 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19542
786b0b67
AS
195432012-11-18 Andreas Schwab <schwab@linux-m68k.org>
19544
19545 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
19546 64-bit targets.
19547 * configure: Regenerated.
19548
8e18b86d
DM
195492012-11-17 David S. Miller <davem@davemloft.net>
19550
19551 [BZ #14811]
19552 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
19553 nonzero exponents with absolute value below 0x1p-128 to +/-
19554 0x1p-128.
19555
531f1ae0
JM
195562012-11-17 Joseph Myers <joseph@codesourcery.com>
19557
12df29e2
JM
19558 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
19559
150dc1a0
JM
19560 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
19561
531f1ae0
JM
19562 * posix/getconf-speclist.c: New file.
19563 * posix/posix-envs.def: Likewise.
19564 * posix/confstr.c (START_ENV_GROUP): New macro.
19565 (END_ENV_GROUP): Likewise.
19566 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19567 (KNOWN_PRESENT_ENV_STRING): Likewise.
19568 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19569 (UNKNOWN_ENVIRONMENT): Likewise.
19570 (confstr): Include posix-envs.def instead of handling
19571 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
19572 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
19573 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
19574 (END_ENV_GROUP): Likewise.
19575 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19576 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19577 (UNKNOWN_ENVIRONMENT): Likewise.
19578 (__sysconf): Include posix-envs.def instead of handling associated
19579 cases directly here.
19580 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
19581 preprocessing getconf-speclist.c rather than running getconf or
19582 generating empty file.
19583
a93f9cbc
PT
195842012-11-16 Pino Toscano <toscano.pino@tiscali.it>
19585
19586 * scripts/check-local-headers.sh: Ignore 'mach' headers.
19587
d64d9f87
AL
195882012-11-16 Andrej Lajovic <natrij@gmail.com>
19589
19590 [BZ #14672]
19591 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
19592
447885eb
DM
195932012-11-16 David S. Miller <davem@davemloft.net>
19594
19595 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
19596 smaller than LDBL_EPSILON/2.0L, just return xm1.
19597
bcbf9830
L
195982012-11-16 H.J. Lu <hongjiu.lu@intel.com>
19599
19600 * elf/tst-array1.c (init): Set constructor priority to 1000.
19601 (fini): Set destructor priority to 1000.
19602 * elf/tst-array2dep.c: Likewise.
19603
2b766585
SP
196042012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19605
19606 [BZ #11741]
19607 * libio/fileops.c (_IO_new_file_write): Correctly return error.
19608 (_IO_new_file_xsputn): Also return EOF if none of the input
19609 data was written when overflow failed.
19610 * libio/iopadn.c (_IO_padn): Likewise.
19611 * libio/iowpadn.c (_IO_wpadn): Likewise.
19612 * stdio-common/tst-put-error.c: Add copyright notice.
19613 (do_test): Add case for printing padded string.
19614 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
19615 _IO_padn returned error.
19616 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
19617 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
19618 return EOF.
19619
b1848fde
SP
196202012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19621
19622 * libio/libioP.h: Add comment note that the references to C++
19623 bits are now obsolete.
19624
2fd89785
MS
196252012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19626
19627 * math/libm-test.inc (check_complex): Use asprintf.
19628
e3ea5409
JM
196292012-11-14 Joseph Myers <joseph@codesourcery.com>
19630
19631 * debug/pcprofiledump.c (print_version): Update copyright year.
19632 * malloc/memusagestat.c (print_version): Likewise.
19633
2e64d265
L
196342012-11-14 H.J. Lu <hongjiu.lu@intel.com>
19635
19636 [BZ #14831]
19637 * elf/Makefile (tests): Add tst-audit8.
19638 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
19639 ($(objpfx)tst-audit8.out): New target.
19640 (tst-audit8-ENV): New variable.
19641 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
19642 audit if l_reloc_result is NULL.
19643 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
19644 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
19645 * elf/tst-audit8.c: New file.
19646
c485e4d2
MS
196472012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19648
19649 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
19650 * misc/Makefile (CFLAGS-select.c): Define.
19651 * posix/Makefile (CFLAGS-pause.c): Define.
19652
3a0d900a
DM
196532012-11-13 David S. Miller <davem@davemloft.net>
19654
19655 * crypt/Makefile: Move test targets after toplevel Rules
19656 inclusion. Grab any necessary sysdep routines when linking.
19657 * crypt/md5.c (md5_process_block): Remove define, we will always
19658 name it __md5_process_block.
19659 (md5_finish_ctx): Update md5_process_block call.
19660 (md5_stream): Likewise.
19661 (md5_process_bytes): Likewise.
19662 (md5_process_block): Rename to __md5_process_block and move to ...
19663 * crypt/md5-block.c: ... here.
19664 * crypt/sha256.c (sha256_process_block): Move to ...
19665 * crypt/sha256-block.c: ... here.
19666 * crypt/sha512.c (sha512_process_block): Move to ...
19667 * crypt/sha512-block.c: ... here.
19668 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
19669 path.
19670 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
19671 * sysdeps/sparc/sparc64/multiarch/Makefile
19672 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
19673 crypt subdir.
19674 (localedef-aux): Add md5 crypto assembler when in locale subdir.
19675 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
19676 multiarch changes.
19677 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
19678 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
19679 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
19680 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
19681 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
19682 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
19683 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
19684 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
19685 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
19686 file.
19687 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
19688 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
19689 file.
19690 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
19691
8ca89318
JM
196922012-11-13 Joseph Myers <joseph@codesourcery.com>
19693
e27d476a
JM
19694 * timezone/tzselect.ksh: Update from tzcode git revision
19695 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
19696 * timezone/zdump.c: Likewise.
19697 * timezone/zic.c: Likewise.
19698 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
19699 in TZVERSION setting, not $(PKGVERSION).
19700 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
19701 REPORT_BUGS_TO settings.
19702
8ca89318
JM
19703 [BZ #14838]
19704 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
19705 macro.
19706
47594329
MS
197072012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19708
19709 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
19710 detection to immediately after _FP_ROUND().
19711 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
19712 bits are 0.
19713
640ac3f1
DM
197142012-11-11 David S. Miller <davem@davemloft.net>
19715
19716 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
19717 inttypes.h
19718 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
19719 __close rather than their public counterparts.
19720
3d2577bb
JM
197212012-11-10 Joseph Myers <joseph@codesourcery.com>
19722
19723 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
19724 file.
19725 [UNIX98] (sem_timedwait): Do not expect.
19726 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
19727 [XPG4 || UNIX98] (sockatmark): Do not expect.
19728 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
19729 (clock_getcpuclockid): Do not expect.
19730 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
19731 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
19732 Do not expect.
19733 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
19734 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
19735 [UNIX98] (vwscanf): Likewise.
19736 [UNIX98] (vswscanf): Likewise.
19737
fb1ae1ee
JM
197382012-11-09 Joseph Myers <joseph@codesourcery.com>
19739
9ec6f8bd
JM
19740 * timezone/version.h: Remove file.
19741 * timezone/README: Do not refer to version.h.
19742 * timezone/Makefile ($(objpfx)zic.o): New dependency on
19743 $(objpfx)version.h.
19744 ($(objpfx)zdump.o): Likewise.
c3f81911 19745 ($(objpfx)version.h): New target.
9ec6f8bd 19746
0aa8f8a1
JM
19747 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
19748 2012i.
19749 * timezone/README: Don't mention modification to tzselect.ksh.
19750 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
19751 work on unmodified tzselect.ksh. Substitute version numbers in
19752 tzselect.ksh.
19753
4e87147f
JM
19754 * Makefile (format-me): Remove.
19755 (INSTALL): Adjust indentation. Use commands directly instead of
19756 using $(format-me).
19757
8b748aed
JM
19758 * aclocal.m4 (ACX_PKGVERSION): New macro.
19759 (ACX_BUGURL): Likewise.
19760 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
19761 (PKGVERSION): New AC_DEFINE_UNQUOTED.
19762 (REPORT_BUGS_TO): Likewise.
19763 * configure: Regenerated.
19764 * config.h.in (PKGVERSION): New macro.
19765 (REPORT_BUGS_TO): Likewise.
19766 * config.make.in (PKGVERSION): New variable.
19767 (PKGVERSION_TEXI): Likewise.
19768 (REPORT_BUGS_TO): Likewise.
19769 (REPORT_BUGS_TEXI): Likewise.
19770 * Makefile (format-me): Use -I$(common-objpfx)manual.
19771 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
19772 ($(common-objpfx)manual/%): New target.
19773 (manual/%): Remove target.
19774 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
19775 (print_version): Use PKGVERSION.
19776 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
19777 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
19778 and REPORT_BUGS_TO.
19779 ($(objpfx)xtrace): Likewise.
19780 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
19781 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
19782 (print_version): Use PKGVERSION.
19783 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
19784 (do_version): Use PKGVERSION.
19785 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
19786 REPORT_BUGS_TO.
19787 (common-ldd-rewrite): Likewise.
19788 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
19789 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
19790 (print_version): Use PKGVERSION.
19791 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
19792 * elf/pldd.c (argp_program_bug_address): Remove variable.
19793 (more_help): New function.
19794 (argp): Use more_help.
19795 (print_version): Use PKGVERSION.
19796 * elf/sln.c (main): Use PKGVERSION.
19797 (usage): Use REPORT_BUGS_TO.
19798 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
19799 (top level): Use PKGVERSION.
19800 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
19801 (print_version): Use PKGVERSION.
19802 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
19803 (print_version): Use PKGVERSION.
19804 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
19805 (print_version): Use PKGVERSION.
19806 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
19807 (print_version): Use PKGVERSION.
19808 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
19809 (print_version): Use PKGVERSION.
19810 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
19811 (print_version): Use PKGVERSION.
19812 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
19813 and BUGURL.
19814 ($(objpfx)memusage): Likewise.
19815 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
19816 (do_version): Use PKGVERSION.
19817 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
19818 (print_version): Use PKGVERSION.
19819 * malloc/mtrace.pl ($PACKAGE): Remove variable.
19820 ($PKGVERSION): New variable.
19821 ($REPORT_BUGS_TO): Likewise.
19822 (usage): Use $REPORT_BUGS_TO.
19823 (top level): Use $PKGVERSION.
19824 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
19825 ($(objpfx)pkgvers.texi): New rule.
19826 ($(objpfx)stamp-pkgvers): Likewise.
19827 * manual/install.texi: Include pkgvers.texi.
19828 (--with-pkgversion): Document new configure option.
19829 (--with-bugurl): Likewise.
19830 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
19831 than necessarily for this particular distribution. Use
19832 REPORT_BUGS_TO for where to report bugs.
19833 * INSTALL: Regenerated.
19834 * manual/libc.texinfo: Include pkgvers.texi.
19835 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
19836 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
19837 (print_version): Use PKGVERSION.
19838 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
19839 (print_version): Use PKGVERSION.
19840 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
19841 (print_version): Use PKGVERSION.
19842 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
19843 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
19844 macro.
19845 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
19846 (print_version): Use PKGVERSION.
19847 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
19848 (print_version): Use PKGVERSION.
19849 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
19850 and PKGVERSION.
19851
92e4b6a9
JM
19852 * timezone/checktab.awk: Update from tzcode 2012i.
19853 * timezone/ialloc.c: Likewise.
19854 * timezone/private.h: Likewise.
19855 * timezone/scheck.c: Likewise.
19856 * timezone/tzfile.h: Likewise.
19857 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
19858 (TZVERSION): Hardcode tzcode version number.
19859 * timezone/zdump.c: Update from tzcode 2012i.
19860 * timezone/zic.c: Likewise.
19861 * timezone/version.h: New file.
19862 * timezone/README: Describe version.h. Update upstream location.
19863
9bde902c
JM
19864 [BZ #14824]
19865 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
19866 (mktemp): Enable declaration.
19867 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
19868 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
19869 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
19870 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
19871 Likewise.
19872 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
19873 Likewise.
19874 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
19875 Likewise.
19876 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
19877 Likewise.
19878 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
19879 Likewise.
19880 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
19881 Likewise.
19882
fb1ae1ee
JM
19883 [BZ #14821]
19884 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
19885 offset in buffer as u_int32_t not u_long. Consistently use memcpy
19886 for copies of such integer values.
19887 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19888 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19889
2c1adbcb
AJ
198902012-11-09 Andreas Jaeger <aj@suse.de>
19891
19892 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
19893 definitions and declarations that are provided by
19894 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19895
d0f8457e
AK
198962012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19897
3a235abb 19898 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
19899 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
19900 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
19901 definition.
19902
57241e26
MS
199032012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19904
19905 * elf/elf.h: Update comment before AArch64 relocations.
19906
60e8270d
DM
199072012-11-07 David S. Miller <davem@davemloft.net>
19908
19909 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
19910 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19911 (__start_context): Declare.
19912 (__makecontext_ret): Delete.
19913 (__makecontext): Hook up __start_context instead of
19914 __makecontext_ret.
19915 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
19916 (sysdep_routines): Add __start_context when in stdlib.
19917
0fbb0fbc
JM
199182012-11-07 Joseph Myers <joseph@codesourcery.com>
19919
19920 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
19921 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
19922 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
19923 hardcoded "nm".
19924 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
19925 (READELF): New variable. Use it instead of hardcoded "readelf".
19926
eb48db7e
L
199272012-11-07 H.J. Lu <hongjiu.lu@intel.com>
19928
19929 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
19930 * sysdeps/x86/Makefile: Here.
19931 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
19932 * sysdeps/x86/tst-xmmymm.sh: This.
19933
05bcf62a
JM
199342012-11-07 Joseph Myers <joseph@codesourcery.com>
19935
c4b6cf53
JM
19936 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
19937 expectations.
19938 [UNIX98] (pthread_barrier_t): Do not expect.
19939 [UNIX98] (pthread_barrierattr_t): Likewise.
19940 [UNIX98] (pthread_spinlock_t): Likewise.
19941 [UNIX98] (pthread_barrier_destroy): Likewise.
19942 [UNIX98] (pthread_barrier_init): Likewise.
19943 [UNIX98] (pthread_barrier_wait): Likewise.
19944 [UNIX98] (pthread_barrierattr_destroy): Likewise.
19945 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
19946 [UNIX98] (pthread_barrierattr_init): Likewise.
19947 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
19948 [UNIX98] (pthread_getcpuclockid): Likewise.
19949 [UNIX98] (pthread_mutex_timedlock): Likewise.
19950 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
19951 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
19952 [UNIX98] (pthread_sigmask): Likewise.
19953 [UNIX98] (pthread_spin_destroy): Likewise.
19954 [UNIX98] (pthread_spin_init): Likewise.
19955 [UNIX98] (pthread_spin_lock): Likewise.
19956 [UNIX98] (pthread_spin_trylock): Likewise.
19957 [UNIX98] (pthread_spin_unlock): Likewise.
19958 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
19959 Do not expect.
19960 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
19961 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
19962 [XPG3 || XPG4] (pthread_cond_t): Likewise.
19963 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
19964 [XPG3 || XPG4] (pthread_key_t): Likewise.
19965 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
19966 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
19967 [XPG3 || XPG4] (pthread_once_t): Likewise.
19968 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
19969 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
19970 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
19971 [XPG3 || XPG4] (pthread_t): Likewise.
19972
cbe6e120
JM
19973 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
19974 not expect.
19975 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
19976
1b126443
JM
19977 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
19978 Change function return type to int.
19979
b961a573
JM
19980 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
19981 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
19982 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
19983 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
19984 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
19985 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
19986 [!POSIX] (posix_madvise): Likewise.
19987 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
19988 && !UNIX98].
19989 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
19990 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
19991 (mode_t): Likewise.
19992 (posix_mem_offset): Likewise.
19993 (posix_typed_mem_get_info): Likewise.
19994 (posix_typed_mem_open): Likewise.
19995
9e188909
JM
19996 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
19997 Change condition to [XOPEN2K8].
19998
05bcf62a
JM
19999 * conform/conformtest.pl: Preprocess allow-header data with -x c
20000 instead of from stdin.
20001 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20002 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20003 [C99-based standards] (cerfc): Likewise.
20004 [C99-based standards] (cexp2): Likewise.
20005 [C99-based standards] (cexpm1): Likewise.
20006 [C99-based standards] (clog10): Likewise.
20007 [C99-based standards] (clog1p): Likewise.
20008 [C99-based standards] (clog2): Likewise.
20009 [C99-based standards] (clgamma): Likewise.
20010 [C99-based standards] (ctgamma): Likewise.
20011 [C99-based standards] (cerff): Likewise.
20012 [C99-based standards] (cerfcf): Likewise.
20013 [C99-based standards] (cexp2f): Likewise.
20014 [C99-based standards] (cexpm1f): Likewise.
20015 [C99-based standards] (clog10f): Likewise.
20016 [C99-based standards] (clog1pf): Likewise.
20017 [C99-based standards] (clog2f): Likewise.
20018 [C99-based standards] (clgammaf): Likewise.
20019 [C99-based standards] (ctgammaf): Likewise.
20020 [C99-based standards] (cerfl): Likewise.
20021 [C99-based standards] (cerfcl): Likewise.
20022 [C99-based standards] (cexp2l): Likewise.
20023 [C99-based standards] (cexpm1l): Likewise.
20024 [C99-based standards] (clog10l): Likewise.
20025 [C99-based standards] (clog1pl): Likewise.
20026 [C99-based standards] (clog2l): Likewise.
20027 [C99-based standards] (clgammal): Likewise.
20028 [C99-based standards] (ctgammal): Likewise.
20029 * conform/data/inttypes.h-data [C99-based standards]: Include
20030 stdint.h-data. Remove all expectations for stdint.h contents.
20031 [C99-based standards] (PRI*): Do not allow.
20032 [C99-based standards] (SCN*): Likewise.
20033 [C99-based standards] (*_t): Likewise.
20034 [C99-based-standards] (PRId8): Expect macro.
20035 [C99-based-standards] (PRIi8): Likewise.
20036 [C99-based-standards] (PRIo8): Likewise.
20037 [C99-based-standards] (PRIu8): Likewise.
20038 [C99-based-standards] (PRIx8): Likewise.
20039 [C99-based-standards] (PRIX8): Likewise.
20040 [C99-based-standards] (SCNd8): Likewise.
20041 [C99-based-standards] (SCNi8): Likewise.
20042 [C99-based-standards] (SCNo8): Likewise.
20043 [C99-based-standards] (SCNu8): Likewise.
20044 [C99-based-standards] (SCNx8): Likewise.
20045 [C99-based-standards] (PRIdLEAST8): Likewise.
20046 [C99-based-standards] (PRIiLEAST8): Likewise.
20047 [C99-based-standards] (PRIoLEAST8): Likewise.
20048 [C99-based-standards] (PRIuLEAST8): Likewise.
20049 [C99-based-standards] (PRIxLEAST8): Likewise.
20050 [C99-based-standards] (PRIXLEAST8): Likewise.
20051 [C99-based-standards] (SCNdLEAST8): Likewise.
20052 [C99-based-standards] (SCNiLEAST8): Likewise.
20053 [C99-based-standards] (SCNoLEAST8): Likewise.
20054 [C99-based-standards] (SCNuLEAST8): Likewise.
20055 [C99-based-standards] (SCNxLEAST8): Likewise.
20056 [C99-based-standards] (PRIdFAST8): Likewise.
20057 [C99-based-standards] (PRIiFAST8): Likewise.
20058 [C99-based-standards] (PRIoFAST8): Likewise.
20059 [C99-based-standards] (PRIuFAST8): Likewise.
20060 [C99-based-standards] (PRIxFAST8): Likewise.
20061 [C99-based-standards] (PRIXFAST8): Likewise.
20062 [C99-based-standards] (SCNdFAST8): Likewise.
20063 [C99-based-standards] (SCNiFAST8): Likewise.
20064 [C99-based-standards] (SCNoFAST8): Likewise.
20065 [C99-based-standards] (SCNuFAST8): Likewise.
20066 [C99-based-standards] (SCNxFAST8): Likewise.
20067 [C99-based-standards] (PRId16): Likewise.
20068 [C99-based-standards] (PRIi16): Likewise.
20069 [C99-based-standards] (PRIo16): Likewise.
20070 [C99-based-standards] (PRIu16): Likewise.
20071 [C99-based-standards] (PRIx16): Likewise.
20072 [C99-based-standards] (PRIX16): Likewise.
20073 [C99-based-standards] (SCNd16): Likewise.
20074 [C99-based-standards] (SCNi16): Likewise.
20075 [C99-based-standards] (SCNo16): Likewise.
20076 [C99-based-standards] (SCNu16): Likewise.
20077 [C99-based-standards] (SCNx16): Likewise.
20078 [C99-based-standards] (PRIdLEAST16): Likewise.
20079 [C99-based-standards] (PRIiLEAST16): Likewise.
20080 [C99-based-standards] (PRIoLEAST16): Likewise.
20081 [C99-based-standards] (PRIuLEAST16): Likewise.
20082 [C99-based-standards] (PRIxLEAST16): Likewise.
20083 [C99-based-standards] (PRIXLEAST16): Likewise.
20084 [C99-based-standards] (SCNdLEAST16): Likewise.
20085 [C99-based-standards] (SCNiLEAST16): Likewise.
20086 [C99-based-standards] (SCNoLEAST16): Likewise.
20087 [C99-based-standards] (SCNuLEAST16): Likewise.
20088 [C99-based-standards] (SCNxLEAST16): Likewise.
20089 [C99-based-standards] (PRIdFAST16): Likewise.
20090 [C99-based-standards] (PRIiFAST16): Likewise.
20091 [C99-based-standards] (PRIoFAST16): Likewise.
20092 [C99-based-standards] (PRIuFAST16): Likewise.
20093 [C99-based-standards] (PRIxFAST16): Likewise.
20094 [C99-based-standards] (PRIXFAST16): Likewise.
20095 [C99-based-standards] (SCNdFAST16): Likewise.
20096 [C99-based-standards] (SCNiFAST16): Likewise.
20097 [C99-based-standards] (SCNoFAST16): Likewise.
20098 [C99-based-standards] (SCNuFAST16): Likewise.
20099 [C99-based-standards] (SCNxFAST16): Likewise.
20100 [C99-based-standards] (PRId32): Likewise.
20101 [C99-based-standards] (PRIi32): Likewise.
20102 [C99-based-standards] (PRIo32): Likewise.
20103 [C99-based-standards] (PRIu32): Likewise.
20104 [C99-based-standards] (PRIx32): Likewise.
20105 [C99-based-standards] (PRIX32): Likewise.
20106 [C99-based-standards] (SCNd32): Likewise.
20107 [C99-based-standards] (SCNi32): Likewise.
20108 [C99-based-standards] (SCNo32): Likewise.
20109 [C99-based-standards] (SCNu32): Likewise.
20110 [C99-based-standards] (SCNx32): Likewise.
20111 [C99-based-standards] (PRIdLEAST32): Likewise.
20112 [C99-based-standards] (PRIiLEAST32): Likewise.
20113 [C99-based-standards] (PRIoLEAST32): Likewise.
20114 [C99-based-standards] (PRIuLEAST32): Likewise.
20115 [C99-based-standards] (PRIxLEAST32): Likewise.
20116 [C99-based-standards] (PRIXLEAST32): Likewise.
20117 [C99-based-standards] (SCNdLEAST32): Likewise.
20118 [C99-based-standards] (SCNiLEAST32): Likewise.
20119 [C99-based-standards] (SCNoLEAST32): Likewise.
20120 [C99-based-standards] (SCNuLEAST32): Likewise.
20121 [C99-based-standards] (SCNxLEAST32): Likewise.
20122 [C99-based-standards] (PRIdFAST32): Likewise.
20123 [C99-based-standards] (PRIiFAST32): Likewise.
20124 [C99-based-standards] (PRIoFAST32): Likewise.
20125 [C99-based-standards] (PRIuFAST32): Likewise.
20126 [C99-based-standards] (PRIxFAST32): Likewise.
20127 [C99-based-standards] (PRIXFAST32): Likewise.
20128 [C99-based-standards] (SCNdFAST32): Likewise.
20129 [C99-based-standards] (SCNiFAST32): Likewise.
20130 [C99-based-standards] (SCNoFAST32): Likewise.
20131 [C99-based-standards] (SCNuFAST32): Likewise.
20132 [C99-based-standards] (SCNxFAST32): Likewise.
20133 [C99-based-standards] (PRId64): Likewise.
20134 [C99-based-standards] (PRIi64): Likewise.
20135 [C99-based-standards] (PRIo64): Likewise.
20136 [C99-based-standards] (PRIu64): Likewise.
20137 [C99-based-standards] (PRIx64): Likewise.
20138 [C99-based-standards] (PRIX64): Likewise.
20139 [C99-based-standards] (SCNd64): Likewise.
20140 [C99-based-standards] (SCNi64): Likewise.
20141 [C99-based-standards] (SCNo64): Likewise.
20142 [C99-based-standards] (SCNu64): Likewise.
20143 [C99-based-standards] (SCNx64): Likewise.
20144 [C99-based-standards] (PRIdLEAST64): Likewise.
20145 [C99-based-standards] (PRIiLEAST64): Likewise.
20146 [C99-based-standards] (PRIoLEAST64): Likewise.
20147 [C99-based-standards] (PRIuLEAST64): Likewise.
20148 [C99-based-standards] (PRIxLEAST64): Likewise.
20149 [C99-based-standards] (PRIXLEAST64): Likewise.
20150 [C99-based-standards] (SCNdLEAST64): Likewise.
20151 [C99-based-standards] (SCNiLEAST64): Likewise.
20152 [C99-based-standards] (SCNoLEAST64): Likewise.
20153 [C99-based-standards] (SCNuLEAST64): Likewise.
20154 [C99-based-standards] (SCNxLEAST64): Likewise.
20155 [C99-based-standards] (PRIdFAST64): Likewise.
20156 [C99-based-standards] (PRIiFAST64): Likewise.
20157 [C99-based-standards] (PRIoFAST64): Likewise.
20158 [C99-based-standards] (PRIuFAST64): Likewise.
20159 [C99-based-standards] (PRIxFAST64): Likewise.
20160 [C99-based-standards] (PRIXFAST64): Likewise.
20161 [C99-based-standards] (SCNdFAST64): Likewise.
20162 [C99-based-standards] (SCNiFAST64): Likewise.
20163 [C99-based-standards] (SCNoFAST64): Likewise.
20164 [C99-based-standards] (SCNuFAST64): Likewise.
20165 [C99-based-standards] (SCNxFAST64): Likewise.
20166 [C99-based-standards] (PRIdMAX): Likewise.
20167 [C99-based-standards] (PRIiMAX): Likewise.
20168 [C99-based-standards] (PRIoMAX): Likewise.
20169 [C99-based-standards] (PRIuMAX): Likewise.
20170 [C99-based-standards] (PRIxMAX): Likewise.
20171 [C99-based-standards] (PRIXMAX): Likewise.
20172 [C99-based-standards] (SCNdMAX): Likewise.
20173 [C99-based-standards] (SCNiMAX): Likewise.
20174 [C99-based-standards] (SCNoMAX): Likewise.
20175 [C99-based-standards] (SCNuMAX): Likewise.
20176 [C99-based-standards] (SCNxMAX): Likewise.
20177 [C99-based-standards] (PRIdPTR): Likewise.
20178 [C99-based-standards] (PRIiPTR): Likewise.
20179 [C99-based-standards] (PRIoPTR): Likewise.
20180 [C99-based-standards] (PRIuPTR): Likewise.
20181 [C99-based-standards] (PRIxPTR): Likewise.
20182 [C99-based-standards] (PRIXPTR): Likewise.
20183 [C99-based-standards] (SCNdPTR): Likewise.
20184 [C99-based-standards] (SCNiPTR): Likewise.
20185 [C99-based-standards] (SCNoPTR): Likewise.
20186 [C99-based-standards] (SCNuPTR): Likewise.
20187 [C99-based-standards] (SCNxPTR): Likewise.
20188 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20189 allow.
20190 * conform/data/stdint.h-data: Update comments to clarify
20191 requirements.
20192 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
20193 type.
20194 [C99-based standards] (INT8_MAX): Likewise.
20195 [C99-based standards] (INT16_MIN): Likewise.
20196 [C99-based standards] (INT16_MAX): Likewise.
20197 [C99-based standards] (INT32_MIN): Likewise.
20198 [C99-based standards] (INT32_MAX): Likewise.
20199 [C99-based standards] (INT64_MIN): Likewise.
20200 [C99-based standards] (INT64_MAX): Likewise.
20201 [C99-based standards] (UINT8_MAX): Likewise.
20202 [C99-based standards] (UINT16_MAX): Likewise.
20203 [C99-based standards] (UINT32_MAX): Likewise.
20204 [C99-based standards] (UINT64_MAX): Likewise.
20205 [C99-based standards] (INT_LEAST8_MIN): Likewise.
20206 [C99-based standards] (INT_LEAST8_MAX): Likewise.
20207 [C99-based standards] (INT_LEAST16_MIN): Likewise.
20208 [C99-based standards] (INT_LEAST16_MAX): Likewise.
20209 [C99-based standards] (INT_LEAST32_MIN): Likewise.
20210 [C99-based standards] (INT_LEAST32_MAX): Likewise.
20211 [C99-based standards] (INT_LEAST64_MIN): Likewise.
20212 [C99-based standards] (INT_LEAST64_MAX): Likewise.
20213 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20214 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20215 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20216 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20217 [C99-based standards] (INT_FAST8_MIN): Likewise.
20218 [C99-based standards] (INT_FAST8_MAX): Likewise.
20219 [C99-based standards] (INT_FAST16_MIN): Likewise.
20220 [C99-based standards] (INT_FAST16_MAX): Likewise.
20221 [C99-based standards] (INT_FAST32_MIN): Likewise.
20222 [C99-based standards] (INT_FAST32_MAX): Likewise.
20223 [C99-based standards] (INT_FAST64_MIN): Likewise.
20224 [C99-based standards] (INT_FAST64_MAX): Likewise.
20225 [C99-based standards] (UINT_FAST8_MAX): Likewise.
20226 [C99-based standards] (UINT_FAST16_MAX): Likewise.
20227 [C99-based standards] (UINT_FAST32_MAX): Likewise.
20228 [C99-based standards] (UINT_FAST64_MAX): Likewise.
20229 [C99-based standards] (INTPTR_MIN): Likewise.
20230 [C99-based standards] (INTPTR_MAX): Likewise.
20231 [C99-based standards] (UINTPTR_MAX): Likewise.
20232 [C99-based standards] (INTMAX_MIN): Likewise.
20233 [C99-based standards] (INTMAX_MAX): Likewise.
20234 [C99-based standards] (UINTMAX_MAX): Likewise.
20235 [C99-based standards] (PTRDIFF_MIN): Likewise.
20236 [C99-based standards] (PTRDIFF_MAX): Likewise.
20237 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20238 [C99-based standards] (SIZE_MAX): Likewise.
20239 [C99-based standards] (WCHAR_MAX): Likewise.
20240 [C99-based standards] (WINT_MAX): Likewise.
20241 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
20242 constraint on value.
20243 [C99-based standards] (WCHAR_MIN): Likewise.
20244 [C99-based standards] (WINT_MIN): Likewise.
20245 [C99-based standards] (*_t): Allow.
20246 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20247 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20248 Include math.h-data and complex.h-data. Remove all expectations
20249 of math.h and complex.h contents.
20250 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20251 at end of line.
20252 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20253 (struct tm): Expect tag.
20254 [C99-based-standards] (wcstof): Expect function.
20255 [C99-based-standards] (wcstold): Likewise.
20256 [C99-based-standards] (wcstoll): Likewise.
20257 [C99-based-standards] (wcstoull): Likewise.
20258 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20259 macro-int-constant. Specify type.
20260 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
20261 constraint on value.
20262 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20263 Specify type.
20264 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20265 Specify value.
20266 [ISO C standards]: Do not allow headers.
20267 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20268 wcs[abcdefghijklmnopqrstuvwxyz]*.
20269 [ISO C standards] (*_t): Do not allow.
20270 * conform/data/wctype.h-data [C99-based standards] (iswblank):
20271 Expect function.
20272 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20273 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20274 Specify type.
20275 [ISO C standards]: Do not allow headers.
20276 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20277 is[abcdefghijklmnopqrstuvwxyz]*.
20278 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20279 to[abcdefghijklmnopqrstuvwxyz]*.
20280 [ISO C standards] (*_t): Do not allow.
20281 * conform/data/stdalign.h-data: New file.
20282 * conform/data/stdbool.h-data: Likewise.
20283 * conform/data/stdnoreturn.h-data: Likewise.
20284
7514feb8
RM
202852012-11-07 Roland McGrath <roland@hack.frob.com>
20286
20287 [BZ #14815]
20288 * manual/filesys.texi (Directory Entries): Typo fix.
20289 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20290
19b2ecfc
MS
202912012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20292
20293 * elf/elf.h (EM_AARCH64): New macro.
20294 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20295 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20296 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20297 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20298 (R_AARCH64_TLSDESC): Likewise.
20299 (NT_ARM_TLS): Likewise.
20300 (NT_ARM_HW_BREAK): Likewise.
20301 (NT_ARM_HW_WATCH): Likewise.
20302
60e235ee
JM
203032012-11-07 Joseph Myers <joseph@codesourcery.com>
20304
20305 [BZ #14811]
20306 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20307 (__ieee754_powl): Saturate nonzero exponents with absolute value
20308 below 0x1p-79 to +/- 0x1p-79.
20309 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20310 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20311 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20312 nonzero exponents with absolute value below 0x1p-32 to +/-
20313 0x1p-32.
20314 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
20315 (__ieee754_powl): Saturate nonzero exponents with absolute value
20316 below 0x1p-79 to +/- 0x1p-79.
20317 * math/libm-test.inc (pow_test): Add more tests.
20318
0ab234b7
AK
203192012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20320
20321 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20322 _dl_s390_cap_flags with kernel. Increase string length.
20323 (_dl_s390_platforms): Add z196 and zEC12.
20324
45832f74
JM
203252012-11-07 Joseph Myers <joseph@codesourcery.com>
20326
20327 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
20328 Change XOPEN21K to XOPEN2K.
20329
19218757
MK
203302012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
20331
20332 * string/memmove.c: Use memcpy when possible.
20333
c5f45721
AJ
203342012-11-06 Andreas Jaeger <aj@suse.de>
20335
20336 * po/eo.po: Update from translation team.
20337
82477c28
JM
203382012-11-06 Joseph Myers <joseph@codesourcery.com>
20339
20340 [BZ #14793]
20341 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
20342 exponent and small x and y exponents, scale x or y up. Increase
20343 by 2 the exponent used in scaling up.
20344 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20345 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20346 * math/libm-test.inc (fma_test): Add more tests.
20347 (fma_test_towardzero): Likewise.
20348 (fma_test_downward): Likewise.
20349 (fma_test_upward): Likewise.
20350
99252c8c
JM
203512012-11-05 Joseph Myers <joseph@codesourcery.com>
20352
acfa885f
JM
20353 [BZ #14805]
20354 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
20355 fenv_t *.
20356
99252c8c
JM
20357 [BZ #14801]
20358 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
20359 namespace for names of struct fields.
20360 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
20361 fenv_t fields.
20362 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20363 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
20364
d6d98dea
ST
203652012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20366
20367 [BZ #3665]
20368 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
20369
e10bb107
TS
203702012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20371
20372 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
20373 PTR_DEMANGLE.
20374
20375 [BZ #5246]
20376 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
20377 PTR_DEMANGLE.
20378
a0c2940d
JM
203792012-11-04 Joseph Myers <joseph@codesourcery.com>
20380
20381 [BZ #14797]
20382 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
20383 definitely overflow as x * y not x * y + z.
20384 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20385 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20386 * math/libm-test.inc (fma_test): Add more tests.
20387 (fma_test_towardzero): Likewise.
20388 (fma_test_downward): Likewise.
20389 (fma_test_upward): Likewise.
20390
b830319d
TS
203912012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20392
20393 [BZ #157]
20394
20395 * include/stub-tag.h: Remove file.
20396 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
20397 '#include' of it.
20398 * manual/maint.texi (Porting): Don't reference it.
20399 * Makerules ($(objpfx)stubs): Likewise.
20400 * dirent/closedir.c: Don't include <stub-tag.h>.
20401 * dirent/dirfd.c: Likewise.
20402 * dirent/fdopendir.c: Likewise.
20403 * dirent/getdents.c: Likewise.
20404 * dirent/getdents64.c: Likewise.
20405 * dirent/opendir.c: Likewise.
20406 * dirent/readdir.c: Likewise.
20407 * dirent/readdir64.c: Likewise.
20408 * dirent/readdir64_r.c: Likewise.
20409 * dirent/readdir_r.c: Likewise.
20410 * dirent/rewinddir.c: Likewise.
20411 * dirent/seekdir.c: Likewise.
20412 * dirent/telldir.c: Likewise.
20413 * gmon/profil.c: Likewise.
20414 * grp/setgroups.c: Likewise.
20415 * inet/if_index.c: Likewise.
20416 * io/access.c: Likewise.
20417 * io/chdir.c: Likewise.
20418 * io/chmod.c: Likewise.
20419 * io/chown.c: Likewise.
20420 * io/close.c: Likewise.
20421 * io/dup.c: Likewise.
20422 * io/dup2.c: Likewise.
20423 * io/dup3.c: Likewise.
20424 * io/euidaccess.c: Likewise.
20425 * io/faccessat.c: Likewise.
20426 * io/fchdir.c: Likewise.
20427 * io/fchmod.c: Likewise.
20428 * io/fchmodat.c: Likewise.
20429 * io/fchown.c: Likewise.
20430 * io/fchownat.c: Likewise.
20431 * io/fcntl.c: Likewise.
20432 * io/flock.c: Likewise.
20433 * io/fstatfs.c: Likewise.
20434 * io/fstatfs64.c: Likewise.
20435 * io/fstatvfs.c: Likewise.
20436 * io/fstatvfs64.c: Likewise.
20437 * io/futimens.c: Likewise.
20438 * io/fxstat.c: Likewise.
20439 * io/fxstat64.c: Likewise.
20440 * io/fxstatat.c: Likewise.
20441 * io/fxstatat64.c: Likewise.
20442 * io/getcwd.c: Likewise.
20443 * io/isatty.c: Likewise.
20444 * io/lchmod.c: Likewise.
20445 * io/lchown.c: Likewise.
20446 * io/link.c: Likewise.
20447 * io/linkat.c: Likewise.
20448 * io/lseek.c: Likewise.
20449 * io/lseek64.c: Likewise.
20450 * io/lxstat64.c: Likewise.
20451 * io/mkdir.c: Likewise.
20452 * io/mkdirat.c: Likewise.
20453 * io/mkfifo.c: Likewise.
20454 * io/mkfifoat.c: Likewise.
20455 * io/open.c: Likewise.
20456 * io/open64.c: Likewise.
20457 * io/openat.c: Likewise.
20458 * io/openat64.c: Likewise.
20459 * io/pipe.c: Likewise.
20460 * io/pipe2.c: Likewise.
20461 * io/poll.c: Likewise.
20462 * io/posix_fadvise.c: Likewise.
20463 * io/posix_fadvise64.c: Likewise.
20464 * io/posix_fallocate.c: Likewise.
20465 * io/posix_fallocate64.c: Likewise.
20466 * io/read.c: Likewise.
20467 * io/readlink.c: Likewise.
20468 * io/readlinkat.c: Likewise.
20469 * io/rmdir.c: Likewise.
20470 * io/sendfile.c: Likewise.
20471 * io/sendfile64.c: Likewise.
20472 * io/statfs.c: Likewise.
20473 * io/statfs64.c: Likewise.
20474 * io/statvfs.c: Likewise.
20475 * io/statvfs64.c: Likewise.
20476 * io/symlink.c: Likewise.
20477 * io/symlinkat.c: Likewise.
20478 * io/ttyname.c: Likewise.
20479 * io/ttyname_r.c: Likewise.
20480 * io/umask.c: Likewise.
20481 * io/unlink.c: Likewise.
20482 * io/unlinkat.c: Likewise.
20483 * io/utime.c: Likewise.
20484 * io/utimensat.c: Likewise.
20485 * io/write.c: Likewise.
20486 * io/xmknod.c: Likewise.
20487 * io/xmknodat.c: Likewise.
20488 * io/xstat.c: Likewise.
20489 * io/xstat64.c: Likewise.
20490 * login/getpt.c: Likewise.
20491 * login/grantpt.c: Likewise.
20492 * login/unlockpt.c: Likewise.
20493 * math/e_acoshl.c: Likewise.
20494 * math/e_acosl.c: Likewise.
20495 * math/e_asinl.c: Likewise.
20496 * math/e_atan2l.c: Likewise.
20497 * math/e_atanhl.c: Likewise.
20498 * math/e_coshl.c: Likewise.
20499 * math/e_expl.c: Likewise.
20500 * math/e_fmodl.c: Likewise.
20501 * math/e_gammal_r.c: Likewise.
20502 * math/e_hypotl.c: Likewise.
20503 * math/e_j0l.c: Likewise.
20504 * math/e_j1l.c: Likewise.
20505 * math/e_jnl.c: Likewise.
20506 * math/e_lgammal_r.c: Likewise.
20507 * math/e_log10l.c: Likewise.
20508 * math/e_log2l.c: Likewise.
20509 * math/e_logl.c: Likewise.
20510 * math/e_powl.c: Likewise.
20511 * math/e_rem_pio2l.c: Likewise.
20512 * math/e_sinhl.c: Likewise.
20513 * math/e_sqrtl.c: Likewise.
20514 * math/fclrexcpt.c: Likewise.
20515 * math/fedisblxcpt.c: Likewise.
20516 * math/feenablxcpt.c: Likewise.
20517 * math/fegetenv.c: Likewise.
20518 * math/fegetexcept.c: Likewise.
20519 * math/fegetround.c: Likewise.
20520 * math/feholdexcpt.c: Likewise.
20521 * math/fesetenv.c: Likewise.
20522 * math/fesetround.c: Likewise.
20523 * math/feupdateenv.c: Likewise.
20524 * math/fgetexcptflg.c: Likewise.
20525 * math/fraiseexcpt.c: Likewise.
20526 * math/fsetexcptflg.c: Likewise.
20527 * math/ftestexcept.c: Likewise.
20528 * math/k_cosl.c: Likewise.
20529 * math/k_rem_pio2l.c: Likewise.
20530 * math/k_sinl.c: Likewise.
20531 * math/k_tanl.c: Likewise.
20532 * math/s_asinhl.c: Likewise.
20533 * math/s_atanl.c: Likewise.
20534 * math/s_cbrtl.c: Likewise.
20535 * math/s_erfl.c: Likewise.
20536 * math/s_expm1l.c: Likewise.
20537 * math/s_log1pl.c: Likewise.
20538 * math/s_tanhl.c: Likewise.
20539 * misc/acct.c: Likewise.
20540 * misc/brk.c: Likewise.
20541 * misc/chflags.c: Likewise.
20542 * misc/chroot.c: Likewise.
20543 * misc/fchflags.c: Likewise.
20544 * misc/fgetxattr.c: Likewise.
20545 * misc/flistxattr.c: Likewise.
20546 * misc/fremovexattr.c: Likewise.
20547 * misc/fsetxattr.c: Likewise.
20548 * misc/fsync.c: Likewise.
20549 * misc/ftruncate.c: Likewise.
20550 * misc/futimes.c: Likewise.
20551 * misc/futimesat.c: Likewise.
20552 * misc/getdomain.c: Likewise.
20553 * misc/getdtsz.c: Likewise.
20554 * misc/gethostid.c: Likewise.
20555 * misc/gethostname.c: Likewise.
20556 * misc/getloadavg.c: Likewise.
20557 * misc/getpagesize.c: Likewise.
20558 * misc/getsysstats.c: Likewise.
20559 * misc/getxattr.c: Likewise.
20560 * misc/gtty.c: Likewise.
20561 * misc/ioctl.c: Likewise.
20562 * misc/lgetxattr.c: Likewise.
20563 * misc/listxattr.c: Likewise.
20564 * misc/llistxattr.c: Likewise.
20565 * misc/lremovexattr.c: Likewise.
20566 * misc/lsetxattr.c: Likewise.
20567 * misc/lutimes.c: Likewise.
20568 * misc/madvise.c: Likewise.
20569 * misc/mincore.c: Likewise.
20570 * misc/mlock.c: Likewise.
20571 * misc/mlockall.c: Likewise.
20572 * misc/mmap.c: Likewise.
20573 * misc/mprotect.c: Likewise.
20574 * misc/msync.c: Likewise.
20575 * misc/munlock.c: Likewise.
20576 * misc/munlockall.c: Likewise.
20577 * misc/munmap.c: Likewise.
20578 * misc/preadv.c: Likewise.
20579 * misc/preadv64.c: Likewise.
20580 * misc/ptrace.c: Likewise.
20581 * misc/pwritev.c: Likewise.
20582 * misc/pwritev64.c: Likewise.
20583 * misc/readv.c: Likewise.
20584 * misc/reboot.c: Likewise.
20585 * misc/remap_file_pages.c: Likewise.
20586 * misc/removexattr.c: Likewise.
20587 * misc/revoke.c: Likewise.
20588 * misc/select.c: Likewise.
20589 * misc/setdomain.c: Likewise.
20590 * misc/setegid.c: Likewise.
20591 * misc/seteuid.c: Likewise.
20592 * misc/sethostid.c: Likewise.
20593 * misc/sethostname.c: Likewise.
20594 * misc/setregid.c: Likewise.
20595 * misc/setreuid.c: Likewise.
20596 * misc/setxattr.c: Likewise.
20597 * misc/sstk.c: Likewise.
20598 * misc/stty.c: Likewise.
20599 * misc/swapoff.c: Likewise.
20600 * misc/swapon.c: Likewise.
20601 * misc/sync.c: Likewise.
20602 * misc/syncfs.c: Likewise.
20603 * misc/syscall.c: Likewise.
20604 * misc/truncate.c: Likewise.
20605 * misc/ualarm.c: Likewise.
20606 * misc/usleep.c: Likewise.
20607 * misc/ustat.c: Likewise.
20608 * misc/utimes.c: Likewise.
20609 * misc/vhangup.c: Likewise.
20610 * misc/writev.c: Likewise.
20611 * posix/_exit.c: Likewise.
20612 * posix/alarm.c: Likewise.
20613 * posix/execve.c: Likewise.
20614 * posix/fexecve.c: Likewise.
20615 * posix/fork.c: Likewise.
20616 * posix/fpathconf.c: Likewise.
20617 * posix/getaddrinfo.c: Likewise.
20618 * posix/getegid.c: Likewise.
20619 * posix/geteuid.c: Likewise.
20620 * posix/getgid.c: Likewise.
20621 * posix/getgroups.c: Likewise.
20622 * posix/getlogin.c: Likewise.
20623 * posix/getlogin_r.c: Likewise.
20624 * posix/getpgid.c: Likewise.
20625 * posix/getpid.c: Likewise.
20626 * posix/getppid.c: Likewise.
20627 * posix/getresgid.c: Likewise.
20628 * posix/getresuid.c: Likewise.
20629 * posix/getsid.c: Likewise.
20630 * posix/getuid.c: Likewise.
20631 * posix/glob64.c: Likewise.
20632 * posix/nanosleep.c: Likewise.
20633 * posix/pathconf.c: Likewise.
20634 * posix/pause.c: Likewise.
20635 * posix/posix_madvise.c: Likewise.
20636 * posix/pread.c: Likewise.
20637 * posix/pread64.c: Likewise.
20638 * posix/pwrite.c: Likewise.
20639 * posix/pwrite64.c: Likewise.
20640 * posix/sched_getaffinity.c: Likewise.
20641 * posix/sched_getp.c: Likewise.
20642 * posix/sched_gets.c: Likewise.
20643 * posix/sched_primax.c: Likewise.
20644 * posix/sched_primin.c: Likewise.
20645 * posix/sched_rr_gi.c: Likewise.
20646 * posix/sched_setaffinity.c: Likewise.
20647 * posix/sched_setp.c: Likewise.
20648 * posix/sched_sets.c: Likewise.
20649 * posix/sched_yield.c: Likewise.
20650 * posix/setgid.c: Likewise.
20651 * posix/setlogin.c: Likewise.
20652 * posix/setpgid.c: Likewise.
20653 * posix/setresgid.c: Likewise.
20654 * posix/setresuid.c: Likewise.
20655 * posix/setsid.c: Likewise.
20656 * posix/setuid.c: Likewise.
20657 * posix/sleep.c: Likewise.
20658 * posix/spawni.c: Likewise.
20659 * posix/sysconf.c: Likewise.
20660 * posix/times.c: Likewise.
20661 * posix/wait.c: Likewise.
20662 * posix/wait3.c: Likewise.
20663 * posix/wait4.c: Likewise.
20664 * posix/waitpid.c: Likewise.
20665 * resolv/gai_sigqueue.c: Likewise.
20666 * resource/getpriority.c: Likewise.
20667 * resource/getrlimit.c: Likewise.
20668 * resource/getrusage.c: Likewise.
20669 * resource/nice.c: Likewise.
20670 * resource/setpriority.c: Likewise.
20671 * resource/setrlimit.c: Likewise.
20672 * resource/ulimit.c: Likewise.
20673 * rt/aio_cancel.c: Likewise.
20674 * rt/aio_fsync.c: Likewise.
20675 * rt/aio_read.c: Likewise.
20676 * rt/aio_sigqueue.c: Likewise.
20677 * rt/aio_suspend.c: Likewise.
20678 * rt/aio_write.c: Likewise.
20679 * rt/clock_getres.c: Likewise.
20680 * rt/clock_gettime.c: Likewise.
20681 * rt/clock_nanosleep.c: Likewise.
20682 * rt/clock_settime.c: Likewise.
20683 * rt/lio_listio.c: Likewise.
20684 * rt/mq_close.c: Likewise.
20685 * rt/mq_getattr.c: Likewise.
20686 * rt/mq_notify.c: Likewise.
20687 * rt/mq_open.c: Likewise.
20688 * rt/mq_receive.c: Likewise.
20689 * rt/mq_send.c: Likewise.
20690 * rt/mq_setattr.c: Likewise.
20691 * rt/mq_timedreceive.c: Likewise.
20692 * rt/mq_timedsend.c: Likewise.
20693 * rt/mq_unlink.c: Likewise.
20694 * rt/shm_open.c: Likewise.
20695 * rt/shm_unlink.c: Likewise.
20696 * rt/timer_create.c: Likewise.
20697 * rt/timer_delete.c: Likewise.
20698 * rt/timer_getoverr.c: Likewise.
20699 * rt/timer_gettime.c: Likewise.
20700 * rt/timer_settime.c: Likewise.
20701 * setjmp/__longjmp.c: Likewise.
20702 * setjmp/setjmp.c: Likewise.
20703 * signal/kill.c: Likewise.
20704 * signal/killpg.c: Likewise.
20705 * signal/raise.c: Likewise.
20706 * signal/sigaction.c: Likewise.
20707 * signal/sigaltstack.c: Likewise.
20708 * signal/sigblock.c: Likewise.
20709 * signal/sigignore.c: Likewise.
20710 * signal/sigintr.c: Likewise.
20711 * signal/signal.c: Likewise.
20712 * signal/sigpause.c: Likewise.
20713 * signal/sigpending.c: Likewise.
20714 * signal/sigqueue.c: Likewise.
20715 * signal/sigreturn.c: Likewise.
20716 * signal/sigset.c: Likewise.
20717 * signal/sigsetmask.c: Likewise.
20718 * signal/sigstack.c: Likewise.
20719 * signal/sigsuspend.c: Likewise.
20720 * signal/sigtimedwait.c: Likewise.
20721 * signal/sigvec.c: Likewise.
20722 * signal/sigwait.c: Likewise.
20723 * signal/sigwaitinfo.c: Likewise.
20724 * signal/sysv_signal.c: Likewise.
20725 * socket/accept.c: Likewise.
20726 * socket/accept4.c: Likewise.
20727 * socket/bind.c: Likewise.
20728 * socket/connect.c: Likewise.
20729 * socket/getpeername.c: Likewise.
20730 * socket/getsockname.c: Likewise.
20731 * socket/getsockopt.c: Likewise.
20732 * socket/isfdtype.c: Likewise.
20733 * socket/listen.c: Likewise.
20734 * socket/recv.c: Likewise.
20735 * socket/recvfrom.c: Likewise.
20736 * socket/recvmsg.c: Likewise.
20737 * socket/send.c: Likewise.
20738 * socket/sendmsg.c: Likewise.
20739 * socket/sendto.c: Likewise.
20740 * socket/setsockopt.c: Likewise.
20741 * socket/shutdown.c: Likewise.
20742 * socket/sockatmark.c: Likewise.
20743 * socket/socket.c: Likewise.
20744 * socket/socketpair.c: Likewise.
20745 * stdio-common/ctermid.c: Likewise.
20746 * stdio-common/cuserid.c: Likewise.
20747 * stdio-common/remove.c: Likewise.
20748 * stdio-common/rename.c: Likewise.
20749 * stdio-common/renameat.c: Likewise.
20750 * stdio-common/tempname.c: Likewise.
20751 * stdlib/getcontext.c: Likewise.
20752 * stdlib/makecontext.c: Likewise.
20753 * stdlib/setcontext.c: Likewise.
20754 * stdlib/swapcontext.c: Likewise.
20755 * stdlib/system.c: Likewise.
20756 * streams/fattach.c: Likewise.
20757 * streams/fdetach.c: Likewise.
20758 * streams/getmsg.c: Likewise.
20759 * streams/getpmsg.c: Likewise.
20760 * streams/putmsg.c: Likewise.
20761 * streams/putpmsg.c: Likewise.
20762 * sysdeps/unix/bsd/getpt.c: Likewise.
20763 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
20764 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
20765 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20767 Likewise.
20768 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
20769 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20770 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
20771 * sysvipc/msgctl.c: Likewise.
20772 * sysvipc/msgget.c: Likewise.
20773 * sysvipc/msgrcv.c: Likewise.
20774 * sysvipc/msgsnd.c: Likewise.
20775 * sysvipc/semctl.c: Likewise.
20776 * sysvipc/semget.c: Likewise.
20777 * sysvipc/semop.c: Likewise.
20778 * sysvipc/semtimedop.c: Likewise.
20779 * sysvipc/shmat.c: Likewise.
20780 * sysvipc/shmctl.c: Likewise.
20781 * sysvipc/shmdt.c: Likewise.
20782 * sysvipc/shmget.c: Likewise.
20783 * termios/tcdrain.c: Likewise.
20784 * termios/tcflow.c: Likewise.
20785 * termios/tcflush.c: Likewise.
20786 * termios/tcgetattr.c: Likewise.
20787 * termios/tcgetpgrp.c: Likewise.
20788 * termios/tcsendbrk.c: Likewise.
20789 * termios/tcsetattr.c: Likewise.
20790 * termios/tcsetpgrp.c: Likewise.
20791 * time/adjtime.c: Likewise.
20792 * time/clock.c: Likewise.
20793 * time/getitimer.c: Likewise.
20794 * time/gettimeofday.c: Likewise.
20795 * time/setitimer.c: Likewise.
20796 * time/settimeofday.c: Likewise.
20797 * time/stime.c: Likewise.
20798 * time/time.c: Likewise.
20799
208002012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 20801
a20492cf
PT
20802 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
20803 /usr/old/bin.
20804
72e182e3
PT
20805 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
20806 instead of spaces.
20807 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
20808
fbeafede
JM
208092012-11-03 Joseph Myers <joseph@codesourcery.com>
20810
5b5b04d6
JM
20811 [BZ #14796]
20812 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
20813 FE_TONEAREST before applying Dekker multiplication and Knuth
20814 addition. Clear inexact exceptions and check for exact zero
20815 results afterwards.
20816 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20817 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20818 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20819 * math/libm-test.inc (fma_test): Add more tests.
20820 (fma_test_towardzero): Likewise.
20821 (fma_test_downward): Likewise.
20822 (fma_test_upward): Likewise.
20823 * sysdeps/generic/math_private.h (default_libc_fesetround): New
20824 function.
20825 (libc_fesetround): New macro.
20826 (libc_fesetroundf): Likewise.
20827 (libc_fesetroundl): Likewise.
20828 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
20829 function.
20830 (libc_fesetround_387): Likewise.
20831 (libc_fesetroundf): New macro.
20832 (libc_fesetround): Likewise.
20833 (libc_fesetroundl): Likewise.
20834 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
20835 function.
20836 (libc_fesetroundf): New macro.
20837 (libc_fesetround): Likewise.
20838 (libc_fesetroundl): Likewise.
20839 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
20840 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
20841 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
20842 libm_hidden_ver.
20843 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
20844 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
20845 libm_hidden_def.
20846 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
20847 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
20848 libm_hidden_ver.
20849 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
20850 libm_hidden_def.
20851
fbeafede
JM
20852 [BZ #3439]
20853 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
20854 integer constant usable in #if and use that to give value to enum
20855 constant.
20856 (FE_DIVBYZERO): Likewise.
20857 (FE_UNDERFLOW): Likewise.
20858 (FE_OVERFLOW): Likewise.
20859 (FE_INVALID): Likewise.
20860 (FE_INVALID_SNAN): Likewise.
20861 (FE_INVALID_ISI): Likewise.
20862 (FE_INVALID_IDI): Likewise.
20863 (FE_INVALID_ZDZ): Likewise.
20864 (FE_INVALID_IMZ): Likewise.
20865 (FE_INVALID_COMPARE): Likewise.
20866 (FE_INVALID_SOFTWARE): Likewise.
20867 (FE_INVALID_SQRT): Likewise.
20868 (FE_INVALID_INTEGER_CONVERSION): Likewise.
20869 (FE_TONEAREST): Likewise.
20870 (FE_TOWARDZERO): Likewise.
20871 (FE_UPWARD): Likewise.
20872 (FE_DOWNWARD): Likewise.
20873 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
20874 (FE_DIVBYZERO): Likewise.
20875 (FE_OVERFLOW): Likewise.
20876 (FE_UNDERFLOW): Likewise.
20877 (FE_INEXACT): Likewise.
20878 (FE_TONEAREST): Likewise.
20879 (FE_DOWNWARD): Likewise.
20880 (FE_UPWARD): Likewise.
20881 (FE_TOWARDZERO): Likewise.
20882 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
20883 (FE_UNDERFLOW): Likewise.
20884 (FE_OVERFLOW): Likewise.
20885 (FE_DIVBYZERO): Likewise.
20886 (FE_INVALID): Likewise.
20887 (FE_TONEAREST): Likewise.
20888 (FE_TOWARDZERO): Likewise.
20889 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
20890 (FE_OVERFLOW): Likewise.
20891 (FE_UNDERFLOW): Likewise.
20892 (FE_DIVBYZERO): Likewise.
20893 (FE_INEXACT): Likewise.
20894 (FE_TONEAREST): Likewise.
20895 (FE_TOWARDZERO): Likewise.
20896 (FE_UPWARD): Likewise.
20897 (FE_DOWNWARD): Likewise.
20898 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
20899 (FE_DIVBYZERO): Likewise.
20900 (FE_OVERFLOW): Likewise.
20901 (FE_UNDERFLOW): Likewise.
20902 (FE_INEXACT): Likewise.
20903 (FE_TONEAREST): Likewise.
20904 (FE_DOWNWARD): Likewise.
20905 (FE_UPWARD): Likewise.
20906 (FE_TOWARDZERO): Likewise.
20907
105ca950
CM
209082012-11-02 Chris Metcalf <cmetcalf@tilera.com>
20909
20910 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
20911
a542b389
AS
209122012-11-03 Andreas Schwab <schwab@linux-m68k.org>
20913
20914 * scripts/cross-test-ssh.sh (command): Use newlines to separate
20915 commands. Quote $PWD.
20916 (blacklist_exports): Don't use remove_newlines. Replace "declare
20917 -x" by "export".
20918 (remove_newlines): Remove.
20919
f62c8abc
L
209202012-11-02 H.J. Lu <hongjiu.lu@intel.com>
20921
20922 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
20923 * stdlib/stdlib.h (atof): Moved to ...
20924 * include/bits/stdlib-float.h: Here. New file.
20925 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
20926 * stdlib/bits/stdlib-float.h: New file.
20927 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
20928 -mno-sse -mno-mmx.
20929 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
20930 <xmmintrin.h>.
20931
0155d5b2
JM
209322012-11-02 Joseph Myers <joseph@codesourcery.com>
20933
a68d0680
JM
20934 * conform/conformtest.pl (@headers): Add fenv.h.
20935 * conform/data/fenv.h-data: New file.
20936 * include/fenv.h [_ISOMAC]: Disable all contents of file except
20937 include of <math/fenv.h>.
20938
caf7f573
JM
20939 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
20940 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
20941 && !UNIX98]. Enables tests for XOPEN2K8.
20942 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
20943 POSIX2008]: Likewise.
20944
6c073ad6
JM
20945 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
20946 (struct rusage): Do not expect type or its members.
20947
0155d5b2
JM
20948 [BZ #3439]
20949 * math/math.h (FP_NAN): Define macro to integer constant usable in
20950 #if and use that to give value to enum constant.
20951 (FP_INFINITE): Likewise.
20952 (FP_ZERO): Likewise.
20953 (FP_SUBNORMAL): Likewise.
20954 (FP_NORMAL): Likewise.
20955
b5dcacb4
AS
209562012-11-02 Andreas Schwab <schwab@linux-m68k.org>
20957
20958 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
20959 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
20960 arguments.
20961
f7934be8
RM
209622012-11-02 Roland McGrath <roland@hack.frob.com>
20963
20964 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
20965 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
20966 autoconf-time if not.
20967 * configure.in: Remove AC_PREREQ.
20968
d7d08bde
TMQMF
209692012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20970
20971 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
20972 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
20973 of the internal implementation.
20974
dcdae19a
JM
209752012-11-02 Joseph Myers <joseph@codesourcery.com>
20976
20977 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
20978 except include of <misc/sys/syslog.h>.
20979
d6cffd3e
AS
209802012-11-01 Andreas Schwab <schwab@linux-m68k.org>
20981
20982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
20983 function returns with a NULL context exit with zero.
20984
b3563932
TMQMF
209852012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20986
20987 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
20988
b288a93d
L
209892012-11-01 H.J. Lu <hongjiu.lu@intel.com>
20990
20991 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
20992 (run_program_cmd): This.
20993 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
20994 (tst_langinfo): New variable. Use it.
20995
a2421a68
SAS
209962012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
20997
20998 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
20999 floating point opcodes.
21000
6f796e1b
TS
210012012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21002
7402596b
TS
21003 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21004 variable.
21005
d0d4f868
TS
21006 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21007
6f796e1b
TS
21008 * sysdeps/mach/hurd/powerpc: Remove directory.
21009 * sysdeps/mach/powerpc: Likewise.
21010
4da224a2
AS
210112012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21012
21013 * scripts/check-local-headers.sh: Ignore c++ headers.
21014
341dd673
TS
210152012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21016
21017 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21018 __libc_cleanup_region_start argument.
21019
473611b2
JM
210202012-11-01 Joseph Myers <joseph@codesourcery.com>
21021
21022 [BZ #14784]
21023 [BZ #14785]
21024 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21025 x * y using scaling, not as x * y + z.
21026 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21027 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21028 * math/libm-test.inc (fma_test): Add more tests.
21029 (fma_test_towardzero): Likewise.
21030 (fma_test_downward): Likewise.
21031 (fma_test_upward): Likewise.
21032
4078da3d
TS
210332012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21034
21035 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21036
903252aa
JM
210372012-10-31 Joseph Myers <joseph@codesourcery.com>
21038
21039 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21040 New variable.
21041
cbc818d0
TS
210422012-10-31 Thomas Schwinge <thomas@codesourcery.com>
21043
21044 * rt/tst-shm.c (worker): Correct checking for mmap failure.
21045
5a03cb1e
AS
210462012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21047
21048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21049 Fix sort order.
21050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21051 Likewise.
21052
90aff2ff
TMQMF
210532012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21054
21055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21056 Fix the order of the list for glibc 2.17.
21057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21058 Likewise.
21059
1818fcb7
AS
210602012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21061
21062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21063
ef82f4da
JM
210642012-10-31 Joseph Myers <joseph@codesourcery.com>
21065
16a0e2ec
JM
21066 [BZ #14610]
21067 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21068 for low part of x being zero before using __atanl (y).
21069 * math/libm-test.inc (atan2_test): Add another test.
21070
0eb69512
JM
21071 * manual/install.texi (Configuring and compiling): Document
21072 general use of test-wrapper and test-wrapper-env.
21073 * INSTALL: Regenerated.
21074
ef82f4da
JM
21075 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21076 (__fma): Do not extract and scale down low bits on after-rounding
21077 systems when result rounded to normal precision would have normal
21078 exponent.
21079 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21080 (__fmal): Do not extract and scale down low bits on after-rounding
21081 systems when result rounded to normal precision would have normal
21082 exponent.
21083 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21084 (__fmal): Do not extract and scale down low bits on after-rounding
21085 systems when result rounded to normal precision would have normal
21086 exponent.
21087 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21088 macro.
21089 (fma_test): Add more tests.
21090 (fma_test_towardzero): Likewise.
21091 (fma_test_downward): Likewise.
21092 (fma_test_upward): Likewise.
21093
954ef0d9
L
210942012-10-30 H.J. Lu <hongjiu.lu@intel.com>
21095
21096 * sysdeps/i386/tininess.h: Renamed to ...
21097 * sysdeps/x86/tininess.h: This.
21098 * sysdeps/x86_64/tininess.h: Removed.
21099
df61ffb2
JM
211002012-10-30 Joseph Myers <joseph@codesourcery.com>
21101
21102 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21103 input. Use $(build-program-cmd).
21104 ($(objpfx)tst-array1-static.out): Likewise.
21105 ($(objpfx)tst-array2.out): Likewise.
21106 ($(objpfx)tst-array3.out): Likewise.
21107 ($(objpfx)tst-array4.out): Likewise.
21108 ($(objpfx)tst-array5.out): Likewise.
21109 ($(objpfx)tst-array5-static.out): Likewise.
21110
01767843
CM
211112012-10-30 Chris Metcalf <cmetcalf@tilera.com>
21112
47cc1490
CM
21113 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21114 if defined.
21115
01767843
CM
21116 * nss/nsswitch.h (nss_interface_function): Provide new
21117 macro for use with NSS functions.
21118 * grp/initgroups.c: Use new macro.
21119 * nss/getXXbyYY.c: Likewise.
21120 * nss/getXXbyYY_r.c: Likewise.
21121 * nss/getXXent.c: Likewise.
21122 * nss/getXXent_r.c: Likewise.
21123 * sysdeps/posix/getaddrinfo.c: Likewise.
21124
8321aa97
AJ
211252012-10-30 Andreas Jaeger <aj@suse.de>
21126
21127 * po/ru.po: Update Russion translation from translation project.
21128
2a27fd6d
JM
211292012-10-30 Joseph Myers <joseph@codesourcery.com>
21130
8627a232
JM
21131 [BZ #14152]
21132 [BZ #14783]
21133 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21134 result and shift together with sticky bit instead of replicating
21135 round-to-nearest rounding.
21136 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21137 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21138 * math/libm-test.inc (fma_test): Add more tests. Do not permit
21139 missing underflow exceptions.
21140 (fma_test_towardzero): Add more tests.
21141 (fma_test_downward): Likewise.
21142 (fma_test_upward): Likewise.
21143
2a27fd6d
JM
21144 [BZ #14047]
21145 * sysdeps/generic/tininess.h: New file.
21146 * sysdeps/i386/tininess.h: Likewise.
21147 * sysdeps/sh/tininess.h: Likewise.
21148 * sysdeps/x86_64/tininess.h: Likewise.
21149 * stdlib/tst-strtod-underflow.c: Likewise.
21150 * stdlib/tst-tininess.c: Likewise.
21151 * stdlib/strtod_l.c: Include <tininess.h>.
21152 (round_and_return): Do not set errno for exact underflow cases.
21153 Force an underflow exception when setting errno for underflow.
21154 Determine underflow based on rounding to normal precision if
21155 TININESS_AFTER_ROUNDING.
21156 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21157 ERANGE for exact underflow cases.
21158 * stdlib/Makefile (tests): Add tst-tininess and
21159 tst-strtod-underflow.
21160 ($(objpfx)tst-tininess): Use $(link-libm).
21161 ($(objpfx)tst-strtod-underflow): Likewise.
21162
e7170363
AJ
211632012-10-30 Andreas Jaeger <aj@suse.de>
21164
e5088dc6
AJ
21165 [BZ#14767]
21166 * elf/Makefile (tests): Remove conditional for have-initfini-array
21167 since this is now always required and the variable does not exist
21168 anymore.
21169 (tests-static): Likewise.
21170 (modules-names): Likewise.
21171
e7170363 21172 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
21173
21174 * elf/tst-array1.c (fini_array): Make writeable so that it can be
21175 merged with constructor/destructor.
21176 (init_array): Likewise.
21177 * elf/tst-array2dep.c (fini_array): Likewise.
21178 (init_array): Likewise.
21179
60457d8a
MF
211802012-10-29 Mike Frysinger <vapier@gentoo.org>
21181
21182 * manual/message.texi: Delete @cartouche tags.
21183
8bece752
PT
211842012-10-29 Pino Toscano <toscano.pino@tiscali.it>
21185
94ce799f
PT
21186 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21187 EOPNOTSUPP.
21188 * sysdeps/mach/hurd/fsync.c: Likewise.
21189
8bece752
PT
21190 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21191 [_POSIX_REALTIME_SIGNALS]: Change condition to
21192 [_POSIX_REALTIME_SIGNALS > 0].
21193
86ebe6b1
AJ
211942012-10-27 Andreas Jaeger <aj@suse.de>
21195
21196 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21197 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21198 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21199 [__WORDSIZE != 64]: Likewise.
21200
54399c08
L
212012012-10-26 H.J. Lu <hongjiu.lu@intel.com>
21202
21203 * iconvdata/tst-table.sh: Remove ${SHELL}.
21204 * iconvdata/tst-tables.sh: Likewise.
21205
e2211bed
DM
212062012-10-25 David S. Miller <davem@davemloft.net>
21207
21208 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21209 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21210 of strtoull.
21211
f303f97c
DM
21212 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21213 ifunc-impl-list.c
21214 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21215 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21216 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21217 file.
21218
1e9d84cd
RM
212192012-10-25 Roland McGrath <roland@hack.frob.com>
21220
21221 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21222 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21223 __getdirentries.
21224
df381762
JM
212252012-10-25 Joseph Myers <joseph@codesourcery.com>
21226 Jim Blandy <jimb@codesourcery.com>
21227
21228 * scripts/cross-test-ssh.sh: New file.
21229 * manual/install.texi (Configuring and compiling): Document use of
21230 cross-test-ssh.sh.
21231 * INSTALL: Regenerated.
21232
bff64913
PT
212332012-10-25 Pino Toscano <toscano.pino@tiscali.it>
21234
21235 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21236 EOPNOTSUPP.
21237
25fe8932
JM
212382012-10-25 Joseph Myers <joseph@codesourcery.com>
21239
21240 * Makeconfig (run-program-prefix): Fix comment.
21241
cc1290d0
JM
212422012-10-24 Joseph Myers <joseph@codesourcery.com>
21243 Jim Blandy <jimb@codesourcery.com>
21244
21245 * Makeconfig (test-wrapper): New variable,
21246 (test-wrapper-env): Likewise.
21247 [$(cross-compiling) = yes && $(test-wrapper) != ""]
21248 (run-built-tests): Define to yes.
21249 (run-program-prefix): Use $(test-wrapper).
21250 (built-program-cmd): Likewise.
21251 * Rules (make-test-out): Use $(test-wrapper-env) and
21252 $(host-built-program-cmd).
21253 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21254 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21255 tst-pathopt.sh.
21256 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21257 $(test-wrapper-env) to tst-rtld-load-self.sh.
21258 ($(objpfx)order2.out): Use $(test-wrapper).
21259 ($(objpfx)tst-initorder.out): Likewise.
21260 ($(objpfx)tst-initorder2.out): Likewise.
21261 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21262 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21263 (test_wrapper_env): New variable. Use it to run ld.so.
21264 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21265 Use it to run ld.so.
21266 (test_wrapper_env): Likewise.
21267 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21268 $(test-wrapper) to run-iconv-test.sh.
21269 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21270 (ICONV): Use $test_wrapper.
21271 * posix/Makefile ($(objpfx)globtest.out): Pass
21272 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21273 globtest.sh, not $(run-program-prefix).
21274 * posix/globtest.sh (run_via_rtld_prefix): New variable.
21275 (test_wrapper): Likewise.
21276 (test_wrapper_env): Likewise. Use it to run globtest with HOME
21277 set together with run_via_rtld_prefix.
21278 (run_program_prefix): Define in terms of test_wrapper and
21279 run_via_rtld_prefix.
21280
6e6249d0
RM
212812012-10-24 Roland McGrath <roland@hack.frob.com>
21282
21283 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21284 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21285 Targets removed.
21286
21287 [BZ #14743]
21288 * include/time.h: Remove librt_hidden_proto (clock_gettime).
21289 Declare __clock_getres, __clock_gettime, __clock_settime,
21290 __clock_nanosleep, and __clock_getcpuclockid.
21291 * rt/clock_gettime.c: Define __clock_gettime as an alias.
21292 Remove librt_hidden_def (clock_gettime).
21293 * sysdeps/unix/clock_gettime.c: Likewise.
21294 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21295 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21296 * rt/clock_getres.c: Define __clock_getres as an alias.
21297 * sysdeps/posix/clock_getres.c: Likewise.
21298 * rt/clock_settime.c: Define __clock_settime as an alias.
21299 * sysdeps/unix/clock_settime.c: Likewise.
21300 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21301 * sysdeps/unix/clock_nanosleep.c: Likewise.
21302 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21303 * rt/clock-compat.c: New file.
21304 * rt/Makefile (librt-routines): Add clock-compat and move
21305 $(clock-routines) to ...
21306 (routines): ... here, new variable.
21307 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21308 Don't add get_clockfreq here.
21309 * rt/Versions (libc: GLIBC_2.17): New version set.
21310 Add clock_* symbols here.
21311 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
21312 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21313 (GLIBC_2.17): Add clock_* symbols.
21314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21315 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21316 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21318 Likewise.
21319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21320 Likewise.
21321 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21322 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21325 * NEWS: Mention the move.
21326
21327 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21328 Use __open, __read, __close rather than their public counterparts.
21329 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21330 (__get_clockfreq_via_cpuinfo): Likewise.
21331 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
21332 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
21333
21334 * config.h.in (HAVE_IFUNC): New #undef.
21335 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
21336 was successful.
21337 * configure: Regenerated.
21338
0cae3f4b
MF
213392012-10-24 Mike Frysinger <vapier@gentoo.org>
21340
21341 * configure.in: Move READELF check to start of file.
21342 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
21343 libc_cv_asm_gnu_indirect_function in the process.
21344 * configure: Regenerated.
21345
8175a253
MF
213462012-10-24 Mike Frysinger <vapier@gentoo.org>
21347
21348 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
21349 send the output to /dev/null.
21350 (libc_cv_cc_with_libunwind): Likewise.
21351 (libc_cv_as_noexecstack): Likewise.
21352 * configure: Regenerate.
21353
0708a7d1
JM
213542012-10-24 Joseph Myers <joseph@codesourcery.com>
21355
10b40d85
JM
21356 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
21357
0708a7d1
JM
21358 * posix/globtest.sh (TMPDIR): Do not set.
21359 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
21360 (testout): Likewise.
21361
9fddec1a
AJ
213622012-10-24 Andreas Jaeger <aj@suse.de>
21363
3a8db22f
AJ
21364 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
21365 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
21366 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
21367 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
21368 posix_fadvise64, posix_fallocate64.
21369
9fddec1a
AJ
21370 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
21371 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
21372 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
21373 Likewise.
21374 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
21375 Likewise.
21376 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
21377
21378 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
21379 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
21380 <bits/fcntl-linux.h>.
21381 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
21382
21383 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
21384 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
21385 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
21386 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
21387 [__WORDSIZE != 64]: Likewise.
21388
ebfd1bbd
JM
213892012-10-23 Joseph Myers <joseph@codesourcery.com>
21390
03ac099f
JM
21391 * Makeconfig (run-built-tests): New variable.
21392 * Rules [$(cross-compiling) = yes]: Change condition to
21393 [$(run-built-tests) = no].
21394 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
21395 to [$(run-built-tests) = yes].
21396 * elf/Makefile [$(cross-compiling) = no]: Likewise
21397 * grp/Makefile [$(cross-compiling) = no]: Likewise.
21398 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
21399 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
21400 * intl/Makefile [$(cross-compiling) = no]: Likewise.
21401 * io/Makefile [$(cross-compiling) = no]: Likewise.
21402 * libio/Makefile [$(cross-compiling) = no]: Likewise.
21403 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
21404 * misc/Makefile [$(cross-compiling) = no]: Likewise.
21405 * posix/Makefile [$(cross-compiling) = no]: Likewise.
21406 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
21407 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
21408 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
21409 * string/Makefile [$(cross-compiling) = no]: Likewise.
21410
ebfd1bbd
JM
21411 * posix/Makefile ($(objpfx)globtest.out): Pass
21412 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
21413 $(rtld-installed-name).
21414 * posix/globtest.sh (elf_objpfx): Remove variable.
21415 (rtld_installed_name): Likewise.
21416 (library_path): Likewise.
21417 (run_program_prefix): New variable. Use for running globtest
21418 binary.
21419
166bca24
JB
214202012-10-23 Jim Blandy <jimb@codesourcery.com>
21421 Joseph Myers <joseph@codesourcery.com>
21422
21423 * Makeconfig (host-built-program-cmd): New variable.
21424 * elf/Makefile (tst-stackguard1-ARGS): Use
21425 $(host-built-program-cmd).
21426 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
21427 (tst-spawn-ARGS): Likewise.
21428 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
21429
88866099
JM
214302012-10-23 Joseph Myers <joseph@codesourcery.com>
21431 Jim Blandy <jimb@codesourcery.com>
21432
21433 * Makeconfig (run-via-rtld-prefix): New variable.
21434 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
21435 (built-program-cmd): Likewise.
21436
b4b4c296
AJ
214372012-10-22 Andreas Jaeger <aj@suse.de>
21438
21439 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
21440 __O_RSYNC if it exists, otherwise to O_SYNC.
21441
6fb54a22
JB
214422012-10-22 Jim Blandy <jimb@codesourcery.com>
21443 Joseph Myers <joseph@codesourcery.com>
21444
21445 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
21446 /dev/null.
21447 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
21448 from /dev/null
21449 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
21450 /dev/null.
21451
481b90b9
AJ
214522012-10-22 Andreas Jaeger <aj@suse.de>
21453
2a0e2669
AJ
21454 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
21455 Define always.
21456 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
21457
76e38f9a
AJ
21458 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21459 bits/fcntl-linux.h.
21460
7cd37b43
AJ
21461 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
21462 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
21463
481b90b9
AJ
21464 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
21465 to __O_LARGEFILE.
21466 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
21467 to __O_LARGEFILE.
21468
aba75984
JB
214692012-10-21 Jim Blandy <jimb@codesourcery.com>
21470 Joseph Myers <joseph@codesourcery.com>
21471
21472 * config.make.in (NM): New variable.
21473
88d4247f
AJ
214742012-10-21 Andreas Jaeger <aj@suse.de>
21475
21476 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
21477 definitions and declarations that are provided by
21478 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21479
f2eed205
L
214802012-10-20 H.J. Lu <hongjiu.lu@intel.com>
21481
21482 [BZ #14683]
21483 * elf/Makefile (tests-static): Add tst-leaks1-static.
21484 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
21485 ($(objpfx)tst-leaks1-static): New rule.
21486 ($(objpfx)tst-leaks1-static-mem): Likewise.
21487 (tst-leaks1-static-ENV): New macro.
21488 * elf/dl-open.c (dl_open_worker): Check the main application
21489 only if SHARED is defined.
21490 * elf/tst-leaks1-static.c: New file.
21491
335e6931
AJ
214922012-10-20 Andreas Jaeger <aj@suse.de>
21493
21494 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
21495 generic values for Linux.
21496 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
21497 and declarations that are provided by <bits/fcntl-linux.h> and
21498 include <bits/fcntl-linux.h>.
21499 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21500 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21501
ac5c94d3
RM
215022012-10-20 Roland McGrath <roland@hack.frob.com>
21503
21504 * io/fcntl.h: Move include of <bits/types.h> to the top and
21505 include it unconditionally.
21506
de54b33a
L
215072012-10-20 H.J. Lu <hongjiu.lu@intel.com>
21508
228cfb01
L
21509 * wcsmbs/Makefile (tests-ifunc): New variable.
21510 (tests): Add $(tests-ifunc).
21511 * wcsmbs/test-wcschr-ifunc.c: New file.
21512 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
21513 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
21514 * wcsmbs/test-wcslen-ifunc.c: Likewise.
21515 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
21516 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
21517
69f07e5f
L
21518 * string/Makefile (tests-ifunc): New variable.
21519 (tests): Add $(tests-ifunc).
21520 * string/test-memccpy.c (TEST_NAME): New macro.
21521 * string/test-memchr.c (TEST_NAME): Likewise.
21522 * string/test-memcmp.c (TEST_NAME): Likewise.
21523 * string/test-memcpy.c (TEST_NAME): Likewise.
21524 * string/test-memmem.c (TEST_NAME): Likewise.
21525 * string/test-memmove.c (TEST_NAME): Likewise.
21526 * string/test-memset.c (TEST_NAME): Likewise.
21527 * string/test-rawmemchr.c (TEST_NAME): Likewise.
21528 * string/test-stpcpy.c (TEST_NAME): Likewise.
21529 * string/test-stpncpy.c (TEST_NAME): Likewise.
21530 * string/test-strcasecmp.c (TEST_NAME): Likewise.
21531 * string/test-strcasestr.c (TEST_NAME): Likewise.
21532 * string/test-strcat.c (TEST_NAME): Likewise.
21533 * string/test-strchr.c (TEST_NAME): Likewise.
21534 * string/test-strcmp.c(TEST_NAME): Likewise.
21535 * string/test-strcpy.c (TEST_NAME): Likewise.
21536 * string/test-strcspn.c (TEST_NAME): Likewise.
21537 * string/test-strlen.c (TEST_NAME): Likewise.
21538 * string/test-strncasecmp.c (TEST_NAME): Likewise.
21539 * string/test-strncmp.c (TEST_NAME): Likewise.
21540 * string/test-strncpy.c (TEST_NAME): Likewise.
21541 * string/test-strnlen.c (TEST_NAME): Likewise.
21542 * string/test-strpbrk.c (TEST_NAME): Likewise.
21543 * string/test-strrchr.c (TEST_NAME): Likewise.
21544 * string/test-strspn.c (TEST_NAME): Likewise.
21545 * string/test-strstr.c (TEST_NAME): Likewise.
21546 * string/test-bcopy-ifunc.c: New file.
21547 * string/test-bzero-ifunc.c: Likewise.
21548 * string/test-memccpy-ifunc.c: Likewise.
21549 * string/test-memchr-ifunc.c: Likewise.
21550 * string/test-memcmp-ifunc.c: Likewise.
21551 * string/test-memcpy-ifunc.c: Likewise.
21552 * string/test-memmem-ifunc.c: Likewise.
21553 * string/test-memmove-ifunc.c: Likewise.
21554 * string/test-mempcpy-ifunc.c: Likewise.
21555 * string/test-memset-ifunc.c: Likewise.
21556 * string/test-rawmemchr-ifunc.c: Likewise.
21557 * string/test-stpcpy-ifunc.c: Likewise.
21558 * string/test-stpncpy-ifunc.c: Likewise.
21559 * string/test-strcasecmp-ifunc.c: Likewise.
21560 * string/test-strcasestr-ifunc.c: Likewise.
21561 * string/test-strcat-ifunc.c: Likewise.
21562 * string/test-strchr-ifunc.c: Likewise.
21563 * string/test-strchrnul-ifunc.c: Likewise.
21564 * string/test-strcmp-ifunc.c: Likewise.
21565 * string/test-strcpy-ifunc.c: Likewise.
21566 * string/test-strcspn-ifunc.c: Likewise.
21567 * string/test-strlen-ifunc.c: Likewise.
21568 * string/test-strncasecmp-ifunc.c: Likewise.
21569 * string/test-strncat-ifunc.c: Likewise.
21570 * string/test-strncmp-ifunc.c: Likewise.
21571 * string/test-strncpy-ifunc.c: Likewise.
21572 * string/test-strnlen-ifunc.c: Likewise.
21573 * string/test-strpbrk-ifunc.c: Likewise.
21574 * string/test-strrchr-ifunc.c: Likewise.
21575 * string/test-strspn-ifunc.c: Likewise.
21576 * string/test-strstr-ifunc.c: Likewise.
21577
de54b33a
L
21578 * debug/Makefile (tests-ifunc): New variable.
21579 (tests): Add $(tests-ifunc).
21580 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
21581 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
21582 * debug/test-stpcpy_chk-ifunc.c: New file.
21583 * debug/test-strcpy_chk-ifunc.c: Likewise.
21584
88481c16
SP
215852012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21586
21587 [BZ #13601]
21588 * elf/dl-load.c (open_verify): Retry read if the entire ELF
21589 header is not read in.
21590
135948bd
JM
215912012-10-19 Joseph Myers <joseph@codesourcery.com>
21592
89f1c388
JM
21593 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
21594 script to $(SHELL) as $<. Pass $(common-objpfx) to script
21595 directly. Pass built executable to script as
21596 $(built-program-cmd).
21597 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
21598 $testprogram without using LD_LIBRARY_PATH and $ldso.
21599
e40a0d21
JM
21600 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
21601 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
21602 $(rtld-installed-name).
21603 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
21604 (rtld_installed_name): Likewise.
21605 (library_path): Likewise.
21606 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
21607 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
21608 $(run-program-prefix) to tst-tables.sh.
21609 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
21610 it to run tst-table-from and tst-table-to.
21611 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
21612 Pass it to tst-table.sh.
21613 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
21614 $(run-program-prefix) to tst-gettext.sh.
21615 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
21616 tst-translit.sh.
21617 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
21618 tst-gettext2.sh.
21619 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
21620 to run tst-gettext.
21621 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
21622 to run tst-gettext2.
21623 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
21624 to run tst-translit.
21625 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
21626 $(run-program-prefix) to tst-mtrace.sh.
21627 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
21628 to run tst-mtrace.
21629 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
21630 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
21631 $(rtld-installed-name).
21632 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
21633 (rtld_installed_name): Likewise.
21634 (run_program_prefix): New variable. Use it to run wordexp-test.
21635
728e272a
JM
21636 * Makeconfig (ARCH): Remove all definitions.
21637 (machine): Likewise.
21638 [ARCH]: Remove conditional code.
21639 [!objdir]: Give error.
21640 [!objdir] (objpfx): Remove.
21641 [!objdir] (common-objpfx): Likewise.
21642 [!objdir] (common-objdir): Likewise.
21643 * configure.in (config_makefile): Remove. Hardcode Makefile in
21644 AC_CONFIG_FILES call.
21645 * configure: Regenerated.
21646
d528cdcf
JM
21647 [BZ #13888]
21648 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
21649 or TMPDIR.
21650 (testout): Likewise.
21651
135948bd
JM
21652 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
21653 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
21654 $(rtld-installed-name).
21655 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
21656 (rtld_installed_name): Likwise.
21657 (runit): Remove function.
21658 (run_getconf): New variable, Use it for running getconf binary.
21659
38c78296
L
216602012-10-18 H.J. Lu <hongjiu.lu@intel.com>
21661
21662 [BZ #14716]
21663 * string/test-memmem.c (check_result): New function.
21664 (do_one_test): Use it.
21665 (check1): New function.
21666 (test_main): Use it.
21667
d077f65f
MT
216682012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
21669
21670 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
21671
ced52c71
JM
216722012-10-18 Joseph Myers <joseph@codesourcery.com>
21673
21674 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
21675 (_G_LSEEK64): Likewise.
21676 (_G_MMAP64): Likewise.
21677 (_G_FSTAT64): Likewise.
21678 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
21679 (_G_LSEEK64): Likewise.
21680 (_G_MMAP64): Likewise.
21681 (_G_FSTAT64): Likewise.
21682 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
21683 unconditional. Call __mmap64 directly.
21684 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
21685 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
21686 __lseek64 directly.
21687 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
21688 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
21689 __mmap64 directly.
21690 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
21691 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
21692 __lseek64 directly.
21693 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
21694 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
21695 __lseek64 directly.
21696 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
21697 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
21698 __lseek64 directly.
21699 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
21700 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
21701 __fxstat64 directly.
21702 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
21703 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
21704 unconditional.
21705 (freopen64) [!_G_OPEN64]: Remove conditional code.
21706 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
21707 unconditional.
21708 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
21709 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
21710 unconditional.
21711 (ftello64) [!_G_LSEEK64]: Remove conditional code.
21712 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
21713 unconditional.
21714 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21715 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
21716 unconditional.
21717 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
21718 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
21719 unconditional.
21720 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21721 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
21722 unconditional.
21723 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21724 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
21725 unconditional.
21726 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21727
b741de23
SP
217282012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21729
21730 [BZ #12140]
21731 * manual/memory.texi (Malloc Tunable Parameters): Add note
21732 about free list pointers overwriting some perturb bytes.
21733 Wording suggested by Roland McGrath.
21734
f9b9d9c9
JM
217352012-10-17 Joseph Myers <joseph@codesourcery.com>
21736
21737 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
21738 (lgamma_test): Likewise.
21739 (tgamma_test): Likewise.
21740
172a631a
FW
217412012-10-16 Florian Weimer <fweimer@redhat.com>
21742
21743 [BZ #14700]
21744 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
21745 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
21746
e9f37252
MK
217472012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
21748
21749 * NEWS: Mention BZ #14716.
21750 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
21751 when removing AVAILABLE1_USES_J macro.
21752
d394eb74
L
217532012-10-12 H.J. Lu <hongjiu.lu@intel.com>
21754
21755 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
21756 (__bswap_64): __uint64_t for unsigned 64-bit int.
21757
ca38dc17
AS
217582012-10-12 Andreas Schwab <schwab@linux-m68k.org>
21759
21760 * include/string.h (memmem): Declare libc hidden alias.
21761 * string/memmem.c (memmem): Define libc hidden alias.
21762 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
21763 __read, __close instead of open, read, close.
21764
9a387d1f
L
217652012-10-11 H.J. Lu <hongjiu.lu@intel.com>
21766
ac49ecaf
L
21767 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
21768 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
21769 global and hidden.
21770 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
21771 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
21772 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
21773 Likewise.
21774 (__rawmemchr_sse2): Likewise.
21775 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
21776 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
21777 (__strchr_sse2): Likewise.
21778 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
21779 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
21780 (__strcasecmp_sse2): Likewise.
21781 (__strncasecmp_sse2): Likewise.
21782 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
21783 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
21784 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
21785 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
21786 (__strrchr_sse2): Likewise.
21787 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
21788 ifunc-impl-list.c.
21789 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21790 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21791 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21792 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21793 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21794 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21795 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21796 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21797 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
21798 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
21799 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
21800 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
21801 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
21802 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21803 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21804 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21805 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21806 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21807 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
21808 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
21809 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
21810 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
21811 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
21812 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21813 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
21814 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21815 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21816 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21817 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21818 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21819
b090e8ea
L
21820 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
21821 global and hidden.
21822 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
21823 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
21824 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
21825 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
21826 Likewise.
21827 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
21828 Likewise.
21829 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
21830 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
21831 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
21832 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
21833 ifunc-impl-list.c.
21834 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21835 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21836 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21837 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21838 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21839 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21840 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21841 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21842 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21843 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21844 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21845 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21846 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21847 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
21848 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
21849 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21850 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
21851 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
21852 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21853 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21854 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21855 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21856 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21857 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21858 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21859 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
21860 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
21861 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
21862 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
21863 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21864 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
21865 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21866 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21867 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
21868 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21869 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21870 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21871 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21872 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21873 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21874 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
21875
11dd4af6
L
21876 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
21877 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
21878 * include/ifunc-impl-list.h: New file.
21879 * misc/ifunc-impl-list.c: Likewise.
21880 * misc/Makefile (routines): Add ifunc-impl-list.
21881 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
21882 * string/test-string.h: Include <ifunc-impl-list.h>.
21883 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
21884 impl_array): New variables.
21885 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
21886 are defined.
21887 (test_init): Call __libc_ifunc_impl_list to initialize
21888 func_list if TEST_IFUNC and TEST_NAME are defined.
21889
9a387d1f
L
21890 * string/Makefile (strop-tests): Add bcopy and bzero.
21891 * string/test-bcopy.c: New file.
21892 * string/test-bzero.c: Likewise.
21893 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
21894 defined.
21895 * string/test-memset.c: Support bzero test if TEST_BZERO is
21896 defined.
21897 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
21898 __libc_memmove.
21899 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
21900 __libc_memset.
21901 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
21902 of memset.
21903
472371b9
JM
219042012-10-10 Joseph Myers <joseph@codesourcery.com>
21905
1e4a9536
JM
21906 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
21907 * configure: Regenerated.
21908
d173d12e
JM
21909 * Makeconfig (+link-static-before-libc): Don't include
21910 $(link-static-libc).
21911
472371b9
JM
21912 * libio/libio.h (_IO_pos_t): Remove.
21913
89a3ad0b
AO
219142012-10-10 Alexandre Oliva <aoliva@redhat.com>
21915
21916 * NEWS: Add note about FIPS mode. Wording suggested by Roland
21917 McGrath.
21918
e7451425
AO
219192012-10-10 Alexandre Oliva <aoliva@redhat.com>
21920
21921 * crypt/crypt-entry.c: Include fips-private.h.
21922 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
21923 * crypt/md5c-test.c (main): Tolerate disabled MD5.
21924 * sysdeps/unix/sysv/linux/fips-private.h: New file.
21925 * sysdeps/generic/fips-private.h: New file, dummy fallback.
21926
4ba74a35
AO
219272012-10-10 Alexandre Oliva <aoliva@redhat.com>
21928
21929 * crypt/crypt-private.h: Include stdbool.h.
21930 (_ufc_setup_salt_r): Return bool.
21931 * crypt/crypt-entry.c: Include errno.h.
21932 (__crypt_r): Return NULL with EINVAL for bad salt.
21933 * crypt/crypt_util.c (bad_for_salt): New.
21934 (_ufc_setup_salt_r): Check that salt is long enough and within
21935 the specified alphabet.
21936 * crypt/badsalttest.c: New file.
21937 * crypt/Makefile (tests): Add it.
21938 ($(objpfx)badsalttest): New.
21939
f96f1242
MK
219402012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
21941
21942 * NEWS: Add entry for BZ #14602.
21943
0e8e0c1c
JM
219442012-10-09 Joseph Myers <joseph@codesourcery.com>
21945
21946 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
21947 type-generic.
21948 * math/libm-test.inc: Update comment listing what functions and
21949 macros are tested.
21950 (isgreater_test): New function.
21951 (isgreaterequal_test): Likewise.
21952 (isless_test): Likewise.
21953 (islessequal_test): Likewise.
21954 (islessgreater_test): Likewise.
21955 (isunordered_test): Likewise.
21956 (main): Call the new functions.
21957
273edc5e
RM
219582012-10-09 Roland McGrath <roland@hack.frob.com>
21959
b8493de0
RM
21960 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
21961 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
21962 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
21963 * sysdeps/i386/configure: Regenerated.
21964 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
21965 * sysdeps/mach/configure: Regenerated.
21966 * sysdeps/mach/hurd/configure: Regenerated.
21967 * sysdeps/powerpc/configure: Regenerated.
21968 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21969 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21970 * sysdeps/s390/s390-32/configure: Regenerated.
21971 * sysdeps/s390/s390-64/configure: Regenerated.
21972 * sysdeps/sh/configure: Regenerated.
21973 * sysdeps/sparc/configure: Regenerated.
21974 * sysdeps/unix/sysv/linux/configure: Regenerated.
21975 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
21976 * sysdeps/x86_64/configure: Regenerated.
21977
273edc5e
RM
21978 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
21979 defined. Don't check if MAP is NULL.
21980
c8450f70
JM
219812012-10-09 Joseph Myers <joseph@codesourcery.com>
21982
21983 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
21984 (_G_stat64): Likewise.
21985 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
21986 (_G_stat64): Likewise.
21987 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
21988 instead of struct _G_stat64.
21989 * libio/fileops.c (mmap_remap_check): Likewise.
21990 (decide_maybe_mmap): Likewise.
21991 (_IO_new_file_seekoff): Likewise.
21992 (_IO_file_stat): Likewise.
21993 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
21994 _G_off64_t.
21995 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
21996 instead of struct _G_stat64.
21997 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21998
57e605ba
MK
219992012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
22000
22001 [BZ #14602]
22002 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22003 Replace with ...
22004 (CHECK_EOL): New macro.
22005 (two_way_short_needle): Check beginning of haystack for EOL. Use
22006 CHECK_EOL.
22007 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22008 Replace with CHECK_EOL.
22009 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22010 Replace with CHECK_EOL.
22011
ef1bb361
JM
220122012-10-08 Joseph Myers <joseph@codesourcery.com>
22013
22014 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22015 type-generic.
22016 * math/libm-test.inc: Update comment listing what functions and
22017 macros are tested.
22018 (finite_test): New function.
22019 (isinf_test): Likewise.
22020 (isnan_test): Likewise.
22021 (fpclassify_test): Test subnormal input.
22022 (isfinite_test): Likewise.
22023 (isnormal_test): Likewise.
22024 (main): Call the new functions.
22025
55f11534
JN
220262012-10-08 Jonathan Nieder <jrnieder@gmail.com>
22027
22028 [BZ #14660]
22029 * Makerules (%.dynsym): Force C locale when running
22030 $(OBJDUMP) --dynamic-syms.
22031
1ab29350
AS
220322012-10-08 Andreas Schwab <schwab@linux-m68k.org>
22033
22034 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22035 <stdint.h>.
22036
f1ecb7ef
DM
220372012-10-06 David S. Miller <davem@davemloft.net>
22038
22039 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22040 upper 32-bits of the length value in %o2 since we use branch-on-register
22041 tests which consider the entire 64-bit register.
22042
5d41d91a
L
220432012-10-06 H.J. Lu <hongjiu.lu@intel.com>
22044
22045 * string/test-strstr.c (check2): Add a test for page boundary.
22046
3baddb72
DM
220472012-10-05 David S. Miller <davem@davemloft.net>
22048
22049 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22050 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22051 file.
22052 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22053 sysdep_routines.
22054 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22055 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22056 and bzero when HWCAP_SPARC_CRYPTO is present.
22057
9cee5585
L
220582012-10-05 H.J. Lu <hongjiu.lu@intel.com>
22059
d7e0dab9
L
22060 [BZ #14602]
22061 * string/test-strstr.c (check2): New function.
22062 (test_main): Call check2.
22063
03759f47
L
22064 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22065 and bug-strchr1.
22066 * string/bug-strcasestr1.c (do_test): Moved to ...
22067 * string/test-strcasestr.c (check1): Here. New function.
22068 (do_one_test): Break out result checking code into ...
22069 (check_result): This. New function.
22070 (do_one_test): Call check_result.
22071 (test_main): Call check1.
22072 * string/bug-strchr1.c (do_test): Moved to ...
22073 * string/test-strchr.c (check1): Here. New function.
22074 (do_one_test): Break out result checking code into ...
22075 (check_result): This. New function.
22076 (do_one_test): Call check_result.
22077 (test_main): Call check1.
22078 * string/bug-strstr1.c (main): Moved to ...
046f153e 22079 * string/test-strstr.c (check1): Here. New function.
03759f47
L
22080 (do_one_test): Break out result checking code into ...
22081 (check_result): This. New function.
22082 (do_one_test): Call check_result.
22083 (test_main): Call check1.
22084 * string/bug-strcasestr1.c: Removed.
22085 * string/bug-strchr1.c: Likewise.
22086 * string/bug-strstr1.c: Likewise.
22087
53cea63e
L
22088 * elf/Makefile (dl-routines): Add hwcaps.
22089 * elf/dl-support.c (_dl_important_hwcaps): Removed.
22090 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22091 (_dl_important_hwcaps): Moved to ...
22092 * elf/dl-hwcaps.c: Here. New file.
22093 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22094
9cee5585 22095 [BZ #14557]
bb859b06
L
22096 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22097 if IS_IN_rtld isn't defined.
22098
9cee5585
L
22099 * elf/dl-support.c (_dl_sysinfo_map): New.
22100 Include "get-dynamic-info.h" and "setup-vdso.h".
22101 (_dl_non_dynamic_init): Call setup_vdso.
22102 * elf/dynamic-link.h: Don't include <assert.h>.
22103 (elf_get_dynamic_info): Moved to ...
22104 * elf/get-dynamic-info.h: Here. New file.
22105 * elf/dynamic-link.h: Include "get-dynamic-info.h".
22106 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22107 * elf/setup-vdso.h: Here. New file.
22108 * elf/rtld.c: Include "setup-vdso.h".
22109 (dl_main): Call setup_vdso.
22110
23c31b76
JM
221112012-10-05 Joseph Myers <joseph@codesourcery.com>
22112
28234b07
JM
22113 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22114 creal in comment listing functions tested. List finite, isinf,
22115 isnan, isless, islessequal, isgreater, isgreaterequal,
22116 islessgreater, isunordered, lgamma_r and pow10 as functions and
22117 macros not tested. Mention which functions not tested are aliases
22118 for other functions. Fix typo. Note that signs of NaNs are not
22119 tested.
22120
23c31b76
JM
22121 * scripts/config.guess: Update from config.git.
22122 * scripts/config.sub: Likewise.
22123
9043e228
RM
221242012-10-04 Roland McGrath <roland@hack.frob.com>
22125
22126 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22127 * misc/madvise.c (madvise): Renamed to __madvise.
22128 Make madvise a weak alias.
22129 * include/sys/mman.h: Declare __madvise.
22130 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22131 * sysdeps/unix/syscalls.list
22132 (madvise): Make __madvise the strong name, and madvise a weak alias.
22133 * sysdeps/unix/sysv/linux/syscalls.list
22134 (madvise, mmap): Remove redundant entries.
22135 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22136 * malloc/malloc.c (mtrim): Likewise.
22137 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22138
f57f8055
RM
221392012-10-03 Roland McGrath <roland@hack.frob.com>
22140
22141 * sysdeps/mach/hurd/dl-cache.c: File removed.
22142 * config.h.in (USE_LDCONFIG): New #undef.
22143 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22144 * configure: Regenerated.
22145 * elf/Makefile (dl-routines): Add dl-cache only under
22146 [$(use-ldconfig) = yes].
22147 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22148 cache on [USE_LDCONFIG].
22149 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22150 [USE_LDCONFIG].
22151 * elf/rtld.c (dl_main): Likewise.
22152
5bb0c10a
PT
221532012-10-03 Pino Toscano <toscano.pino@tiscali.it>
22154
22155 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22156 _SC_LEVEL4_CACHE_LINESIZE.
22157
010188c6
RM
221582012-10-03 Roland McGrath <roland@hack.frob.com>
22159
22160 * sysdeps/unix/bsd/confstr.h: File removed.
22161
b6c5ec07
AO
221622012-10-02 Alexandre Oliva <aoliva@redhat.com>
22163
22164 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22165 sys/sdt-config.h.
22166
408223d4
RM
221672012-10-02 Roland McGrath <roland@hack.frob.com>
22168
22169 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22170 Make 'mapoff' field ElfW(Off) rather than off_t.
22171
bb9510dc
DL
221722012-10-02 Dmitry V. Levin <ldv@altlinux.org>
22173
fc997c6e
DL
22174 * nscd/Makefile: Remove nscd-cflags and all its users.
22175 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22176 (CFLAGS-nonlib): Add compiler flags for nscd modules.
22177
bb9510dc
DL
22178 [BZ #10631]
22179 * malloc.c (malloc_printerr): Clarify error message.
22180
05699367
L
221812012-10-02 H.J. Lu <hongjiu.lu@intel.com>
22182
22183 [BZ #14648]
22184 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22185 Set bit_FMA_Usable if FMA is supported.
22186 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22187 macro.
22188 (bit_FMA4_Usable): Updated.
22189 (index_FMA_Usable): New macro.
22190 (CPUID_FMA): Likewise
22191 (HAS_FMA): Defined with bit_FMA_Usable.
22192
51367701
RM
221932012-10-01 Roland McGrath <roland@hack.frob.com>
22194
22195 * bits/types.h (__swblk_t): Type removed.
22196 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22197 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22198 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22199 (__SWBLK_T_TYPE): Likewise.
22200 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22201 (__SWBLK_T_TYPE): Likewise.
22202 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22203 (__SWBLK_T_TYPE): Likewise.
22204 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22205 (__SWBLK_T_TYPE): Likewise.
22206
4d57bf63 222072012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 22208 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
22209
22210 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22211 (xdr_mapname): Use YPMAXMAP as maxsize.
22212 (xdr_peername): Use YPMAXPEER as maxsize.
22213 (xdr_keydat): Use YPAXRECORD as maxsize.
22214 (xdr_valdat): Use YPMAXRECORD as maxsize.
22215
93c65d43
RM
222162012-10-01 Roland McGrath <roland@hack.frob.com>
22217
497a03d6
RM
22218 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22219
93c65d43
RM
22220 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22221 * csu/init-first.c: ... here.
22222 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22223 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22224 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22225 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22226 * sysdeps/i386/init-first.c: File removed.
22227 * sysdeps/sh/init-first.c: File removed.
22228
bec749fd
JM
222292012-10-01 Joseph Myers <joseph@codesourcery.com>
22230
22231 [BZ #14645]
22232 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22233 if x * y might underflow to zero and z is zero.
22234 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22235 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22236 * math/libm-test.inc (min_subnorm_value): New variable.
22237 (fma_test): Add more tests.
22238 (fma_test_towardzero): Likewise.
22239 (fma_test_downward): Likewise
22240 (fma_test_upward): Likewise.
22241 (initialize): Set min_subnorm_value.
22242
8ec5b013
JM
222432012-09-29 Joseph Myers <joseph@codesourcery.com>
22244
22245 [BZ #14638]
22246 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22247 0 + 0.
22248 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22249 mode for addition resulting in exact zero.
22250 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22251 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22252 exact 0 + 0.
22253 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22254 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22255 * math/libm-test.inc (fma_test): Add more tests.
22256 (fma_test_towardzero): New function.
22257 (fma_test_downward): Likewise.
22258 (fma_test_upward): Likewise.
22259 (main): Call the new functions.
22260
b1fa802e
DM
222612012-09-28 David S. Miller <davem@davemloft.net>
22262
22263 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22264
d3b9fd9e
RM
222652012-09-28 Roland McGrath <roland@hack.frob.com>
22266
ea4d37b3
RM
22267 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22268 instead of SIGALRM.
22269
ac51c949
RM
22270 * sysdeps/gnu/_G_config.h: Moved to ...
22271 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22272 * sysdeps/mach/hurd/_G_config.h: Moved to ...
22273 * sysdeps/generic/_G_config.h: ... here.
22274
28c195f7
RM
22275 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
22276
848917f9
RM
22277 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22278
6bacf05b
RM
22279 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22280 Conditionalize target on [libnss_test1.so-version].
22281
91363dbb
RM
22282 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22283
cc87f7d8
RM
22284 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22285 (elfobjdir): Move out of conditionals.
22286
b1c608fe
RM
22287 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22288 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22289 (__nss_lookup_function): Conditionalize label remove_from_tree on
22290 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 22291
1d9a6d96
DM
222922012-09-28 David S. Miller <davem@davemloft.net>
22293
22294 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22295 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22296 file.
22297 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22298 sysdep_routines.
22299 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22300 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22301 when HWCAP_SPARC_CRYPTO is present.
22302
72581615
PT
223032012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22304
22305 * io/tst-mknodat.c: Create a FIFO instead of a socket.
22306
715a900c
JL
223072012-09-28 Andreas Schwab <schwab@linux-m68k.org>
22308
22309 [BZ #6530]
22310 * stdio-common/vfprintf.c (process_string_arg): Revert
22311 2000-07-22 change.
22312
223132011-09-28 Jonathan Nieder <jrnieder@gmail.com>
22314
22315 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
22316 for testcase.
22317 * stdio-common/tst-sprintf.c: Include <locale.h>
22318 (main): Test sprintf's handling of incomplete multibyte
22319 characters.
22320
9bac1d86
L
223212012-09-28 H.J. Lu <hongjiu.lu@intel.com>
22322
22323 * elf/dl-runtime.c (VERSYMIDX): Removed.
22324 * elf/dl-version.c (VERSYMIDX): Likewise.
22325 * elf/do-rel.h (VERSYMIDX): Likewise.
22326 (VALIDX): Likewise.
22327 * elf/dynamic-link.h (VERSYMIDX): Likewise.
22328 * elf/rtld.c (VALIDX): Likewise.
22329 (ADDRIDX): Likewise.
9bac1d86
L
22330 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
22331 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
22332 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
22333 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
22334 (VALIDX): Likewise.
22335 (ADDRIDX): Likewise.
9bac1d86 22336
b31606c0
PT
223372012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22338
22339 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
22340
11541177
JL
223412012-09-28 Dmitry V. Levin <ldv@altlinux.org>
22342
22343 [BZ #11438]
22344 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
22345 to global scope.
22346 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
22347 addresses are in the same scope as 192.0.2/24.
22348 * posix/gai.conf: Document new scope table defaults.
22349
adb26fae
SP
223502012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22351
22352 [BZ #5298]
22353 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
22354 for ftell. Compute offsets from write pointers instead.
22355 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22356
4573c6b0
SP
223572012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22358
22359 [BZ #14543]
22360 * libio/Makefile (tests): New test case tst-fseek.
22361 * libio/tst-fseek.c: New test case to verify that fseek/ftell
22362 combination works in wide mode.
22363 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
22364 state when the external buffer state changes.
22365
aa9bbfe6
DM
223662012-09-27 David S. Miller <davem@davemloft.net>
22367
22368 [BZ #14376]
22369 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
22370 pass reloc->r_addend in as the 'high' argument to
22371 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
22372
784421e7
DM
22373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22374
c39bc8b8
PT
223752012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22376
22377 * rt/tst-aio2.c: Include <pthread.h>.
22378 * rt/tst-aio3.c: Likewise.
22379
1ccc2399
SE
223802012-09-27 Steve Ellcey <sellcey@mips.com>
22381
22382 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
22383
31ed4153
L
223842012-09-27 H.J. Lu <hongjiu.lu@intel.com>
22385
25f5f885
L
22386 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
22387 contents on [SHARED].
31ed4153 22388
b7bfe116
MP
223892012-09-26 Marek Polacek <polacek@redhat.com>
22390
22391 [BZ #14530]
22392 [BZ #13741]
22393 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
22394 for C++ and GCC <4.3 as well as for non GCC compilers.
22395
43c4edba
MT
223962012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22397
22398 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22399
6a1bf82f
RM
224002012-09-25 Roland McGrath <roland@hack.frob.com>
22401
22402 * Makefile.in (all, install): Declare with .PHONY.
22403 Reported by Michael Hope <michael.hope@linaro.org>.
22404
8ad11b9a
TMQMF
224052012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22406
22407 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
22408 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
22409 system header.
22410 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
22411 Likewise.
22412 (sydep_routines): Add the new and the internal functions.
22413 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
22414 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
22415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
22416 (GLIBC_2.17): Add the new function.
22417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22418 (GLIBC_2.17): Likewise.
22419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
22420 (GLIBC_2.17): Likewise.
22421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
22422 (GLIBC_2.17): Likewise.
22423 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
22424
7e2fca8d
AM
224252012-09-25 Alan Modra <amodra@gmail.com>
22426
22427 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
22428 Add release barrier before setting once_control to say
22429 initialisation is done. Add hints on lwarx. Use macro in
22430 place of isync.
22431 (clear_once_control): Add release barrier.
22432
b87c4b24
JM
224332012-09-25 Joseph Myers <joseph@codesourcery.com>
22434
d032e0d2
JM
22435 [BZ #13629]
22436 * math/s_clog.c (__clog): Handle more values close to |z| = 1
22437 specially.
22438 * math/s_clog10.c (__clog10): Likewise.
22439 * math/s_clog10f.c (__clog10f): Likewise.
22440 * math/s_clog10l.c (__clog10l): Likewise.
22441 * math/s_clogf.c (__clogf): Likewise.
22442 * math/s_clogl.c (__clogl): Likewise.
22443 * math/Makefile (libm-calls): Add x2y2m1.
22444 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
22445 (__x2y2m1): Likewise.
22446 (__x2y2m1l): Likewise.
22447 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
22448 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
22449 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
22450 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22451 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
22452 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
22453 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
22454 * sysdeps/i386/fpu/libm-test-ulps: Update.
22455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22456
b87c4b24
JM
22457 [BZ #14621]
22458 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
22459 int as type of variable DEPTH.
22460 (glob): Use size_t instead of int as type of variables NEWCOUNT
22461 and OLD_PATHC.
22462
6d3bf199
LD
224632012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22464
22bf5c17
LD
22465 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
22466 Add s_sincosf-sse2.
22467 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
22468 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
22469 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
22470 macros for using routine as __sincosf_ia32.
22471 Use macro for function declaration and weak_alias.
22472 * sysdeps/i386/fpu/libm-test-ulps: Update.
22473
22474 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
22475 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22476
22477 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
22478 subnormal argument.
22479 * math/s_cexpf.c (__cexpf): Likewise.
22480 * math/s_csinf.c (__csinf): Likewise.
22481 * math/s_csinhf.c (__csinhf): Likewise.
22482 * math/s_ctanf.c (__ctanf): Likewise.
22483 * math/s_ctanhf.c (__ctanhf): Likewise.
22484 * math/s_ccosh.c (__ccoshf): Likewise.
22485 * math/s_cexp.c (__cexpl): Likewise.
22486 * math/s_csin.c (__csin): Likewise.
22487 * math/s_csinh.c (__csinh): Likewise.
22488 * math/s_ctan.c (__ctan): Likewise.
22489 * math/s_ctanh.c (ctanh): Likewise.
22490 * math/s_ccoshl.c (__ccoshl): Likewise.
22491 * math/s_cexpl.c (__cexpl): Likewise.
22492 * math/s_csinl.c (__csinl): Likewise.
22493 * math/s_csinhl.c (__csinhl): Likewise.
22494 * math/s_ctanl.c (__ctanl): Likewise.
22495 * math/s_ctanhl.c (__ctanhl): Likewise.
22496
203e5603
JM
224972012-09-25 Joseph Myers <joseph@codesourcery.com>
22498
22499 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
22500 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
22501 (_IO_off_t): Define to __off_t, not _G_off_t.
22502 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
22503 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
22504 (_IO_wint_t): Define to wint_t, not _G_wint_t.
22505 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
22506 type of __dummy and __dummy2 fields.
22507 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
22508 (_G_ssize_t): Likewise.
22509 (_G_off_t): Likewise.
22510 (_G_pid_t): Likewise.
22511 (_G_uid_t): Likewise.
22512 (_G_wchar_t): Likewise.
22513 (_G_wint_t): Likewise.
22514 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
22515 (_G_ssize_t): Likewise.
22516 (_G_off_t): Likewise.
22517 (_G_pid_t): Likewise.
22518 (_G_uid_t): Likewise.
22519 (_G_wchar_t): Likewise.
22520 (_G_wint_t): Likewise.
22521 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
22522 (_G_ssize_t): Likewise.
22523 (_G_off_t): Likewise.
22524 (_G_pid_t): Likewise.
22525 (_G_uid_t): Likewise.
22526 (_G_wchar_t): Likewise.
22527 (_G_wint_t): Likewise.
22528
9fab36eb
SP
225292012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22530
22531 * malloc/arena.c: Include malloc-sysdep.h.
22532 (shrink_heap): Use check_may_shrink_heap to decide if madvise
22533 is sufficient to shrink the heap or an unmap is needed.
22534 * sysdeps/generic/malloc-sysdep.h: New file. Define
22535 new function check_may_shrink_heap.
22536 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
22537 new function check_may_shrink_heap.
22538
2b4f00d1
SP
225392012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22540
22541 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
22542 comments.
22543
9a9028b1
DL
225442012-09-24 Dmitry V. Levin <ldv@altlinux.org>
22545
57c69bef
DL
22546 * catgets/test-gencat.sh: Add "set -e".
22547 * elf/tst-pathopt.sh: Likewise.
22548 * grp/tst_fgetgrent.sh: Likewise.
22549 * iconvdata/run-iconv-test.sh: Likewise.
22550 * intl/tst-gettext.sh: Likewise.
22551 * intl/tst-gettext2.sh: Likewise.
22552 * intl/tst-gettext4.sh: Likewise.
22553 * intl/tst-gettext6.sh: Likewise.
22554 * intl/tst-translit.sh: Likewise.
22555 * io/ftwtest-sh: Likewise.
22556 * libio/test-freopen.sh: Likewise.
22557 * malloc/tst-mtrace.sh: Likewise.
22558 * posix/globtest.sh: Likewise.
22559 * posix/tst-getconf.sh: Likewise.
22560 * posix/wordexp-tst.sh: Likewise.
22561 * stdio-common/tst-printf.sh: Likewise.
22562 * stdio-common/tst-unbputc.sh: Likewise.
22563 * stdlib/tst-fmtmsg.sh: Likewise.
22564 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22565 * catgets/Makefile: Do not specify -e option when running
22566 testsuite shell scripts.
22567 * elf/Makefile: Likewise.
22568 * grp/Makefile: Likewise.
22569 * iconvdata/Makefile: Likewise.
22570 * intl/Makefile: Likewise.
22571 * io/Makefile: Likewise.
22572 * libio/Makefile: Likewise.
22573 * malloc/Makefile: Likewise.
22574 * posix/Makefile: Likewise.
22575 * stdio-common/Makefile: Likewise.
22576 * stdlib/Makefile: Likewise.
22577 * sysdeps/x86_64/Makefile: Likewise.
22578
9a9028b1
DL
22579 * io/ftwtest-sh: Add copyright header.
22580 * posix/globtest.sh: Likewise.
22581 * posix/tst-getconf.sh: Likewise.
22582 * posix/wordexp-tst.sh: Likewise.
22583 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22584
ced6f16e
L
225852012-09-24 H.J. Lu <hongjiu.lu@intel.com>
22586
94b32c39
L
22587 [BZ #13679]
22588 * Makeconfig (+link): Defined as $(+link-static) if
22589 $(build-shared) isn't yes.
22590 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
22591 isn't yes.
22592 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
22593
189e935b
L
22594 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
22595
ced6f16e
L
22596 [BZ #14562]
22597 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
22598 new chunk size with MALLOC_ALIGN_MASK.
22599
a9f8e53a
JM
226002012-09-24 Joseph Myers <joseph@codesourcery.com>
22601
22602 [BZ #5044]
22603 * stdio-common/printf_fphex.c: Include <stdbool.h> and
22604 <rounding-mode.h>.
22605 (__printf_fphex): Determine rounding using get_rounding_mode and
22606 round_away.
22607 * stdio-common/tst-printf-round.c (struct hex_test): New
22608 structure.
22609 (hex_tests): New variable.
22610 (test_hex_in_one_mode): New function.
22611 (do_test): Also run tests for hex float output.
22612
43153109
JM
226132012-09-21 Joseph Myers <joseph@codesourcery.com>
22614
22615 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22616 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22617 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
22618 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22619 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22620 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
22621 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22622 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22623
8a26625d
JM
226242012-09-20 Joseph Myers <joseph@codesourcery.com>
22625
22626 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
22627 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
22628 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
22629 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
22630
f3fd569c
DL
226312012-09-19 Dmitry V. Levin <ldv@altlinux.org>
22632
22633 [BZ #14579]
22634 * elf/rtld.c (dl_main): Limit the check for self loading to normal
22635 mode only.
22636 * elf/tst-rtld-load-self.sh: New test.
22637 * elf/Makefile: Run it.
22638
63bbedd4
JM
226392012-09-18 Joseph Myers <joseph@codesourcery.com>
22640
22641 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
22642 (tst-writev-ENV): Remove.
22643 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
22644
626f8b6a
CM
226452012-09-17 Chris Metcalf <cmetcalf@tilera.com>
22646
22647 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
22648
b7aaa4d6
JM
226492012-09-17 Joseph Myers <joseph@codesourcery.com>
22650
22651 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
22652 unconditional.
22653 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
22654 Likewise.
22655 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
22656 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
22657 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
22658 Likewise.
22659
65513990
L
226602012-09-14 H.J. Lu <hongjiu.lu@intel.com>
22661
22662 [BZ #14587]
22663 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
22664 * config.make.in (have-cpp-asm-debuginfo): Removed.
22665 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
22666 * configure: Regenerated.
22667
784761be
JM
226682012-09-14 Joseph Myers <joseph@codesourcery.com>
22669
22670 [BZ #5044]
22671 * stdio-common/printf_fp.c: Include <stdbool.h> and
22672 <rounding-mode.h>.
22673 (___printf_fp): Determine rounding using get_rounding_mode and
22674 round_away.
22675 * stdio-common/tst-printf-round.c: New file.
22676 * stdio-common/Makefile (tests): Add tst-printf-round.
22677 (link-libm): New variable.
22678 ($(objpfx)tst-printf-round): Depend in $(link-libm).
22679
9503345f
L
226802012-09-13 H.J. Lu <hongjiu.lu@intel.com>
22681
22682 [BZ #14576]
22683 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
22684 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
22685 Likewise.
22686 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
22687 Likewise.
22688
ad35fc00
JM
226892012-09-13 Joseph Myers <joseph@codesourcery.com>
22690
22691 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
22692 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22693 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22694 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22695
6c9b0f68
JM
226962012-09-12 Joseph Myers <joseph@codesourcery.com>
22697
22698 [BZ #14518]
22699 * include/rounding-mode.h: New file.
22700 * sysdeps/generic/get-rounding-mode.h: Likewise.
22701 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
22702 * stdlib/strtod_l.c: Include <rounding-mode.h>.
22703 (MAX_VALUE): New macro.
22704 (MIN_VALUE): Likewise.
22705 (overflow_value): New function.
22706 (underflow_value): Likewise.
22707 (round_and_return): Use overflow_value and underflow_value to
22708 determine return values in overflow and underflow cases. Use
22709 round_away to determine rounding depending on rounding mode.
22710 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
22711 determine return values in overflow and underflow cases.
22712 * stdlib/tst-strtod-round.c: Include <fenv.h>.
22713 (struct test_results): New structure.
22714 (struct test): Use struct test_results to store expected results
22715 for all rounding modes.
22716 (TEST): Include expected results for all rounding modes.
22717 (test_in_one_mode): New function.
22718 (do_test): Use test_in_one_mode to compute and check results.
22719 Check results for all rounding modes.
22720 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
22721 $(link-libm).
22722
19fcedd5
AM
227232012-12-09 Allan McRae <allan@archlinux.org>
22724
1e9d84cd 22725 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 22726
8bbfd2f1
JM
227272012-09-11 Joseph Myers <joseph@codesourcery.com>
22728
22729 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
22730 (_G_int32_t): Likewise.
22731 (_G_uint16_t): Likewise.
22732 (_G_uint32_t): Likewise.
22733 (_G_HAVE_BOOL): Likewise.
22734 (_G_HAVE_ATEXIT): Likewise.
22735 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22736 (_G_HAVE_IO_FILE_OPEN): Likewise.
22737 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
22738 (_G_int32_t): Likewise.
22739 (_G_uint16_t): Likewise.
22740 (_G_uint32_t): Likewise.
22741 (_G_HAVE_BOOL): Likewise.
22742 (_G_HAVE_ATEXIT): Likewise.
22743 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22744 (_G_HAVE_IO_FILE_OPEN): Likewise.
22745 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
22746 (_G_int32_t): Likewise.
22747 (_G_uint16_t): Likewise.
22748 (_G_uint32_t): Likewise.
22749 (_G_HAVE_BOOL): Likewise.
22750 (_G_HAVE_ATEXIT): Likewise.
22751 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22752 (_G_HAVE_IO_FILE_OPEN): Likewise.
22753
b1dc5912
L
227542012-09-11 H.J. Lu <hongjiu.lu@intel.com>
22755
22756 * csu/libc-tls.c: Update copyright years.
22757
0e886ef9
JM
227582012-09-10 Joseph Myers <joseph@codesourcery.com>
22759
28361c5e
JM
22760 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
22761 [!_G_USING_THUNKS]: Remove conditional code.
22762 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
22763 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
22764
0e886ef9
JM
22765 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
22766 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
22767 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22768 (_G_VTABLE_LABEL_PREFIX): Likewise.
22769 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22770 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22771 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22772 (_G_VTABLE_LABEL_PREFIX): Likewise.
22773 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22774 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22775 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22776 (_G_VTABLE_LABEL_PREFIX): Likewise.
22777 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22778
bcba7aa2
L
227792012-09-10 H.J. Lu <hongjiu.lu@intel.com>
22780
22781 * libio/Makefile: Include ../Makeconfig before tests.
22782 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
22783 only if $(build-shared) is yes.
22784
06585ee8
L
22785 * iconv/gconv_db.c: Update copyright years.
22786
80ccd52c
LD
227872012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22788
22789 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
22790 unwind info if defined PIC. Fix special cases description.
22791 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
22792
22793 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
22794 DP_HI_MASK entry.
22795 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
22796
691bc9c1
L
227972012-09-07 H.J. Lu <hongjiu.lu@intel.com>
22798
3d9b46b3
L
22799 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
22800
de2139a9
L
22801 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
22802 is NULL.
22803
5ca78dd0
L
22804 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
22805 (LDLIBS-tst-chk4): This.
22806 (LDFLAGS-tst-chk5): Renamed to ...
22807 (LDLIBS-tst-chk5): This.
22808 (LDFLAGS-tst-chk6): Renamed to ...
22809 (LDLIBS-tst-chk6): This.
22810 (LDFLAGS-tst-lfschk4): Renamed to ...
22811 (LDLIBS-tst-lfschk4): This.
22812 (LDFLAGS-tst-lfschk5): Renamed to ...
22813 (LDLIBS-tst-lfschk5): This.
22814 (LDFLAGS-tst-lfschk6): Renamed to ...
22815 (LDLIBS-tst-lfschk6): This.
22816
691bc9c1
L
22817 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
22818 on $(common-objpfx)soversions.mk.
22819
65cafb1c
JM
228202012-09-07 Joseph Myers <joseph@codesourcery.com>
22821
22822 [BZ #10014]
22823 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
22824 example host name.
22825
c78ab094
SP
228262012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22827
22828 * malloc/arena.c (arena_get_retry): New function that gets
22829 another arena for the caller to try its request on.
22830 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
22831 current arena cannot fulfill the request.
22832 (__libc_memalign): Likewise.
22833 (__libc_memalign): Likewise.
22834 (__libc_pvalloc): Likewise.
22835 (__libc_calloc): Likewise.
22836
01f49f59
JT
228372012-09-05 John Tobey <john.tobey@gmail.com>
22838
22839 [BZ #13542]
22840 * manual/arith.texi (Operations on Complex): Fix description
22841 of carg branch cut.
22842
4c23fed5
JM
228432012-09-06 Joseph Myers <joseph@codesourcery.com>
22844
1d3c8572
JM
22845 [BZ #10014]
22846 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
22847 host name.
22848
4c23fed5
JM
22849 [BZ #10038]
22850 * manual/memory.texi (Memory): Make order of menu items match
22851 order of sections.
22852
04570aaa
L
228532012-09-06 H.J. Lu <hongjiu.lu@intel.com>
22854
22855 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
22856 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
22857 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
22858
b80af2f4
L
228592012-09-06 H.J. Lu <hongjiu.lu@intel.com>
22860
22861 * csu/libc-tls.c (static_dtv): Renamed to ...
22862 (_dl_static_dtv): This. Make it global.
22863 (_dl_initial_dtv): Removed.
22864 (__libc_setup_tls): Updated.
22865 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
22866 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
22867 DL_INITIAL_DTV.
22868
2abe9f15
PM
228692012-09-06 Petr Machata <pmachata@redhat.com>
22870
22871 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
22872 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
22873 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
22874 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
22875
0948c3af
L
228762012-09-06 H.J. Lu <hongjiu.lu@intel.com>
22877
22878 [BZ #14545]
22879 * csu/libc-tls.c (_dl_initial_dtv): New variable.
22880 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
22881 freeing dtv[-1].
22882
a5055ad1
L
228832012-09-06 H.J. Lu <hongjiu.lu@intel.com>
22884
22885 [BZ #14544]
22886 * Makeconfig (link-static-before-libc): Replace $(+prector)
22887 with $(+prectorT).
22888 (link-static-after-libc): Replace $(+postctor) with
22889 $(+postctorT).
22890 (link-bounded): Replace $(+prector)/$(+postctor) with
22891 $(+prectorT)/$(+postctorT).
22892 (+prectorT): New macro.
22893 (+postctorT): Likewise.
22894
ed8c2ecd
JM
228952012-09-06 Joseph Myers <joseph@codesourcery.com>
22896
22897 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
22898 (round_str): Handle values above the maximum for IBM long double
22899 as inexact.
22900 * stdlib/tst-strtod-round.c (tests): Regenerated.
22901
14c996c8
AK
229022012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22903
22904 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
22905 assembler flag.
22906 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
22907 zarch_nohighgprs around the zarch optimized routines.
22908 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
22909 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
22910 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
22911 for zarch.
22912
430d6ce6
DM
229132012-09-05 David S. Miller <davem@davemloft.net>
22914
22915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22916
ff04dda4
DM
22917 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
22918 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
22919 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
22920 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22921 entries.
22922
24d4e01b
AO
229232012-09-05 Alexandre Oliva <aoliva@redhat.com>
22924
22925 * malloc/arena.c: Fold copyright years.
22926 * malloc/mcheck.c, malloc/memusage.c: Likewise.
22927
61d58174
AO
229282012-09-05 Alexandre Oliva <aoliva@redhat.com>
22929
22930 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
22931
20196a5e
AO
229322012-09-05 Alexandre Oliva <aoliva@redhat.com>
22933
22934 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
22935
5c447383
AO
229362012-09-05 Alexandre Oliva <aoliva@redhat.com>
22937
22938 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
22939 change internal state upon failure.
22940
fad64255
AO
229412012-09-05 Alexandre Oliva <aoliva@redhat.com>
22942
22943 * malloc/mcheck.c (mcheck_check_all): Fix typo.
22944 * malloc/memusage.c (mmap): Likewise.
22945 (mmap64, mremap): Likewise. Adjust name in comment.
22946
1ffb8c90
SP
229472012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22948
22949 * libio/fileops.c: Fix typos in comments.
22950 * libio/oldfileops.c: Likewise.
22951 * libio/wfileops.c: Likewise.
22952
6ef9cc37
SP
229532012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22954
22955 [BZ #1349]
22956 * malloc/Makefile (tests): Add tst-malloc-usable test case.
22957 (tst-malloc-usable-ENV): Set environment for test case.
22958 * malloc/hooks.c (malloc_check_get_size): New function to get
22959 requested size.
22960 * malloc/malloc.c (musable): Use malloc_check_get_size.
22961 * malloc/tst-malloc-usable.c: New test case.
22962
4d038ae3
AS
229632012-09-05 Andreas Schwab <schwab@linux-m68k.org>
22964
22965 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
22966
c4e85184
AM
229672012-09-05 Allan McRae <allan@archlinux.org>
22968
b9dafc56 22969 [BZ #13966]
c4e85184
AM
22970 * configure.in (CXX_SYSINCLUDES): Use compiler output to
22971 determine header location.
22972 * configure: Regenerated.
22973
e1343020
AS
229742012-09-05 Andreas Schwab <schwab@linux-m68k.org>
22975
22976 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
22977 float format.
22978 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
22979 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
22980 format.
e1343020
AS
22981 (test): Regenerate.
22982
0a9f1987
DM
229832012-09-04 David S. Miller <davem@davemloft.net>
22984
22985 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
22986 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
22987 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
22988
29237804
FW
229892012-09-04 Florian Weimer <fweimer@redhat.com>
22990
22991 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
22992 failures.
22993
edb3cb88
FW
22994 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
22995
60160d83
JM
229962012-09-04 Joseph Myers <joseph@codesourcery.com>
22997
22998 [BZ #9914]
22999 * libio/iogetdelim.c: Include <limits.h>.
23000 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23001 + len + 1 would overflow.
23002
bcd6c8dc
AJ
230032012-09-03 Andreas Jaeger <aj@suse.de>
23004
23005 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23006 * sysdeps/i386/fpu/libm-test-ulps: Update.
23007
4ffffbd2
LD
230082012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23009
23010 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23011 Add s_sinf-sse2, s_conf-sse2.
23012
23013 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23014 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23015 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23016 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23017
23018 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23019 for using routine as __sinf_ia32.
23020 Use macro for function declaration and weak_alias.
23021 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23022 for using routine as __cosf_ia32.
23023 Use macro for function declaration and weak_alias.
23024
23025 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23026 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23027
23028 * sysdeps/x86_64/fpu/s_sinf.S: New file.
23029 * sysdeps/x86_64/fpu/s_cosf.S: New file.
23030 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23031
23032 * math/libm-test.inc (cos_test): Add more test cases.
23033 (sin_test): Likewise.
23034 (sincos_test): Likewise.
23035
511fa286
AK
230362012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23037
23038 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23039 (IFUNC_RESOLVE): Make pointers to the specialized implementations
23040 hidden.
23041 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23042
5f30cfec
L
230432012-09-02 H.J. Lu <hongjiu.lu@intel.com>
23044
23045 [BZ #14538]
23046 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23047 first element of the GOT.
23048 (elf_machine_load_address): Return the difference between
23049 the runtime address of _DYNAMIC and elf_machine_dynamic ().
23050
0786794f
AM
230512012-09-01 Allan McRae <allan@archlinux.org>
23052
5f30cfec
L
23053 [BZ #13412]
23054 * configure.in (AWK): Require gawk version 3.0 or later.
23055 * configure: Regenerated.
0786794f 23056
26889eac
JM
230572012-09-01 Joseph Myers <joseph@codesourcery.com>
23058
23059 * sysdeps/unix/sysv/linux/kernel-features.h
23060 (__ASSUME_POSIX_CPU_TIMERS): Remove.
23061 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23062 [__NR_clock_getres]: Make code unconditional.
23063 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23064 (clock_getcpuclockid): Remove code left unreachable by removal of
23065 conditionals.
23066 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23067 code unconditional.
23068 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23069 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23070 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23071 Make code unconditional.
23072 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23073 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23074 * sysdeps/unix/sysv/linux/clock_settime.c
23075 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23076 conditional code.
23077 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23078 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23079
d22e28b0
L
230802012-08-29 H.J. Lu <hongjiu.lu@intel.com>
23081
23082 [BZ #14476]
23083 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23084 scripts/test-installation.pl.
23085
23086 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23087 and $ld_so_version if it is set.
23088
050af9c4
SP
230892012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23090
23091 [BZ #14516]
23092 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23093 failure if reading from procfs failed.
23094 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23095
ad845c0b
JM
230962012-08-27 Joseph Myers <joseph@codesourcery.com>
23097
23098 * sysdeps/unix/sysv/linux/kernel-features.h
23099 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23100 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23101 Remove conditional code.
23102 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23103 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23104 Remove conditional code.
23105 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23106 * sysdeps/unix/sysv/linux/i386/fxstat.c
23107 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23108 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23109 * sysdeps/unix/sysv/linux/i386/fxstatat.c
23110 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23111 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23112 * sysdeps/unix/sysv/linux/i386/lxstat.c
23113 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23114 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23115 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23116 Remove conditional code.
23117 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23118 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23119 Remove conditional code.
23120 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23121 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23122 <kernel-features.h>.
23123 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23124 Remove.
23125 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23126 Remove conditional code.
23127 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23128 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23129 Remove conditional.
23130
5dbf56af
MF
231312012-08-27 Mike Frysinger <vapier@gentoo.org>
23132
23133 [BZ #5400]
23134 * NEWS: Add fixed bug number.
23135
d6e70f43
JM
231362012-08-27 Joseph Myers <joseph@codesourcery.com>
23137
7efb4737
JM
23138 [BZ #14519]
23139 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23140 underflowing exponent in case of negative sign.
23141 * stdlib/tst-strtod-round-data: Add more tests.
23142 * stdlib/tst-strtod-round.c (tests): Regenerated.
23143
af92131a
JM
23144 [BZ #3479]
23145 * stdlib/strtod_l.c (NDIG): Remove.
23146 (HEXNDIG): Likewise.
23147 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23148 smallest representable value.
23149 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23150 lie within an exact representation of 1/2 ulp of the result.
23151 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23152 unconditionally.
23153 (TENS_P9_IDX): Define unconditionally.
23154 (TENS_P9_SIZE): Likewise.
23155 (TENS_P10_IDX): Likewise.
23156 (TENS_P10_SIZE): Likewise.
23157 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23158 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23159 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23160 entries for 10^2^13 and 10^2^14.
23161 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23162 (TENS_P13_IDX): Define.
23163 (TENS_P13_SIZE): Likewise.
23164 (TENS_P14_IDX): Likewise.
23165 (TENS_P14_SIZE): Likewise.
23166 (_fpioconst_pow10): Change array size to
23167 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
23168 unconditional.
23169 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23170 1024]: Add entries for 10^2^13 and 10^2^14.
23171 [LAST_POW10 > _LAST_POW10]: Remove #error.
23172 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23173 (_fpioconst_pow10): Change array size to
23174 FPIOCONST_POW10_ARRAY_SIZE.
23175 * stdlib/gen-fpioconst.c: New file.
23176 * stdlib/gen-tst-strtod-round.c: Likewise.
23177 * stdlib/tst-strtod-round-data: Likewise.
23178 * stdlib/tst-strtod-round.c: Likewise.
23179 * stdlib/Makefile (tests): Add tst-strtod-round.
23180
d6e70f43
JM
23181 [BZ #14459]
23182 * stdlib/strtod_l.c: Include <stdint.h>.
23183 (NDEBUG): Do not define.
23184 (round_and_return): Change EXPONENT parameter to type intmax_t.
23185 Rearrange calculations to avoid internal overflow possibilities.
23186 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23187 Rearrange calculations to avoid internal overflow possibilities.
23188 Assert that number fits inside MPNSIZE limbs.
23189 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23190 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
23191 calculations and add assertions to avoid internal overflow
23192 possibilities. Add casts to avoid signed/unsigned operations.
23193 * stdlib/tst-strtod-overflow.c: New file.
23194 * stdlib/Makefile (tests): Add tst-strtod-overflow.
23195
1f529f7d
MP
231962012-08-25 Marek Polacek <polacek@redhat.com>
23197
23198 * time/time.h: Fix some typos in comments.
23199
59a629f1
RM
232002012-08-23 Roland McGrath <roland@hack.frob.com>
23201
23202 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23203 * posix/tst-rfc3484-2.c: Likewise.
23204 * posix/tst-rfc3484-3.c: Likewise.
23205
d3bafbc9
SM
232062012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
23207
23208 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23209 (EF_ARM_ABI_FLOAT_HARD): Likewise.
23210
4efcc022
JM
232112012-08-23 Joseph Myers <joseph@codesourcery.com>
23212
23213 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23214 #include of fxstatat64.c.
23215
3cc3ef96
RM
232162012-08-22 Roland McGrath <roland@hack.frob.com>
23217
f04e2132
RM
23218 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23219 * shadow/getspent_r.c: Likewise.
23220 * shadow/getspnam.c: Likewise.
23221 * shadow/getspnam_r.c: Likewise.
23222 * gshadow/getsgent.c: Likewise.
23223 * gshadow/getsgent_r.c: Likewise.
23224 * gshadow/getsgnam.c: Likewise.
23225 * gshadow/getsgnam_r.c: Likewise.
23226 * inet/getnetbyad.c: Likewise.
23227 * inet/getnetbyad_r.c: Likewise.
23228 * inet/getnetbynm.c: Likewise.
23229 * inet/getnetbynm_r.c: Likewise.
23230 * inet/getnetent.c: Likewise.
23231 * inet/getnetent_r.c: Likewise.
23232 * inet/getproto.c: Likewise.
23233 * inet/getproto_r.c: Likewise.
23234 * inet/getprtent.c: Likewise.
23235 * inet/getprtent_r.c: Likewise.
23236 * inet/getprtname.c: Likewise.
23237 * inet/getprtname_r.c: Likewise.
23238 * inet/getrpcbyname.c: Likewise.
23239 * inet/getrpcbyname_r.c: Likewise.
23240 * inet/getrpcbynumber.c: Likewise.
23241 * inet/getrpcbynumber_r.c: Likewise.
23242 * inet/getrpcent.c: Likewise.
23243 * inet/getrpcent_r.c: Likewise.
23244 * inet/getaliasent.c: Likewise.
23245 * inet/getaliasent_r.c: Likewise.
23246 * inet/getaliasname.c: Likewise.
23247 * inet/getaliasname_r.c: Likewise.
23248 * nscd/getgrgid_r.c: Likewise.
23249 * nscd/getgrnam_r.c: Likewise.
23250 * nscd/gethstbyad_r.c: Likewise.
23251 * nscd/gethstbynm3_r.c: Likewise.
23252 * nscd/getpwnam_r.c: Likewise.
23253 * nscd/getpwuid_r.c: Likewise.
23254 * nscd/getsrvbynm_r.c: Likewise.
23255 * nscd/getsrvbypt_r.c: Likewise.
23256 * nscd/gai.c: Likewise.
23257
c53d909c
RM
23258 * configure.in (build_nscd): New substituted variable, set
23259 by --disable-build-nscd and defaults to $use_nscd.
23260 * configure: Regenerated.
23261 * config.make.in (build-nscd): New substituted variable.
23262 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23263 Change conditional to require [$(build-nscd) = yes] as well.
23264 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23265
3cc3ef96
RM
23266 [BZ# 13696]
23267 * configure.in (use_nscd): New substituted variable, set by
23268 --disable-nscd. If enabled, define USE_NSCD.
23269 * configure: Regenerated.
23270 * config.h.in: Add USE_NSCD.
23271 * config.make.in (use-nscd): New substituted variable.
23272 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23273 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23274 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23275 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23276 (CFLAGS-getgrnam_r.c): Likewise.
23277 (CFLAGS-initgroups.c): Likewise.
23278 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23279 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23280 Variables removed.
23281 * inet/getnetgrent_r.c
23282 (nscd_setnetgrent): New function, broken out of ...
23283 (setnetgrent): ... here. Call it.
23284 (innetgr): Conditionalize nscd bits on [USE_NSCD].
23285 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23286 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23287 * nscd/Makefile (routines, aux): Move definitions after include of
23288 Makeconfig. Conditionalize on [$(use-nscd) != no].
23289 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23290 Conditionalize on [USE_NSCD].
23291 (is_nscd, nscd_init_cb): Likewise.
23292 (nss_load_library): Conditionalize init callback on [USE_NSCD].
23293 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23294 * nss/nss_db/db-init.c: Likewise.
23295 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23296 [USE_NSCD].
23297 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23298 (make_request): Use it.
23299 (cache_valid_p): New function.
23300 (__check_pf): Use it.
23301 * NEWS: Add item for --disable-nscd.
23302
07e51550
DL
233032012-08-22 Dmitry V. Levin <ldv@altlinux.org>
23304
23305 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23306 to support sed >= 4.2.1-20-ga9bf076.
23307 * configure: Regenerated.
23308
35a5b08b
RM
233092012-08-22 Roland McGrath <roland@hack.frob.com>
23310
23311 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23312 Conditionalize whole body on [IREL].
23313
8479f23a
JL
233142012-08-22 Jeff Law <law@redhat.com>
23315
23316 [BZ #14505]
23317 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
23318 if the family is PF_UNSPEC.
23319
48da0b21
MF
233202012-08-22 Mike Frysinger <vapier@gentoo.org>
23321
23322 * Makerules (lib-version): Rename from V.
23323 (install-lib-nosubdir): Change V to lib-version.
23324
15d0da8c
WS
233252012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
23326
23327 [BZ #14252]
23328 * powerpc32/power6/wcschr.c: New file.
23329 * powerpc32/power6/wcscpy.c: New file.
23330 * powerpc32/power6/wcsrchr.c: New file.
23331 * powerpc64/power6/wcschr.c: New file.
23332 * powerpc64/power6/wcscpy.c: New file.
23333 * powerpc64/power6/wcsrchr.c: New file.
23334
bcca0895
MK
233352012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23336
23337 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
23338 (two_way_short_needle): Use it.
5a4aaa33
RM
23339 * string/strstr.c (AVAILABLE1_USES_J): Define.
23340 * string/strcasestr.c: Likewise.
99677e57
MK
23341
23342 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
23343 array references.
23344 * string/strcasestr.c (TOLOWER): Make side-effect safe.
23345
400726de
MK
23346 [BZ #11607]
23347 * NEWS: Add an entry.
23348 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
23349 define their defaults.
23350 (two_way_short_needle): Detect end-of-string on-the-fly.
23351 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
23352 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
23353 * string/bug-strcasestr1.c: New test.
23354 * string/Makefile: Run it.
23355
20a71f2c
MK
233562012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23357
23358 [BZ #11607]
23359 * string/str-two-way.h (two_way_short_needle): Optimize matching of
23360 the first character.
23361
21ad0558
RM
233622012-08-21 Roland McGrath <roland@hack.frob.com>
23363
23364 * csu/elf-init.c (__libc_csu_irel): Function removed.
23365 * csu/libc-start.c (apply_irel): New function.
23366 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
23367
0e1d9911
JM
233682012-08-21 Joseph Myers <joseph@codesourcery.com>
23369
23370 * sysdeps/unix/sysv/linux/kernel-features.h
23371 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
23372 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23373 <kernel-features.h>.
23374 [__NR_fadvise64_64]: Make code unconditional.
23375 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
23376 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23377 !__NR_fadvise64_64)]: Likewise.
23378 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23379 !__NR_fadvise64_64))]: Likewise.
23380 [__NR_fadvise64]: Make code unconditional.
23381 [!__NR_fadvise64]: Remove conditional code.
23382 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
23383 <kernel-features.h>.
23384 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23385 unconditional.
23386 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23387 conditional code.
23388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
23389 not include <kernel-features.h>.
23390 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23391 unconditional.
23392 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23393 conditional code.
23394 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
23395 include <kernel-features.h>.
23396 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23397 unconditional.
23398 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23399 conditional code.
23400
14a50c9d
WS
234012012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
23402
23403 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
23404 slight instruction rearrangements per scrollpipe analysis.
23405 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23406
c0f4faf0
RM
234072012-08-20 Roland McGrath <roland@hack.frob.com>
23408
696da859
RM
23409 * manual/syslog.texi (syslog; vsyslog, closelog):
23410 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
23411 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
23412
c0f4faf0
RM
23413 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
23414 DSOCAPS to match condition on defining it.
23415
348363b2
JM
234162012-08-20 Joseph Myers <joseph@codesourcery.com>
23417
a35cbf28
JM
23418 * sysdeps/unix/sysv/linux/kernel-features.h
23419 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
23420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
23421 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23422 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
23424 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23425 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
23427 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23428 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23429
445f7ecd
JM
23430 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
23431 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
23432
348363b2
JM
23433 * sysdeps/unix/sysv/linux/kernel-features.h
23434 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
23435 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
23436 unconditional.
23437 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23438 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
23439 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23440 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23441 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
23442 Make code unconditional.
23443 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23444 (__mmap64) [!__NR_mmap2]: Likewise.
23445 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
23446 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23447 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23448 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
23449 [__NR_mmap2]: Make code unconditional.
23450 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23451 (__mmap64) [!__NR_mmap2]: Likewise.
23452
bc5bc0e5
AK
234532012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23454
23455 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
23456
88d506de
AJ
234572012-08-18 Andreas Jaeger <aj@suse.de>
23458
23459 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
23460
493387d2
MF
234612012-08-18 Mike Frysinger <vapier@gentoo.org>
23462
23463 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
23464 * include/unistd.h (__have_sock_cloexec): Likewise.
23465 (__have_pipe2): Likewise.
23466 (__have_dup3): Likewise.
23467
a277af22
MF
234682012-08-18 Mike Frysinger <vapier@gentoo.org>
23469
23470 [BZ #9685]
23471 * include/unistd.h (__have_pipe2): Change define into an extern int.
23472 (__have_dup3): Likewise.
23473 * socket/have_sock_cloexec.c: Include fcntl.h.
23474 (__have_pipe2): New variable.
23475 (__have_dup3): Likewise.
23476
fdab8fd3
MF
234772012-08-17 Mike Frysinger <vapier@gentoo.org>
23478
23479 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
23480
31035e80
MP
234812012-08-17 Marek Polacek <polacek@redhat.com>
23482
23483 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
23484 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
23485
3bd9e993
RM
234862012-08-17 Roland McGrath <roland@hack.frob.com>
23487
c91c505f
RM
23488 * configure.in: Add AC_SUBST for sysheaders.
23489 * configure: Regenerated.
23490 * config.make.in (sysheaders): New substituted variable.
23491
7c6f9d53
RM
23492 * sysdeps/unix/mkfifo.c: Moved ...
23493 * sysdeps/posix/mkfifo.c: ... here.
23494 * sysdeps/unix/mkfifoat.c: Moved ...
23495 * sysdeps/posix/mkfifoat.c: ... here.
23496
23497 * sysdeps/unix/utime.c: Moved ...
23498 * sysdeps/posix/utime.c: ... here.
23499
23500 * sysdeps/unix/time.c: Moved ...
23501 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
23502 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
23503 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
23504
23505 * sysdeps/unix/nice.c: Moved ...
23506 * sysdeps/posix/nice.c: ... here.
23507
23508 * sysdeps/unix/alarm.c: Moved ...
23509 * sysdeps/posix/alarm.c: ... here.
23510
3bd9e993
RM
23511 * intl/Makefile ($(codeset_mo)): Depend on the input file.
23512
d1f09384
JL
235132012-08-17 Jeff Law <law@redhat.com>
23514
23515 * intl/Makefile (codeset_mo): New variable.
23516 ($(codeset_mo)): New target.
23517 (tst-codeset.out): Depend on that. Remove explicit rule.
23518 (tst-gettext3.out, tst-gettext5.out): Likewise.
23519 (LOCPATH-ENV, tst-codeset-ENV): New variables.
23520 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
23521 * intl/tst-codeset.sh: Remove.
23522 * intl/tst-gettext3.sh: Likewise.
23523 * intl/tst-gettext5.sh: Likewise.
23524
2ae1ae5c
RM
235252012-08-17 Roland McGrath <roland@hack.frob.com>
23526
c31fdb83
RM
23527 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
23528 * sysdeps/unix/syscalls.list: ... here.
23529
a0844057
RM
23530 * sysdeps/posix/getaddrinfo.c
23531 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
23532 (gaiconf_init, gaiconf_reload): Use them.
23533 [!_STATBUF_ST_NSEC]
23534 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
23535 Define using time_t rather than struct timespec.
23536
750c1f2a
RM
23537 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
23538 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
23539 Macros removed.
23540 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
23541 [!NO_THREADS].
23542 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
23543 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
23544 Likewise.
23545
2ae1ae5c
RM
23546 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
23547 __libc_cleanup_push argument.
23548
e66a42f5
RM
23549 * bits/param.h: New file.
23550 * misc/sys/param.h: New file.
23551 * include/sys/param.h: New file.
23552 * misc/Makefile (headers): Add bits/param.h.
23553 * sysdeps/generic/sys/param.h: File removed.
23554 * sysdeps/unix/sysv/linux/bits/param.h: New file.
23555 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
23556 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 23557 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 23558
b7c08a66
RM
23559 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
23560 last change.
23561
b2e1c562
RM
23562 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
23563 [_IO_MTSAFE_IO].
23564 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
23565 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
23566 New macros.
23567
c75ccd4c
RM
23568 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
23569 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
23570 rather than -D_IO_MTSAFE_IO conditionally.
23571 * stdio-common/Makefile (CPPFLAGS): Likewise.
23572 * wcsmbs/Makefile (CPPFLAGS): Likewise.
23573 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
23574 Use $(libio-mtsafe).
23575 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
23576 of -D_IO_MTSAFE_IO.
23577 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
23578 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
23579 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
23580 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
23581 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
23582 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
23583 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
23584 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
23585 (CFLAGS-fread_u_chk.c): Likewise.
23586 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
23587 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
23588 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
23589 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
23590 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
23591 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
23592 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
23593 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
23594 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
23595
23596 * libio/Makefile: Test [$(libc-reentrant) = yes]
23597 instead of [$(filter %REENTRANT, $(defines)) nonempty].
23598
23599 * Makeconfig
23600 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
23601 * sysdeps/pthread/configure: File removed.
23602 * sysdeps/pthread/Makeconfig: New file.
23603 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
23604 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
23605
d9195db8
GB
236062012-08-16 Gary Benson <gbenson@redhat.com>
23607
23608 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
23609 unmapping the first object in a namespace.
23610
86466cd9
RM
236112012-08-16 Roland McGrath <roland@hack.frob.com>
23612
23613 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
23614 (__internal_setnetgrent): ... this. Add internal_function to
23615 definition. Add libc_hidden_def.
23616 (setnetgrent): Update caller.
23617 (internal_endnetgrent): Renamed to ...
23618 (__internal_endnetgrent): ... this. Add internal_function to
23619 definition. Add libc_hidden_def.
23620 (endnetgrent): Update caller.
23621 (internal_getnetgrent_r): Renamed to ...
23622 (__internal_getnetgrent_r): ... this. Add internal_function to
23623 definition. Add libc_hidden_def.
23624 (__getnetgrent_r): Update caller.
23625 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
23626
c3c8283c
JM
236272012-08-16 Joseph Myers <joseph@codesourcery.com>
23628
23629 * stdlib/longlong.h: Update from GCC.
23630
db1ee0a8
RM
236312012-08-16 Roland McGrath <roland@hack.frob.com>
23632
23633 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
23634 on _QL, which is set by umul_ppmm but never used.
23635 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
23636 variables, which are set by GMP macros but never used.
23637 * stdio-common/_itowa.c (_itowa): Likewise.
23638 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
23639 * stdlib/mod_1.c (mpn_mod_1): Likewise.
23640
30f69637
CD
236412012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
23642
23643 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
23644 struct La_sh_regs is not constant.
23645 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
23646 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
23647 and struct La_sparc64_regs are not constant.
23648
93a78ac4
JM
236492012-08-16 Joseph Myers <joseph@codesourcery.com>
23650
23651 * sysdeps/unix/sysv/linux/kernel-features.h
23652 (__ASSUME_POSIX_TIMERS): Remove.
23653 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23654 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23655 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
23656 Make code unconditional.
23657 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23658 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
23659 Make code unconditional.
23660 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23661 * sysdeps/unix/sysv/linux/clock_nanosleep.c
23662 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
23663 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23664 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
23665 Make code unconditional.
23666 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23667 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
23668 (__libc_missing_posix_timers): Remove.
23669
dd924cd7
RM
236702012-08-15 Roland McGrath <roland@hack.frob.com>
23671
4b4f2771
RM
23672 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
23673 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
23674
601c888b
RM
23675 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
23676
176790a7
RM
23677 * elf/dl-sym.c: Include <stdlib.h>.
23678
329bc018
RM
23679 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
23680 constants, which avoids warnings in 32-bit builds.
23681
e04e272d
RM
23682 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
23683 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
23684
952bf94a
RM
23685 * misc/lseek.c: File moved to ...
23686 * io/lseek.c: ... here.
23687
7c99b50a
RM
23688 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
23689
dd924cd7
RM
23690 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
23691 shifting LEN more than 31 bits at once.
23692
b3f479a8
LD
236932012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23694
23695 [BZ #14195]
8c4ae0d4
RM
23696 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
23697 segmentation fault for a case of two empty input strings.
b3f479a8
LD
23698 * string/test-strncasecmp.c (check1): Renamed to...
23699 (bz12205): ...this.
23700 (bz14195): Add new testcase for two empty input strings and N > 0.
23701 (test_main): Call new testcase, adapt for renamed function.
23702
9c55864e
AJ
237032012-08-15 Andreas Jaeger <aj@suse.de>
23704
23705 [BZ #14090]
23706 * crypt/md5test2.c: New test, based on test supplied by Serge
23707 Belyshev <belyshev@depni.sinp.msu.ru>.
23708 * crypt/Makefile (xtests): Add md5test-giant..
23709 * crypt/Makefile ($(objpfx)md5test-giant): Add.
23710
02dcb6c5
PE
237112012-08-15 Paul Eggert <eggert@cs.ucla.edu>
23712
23713 [BZ #14090]
23714 * crypt/md5.c (md5_process_block): Don't assume the buffer
23715 length is less than 2**32.
23716 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
23717 length is less than 2**64.
23718
a3f95dcc
RM
237192012-08-15 Roland McGrath <roland@hack.frob.com>
23720
be75d758
RM
23721 * string/str-two-way.h: Include <sys/param.h>.
23722 (MAX): Macro removed.
23723
7312ca90
RM
23724 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
23725 Move #define and #undef of memmove to just before and after
23726 including <string.h>.
23727
9a0a5486
RM
23728 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
23729 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
23730 and after including <string.h>. Move declarations of
23731 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
23732 to before #include "string/memmove.c".
23733
67cc348d
RM
23734 * include/dirent.h: Declare __getdirentries.
23735
a3f95dcc
RM
23736 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
23737 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
23738
ca98e171
MF
237392012-08-14 Mike Frysinger <vapier@gentoo.org>
23740
23741 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
23742 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
23743 * sysdeps/i386/configure: Regenerated.
23744 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
23745 STABS_CURRENT_FILE, and STABS_FUN.
23746 (END): Remove call to STABS_FUN_END.
23747 (STABS_CURRENT_FILE1): Delete.
23748 (STABS_CURRENT_FILE): Likewise.
23749 (STABS_FUN): Likewise.
23750 (STABS_FUN_END): Likewise.
23751 (STABS_FUN2): Likewise.
23752 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
23753 * sysdeps/x86_64/configure: Regenerated.
23754
5908bf46
RM
237552012-08-14 Roland McGrath <roland@hack.frob.com>
23756
23757 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 23758 * elf/dl-lookup.c: Likewise.
5908bf46 23759
f2c05b9e
JM
237602012-08-14 Joseph Myers <joseph@codesourcery.com>
23761
23762 * sysdeps/unix/sysv/linux/kernel-features.h
23763 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
23764 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
23765 unconditionally.
23766 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
23767 unconditionally.
23768 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
23769 condition on __ASSUME_CLONE_THREAD_FLAGS.
23770
e11f5155
AJ
237712012-08-14 Andreas Jaeger <aj@suse.de>
23772
23773 * sysdeps/i386/fpu/libm-test-ulps: Update.
23774
51a9ba86
MK
237752012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
23776
2fdd4f78
AJ
23777 * include/atomic.h (atomic_exchange_and_add): Split into ...
23778 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
23779 New atomic macros.
51a9ba86 23780
ba6cba9e
MT
237812012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
23782
23783 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23784
42443a47
JL
237852012-08-13 Jeff Law <law@redhat.com>
23786
23787 * manual/stdio.texi (snprintf): Clarify handling of the trailing
23788 null byte in the output string.
23789
121dce05
JM
237902012-08-10 Joseph Myers <joseph@codesourcery.com>
23791
23792 * sysdeps/unix/sysv/linux/kernel-features.h
23793 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
23794 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
23795 (__ASSUME_ARG_MAX_STACK_BASED): Define.
23796 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
23797 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
23798 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
23799 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
23800
bf51f568
JL
238012012-08-09 Jeff Law <law@redhat.com>
23802
23803 [BZ #13939]
23804 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
23805 When avoid_arena is set, don't retry in the that arena. Pick the
23806 next one, whatever it might be.
23807 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
23808 (arena_lock): Pass in new parameter to arena_get2.
23809 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
23810 arena_get2.
23811 (__libc_malloc): Unify retrying after main arena failure with
23812 __libc_memalign version.
23813 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
23814
f85fa270
L
238152012-08-09 H.J. Lu <hongjiu.lu@intel.com>
23816
23817 [BZ #14166]
23818 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
23819 to __redirect_strstr.
23820 (__strstr_sse42): Use typeof __redirect_strstr.
23821 (__strstr_ia32): Likewise.
23822 (__libc_strstr): New prototype.
23823 (strstr): Renamed to ...
23824 (__libc_strstr): This.
23825 (strstr): New strong alias of __libc_strstr.
23826 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23827 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
23828 __redirect_time.
23829 Include <time.h>.
23830 (__libc_time): New prototype.
23831 (time_ifunc): Replace time with __libc_time.
23832 (time): New strong alias and hidden definition of __libc_time.
23833 (__GI_time): Remove strong alias.
23834 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
23835 Include <stddef.h>.
23836 (memmove): Redefined to __redirect_memmove.
23837 (__memmove_sse2): Use typeof __redirect_memmove.
23838 (__memmove_ssse3): Likewise.
23839 (__memmove_ssse3_back): Likewise.
23840 (__libc_memmove): New prototype.
23841 (memmove): Renamed to ...
23842 (__libc_memmove): This.
23843 (memmove): New strong alias of __libc_memmove.
23844
33b4a91e
MS
238452012-08-08 Mark Salter <msalter@redhat.com>
23846
23847 * elf/elf.h
23848 (R_MN10300_TLS_GD): Define.
23849 (R_MN10300_TLS_LD): Likewise.
23850 (R_MN10300_TLS_LDO): Likewise.
23851 (R_MN10300_TLS_GOTIE): Likewise.
23852 (R_MN10300_TLS_IE): Likewise.
23853 (R_MN10300_TLS_LE): Likewise.
23854 (R_MN10300_TLS_DTPMOD): Likewise.
23855 (R_MN10300_TLS_DTPOFF): Likewise.
23856 (R_MN10300_TLS_TPOFF): Likewise.
23857 (R_MN10300_SYM_DIFF): Likewise.
23858 (R_MN10300_ALIGN): Likewise.
23859 (R_MN10300_NUM): Update.
23860
b36137f1
JM
238612012-08-08 Joseph Myers <joseph@codesourcery.com>
23862
23863 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
23864 Remove.
23865
cdd915fd
RM
238662012-08-08 Roland McGrath <roland@hack.frob.com>
23867
a2433aac
RM
23868 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
23869
cdd915fd
RM
23870 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
23871 sysdeps/unix -> sysdeps/posix move.
23872 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23873
bf9b740a
AM
238742012-08-07 Allan McRae <allan@archlinux.org>
23875
23876 [BZ #14303]
23877 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
23878 (SUNOS_CPP): Likewise.
23879 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
23880 not found.
23881 (open_input): Call CPP using execvp.
23882
93df14ee
JM
238832012-08-07 Joseph Myers <joseph@codesourcery.com>
23884
23885 * sysdeps/unix/sysv/linux/kernel-features.h
23886 (__ASSUME_PROT_GROWSUPDOWN): Remove.
23887 (__ASSUME_NO_CLONE_DETACHED): Likewise.
23888 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
23889 (__ASSUME_WAITID_SYSCALL): Likewise.
23890 * sysdeps/unix/sysv/linux/dl-execstack.c
23891 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
23892 code unconditional.
23893 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
23894 conditional code.
23895 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
23896 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
23897 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
23898 code.
23899 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
23900 unconditional.
23901 [__ASSUME_WAITID_SYSCALL]: Likewise.
23902 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
23903
d34689de
RM
239042012-08-07 Roland McGrath <roland@hack.frob.com>
23905
a281decc
RM
23906 * sysdeps/unix/closedir.c: Renamed to ...
23907 * sysdeps/posix/closedir.c: ... here.
23908 * sysdeps/unix/dirfd.c: Renamed to ...
23909 * sysdeps/posix/dirfd.c: ... here.
23910 * sysdeps/unix/dirstream.h: Renamed to ...
23911 * sysdeps/posix/dirstream.h: ... here.
23912 * sysdeps/unix/fdopendir.c: Renamed to ...
23913 * sysdeps/posix/fdopendir.c: ... here.
23914 * sysdeps/unix/opendir.c: Renamed to ...
23915 * sysdeps/posix/opendir.c: ... here.
23916 * sysdeps/unix/readdir.c: Renamed to ...
23917 * sysdeps/posix/readdir.c: ... here.
23918 * sysdeps/unix/readdir_r.c: Renamed to ...
23919 * sysdeps/posix/readdir_r.c: ... here.
23920 * sysdeps/unix/rewinddir.c: Renamed to ...
23921 * sysdeps/posix/rewinddir.c: ... here.
23922 * sysdeps/unix/seekdir.c: Renamed to ...
23923 * sysdeps/posix/seekdir.c: ... here.
23924 * sysdeps/unix/telldir.c: Renamed to ...
23925 * sysdeps/posix/telldir.c: ... here.
23926 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
23927 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
23928 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
23929 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
23930
22895b47
RM
23931 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
23932 * bits/fcntl.h: ... here.
23933
707a53b6
RM
23934 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
23935 not 0.
23936 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
23937 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
23938 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
23939 (struct flock): Move l_start, l_len to the beginning.
23940 Use __pid_t for l_pid.
23941 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
23942 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
23943 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
23944 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
23945 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
23946 [__USE_LARGEFILE64] (struct flock64): New type.
23947 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
23948
f0bd3e25
RM
23949 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
23950 * bits/dirent.h: ... here.
23951
d34689de
RM
23952 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
23953 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
23954
6dad2c06
JM
239552012-08-07 Joseph Myers <joseph@codesourcery.com>
23956
23957 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23958 Change from 2.6.0 to 2.6.16.
23959 * sysdeps/unix/sysv/linux/configure: Regenerated.
23960 * sysdeps/unix/sysv/linux/kernel-features.h
23961 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
23962 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
23963 version.
23964 (__ASSUME_UTIMES): Likewise.
23965 (__ASSUME_CLONE_STOPPED): Remove.
23966 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
23967 architectures, not kernel version.
23968 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
23969 (__ASSUME_NO_CLONE_DETACHED): Likewise.
23970 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
23971 (__ASSUME_WAITID_SYSCALL): Likewise.
23972 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
23973 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
23974 * README: State 2.6.16 as minimum Linux kernel version. Do not
23975 refer to older versions.
23976
03af9520
RM
239772012-08-06 Roland McGrath <roland@hack.frob.com>
23978
8e49df1d
RM
23979 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
23980 Define alphasort64 as an alias.
23981 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
23982 Define versionsort64 as an alias.
23983 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
23984 Define scandir64 as an alias.
23985 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
23986 Define scandirat64 as an alias.
23987 * dirent/alphasort64.c (alphasort64):
23988 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
23989 * dirent/versionsort64.c: Likewise.
23990 * dirent/scandir64.c: Likewise.
23991 * dirent/scandirat64.c: Likewise.
23992 * sysdeps/wordsize-64/alphasort.c: File removed.
23993 * sysdeps/wordsize-64/alphasort64.c: File removed.
23994 * sysdeps/wordsize-64/scandir.c: File removed.
23995 * sysdeps/wordsize-64/scandir64.c: File removed.
23996 * sysdeps/wordsize-64/scandirat.c: File removed.
23997 * sysdeps/wordsize-64/scandirat64.c: File removed.
23998 * sysdeps/wordsize-64/versionsort.c: File removed.
23999 * sysdeps/wordsize-64/versionsort64.c: File removed.
24000 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24001 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24002 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24003 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24004 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24005 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24006 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24007 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24008
24009 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24010 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24011 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24012 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24013 [defined __arch64__ || defined __sparcv9]
24014 (__INO_T_MATCHES_INO64_T): New macro.
24015 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24016 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24017 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24018 * sysdeps/unix/sysv/linux/bits/dirent.h
24019 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24020 (_DIRENT_MATCHES_DIRENT64): New macro.
24021
03af9520
RM
24022 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24023 Define lockf64 as an alias.
24024 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24025 Define fseeko64 as an alias.
24026 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24027 Define ftello64 as an alias.
24028 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24029 Define _IO_fgetpos64 and fgetpos64 as aliases.
24030 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24031 Define _IO_fsetpos64 and fsetpos64 as aliases.
24032 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24033 Conditionalize body on this.
24034 * libio/fseeko64.c: Likewise.
24035 * libio/ftello64.c: Likewise.
24036 * libio/iofgetpos64.c: Likewise.
24037 * libio/iofsetpos64.c: Likewise.
24038 * sysdeps/wordsize-64/lockf.c: File removed.
24039 * sysdeps/wordsize-64/lockf64.c: File removed.
24040 * sysdeps/wordsize-64/fseeko.c: File removed.
24041 * sysdeps/wordsize-64/fseeko64.c: File removed.
24042 * sysdeps/wordsize-64/ftello.c: File removed.
24043 * sysdeps/wordsize-64/ftello64.c: File removed.
24044 * sysdeps/wordsize-64/iofgetpos.c: File removed.
24045 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24046 * sysdeps/wordsize-64/iofsetpos.c: File removed.
24047 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24048 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24049 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24050 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24051 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24052 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24053 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24054 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24055 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24056 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24057 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24058
24059 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24060 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24061 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24062 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24063 [defined __arch64__ || defined __sparcv9]
24064 (__OFF_T_MATCHES_OFF64_T): New macro.
24065 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24066 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24067 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24068 (__OFF_T_MATCHES_OFF64_T): New macro.
24069
c5757acd
L
240702012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24071
24072 * stdlib/secure-getenv.c (__secure_getenv): Replace
24073 GLIBC_2_16 with GLIBC_2_17.
24074
3a31811e
L
240752012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24076
24077 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24078 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24079
faa2bccb
DM
240802012-08-03 David S. Miller <davem@davemloft.net>
24081
24082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24083
85fe1997
JM
240842012-08-03 Joseph Myers <joseph@codesourcery.com>
24085
24086 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24087 Remove.
24088 (__ASSUME_CORRECT_SI_PID): Likewise.
24089 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24090 (__ASSUME_TMPFS_NAME): Likewise.
24091 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24092 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24093 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24094 (HAVE_AUX_SECURE): Make definition unconditional.
24095 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24096 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24097
4f75b7a0
RM
240982012-08-03 Roland McGrath <roland@hack.frob.com>
24099
24100 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24101 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24102 * sysdeps/mach/hurd/eloop-threshold.h: New file.
24103 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24104 __eloop_threshold instead of SYMLOOP_MAX.
24105
24106 * sysdeps/generic/eloop-threshold.h: New file.
24107 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24108 of MAXSYMLINKS.
24109 * elf/chroot_canon.c (chroot_canon): Likewise.
24110
7aab07e4
JM
241112012-08-03 Joseph Myers <joseph@codesourcery.com>
24112
24113 [BZ #13717]
24114 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24115 Change to 2.6.0 everywhere.
24116 * sysdeps/unix/sysv/linux/configure: Regenerated.
24117 * sysdeps/unix/sysv/linux/kernel-features.h
24118 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24119 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24120 kernel versions.
24121 (__ASSUME_POSIX_TIMERS): Define unconditionally.
24122 (__ASSUME_FUTEX_REQUEUE): Remove.
24123 (__ASSUME_STATFS64): Define unconditionally.
24124 (__ASSUME_AT_SECURE): Likewise.
24125 (__ASSUME_CORRECT_SI_PID): Likewise.
24126 (__ASSUME_TGKILL): Define without depending on kernel version for
24127 i386.
24128 (__ASSUME_UTIMES): Likewise.
24129 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24130 kernel version.
24131 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24132 (__ASSUME_TMPFS_NAME): Likewise.
24133 * README: Update reference to Linux kernel versions.
24134
b67e9372
MP
241352012-08-02 Marek Polacek <polacek@redhat.com>
24136
1f529f7d 24137 [BZ# 14150]
b67e9372
MP
24138 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
24139 libc_cv_asm_type_prefix with %.
24140 * configure: Regenerated.
d2441631
RM
24141 * include/libc-symbols.h: Remove comment about
24142 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
24143 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24144 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24145 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24146 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24147 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24148 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24149 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24150 * elf/tst-unique2mod1.c: Likewise.
24151 * elf/tst-unique1mod2.c: Likewise.
24152 * elf/tst-unique1mod1.c: Likewise.
24153 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24154 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24155 Replace ASM_TYPE_DIRECTIVE with .type.
24156 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24157 * sysdeps/i386/sysdep.h: Likewise.
24158 * sysdeps/x86_64/sysdep.h: Likewise.
24159 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
24160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24161 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 24162 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
24163 * sysdeps/powerpc/powerpc32/sysdep.h:
24164 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
24165 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24166 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24167 * sysdeps/i386/fpu/e_powf.S: Likewise.
24168 * sysdeps/i386/fpu/e_expl.S: Likewise.
24169 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24170 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24171 * sysdeps/i386/fpu/e_pow.S: Likewise.
24172 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24173 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24174 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24175 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24176 * sysdeps/i386/fpu/e_log2.S: Likewise.
24177 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24178 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24179 * sysdeps/i386/fpu/e_powl.S: Likewise.
24180 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24181 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24182 * sysdeps/i386/fpu/e_logl.S: Likewise.
24183 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24184 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24185 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24186 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24187 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24188 * sysdeps/i386/fpu/e_log.S: Likewise.
24189 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24190 * sysdeps/i386/fpu/e_logf.S: Likewise.
24191 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24192 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24193 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24194 * sysdeps/i386/fpu/e_log10.S: Likewise.
24195 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24196 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24197 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24198 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24199 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24200 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24201 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24202 * sysdeps/i386/i686/strtok.S: Likewise.
24203 * sysdeps/i386/i386-mcount.S: Likewise.
24204 * sysdeps/i386/strtok.S: Likewise.
24205 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24206 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24207 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24208 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24209 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24210 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24211 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24212 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24213 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24214 * sysdeps/x86_64/_mcount.S: Likewise.
24215 * sysdeps/x86_64/strtok.S: Likewise.
24216 * sysdeps/sh/_mcount.S: Likewise.
24217
2747bf9a
RM
242182012-08-01 Roland McGrath <roland@hack.frob.com>
24219
24220 * libio/iofopen.c: Include <fcntl.h>.
24221 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24222 (_IO_fopen64, fopen64): Define as aliases.
24223 * libio/iofopen64.c: Include <fcntl.h>.
24224 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24225 Conditionalize body on this.
24226 * sysdeps/wordsize-64/iofopen.c: File removed.
24227 * sysdeps/wordsize-64/iofopen64.c: File removed.
24228
3fb791b8
MP
242292012-08-01 Marek Polacek <polacek@redhat.com>
24230
24231 * libc/Makeconfig: Use elf in place of binfmt-subdir.
24232 Use dlfcn directly instead of a variable.
24233 (binfmt-subdir): Do not define.
24234 (dlfcn): Likewise.
24235
a9f1039f
JM
242362012-08-01 Joseph Myers <joseph@codesourcery.com>
24237
23bddc06
JM
24238 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24239 Remove all definitions.
24240 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24241 <kernel-features.h>.
24242 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24243 (miss_F_GETOWN_EX): Remove all definitions.
24244 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24245 macro definition.
24246 [!__ASSUME_FCNTL64]: Remove conditional code.
24247 [__ASSUME_FCNTL64]: Make code unconditional.
24248 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24249 <kernel-features.h>.
24250 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24251 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24252 (lockf64) [__NR_fcntl64]: Make code unconditional.
24253 (lockf64) [__ASSUME_FCNTL64]: Likewise.
24254
a9f1039f
JM
24255 * sysdeps/unix/sysv/linux/kernel-features.h
24256 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24257 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24258 Make code unconditional.
24259 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24260 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24262 [__NR_vfork]: Make code unconditional.
24263 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24264 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24266 [__NR_vfork]: Make code unconditional.
24267 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24268 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24269
09c0ee5f
RM
242702012-08-01 Roland McGrath <roland@hack.frob.com>
24271
48aec5b9
RM
24272 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24273 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24274
cd97c966
RM
24275 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24276 Define mkstemp64 as an alias.
3f55550c
RM
24277 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24278 Define mkstemps64 as an alias.
cd97c966
RM
24279 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24280 Define mkostemp64 as an alias.
b8625cfc
RM
24281 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24282 Define mkostemps64 as an alias.
cd97c966
RM
24283 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24284 Conditionalize body on this.
24285 * misc/mkostemp64.c: Likewise.
b8625cfc 24286 * misc/mkostemps64.c: Likewise.
3f55550c 24287 * misc/mkstemps64.c: Likewise.
cd97c966
RM
24288 * sysdeps/wordsize-64/mkstemp64.c: File removed.
24289 * sysdeps/wordsize-64/mkostemp64.c: File removed.
24290 * sysdeps/wordsize-64/mkostemp.c: File removed.
24291 * sysdeps/wordsize-64/mkstemp.c: File removed.
24292 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24293 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24294 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24295 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24296
09c0ee5f
RM
24297 [BZ #14138]
24298 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24299 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24300 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24301 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24302
24303 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24304 compat_symbol macros from <shlib-compat.h> rather than the underlying
24305 default_symbol_version and symbol_version macros, so that DEFAULT
24306 lines in shlib-versions are respected.
24307 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24308
7e66ee51
FW
243092012-08-01 Florian Weimer <fweimer@redhat.com>
24310
24311 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24312 Declare with warn_unused_result.
24313 (setgid, setregid, setegid, setresgid): Likewise.
24314 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
24315 Likewise.
24316 * WUR-REPORT: Remove set*id functions.
24317
d2a54255
PT
243182012-07-31 Pino Toscano <toscano.pino@tiscali.it>
24319
24320 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
24321
7ecdb005
RM
243222012-07-31 Roland McGrath <roland@hack.frob.com>
24323
b4180a5e 24324 [BZ #10191]
789bd351
RM
24325 * include/sys/socket.h (__libc_accept, __libc_accept4):
24326 Add attribute_hidden.
24327 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
24328
40ce302d
RM
24329 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
24330 use of PTR_MANGLE.
24331 * inet/getnetgrent_r.c (setup): Likewise.
24332
7ecdb005
RM
24333 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
24334
e2eabb2c
DM
243352012-07-31 David S. Miller <davem@davemloft.net>
24336
24337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24338
d0419dbf
JM
243392012-07-31 Joseph Myers <joseph@codesourcery.com>
24340
24341 [BZ #13629]
24342 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
24343 value between 1.0 and 2.0 and smaller part has absolute value less
24344 than 1.0.
24345 * math/s_clog10.c (__clog10): Likewise.
24346 * math/s_clog10f.c (__clog10f): Likewise.
24347 * math/s_clog10l.c (__clog10l): Likewise.
24348 * math/s_clogf.c (__clogf): Likewise.
24349 * math/s_clogl.c (__clogl): Likewise.
24350 * math/libm-test.inc (clog_test): Add more tests.
24351 (clog10_test): Likewise.
24352 * sysdeps/i386/fpu/libm-test-ulps: Update.
24353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24354
2bc13872
FW
243552012-07-31 Florian Weimer <fweimer@redhat.com>
24356
24357 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
24358 Exit with zero in case no suitable GID is found, and write a
24359 message to standard error.
24360
bea9b193
RM
243612012-07-30 Roland McGrath <roland@hack.frob.com>
24362
24363 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
24364 rather than to 1.
24365 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
24366 (MAXPATHLEN): Removed.
24367 (NOGROUP, NODEV): New macros.
24368 (setbit, clrbit, isset, isclr): New macros.
24369 (howmany, roundup, powerof2): New macros.
24370 (DEV_BSIZE): New macro.
24371
24372 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
24373 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
24374
24375 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
24376 definition on [!__NO_LONG_DOUBLE_MATH].
24377
24378 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
24379 PTR_MANGLE and PTR_DEMANGLE.
24380
24381 * socket/accept4.c (accept4): Rename to __libc_accept4.
24382 Define accept4 as a weak alias.
24383
24384 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
24385 on [_DIRENT_HAVE_D_TYPE].
24386 * io/ftw.c (ftw_dir): Likewise.
24387
24388 * io/xmknod.c (__xmknod): Don't check PATH for being null.
24389
24390 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
24391
24392 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
24393 Use the BSD numbers rather than the arbitrary ones we had.
24394 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
24395 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
24396 (SIGXCPU, SIGXFSZ): New macros.
24397 (_NSIG): Now 32.
24398
24399 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
24400 initializer on [_LIBC_REENTRANT].
24401
24402 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
24403 definitions inside [_POSIX_MAPPED_FILES].
24404
24405 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
24406
24407 * dirent/opendir.c: Include <fcntl.h>.
24408
24409 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
24410 (__libc_getspecific): Likewise.
24411 (__libc_key_create): Likewise.
24412
24413 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
24414 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
24415 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
24416 (tmpfile64): Define as alias.
24417 * sysdeps/wordsize-64/tmpfile.c: File removed.
24418 * sysdeps/wordsize-64/tmpfile64.c: File removed.
24419 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
24420 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
24421
24422 * stdio-common/vfscanf.c: Include <stdbool.h>.
24423 * nss/makedb.c: Likewise.
24424 * stdio-common/_i18n_number.h: Likewise.
24425 * argp/argp-help.c: Likewise.
24426 * posix/wordexp.c: Likewise.
24427 * sysdeps/posix/spawni.c: Likewise.
24428 * nss/nss_files/files-initgroups.c: Likewise.
24429 * stdio-common/reg-modifier.c: Include <stdlib.h>.
24430 * nss/nss_files/files-initgroups.c: Likewise.
24431 * nss/nss_db/db-netgrp.c: Likewise.
24432 * nss/nss_db/db-initgroups.c: Likewise.
24433 * io/fchmodat.c: Include <sys/stat.h>.
24434
24435 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
24436 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
24437
24438 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
24439 [HAVE_MMAP].
24440
24441 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
24442 Add multiple inclusion protection.
24443
e5abc686
DM
244442012-07-27 David S. Miller <davem@davemloft.net>
24445
24446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24447
815e6fa3
GB
244482012-07-27 Gary Benson <gbenson@redhat.com>
24449
24450 [BZ #14298]
24451 * elf/rtld.c: Include <stap-probe.h>.
24452 (dl_main): Added static probes "init_start" and "init_complete".
24453 * elf/dl-load.c: Include <stap-probe.h>.
24454 (lose): Take new parameter "nsid".
24455 Added static probe "map_failed".
24456 (_dl_map_object_from_fd): Pass namespace id to lose.
24457 Added static probe "map_start".
24458 (open_verify): Pass namespace id to lose.
24459 * elf/dl-open.c: Include <stap-probe.h>.
24460 (dl_open_worker) Added static probes "map_complete", "reloc_start"
24461 and "reloc_complete".
24462 * elf/dl-close.c: Include <stap-probe.h>.
24463 (_dl_close_worker): Added static probes "unmap_start" and
24464 "unmap_complete".
24465 * elf/rtld-debugger-interface.txt: New file documenting the above.
24466
9f98c16c
RM
244672012-07-26 Roland McGrath <roland@hack.frob.com>
24468
24469 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
24470 rather than a string variable.
24471 * sunrpc/rpc_main.c (h_output): Likewise.
24472 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
24473
f3c22df3
PT
244742012-07-26 Pino Toscano <toscano.pino@tiscali.it>
24475
24476 * inet/check_native.c: New file.
24477
3129cfc6
JM
244782012-07-26 Joseph Myers <joseph@codesourcery.com>
24479
da865e95
JM
24480 [BZ #13629]
24481 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
24482 if larger part has absolute value 1.0.
24483 * math/s_clog10.c (__clog10): Likewise.
24484 * math/s_clog10f.c (__clog10f): Likewise.
24485 * math/s_clog10l.c (__clog10l): Likewise.
24486 * math/s_clogf.c (__clogf): Likewise.
24487 * math/s_clogl.c (__clogl): Likewise.
24488 * math/libm-test.inc (clog_test): Add more tests.
24489 (clog10_test): Likewise.
24490 * sysdeps/i386/fpu/libm-test-ulps: Update.
24491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24492
3129cfc6
JM
24493 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
24494 (pltexit): Likewise.
24495 (La_regs): Likewise.
24496 (La_retval): Likewise.
24497 (int_retval): Likewise.
24498 Update #error for removed macros to refer only to definitions in
24499 tst-audit.h.
24500 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
24501 macro.
24502 (pltexit): Likewise.
24503 (La_regs): Likewise.
24504 (La_retval): Likewise.
24505 (int_retval): Likewise.
24506 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
24507 macro.
24508 (pltexit): Likewise.
24509 (La_regs): Likewise.
24510 (La_retval): Likewise.
24511 (int_retval): Likewise.
24512 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
24513 macro.
24514 (pltexit): Likewise.
24515 (La_regs): Likewise.
24516 (La_retval): Likewise.
24517 (int_retval): Likewise.
24518 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
24519 macro.
24520 (pltexit): Likewise.
24521 (La_regs): Likewise.
24522 (La_retval): Likewise.
24523 (int_retval): Likewise.
24524 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
24525 macro.
24526 (pltexit): Likewise.
24527 (La_regs): Likewise.
24528 (La_retval): Likewise.
24529 (int_retval): Likewise.
24530 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
24531 macro.
24532 (pltexit): Likewise.
24533 (La_regs): Likewise.
24534 (La_retval): Likewise.
24535 (int_retval): Likewise.
24536 * sysdeps/generic/tst-audit.h: Update comment to refer only to
24537 macro definitions in tst-audit.h.
24538 * sysdeps/i386/tst-audit.h: New file.
24539 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
24540 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
24541 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
24542 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
24543 * sysdeps/sh/tst-audit.h: Likewise.
24544 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
24545 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
24546 * sysdeps/x86_64/tst-audit.h: Likewise.
24547
bfc07087
AJ
245482012-07-26 Andreas Jaeger <aj@suse.de>
24549
b1b2aaf8
AJ
24550 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
24551 ptrace.
24552
24553 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
24554 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
24555 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
24556 PTRACE_O_MASK.
24557 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
24558 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
24559 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
24560
bfc07087
AJ
24561 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
24562 value.
24563
24564 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
24565 _sigsys.
24566 (si_call_addr, si_syscall, si_arch): Define new macro.
24567 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
24568 _sigsys.
24569 (si_call_addr, si_syscall, si_arch): Define new marcro.
24570 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
24571 _sigsys.
24572 (si_call_addr, si_syscall, si_arch): Define new macro.
24573 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
24574 _sigsys.
24575 (si_call_addr, si_syscall, si_arch): Define new macro.
24576
89b4b02f
JM
245772012-07-25 Joseph Myers <joseph@codesourcery.com>
24578
24579 [BZ #13717]
24580 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24581 Change to 2.4.21 where previously 2.4.1.
24582 * sysdeps/unix/sysv/linux/configure: Regenerated.
24583 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
24584 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
24585 Linux kernel version.
24586 (__ASSUME_STD_AUXV): Remove.
24587 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
24588 kernel version.
24589 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
24590 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
24591 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
24592 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
24593 (__ASSUME_NETLINK_SUPPORT): Likewise.
24594 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
24595 (__no_netlink_support): Remove conditional definition.
24596 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
24597 Remove.
24598 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24599 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
24600 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
24601 (if_nameindex_ioctl): Remove.
24602 (if_nameindex_netlink): Do not handle __no_netlink_support.
24603 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24604 code.
24605 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
24606 Remove conditional code.
24607 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24608 code.
24609 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
24610 unconditional.
24611 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24612 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
24613 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
24614 Remove.
24615 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
24616 [!__ASSUME_STD_AUXV]: Remove conditional code.
24617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
24618 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
24619 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
24620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
24621 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
24622 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24623 code.
24624 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24626 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
24627 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24628 conditional code.
24629 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
24631 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24632 code.
24633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24634 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24635 conditional code.
24636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
24637 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24638 code unconditional.
24639 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24640 conditional code.
24641 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24642 unconditional.
24643 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24644 conditional code.
24645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24646 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24647 unconditional.
24648 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24649 conditional code.
24650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
24651 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24652 code unconditional.
24653 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24654 conditional code.
24655 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24656 unconditional.
24657 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24658 conditional code.
24659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
24660 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24661 code unconditional.
24662 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24663 conditional code.
24664 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24665 unconditional.
24666 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24667 conditional code.
24668
842a39cd
AS
246692012-07-25 Andreas Schwab <schwab@linux-m68k.org>
24670
24671 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
24672 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
24673 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
24674 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
24675 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
24676 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
24677 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24678 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
24679 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
24680 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
24681 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
24682 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
24683 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
24684 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
24685 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
24686 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
24687 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
24688 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
24689 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
24690 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
24691 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
24692 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
24693 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24694
84b3fd84
FW
246952012-07-25 Florian Weimer <fweimer@redhat.com>
24696
24697 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
24698 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
24699 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
24700 Introduce __libc_secure_getenv.
0c7936d5
FW
24701 * stdlib/Versions (2.17): Add secure_getenv
24702 (GLIBC_PRIVATE): Add __libc_secure_getenv.
24703 * stdlib/secure-getenv.c: Rename __secure_getenv to
24704 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
24705 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
24706 * stdlib/tst-secure-getenv.c: New.
24707 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
24708 * manual/startup.texi (Environment Access): Document
24709 secure_getenv.
84b3fd84
FW
24710 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
24711 __libc_secure_getenv.
24712 * inet/ruserpass.c (ruserpass): Likewise.
24713 * malloc/mtrace.c (mtrace): Likewise.
24714 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 24715 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
24716 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
24717 * sysdeps/posix/tempname.c: Likewise. Evaluate
24718 HAVE_SECURE_GETENV.
24719 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 24720 __secure_getenv to __libc_secure_getenv.
84b3fd84 24721 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
24722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24723 Likewise.
24724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24725 Likewise.
24726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24727 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24728 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24731 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 24733
56e49b71
JM
247342012-07-25 Joseph Myers <joseph@codesourcery.com>
24735
24736 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
24737 (struct La_i86_retval): Likewise.
24738 (struct La_x86_64_regs): Likewise.
24739 (struct La_x86_64_retval): Likewise.
24740 (struct La_x32_regs): Likewise.
24741 (struct La_x32_retval): Likewise.
24742 (struct La_ppc32_regs): Likewise.
24743 (struct La_ppc32_retval): Likewise.
24744 (struct La_ppc64_regs): Likewise.
24745 (struct La_ppc64_retval): Likewise.
24746 (struct La_sh_regs): Likewise.
24747 (struct La_sh_retval): Likewise.
24748 (struct La_s390_32_regs): Likewise.
24749 (struct La_s390_32_retval): Likewise.
24750 (struct La_s390_64_regs): Likewise.
24751 (struct La_s390_64_retval): Likewise.
24752 (struct La_sparc32_regs): Likewise.
24753 (struct La_sparc32_retval): Likewise.
24754 (struct La_sparc64_regs): Likewise.
24755 (struct La_sparc64_retval): Likewise.
24756 (struct audit_ifaces): Remove architecture-specific pltenter and
24757 pltexit members.
24758 * sysdeps/i386/ldsodefs.h: New file.
24759 * sysdeps/powerpc/ldsodefs.h: Likewise.
24760 * sysdeps/s390/ldsodefs.h: Likewise.
24761 * sysdeps/sh/ldsodefs.h: Likewise.
24762 * sysdeps/sparc/ldsodefs.h: Likewise.
24763 * sysdeps/x86_64/ldsodefs.h: Likewise.
24764
354691b7
MP
247652012-07-25 Marek Polacek <polacek@redhat.com>
24766
24767 [BZ #6808]
24768 * math/libm-test.inc (yn_test): Add another test.
24769 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
24770 to ERANGE when the result is +-Inf.
24771 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24772 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24773 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
24774 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
24775
bf9e2071
JM
247762012-07-24 Joseph Myers <joseph@codesourcery.com>
24777
24778 * conform/data/time.h-data (NULL): Use macro-constant. Require
24779 equal to 0.
24780 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
24781 clock_t.
24782 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
24783
57633811
TS
247842012-07-23 Thomas Schwinge <thomas@codesourcery.com>
24785
24786 * configure.in <sysdeps resolving>: Correct printing
24787 Implies_before.
24788 * configure: Regenerate.
24789
c23c33b0
TS
247902012-07-22 Thomas Schwinge <thomas@codesourcery.com>
24791
24792 * math/w_ilogb.c: Include <limits.h>.
24793 * math/w_ilogbl.c: Likewise.
24794
b5982523
JM
247952012-07-20 Joseph Myers <joseph@codesourcery.com>
24796
24797 * manual/lang.texi (__va_copy): Document primarily as ISO C99
24798 va_copy. Document allowing for unavailable va_copy only as
24799 pre-C99 compatibility.
24800 * manual/string.texi (Copying and Concatenation): Use va_copy
24801 instead of __va_copy in concat example.
24802
ac4ea442
PT
248032012-07-20 Pino Toscano <toscano.pino@tiscali.it>
24804
24805 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
24806 (__sendto): Use create_address_port. Initialize APORT and deallocate
24807 it if not null.
24808
f98eafbd
PT
24809 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
24810 with O_NOLINK passed to __file_name_lookup.
24811
898c7aab
PT
24812 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
24813 with O_NOLINK passed to __file_name_lookup.
24814
0ced335a
PT
24815 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
24816 negative N or less than NGIDS.
24817
b3404dbd
PT
24818 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
24819 type to string_t. Set ERANGE as errno and return it if NAME is not big
24820 enough. Use memcpy instead of strncpy.
24821
0f48659e
JM
248222012-07-20 Joseph Myers <joseph@codesourcery.com>
24823
24824 * elf/Makefile (check-data): Remove.
24825 (localplt.data): New vpath directive.
24826 ($(objpfx)check-localplt.out): Use localplt.data from vpath
24827 instead of $(check-data).
24828 * scripts/data/localplt-generic.data: Move to ...
24829 * sysdeps/generic/localplt.data: ... here.
24830 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
24831 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
24832 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
24833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
24834 ... here.
24835 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
24836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
24837 ... here.
24838 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
24839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
24840 ... here.
24841 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
24842 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
24843 ... here.
24844 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
24845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
24846 ... here.
24847 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
24848 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
24849 ... here.
24850
d37cbdaa
AZ
248512012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24852
24853 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
24854 PPC32 and PPC64 files.
24855 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
24856 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
24857
46f85fc2
AK
248582012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24859
24860 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
24861 __makecontext_ret to ...
24862 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
24863 ... here and call exit if uc_link is NULL. New file.
24864 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
24865 __makecontext_ret.S.
24866 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
24867 __makecontext_ret to ...
24868 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
24869 ... here and call exit if uc_link is NULL. New file.
24870 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
24871 __makecontext_ret.S.
24872
08f43f9b
AK
248732012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24874
24875 * elf/elf.h (R_390_IRELATIVE): New definition.
24876 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
24877 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
24878 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
24879 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24880 (elf_machine_lazy_rel): Likewise.
24881 * sysdeps/s390/dl-irel.h: New file.
24882 * sysdeps/s390/s390-64/memcpy.S: New asm code.
24883 * sysdeps/s390/s390-64/memset.S: New asm code.
24884 * sysdeps/s390/s390-64/memcmp.S: New asm code.
24885 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
24886 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
24887 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
24888 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
24889 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
24890 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
24891 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
24892 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
24893 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
24894 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
24895 * sysdeps/s390/s390-32/memcpy.S: New asm code.
24896 * sysdeps/s390/s390-32/memset.S: New asm code.
24897 * sysdeps/s390/s390-32/memcmp.S: New asm code.
24898
3b05db33
MP
248992012-07-17 Marek Polacek <polacek@redhat.com>
24900
24901 [BZ #14349]
24902 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
24903 * sysdeps/s390/s390-64/configure.in: Likewise.
24904 * sysdeps/sparc/configure.in: Likewise.
24905 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
24906 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
24907 * sysdeps/i386/configure.in: Likewise.
24908 * sysdeps/x86_64/configure.in: Likewise.
24909 * sysdeps/sh/configure.in: Likewise.
24910 * sysdeps/s390/s390-32/configure: Regenerated.
24911 * sysdeps/s390/s390-64/configure: Likewise.
24912 * sysdeps/x86_64/configure: Likewise.
24913 * sysdeps/sh/configure: Likewise.
24914 * sysdeps/powerpc/powerpc64/configure: Likewise.
24915 * sysdeps/powerpc/powerpc32/configure: Likewise.
24916 * sysdeps/sparc/configure: Likwise.
24917 * sysdeps/i386/configure: Likewise.
24918
a66877c6
MP
24919 * elf/dl-open.c: Comment fixes.
24920
cfc82fd8
JM
249212012-07-17 Joseph Myers <joseph@codesourcery.com>
24922
bd29910a
JM
24923 * Makefile [CXX] (check-data): Remove.
24924 [CXX] (c++-types.data): New vpath directive.
24925 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
24926 vpath. Do not allow for C++ type data being missing.
24927 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
24928 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
24929 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
24930 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
24931 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
24932 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
24933 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
24934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
24935 ... here.
24936 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
24937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
24938 ... here.
24939 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
24940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
24941 ... here.
24942 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
24943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
24944 ... here.
24945 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
24946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
24947 ... here.
24948 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
24949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
24950 ... here.
24951 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
24952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
24953 ... here.
24954 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
24955 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
24956
cfc82fd8
JM
24957 * elf/tls-macros.h (TLS_LE): Move architecture-specific
24958 definitions to architecture-specific files.
24959 (TLS_IE): Likewise.
24960 (TLS_LD): Likewise.
24961 (TLS_GD): Likewise.
24962 * sysdeps/i386/tls-macros.h: New file.
24963 * sysdeps/powerpc/tls-macros.h: Likewise.
24964 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
24965 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
24966 * sysdeps/sh/tls-macros.h: Likewise.
24967 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
24968 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
24969 * sysdeps/x86_64/tls-macros.h: Likewise.
24970
f7db3170
TS
249712012-07-17 Thomas Schwinge <thomas@codesourcery.com>
24972
07cbfc23
TS
24973 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
24974 zero value for regular exit case.
24975
f7db3170
TS
24976 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24977 (__start_context): Preserve zero value for regular exit case.
24978
dc97c227
TS
249792012-07-17 Thomas Schwinge <thomas@codesourcery.com>
24980 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24981
24982 * manual/setjmp.texi (setcontext): Clarify normal process
24983 termination when uc_link is the null pointer.
24984 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
24985 exit call.
24986
d0cd7d02
AS
249872012-07-16 Andreas Schwab <schwab@linux-m68k.org>
24988
24989 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
24990 preprocessor. Test for each exception mask separately.
24991
dd318934
AJ
249922012-07-16 Andreas Jaeger <aj@suse.de>
24993
24994 * po/ru.po: Update from translation team.
24995
8048311a
JM
249962012-07-15 Joseph Myers <joseph@codesourcery.com>
24997
24998 * conform/data/string.h-data (NULL): Use macro-constant. Require
24999 equal to 0.
25000 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25001 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25002 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25003 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25004 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25005
b637d46e
AJ
250062012-07-13 Andreas Jaeger <aj@suse.de>
25007
25008 * po/fr.po: Update from translation team.
25009
541428fe
MP
250102012-07-12 Marek Polacek <polacek@redhat.com>
25011
25012 [BZ #14173]
25013 * math/libm-test.inc (yn_test): Add test for BZ #14173.
25014 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25015 loop condition.
25016
ec332e94
JM
250172012-07-12 Joseph Myers <joseph@codesourcery.com>
25018
25019 [BZ #13717]
25020 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25021 Change to 2.4.1 where previously 2.4.0.
25022 * sysdeps/unix/sysv/linux/configure: Regenerated.
25023 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25024 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25025 version.
25026 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25027 (__ASSUME_AT_CLKTCK): Remove.
25028 (__ASSUME_AT_PAGESIZE): Likewise.
25029 (__ASSUME_AT_XID): Likewise.
25030 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25031 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25032 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25033 unconditionally.
25034 (HAVE_AUX_PAGESIZE): Likewise.
25035 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25036 [__ASSUME_AT_CLKTCK]: Make code unconditional.
25037 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25038
7b6e99be
JB
250392012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
25040
25041 [BZ #14307]
25042 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25043 the temporary buffer used to invoke __gethostbyname2_r,
25044 __gethostbyaddr_r and gethostbyname4_r to make room for struct
25045 host_data / struct gaih_addrtuple.
25046 * resolv/nss_dns/dns-host.c (global scope): Move definition of
25047 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25048 header file nss/nsswitch.h.
25049 * nss/nsswitch.h (global scope): Add definition of implementation
25050 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25051 resolv/nss_dns/dns-host.c).
25052
608404eb
AJ
250532012-07-11 Andreas Jaeger <aj@suse.de>
25054
25055 * po/fr.po: Update from translation team.
25056
71220aca
AJ
25057 * po/sv.po: Update from translation team
25058 * po/fr.po: Another update from translation team.
25059
28cfe843
AZ
250602012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25061
25062 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25063 for subnormals or multiply small sinh result by itself.
25064 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25066
6b90f981
DM
250672012-07-11 David S. Miller <davem@davemloft.net>
25068
25069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25070
c6825772
AS
250712012-07-10 Andreas Schwab <schwab@linux-m68k.org>
25072
25073 [BZ #14347]
25074 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25075 (INTERNAL_MARK): Shift it here.
25076
7b8e0d49
MP
250772012-07-10 Marek Polacek <polacek@redhat.com>
25078
25079 [BZ #14151]
25080 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
25081 libc_cv_asm_global_directive with .globl.
25082 * configure: Regenerated.
25083 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25084 with .globl.
25085 * sysdeps/i386/configure: Regenerated.
25086 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25087 with .globl.
25088 * sysdeps/x86_64/configure: Regenerated.
25089 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25090 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25091 * elf/tst-unique2mod2.c: Likewise.
25092 * elf/tst-unique2mod1.c: Likewise.
25093 * elf/tst-unique1mod2.c: Likewise.
25094 * elf/tst-unique1mod1.c: Likewise.
25095 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25096 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25097 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25098 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25099 * sysdeps/mach/sysdep.h: Likewise.
25100 * sysdeps/i386/sysdep.h: Likewise.
25101 * sysdeps/i386/i386-mcount.S: Likewise.
25102 * sysdeps/x86_64/_mcount.S: Likewise.
25103 * sysdeps/x86_64/sysdep.h: Likewise.
25104 * sysdeps/sh/_mcount.S: Likewise.
25105 * sysdeps/sh/sysdep.h: Likewise.
25106 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25107 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25108 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25109 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25110 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25111 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25112 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25113 * locale/localeinfo.h: Likewise.
25114 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25115 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25116
6c55cda3
RM
251172012-07-09 Roland McGrath <roland@hack.frob.com>
25118
25119 [BZ #14336]
25120 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25121 system".
25122 * manual/message.texi (The Uniforum approach): Likewise.
25123 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25124 (glibc iconv Implementation): Likewise.
25125
638a572e
JM
251262012-07-09 Joseph Myers <joseph@codesourcery.com>
25127
25128 [BZ #14337]
25129 * math/s_clog.c (__clog): Avoid scaling a value down where that
25130 could result in underflow.
25131 * math/s_clog10.c (__clog10): Likewise.
25132 * math/s_clog10f.c (__clog10f): Likewise.
25133 * math/s_clog10l.c (__clog10l): Likewise.
25134 * math/s_clogf.c (__clogf): Likewise.
25135 * math/s_clogl.c (__clogl): Likewise.
25136 * math/libm-test.inc (clog_test): Add more tests.
25137 (clog10_test): Likewise.
25138 * sysdeps/i386/fpu/libm-test-ulps: Update.
25139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25140
261f4859
AS
251412012-07-06 Andreas Schwab <schwab@linux-m68k.org>
25142
0abaf3e4
AS
25143 [BZ #14283]
25144 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25145 by 7 not 8 to examine high bit of fractional part.
25146
261f4859
AS
25147 [BZ #14042]
25148 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25149 for call to __mcount_internal.
25150 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25151 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25152 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25153
f17ac40d
JM
251542012-07-06 Joseph Myers <joseph@codesourcery.com>
25155
9ad63c23
JM
25156 [BZ #14154]
25157 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25158 approximation for values within 0x1p-13f of an odd multiple of
25159 pi/4.
25160 * math/libm-test.inc (tan_test): Do not allow spurious underflow
25161 exception. Add more tests.
25162 * sysdeps/i386/fpu/libm-test-ulps: Update.
25163
f17ac40d
JM
25164 [BZ #6778]
25165 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25166 inputs and return -1 for them. Do not check for +Inf in case not
25167 reachable for +Inf.
25168 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25169 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25170 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25171 and return -1 for them. Do not check for +Inf in case not
25172 reachable for +Inf.
25173 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25174 define.
25175 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25176 and return -1 for them. Do not check for +Inf in case not
25177 reachable for +Inf.
25178 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
25179 spurious underflow.
25180 * sysdeps/i386/fpu/libm-test-ulps: Update.
25181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25182
fb21f89b
MF
251832012-07-06 Mike Frysinger <vapier@gentoo.org>
25184
25185 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25186
cdfe2c5e
JM
251872012-07-05 Joseph Myers <joseph@codesourcery.com>
25188
25189 [BZ #14157]
25190 [BZ #14331]
25191 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25192 could result in spurious underflow. Scale down values above
25193 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25194 * math/s_csqrtf.c (__csqrtf): Likewise.
25195 * math/s_csqrtl.c (__csqrtl): Likewise.
25196 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
25197 spurious underflow.
25198 * sysdeps/i386/fpu/libm-test-ulps: Update.
25199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25200
70d35b67
AS
252012012-07-04 Andreas Schwab <schwab@linux-m68k.org>
25202
704bc459
AS
25203 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25204 xopen-msg.sed.
25205 * catgets/xopen-msg.awk: New file.
25206 * catgets/xopen-msg.sed: Removed.
25207
70d35b67
AS
25208 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25209 po2text.sed.
25210 * intl/po2test.awk: New file.
25211 * intl/po2test.sed: Removed.
25212
ca61cf32
JM
252132012-07-04 Joseph Myers <joseph@codesourcery.com>
25214
25215 [BZ #14328]
25216 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25217 or multiply small sinh result by itself.
25218 * math/s_ctanf.c (__ctanf): Likewise.
25219 * math/s_ctanh.c (__ctanh): Likewise.
25220 * math/s_ctanhf.c (__ctanhf): Likewise.
25221 * math/s_ctanhl.c (__ctanhl): Likewise.
25222 * math/s_ctanl.c (__ctanl): Likewise.
25223 * math/libm-test.inc (ctan_test_tonearest): New function.
25224 (ctan_test_towardzero): Likewise.
25225 (ctan_test_downward): Likewise.
25226 (ctan_test_upward): Likewise.
25227 (ctanh_test_tonearest): Likewise.
25228 (ctanh_test_towardzero): Likewise.
25229 (ctanh_test_downward): Likewise.
25230 (ctanh_test_upward): Likewise.
25231 (main): Call these new functions.
25232 * sysdeps/i386/fpu/libm-test-ulps: Update.
25233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25234
ca48a46a
MF
252352012-07-03 Mike Frysinger <vapier@gentoo.org>
25236
25237 * .gitignore: Delete /ports entry.
25238
9d63d37d
AJ
252392012-07-03 Andreas Jaeger <aj@suse.de>
25240
25241 * po/bg.po: Update from translation team.
25242 * po/cs.po: Likewise.
25243 * po/de.po: Likewise.
25244 * po/hr.po: Likewise.
25245 * po/nl.pl: Likewise.
25246 * po/pl.po: Likewise.
25247 * po/vi.po: Likewise.
25248
370ca3d2
JM
252492012-07-03 Joseph Myers <joseph@codesourcery.com>
25250
95f5a9a8
JM
25251 * Makeconfig [!+link] (+link-before-libc): New variable.
25252 [!+link] (+link-after-libc): Likewise.
25253 [!+link] (+link-tests): Likewise.
25254 [!+link] (+link): Define in terms of $(+link-before-libc) and
25255 $(+link-after-libc).
25256 [!+link-static] (+link-static-before-libc): New variable.
25257 [!+link-static] (+link-static-after-libc): Likewise.
25258 [!+link-static] (+link-static-tests): Likewise.
25259 [!+link-static] (+link-static): Define in terms of
25260 $(+link-static-before-libc) and $(+link-static-after-libc).
25261 [build-shared] (link-libc-before-gnulib): New variable.
25262 [build-shared] (link-libc-tests): Likewise.
25263 [build-shared] (link-libc): Define in terms of
25264 $(link-libc-before-gnulib).
25265 [!build-shared] (link-libc-tests): New variable.
25266 (link-libc-static-tests): New variable.
25267 [!gnulib] (gnulib-arch): New variable.
25268 [!gnulib] (gnulib-tests): Likewise.
25269 [!gnulib] (static-gnulib-arch): Likewise.
25270 [!gnulib] (static-gnulib-tests): Likewise.
25271 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
25272 Define with "=" instead of ":=".
25273 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
25274 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
25275 * Rules (binaries-all-notests): New variable.
25276 (binaries-all-tests): Likewise.
25277 (binaries-static-notests): Likewise.
25278 (binaries-static-tests): Likewise.
25279 (binaries-all): Define using $(binaries-all-notests) and
25280 $(binaries-all-tests).
25281 (binaries-static): Define using $(binaries-static-notests) and
25282 $(binaries-static-tests).
25283 (binaries-shared-tests): New variable.
25284 (binaries-shared-notests): Likewise.
25285 (binaries-shared): Remove variable.
25286 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25287 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25288 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25289 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25290 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25291 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25292 * elf/Makefile (sln-modules): New variable.
25293 (extra-objs): Add $(sln-modules:=.o).
25294 (ldconfig-modules): Add static-stubs.
25295 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25296 * elf/static-stubs.c: New file.
25297
7a845b2c
JM
25298 [BZ #14283]
25299 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25300 by 7 not 8 to examine high bit of fractional part. Use volatile
25301 variables when splitting into final array of floats if
25302 __FLT_EVAL_METHOD__ != 0.
25303 * math/libm-test.inc (cos_test): Add another test.
25304 (sin_test): Likewise.
25305 * sysdeps/i386/fpu/libm-test-ulps: Update.
25306
e2283f38
JM
25307 [BZ #14273]
25308 * math/libm-test.inc (cosh_test): Add more tests.
25309
370ca3d2
JM
25310 * version.h (RELEASE): Set to "development".
25311 (VERSION): Set to "2.16.90".
25312
ee9247c3
CD
253132012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
25314
25315 * NEWS: Update copyright. Remove last-updated date.
25316 Mention math library bug fixes and timezone data changes.
25317 * README: Mention GNU/Hurd, x32, and HPPA support status.
25318
4648c381
TS
253192012-06-28 Thomas Schwinge <thomas@codesourcery.com>
25320
25321 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
25322
aac78a43
AJ
253232012-06-27 Andreas Jaeger <aj@suse.de>
25324
25325 * manual/contrib.texi (Contributors): Add Samuel Thibault.
25326
ed3dbfad
AJ
253272012-06-25 Andreas Jaeger <aj@suse.de>
25328
25329 * sysdeps/s390/fpu/libm-test-ulps: Update.
25330
4d0ee855
AS
253312012-06-23 Andreas Schwab <schwab@linux-m68k.org>
25332 Thomas Schwinge <thomas@codesourcery.com>
25333
25334 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
25335 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
25336 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
25337 fanotify_mark.
25338
af1bce34
TS
253392012-06-23 Thomas Schwinge <thomas@codesourcery.com>
25340
a9fa33ba
TS
25341 * sysdeps/mach/start.c: Remove file.
25342 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
25343 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
25344 * sysdeps/sh/init-first.c: Likewise.
25345
58f902b8
TS
25346 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
25347 registers for frame unwinding purposes, add CFI directives.
25348 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25349 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
25350 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
25351 Likewise.
25352
1518f58b
TS
25353 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
25354 __fortify_fail returning.
25355 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25356
db9b5059
TS
25357 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
25358 sysdeps/sh/____longjmp_chk.S.
25359 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
25360 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
25361 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
25362 (gen-as-const-headers): Append sigaltstack-offsets.sym.
25363
967705fe
TS
25364 * sysdeps/sh/abort-instr.h: New file.
25365 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
25366 process in case exit returns.
25367
a9def8c4
TS
25368 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
25369 initialize the GOT register before use.
25370
2a649725
TS
25371 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
25372 calculation of ARGC > 4.
25373
af1bce34
TS
25374 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
25375 meaningful names to some local labels.
25376
d230f50a
KK
253772012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25378 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25379
25380 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
25381 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
25382 (__arch_compare_and_exchange_val_16_acq): Likewise.
25383 (__arch_compare_and_exchange_val_32_acq): Likewise.
25384 (atomic_exchange_and_add): Fix gUSA sequence.
25385 (atomic_add): Likewise.
25386 (atomic_add_negative): Likewise.
25387 (atomic_add_zero): Likewise.
25388 (atomic_bit_test_set): Likewise.
25389
0479b305
AS
253902012-06-22 Andreas Schwab <schwab@redhat.com>
25391
25392 [BZ #13579]
25393 * include/link.h (struct link_map): Add l_free_initfini.
25394 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
25395 l_initfini.
25396 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
25397 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
25398 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
25399 set.
25400
0e3933b9
CD
254012012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
25402
25403 * configure.in: Use AC_LANG_SOURCE.
25404 * configure: Regenerate.
25405
4248b1b1
RM
254062012-06-22 Roland McGrath <roland@hack.frob.com>
25407
25408 * configure.in (libc_cv_localstatedir): New substituted variable.
25409 * configure: Regenerated.
25410 * config.make.in (localstatedir): New variable, substituted from
25411 libc_cv_localstatedir.
25412 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
25413 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
25414 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
25415 * sysdeps/gnu/configure: Regenerated.
25416
006dd861
JL
254172012-06-21 Jeff Law <law@redhat.com>
25418
25419 [BZ #14277]
25420 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
25421 free. Simplify list management for _LIBC case.
25422
79662d42
JM
254232012-06-21 Joseph Myers <joseph@codesourcery.com>
25424
b7abb4bf
JM
25425 [BZ #14273]
25426 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
25427 Clear sign bit of 64-bit integer value before comparing against
25428 overflow value.
25429
79662d42
JM
25430 * sysdeps/mach/configure: Regenerated.
25431
1f150908
L
254322012-06-21 H.J. Lu <hongjiu.lu@intel.com>
25433
25434 [BZ #14278]
25435 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
25436
28363bbf
JL
254372012-06-21 Jeff Law <law@redhat.com>
25438
25439 [BZ #13882]
25440 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
25441 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 25442 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
25443 * elf/dl-open.c (dl_open_worker): Likewise.
25444
09615db4
CD
254452012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
25446
25447 * scripts/list-sources.sh: Scan PORTS for translations.
25448 * po/libc.pot: Regenerated.
25449
2174c6dd
AJ
254502012-06-21 Andreas Jaeger <aj@suse.de>
25451
25452 [BZ #12194]
25453 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
25454 warning.
25455 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
25456 * bits/byteswap-16.h (__bswap_16): Likewise.
25457 * bits/byteswap.h (__bswap_constant_16): Likewise.
25458
3ee947b1
L
254592012-06-18 H.J. Lu <hongjiu.lu@intel.com>
25460
25461 [BZ #14117]
a2f34833
L
25462 * sysdeps/i386/fpu_control.h: Removed.
25463 * sysdeps/x86_64/fpu_control.h: Moved to ...
25464 * sysdeps/x86/fpu_control.h: Here.
25465
3ee947b1
L
25466 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
25467 (_FPU_SETCW): Likewise.
25468
ed1825f8
L
254692012-06-15 H.J. Lu <hongjiu.lu@intel.com>
25470
25f1282a
L
25471 [BZ #14117]
25472 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
25473 * sysdeps/x86/fpu/bits/mathinline.h: This.
25474 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
25475
ed1825f8
L
25476 [BZ #14050]
25477 [BZ #14117]
25478 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
25479 functions if __x86_64__ is defined.
25480
36d54b74
CLT
254812012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
25482
25483 * string/endian.h: Add !__ASSEMBLER__ condition for including
25484 conversion interfaces.
25485
10285c21
JM
254862012-06-15 Joseph Myers <joseph@codesourcery.com>
25487
25488 [BZ #14241]
25489 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
25490 of ABS(x) in calculating zero to negative powers other than odd
25491 integers.
25492 * math/libm-test.inc (pow_test): Add more tests.
25493
06c5abbd
AJ
254942012-06-15 Andreas Jaeger <aj@suse.de>
25495
25496 * manual/contrib.texi (Contributors): Update entry of Liubov
25497 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
25498 Machado Filho.
25499
a3aeac40
CH
255002012-06-15 Cyril Hrubis <metan@ucw.cz>
25501
25502 * string/string.h: Add __wur to GNU version of strerror_r.
25503
49bdf4c1
L
255042012-06-14 H.J. Lu <hongjiu.lu@intel.com>
25505
25506 [BZ #14229]
25507 * string/Makefile (tests): Add tst-strtok_r.
25508 * string/tst-strtok_r.c: New file.
25509 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
25510 RAX_LP/RDX_LP on SAVE_PTR.
25511
834f9b8d
RM
255122012-06-14 Roland McGrath <roland@hack.frob.com>
25513
25514 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
25515
75fa1921
JM
255162012-06-14 Joseph Myers <joseph@codesourcery.com>
25517
25518 * libm_test.inc (csqrt_test): Allow more spurious underflow
25519 exceptions.
25520 (j0_test): Likewise.
25521 (j1_test): Likewise.
25522 (y0_test): Likewise.
25523 (y1_test): Likewise.
25524
771766df
CD
255252012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
25526
25527 * po/Makefile (libc.pot): Use UTF-8 charset.
25528
ceb9e56b
PP
255292012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
25530
25531 [BZ #14210]
25532 Suppress sign-conversion warning from FD_SET.
25533 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
25534 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
25535 not unsigned long int.
25536 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
25537
ddb28975
L
255382012-06-12 H.J. Lu <hongjiu.lu@intel.com>
25539
25540 [BZ #14050]
25541 [BZ #14117]
25542 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
25543 __extern_always_inline instead of __extern_inline.
25544 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
25545 (__signbit): Likewise.
25546 (__signbitl): Support C++ namespace.
25547 (lrintf): New inline function.
25548 (lrint): Likewise.
25549 (llrintf): Likewise.
25550 (llrint): Likewise.
25551 (fmaxf): Likewise.
25552 (fmax): Likewise.
25553 (fminf): Likewise.
25554 (fmin): Likewise.
25555 (rint): Likewise.
25556 (rintf): Likewise.
25557 (ceil): Likewise.
25558 (ceilf): Likewise.
25559 (floor): Likewise.
25560 (floorf): Likewise.
25561 (nearbyint): Likewise.
25562 (nearbyintf): Likewise.
25563
d7b4fb26
TS
255642012-06-12 Thomas Schwinge <thomas@codesourcery.com>
25565
25566 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
25567 non-default versions.
25568
eb55f5c2
RM
255692012-06-11 Roland McGrath <roland@hack.frob.com>
25570
25571 [BZ #14218]
25572 * manual/argp.texi (Argp): Reword argp_parse description slightly.
25573
366af02c
TS
255742012-06-09 Thomas Schwinge <thomas@codesourcery.com>
25575
99ff6e5c
TS
25576 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
25577 (FE_UPWARD, FE_DOWNWARD): Don't define.
25578 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
25579 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25580
366af02c
TS
25581 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
25582 reading it.
25583 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
25584 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25585
793ea851
KK
255862012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25587
25588 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25589 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
25590 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
25591 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
25592
a728a38f
L
255932012-06-06 H.J. Lu <hongjiu.lu@intel.com>
25594
25595 [BZ #14117]
c08010c7
L
25596 * sysdeps/i386/fpu/bits/fenv.h: Removed.
25597 * sysdeps/i386/fpu/Implies: New file.
25598 * sysdeps/x86_64/fpu/Implies: Likewise.
25599 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
25600 * sysdeps/x86/fpu/bits/fenv.h: This.
25601
a728a38f
L
25602 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
25603 __SSE_MATH__.
25604
6e230d11
SP
256052012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25606
25607 [BZ #14134]
25608 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
25609 character 0xffff that matches the last element of the
25610 conversion table.
25611
1b671feb
AZ
256122012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25613
25614 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
25615 fmodl commit.
25616
6043738b
AZ
256172012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25618
25619 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
25620 values higher than 25.6283.
25621
34ae0b32
AZ
256222012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25623
25624 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
25625 subnormal exponent extraction and add some __builtin_expect.
25626 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
25627 Fix for subnormal mantissa calculation.
25628
1214ec8f
MF
256292012-06-04 Mike Frysinger <vapier@gentoo.org>
25630
25631 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
25632 cpu2 is -1 and errno is not ENOSYS.
25633
f3d1f93c
L
256342012-06-04 H.J. Lu <hongjiu.lu@intel.com>
25635
25636 [BZ #14117]
0e4a3cd7
L
25637 * sysdeps/i386/i486/bits/string.h: Renamed to ...
25638 * sysdeps/x86/bits/string.h: This.
25639 * sysdeps/x86_64/bits/string.h: Removed.
25640
6704c645
L
25641 * sysdeps/i386/i486/bits/string.h: Define inline functions only
25642 if not compiling for x86-64, but compiling for >= i486.
25643
48495318
L
25644 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
25645 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
25646
14adcbfc
L
25647 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
25648 New macro from Linux kernel 3.4.0.
25649 (FP_XSTATE_MAGIC2): Likewise.
25650 (FP_XSTATE_MAGIC2_SIZE): Likewise.
25651 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
25652 (struct _fpx_sw_bytes): New struct.
25653 (struct _xsave_hdr): Likewise.
25654 (struct _ymmh_state): Likewise.
25655 (struct _xstate): Likewise.
25656
68e408ab
L
25657 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
25658 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
25659 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
25660 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
25661 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
25662 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
25663
f3d1f93c
L
25664 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
25665 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
25666 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
25667 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
25668 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
25669 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
25670
d9dc34cd
TMQMF
256712012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25672
25673 [BZ #13743]
25674 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
25675 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
25676 (sysdep_headers): Include sys/platform/ppc.h.
25677 * sysdeps/powerpc/test-gettimebase.c: Test for
25678 __ppc_get_timebase() to catch future ISA opcode/insn changes.
25679 * manual/Makefile (appendices): Include platform.texi.
25680 * manual/contrib.texi (Contributors): Update @node pointers.
25681 * manual/maint.texi (Maintenance): Likewise.
25682 (Platform): New node.
25683 * manual/platform.texi: New file. Document the new features.
25684
4af3879c
SP
256852012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25686 Jakub Jelinek <jakub@redhat.com>
25687
25688 [BZ #14188]
25689 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
25690 where __builtin_expect is unavailable.
25691
2fd6ff13
DM
256922012-06-03 David S. Miller <davem@davemloft.net>
25693
25694 * stdlib/longlong.h: Updated from GCC.
25695
173f7220
AS
256962012-06-02 Andreas Schwab <schwab@linux-m68k.org>
25697
25698 [BZ #14042]
25699 * sysdeps/powerpc/powerpc32/mcount.c: New file.
25700 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
25701 __mcount_internal.
25702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25703 (GLIBC_2.16): Likewise.
25704
f34a1c6f
L
257052012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25706
25707 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
25708
88a4576f
JM
257092012-06-01 Joseph Myers <joseph@codesourcery.com>
25710
ea32bcdd
JM
25711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
25712 (default-abi): New variable.
25713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
25714 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
25715 variable.
25716 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
25717 Likewise.
25718 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
25719 Likewise.
25720 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
25721 Likewise.
25722
88a4576f
JM
25723 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
25724 definition. Document in comment.
25725
402fe938
DM
257262012-06-01 David S. Miller <davem@davemloft.net>
25727
25728 * stdlib/longlong.h: Updated from GCC.
25729
3553723f
L
257302012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25731
25732 [BZ #14117]
3bd872c4
L
25733 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
25734 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
25735 sys/debugreg.h sys/io.h here.
25736 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
25737 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
25738 sys/io.h.
25739 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
25740 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
25741 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
25742 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
25743 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
25744 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
25745
3553723f
L
25746 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
25747 Define only if __x86_64__ is defined.
25748
4842e4fe
JM
257492012-06-01 Joseph Myers <joseph@codesourcery.com>
25750
c5bfe3d5
JM
25751 [BZ #14048]
25752 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
25753 Use int64_t for variable i.
25754 * math/libm-test.inc (fmod_test): Add more tests.
25755
4842e4fe
JM
25756 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
25757 z computation is not scheduled after fetestexcept.
25758 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
25759 Use math_force_eval instead of asm to ensure calculation scheduled
25760 before exception test.
25761 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
25762 Ensure a1 + u.d computation is not scheduled after fetestexcept.
25763
efb73488
AJ
257642012-06-01 Aurelien Jarno <aurelien@aurel32.net>
25765
25766 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
25767 computation is not scheduled after fetestexcept.
25768
29bcce7c
L
257692012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25770
25771 [BZ #14117]
25772 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
25773 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
25774
73a68f94
AZ
257752012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25776
25777 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
25778 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25779
67b6df78
L
257802012-05-31 H.J. Lu <hongjiu.lu@intel.com>
25781
edf2933a 25782 [BZ #14117]
ebc64a18
L
25783 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
25784 <bits/wordsize.h>.
25785 (__WCHAR_MIN): Support __WORDSIZE == 64.
25786 (__WCHAR_MAX): Likewise.
25787
edf2933a
L
25788 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
25789 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
25790
57c6cf40
L
25791 [BZ #14183]
25792 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
25793 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
25794
67b6df78 25795 [BZ #14117]
8eb6281e
L
25796 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
25797 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
25798
aac639f4
L
25799 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
25800 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
25801
67b6df78
L
25802 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
25803 Defined to 1 if __x86_64__ isn't defined.
25804 (_STAT_VER_LINUX_OLD): New.
25805 (st_atime): Remove duplicate.
25806 (st_mtime): Likewise.
25807 (st_ctime): Likewise.
25808
1c2cfe81
DM
258092012-05-31 David S. Miller <davem@davemloft.net>
25810
25811 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
25812 entries.
25813
5be8418c
AS
258142012-06-01 Andreas Schwab <schwab@linux-m68k.org>
25815
e7725326
AS
25816 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
25817 gen-libm-test.pl.
25818
5be8418c
AS
25819 [BZ #14132]
25820 * elf/dl-reloc.c: Include <_itoa.h>.
25821 (_dl_reloc_bad_type): Remove use of INTUSE.
25822 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
25823 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
25824 * stdio-common/psiginfo.c (psiginfo): Likewise.
25825 * stdio-common/psignal.c (psignal): Likewise.
25826 * string/strsignal.c (strsignal): Likewise.
25827 * include/signal.h (_sys_siglist): Declare hidden proto.
25828 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
25829 INTVARDEF with libc_hidden_data_def.
25830 * stdio-common/itoa-udigits.c: Likewise.
25831 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
25832 (_itoa_lower_digits_internal): Remove declaration.
25833 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
25834 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
25835 (_sys_sigabbrev_internal): Remove aliases.
25836 (_sys_siglist): Define hidden alias.
25837
507352f1
MT
258382012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
25839
25840 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25841 bits/sysctl.h.
25842
42bbb1c3
L
258432012-05-31 H.J. Lu <hongjiu.lu@intel.com>
25844
25845 [BZ #14117]
6bd784b6
L
25846 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
25847 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
25848
8bca20f0
L
25849 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
25850 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
25851 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
25852 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
25853 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
25854 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
25855
f9e890a9
L
25856 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
25857 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
25858 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
25859
471101a1
L
25860 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
25861 with __addr.
25862 (insw): Likewise.
25863 (insl): Likewise.
25864 (outsb): Likewise.
25865 (outsw): Likewise.
25866 (outsl): Likewise.
25867
6451c862
L
25868 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
25869 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
25870 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
25871
a254b8c9
L
25872 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
25873 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
25874 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
25875 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
25876 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
25877 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
25878
b8dfdd92
L
25879 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
25880 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
25881
578cd270
L
25882 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
25883 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
25884
de662f5f
L
25885 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
25886 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
25887 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
25888
25653439
L
25889 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
25890 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
25891 to ...
25892 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
25893
6bad24a0
L
25894 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
25895 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
25896 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
25897
42bbb1c3
L
25898 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
25899 for x86-64.
25900 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
25901
2d10d547
JM
259022012-05-31 Joseph Myers <joseph@codesourcery.com>
25903
25904 * math/math.h (M_El): Use two more decimal places.
25905 (M_LOG2El): Likewise.
25906 (M_LOG10El): Likewise.
25907 (M_LN2l): Likewise.
25908 (M_LN10l): Likewise.
25909 (M_PIl): Likewise.
25910 (M_PI_2l): Likewise.
25911 (M_PI_4l): Likewise.
25912 (M_1_PIl): Likewise.
25913 (M_2_PIl): Likewise.
25914 (M_2_SQRTPIl): Likewise.
25915 (M_SQRT2l): Likewise.
25916 (M_SQRT1_2l): Likewise.
25917
f230c29b
DM
259182012-05-31 David S. Miller <davem@davemloft.net>
25919
25920 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
25921 values between float registers.
25922 * sysdeps/sparc/sparc64/memset.S: Likewise.
25923 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25924
fed806c3
MF
259252012-05-31 Mike Frysinger <vapier@gentoo.org>
25926
25927 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
25928 -D_FORTIFY_SOURCE=1.
25929 (CPPFLAGS-tst-longjmp_chk.c): Define.
25930 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
25931 (CPPFLAGS-tst-longjmp_chk2.c): Define.
25932 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
25933 CFLAGS-tst-wchar-h.c.
25934
30917259
MP
259352012-05-31 Marek Polacek <polacek@redhat.com>
25936
25937 [BZ #14132]
25938 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
25939 __endmntent_internal): Remove declaration.
25940 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
25941 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
25942 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
25943
1c58d5dc
DM
259442012-05-30 David S. Miller <davem@davemloft.net>
25945
25946 * sysdeps/sparc/sparc32/soft-fp/q_util.c
25947 (___Q_simulate_exceptions): Use real FP ops rather than writing
25948 into the %fsr.
25949 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
25950 Likewise.
25951
7dc00e0d
L
259522012-05-30 H.J. Lu <hongjiu.lu@intel.com>
25953
25954 [BZ #14117]
0bd53985
L
25955 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
25956 * sysdeps/x86/bits/xtitypes.h: This.
25957
3a257e66
L
25958 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
25959 * sysdeps/x86/bits/wordsize.h: This.
25960
62f62904
L
25961 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
25962 * sysdeps/x86/bits/huge_vall.h: This.
25963
404fe9d9
L
25964 * sysdeps/i386/bits/select.h: Removed.
25965 * sysdeps/x86_64/bits/select.h: Renamed to ...
25966 * sysdeps/x86/bits/select.h: This.
25967
d48d0446
L
25968 * sysdeps/i386/bits/setjmp.h: Removed.
25969 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
25970 * sysdeps/x86/bits/setjmp.h: This.
25971
7dc00e0d
L
25972 * sysdeps/i386/bits/mathdef.h: Removed.
25973 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
25974 * sysdeps/x86/bits/mathdef.h: This.
25975
03277f8f
AS
259762012-05-30 Andreas Schwab <schwab@linux-m68k.org>
25977
25978 [BZ #14132]
25979 * include/sys/socket.h (__connect_internal)
25980 (__libc_sa_len_internal): Remove declaration.
25981 (__connect, __libc_sa_len): Declare hidden_proto.
25982 (SA_LEN): Remove use of INTUSE.
25983 * socket/connect.c: Add libc_hidden_def.
25984 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
25985 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
25986 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
25987 alias.
25988 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
25989 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
25990 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
25991 of adding _internal alias.
25992
13764867
L
259932012-05-30 H.J. Lu <hongjiu.lu@intel.com>
25994
25995 [BZ #14117]
6bd97696
L
25996 * sysdeps/i386/bits/link.h: Removed.
25997 * sysdeps/i386/bits/linkmap.h: Likewise.
25998 * sysdeps/x86_64/bits/link.h: Renamed to ...
25999 * sysdeps/x86/bits/link.h: This.
26000 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26001 * sysdeps/x86/bits/linkmap.h: This.
26002
f726f0bb
L
26003 * sysdeps/i386/bits/endian.h: Removed.
26004 * sysdeps/x86_64/bits/endian.h: Renamed to ...
26005 * sysdeps/x86/bits/endian.h: This.
26006
13764867
L
26007 * sysdeps/i386/bits/byteswap.h: Removed.
26008 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26009 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26010 * sysdeps/x86/bits/byteswap.h: This.
26011 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26012 * sysdeps/x86/bits/byteswap-16.h: This.
26013 * sysdeps/i386/Implies: Add x86.
26014 * sysdeps/x86_64/Implies: Likewise.
26015
ae251b0b
DM
260162012-05-30 David S. Miller <davem@davemloft.net>
26017
26018 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26019 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26020 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26021 (FP_TRAPPING_EXCEPTIONS): Define.
26022 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26023 (FP_TRAPPING_EXCEPTIONS): Define.
26024 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26025 subnormals only when inexact has been signalled or underflow
26026 exceptions are enabled.
26027 (_FP_PACK_CANONICAL): Likewise.
26028
d5c90867
L
260292012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26030
26031 [BZ #14183]
26032 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26033 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26034
63f1549e
RH
260352012-05-30 Richard Henderson <rth@twiddle.net>
26036
8d8f2279
RH
26037 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26038 with #ifndef NOT_IN_libc.
26039
63f1549e
RH
26040 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
26041 marked to avoid plt entry.
26042
0ab0291b
L
260432012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26044
26045 [BZ #14112]
26046 * Makeconfig (default-abi): New macro.
26047 (abi-includes): Likewise.
26048 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
26049 $(abi-$(default-abi)-lib-soname) for soname if defined.
26050 ($(common-objpfx)gnu/lib-names.stmp): Generate from
26051 abi-variants.
26052 * Makefile (installed-stubs): Likewise.
26053 * include/stubs-biarch.h: Removed.
26054 * scripts/lib-names.awk: Only handle one library at a time.
26055 * scripts/soversions.awk: Remove WORDSIZE support.
26056 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26057 entries.
26058 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26059 Removed.
26060 (syscall-list-default-condition): Likewise.
26061 (syscall-list-default-condition): Likewise.
26062 (syscall-list-includes): Likewise.
26063 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26064 syscall-list-* with abi-*. Handle undefined abi-variants.
26065 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26066 * sysdeps/unix/sysv/linux/i386/Implies: New file.
26067 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26068 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26069 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26070 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26071 Removed.
26072 (syscall-list-32-options): Likewise.
26073 (syscall-list-32-condition): Likewise.
26074 (syscall-list-64-options): Likewise.
26075 (syscall-list-64-condition): Likewise.
26076 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26077 macro.
26078 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26079 Renamed to ...
26080 (abi-*): This.
26081 (abi-64-ld-soname): New macro.
26082 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26083 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26084 Renamed to ...
26085 (abi-*): This.
26086 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26087 * sysdeps/x86_64/x32/shlib-versions: Likewise.
26088
4da0431d
JM
260892012-05-30 Joseph Myers <joseph@codesourcery.com>
26090
3a85279c
JM
26091 * sysdeps/unix/sysv/linux/kernel-features.h
26092 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26093 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26094 include <kernel-features.h>.
26095 [!__NR_ftruncate64]: Remove conditional code.
26096 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26097 [__NR_ftruncate64]: Make code unconditional.
26098 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26099 * sysdeps/unix/sysv/linux/truncate64.c: Do not
26100 include <kernel-features.h>.
26101 [!__NR_ftruncate64]: Remove conditional code.
26102 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26103 [__NR_ftruncate64]: Make code unconditional.
26104 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26106 include <kernel-features.h>.
26107 [!__NR_ftruncate64]: Remove conditional code.
26108 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26109 [__NR_ftruncate64]: Make code unconditional.
26110 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26112 include <kernel-features.h>.
26113 [!__NR_ftruncate64]: Remove conditional code.
26114 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26115 [__NR_ftruncate64]: Make code unconditional.
26116 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26117
4da0431d
JM
26118 * configure.in (libc_cv_fpie): Weaken to a compile test using
26119 LIBC_TRY_CC_OPTION.
26120 * configure: Regenerated.
26121
11ef492c
AK
261222012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26123
26124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26128 Refreshed.
26129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26135 Refreshed.
26136
d66ef399
DM
261372012-05-27 David S. Miller <davem@davemloft.net>
26138
26139 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26140 (___Q_zero): New.
26141 (__Q_simulate_exceptions): Return void. Change to simulate
26142 exceptions by writing into the %fsr.
26143 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26144 (__Qp_handle_exceptions): Likewise.
26145 (numbers): Delete.
26146 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26147 __Qp_handle_exceptions.
26148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26149 __Qp_handle_exceptions.
26150 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26151 as unused and give dummy FP_RND_NEAREST initializer.
26152 (FP_INHIBIT_RESULTS): Define.
26153 (___Q_simulate_exceptions): Update declaration.
26154 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26155 formatting.
26156 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26157 as unused and give dummy FP_RND_NEAREST initializer.
26158 (__Qp_handle_exceptions): Update declaration.
26159 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26160 formatting.
26161
04fb54b5
TS
261622012-05-27 Thomas Schwinge <thomas@codesourcery.com>
26163
26164 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26165 the temporary FPU control word.
26166 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26167 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26168 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26169 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26170 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26171 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26172 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26173 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26174 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26175 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26176 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26177
3f99608f
KK
261782012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26179
26180 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26181 fields.
26182
65a4de4e
CLT
261832012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
26184
26185 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26186 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26187 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26188 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26189 Likewise.
26190 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26191 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26192 Likewise.
26193
15749d40
UD
261942012-05-27 Ulrich Drepper <drepper@gmail.com>
26195
26196 * po/h.po: Update from translation team.
26197
25dbcb27
AS
261982012-05-26 Andreas Schwab <schwab@linux-m68k.org>
26199
3d3f8e55
AS
26200 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26201
25dbcb27
AS
26202 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26203 handling of denormals.
26204 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26205 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26206 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26207 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26208 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26209 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26210 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26211 Likewise.
26212
7ad47a80 262132012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
26214
26215 [BZ #14152]
26216 * math/libm-test.inc (fma_test): Don't always expect underflow
26217 exception.
26218
9c6ea9fa
SP
262192012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26220
26221 [BZ #12416]
26222 * elf/tst-execstack.c: Include stackinfo.h.
26223 (do_test): Adjust test case to ensure that pthread_getattr_np
26224 behaviour remains the same after marking stack executable.
26225
a8239222
JM
262262012-05-25 Joseph Myers <joseph@codesourcery.com>
26227
26228 * sysdeps/unix/sysv/linux/kernel-features.h
26229 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26230 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26231 kernel-features.h.
26232 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26233 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26234 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26235 kernel-features.h.
26236 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26237 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26238
918b5606
L
262392012-05-25 H.J. Lu <hongjiu.lu@intel.com>
26240
26241 * configure.in: Define the default includes to being none.
26242 * configure: Regenerated.
26243
3a097cc7
RM
262442012-05-25 Roland McGrath <roland@hack.frob.com>
26245
8422c9a5
RM
26246 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26247 * sysdeps/x86_64/setjmp.S: Likewise.
26248 * sysdeps/i386/bsd-setjmp.S: Likewise.
26249 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26250 * sysdeps/i386/setjmp.S: Likewise.
26251 * sysdeps/i386/__longjmp.S: Likewise.
26252 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26253 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26254
3a097cc7
RM
26255 * include/stap-probe.h: New file.
26256 * configure.in: Handle --enable-systemtap.
26257 * configure: Regenerated.
26258 * config.h.in (USE_STAP_PROBE): New #undef.
26259 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26260 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26261 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26262
21708942
JM
262632012-05-25 Joseph Myers <joseph@codesourcery.com>
26264
26265 [BZ #13717]
26266 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26267 to 2.4.0 where earlier.
26268 * sysdeps/unix/sysv/linux/configure: Regenerated.
26269 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26270 <kernel-features.h>.
26271 [__ASSUME_32BITUIDS]: Make code unconditional.
26272 [!__ASSUME_32BITUIDS]: Remove conditional code.
26273 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
26274 <kernel-features.h>.
26275 [__ASSUME_32BITUIDS]: Make code unconditional.
26276 [!__ASSUME_32BITUIDS]: Remove conditional code.
26277 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
26278 [__ASSUME_32BITUIDS]: Make code unconditional.
26279 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26280 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
26281 <kernel-features.h>.
26282 [__ASSUME_32BITUIDS]: Make code unconditional.
26283 [!__ASSUME_32BITUIDS]: Remove conditional code.
26284 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
26285 <kernel-features.h>.
26286 [__ASSUME_32BITUIDS]: Make code unconditional.
26287 [!__ASSUME_32BITUIDS]: Remove conditional code.
26288 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
26289 <kernel-features.h>.
26290 [__ASSUME_32BITUIDS]: Make code unconditional.
26291 [!__ASSUME_32BITUIDS]: Remove conditional code.
26292 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
26293 <kernel-features.h>.
26294 [__ASSUME_32BITUIDS]: Make code unconditional.
26295 [!__ASSUME_32BITUIDS]: Remove conditional code.
26296 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26297 <kernel-features.h>.
26298 [__ASSUME_32BITUIDS]: Make code unconditional.
26299 [!__ASSUME_32BITUIDS]: Remove conditional code.
26300 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26301 <kernel-features.h>.
26302 [__ASSUME_32BITUIDS]: Make code unconditional.
26303 [!__ASSUME_32BITUIDS]: Remove conditional code.
26304 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
26305 <kernel-features.h>.
26306 [__ASSUME_32BITUIDS]: Make code unconditional.
26307 [!__ASSUME_32BITUIDS]: Remove conditional code.
26308 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26309 <kernel-features.h>.
26310 [__ASSUME_32BITUIDS]: Make code unconditional.
26311 [!__ASSUME_32BITUIDS]: Remove conditional code.
26312 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26313 <kernel-features.h>.
26314 [__ASSUME_32BITUIDS]: Make code unconditional.
26315 [!__ASSUME_32BITUIDS]: Remove conditional code.
26316 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
26317 <kernel-features.h>.
26318 [__ASSUME_32BITUIDS]: Make code unconditional.
26319 [!__ASSUME_32BITUIDS]: Remove conditional code.
26320 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
26321 <kernel-features.h>.
26322 [__NR_setresgid] (__setresgid): Do not declare.
26323 [__ASSUME_32BITUIDS]: Make code unconditional.
26324 [!__ASSUME_32BITUIDS]: Remove conditional code.
26325 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
26326 <kernel-features.h>.
26327 [__NR_setresuid] (__setresuid): Do not declare.
26328 [__ASSUME_32BITUIDS]: Make code unconditional.
26329 [!__ASSUME_32BITUIDS]: Remove conditional code.
26330 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
26331 <kernel-features.h>.
26332 [__ASSUME_32BITUIDS]: Make code unconditional.
26333 [!__ASSUME_32BITUIDS]: Remove conditional code.
26334 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
26335 <kernel-features.h>.
26336 [__ASSUME_32BITUIDS]: Make code unconditional.
26337 [!__ASSUME_32BITUIDS]: Remove conditional code.
26338 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
26339 <kernel-features.h>.
26340 [__ASSUME_32BITUIDS]: Make code unconditional.
26341 [!__ASSUME_32BITUIDS]: Remove conditional code.
26342 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
26343 <kernel-features.h>.
26344 [__ASSUME_32BITUIDS]: Make code unconditional.
26345 [!__ASSUME_32BITUIDS]: Remove conditional code.
26346 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
26347 <kernel-features.h>.
26348 [__ASSUME_32BITUIDS]: Make code unconditional.
26349 [!__ASSUME_32BITUIDS]: Remove conditional code.
26350 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
26351 <kernel-features.h>.
26352 [__ASSUME_32BITUIDS]: Make code unconditional.
26353 [!__ASSUME_32BITUIDS]: Remove conditional code.
26354 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
26355 <kernel-features.h>.
26356 [__ASSUME_32BITUIDS]: Make code unconditional.
26357 [!__ASSUME_32BITUIDS]: Remove conditional code.
26358 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
26359 <kernel-features.h>.
26360 [__ASSUME_32BITUIDS]: Make code unconditional.
26361 [!__ASSUME_32BITUIDS]: Remove conditional code.
26362 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
26363 <kernel-features.h>.
26364 [__ASSUME_32BITUIDS]: Make code unconditional.
26365 [!__ASSUME_32BITUIDS]: Remove conditional code.
26366 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26367 <kernel-features.h>.
26368 [__ASSUME_32BITUIDS]: Make code unconditional.
26369 [!__ASSUME_32BITUIDS]: Remove conditional code.
26370 * sysdeps/unix/sysv/linux/kernel-features.h
26371 (__ASSUME_SETRESUID_SYSCALL): Remove.
26372 (__ASSUME_SETRESGID_SYSCALL): Likewise.
26373 (__ASSUME_32BITUIDS): Likewise.
26374 (__ASSUME_LDT_WORKS): Likewise.
26375 (__ASSUME_O_DIRECTORY): Likewise.
26376 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
26377 architecture but not kernel version.
26378 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26379 (__ASSUME_MMAP2_SYSCALL): Likewise.
26380 (__ASSUME_STAT64_SYSCALL): Likewise.
26381 (__ASSUME_IPC64): Likewise.
26382 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
26383 <kernel-features.h>.
26384 [__ASSUME_32BITUIDS]: Make code unconditional.
26385 [!__ASSUME_32BITUIDS]: Remove conditional code.
26386 * sysdeps/unix/sysv/linux/opendir.c: Do not include
26387 <kernel-features.h>.
26388 [__ASSUME_O_DIRECTORY]: Make code unconditional.
26389 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
26390 132096]: Remove conditional code.
26391 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
26392 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26393 <kernel-features.h>.
26394 [__ASSUME_32BITUIDS]: Make code unconditional.
26395 [!__ASSUME_32BITUIDS]: Remove conditional code.
26396 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26397 <kernel-features.h>.
26398 [__ASSUME_32BITUIDS]: Make code unconditional.
26399 [!__ASSUME_32BITUIDS]: Remove conditional code.
26400 * sysdeps/unix/sysv/linux/setegid.c: Do not include
26401 <kernel-features.h>.
26402 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
26403 unconditional.
26404 (__setresgid): Do not declare.
26405 [__ASSUME_32BITUIDS]: Make code unconditional.
26406 [!__ASSUME_32BITUIDS]: Remove conditional code.
26407 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
26408 <kernel-features.h>.
26409 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
26410 unconditional.
26411 (__setresuid): Do not declare.
26412 [__ASSUME_32BITUIDS]: Make code unconditional.
26413 [!__ASSUME_32BITUIDS]: Remove conditional code.
26414 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26415 <kernel-features.h>.
26416 [__ASSUME_32BITUIDS]: Make code unconditional.
26417 [!__ASSUME_32BITUIDS]: Remove conditional code.
26418 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
26419 <kernel-features.h>.
26420 [__ASSUME_32BITUIDS]: Make code unconditional.
26421 [!__ASSUME_32BITUIDS]: Remove conditional code.
26422
a386f1cc
RH
264232012-05-25 Richard Henderson <rth@twiddle.net>
26424
26425 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
26426 dl_hwcap to ifunc resolver.
26427 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
26428 elf_ifunc_invoke.
26429 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
26430 dl_hwcap to ifunc resolver.
26431 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
26432
b6550497
JM
264332012-05-24 Joseph Myers <joseph@codesourcery.com>
26434
26435 [BZ #14153]
26436 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
26437 for |x| <= 2**-26, not 2**-57.
26438 * math/libm-test.inc (acos_test): Do not allow spurious underflow
26439 exception.
26440
b0bc23a1
JL
264412012-05-24 Jeff Law <law@redhat.com>
26442
26443 * stdio-common/Makefile (tests): Add bug25.
26444 * stdio-common/bug25.c: New test.
26445
347c92e9
L
264462012-05-24 H.J. Lu <hongjiu.lu@intel.com>
26447
26448 [BZ #13576]
26449 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
26450 multiple of MALLOC_ALIGNMENT in size.
26451 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
26452
6bcc8b3f
JM
264532012-05-24 Joseph Myers <joseph@codesourcery.com>
26454
26455 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
26456 Require >= 256.
26457 (FILENAME_MAX): Use macro-int-constant.
26458 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
26459 (_IOFBF): Use macro-int-constant.
26460 (_IOLBF): Likewise.
26461 (_IONBF): Likewise.
26462 (SEEK_CUR): Likewise.
26463 (SEEK_END): Likewise.
26464 (SEEK_SET): Likewise.
26465 (TMP_MAX): Likewise.
26466 (EOF): Use macro-int-constant. Require < 0.
26467 (NULL): Use macro-constant. Require == 0.
26468 (stdin): Require type to be FILE *.
26469 (stdout): Likewise.
26470 (stderr): Likewise.
26471 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
26472 macro-int-constant.
26473 (EXIT_SUCCESS): Likewise.
26474 (NULL): Use macro-constant. Require == 0.
26475 (RAND_MAX): Use macro-int-constant.
26476 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
26477 [C99-based standards] (strtof): Require function.
26478 [C99-based standards] (strtold): Likewise.
26479 [C99-based standards] (strtoll): Likewise.
26480 [C99-based standards] (strtoull): Likewise.
26481 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26482 [ISO || ISO99 || ISO11] (limits.h): Likewise.
26483 [ISO || ISO99 || ISO11] (math.h): Likewise.
26484 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
26485 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26486 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26487
d18ea0c5
AS
264882012-05-24 Andreas Schwab <schwab@linux-m68k.org>
26489
26490 [BZ #14132]
56d25bb8
AS
26491 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
26492 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
26493 * intl/dgettext.c (DCGETTEXT): Likewise.
26494 * intl/gettext.c (DCGETTEXT): Likewise.
26495 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
26496 * posix/regex_internal.h (gettext): Likewise.
26497 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
26498 Remove declaration.
26499 * include/argz.h (__argz_count_internal)
26500 (__argz_stringify_internal): Remove declaration.
26501 (__argz_count, __argz_stringify): Declare hidden proto.
26502 * intl/dcgettext.c: Remove use of INTDEF.
26503 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
26504 * string/argz-stringify.c: Likewise.
26505 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26506 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26507 Declare hidden proto.
d18ea0c5
AS
26508 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26509 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26510 Declare hidden proto.
26511 * include/stdio.h (__asprintf_internal): Don't declare.
26512 (__asprintf): Don't define as macro. Declare hidden proto.
26513 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
26514 (__fsetlocking): Declare hidden proto.
26515 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
26516 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
26517 hidden proto.
26518 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
26519 (_IO_setlinebuf): Remove use of INTUSE.
26520 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
26521 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
26522 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
26523 Remove declaration.
26524 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
26525 (_IO_do_flush): Remove use of INTUSE.
26526 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
26527 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
26528 (_IO_adjust_column, _IO_least_wmarker)
26529 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
26530 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
26531 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
26532 (_IO_default_doallocate, _IO_wdefault_doallocate)
26533 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
26534 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
26535 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
26536 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
26537 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
26538 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
26539 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
26540 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
26541 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
26542 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
26543 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
26544 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
26545 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
26546 proto.
26547 (_IO_flush_all_internal, _IO_adjust_column_internal)
26548 (_IO_default_uflow_internal, _IO_default_finish_internal)
26549 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
26550 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
26551 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
26552 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
26553 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
26554 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
26555 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
26556 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
26557 (_IO_file_close_internal, _IO_file_close_it_internal)
26558 (_IO_file_underflow_internal, _IO_file_overflow_internal)
26559 (_IO_file_init_internal, _IO_file_attach_internal)
26560 (_IO_file_fopen_internal, _IO_file_read_internal)
26561 (_IO_file_sync_internal, _IO_file_seek_internal)
26562 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
26563 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
26564 (_IO_str_underflow_internal, _IO_str_overflow_internal)
26565 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
26566 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
26567 (_IO_list_all_internal, _IO_link_in_internal)
26568 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
26569 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
26570 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
26571 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
26572 (_IO_do_write_internal, _IO_padn_internal)
26573 (_IO_getline_info_internal, _IO_getline_internal)
26574 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
26575 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
26576 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
26577 (_IO_vfscanf_internal, _IO_vfprintf_internal)
26578 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
26579 (_IO_init_internal, _IO_un_link_internal): Don't declare.
26580 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
26581 with libc_hidden_ver, remove use of INTUSE.
26582 * libio/genops.c: Likewise.
26583 * libio/freopen.c: Likewise.
26584 * libio/freopen64.c: Likewise.
26585 * libio/iofclose.c: Likewise.
26586 * libio/iofdopen.c: Likewise.
26587 * libio/iofflush.c: Likewise.
26588 * libio/iofflush_u.c: Likewise.
26589 * libio/iofgets.c: Likewise.
26590 * libio/iofgets_u.c: Likewise.
26591 * libio/iofopen.c: Likewise.
26592 * libio/iofopncook.c: Likewise.
26593 * libio/iofread.c: Likewise.
26594 * libio/iofread_u.c: Likewise.
26595 * libio/ioftell.c: Likewise.
26596 * libio/iofwrite.c: Likewise.
26597 * libio/iogetline.c: Likewise.
26598 * libio/iogets.c: Likewise.
26599 * libio/iogetwline.c: Likewise.
26600 * libio/iopadn.c: Likewise.
26601 * libio/iopopen.c: Likewise.
26602 * libio/ioseekoff.c: Likewise.
26603 * libio/ioseekpos.c: Likewise.
26604 * libio/iosetbuffer.c: Likewise.
26605 * libio/iosetvbuf.c: Likewise.
26606 * libio/ioungetc.c: Likewise.
26607 * libio/ioungetwc.c: Likewise.
26608 * libio/iovdprintf.c: Likewise.
26609 * libio/iovsprintf.c: Likewise.
26610 * libio/iovsscanf.c: Likewise.
26611 * libio/memstream.c: Likewise.
26612 * libio/obprintf.c: Likewise.
26613 * libio/oldfileops.c: Likewise.
26614 * libio/oldiofclose.c: Likewise.
26615 * libio/oldiofdopen.c: Likewise.
26616 * libio/oldiofopen.c: Likewise.
26617 * libio/oldiopopen.c: Likewise.
26618 * libio/oldstdfiles.c: Likewise.
26619 * libio/putc.c: Likewise.
26620 * libio/setbuf.c: Likewise.
26621 * libio/setlinebuf.c: Likewise.
26622 * libio/stdfiles.c: Likewise.
26623 * libio/strops.c: Likewise.
26624 * libio/vasprintf.c: Likewise.
26625 * libio/vscanf.c: Likewise.
26626 * libio/vsnprintf.c: Likewise.
26627 * libio/vswprintf.c: Likewise.
26628 * libio/wfiledoalloc.c: Likewise.
26629 * libio/wfileops.c: Likewise.
26630 * libio/wgenops.c: Likewise.
26631 * libio/wmemstream.c: Likewise.
26632 * libio/wstrops.c: Likewise.
26633 * libio/__fpurge.c: Likewise.
26634 * libio/__fsetlocking.c: Likewise.
26635 * assert/assert.c: Likewise.
26636 * debug/fgets_chk.c: Likewise.
26637 * debug/fgets_u_chk.c: Likewise.
26638 * debug/fread_chk.c: Likewise.
26639 * debug/fread_u_chk.c: Likewise.
26640 * debug/gets_chk.c: Likewise.
26641 * debug/obprintf_chk.c: Likewise.
26642 * debug/vasprintf_chk.c: Likewise.
26643 * debug/vdprintf_chk.c: Likewise.
26644 * debug/vsnprintf_chk.c: Likewise.
26645 * debug/vsprintf_chk.c: Likewise.
26646 * malloc/mtrace.c: Likewise.
26647 * misc/error.c: Likewise.
26648 * misc/syslog.c: Likewise.
26649 * stdio-common/asprintf.c: Likewise.
26650 * stdio-common/fxprintf.c: Likewise.
26651 * stdio-common/getw.c: Likewise.
26652 * stdio-common/isoc99_fscanf.c: Likewise.
26653 * stdio-common/isoc99_scanf.c: Likewise.
26654 * stdio-common/isoc99_vfscanf.c: Likewise.
26655 * stdio-common/isoc99_vscanf.c: Likewise.
26656 * stdio-common/isoc99_vsscanf.c: Likewise.
26657 * stdio-common/printf-prs.c: Likewise.
26658 * stdio-common/printf_fp.c: Likewise.
26659 * stdio-common/printf_fphex.c: Likewise.
26660 * stdio-common/printf_size.c: Likewise.
26661 * stdio-common/putw.c: Likewise.
26662 * stdio-common/scanf.c: Likewise.
26663 * stdio-common/sprintf.c: Likewise.
26664 * stdio-common/tmpfile.c: Likewise.
26665 * stdio-common/vfprintf.c: Likewise.
26666 * stdio-common/vfscanf.c: Likewise.
26667 * stdlib/strfmon_l.c: Likewise.
26668 * sunrpc/openchild.c: Likewise.
26669 * sunrpc/xdr_stdio.c: Likewise.
26670 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
26671 * sysdeps/mach/hurd/tmpfile.c: Likewise.
26672
d6c33fda
RM
266732012-05-24 Roland McGrath <roland@hack.frob.com>
26674
c1487492
RM
26675 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
26676
26677 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
26678 in the third column, to generate for the shared library an IFUNC
26679 that uses _dl_vdso_vsym.
26680 * Makerules (COMPILE.c, compile-stdin.c): New variables.
26681 * Makeconfig (object-suffixes-noshared): New variable.
26682
26683 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
26684 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
26685 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
26686 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
26687
d6c33fda
RM
26688 [BZ #14132]
26689 * include/sys/time.h (__gettimeofday): Remove macro.
26690 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
26691 * time/gettimeofday.c (__gettimeofday): Remove #undef.
26692 Remove INTDEF.
26693 (__gettimeofday): Add libc_hidden_def.
26694 (gettimeofday): Add libc_hidden_weak.
26695 * sysdeps/mach/gettimeofday.c: Likewise.
26696 * sysdeps/posix/gettimeofday.c: Likewise.
26697 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26698 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26699 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
26700 (__gettimeofday_internal): Remove strong_alias.
26701 (__gettimeofday): Add libc_hidden_def.
26702 (gettimeofday): Add libc_hidden_weak.
26703 * sysdeps/unix/syscalls.list (gettimeofday):
26704 Remove __gettimeofday_internal alias.
26705
b5a2bbe6
L
267062012-05-24 Daniel Jacobowitz <drow@false.org>
26707 H.J. Lu <hongjiu.lu@intel.com>
26708
26709 [BZ #12495]
26710 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
26711 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
26712 (largebin_index_32_big): New.
26713 (largebin_index): Use it for 16-byte alignment.
26714 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
26715 correction with front_misalign.
26716
cfba4fda
L
267172012-05-24 H.J. Lu <hongjiu.lu@intel.com>
26718
7f907421
L
26719 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
26720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26721 Likewise.
26722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
26723 Likewise.
26724 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26725 Likewise.
26726 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
26727 Likewise.
26728 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
26729 Likewise.
26730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
26731 Likewise.
26732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
26733 Likewise.
26734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26735 Likewise.
26736 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
26737 Likewise.
26738 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
26739 Likewise.
26740 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26741 Likewise.
26742 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
26743 Likewise.
26744
cfba4fda
L
26745 * scripts/data/c++-types-x32-linux-gnu.data: New file.
26746 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
26747
80bad0cc
JM
267482012-05-24 Joseph Myers <joseph@codesourcery.com>
26749
7a25eb06
JM
26750 [BZ #10846]
26751 [BZ #14036]
26752 * math/libm-test.inc (exp_test): Add test from bug 14036.
26753 (pow_test): Add test from bug 10846.
26754
795405f9
JM
26755 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
26756 and other flags.
26757 (special_function): Do not include flags in test name.
26758 (parse_args): Likewise.
26759 * sysdeps/i386/fpu/libm-test-ulps: Update.
26760 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26761 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26762 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26764
80bad0cc
JM
26765 * math/gen-libm-test.pl (%beautify): Add entries for underflow
26766 exceptions.
26767 * math/libm-test.inc ("Philosophy"): Update comment about
26768 exception testing.
26769 (UNDERFLOW_EXCEPTION): New macro.
26770 (UNDERFLOW_EXCEPTION_OK): Likewise.
26771 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
26772 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
26773 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
26774 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
26775 (INVALID_EXCEPTION_OK): Update value.
26776 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26777 (OVERFLOW_EXCEPTION_OK): Likewise.
26778 (IGNORE_ZERO_INF_SIGN): Likewise.
26779 (test_exceptions): Handle underflow exceptions.
26780 (acos_test): Update for underflow exception expectations.
26781 (cexp_test): Likewise.
26782 (clog_test): Likewise.
26783 (clog10_test): Likewise.
26784 (csqrt_test): Likewise.
26785 (ctan_test): Likewise.
26786 (ctanh_test): Likewise.
26787 (exp_test): Likewise.
26788 (exp10_test): Likewise.
26789 (exp2_test): Likewise.
26790 (expm1_test): Likewise.
26791 (fma_test): Likewise.
26792 (j0_test): Likewise.
26793 (jn_test): Likewise.
26794 (nexttoward_test): Likewise.
26795 (pow_test): Likewise.
26796 (scalbn_test): Likewise.
26797 (scalbln_test): Likewise.
26798 (tan_test): Likewise.
26799 (y1_test): Likewise.
26800 * sysdeps/i386/fpu/libm-test-ulps: Update.
26801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26802
9e0e3d0b
DM
268032012-05-23 David S. Miller <davem@davemloft.net>
26804
26805 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26806 (__libc_sigaction): Remove unused local variables.
26807
ccd0a08f
L
268082012-05-23 H.J. Lu <hongjiu.lu@intel.com>
26809
26810 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
26811
62bdf9a6
PE
268122012-05-23 Paul Eggert <eggert@cs.ucla.edu>
26813
f8591f80
PE
26814 mktime: avoid signed integer overflow
26815 * time/mktime.c (__mktime_internal): Do not mishandle the case
26816 where diff == INT_MIN.
26817
94c7d826
PE
26818 mktime: simplify computation of average
26819 * time/mktime.c (ranged_convert): Use new time_t_avg function
26820 instead of rolling our own (probably-slower) code.
26821
ce73d683
PE
26822 mktime: do not assume signed right shift propagates sign bit
26823 * time/mktime.c (isdst_differ): New static function.
26824 (__mktime_internal): No need to normalize tm_isdst now.
26825 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
26826 tm_isdst values.
26827
72a22e59
PE
26828 mktime: merge another wrapv change from gnulib
26829 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
26830 from some compilers.
26831
68605433
PE
26832 mktime: remove incorrect attempt at unusual arithmetics
26833 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
26834 The code didn't really work on such machines anyway.
26835 (TYPE_MINIMUM): Assume two's complement.
26836 (twos_complement_arithmetic): Verify that long_int and time_t
26837 are two's complement (or unsigned, in the latter case).
26838
03cf7fe3
PE
26839 mktime: check signed shifts on long_int and time_t, too
26840 * time/mktime.c (SHR): Check that shifts work as desired
26841 on the types long_int and time_t too, as SHR is used on
26842 such types.
26843
f04dfbc2
PE
26844 mktime: do not assume 'long' is wide enough
26845 * time/mktime.c (verify): Move decl up.
26846 (long_int): New type.
26847 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
26848 to remove assumption in the code that 'long' is wide enough to
26849 store year values. This assumption is not true on x32 and on
26850 some non-glibc platforms.
26851
62bdf9a6
PE
26852 mktime: merge wrapv change from gnulib
26853 * time/mktime.c (WRAPV): New macro.
26854 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
26855 (guess_time_tm, __mktime_internal): Do not assume that signed
26856 integer overflow wraps around; modern compilers generate code
26857 where this assumption is no longer valid.
26858
5e292e4f
L
268592012-05-23 H.J. Lu <hongjiu.lu@intel.com>
26860
26861 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
26862 Replace "jmp L(pseudo_end)" with "ret".
26863 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
26864 Likewise.
26865
8caf8c87
AJ
268662012-05-23 Andreas Jaeger <aj@suse.de>
26867
26868 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
26869 * sysdeps/unix/sysv/linux/poll.c: Remove file.
26870
1a09dc56
AJ
268712012-05-23 Andreas Jaeger <aj@suse.de>
26872 Maximilian Attems <max@stro.at>
26873
26874 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
26875 New macros.
26876
1c87aba0
L
268772012-05-23 H.J. Lu <hongjiu.lu@intel.com>
26878
26879 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
26880 code so that pseudo_end is just ret and the stack pointer is
26881 correct also for static library in error case.
26882
40e45bd5
JM
268832012-05-23 Joseph Myers <joseph@codesourcery.com>
26884
c2670533
JM
26885 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
26886 move to syscalls.list.
26887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
26888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26891
40e45bd5
JM
26892 * manual/install.texi (Running make install): Do not mention Linux
26893 kernel version for which pt_chown is not needed.
26894 (Linux): Do not mention problems with nscd with 2.0 kernels.
26895 * INSTALL: Regenerated.
26896
be08eda5
AJ
268972012-05-23 Andreas Jaeger <aj@suse.de>
26898
26899 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
26900 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
26901 macro.
26902 * sysdeps/unix/sysv/linux/s390/bits/mman.h
26903 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26904 * sysdeps/unix/sysv/linux/sh/bits/mman.h
26905 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26906 * sysdeps/unix/sysv/linux/i386/bits/mman.h
26907 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26908 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
26909 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26910 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
26911 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26912 * sysdeps/unix/sysv/linux/bits/in.h
26913 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
26914
a6a056bb
RM
269152012-05-22 Roland McGrath <roland@hack.frob.com>
26916
26917 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
26918 (PREPARE_VERSION): Just use assert instead, it will be elided
26919 under [NDEBUG] anyway.
26920
c9009328
L
269212012-05-22 H.J. Lu <hongjiu.lu@intel.com>
26922
26923 * sysdeps/unix/sysv/linux/Makefile: Include
26924 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 26925 (sysdep_routines): Remove sysctl.
c9009328
L
26926 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
26927 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
26928 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
26929 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
26930 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
26931
73338355
AJ
269322012-05-22 Andreas Jaeger <aj@suse.de>
26933
26934 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
26935 that pseudo_end is just ret and the stack pointer is correct also
26936 for static library in error case.
26937
d44638b0
PP
269382012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
26939
26940 [BZ #14122]
26941 * nss/nsswitch.c (defconfig_entries): New variable.
26942 (__nss_database_lookup): Don't leak defconfig entries.
26943 (nss_parse_service_list): Don't leak on error paths.
26944 (free_database_entries): New function.
26945 (free_defconfig): New function.
26946 (free_mem): Move common code to free_database_entries.
26947
31a39bd8
L
269482012-05-22 H.J. Lu <hongjiu.lu@intel.com>
26949
da0331a8
L
26950 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
26951 Add arch_prctl.
26952 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
26953
31a39bd8
L
26954 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26955 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
26956 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
26957 New macro.
26958 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
26959 (INTERNAL_SYSCALL_TYPES): Likewise.
26960 (LOAD_ARGS_TYPES_[1-6]): Likewise.
26961 (LOAD_REGS_TYPES_[1-6]): Likewise.
26962 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
26963 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
26964
45470df3
AZ
269652012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26966
26967 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
26968 copysignl for GLIBC_2_0.
26969 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
26970 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
26971 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
26972 logbl for GLIBC_2_0.
26973 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
26974 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
26975
98a61bcb
L
269762012-05-22 H.J. Lu <hongjiu.lu@intel.com>
26977
a4f6e481
L
26978 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
26979 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
26980
f63d5db6
L
26981 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
26982 Use "neg %eax".
26983
98a61bcb
L
26984 * time/mktime.c: Update copyright years.
26985
95770f14
PE
269862012-05-22 Paul Eggert <eggert@cs.ucla.edu>
26987
6226efbd
PE
26988 mktime: merge comment-quoting-style change from gnulib
26989 * time/mktime.c: Quote 'like this' in comments.
26990 The GNU coding standards suggest that we no longer quote `like this',
26991 as "`" and "'" are typically rendered asymmetrically nowadays.
26992 The typical gnulib style is to quote 'like this' when quoting
26993 code, and "like this" when quoting English.
26994
b99e4f78
PE
26995 * time/mktime.c (compile-command): Add "-I.".
26996
643e01e6
PE
26997 mktime: merge mktime-internal.h change from gnulib
26998 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
26999
2554247d
PE
27000 mktime: merge time_r change from gnulib
27001 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27002
826dd0ab
PE
27003 mktime: merge DEBUG change from gnulib
27004 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27005 case system <time.h> has a #define.
27006
bd83aabe
PE
27007 mktime: merge <sys/types.h> change from gnulib
27008 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27009 since <time.t> is now guaranteed to define time_t.
27010
95770f14
PE
27011 mktime: merge HAVE_CONFIG_H change from gnulib
27012 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27013
5e1a27a9
L
270142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27015
0e44a77e
L
27016 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27017 Use "neg %eax".
27018
5e1a27a9
L
27019 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27020 __rlim_t cast.
27021 (struct rusage): Use anonymous union to pad each field to
27022 __syscall_slong_t.
27023
46259bec
DM
270242012-05-21 David S. Miller <davem@davemloft.net>
27025
27026 * Makefules (o-iterator): Remove .s cases.
27027 (compile-command.s): Delete.
27028 (COMPILE.s): Delete.
27029 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27030
59f0c22e
JM
270312012-05-21 Joseph Myers <joseph@codesourcery.com>
27032
27033 * configure.in (libc_cv_predef_stack_protector): Only consider
27034 "foobar" and "__stack_chk_fail" lines in libc_undefs.
27035 * configure: Regenerated.
27036
20c07380
L
270372012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27038
bbb3154b
L
27039 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27040 New macro. Use R*LP on int and pointer.
27041 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
27042 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27043 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
27044 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27045
20c07380
L
27046 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27047 [__WORDSIZE_TIME64_COMPAT32] instead of
27048 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27049 (struct utmp): Likewise.
27050 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27051 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27052 Renamed to ...
27053 (__WORDSIZE_TIME64_COMPAT32): This.
27054 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27055 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27056 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27057 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27058 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27059 (__WORDSIZE_TIME64_COMPAT32): New macro.
27060
d8d1017e
AJ
270612012-05-21 Andreas Jaeger <aj@suse.de>
27062
27063 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27064 only if [SHARED]. Add prototype for __wcschr_ia32.
27065
6c7fb145
RM
270662012-05-21 Roland McGrath <roland@hack.frob.com>
27067
27068 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27069 of %rbp unmolested in the jmp_buf while mangling the low bits.
27070 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27071 unmolested high bits of %rbp while demangling the low bits.
27072 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27073
66274218
AJ
270742012-05-21 Andreas Jaeger <aj@suse.de>
27075
07c58f8f
AJ
27076 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27077 * sunrpc/svc_simple.c: Use it for registerrpc.
27078 * sunrpc/xcrypt.c: Use it for passwd2des.
27079
66274218
AJ
27080 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27081
61f65140
L
270822012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27083
27084 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27085 Don't define if [__SYSCALL_WORDSIZE != 32].
27086 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27087 New macro.
27088
5fefb436
AJ
270892012-05-21 Bruno Haible <bruno@clisp.org>
27090 Andreas Jaeger <aj@suse.de>
27091
27092 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27093 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27094 inptr and inend for must_buffer_ch.
27095 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27096 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27097 * stdio-common/Makefile (tests): Remove bug15.
27098 (bug15-ENV): Remove macro.
27099 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27100 anymore.
27101
d8e272ab
AJ
271022012-05-19 Andreas Jaeger <aj@suse.de>
27103 Roland McGrath <roland@hack.frob.com>
27104
27105 * manual/contrib.texi: Completely rewritten. It contains now an
27106 alphabetical list of contributors and their contributions.
27107
4a56a162
RH
271082012-05-21 Richard Henderson <rth@twiddle.net>
27109
27110 * misc/getauxval.c (__getauxval): Use unsigned long int.
27111 * misc/sys/auxv.h: Include <sys/cdefs.h>.
27112 (getauxval): Use unsigned long int.
27113
d024d23c
L
271142012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27115
27116 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27117
cbc00a03
RM
271182012-05-21 Roland McGrath <roland@hack.frob.com>
27119
27120 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27121 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27122 __alignof__ (long double).
27123
478143fa
AZ
271242012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27125
27126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27127
c7683a6d
RH
271282012-05-20 Richard Henderson <rth@twiddle.net>
27129
27130 * misc/getauxval.c: New file.
27131 * misc/sys/auxv.h: New file.
27132 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27133 (routines): Add getauxval.
27134 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27135 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27136 * elf/dl-sysdep.c (_dl_auxv): Remove.
27137 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27138 * elf/dl-support.c (_dl_auxv): New variable.
27139 (_dl_aux_init): Initialize it.
27140 * manual/startup.texi (Auxiliary Vector): New node.
27141 * sysdeps/generic/bits/hwcap.h: New file.
27142 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27143 * sysdeps/powerpc/sysdep.h: ... here. Include it.
27144 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27145 * sysdeps/sparc/sysdep.h: ... here. Include it.
27146 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27147 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
27148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27149 Update.
c7683a6d
RH
27150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27153 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27158
a6f1845d
AZ
271592012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27160
27161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27162
cbcbe830
DM
271632012-05-19 David S. Miller <davem@davemloft.net>
27164
27165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27166
e0b16cc2
JM
271672012-05-19 Joseph Myers <joseph@codesourcery.com>
27168
27169 [BZ #14123]
27170 * math/s_ccosh.c: Include <float.h>
27171 (__ccosh): Avoid internal overflow calculating sinh and cosh
27172 values before multiplying by sin and cos values.
27173 * math/s_ccoshf.c: Likewise.
27174 * math/s_ccoshl.c: Likewise.
27175 * math/s_csin.c: Likewise.
27176 * math/s_csinf.c: Likewise.
27177 * math/s_csinl.c: Likewise.
27178 * math/s_csinh.c: Likewise.
27179 * math/s_csinhf.c: Likewise.
27180 * math/s_csinhl.c: Likewise.
27181 * math/libm-test.inc (ccos_test): Add more tests.
27182 (ccosh_test): Likewise.
27183 (csin_test): Likewise.
27184 (csinh_test): Likewise.
27185 * sysdeps/i386/fpu/libm-test-ulps: Update.
27186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27187
6ad13e08
L
271882012-05-19 H.J. Lu <hongjiu.lu@intel.com>
27189
f66f0ce8
L
27190 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27191 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27192
6ad13e08
L
27193 * sysdeps/x86_64/x32/_itoa.h: Add comment.
27194
b1d072a7
JM
271952012-05-19 Joseph Myers <joseph@codesourcery.com>
27196
27197 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27198 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27199 * sysdeps/powerpc/soft-fp/Versions: Likewise.
27200 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27201 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27202 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27203 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27204 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27205 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27206 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27207 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27208 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27209 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27210 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27211 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27212 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27213 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27214 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27215 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27216 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27217 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27218 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27219 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27220 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27221 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27222 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27223 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27224 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27225 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27226 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27227 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27228
9eae47cb
AJ
272292012-05-18 Andreas Jaeger <aj@suse.de>
27230
27231 * csu/.gitignore: Delete.
27232
bb07f69f
L
272332012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27234
27235 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27236 (timex): Use __syscall_slong_t.
27237
e6bdb741
AJ
272382012-05-18 Andreas Jaeger <aj@suse.de>
27239 Carlos O'Donell <carlos_odonell@mentor.com>
27240
27241 * manual/install.texi (Configuring and compiling): Update
27242 description about files modified in the source directory.
d6c33fda 27243 * INSTALL: Regenerated.
e6bdb741 27244
1b74487e
L
272452012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27246
27247 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27248 value. Use "or" to set return value to -1.
27249 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27250 negate return value.
27251
a88b64b9
TMQMF
272522012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27253
27254 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27255 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27256 failure if the compiler has Graphite support disabled.
27257 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27258 Likewise.
27259 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27260 CFLAGS-memmove.c): Likewise.
27261 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27262 Likewise.
27263
3707636e
L
272642012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27265
610b8622
L
27266 * sysdeps/x86_64/x32/_itoa.h: New file.
27267
7cd195df
L
27268 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27269 getdents system call only if kernel and user dirents have the
27270 same d_ino and d_off.
27271
94b07d20
L
27272 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27273 LLONG_MAX != LONG_MAX.
27274 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27275 (_fitoa_word): Likewise.
27276
18298070
L
27277 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27278 years.
27279 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27280 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27281 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27282
553c7ea4
L
27283 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27284 include <bits/wordsize.h>. Check __x86_64__ instead of
27285 __WORDSIZE.
27286 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27287 if __x86_64__ is defined. Use anonymous union on fpstate.
27288
3707636e
L
27289 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27290 anonymous union.
27291
b53ef01a
AS
272922012-05-18 Andreas Schwab <schwab@linux-m68k.org>
27293
37fb1dc0
AS
27294 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27295 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27296 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27297 Refer to _rtld_local_ro instead of _rtld_global_ro.
27298 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27299 Likewise.
27300 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27301 Likewise.
27302 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27303 Likewise.
27304 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27305 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27306 of _rtld_global, and rtld_progname instead of _dl_argv[0].
27307
b53ef01a
AS
27308 * sysdeps/powerpc/powerpc32/dl-machine.c
27309 (__elf_machine_runtime_setup) [PROF]: Don't reference
27310 _dl_prof_resolve.
27311
7a185db2
AJ
273122012-05-18 Andreas Jaeger <aj@suse.de>
27313
27314 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
27315 function only available for GCCs before 3.4 since GCC 3.4
27316 introduced a builtin.
27317 (lrint): Likewise.
27318 (llrintf): Likewise.
27319 (llrint): Likewise.
27320 (fmaxf): Likewise.
27321 (fmax): Likewise.
27322 (fminf): Likewise.
27323 (fmin): Likewise.
27324 (rint): Likewise.
27325 (rintf): Likewise.
27326 (nearbyint): Likewise.
27327 (nearbyintf): Likewise.
27328 (ceil): Likewise.
27329 (ceilf): Likewise.
27330 (floor): Likewise.
27331 (floorf): Likewise.
27332
3e5aef87
L
273332012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27334
428bd707
L
27335 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
27336 on both fields and cast pointer to __syscall_ulong_t.
27337
3e5aef87
L
27338 * bits/types.h (__fsword_t): New type.
27339 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
27340 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
27341 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27342 (__FSWORD_T_TYPE): Likewise.
27343 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27344 (__FSWORD_T_TYPE): Likewise.
27345 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27346 (__FSWORD_T_TYPE): Likewise.
27347 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
27348 (__FSWORD_T_TYPE): Likewise.
27349 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
27350 __SWORD_TYPE with __fsword_t.
27351 (statfs64): Likewise.
27352
1ba7c3dc
DM
273532012-05-17 David S. Miller <davem@davemloft.net>
27354
27355 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
27356
59910343
AJ
273572012-05-17 Andreas Jaeger <aj@suse.de>
27358
27359 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
27360 warning.
27361
2e4c1e9e
L
273622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27363
27364 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
27365
de7f5ce7
AJ
273662012-05-17 Andreas Jaeger <aj@suse.de>
27367
27368 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
27369 when it is used.
27370
286abc3d
CM
273712012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27372
27373 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
27374
477cc68e
L
273752012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27376
27377 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
27378 * sysdeps/x86_64/tst-mallocalign1.c: New file.
27379
1a0994f5
CD
273802012-05-17 Andreas Jaeger <aj@suse.de>
27381 Carlos O'Donell <carlos_odonell@mentor.com>
27382
27383 [BZ #14059]
27384 * sysdeps/x86_64/multiarch/init-arch.h
27385 (bit_YMM_Usable): Rename to...
27386 (bit_AVX_Usable): ... this.
27387 (bit_FMA4_Usable): New macro.
27388 (bit_XMM_state): New macro.
27389 (bit_YMM_state): New macro.
27390 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
27391 [__ASSEMBLER__] (index_AVX_Usable): ... this.
27392 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
27393 (CPUID_OSXSAVE): New macro.
27394 (CPUID_AVX): New macro.
27395 (CPUID_FMA4): New macro.
27396 (index_YMM_Usable): Rename to...
27397 (index_AVX_Usable): ... this.
27398 (HAS_AVX): Use HAS_ARCH_FEATURE.
27399 (HAS_FMA4): Likewise.
27400 (HAS_YMM_USABLE): Remove.
27401 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27402 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
27403 are present.
27404 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
27405 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
27406 * sysdeps/x86_64/multiarch/Makefile: Likewise.
27407 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
27408 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
27409
0af797de
CM
274102012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27411
27412 * math/libm-test.c: Support platforms without multiple rounding modes.
27413 * math/bug-nextafter.c: Support platforms without FP exceptions.
27414 * math/bug-nexttoward.c: Likewise.
27415 * math/test-fenv.c: Likewise.
27416 * math/test-misc.c: Likewise.
27417 * stdlib/bug-getcontext.c: Likewise.
27418
e39745ff
AJ
274192012-05-17 Andreas Jaeger <aj@suse.de>
27420
27421 * manual/examples/search.c (critter_cmp): Change signature to
27422 avoid warnings.
27423 * manual/string.texi (Collation Functions): Likewise.
27424
48970aba
L
274252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27426
27427 * bits/types.h: Fold copyright years.
27428 * bits/typesizes.h: Likewise.
27429 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
27430 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27431 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
27432 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
27433 * time/time.h: Likewise.
27434
bedee953
PP
274352012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
27436
27437 [BZ #208]
27438 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
27439 in instead of returning them. Return void.
27440 (__libc_mallinfo): Accumulate over all arenas.
27441 (__malloc_stats): Adjust for change in int_mallinfo interface.
27442
61653dfb
RM
274432012-05-16 Roland McGrath <roland@hack.frob.com>
27444
30b99d79
RM
27445 [BZ #10375]
27446 * configure.in (NM): Add AC_CHECK_TOOL for it.
27447 (libc_extra_cflags): New substituted variable.
27448 Check for -fstack-protector being used implicitly.
27449 * configure: Regenerated.
27450 * config.make.in (config-extra-cflags): New variable,
27451 gets @libc_extra_cflags@.
27452 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
27453
61653dfb
RM
27454 [BZ #10375]
27455 * configure.in: Check for _FORTIFY_SOURCE being predefined.
27456 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
27457 * configure: Regenerated.
27458 * config.make.in (CPPUNDEFS): New substituted variable.
27459 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
27460 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
27461 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
27462
661768bb
L
274632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27464
27465 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
27466 (mq_attr): Use __syscall_slong_t.
27467
d4261567
L
274682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27469
27470 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
27471 Check __x86_64__ instead of __WORDSIZE.
27472 (_STAT_VER_LINUX): Likewise.
27473 (stat): Check __x86_64__ instead of __WORDSIZE. Use
27474 __syscall_ulong_t and __syscall_slong_t.
27475 (stat64): Likewise.
27476
cf3ff365
L
274772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27478
27479 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
27480
76cf3e4d
L
274812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27482
27483 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
27484
a637753a
L
274852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27486
27487 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
27488 __syscall_ulong_t.
27489
d5e05119
L
27490 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
27491 include <bits/wordsize.h>. Check __x86_64__ instead of
27492 __WORDSIZE.
27493 (greg_t): Use "__extension__ long long int" if __x86_64__ is
27494 defined.
27495 (mcontext_t): Replace "unsigned long" with "unsigned long long".
27496
f62ee380
L
27497 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
27498 include <bits/wordsize.h>. Check __x86_64__ instead of
27499 __WORDSIZE.
27500 (user_regs_struct): Use "__extension__ unsigned long long"
27501 instead of "unsigned long" if __x86_64__ is defined.
27502 (user): Likewise. Pad after pointer field if __ILP32__ is
27503 defined.
27504
4e124ced
JM
275052012-05-16 Joseph Myers <joseph@codesourcery.com>
27506
6a3951a0
JM
27507 * configure.in (makeinfo): Require version 4.5 or later. Allow
27508 versions 5 to 9.
27509 * configure: Regenerated.
27510 * manual/install.texi (texinfo): Increase version requirement to
27511 4.5 or later.
27512 * INSTALL: Regenerated.
27513
4e124ced
JM
27514 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
27515
953ca31a
L
275162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27517
27518 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
27519
617aca05
L
27520 * sysdeps/x86_64/x32/ffs.c: New file.
27521
5762f7ae
L
27522 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
27523 __syscall_ulong_t.
27524 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
27525 defined. Use __syscall_ulong_t.
27526 (shminfo): Use __syscall_ulong_t.
27527 (shm_info): Likewise.
27528
a26b6856
L
27529 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
27530 __syscall_ulong_t.
27531
cb2b9ef7
L
27532 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
27533 <bits/wordsize.h>.
27534 (msgqnum_t): Use __syscall_ulong_t.
27535 (msglen_t): Likewise.
27536 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
27537 __syscall_ulong_t.
27538
34683bb0
L
27539 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
27540 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27541
84a68786
L
27542 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
27543
48baa5f1
L
27544 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
27545 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
27546
180be88b
L
27547 * sysvipc/sys/msg.h (msgbuf): Replace long int with
27548 __syscall_slong_t.
27549
5e90c8ad
L
27550 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
27551 include <bits/wordsize.h>. Check __x86_64__ instead of
27552 __WORDSIZE.
27553
23dfb58b
L
27554 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
27555 "unsigned long long int" if __x86_64__ is defined.
27556 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
27557
ce5d54b0
L
27558 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
27559 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27560 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
27561
13dc9eac
L
27562 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
27563 <stdint.h>.
27564 (GET_PC): Cast to uintptr_t first.
27565 (GET_FRAME): Likewise.
27566 (GET_STACK): Likewise.
27567
a7895d15
L
27568 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
27569 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
27570 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
27571 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
27572 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
27573 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
27574 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
27575 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
27576 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27577 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
27578 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
27579 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
27580 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27581 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
27582 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
27583 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
27584 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
27585 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
27586 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
27587 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
27588 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
27589 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
27590 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
27591 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
27592 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
27593 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
27594 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
27595 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
27596 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
27597
656416c9
AS
275982012-05-16 Andreas Schwab <schwab@linux-m68k.org>
27599
5bd66283
AS
27600 * Makerules (+depfiles): Also collect depfiles from .oS in
27601 $(extra-objs).
27602 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
27603 .oS, $(libnldbl-routines)).
27604
656416c9
AS
27605 * Makerules (native-compile-mkdep-flags): Define.
27606 * sunrpc/Makefile (extra-objs): Add $(addprefix
27607 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
27608 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
27609 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
27610 calling $(make-target-directory).
27611
a46f2169
L
276122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27613
27614 * bits/types.h (__snseconds_t): Removed.
27615 * time/time.h (struct timespec): Replace __snseconds_t with
27616 __syscall_slong_t.
27617 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
27618 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
27619 Likewise.
27620 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27621 (__SNSECONDS_T_TYPE): Likewise.
27622 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27623 (__SNSECONDS_T_TYPE): Likewise.
27624 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27625 (__SNSECONDS_T_TYPE): Likewise.
27626
6af6528b
L
276272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27628
27629 * sysdeps/mach/hurd/bits/typesizes.h
27630 (__SYSCALL_SLONG_TYPE): New macro.
27631 (__SYSCALL_ULONG_TYPE): Likewise.
27632
de986b56
L
276332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27634
27635 * bits/types.h (__syscall_slong_t): New type.
27636 (__syscall_ulong_t): Likewise.
27637
27638 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
27639 (__SYSCALL_ULONG_TYPE): Likewise.
27640 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27641 (__SYSCALL_SLONG_TYPE): Likewise.
27642 (__SYSCALL_ULONG_TYPE): Likewise.
27643 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27644 (__SYSCALL_SLONG_TYPE): Likewise.
27645 (__SYSCALL_ULONG_TYPE): Likewise.
27646 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27647 (__SYSCALL_SLONG_TYPE): Likewise.
27648 (__SYSCALL_ULONG_TYPE): Likewise.
27649
85736dc7
L
276502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27651
27652 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
27653 Add sigaltstack-offsets.sym.
27654 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
27655 <sigaltstack-offsets.h>.
27656 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
27657 longjmp_msg pointer.
27658 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
27659 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
27660 signal stack.
27661 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
27662
cc03b296
JM
276632012-05-15 Joseph Myers <joseph@codesourcery.com>
27664
a9538892
JM
27665 * elf/stackguard-macros.h: Remove file.
27666 * sysdeps/generic/stackguard-macros.h: New file.
27667 * sysdeps/i386/stackguard-macros.h: Likewise.
27668 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27669 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27670 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27671 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27672 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27673 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27674 * sysdeps/x86_64/stackguard-macros.h: Likewise.
27675 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
27676 <elf/stackguard-macros.h>.
27677
cc03b296
JM
27678 [BZ #14109]
27679 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
27680 __aligned__ in attribute.
27681 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
27682 (gregset_t): Likewise.
27683
93171016
L
276842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27685
27686 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
27687 * sysdeps/x86_64/64/Implies-after: Here. New file.
27688 * sysdeps/x86_64/x32/Implies-after: New file.
27689
d86813a0
L
276902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27691
27692 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
27693 and access return value for _dl_profile_fixup. Use R10_LP to
27694 load frame size.
27695
2953ec75
L
276962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27697
27698 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
27699
3b550e9e
L
277002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27701
27702 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
27703 * sysdeps/x86_64/x32/sysdep.h: New file.
27704
eda41706
L
277052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27706
27707 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
27708 * sysdeps/x86_64/setjmp.S: Likewise.
27709
9ea01d93
AZ
277102012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27711
27712 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
27713 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
27714 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
27715 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
27716 remove unused global constant.
27717
02a91938
CM
277182012-05-15 Chris Metcalf <cmetcalf@tilera.com>
27719
27720 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
27721 include of <not-cancel.h>.
27722
6540185f
RM
277232012-05-15 Roland McGrath <roland@hack.frob.com>
27724
27725 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
27726
509072a0
AJ
277272012-05-15 Jeff Law <law@redhat.com>
27728 Andreas Jaeger <aj@suse.de>
27729
27730 [BZ #13594]
27731 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
27732 out from...
27733 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
27734 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
27735 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
27736 code changing __hst_map_handle.map.
27737
ba75122d
RM
277382012-05-15 Roland McGrath <roland@hack.frob.com>
27739
27740 * configure.in (sysnames): Look for Implies-before and Implies-after
27741 files.
27742 * configure: Regenerated.
27743
890d8bd8
L
277442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27745
27746 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
27747 8-byte data alignment with LP_SIZE alignment.
27748
f6ee6623
L
277492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27750
27751 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
27752 into R10_LP.
27753
ea2626f6
L
277542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27755
27756 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
27757
085f715e
L
277582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27759
27760 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
27761 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
27762 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
27763 Likewise.
27764 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27765
be8498fc
L
277662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27767
27768 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
27769 (stackinfo_sub_sp): Likewise.
27770
70bc83b9
L
277712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27772
27773 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
27774 RAX_LP.
27775
9bc0b730
L
277762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27777
27778 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
27779 into R*_LP.
27780
6d2850e7
L
277812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27782
27783 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
27784 sizes into R*_LP.
27785
3cb84561
L
277862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27787
27788 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
27789
54e2ed81
L
277902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27791
27792 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
27793 into R11_LP and load __x86_64_shared_cache_size_half into
27794 R8_LP.
27795
8a17f349
L
277962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27797
27798 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
27799 R8_LP.
27800
777b1eea
AZ
278012012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27802
27803 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
27804 logb for POWER7.
27805 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
27806 logbf for POWER7.
27807 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
27808 logbl for POWER7.
27809 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
27810 powerpc32/power7/fpu/s_logb.c via #include.
27811 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
27812 powerpc32/power7/fpu/s_logbf.c via #include.
27813 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
27814 powerpc32/power7/fpu/s_logbl.c via #include.
27815
d20d4ac2
JM
278162012-05-15 Joseph Myers <joseph@codesourcery.com>
27817
27818 * README.libm: Remove file.
27819
6cdef1ab
L
278202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27821
27822 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
27823 count for x32. Use R*_LP and omit operand-size suffix.
27824
0b254d8f
L
278252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27826
27827 * shlib-versions: Move x86_64-.*-linux.* entries to ...
27828 * sysdeps/x86_64/64/shlib-versions: Here. New file.
27829 * sysdeps/x86_64/x32/shlib-versions: New file.
27830
ceb809dc
RM
278312012-05-14 Roland McGrath <roland@hack.frob.com>
27832
27833 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
27834 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
27835 Use _dl_fatal_printf instead.
27836
37f1abd4
JM
278372012-05-14 Joseph Myers <joseph@codesourcery.com>
27838
27839 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
27840 set if not set by the user. Do not allow for being unset.
27841 * sysdeps/unix/sysv/linux/configure: Regenerated.
27842
11de3a33
L
278432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27844
27845 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
27846 the `q' suffix from lea and replace .quad with ASM_ADDR.
27847
e02f153a
L
278482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27849
27850 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
27851 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
27852 instead of $17.
27853 (PTR_DEMANGLE): Likewise.
27854
520ae0fd
L
278552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27856
27857 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
27858 (LP_OP): Likewise.
27859 (ASM_ADDR): Likewise.
27860 (RAX_LP): Likewise.
27861 (RBP_LP): Likewise.
27862 (RBX_LP): Likewise.
27863 (RCX_LP): Likewise.
27864 (RDI_LP): Likewise.
27865 (RSI_LP): Likewise.
27866 (RSP_LP): Likewise.
27867 (R8_LP): Likewise.
27868 (R9_LP): Likewise.
27869 (R10_LP): Likewise.
27870 (R10_LP): Likewise.
27871 (R11_LP): Likewise.
27872 (R12_LP): Likewise.
27873 (R13_LP): Likewise.
27874 (R14_LP): Likewise.
27875 (R15_LP): Likewise.
27876
b985be81
L
278772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27878
27879 * sysdeps/x86_64/x32/dl-machine.h: New file.
27880
6a4888ff
AJ
278812012-05-14 Andreas Jaeger <aj@suse.de>
27882
27883 * manual/Makefile (subdir): Remove export of subdir.
27884 (all): Remove target.
27885 (.PHONY): Remove all from list.
27886 (mkinstalldirs): Remove.
27887 (.PHONY): Remove installdirs from list.
27888 ($(inst_infodir)/libc.info): Use make-target-directory.
27889 (installdirs): Remove.
27890 (subdir_%): Remove.
27891 (glibc-targets): Remove.
27892 (lib): Remove.
27893 (stubs): Remove.
27894 ($(objpfx)stubs ../po/manual.pot): Remove.
27895 ($(objpfx)stamp%): Remove.
27896 (make-target-directory): Remove.
27897 (subdir_install): Remove.
27898 (routines): Remove.
27899 (aux): Remove.
27900 (sources): Remove.
27901 (objects): Remove.
27902 (headers): Remove.
27903
27904 [BZ #13750]
27905 * manual/.gitignore: Remove, it's not needed anymore.
27906 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
27907 all files in it.
27908 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
27909 directory.
27910 (texis): Renamed to $(objpfx)texis.
27911 (texis-path): New, contains path to generated files.
27912 (chapters.%): Use texis-path for complete path, add extra argument
27913 libc-texinfo.sh.
27914 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
27915 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
27916 (summary,texi, stamp-summary): Use complete path of
27917 files. Generate files in build dir.
27918 (dir-add.texi): Build in build dir.
27919 (libm-err.texi,stamp-libm-err): Likewise.
27920 (version.texi, stamp-version): Likewise.
27921 (.%c.texi): Likewise.
27922 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
27923 (mostlyclean): Remove target.
27924 (realclean): Remove target.
27925 (generated): Add new variable with contents from mostlyclean and
27926 realclean, remove entries duplicated in common-mostlyclean, add
27927 stamp-libm-err and stamp-version.
27928 (generated-dirs): Add libc directory.
27929 ($(inst_infodir)/libc.info): Install files from build dir.
27930
27931 * manual/install.texi (Configuring and compiling): Adjust since
27932 the info files are not part of the tar ball anymore.
27933
7ac77294
AJ
279342012-05-14 Andreas Jaeger <aj@suse.de>
27935
27936 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
27937 variable.
27938
ffb7875d
JM
279392012-05-14 Joseph Myers <joseph@codesourcery.com>
27940
27941 [BZ #13717]
27942 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27943 to 2.2.0 where earlier.
27944 * sysdeps/unix/sysv/linux/configure: Regenerated.
27945 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
27946 Remove conditional code.
27947 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
27948 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
27949 Remove conditional code.
27950 [!__NR_lchown]: Likewise.
27951 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27952 [__NR_lchown]: Likewise.
27953 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
27954 comment referencing __ASSUME_LCHOWN_SYSCALL.
27955 * sysdeps/unix/sysv/linux/i386/sigaction.c
27956 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27957 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27958 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
27959 Remove conditional code.
27960 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
27961 (__protocol_available): Remove #if 0 code.
27962 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
27963 conditional code.
27964 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
27965 * sysdeps/unix/sysv/linux/kernel-features.h
27966 (__ASSUME_GETCWD_SYSCALL): Don't define.
27967 (__ASSUME_REALTIME_SIGNALS): Likewise.
27968 (__ASSUME_PREAD_SYSCALL): Likewise.
27969 (__ASSUME_PWRITE_SYSCALL): Likewise.
27970 (__ASSUME_POLL_SYSCALL): Likewise.
27971 (__ASSUME_LCHOWN_SYSCALL): Likewise.
27972 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
27973 non-SPARC.
27974 (__ASSUME_SIOCGIFNAME): Don't define.
27975 (__ASSUME_MSG_NOSIGNAL): Likewise.
27976 (__ASSUME_SENDFILE): Define unconditionally.
27977 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
27978 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
27979 conditional code.
27980 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
27981 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
27982 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
27983 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27984 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
27985 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
27986 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
27988 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27989 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
27991 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27992 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
27994 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27995 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
27997 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27998 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28000 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28001 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28003 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28004 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28006 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28007 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28009 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28010 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28011 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28012 Remove conditional code.
28013 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28014 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28015 Remove conditional code.
28016 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28017 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28018 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28019 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28020 Remove conditional code.
28021 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28022 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28023 Remove conditional code.
28024 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28025 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28026 Remove conditional code.
28027 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28028 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28029 Remove conditional code.
28030 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28031 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28032 Remove conditional code.
28033 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28034 * sysdeps/unix/sysv/linux/sh/pwrite64.c
28035 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28036 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28037 * sysdeps/unix/sysv/linux/sigaction.c
28038 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28039 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28040 * sysdeps/unix/sysv/linux/sigpending.c
28041 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28042 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28043 * sysdeps/unix/sysv/linux/sigprocmask.c
28044 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28045 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28046 * sysdeps/unix/sysv/linux/sigsuspend.c
28047 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28048 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28049 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28050 (__libc_missing_rt_sigs): Remove.
28051 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28052 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28053 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28054 Remove conditional code.
28055 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28056 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28057 return 1.
28058 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28059 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28060 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28061 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28062
1bfb7291
AJ
280632012-05-14 Andreas Jaeger <aj@suse.de>
28064
caae5a81
AJ
28065 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28066 it's not used in glibc.
28067 (__coshm1): Likewise.
28068 (__acosh1p): Likewise.
28069 (__sgn): Likewise.
28070
1bfb7291
AJ
28071 * manual/string.texi (Copying and Concatenation): Add missing
28072 variable in concat example.
28073 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28074
c044d724
L
280752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28076
144c5467 28077 [BZ #14103]
c044d724
L
28078 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28079 __builtin_clzl with __builtin_clzll.
28080
2523c62b
L
280812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28082
28083 [BZ #14104]
28084 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28085 libc_freeres_ptr.
28086
d7bb4c42
LD
280872012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28088
28089 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28090 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28091 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28092 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28093
9dc4e1fb
MF
280942012-05-14 Mike Frysinger <vapier@gentoo.org>
28095
28096 * NEWS: Update ia64 info.
28097
c7df0112
AS
280982012-05-12 Andreas Schwab <schwab@linux-m68k.org>
28099
28100 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28101 used as bcopy.
28102
dc70356c
TS
281032012-05-12 Thomas Schwinge <thomas@codesourcery.com>
28104
28105 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28106 * sysdeps/unix/syscalls.list (dup3): Likewise.
28107 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28108 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28109
9fb1a21f
L
281102012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28111
28112 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28113 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28114
4822a2a5
L
281152012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28116
28117 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28118 thread pointer.
28119 (TLS_IE): Use mov/add instead of movq/addq to load thread
28120 pointer.
28121 (TLS_GD_PREFIX): New.
28122 (TLS_GD): Use it.
28123
842b81d6
DM
281242012-05-11 David S. Miller <davem@davemloft.net>
28125
28126 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28127 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28128 (_FPU_SETCW): Likewise.
28129
1cf463cd
L
281302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28131
28132 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28133 is 32-byte aligned.
28134
60cc4a18
AS
281352012-05-11 Andreas Schwab <schwab@linux-m68k.org>
28136
28137 [BZ #11837]
28138 * iconvdata/gb18030.c: Update tables.
28139 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
28140 characters specially.
28141 (BODY for TO_LOOP): Add encoding of missing ranges.
28142
febb44a4
TS
281432012-05-11 Thomas Schwinge <thomas@codesourcery.com>
28144
28145 [BZ #13673]
28146 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28147 * sysdeps/mach/hurd/dup3.c: Likewise.
28148 * sysdeps/mach/hurd/readlinkat.c: Likewise.
28149 * sysdeps/powerpc/memmove.c:: Likewise.
28150
0a10fb9e
L
281512012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28152
28153 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28154 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28155
df8a552f
L
281562012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28157
28158 * elf/elf.h (R_X86_64_RELATIVE64): New.
28159 (R_X86_64_NUM): Updated.
28160 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28161 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
28162 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28163 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28164 tst-quad1pie tst-quad2pie
28165 (modules-names): Add tst-quadmod1 tst-quadmod2.
28166 ($(objpfx)tst-quad1): New dependency.
28167 ($(objpfx)tst-quad2): Likewise.
28168 ($(objpfx)tst-quad1pie): Likewise.
28169 ($(objpfx)tst-quad2pie): Likewise.
28170 * sysdeps/x86_64/tst-quad1.c: New file.
28171 * sysdeps/x86_64/tst-quad1pie.c: New file.
28172 * sysdeps/x86_64/tst-quad2.c: Likewise.
28173 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28174 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28175 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28176 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28177 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28178
f34d6f84
ST
281792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28180
f42d41d1
ST
28181 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28182 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28183 * streams/stropts.h (t_scalar_t): Define type.
28184
3c3571fc
ST
28185 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28186 (_PATH_PRESERVE): Set to "/var/lib".
28187 (_PATH_RWHODIR): Set to "/var/spool/rwho".
28188
61f06bd3
ST
28189 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28190 instead of int.
28191
918d4d71
ST
28192 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28193 if __dir_mkfile succeeded.
28194
f34d6f84
ST
28195 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28196 checking for _hurd_dtablesize. Unlock it right after having
28197 finished _hurd_dtable allocation.
28198
10589b4a
TS
281992012-05-10 Thomas Schwinge <thomas@schwinge.name>
28200
674cdbc7
TS
28201 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28202 * sysdeps/mach/hurd/configure: Regenerated.
28203 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28204 special-casing to...
28205 * sysdeps/gnu/configure.in: ... this new file.
28206 * sysdeps/unix/sysv/linux/configure: Regenerated.
28207 * sysdeps/gnu/configure: New generated file.
28208
8e41b99f
TS
28209 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28210 for Linux: use nsec instead of usec, as well as:
28211 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28212 members of type struct timespec.
28213 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28214 New macros.
28215 (struct stat64): Likewise.
28216 (_STATBUF_ST_NSEC): New macro.
28217 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28218
10589b4a
TS
28219 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28220 __strtoul_internal rather than strtoul.
28221
63643c85
PT
282222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28223
28224 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28225 and reject them.
28226
3faebe6a
ST
282272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28228
28229 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28230 which preserves existing values.
28231 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28232
c6474b07
PT
282332012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28234
28235 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28236 TIMEOUT values. Return EINVAL for NFDS values either negative or
28237 greater than FD_SETSIZE.
28238
1043890b
ST
282392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28240
28241 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28242 allocated, call __vm_protect to finish enabling the existing space, and
28243 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28244 allocate the remainder.
28245
37ed8b9b
PT
282462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28247
28248 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28249 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
28250
db653660
ST
282512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28252
37ed8b9b
PT
28253 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28254 sysdeps/mach/hurd/readlink.c.
b29d4053 28255
db653660
ST
28256 * posix/tst-sysconf.c (posix_options): Only use
28257 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28258 _POSIX_SYNCHRONIZED_IO when they are defined
28259 * sysdeps/mach/hurd/bits/posix_opt.h:
28260 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28261 (_XOPEN_REALTIME): Undefine macro.
28262 (_XOPEN_REALTIME_THREADS): Undefine macro.
28263 (_XOPEN_SHM): Undefine macro.
28264 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28265 macro to -1.
28266 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28267 macro to -1.
28268 (_POSIX_ASYNC_IO): Undefine macro.
28269 (_POSIX_PRIORITIZED_IO): Undefine macro.
28270 (_POSIX_SPIN_LOCKS): Define macro to -1.
28271
ee16e894
ST
28272 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28273 SA_NODEFER, SA_RESETHAND.
28274 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28275 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28276 F_DUPFD_CLOEXEC.
28277
6103ae3b
TS
282782012-05-10 Thomas Schwinge <thomas@schwinge.name>
28279
28280 * elf/Makefile (pldd-modules): Define unconditionally.
28281
80b4e5f3
TS
282822012-05-10 Thomas Schwinge <thomas@schwinge.name>
28283
28284 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28285
edadcbd6
ST
282862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28287
28288 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28289 Return ENOENT when name is empty.
28290 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28291
80694780
TS
282922012-05-10 Thomas Schwinge <thomas@schwinge.name>
28293
1792c087
TS
28294 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28295
80694780
TS
28296 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28297
6b645f0d
ST
282982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28299
80694780
TS
28300 Fix mlock in all cases except non-readable pages.
28301 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28302 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 28303
6b645f0d
ST
28304 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28305 (__mkdir): When path is `/', just fail with EEXIST.
28306 * sysdeps/mach/hurd/mkdirat.c: Likewise.
28307
e468f8a3
TS
283082012-05-10 Thomas Schwinge <thomas@schwinge.name>
28309
28310 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28311 <sys/uio.h> (for writev).
28312 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28313 and <sys/param.h> (for MIN).
28314
a4186cff
PT
283152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28316
28317 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
28318 REQUESTED_TIME. Properly set the remaining time and return EINTR
28319 if interrupted.
28320
510bbf14
TS
283212012-05-10 Thomas Schwinge <thomas@schwinge.name>
28322
28323 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
28324 Depend on against $(link-rpcuserlibs).
28325
5d5722e8
ST
283262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28327
a4186cff
PT
28328 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
28329 (__libc_stack_end): Do not use attribute_relro.
28330 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
28331 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 28332 to libthread-provided value.
a4186cff
PT
28333 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
28334 attribute_relro.
5d5722e8 28335
37233df9
TS
283362012-05-10 Thomas Schwinge <thomas@schwinge.name>
28337
be971a2b
TS
28338 [BZ #3748]
28339 * bits/libc-lock.h (__libc_once_get): New macro.
28340 * sysdeps/mach/bits/libc-lock.h: Likewise.
28341 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
28342 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
28343 instead of using implementation details.
28344
37233df9
TS
28345 * libio/fileops.c: Unconditionally include <kernel-features.h>.
28346 * libio/freopen.c: Likewise.
28347 * libio/freopen64.c: Likewise.
28348 * misc/syslog.c: Likewise.
28349 * nscd/connections.c: Likewise.
28350 * nscd/netgroupcache.c: Likewise.
28351 * sysdeps/posix/getcwd.c: Likewise.
28352
38de94a5
RM
283532012-05-10 Roland McGrath <roland@hack.frob.com>
28354
28355 * math/w_ilogbf.c: Add #include <limits.h>.
28356
67530489
ST
283572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28358
a4186cff 28359 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
28360 path instead of returning without unlocking.
28361
67530489
ST
28362 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
28363 immediate-write ioctls.
28364 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
28365
5aa3a74a
TS
283662012-05-10 Thomas Schwinge <thomas@schwinge.name>
28367
18bad2ae
TS
28368 * sysdeps/mach/hurd/i386/init-first.c (init): Use
28369 __builtin_frame_address instead of making assumptions about the
28370 location of the return address relative to DATA. Force early load of
28371 the return address.
28372 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
28373 __builtin_frame_address.
28374
5aa3a74a
TS
28375 dup3 for GNU Hurd.
28376 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
28377 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
28378 implement dup3 and do some further code clean-ups.
28379 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
28380 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
28381
ecd0de9a
ST
283822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28383
cd9fa985
ST
28384 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
28385
a4186cff
PT
28386 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
28387 HURD_CRITICAL_END around holding _hurd_dtable_lock.
28388 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
28389 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
28390 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
28391 d->port.lock.
802ca5a5 28392
a4186cff
PT
28393 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
28394 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
28395 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 28396
bcf55240
TS
283972012-05-10 Thomas Schwinge <thomas@schwinge.name>
28398
6960eb42
TS
28399 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
28400 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
28401 definitions.
28402
eb43375f
TS
28403 accept4 for GNU Hurd.
28404 * include/sys/socket.h (__libc_accept4): New prototype.
28405 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
28406 to implement __libc_accept4.
28407 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
28408 __libc_accept4.
28409 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
28410
bcf55240
TS
28411 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
28412 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
28413 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
28414 signal-defines.sym.
28415
6178c55b
ST
284162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28417
a4186cff 28418 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 28419
6f080c2f
TS
284202012-05-10 Thomas Schwinge <thomas@schwinge.name>
28421
28422 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
28423 assertion on O_CLOEXEC flag.
28424 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
28425 * hurd/intern-fd.c: Likewise.
28426 * hurd/port2fd.c: Likewise.
28427
bcfe3a54
ST
284282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28429
28430 [BZ #3906]
28431 * bits/in.h (IPV6_PKTINFO): Define new macro.
28432 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
28433
89c9aa49
AZ
284342012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28435
28436 [BZ #13954]
28437 [BZ #13955]
28438 [BZ #13956]
28439 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
28440 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28441 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
28442 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28443 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28444 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28445 * math/libm-test.inc (logb_test) : Additional logb tests.
28446
021db4be
AJ
284472012-05-09 Andreas Schwab <schwab@linux-m68k.org>
28448 Andreas Jaeger <aj@suse.de>
28449
28450 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
28451 * configure: Regenerated.
28452 * config.h.in (LINK_OBSOLETE_RPC): New macro.
28453 * config.make.in (link-obsolete-rpc): New substituted variable.
28454 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
28455 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
28456 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28457 (shared-only-routines): Don't set it under [link-obsolete-rpc],
28458 so that libc.a contains the symbols.
28459 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28460 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
28461 * sunrpc/auth_none.c: Likewise.
28462 * sunrpc/auth_unix.c: Likewise.
28463 * sunrpc/authdes_prot.c: Likewise.
28464 * sunrpc/authuxprot.c: Likewise.
28465 * sunrpc/clnt_gen.c: Likewise.
28466 * sunrpc/clnt_perr.c: Likewise.
28467 * sunrpc/clnt_raw.c: Likewise.
28468 * sunrpc/clnt_simp.c: Likewise.
28469 * sunrpc/clnt_tcp.c: Likewise.
28470 * sunrpc/clnt_udp.c: Likewise.
28471 * sunrpc/clnt_unix.c: Likewise.
28472 * sunrpc/des_crypt.c: Likewise.
28473 * sunrpc/des_soft.c: Likewise.
28474 * sunrpc/get_myaddr.c: Likewise.
28475 * sunrpc/key_call.c: Likewise.
28476 * sunrpc/key_prot.c: Likewise.
28477 * sunrpc/netname.c: Likewise.
28478 * sunrpc/pm_getmaps.c: Likewise.
28479 * sunrpc/pm_getport.c: Likewise.
28480 * sunrpc/pmap_clnt.c: Likewise.
28481 * sunrpc/pmap_prot.c: Likewise.
28482 * sunrpc/pmap_prot2.c: Likewise.
28483 * sunrpc/pmap_rmt.c: Likewise.
28484 * sunrpc/publickey.c: Likewise.
28485 * sunrpc/rpc_cmsg.c: Likewise.
28486 * sunrpc/rpc_common.c: Likewise.
28487 * sunrpc/rpc_dtable.c: Likewise.
28488 * sunrpc/rpc_prot.c: Likewise.
28489 * sunrpc/rpc_thread.c: Likewise.
28490 * sunrpc/rtime.c: Likewise.
28491 * sunrpc/svc.c: Likewise.
28492 * sunrpc/svc_auth.c: Likewise.
28493 * sunrpc/svc_raw.c: Likewise.
28494 * sunrpc/svc_run.c: Likewise.
28495 * sunrpc/svc_tcp.c: Likewise.
28496 * sunrpc/svc_udp.c: Likewise.
28497 * sunrpc/svc_unix.c: Likewise.
28498 * sunrpc/svcauth_des.c: Likewise.
28499 * sunrpc/xcrypt.c: Likewise.
28500 * sunrpc/xdr.c: Likewise.
28501 * sunrpc/xdr_array.c: Likewise.
28502 * sunrpc/xdr_float.c: Likewise.
28503 * sunrpc/xdr_intXX_t.c: Likewise.
28504 * sunrpc/xdr_mem.c: Likewise.
28505 * sunrpc/xdr_rec.c: Likewise.
28506 * sunrpc/xdr_ref.c: Likewise.
28507 * sunrpc/xdr_sizeof.c: Likewise.
28508 * sunrpc/xdr_stdio.c: Likewise.
28509
b5c086a2
RM
285102012-05-10 Roland McGrath <roland@hack.frob.com>
28511
28512 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
28513 change. Update copyright years.
28514
6d74dd09
JM
285152012-05-10 Joseph Myers <joseph@codesourcery.com>
28516
28517 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
28518
28e72501
MK
285192012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
28520 Joseph Myers <joseph@codesourcery.com>
28521 Paul Pluzhnikov <ppluzhnikov@google.com>
28522
28523 [BZ #14012]
28524 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
28525 requiring rpcgen.
28526 [cross-compiling] (extra-libs): Likewise.
28527 [cross-compiling] (extra-libs-others): Likewise.
28528 [cross-compiling] (librpcsvc-routines): Likewise.
28529 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
28530 [cross-compiling] (omit-deps): Likewise.
28531 (sunrpc-CPPFLAGS): New variable.
28532 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
28533 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
28534 (cross-rpcgen-objs): New variable.
28535 (extra-objs): Append $(cross-rpcgen-objs).
28536 ($(cross-rpcgen-objs)): New rule.
28537 ($(objpfx)cross-rpcgen): Likewise.
28538 (rpcgen-cmd): Define to use $(built-program-file). Expand
28539 comment.
28540 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
28541 ($(objpfx)x%.stmp): Likewise.
28542 * sunrpc/proto.h [IS_IN_build] (_): Define.
28543 [IS_IN_build] (_libc_intl_domainname): Likewise.
28544
c8c59454
L
285452012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28546
28547 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
28548 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
28549 and R_X86_64_TPOFF64.
28550
6f27cd16
JM
285512012-05-10 Joseph Myers <joseph@codesourcery.com>
28552
28553 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
28554 sysdeps/unix/sysv/syscalls.list.
28555 (stime): Likewise.
28556 (utime): Likewise.
28557 * sysdeps/unix/sysv/syscalls.list: Remove file.
28558
02467e1c
PE
285592012-05-10 Paul Eggert <eggert@cs.ucla.edu>
28560
28561 [BZ #3440]
28562 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
28563 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
28564 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
28565 (__LC_IDENTIFICATION): Make these macros useful in #if
28566 expressions, as required by C99.
28567
da392631
AS
285682012-05-10 Andreas Schwab <schwab@linux-m68k.org>
28569
28570 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
28571 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
28572 after this.
28573
8115f29b
L
285742012-05-09 H.J. Lu <hongjiu.lu@intel.com>
28575
28576 * stdlib/longlong.h: Updated from GCC.
28577
bdd74070
AJ
285782012-05-09 Andreas Jaeger <aj@suse.de>
28579
edfe0dbe
AJ
28580 * nscd/nscd.c (run_modes): Make named enum, reorder so that
28581 default is first entry.
28582 (run_mode): Set type.
28583 (main): Remove informal message about syslog.
28584 (options): Fix typo.
28585
bcfe3a54
ST
28586 [BZ #14053]
28587 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 28588 to asm.
bcfe3a54
ST
28589 (lrint): Likewise.
28590 (llrintf): Likewise.
28591 (llrint): Likewise.
28592 (rint): Likewise.
28593 (rintf): Likewise.
28594 (nearbyint): Likewise.
28595 (nearbyintf): Likewise.
bdd74070 28596
91d8d69e
AJ
285972012-05-09 Andreas Jaeger <aj@suse.de>
28598 Pedro Alves <palves@redhat.com>
28599
28600 * nscd/nscd.c (run_mode): Use enum.
28601 (main): Cleanup coding style issue.
28602
bb90b80b
AJ
286032012-05-09 Alexandre Oliva <aoliva@redhat.com>
28604 Andreas Jaeger <aj@suse.de>
28605
bcfe3a54
ST
28606 * nscd/nscd.c (go_background): Replaced with...
28607 (run_mode): ... this.
bb90b80b 28608 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
28609 (options): Add -F --foreground.
28610 (main): Implement it.
28611 (parse_opt): Parse it.
bb90b80b 28612
1a4b75a1
AJ
286132012-05-09 Andreas Jaeger <aj@suse.de>
28614
28615 [BZ #14083]
28616 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
28617 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
28618 -Wconversion warning.
28619 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
28620 Likewise.
28621
b1cc2472
JM
286222012-05-09 Joseph Myers <joseph@codesourcery.com>
28623
28624 * conform/data/locale.h-data (NULL): Use macro-constant. Require
28625 == 0.
28626 (LC_ALL): Use macro-int-constant.
28627 (LC_COLLATE): Likewise.
28628 (LC_CTYPE): Likewise.
28629 (LC_MESSAGES): Likewise.
28630 (LC_MONETARY): Likewise.
28631 (LC_NUMERIC): Likewise.
28632 (LC_TIME): Likewise.
28633 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
28634 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28635 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28636 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
28637 Specify type.
28638 [C99-based standards] (float_t): Expect type.
28639 [C99-based standards] (double_t): Expect type.
28640 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
28641 type.
28642 [C99-based standards] (HUGE_VALL): Likewise.
28643 [C99-based standards] (INFINITY): Likewise.
28644 [C99-based standards] (NAN): Likewise.
28645 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
28646 [C99-based standards] (FP_NAN): Likewise.
28647 [C99-based standards] (FP_NORMAL): Likewise.
28648 [C99-based standards] (FP_SUBNORMAL): Likewise.
28649 [C99-based standards] (FP_ZERO): Likewise.
28650 [C99-based standards] (FP_FAST_FMA): Use
28651 optional-macro-int-constant. Specify type. Require == 1.
28652 [C99-based standards] (FP_FAST_FMAF): Likewise.
28653 [C99-based standards] (FP_FAST_FMAL): Likewise.
28654 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
28655 [C99-based standards] (FP_ILOGBNAN): Likewise.
28656 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
28657 Specify type.
28658 [C99-based standards] (MATH_ERREXCEPT): Likewise.
28659 [C99-based standards] (math_errhandling): Specify type.
28660 [ISO99 || ISO11] (signgam): Do not allow.
28661 [non-C99-based standards] (copysignf): Do not allow.
28662 [non-C99-based standards] (exp2f): Likewise.
28663 [non-C99-based standards] (log2f): Likewise.
28664 [non-C99-based standards] (modff): Allow.
28665 [non-C99-based standards] (erff): Do not allow.
28666 [non-C99-based standards] (erfcf): Likewise.
28667 [non-C99-based standards] (gammaf): Likewise.
28668 [non-C99-based standards] (hypotf): Likewise.
28669 [non-C99-based standards] (j0f): Likewise.
28670 [non-C99-based standards] (j1f): Likewise.
28671 [non-C99-based standards] (jnf): Likewise.
28672 [non-C99-based standards] (lgammaf): Likewise.
28673 [non-C99-based standards] (tgammaf): Likewise.
28674 [non-C99-based standards] (y0f): Likewise.
28675 [non-C99-based standards] (y1f): Likewise.
28676 [non-C99-based standards] (ynf): Likewise.
28677 [non-C99-based standards] (isnanf): Likewise.
28678 [non-C99-based standards] (acoshf): Likewise.
28679 [non-C99-based standards] (asinhf): Likewise.
28680 [non-C99-based standards] (atanhf): Likewise.
28681 [non-C99-based standards] (cbrtf): Likewise.
28682 [non-C99-based standards] (expm1f): Likewise.
28683 [non-C99-based standards] (ilogbf): Likewise.
28684 [non-C99-based standards] (log1pf): Likewise.
28685 [non-C99-based standards] (logbf): Likewise.
28686 [non-C99-based standards] (nextafterf): Likewise.
28687 [non-C99-based standards] (remainderf): Likewise.
28688 [non-C99-based standards] (rintf): Likewise.
28689 [non-C99-based standards] (scalbf): Likewise.
28690 [non-C99-based standards] (copysignl): Likewise.
28691 [non-C99-based standards] (exp2l): Likewise.
28692 [non-C99-based standards] (log2l): Likewise.
28693 [non-C99-based standards] (modfl): Allow.
28694 [non-C99-based standards] (erfl): Do not allow.
28695 [non-C99-based standards] (erfcl): Likewise.
28696 [non-C99-based standards] (gammal): Likewise.
28697 [non-C99-based standards] (hypotl): Likewise.
28698 [non-C99-based standards] (j0l): Likewise.
28699 [non-C99-based standards] (j1l): Likewise.
28700 [non-C99-based standards] (jnl): Likewise.
28701 [non-C99-based standards] (lgammal): Likewise.
28702 [non-C99-based standards] (tgammal): Likewise.
28703 [non-C99-based standards] (y0l): Likewise.
28704 [non-C99-based standards] (y1l): Likewise.
28705 [non-C99-based standards] (ynl): Likewise.
28706 [non-C99-based standards] (isnanl): Likewise.
28707 [non-C99-based standards] (acoshl): Likewise.
28708 [non-C99-based standards] (asinhl): Likewise.
28709 [non-C99-based standards] (atanhl): Likewise.
28710 [non-C99-based standards] (cbrtl): Likewise.
28711 [non-C99-based standards] (expm1l): Likewise.
28712 [non-C99-based standards] (ilogbl): Likewise.
28713 [non-C99-based standards] (log1pl): Likewise.
28714 [non-C99-based standards] (logbl): Likewise.
28715 [non-C99-based standards] (nextafterl): Likewise.
28716 [non-C99-based standards] (remainderl): Likewise.
28717 [non-C99-based standards] (rintl): Likewise.
28718 [non-C99-based standards] (scalbl): Likewise.
28719 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28720 [non-C99-based standards] (FP_*): Do not allow.
28721 [C99-based standards] (FP_*): Change to
28722 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28723 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28724 allow.
28725 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
28726 (SIG_ERR): Likewise.
28727 [X/Open-based standards] (SIG_HOLD): Likewise.
28728 (SIG_IGN): Likewise.
28729 (SIGABRT): Use macro-int-constant. Specify type. Require
28730 positive value.
28731 (SIGFPE): Likewise.
28732 (SIGILL): Likewise.
28733 (SIGINT): Likewise.
28734 (SIGSEGV): Likewise.
28735 (SIGTER): Likewise.
28736 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
28737 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
28738 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
28739 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
28740 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
28741 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
28742 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
28743 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
28744 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
28745 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
28746 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
28747 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
28748 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
28749 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
28750 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
28751 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
28752 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
28753 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
28754 [X/Open-based standards] (SIGTRAP): Likewise.
28755 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
28756 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
28757 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
28758 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
28759 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28760 allow.
28761
b9f1922d
IW
287622012-05-08 Ian Wienand <ianw@vmware.com>
28763
28764 [BZ #14080]
28765 * time/tzset.c (__tzset_parse_tz): Update default rules for
28766 daylight time changes in the Energy Policy Act of 2005.
28767
1db86e88
AJ
287682012-05-09 Andreas Jaeger <aj@suse.de>
28769
28770 [BZ #13983]
28771 * elf/ldconfig.c (parse_conf): Change string to make clear that
28772 ldconfig only issued a warning if ld.so.conf does not exist.
28773
dee4a4e3
DM
287742012-05-08 David S. Miller <davem@davemloft.net>
28775
ee0db190
DM
28776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
28777 movxtod instead of popping the value on the stack.
28778
dee4a4e3
DM
28779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28780
6a43ec98
CD
287812012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
28782
28783 * config.h.in: Add HAVE_ARM_PCS_VFP.
28784
05c2c961
RMG
287852012-05-08 Roland Mc Grath <roland@hack.frob.com>
28786
bcfe3a54
ST
28787 [BZ #13979]
28788 * include/features.h: Warn if user requests __FORTIFY_SOURCE
28789 checking but the checks are disabled for any reason.
05c2c961 28790
4b30f61a
L
287912012-05-08 H.J. Lu <hongjiu.lu@intel.com>
28792
28793 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
28794 and ELF64_R_TYPE with ELFW(R_TYPE).
28795
eee2bc67
JM
287962012-05-08 Joseph Myers <joseph@codesourcery.com>
28797
7ea5391a
JM
28798 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
28799 (ulimit): Likewise.
28800
eee2bc67
JM
28801 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
28802 (settimeofday): Likewise.
28803
abb66a67
MF
288042012-05-08 Mike Frysinger <vapier@gentoo.org>
28805
28806 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
28807 a struct th_u2 inside the union, and move tu_block/tu_code into
28808 a new th_u3 union of tu_block/tu_code inside of that. Move
28809 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
28810 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
28811 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
28812 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
28813 (th_stuff): Change to th_u1.tu_stuff.
28814 (th_data): Define.
28815 (th_msg): Change to th_u1.th_u2.tu_data.
28816
7f18b530
DM
288172012-05-07 David S. Miller <davem@davemloft.net>
28818
05760585
DM
28819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28820
7f18b530
DM
28821 [BZ #14074]
28822 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
28823 (SETUP_PIC_REG): Use it.
28824 (SETUP_PIC_REG_LEAF): Use it.
28825
495fd99f
JM
288262012-05-07 Joseph Myers <joseph@codesourcery.com>
28827
28828 [BZ #13885]
28829 [BZ #13923]
28830 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28831 USE_AS_EXPM1L.
28832 (EXPL_FINITE): Likewise.
28833 (FLDLOG): Likewise.
28834 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28835 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28836 e_expl.S.
28837 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28838 USE_AS_EXPM1L.
28839 (EXPL_FINITE): Likewise.
28840 (FLDLOG): Likewise.
28841 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28842 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28843 e_expl.S.
28844 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
28845 test of -max_value argument for long double.
28846 * sysdeps/i386/fpu/libm-test-ulps: Update.
28847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28848
6693d694
DM
288492012-05-06 David S. Miller <davem@davemloft.net>
28850
28851 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
28852 quad soft-float symbols whose references which are compiler
28853 generated.
28854 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28855
6c23e11c
JM
288562012-05-06 Joseph Myers <joseph@codesourcery.com>
28857
d8b82cad
JM
28858 [BZ #13884]
28859 [BZ #13914]
28860 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28861 USE_AS_EXP10L.
28862 (EXPL_FINITE): Likewise.
28863 (FLDLOG): Likewise.
28864 (c0): Likewise.
28865 (c1): Likewise.
28866 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
28867 Adjust comments for base varying.
28868 (__expl_finite): Change alias to EXPL_FINITE.
28869 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
28870 e_expl.S.
28871 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
28872 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
28873 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28874 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
28875 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28876 USE_AS_EXP10L.
28877 (EXPL_FINITE): Likewise.
28878 (FLDLOG): Likewise.
28879 (c0): Likewise.
28880 (c1): Likewise.
28881 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
28882 Adjust comments for base varying.
28883 (__expl_finite): Change alias to EXPL_FINITE.
28884 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
28885 tests for bugs.
28886 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28887
6c23e11c
JM
28888 [BZ #14064]
28889 * math/libm-test.inc (check_float_internal): Correct ulp
28890 calculation for subnormal expected results.
28891
29ba805c
AJ
288922012-05-06 Andreas Jaeger <aj@suse.de>
28893
28894 * Makeconfig (+math-flags): New, set to -frounding-math.
28895 (+cflags): Add +math-flags so that all of glibc gets compiled with
28896 it.
28897
28898 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
28899
7b17aeda
JM
289002012-05-05 Joseph Myers <joseph@codesourcery.com>
28901
5779f134
JM
28902 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
28903 Disable one test.
28904
41498f4d
JM
28905 [BZ #13787]
28906 [BZ #13922]
28907 [BZ #14036]
28908 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
28909 (__ieee754_expl): Allow for and saturate large arguments.
28910 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
28911 (u_threshold): Likewise.
28912 (__exp): Call __ieee754_exp before checking for overflow and
28913 underflow.
28914 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
28915 (u_threshold): Likewise.
28916 (__expf): Call __ieee754_expf before checking for overflow and
28917 underflow.
28918 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
28919 (u_threshold): Likewise.
28920 (__expl): Call __ieee754_expl before checking for overflow and
28921 underflow.
28922 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
28923 (__ieee754_expl): Allow for and saturate large arguments.
28924 * math/libm-test.inc (exp_test): Add another test. Do not allow
28925 missing overflow exception on overflow.
28926 (expm1_test): Do not allow missing overflow exception on overflow.
28927
6698b8bf
JM
28928 * sysdeps/i386/fpu/e_expl.c: Move to ...
28929 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
28930 rather than using inline asm.
28931 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
28932 * sysdeps/x86_64/fpu/e_expl.S: Copy from
28933 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
28934
7b17aeda
JM
28935 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
28936 (nice): Likewise.
28937 (poll): Likewise.
28938 (signal): Likewise.
28939 (time): Likewise.
28940 (times): Likewise.
28941
f7c85819
JM
289422012-05-04 Joseph Myers <joseph@codesourcery.com>
28943
28944 * sysdeps/unix/syscalls.list (adjtime): Add entry from
28945 sysdeps/unix/common/syscalls.list.
28946 (fchmod): Likewise.
28947 (fchown): Likewise.
28948 (ftruncate): Likewise.
28949 (getrusage): Likewise.
28950 (gettimeofday): Likewise.
28951 (setpgid): Likewise.
28952 (setregid): Likewise.
28953 (setreuid): Likewise.
28954 (sigaction): Likewise.
28955 (truncate): Likewise.
28956 (vhangup): Likewise.
28957 * sysdeps/unix/common/syscalls.list: Remove file.
28958 * sysdeps/unix/bsd/Implies: Don't include unix/common.
28959 * sysdeps/unix/sysv/linux/Implies: Likewise.
28960
336270d0
L
289612012-05-04 H.J. Lu <hongjiu.lu@intel.com>
28962
28963 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
28964 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
28965 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
28966 Moved to ...
28967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
28968 Here.
28969 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
28970 to ...
28971 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
28972 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
28973 to ...
28974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
28975 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
28976 to ...
28977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
28978 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
28979 to ...
28980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
28981 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
28982 to ...
28983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
28984 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
28985 to ...
28986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
28987 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
28988 to ...
28989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28990 Here.
28991 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
28992 to ...
28993 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
28994 Here.
28995 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
28996 to ...
28997 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
28998 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
28999 Moved to ...
29000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29001 Here.
29002 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29003 to ...
29004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29005
d128e450
JM
290062012-05-04 Joseph Myers <joseph@codesourcery.com>
29007
fa8ee516
JM
29008 * sysdeps/unix/common/bits/dirent.h: Remove file.
29009 * sysdeps/unix/common/bits/fcntl.h: Likewise.
29010
d128e450
JM
29011 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29012 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29013 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29014 * sysdeps/unix/bsd/isatty.c: Likewise.
29015 * sysdeps/unix/bsd/tcdrain.c: Likewise.
29016 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29017 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29018
ff8faaf0 290192012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 29020
62881be4 29021 [BZ #13563]
31dc8730
AZ
29022 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29023 long double comparison inaccuracies.
29024 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29026
6fef930c
AS
290272012-05-04 Andreas Schwab <schwab@linux-m68k.org>
29028
29029 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29030 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29031
8f203e6c
JM
290322012-05-04 Joseph Myers <joseph@codesourcery.com>
29033
29034 [BZ #14049]
29035 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29036 nonzero digits before rounding a hex value.
29037 * stdlib/tst-strtod.c (tests): Add another test.
29038
5197d9c2
AK
290392012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29040
29041 * sysdeps/s390/fpu/libm-test-ulps: Update.
29042
f0c1dedf
AJ
290432012-05-03 Andreas Jaeger <aj@suse.de>
29044
29045 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29046 does not get optimized out.
29047 (malloc_opt_barrier): New.
29048
a65ef2ae 290492012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 29050 Roland McGrath <roland@hack.frob.com>
a65ef2ae 29051
2b942cb7 29052 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 29053 intermediate file deletion.
2b942cb7 29054 (generated): Add .symlist files.
a65ef2ae 29055
54b71e02
JM
290562012-05-03 Joseph Myers <joseph@codesourcery.com>
29057
29058 [BZ #13775]
29059 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29060 Redirect under this condition.
29061 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29062 [__USE_GNU] (__dprintf_chk): Not under this condition.
29063 [__USE_GNU] (__vdprintf_chk): Likewise.
29064 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29065 under this condition.
29066 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29067 [__USE_XOPEN2K8] (dprintf): Define under this condition.
29068 [__USE_XOPEN2K8] (vdprintf): Likewise.
29069 [__USE_GNU] (__dprintf_chk): Not under this condition.
29070 [__USE_GNU] (__vdprintf_chk): Likewise.
29071 [__USE_GNU] (dprintf): Likewise.
29072 [__USE_GNU] (vdprintf): Likewise.
29073
d3dfcc41
RM
290742012-05-03 Roland McGrath <roland@hack.frob.com>
29075
29076 * elf/Makefile (common-generated): Set this instead of generated for
29077 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
29078 $(all-built-dso)-derived lists.
29079
7ac30cc5
AJ
290802012-05-03 Andreas Jaeger <aj@suse.de>
29081
0c51e550
AJ
29082 * sysdeps/i386/fpu/libm-test-ulps: Update.
29083
7ac30cc5
AJ
29084 * FAQ: Removed.
29085 * FAQ.in: Likewise.
29086 * scripts/gen-FAQ.pl: Likewise.
29087 * manual/install.texi (Installation): Point to online location of
29088 FAQ.
29089 * Makefile (files-for-dist): Remove FAQ.
29090 (FAQ): Remove.
29091
d4c2917f
AM
290922012-05-02 Allan McRae <allan@archlinux.org>
29093
29094 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29095 (LDFLAGS-reldepmod5.so): Likewise.
29096 (LDFLAGS-reldep6mod1.so): Likewise.
29097 (LDFLAGS-reldep6mod4.so): Likewise.
29098 (LDFLAGS-reldep8mod3.so): Likewise.
29099 (LDFLAGS-unload4mod1.so): Likewise.
29100 (LDFLAGS-unload4mod2.so): Likewise.
29101 (LDFLAGS-tst-initorder): Likewise.
29102 (LDFLAGS-tst-initordera2.so): Likewise.
29103 (LDFLAGS-tst-initordera3.so): Likewise.
29104 (LDFLAGS-tst-initordera4.so): Likewise.
29105 (LDFLAGS-tst-initorderb2.so): Likewise.
29106 (LDFLAGS-noload): Likewise.
29107 (LDFLAGS-next): Likewise.
29108 (LDFLAGS-order2mod1.so): Likewise.
29109 (LDFLAGS-order2mod2.so): Likewise.
29110 (LDFLAGS-tst-initorder2): Likewise.
29111 (LDFLAGS-tst-initorder2a.so): Likewise.
29112 (LDFLAGS-tst-initorder2b.so): Likewise.
29113 (LDFLAGS-tst-initorder2c.so): Likewise.
29114 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29115
d77f993f
DM
291162012-05-02 David S. Miller <davem@davemloft.net>
29117
29118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29119
171a70b4
PP
291202012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
29121
29122 [BZ #14055]
29123 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29124
0be196ad
AJ
291252012-05-02 Andreas Jaeger <aj@suse.de>
29126
29127 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29128 since we manipulate rounding mode.
29129 (CPPFLAGS-test-idouble.c): Likewise.
29130 (CPPFLAGS-test-ifloat.c): Likewise.
29131 (CFLAGS-test-ldouble.c): Likewise.
29132 (CFLAGS-test-double.c): Likewise.
29133 (CFLAGS-test-float.c): Likewise.
29134 (CFLAGS-test-misc.c): Likewise.
29135 (CFLAGS-test-test-fenv.c): Likewise.
29136
4f9d04aa
AZ
291372012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29138
2b942cb7
RM
29139 [BZ #2550]
29140 [BZ #2570]
29141 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29142 comparisons to determine direction to adjust input.
4f9d04aa 29143
82a79e7d
RM
291442012-05-01 Roland McGrath <roland@hack.frob.com>
29145
f5a01ca9
RM
29146 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29147 output to the target.
29148
90fe4186
RM
29149 * scripts/localplt.awk: New file.
29150 * elf/Makefile ($(objpfx)check-localplt): Target removed.
29151 (check-localplt-CFLAGS): Variable removed.
29152 ($(all-built-dso:=.jmprel)): New static pattern rule.
29153 (generated): Add those targets.
29154 (localplt-built-dso): New variable.
29155 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29156
29157 * elf/check-localplt.c: File removed.
29158
82397ed6
RM
29159 * scripts/check-execstack.awk: New file.
29160 * elf/Makefile ($(objpfx)check-execstack): Target removed.
29161 (check-execstack-CFLAGS): Variable removed.
29162 ($(objpfx)check-execstack.h): Target removed.
29163 ($(objpfx)execstack-default): New target.
29164 (generated): Add that instead of check-execstack.h.
29165 ($(all-built-dso:=.phdr)): New static pattern rule.
29166 (generated): Add those targets.
29167 * elf/check-execstack.c: File removed.
29168
82a79e7d
RM
29169 * scripts/check-textrel.awk: New file.
29170 * elf/Makefile ($(objpfx)check-textrel): Target removed.
29171 (check-textrel-CFLAGS): Variable removed.
29172 (all-built-dso): Use := to define.o
29173 ($(all-built-dso:=.dyn)): New static pattern rule.
29174 (generated): Add those targets.
29175 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29176 * config.make.in (READELF): New substituted variable.
29177 * elf/check-textrel.c: File removed.
29178
62fde54f 291792012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 29180
615605c9
JM
29181 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29182 allow.
29183 * conform/data/ctype.h-data [C99-based standards] (isblank):
29184 Expect function.
29185 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29186 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29187 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29188 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29189 Specify type. Require positive value.
29190 (EILSEQ): Likewise.
29191 (ERANGE): Likewise.
29192 [ISO || POSIX] (EILSEQ): Do not expect.
29193 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29194 Specify type. Require positive value.
29195 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29196 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29197 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29198 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29199 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29200 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29201 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29202 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29203 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29204 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29205 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29206 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29207 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29208 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29209 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29210 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29211 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29212 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29213 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29214 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29215 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29216 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29217 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29218 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29219 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29220 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29221 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29222 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29223 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29224 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29225 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29226 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29227 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29228 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29229 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29230 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29231 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29232 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29233 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29234 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29235 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29236 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29237 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29238 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29239 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29240 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29241 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29242 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29243 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29244 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29245 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29246 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29247 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29248 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29249 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29250 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29251 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29252 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29253 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29254 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29255 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29256 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29257 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29258 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29259 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29260 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29261 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29262 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29263 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29264 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29265 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29266 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29267 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29268 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29269 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29270 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29271 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29272 Require >= 2.
29273 (FLT_ROUNDS): Expect as macro, not constant.
29274 (FLT_MANT_DIG): Use macro-int-constant.
29275 (DBL_MANT_DIG): Likewise.
29276 (LDBL_MANT_DIG): Likewise.
29277 (FLT_DIG): Likewise.
29278 (DBL_DIG): Likewise.
29279 (LDBL_DIG): Likewise.
29280 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
29281 (DBL_MIN_EXP): Likewise.
29282 (LDBL_MIN_EXP): Likewise.
29283 (FLT_MAX_EXP): Use macro-int-constant.
29284 (DBL_MAX_EXP): Likewise.
29285 (LDBL_MAX_EXP): Likewise.
29286 (FLT_MAX_10_EXP): Likewise.
29287 (DBL_MAX_10_EXP): Likewise.
29288 (LDBL_MAX_10_EXP): Likewise.
29289 (FLT_MAX): Use macro-constant.
29290 (DBL_MAX): Likewise.
29291 (LDBL_MAX): Likewise.
29292 (FLT_EPSILON): Use macro-constant. Give upper bound.
29293 (DBL_EPSILON): Likewise.
29294 (LDBL_EPSILON): Likewise.
29295 (FLT_MIN): Likewise.
29296 (DBL_MIN): Likewise.
29297 (LDBL_MIN): Likewise.
29298 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29299 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29300 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29301 [ISO11] (FLT_HAS_SUBNORM): Likewise.
29302 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29303 [ISO11] (DBL_DECIMAL_DIG): Likewise.
29304 [ISO11] (FLT_DECIMAL_DIG): Likewise.
29305 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29306 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29307 [ISO11] (FLT_TRUE_MIN): Likewise.
29308 [ISO11] (LDBL_TRUE_MIN): Likewise.
29309 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29310 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29311 (SCHAR_MIN): Use macro-int-constant. Specify type.
29312 (SCHAR_MAX): Likewise.
29313 (UCHAR_MAX): Likewise.
29314 (CHAR_MIN): Likewise.
29315 (CHAR_MAX): Likewise.
29316 (MB_LEN_MAX): Use macro-int-constant.
29317 (SHRT_MIN): Use macro-int-constant. Specify type.
29318 (SHRT_MAX): Likewise.
29319 (USHRT_MAX): Likewise.
29320 (INT_MAX): Likewise.
29321 (INT_MIN): Use macro-int-constant. Specify type. Make upper
29322 bound negative.
29323 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
29324 bound with "U".
29325 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29326 bound with "L".
29327 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
29328 bound negative. Suffix upper bound with "L".
29329 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29330 bound with "UL".
29331 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
29332 Specify type.
29333 [C99-based standards] (LLONG_MAX): Likewise.
29334 [C99-based standards] (ULLONG_MAX): Likewise.
29335 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
29336 == 0.
29337 [ISO11] (max_align_t): Require type.
29338 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29339
c9140a62
JM
29340 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
29341 from $CFLAGS, without defining away __attribute__ calls.
29342 (checknamespace): Use $CFLAGS_namespace.
29343
9af0bf29
JM
29344 * conform/conformtest.pl (@keywords): Only include C99 keywords
29345 for standards based on C99 or C11.
29346
343222a2
JM
29347 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
29348 Disable tests.
29349 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
29350 UNIX98]: Likewise.
29351
661f8cf0
JM
29352 * conform/conformtest.pl: Handle "macro-int-constant" and test for
29353 usability of symbols in #if.
29354
ee74b9cb
JM
29355 * conform/conformtest.pl: If macro or constant types start
29356 "promoted:", expect the symbol to be of the following type
29357 promoted by the integer promotions.
62fde54f 29358
aafc49b3
JM
29359 * conform/conformtest.pl: Parse all "constant" and "macro" lines
29360 in one place. Also handle "macro-constant".
29361
fefdf574
JM
29362 * conform/conformtest.pl: Only accept expected macro values with
29363 "==". Parse all "macro" lines in one place.
29364 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
29365
f2d922fe
JM
29366 * conform/conformtest.pl: Handle braced types on "constant" lines
29367 instead of handling "typed-constant".
29368 * conform/data/signal.h-data: Use "constant" instead of
29369 "typed-constant".
29370
d22956c9
JM
29371 * conform/conformtest.pl: Handle "optional-" at start of lines in
29372 one place rather than duplicating several cases. Handle each
29373 format of "macro" line with initial "optional-".
29374
028e2e38
JM
29375 * conform/conformtest.pl: Only accept expected constant or
29376 optional-constant values with "==". Parse all "constant" lines in
29377 one place. Parse all "optional-constant" lines in one place.
29378 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
29379 * conform/data/fmtmsg.h-data: Likewise.
29380 * conform/data/netinet/in.h-data: Likewise.
29381 * conform/data/tar.h-data: Likewise.
29382 * conform/data/limits.h-data: Use "==" form on "constant" and
29383 "optional-constant" lines.
29384
1b8f2850
JM
29385 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
29386 Use -std=c99 for XOPEN2K.
29387 (@knownproblems): Remove.
29388 (newtoken): Don't check %isknown.
29389
a05a144b
JM
29390 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
29391 Do not expect macro.
29392 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
29393 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
29394 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
29395 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
29396 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
29397 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
29398 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
29399 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
29400 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
29401 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
29402 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
29403 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
29404 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
29405 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
29406 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
29407 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
29408 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
29409 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
29410 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
29411 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
29412 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
29413 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
29414 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
29415 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
29416 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
29417 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
29418 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
29419 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
29420 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
29421 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
29422 [XPG3] (acosh): Likewise.
29423 [XPG3] (asinh): Likewise.
29424 [XPG3] (atanh): Likewise.
29425 [XPG3] (cbrt): Likewise.
29426 [XPG3] (expm1): Likewise.
29427 [XPG3] (ilogb): Likewise.
29428 [XPG3] (log1p): Likewise.
29429 [XPG3] (logb): Likewise.
29430 [XPG3] (nextafter): Likewise.
29431 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
29432 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
29433 [XPG3] (remainder): Likewise.
29434 [XPG3] (rint): Likewise.
29435 [XPG3 || XPG4 || UNIX98] (round): Likewise.
29436 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
29437 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
29438 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
29439 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
29440 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
29441 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
29442 [UNIX98 || XOPEN2K] (scalb): Expect.
29443 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
29444 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
29445 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
29446 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
29447 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
29448 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
29449 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
29450 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
29451 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
29452 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
29453 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
29454 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
29455 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
29456 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
29457 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
29458 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
29459 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
29460 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
29461 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
29462 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
29463 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
29464 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
29465 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
29466 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
29467 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
29468 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
29469 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
29470 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
29471 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
29472 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
29473 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
29474 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
29475 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
29476 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
29477 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
29478 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
29479 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
29480 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
29481 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
29482 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
29483 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
29484 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
29485 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
29486 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
29487 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
29488 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
29489 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
29490 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
29491 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
29492 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
29493 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
29494 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
29495 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
29496 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
29497 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
29498 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
29499 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
29500 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
29501 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
29502 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
29503 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
29504 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
29505 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
29506 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
29507 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
29508 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
29509 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
29510 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
29511 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
29512 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
29513 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
29514 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
29515 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
29516 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
29517 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
29518 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
29519 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
29520 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
29521 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
29522 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
29523 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
29524 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
29525 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
29526 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
29527 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
29528 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
29529 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
29530 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
29531 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
29532 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
29533 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
29534 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
29535 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
29536 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
29537 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
29538 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
29539 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
29540 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
29541 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
29542 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
29543 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
29544 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
29545 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
29546 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
29547 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
29548 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
29549 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
29550 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
29551 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
29552 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
29553 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
29554 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
29555 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
29556 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
29557 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
29558 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
29559 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
29560 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
29561 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
29562 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
29563 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
29564 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
29565 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
29566 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
29567 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
29568 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
29569 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
29570 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
29571 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
29572 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
29573 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
29574 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
29575 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
29576 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
29577 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
29578 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
29579 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
29580
73c5ebe3
JM
29581 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
29582 _XOPEN_SOURCE_EXTENDED for XPG4.
29583
39c33b6c
JM
29584 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
29585
62fde54f
JM
29586 * Makeconfig (localtime): Remove variable.
29587 (inst_localtime-file): Likewise.
29588
0741d64c
AS
295892012-05-01 Andreas Schwab <schwab@linux-m68k.org>
29590
29591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29592 Update.
29593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29594 Update.
29595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29596 Update.
29597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29598 Update.
29599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
29600 Update.
29601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
29602 Update.
29603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29604 Update.
29605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
29606 Update.
29607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29608 Update.
29609
7cb029ee
JM
296102012-05-01 Joseph Myers <joseph@codesourcery.com>
29611
29612 [BZ #2550]
29613 [BZ #2570]
29614 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
29615 comparisons to determine direction to adjust input.
29616 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29617 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
29618 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
29619 Likewise.
29620 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
29621 Likewise.
29622 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29623 Likewise.
29624 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
29625 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29626 Likewise.
29627 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29628 Likewise.
29629 * math/libm-test.inc (nexttoward_test): Add more tests.
29630
412bd966
AS
296312012-05-01 Andreas Schwab <schwab@linux-m68k.org>
29632
29633 [BZ #14040]
29634 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
29635 in version GLIBC_2.1, not GLIBC_2.0.
29636 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
29637 Likewise.
29638
9568c0c2
JM
296392012-04-30 Joseph Myers <joseph@codesourcery.com>
29640
adfbc8ac
JM
29641 [BZ #13942]
29642 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
29643 (1 - x) * (1 + x).
29644 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29645 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
29646 * math/libm-test.inc (acos_test): Add more tests.
29647 (asin_test): Likewise.
29648 * sysdeps/i386/fpu/libm-test-ulps: Update.
29649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29650
5ba3cc69
JM
29651 [BZ #14034]
29652 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
29653 of square root.
29654 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
29655 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29656 * math/libm-test.inc (acos_test_tonearest): New function.
29657 (acos_test_towardzero): Likewise.
29658 (acos_test_downward): Likewise.
29659 (acos_test_upward): Likewise.
29660 (asin_test_tonearest): Likewise.
29661 (asin_test_towardzero): Likewise.
29662 (asin_test_downward): Likewise.
29663 (asin_test_upward): Likewise.
29664 (main): Call the new functions.
29665 * sysdeps/i386/fpu/libm-test-ulps: Update.
29666 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29667
9568c0c2
JM
29668 [BZ #13884]
29669 [BZ #13924]
29670 * math/e_exp10.c: Include <float.h>.
29671 (__ieee754_exp10): Handle underflow here rather than multiplying
29672 large negative argument by M_LN10.
29673 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
29674 of __ieee754_expf.
29675 * math/e_exp10l.c: Include <float.h>.
29676 (__ieee754_exp10l): Handle underflow here rather than multiplying
29677 large negative argument by M_LN10l.
29678 * math/libm-test.inc (exp10_test): Add another test. Do not allow
29679 spurious overflow exception on underflow.
29680
5ac3ea17
MP
296812012-04-29 Marek Polacek <polacek@redhat.com>
29682
29683 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
29684 (__fortify_function): New macro.
29685 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
29686 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
29687 __extern_always_inline.
29688 * libio/bits/stdio2.h: Likewise.
29689 * libio/bits/stdio.h: Likewise.
29690 * string/string.h: Likewise.
29691 * string/bits/string3.h: Likewise.
29692 * include/stdio.h: Likewise.
29693 * stdlib/bits/stdlib.h: Likewise.
29694 * stdlib/stdlib.h: Likewise.
29695 * rt/bits/mqueue2.h: Likewise.
29696 * rt/mqueue.h: Likewise.
29697 * posix/bits/unistd.h: Likewise.
29698 * posix/unistd.h: Likewise.
29699 * io/bits/poll2.h: Likewise.
29700 * io/bits/fcntl2.h: Likewise.
29701 * io/fcntl.h: Likewise.
29702 * io/sys/poll.h: Likewise.
29703 * misc/bits/syslog.h: Likewise.
29704 * misc/bits/syslog-ldbl.h: Likewise.
29705 * misc/sys/syslog.h: Likewise.
29706 * socket/bits/socket2.h: Likewise.
29707 * socket/sys/socket.h: Likewise.
29708 * debug/tst-chk1.c: Likewise.
29709 * wcsmbs/bits/wchar2.h: Likewise.
29710 * wcsmbs/bits/wchar-ldbl.h: Likewise.
29711 * wcsmbs/wchar.h: Likewise.
29712
ecf0ebfb
AJ
297132012-04-29 Andreas Jaeger <aj@suse.de>
29714
29715 * Makerules (tests): Remove enable-check-abi protection.
29716 (check-abi-warn): Remove.
29717 (check-abi-%): Remove check-abi-warn usage.
29718
29719 * configure.in: Remove check-abi configure option.
29720 * configure: Regenerated.
29721 * config.make.in (enable-check-abi): Remove.
29722
6d5c57fa
AS
297232012-04-28 Andreas Schwab <schwab@linux-m68k.org>
29724
24c5d07e 29725 [BZ #14033]
ded5180a
AS
29726 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
29727 double functions to double *_finite functions.
29728
7e0d315d
AS
29729 [BZ #13941]
29730 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
29731 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
29732 LDBL_MIN_EXP.
29733 * stdio-common/Makefile (tests): Add tst-sprintf3.
29734 * stdio-common/tst-sprintf3.c: New file.
29735
6d5c57fa
AS
29736 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
29737 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
29738
0749ff8b
JM
297392012-04-28 Joseph Myers <joseph@codesourcery.com>
29740
29741 * conform/conformtest.pl: Remove duplicate typed-constant
29742 handling.
29743
8dbd5d7b
DM
297442012-04-28 David S. Miller <davem@davemloft.net>
29745
29746 * Makerules (%.abilist): Add vpath on sysdep_dirs.
29747 (check-abi-%): Remove AWK script prerequisite and explicit
29748 abilist directory.
29749 (check-abi): Rewrite to just diff the symlist with the abilist.
29750 (config-tls, config-abi-config): Delete, no longer used.
29751 (update-abi-%): Remove AWK script and explicit abilist directory.
29752 (update-abi): Rewrite to simply compare and conditionally copy the
29753 symlist and the sysdep abilist file. Remove update-abi-config
29754 checks.
29755 * abilist/ld.abilist: Remove.
29756 * abilist/libBrokenLocale.abilist: Remove.
29757 * abilist/libanl.abilist: Remove.
29758 * abilist/libcrypt.abilist: Remove.
29759 * abilist/libdl.abilist: Remove.
29760 * abilist/librt.abilist: Remove.
29761 * abilist/libthread_db.abilist: Remove.
29762 * abilist/libutil.abilist: Remove.
29763 * scripts/extract-abilist.awk: Remove.
29764 * scripts/merge-abilist.awk: Remove.
29765 * sysdeps/generic/libcidn.abilist: New file.
29766 * sysdeps/generic/libnss_compat.abilist: New file.
29767 * sysdeps/generic/libnss_db.abilist: New file.
29768 * sysdeps/generic/libnss_dns.abilist: New file.
29769 * sysdeps/generic/libnss_files.abilist: New file.
29770 * sysdeps/generic/libnss_hesiod.abilist: New file.
29771 * sysdeps/generic/libnss_nis.abilist: New file.
29772 * sysdeps/generic/libnss_nisplus.abilist: New file.
29773 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
29774 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
29775 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
29776 file.
29777 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
29778 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
29779 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
29780 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
29781 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
29782 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
29783 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
29784 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
29785 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
29786 file.
29787 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
29788 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
29789 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
29790 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
29791 file.
29792 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
29793 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
29794 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
29795 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
29796 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
29797 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
29798 file.
29799 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
29800 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
29801 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
29802 file.
29803 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
29804 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
29805 New file.
29806 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
29807 New file.
29808 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
29809 New file.
29810 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
29811 New file.
29812 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
29813 New file.
29814 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
29815 New file.
29816 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
29817 New file.
29818 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
29819 New file.
29820 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
29821 New file.
29822 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
29823 New file.
29824 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
29825 New file.
29826 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
29827 New file.
29828 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
29829 New file.
29830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
29831 file.
29832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
29833 New file.
29834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
29835 New file.
29836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
29837 file.
29838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
29839 New file.
29840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
29841 New file.
29842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
29843 file.
29844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
29845 New file.
29846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29847 New file.
29848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
29849 New file.
29850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
29851 New file.
29852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
29853 New file.
29854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
29855 New file.
29856 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
29857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
29858 file.
29859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29860 New file.
29861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
29862 file.
29863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
29864 file.
29865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
29866 file.
29867 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
29868 file.
29869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
29870 file.
29871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29872 New file.
29873 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
29874 file.
29875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
29876 file.
29877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29878 New file.
29879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
29880 file.
29881 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
29882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
29883 file.
29884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29885 New file.
29886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
29887 file.
29888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
29889 file.
29890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
29891 file.
29892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
29893 file.
29894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
29895 file.
29896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29897 New file.
29898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
29899 file.
29900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
29901 file.
29902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29903 New file.
29904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
29905 file.
29906 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29907 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
29908 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
29909 file.
29910 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
29911 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
29912 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
29913 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
29914 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
29915 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
29916 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
29917 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
29918 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
29919 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
29920 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
29921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
29922 file.
29923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
29924 New file.
29925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
29926 file.
29927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
29928 file.
29929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
29930 file.
29931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
29932 file.
29933 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
29934 file.
29935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29936 New file.
29937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
29938 New file.
29939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
29940 file.
29941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
29942 New file.
29943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
29944 file.
29945 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
29946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
29947 file.
29948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
29949 New file.
29950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
29951 file.
29952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
29953 file.
29954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
29955 file.
29956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
29957 file.
29958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
29959 file.
29960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29961 New file.
29962 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
29963 New file.
29964 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
29965 file.
29966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
29967 New file.
29968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
29969 file.
29970
41d73a1b
JM
299712012-04-28 Joseph Myers <joseph@codesourcery.com>
29972
29973 * conform/conformtest.pl: Fix typo in handling typed-constant from
29974 allow-header.
29975
28aeeda4
JM
299762012-04-27 Joseph Myers <joseph@codesourcery.com>
29977
adae8f5e
JM
29978 * README: Cut down references to pre-2.6 Linux kernels and
29979 Linuxthreads. Update lists of configurations in libc and ports
29980 and sort alphabetically. Say "or newer" with Linux kernel version
29981 requirements.
29982
28aeeda4
JM
29983 * config.h.in [IS_IN_build]: Allow compiling without optimization.
29984
a462cb63
RA
299852012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29986
29987 [BZ #887]
29988 * math/libm-test.inc (logb_test_downward): New test to expose
29989 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
29990 rounding mode.
29991
6ad3493e
JM
299922012-04-27 Joseph Myers <joseph@codesourcery.com>
29993
29994 [BZ #14027]
29995 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
29996 to be done.
29997 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
29998 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
29999
2ce4f015
JM
300002012-04-26 Joseph Myers <joseph@codesourcery.com>
30001
5aeb141a
JM
30002 * sysdeps/unix/i386/brk.S: Remove file.
30003 * sysdeps/unix/i386/dl-brk.S: Likewise.
30004 * sysdeps/unix/i386/pipe.S: Likewise.
30005 * sysdeps/unix/i386/sigreturn.S: Likewise.
30006 * sysdeps/unix/i386/syscall.S: Likewise.
30007 * sysdeps/unix/i386/vfork.S: Likewise.
30008 * sysdeps/unix/i386/wait.S: Likewise.
30009
7143acae
JM
30010 * sysdeps/unix/common/tcsendbrk.c: Move to ...
30011 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30012
2ce4f015
JM
30013 * configure.in (arm*-none*): Do not allow without
30014 --enable-hacker-mode.
30015 (netbsd*): Remove case setting base_os.
30016 (386bsd*): Likewise.
30017 (freebsd*): Likewise.
30018 (bsdi*): Likewise.
30019 (osf*): Likewise.
30020 (sunos*): Likewise.
30021 (ultrix*): Likewise.
30022 (newsos*): Likewise.
30023 (dynix*): Likewise.
30024 (*bsd*): Likewise.
30025 (sysv*): Likewise.
30026 (isc*): Likewise.
30027 (esix*): Likewise.
30028 (sco*): Likewise.
30029 (minix*): Likewise.
30030 (irix4*): Likewise.
30031 (irix6*): Likewise.
30032 (solaris[2-9]*): Likewise.
30033 (none): Likewise.
30034 * configure: Regenerated.
30035
0ac229c8
AZ
300362012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30037
30038 [BZ #11521]
30039 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30040 overflow or cancellation in calculating denominator.
30041 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30042 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30043 down expression to avoid unexpected rounding in newer GCCs.
30044 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30045
33f244f4
DM
300462012-04-26 David S. Miller <davem@davemloft.net>
30047
30048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30049 long-double compat symbols.
30050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30063
cfa1f3e8
DM
300642012-04-25 David S. Miller <davem@davemloft.net>
30065
30066 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30067 HWCAP_* values only after the memory barriers have been defined.
30068 (atomic_full_barrier): Define.
30069 (atomic_read_barrier): Define.
30070 (atomic_write_barrier): Define.
30071
6e236b92
SP
300722012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30073
30074 * shlib-versions: Add libgcc_s version information.
30075 * sysdeps/generic/libgcc_s.h: Remove.
30076 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30077 libgcc_s.h.
30078 * sysdeps/gnu/unwind-resume.c: Likewise.
30079 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30080
aab39a09
DM
300812012-04-25 David S. Miller <davem@davemloft.net>
30082
30083 * sysdeps/unix/sparc/brk.S: Delete.
30084 * sysdeps/unix/sparc/dl-brk.S: Delete.
30085 * sysdeps/unix/sparc/pipe.S: Delete.
30086 * sysdeps/unix/sparc/sysdep.S: Delete.
30087 * sysdeps/unix/sparc/sysdep.h: Delete.
30088 * sysdeps/unix/sparc/vfork.S: Delete.
30089 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30090 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30091 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30092 ret_ERRVAL, r0, r1, MOVE): Define.
30093 (JUMPTARGET): Remove.
30094 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30095 sysdeps/unix/sparc/sysdep.h
30096 (ENTRY, END): Remove.
30097 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30098
a3cc4f48
JM
300992012-04-25 Joseph Myers <joseph@codesourcery.com>
30100
2ed8cda2
JM
30101 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30102 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30103 -DIS_IN_build.
30104
35d76d59
JM
30105 * timezone/README: Update upstream location and email address for
30106 tzcode and tzdata.
30107 * timezone/zdump.c: Update from tzcode 2012b.
30108 * timezone/zic.c: Likewise.
30109
a3cc4f48
JM
30110 * configure.in (libc_cv_as_needed): Remove test.
30111 * configure: Regenerated.
30112 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30113 conditional definition.
30114 [$(have-as-needed) != yes] (no-as-needed): Likewise.
30115 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30116 * config.make.in (have-as-needed): Remove variable.
30117
ceab42c3
SP
301182012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30119 Paul Pluzhnikov <ppluzhnikov@google.com>
30120
30121 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30122 strings correctly.
30123
3ce2865f
CLT
301242012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
30125
30126 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30127 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30128 * sysdeps/sh/strlen.S: Likewise.
30129
f37e0d68
JM
301302012-04-24 Joseph Myers <joseph@codesourcery.com>
30131
ae186e9a
JM
30132 * sysdeps/unix/fork.S: Remove file.
30133 * sysdeps/unix/i386/fork.S: Likewise.
30134 * sysdeps/unix/sparc/fork.S: Likewise.
30135
b96914af
JM
30136 * sysdeps/unix/system.c: Remove file.
30137 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30138
f37e0d68
JM
30139 * sysdeps/unix/getegid.S: Remove file.
30140 * sysdeps/unix/geteuid.S: Likewise.
30141
87ef29ca
RM
301422012-04-24 Roland McGrath <roland@hack.frob.com>
30143
83bcd236
RM
30144 * scripts/check-localplt.awk: New file.
30145 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30146 of diff.
30147 * scripts/data/localplt-generic.data: Add a comment.
30148
87ef29ca
RM
30149 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30150 NODE when __dir_mkfile failed.
30151 * sysdeps/mach/hurd/symlinkat.c: Likewise.
30152 Reported by Ludovic Courtès <ludo@gnu.org>.
30153
e5a6e567
AJ
301542012-04-24 Andreas Jaeger <aj@suse.de>
30155
30156 * Makerules (common-clean): Also remove gen-as-const-headers
30157 files.
30158
c1820385
JM
301592012-04-24 Joseph Myers <joseph@codesourcery.com>
30160
30161 * Makerules (native-compile): Do not change working directory for
30162 build. Use $(OUTPUT_OPTION) in command.
30163 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30164
94e02fc4
AZ
301652012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30166
30167 [BZ #13886]
30168 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30169 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30170 * math/libm-test.inc (floor_test): Add more tests.
30171 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30172
3a533ca3
JM
301732012-04-24 Joseph Myers <joseph@codesourcery.com>
30174
940ab4b3
JM
30175 * sysdeps/unix/getdents.c: Remove file.
30176 * sysdeps/unix/sysv/getdents.c: Likewise.
30177 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30178
90e037bd
JM
30179 * sysdeps/unix/syscalls.list (madvise): Add syscall from
30180 sysdeps/unix/mman/syscalls.list.
30181 (mmap): Likewise.
30182 (mprotect): Likewise.
30183 (msync): Likewise.
30184 (munmap): Likewise.
30185 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30186 * sysdeps/unix/mman/syscalls.list: Remove.
30187 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30188
3a533ca3
JM
30189 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30190 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30191 * configure: Regenerated.
30192 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30193 $(libgcc_s_suffix).
30194 * config.make.in (libgcc_s_suffix): Remove variable.
30195
1ad743de
JM
301962012-04-23 Joseph Myers <joseph@codesourcery.com>
30197
4ad451e2
JM
30198 * sysdeps/unix/sysv/gethostname.c: Move to ...
30199 * sysdeps/posix/gethostname.c: ... here.
30200
5e37ce39
JM
30201 * sysdeps/unix/execve.S: Remove file.
30202
1ad743de
JM
30203 * sysdeps/unix/_exit.S: Remove file.
30204
4e681b5b
AJ
302052012-04-23 Andreas Jaeger <aj@suse.de>
30206
30207 [BZ #13739]
30208 * manual/Makefile: Remove make dist support, there's no
30209 need for a stand-alone documentation tar ball.
30210 (TEXI2DVI): Define always, it's not in Makeconfig.
30211 (dist): Removed.
30212 (tar-it): Removed.
30213 (edition): Removed.
30214 (glibc-doc-$(edition).tar): Removed
30215 (%.Z): Removed.
30216 (%.gz): Removed.
30217 (%.uu): Removed.
30218 (ETAGS): Remove, it's in Makeconfig.
30219 (move-if-change): Remove, it's in Makeconfig.
30220
38686a03 302212012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
30222
30223 [BZ #13970]
30224 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30225 (strtod, strtof, strtold, strtol, strtoul, strtoq)
30226 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30227 (strtod_l, strtof_l, strtold_l): Remove __wur.
30228 It is not necessarily an error to ignore strtol's return value.
30229 One can reliably look at the stored endptr to decide whether
30230 the number had valid syntax.
30231
7c0616fa
AJ
302322012-04-21 Andreas Jaeger <aj@suse.de>
30233
803cb6b7 30234 [BZ #13739]
7c0616fa
AJ
30235 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30236
b0fe253f
JM
302372012-04-21 Joseph Myers <joseph@codesourcery.com>
30238
30239 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30240 * sysdeps/unix/sysv/Versions: Remove file.
30241
8280f22d
MT
302422012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
30243
30244 [BZ #13927]
30245 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30246
75ce411f 302472012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
30248
30249 [BZ #7064]
30250 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30251 version from __vm86.
30252
097d59fa
JM
302532012-04-20 Joseph Myers <joseph@codesourcery.com>
30254
a90f3bcb
JM
30255 * sysdeps/unix/common/lxstat.c: Remove file.
30256 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30257
edc7ea78
JM
30258 * sysdeps/unix/sysv/Makefile: Remove file.
30259
cb78c221
JM
30260 * sysdeps/unix/sysv/direct.h: Remove file.
30261
efa6a45f
JM
30262 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30263 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30264 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30265 * sysdeps/unix/sysv/bits/signum.h: Likewise.
30266 * sysdeps/unix/sysv/bits/stat.h: Likewise.
30267 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30268 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30269
9c9f2d0c
JM
30270 * sysdeps/unix/sysv/setrlimit.c: Remove file.
30271
4541c83b
JM
30272 * sysdeps/unix/xmknod.c: Remove file.
30273 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30274
f5d153a0
JM
30275 * sysdeps/unix/sysv/settimeofday.c: Remove file.
30276
aa746595
JM
30277 * sysdeps/unix/sysv/i386/time.S: Remove file.
30278
cce5905e
JM
30279 * sysdeps/unix/fxstat.c: Remove file.
30280 * sysdeps/unix/xstat.c: Likewise.
30281 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30282
37fa3841
JM
30283 * sysdeps/unix/sysv/sigaction.c: Remove file.
30284
ff1962a3
JM
30285 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30286 (sysdep_headers): Remove variable.
30287 [termio.h not in sysdep_headers] (generated): Likewise.
30288 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30289 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30290 * sysdeps/unix/sysv/tcdrain.c: Likewise.
30291 * sysdeps/unix/sysv/tcflow.c: Likewise.
30292 * sysdeps/unix/sysv/tcflush.c: Likewise.
30293 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30294 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30295 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30296 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30297 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30298
e7740d31
JM
30299 * sysdeps/unix/siglist.c: Remove file.
30300
ee06f18b
JM
30301 * sysdeps/unix/getppid.S: Remove file.
30302
097d59fa
JM
30303 * sysdeps/unix/mkdir.c: Remove file.
30304 * sysdeps/unix/rmdir.c: Likewise.
30305
ff3d51ec
AS
303062012-04-19 Andreas Schwab <schwab@linux-m68k.org>
30307
30308 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30309 ERR_MAX value.
30310 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30311 errlist-compat value.
30312
50f81fd7
DM
303132012-04-18 David S. Miller <davem@davemloft.net>
30314
30315 * sysdeps/generic/memcopy.h (reg_char): Delete.
30316 * debug/strcat_chk.c: Use char, not reg_char.
30317 * debug/strcpy_chk.c: Likewise.
30318 * debug/strncat_chk.c: Likewise.
30319 * debug/strncpy_chk.c: Likewise.
30320 * string/memchr.c: Likewise.
30321 * string/memrchr.c: Likewise.
30322 * string/rawmemchr.c: Likewise.
30323 * string/strcat.c: Likewise.
30324 * string/strchr.c: Likewise.
30325 * string/strchrnul.c: Likewise.
30326 * string/strcmp.c: Likewise.
30327 * string/strcpy.c: Likewise.
30328 * string/strncat.c: Likewise.
30329 * string/strncmp.c: Likewise.
30330 * string/strncpy.c: Likewise.
30331
8ff41c46
WS
303322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30333
30334 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
30335 __builtin_memcopy is called when src and dest ranges are known to not
30336 overlap.
30337
6b652f46
WS
303382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30339
30340 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
30341 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
30342 fwd_align_merge macro call.
30343 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
30344 bwd_align_merge macro call.
30345 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30346
b282631e
WS
303472012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30348
30349 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
30350 bwd_align_merge macros.
30351 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
30352 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
30353 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30354
95aa737c
DM
303552012-04-18 David S. Miller <davem@davemloft.net>
30356
30357 * sysdeps/sparc/sparc64/memcopy.h: Delete.
30358
7a99a614
AJ
303592012-04-18 Andreas Jaeger <aj@suse.de>
30360
30361 [BZ# 6794]
30362 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
30363 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
30364 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30365
30366 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
30367 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
30368 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30369
30370 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
30371 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
30372 Adjust for changed ldbl-128 files.
30373
30374 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
30375 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
30376 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30377
e5270c23
DM
303782012-04-17 David S. Miller <davem@davemloft.net>
30379
30380 * sysdeps/sparc/sparc32/memcopy.h: Delete.
30381
fb5e92c9
AS
303822012-04-17 Andreas Schwab <schwab@linux-m68k.org>
30383
30384 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
30385 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
30386 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
30387 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
30388 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30389 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
30390
76da7265
AZ
303912012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30392
30393 [BZ #6794]
30394 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
30395 * math/libm-test.inc: Add ilogb errno and exception tests.
30396 * math/w_ilogb.c: New file: ilogb wrapper.
30397 * math/w_ilogbf.c: New file: ilogbf wrapper.
30398 * math/w_ilogbl.c: New file: ilogbl wrapper.
30399 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
30400 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
30401 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
30402 exception being thrown with 0.0 as argument.
30403 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
30404 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
30405 exception being thrown with 0.0 as argument.
30406 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
30407 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30408 exception being thrown with 0.0 as argument.
30409 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
30410 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30411 exception being thrown with 0.0 as argument.
30412 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
30413 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 30414 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
30415 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
30416 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
30417 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
30418 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
30419 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
30420 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
30421
0396e69d
PB
304222012-04-17 Petr Baudis <pasky@ucw.cz>
30423
30424 * include/sys/uio.h: Change __vector to __iovec to avoid clash
30425 with altivec.
30426
750b5926
MP
304272012-04-16 Marek Polacek <polacek@redhat.com>
30428
30429 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
30430
751728a1
MP
304312012-04-16 Marek Polacek <polacek@redhat.com>
30432
30433 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
30434 operands of fdivp instruction.
30435
34a27407
L
304362012-04-13 H.J. Lu <hongjiu.lu@intel.com>
30437
30438 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
30439 * elf/tst-auditmod3b.c: Likewise.
30440 * elf/tst-auditmod4b.c: Likewise.
30441 * elf/tst-auditmod5b.c: Likewise.
30442 * elf/tst-auditmod6b.c: Likewise.
30443 * elf/tst-auditmod6c.c: Likewise.
30444 * elf/tst-auditmod7b.c: Likewise.
30445 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
30446 * sysdeps/x86_64/preconfigure.in: Likewise.
30447 * sysdeps/x86_64/preconfigure: Regenerated.
30448
7e73e17d
L
304492012-04-13 H.J. Lu <hongjiu.lu@intel.com>
30450
30451 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
30452 __ILP32__.
30453
c7a6ab72
AB
304542012-04-13 Antoine Balestrat <merkil33@gmail.com>
30455
30456 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30457 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
30458
a9e8e0e0
CL
304592012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
30460
30461 [BZ #13973]
30462 * locale/iso-639.def: Fix gl language name. Spotted by
30463 Yaron Shahrabani.
30464
ec98af7d
RM
304652012-04-12 Roland McGrath <roland@hack.frob.com>
30466
30467 [BZ #2074]
30468 * libio/libio.h (__io_write_fn): Update comment.
30469
247c3ede
PB
304702012-04-12 Petr Baudis <pasky@ucw.cz>
30471
30472 [BZ #2074]
30473 * stdio.texi (Hook Functions): The user provided writer function
30474 is not allowed to return -1.
30475
55939d6d
DM
304762012-04-11 David S. Miller <davem@davemloft.net>
30477
30478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30479
90020f5a
MF
304802012-04-11 Mike Frysinger <vapier@gentoo.org>
30481
30482 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
30483 Add a leading slash to rtkaio.
30484
288f9098
JM
304852012-04-11 Jim Meyering <meyering@redhat.com>
30486
90020f5a
MF
30487 [BZ #11959]
30488 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
30489 It is not necessarily an error to ignore fwrite's return
30490 value. One can reliably use ferror to test for errors after
30491 the fact.
288f9098 30492
4be2b570
L
304932012-04-10 H.J. Lu <hongjiu.lu@intel.com>
30494
30495 * bits/types.h (__snseconds_t): New type.
30496 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
30497
30498 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
30499 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30500 (__SNSECONDS_T_TYPE): Likewise.
30501 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30502 (__SNSECONDS_T_TYPE): Likewise.
30503 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30504 (__SNSECONDS_T_TYPE): Likewise.
30505
288f9098 305062012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
30507
30508 [BZ #2636]
30509 * manual/time.texi (Processor Time): Return type of times is
30510 elapsed real time since an arbitrary point in the past.
30511 (CPU Time): Move CLK_TCK from here...
30512 (Processor Time): ...to here. Correct description.
30513 * manual/conf.texi (Constants for Sysconf): Correct description of
30514 _SC_CLK_TCK.
30515
d7dd4413
DM
305162012-04-10 David S. Miller <davem@davemloft.net>
30517
30518 [BZ #13967]
30519 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
30520 where the is a gap between DT_REL(A) and DT_JMPREL.
30521
b46068fc
L
305222012-04-10 H.J. Lu <hongjiu.lu@intel.com>
30523
30524 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
30525 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30526 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30527
73d65cc3
SP
305282012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30529
30530 * elf/dl-support.c (_dl_inhibit_cache): New variable.
30531 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
30532 (dl_main): Handle --inhibit-cache.
30533 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
30534 _dl_inhibit_cache.
30535 * elf/dl-load.c (_dl_map_object): Use it.
30536 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
30537
bcc8d661
JM
305382012-04-09 Joseph Myers <joseph@codesourcery.com>
30539
8f9a2fae
JM
30540 [BZ #13872]
30541 * sysdeps/i386/fpu/e_powl.S (p78): New object.
30542 (__ieee754_powl): Saturate large exponents rather than testing for
30543 overflow of y*log2(x).
30544 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30545 * math/libm-test.inc (pow_test): Do not permit spurious overflow
30546 exceptions.
30547
bcc8d661
JM
30548 [BZ #11521]
30549 * math/s_ctan.c: Include <float.h>.
30550 (__ctan): Avoid internal overflow or cancellation in calculating
30551 denominator.
30552 * math/s_ctanf.c: Likewise.
30553 * math/s_ctanl.c: Likewise.
30554 * math/s_ctanh.c: Likewise.
30555 * math/s_ctanhf.c: Likewise.
30556 * math/s_ctanhl.c: Likewise.
30557 * math/libm-test.inc (ctan_test): Add more tests.
30558 (ctanh_test): Likewise.
30559 * sysdeps/i386/fpu/libm-test-ulps: Update.
30560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30561
823fbbb4
AJ
305622012-04-09 Andreas Jaeger <aj@suse.de>
30563
03879793
AJ
30564 [BZ #6894]
30565 * manual/filesys.texi (Directory Entries): Mention that d_namlen
30566 is an optional BSD extension.
30567
823fbbb4
AJ
30568 [BZ #10254]
30569 * manual/stdio.texi (Opening Streams): Document additional fopen
30570 parameters.
30571
8de131cb
RM
305722012-04-09 Roland McGrath <roland@hack.frob.com>
30573
30574 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
30575 %eax without telling the compiler.
30576
c0ed9d7d
CD
305772012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
30578
30579 [BZ # 13963]
30580 * manual/install.texi: Use sourceware.org.
30581
c483f6b4
JM
305822012-04-09 Joseph Myers <joseph@codesourcery.com>
30583
d7dd9453
JM
30584 [BZ #13873]
30585 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
30586 (__ieee754_pow): Generate overflow and underflow using huge*huge
30587 and tiny*tiny rather than just returning constant infinity or zero
30588 for large exponents.
30589 * math/libm-test.inc (pow_test): Require overflow exceptions for
30590 applicable cases of large exponents.
30591
c483f6b4
JM
30592 [BZ #706]
30593 * sysdeps/i386/fpu/e_pow.S (p10): New object.
30594 (__ieee754_pow): Use iterative multiplication algorithm only for
30595 integer exponents with absolute value below 1024. Check for odd
30596 integer exponents when using algorithm for real exponents.
30597 * math/libm-test.inc (pow_test): Add more tests.
30598 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30599
d2de7579
JM
306002012-04-08 Joseph Myers <joseph@codesourcery.com>
30601
30602 [BZ #13705]
30603 * math/libm-test.inc (exp_test): Do not allow overflow exception
30604 on underflow test.
30605
f77f1232
AJ
306062012-04-08 Aurelien Jarno <aurelien@aurel32.net>
30607
30608 [BZ #13705]
30609 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
30610 instead of __kernel_standard_f.
30611
3884932b
MF
306122012-04-08 Mike Frysinger <vapier@gentoo.org>
30613
30614 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
30615 * sysdeps/x86_64/memset_chk.S: Likewise.
30616
54472e9c
AJ
306172012-04-08 Andreas Jaeger <aj@suse.de>
30618
6ab0fbfc
AJ
30619 [BZ #10153]
30620 * manual/startup.texi (Environment Access): Describe return value
30621 for putenv and setenv.
30622
61efba8c
AJ
30623 [BZ #6895]
30624 * manual/filesys.texi (Directory Entries): Add description for
30625 DT_LNK.
30626
95c3f29a
AJ
30627 [BZ #6890]
30628 * manual/filesys.texi (Directory Entries): Clarify that it's file
30629 system not operating system in the description of DT_UNKNOWN.
30630
54472e9c
AJ
30631 [BZ #6578]
30632 * manual/syslog.texi (closelog): Fix reference, it's openlog.
30633
624254b1
SC
306342012-04-08 Stephen Compall <s11@member.fsf.org>
30635
30636 [BZ #6649]
30637 * manual/llio.texi (Opening and Closing Files): Add cross
30638 reference to explain mode argument.
30639
1e4920e0
MF
306402012-04-07 Mike Frysinger <vapier@gentoo.org>
30641
30642 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
30643 * sysdeps/x86_64/memset_chk.S: Likewise.
30644
5ed848f3
DM
306452012-04-07 David S. Miller <davem@davemloft.net>
30646
30647 * elf/elf.h (R_SPARC_WDISP10): Define.
30648 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
30649 R_SPARC_SIZE32.
30650 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
30651 R_SPARC_SIZE64 and R_SPARC_H34.
30652
96154cd8
CD
306532012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
30654
30655 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
30656 conditions and remove no longer applicable assertion.
30657
9904dc47
L
306582012-04-06 H.J. Lu <hongjiu.lu@intel.com>
30659
30660 * bits/byteswap.h: Include <features.h>.
30661 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30662 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30663
f8887d0a
L
306642012-04-06 H.J. Lu <hongjiu.lu@intel.com>
30665
30666 * bits/byteswap.h (__bswap_16): Removed.
30667 Include <bits/byteswap-16.h> to get __bswap_16.
30668 * sysdeps/i386/bits/byteswap.h: Likewise.
30669 * sysdeps/s390/bits/byteswap.h: Likewise.
30670 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30671 * bits/byteswap-16.h: New file.
30672 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30673 * sysdeps/s390/bits/byteswap-16.h: Likewise.
30674 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
30675 * string/Makefile (headers): Add bits/byteswap-16.h.
30676
62470f60
PP
306772012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30678
30679 [BZ #13895]
30680 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
30681 extra indirection.
30682 * nss/Makefile (tests-static, tests): Add tst-nss-static.
30683 * nss/tst-nss-static.c: New.
30684
4dad7bab
RM
306852012-04-06 Robert Millan <rmh@gnu.org>
30686
30687 [BZ #6486]
30688 * manual/llio.texi (File Position Primitive): lseek
30689 refers to WHENCE when it really means OFFSET.
30690
e9142a17
AJ
306912012-04-06 Andreas Jaeger <aj@suse.de>
30692
2c040eff
AJ
30693 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
30694 strncmp declarations.
30695
e9142a17
AJ
30696 * abilist/libc.abilist: Add __poll and __ppoll.
30697
ff9f1c5f
DM
306982012-04-05 David S. Miller <davem@davemloft.net>
30699
dcd2ae90
DM
30700 * scripts/check-local-headers.sh: Accept a host triplet in the
30701 path matched by the exclude regexp.
30702
993eb054
DM
30703 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
30704 definition.
30705 * sysdeps/powerpc/powerpc32/dl-machine.h
30706 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
30707 * sysdeps/s390/s390-32/dl-machine.h
30708 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30709 * sysdeps/sparc/sparc32/dl-machine.h
30710 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30711 * sysdeps/sparc/sparc64/dl-machine.h
30712 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30713
ff9f1c5f
DM
30714 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
30715 lazy binding.
48e2e132 30716 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
30717 undefined symbol errors.
30718
48e2e132 30719 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
30720 DT_NEEDED entries.
30721
e80d6f94
MM
307222012-04-05 Michael Matz <matz@suse.de>
30723
30724 [BZ #13592]
30725 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
30726
349fa79f
AJ
307272012-04-05 Andreas Jaeger <aj@suse.de>
30728
30729 [BZ #13908]
30730 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
30731 comment.
30732
f402708f
KK
307332012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30734
30735 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
30736 which ROUND is no valid rounding mode.
30737
2ecccfc9
KK
307382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30739
30740 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
30741 read again.
30742 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
30743
8a53f50f
KK
307442012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30745
30746 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
30747 an exception using FPU order intentionally.
30748
307492012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30750
30751 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
30752 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
30753 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
30754 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
30755
d653abb7
SJ
307562012-04-05 Simon Josefsson <simon@josefsson.org>
30757
30758 [BZ #12340]
30759 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
30760 EINVAL when BUFLEN is too smal.
30761
c3b1bf7d
TS
307622012-04-05 Thomas Schwinge <thomas@codesourcery.com>
30763
30764 [BZ #13553]
30765 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
30766 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
30767
b1aa60f3
AJ
307682012-04-03 Andreas Jaeger <aj@suse.de>
30769
c3b1bf7d 30770 [BZ #13938]
67f60a26
AJ
30771 * manual/setjmp.texi (System V contexts): Fix sentence.
30772
b1aa60f3
AJ
30773 [BZ #13926]
30774 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
30775 New macro for this case.
30776 [!__GNUC__] (__bswap_64): New inline function for this case.
30777 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30778 * bits/byteswap.h: Likewise.
30779 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
30780 ull, guard with __GLIBC_HAVE_LONG_LONG.
30781
30782 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
30783 __GLIBC_HAVE_LONG_LONG.
30784
30785 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
30786 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
30787
39c59c35
TMQMF
307882012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30789
30790 [BZ #13691]
30791 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
30792 inptr and inend, rather than using last_ch.
30793
135ffda8
DM
307942012-04-02 David S. Miller <davem@davemloft.net>
30795
30796 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
30797 * stdio-common/printf-parse.h (read_int): Change return type to
30798 'int', return -1 on INT_MAX overflow.
30799 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
30800 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
30801 overflows INT_MAX. Check for overflow of in-format-string precision
30802 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
30803 SIZE_MAX not INT_MAX for integer overflow test.
30804 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
30805 skip the construct in the format string but do not record anything.
30806 * stdio-common/bug22.c: Adjust to test both width/prevision
30807 INT_MAX overflow as well as total length INT_MAX overflow. Check
30808 explicitly for proper errno values.
30809
228c019e
TS
308102012-04-02 Thomas Schwinge <thomas@codesourcery.com>
30811
302cadd3
TS
30812 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
30813 CHAR_MAX.
30814 * string/test-strcmp.c [! WIDE]: Likewise.
30815 * time/tst-mktime2.c: Likewise for INT_MAX.
30816 * string/test-string.h: #include <sys/param.h> for MIN.
30817
228c019e
TS
30818 * csu/init-first.c (__libc_init_first): Call __ctype_init.
30819 * sysdeps/i386/init-first.c (init): Likewise.
30820 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
30821 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
30822 * sysdeps/sh/init-first.c (init): Likewise.
30823
cfa633f5
UD
308242012-04-01 Ulrich Drepper <drepper@gmail.com>
30825
30826 * po/ru.po: Update from translation team.
d1635ef8 30827 * po/vi.po: Likewise.
cfa633f5 30828
6cd0a5ea
SP
308292012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30830
30831 * resolv/nss_dns/dns-host.c: Merge copyright years.
30832
4b43400f
LD
308332012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30834
30835 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30836 Optimize memcpy with prefetch if
30837 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
30838 src, dst pointers have unequal 16 byte alignments.
30839
48c41d04
SP
308402012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30841
30842 [BZ #13928]
30843 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
30844 from a CNAME entry and return the minimum ttl for the query.
30845 (gaih_getanswer_slice): Likewise.
30846
b8dc394d
JL
308472012-03-30 Jeff Law <law@redhat.com>
30848
30849 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
30850 due to long keys.
30851 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
30852 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
30853
2f5a5ed0
JL
30854 * resolv/nss_dns/dns-host.c: Update copyright year.
30855
1d39e359
UD
308562012-03-30 Ulrich Drepper <drepper@gmail.com>
30857
c030f70c 30858 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 30859 requests to save a system call. Fix check that all bytes are sent.
c030f70c 30860
1d39e359
UD
30861 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
30862 comments for sendmmsg.
30863
308642012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
30865
30866 [BZ #13691]
30867 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
30868 with only 1 character between 0x0041 and 0x01b0.
30869 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
30870 * wcsmbs/tst-mbsnrtowcs.c: New file.
30871
20fde227
DM
308722012-03-29 David S. Miller <davem@davemloft.net>
30873
30874 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
30875 small copies by hand.
30876
984a4237
JL
308772012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30878
30879 [BZ #13761]
30880 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
30881 _nss_compat_initgroups_dyn): Fall back to malloc/free
30882 for large group memberships.
30883
18c9d62b
DM
308842012-03-28 David S. Miller <davem@davemloft.net>
30885
88d85d4f
DM
30886 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
30887 that branches into memcpy.
30888 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30889 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
30890 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30891 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
30892 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
30893 bits.
30894 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
30895 implementation too.
30896 * sysdeps/sparc/mempcpy.S: New file.
30897
e5aa83e1
DM
30898 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
30899 the IFUNC routine in the libc case.
30900 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30901
88570753
DM
30902 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
30903 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
30904 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
30905 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
30906 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
30907 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
30908 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
30909 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
30910
249d7567
DM
30911 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
30912 loop to 256 bytes instead of 64 bytes and fix test signedness.
30913
18c9d62b
DM
30914 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
30915 * sysdeps/sparc/sparc32/Makefile: rather than here...
30916 * sysdeps/sparc/sparc64/Makefile: and here.
30917
05f3d1f6
UD
309182012-03-28 Ulrich Drepper <drepper@gmail.com>
30919
30920 * malloc/mallocbug.c: Avoid warnings about unused variables.
30921
86ae07a8
JL
309222012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30923
30924 [BZ #13760]
30925 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
30926 in the right place. Discard and retry query if response is
30927 larger than input buffer size.
30928
41bf21a1
JM
309292012-03-28 Joseph Myers <joseph@codesourcery.com>
30930
d6270972
JM
30931 [BZ #369]
30932 [BZ #2678]
30933 [BZ #3866]
30934 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
30935 x for large integer exponent.
30936 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30937 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
30938 sign of result as needed afterwards.
30939 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30940 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
30941 result for underflowing pow the same as for overflow.
30942 (__kernel_standard_l): Handle powl overflow and underflow here
30943 rather than calling __kernel_standard.
30944 * math/libm-test.inc (pow_test): Add more tests.
30945
414fca03 30946 [BZ #3868]
41bf21a1
JM
30947 [BZ #13879]
30948 [BZ #13910]
30949 [BZ #13911]
30950 [BZ #13912]
30951 [BZ #13913]
30952 [BZ #13915]
30953 [BZ #13916]
30954 [BZ #13917]
30955 [BZ #13918]
30956 [BZ #13919]
30957 [BZ #13920]
30958 [BZ #13921]
30959 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
30960 * sysdeps/ieee754/k_standard.c: Include <float.h>.
30961 (__kernel_standard_l): New function.
30962 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
30963 __kernel_standard.
30964 * math/w_acosl.c (__acosl): Likewise.
30965 * math/w_asinl.c (__asinl): Likewise.
30966 * math/w_atan2l.c (__atan2l): Likewise.
30967 * math/w_atanhl.c (__atanhl): Likewise.
30968 * math/w_coshl.c (__coshl): Likewise.
30969 * math/w_exp10l.c (__exp10l): Likewise.
30970 * math/w_exp2l.c (__exp2l): Likewise.
30971 * math/w_fmodl.c (__fmodl): Likewise.
30972 * math/w_hypotl.c (__hypotl): Likewise.
30973 * math/w_j0l.c (__j0l, __y0l): Likewise.
30974 * math/w_j1l.c (__j1l, __y1l): Likewise.
30975 * math/w_jnl.c (__jnl, __ynl): Likewise.
30976 * math/w_lgammal.c (__lgammal): Likewise.
30977 * math/w_log10l.c (__log10l): Likewise.
30978 * math/w_log2l.c (__log2l): Likewise.
30979 * math/w_logl.c (__logl): Likewise.
30980 * math/w_powl.c (__powl): Likewise.
30981 * math/w_remainderl.c (__remainderl): Likewise.
30982 * math/w_scalbl.c (sysv_scalbl): Likewise.
30983 * math/w_sinhl.c (__sinhl): Likewise.
30984 * math/w_sqrtl.c (__sqrtl): Likewise.
30985 * math/w_tgammal.c (__tgammal): Likewise.
30986 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
30987 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
30988 * math/libm-test.inc (acos_test): Add more tests.
30989 (acosh_test): Likewise.
30990 (asin_test): Likewise.
30991 (atanh_test): Likewise.
30992 (exp_test): Likewise.
30993 (exp10_test): Likewise.
30994 (exp2_test): Likewise.
30995 (expm1_test): Likewise.
30996 (lgamma_test): Likewise.
30997 (log_test): Likewise.
30998 (log10_test): Likewise.
30999 (log1p_test): Likewise.
31000 (log2_test): Likewise.
31001 (pow_test): Do not allow some spurious overflow exceptions.
31002 (sqrt_test): Add more tests.
31003 (tgamma_test): Likewise.
31004 (y0_test): Likewise.
31005 (y1_test): Likewise.
31006 (yn_test): Likewise.
31007
dd62fda6
AB
310082012-03-27 Anton Blanchard <anton@samba.org>
31009
31010 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31011 MAP_HUGETLB.
31012 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31013 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31014 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31015
1e3cdfda
AJ
310162012-03-27 David S. Miller <davem@davemloft.net>
31017
b855ab85
DM
31018 * conform/Makefile: Run run-conformtest.sh using $(BASH).
31019
1e3cdfda
AJ
31020 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31021 have-as-vis3 check.
31022
310232012-03-27 Andreas Jaeger <aj@suse.de>
31024
31025 * sysdeps/x86_64/elf/configure.in: Moved to ...
31026 * sysdeps/x86_64/configure.in: ... here.
31027 * sysdeps/x86_64/elf/start.S: Moved to ...
31028 * sysdeps/x86_64/start.S: ... here.
31029 * sysdeps/x86_64/elf/configure: Delete.
31030
31031 * sysdeps/x86_64/configure.in: Merge contents from
31032 sysdeps/i386/configure.in (without i686 check).
31033
31034 * sysdeps/i386/elf/Versions: Merge into ...
31035 * sysdeps/i386/Versions: ... this.
31036 * sysdeps/i386/elf/Versions: Delete file.
31037 * sysdeps/i386/elf/start.S: Moved to ...
31038 * sysdeps/i386/start.S: ...here.
31039 * sysdeps/i386/elf/configure.in: Merge into...
31040 * sysdeps/i386/configure.in: ...here.
31041 * sysdeps/i386/elf/configure.in: Delete file.
31042 * sysdeps/i386/elf/configure: Delete file.
31043
31044 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31045 * debug/backtracesyms.c: ... here.
31046 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31047 * debug/backtracesymsfd.c: ... here.
31048 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31049 * sysdeps/generic/ifunc-sel.h: ... here.
31050
31051 * sysdeps/unix/i386/start.c: Delete file.
31052 * sysdeps/unix/sparc/start.c: Delete file.
31053 * sysdeps/unix/start.c: Delete file.
31054
31055 * sysdeps/sh/elf/configure.in: Moved to ...
31056 * sysdeps/sh/configure.in: ... here.
31057 * sysdeps/sh/elf/start.S: Moved to ...
31058 * sysdeps/sh/start.S: ... here.
31059 * sysdeps/sh/elf/configure: Delete file.
31060
31061 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31062 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31063 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31064 * sysdeps/powerpc/powerpc64/entry.h: ... here.
31065 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31066 * sysdeps/powerpc/powerpc64/start.S: here.
31067 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31068 * sysdeps/powerpc/powerpc64/Makefile: ... this.
31069 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31070 * sysdeps/powerpc/powerpc64/configure.in: ... this.
31071 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31072
31073 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31074 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31075 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31076 * sysdeps/powerpc/powerpc32/start.S: ... here.
31077 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31078 * sysdeps/powerpc/powerpc32/configure.in: ... this.
31079 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31080
31081 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31082 * sysdeps/powerpc/ifunc-sel.h: ... here.
31083 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31084 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31085
31086 * sysdeps/sparc/elf/configure.in: Moved to ...
31087 * sysdeps/sparc/configure.in: ... here.
31088 * sysdeps/sparc/elf/configure: Delete file.
31089 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31090 * sysdeps/sparc/sparc32/start.S: ... here.
31091 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31092 * sysdeps/sparc/sparc64/start.S: ... here.
31093 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31094 * sysdeps/sparc/sparc32/Makefile: ... this.
31095 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31096 * sysdeps/sparc/sparc64/Makefile: ... this.
31097
31098 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31099 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31100 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31101 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31102 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31103 * sysdeps/s390/s390-32/setjmp.S: ... here.
31104 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31105 * sysdeps/s390/s390-32/configure.in: ... here.
31106 * sysdeps/s390/s390-32/elf/configure: Delete file.
31107 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31108 * sysdeps/s390/s390-32/start.S: ... here.
31109
31110 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31111 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31112 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31113 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31114 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31115 * sysdeps/s390/s390-64/setjmp.S: ... here.
31116 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31117 * sysdeps/s390/s390-64/configure.in: ... here
31118 * sysdeps/s390/s390-64/elf/configure: Delete file.
31119 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31120 * sysdeps/s390/s390-64/start.S: ... here.
31121 * sysdeps/s390/s390-64/elf/configure: Delete.
31122
31123 * configure.in: Remove support for elf directories in sysdeps.
31124
31125 * configure: Regenerated.
31126 * sysdeps/i386/configure: Regenerated.
31127 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31128 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31129 * sysdeps/s390/s390-32/configure: Regenerated.
31130 * sysdeps/s390/s390-64/configure: Regenerated.
31131 * sysdeps/sh/configure: Regenerated.
31132 * sysdeps/sparc/configure: Regenerated.
31133 * sysdeps/x86_64/configure: Regenerated.
31134
a3f61311
AS
311352012-03-26 Andreas Schwab <schwab@linux-m68k.org>
31136
c876e002
AS
31137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31138
a3f61311
AS
31139 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31140 denormal result into account.
31141
ac4c54f0
RM
311422012-03-25 Roland McGrath <roland@hack.frob.com>
31143
31144 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31145 Reported by Allan McRae <allan@archlinux.org>.
31146
6a9b9c02
JL
311472012-03-23 Jeff Law <law@redhat.com>
31148
31149 * nss/getnssent.c (__nss_getent): Fix typo.
31150
4c42a0c1
DM
311512012-03-23 David S. Miller <davem@davemloft.net>
31152
31153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31154
1532c7ac
L
311552012-03-23 H.J. Lu <hongjiu.lu@intel.com>
31156
31157 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31158 to pad to uint64_t for each field.
31159 (dl_tls_index): Replace unsigned long with uint64_t.
31160
3ff42526
PP
311612012-03-23 Daniel Jacobowitz <dmj@google.com>
31162 Paul Pluzhnikov <ppluzhnikov@google.com>
31163
31164 [BZ #6528]
31165 * grp/Makefile (otherlibs): Don't set it.
31166 * inet/Makefile (otherlibs): Likewise.
31167 * login/Makefile (otherlibs): Likewise.
31168 * nscd/Makefile (otherlibs): Likewise.
31169 * posix/Makefile (otherlibs): Likewise.
31170 * pwd/Makefile (otherlibs): Likewise.
31171 * rt/Makefile (otherlibs): Likewise.
31172 * sunrpc/Makefile (otherlibs): Likewise.
31173 * nss/Makefile (otherlibs): Likewise.
31174 Add libnss_files to routines and static-only-routines.
31175 ($(objpfx)getent): Remove rule.
31176 * resolv/Makefile: Add libnss_dns and libresolv to routines and
31177 static-only-routines.
31178
7c69cd14
JM
311792012-03-22 Joseph Myers <joseph@codesourcery.com>
31180
31181 [BZ #13892]
31182 * math/s_cexp.c: Include <float.h>.
31183 (__cexp): Handle exp result overflowing not necessarily
31184 overflowing both real and imaginary parts of result.
31185 * math/s_cexpf.c: Likewise.
31186 * math/s_cexpl.c: Likewise.
31187 * math/libm-test.inc (cexp_test): Add more tests.
31188 * sysdeps/i386/fpu/libm-test-ulps: Update.
31189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31190
81b035fe
L
311912012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31192
31193 * include/link.h (ELFW): New macro.
31194 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31195 Replace ELF64_R_TYPE with ELFW(R_TYPE).
31196
1da7940c
L
311972012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31198
31199 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31200 with uint64_t.
31201
b749dbb9
L
312022012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31203
31204 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31205 declaration.
31206 (struct La_x32_retval): Likewise.
31207
2ff87f3f
L
312082012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31209
31210 * sysdeps/x86_64/preconfigure.in: New file.
31211 * sysdeps/x86_64/preconfigure: New generated file.
31212
c0df8e69
JM
312132012-03-22 Joseph Myers <joseph@codesourcery.com>
31214
48e44791
JM
31215 [BZ #13824]
31216 * math/e_exp2l.c: Include <float.h>.
31217 (__ieee754_exp2l): Handle overflow and underflow cases
31218 separately. Only pass fractional part of argument to
31219 __ieee754_expl.
31220 * math/libm-test.inc (exp2_test): Add more tests.
31221
c0df8e69
JM
31222 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31223 negating x to take absolute value.
31224 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31225 Likewise.
31226 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31227 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31228 Likewise.
31229 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31230 computing low part if x was negated.
31231 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31232
c8e43ba7
L
312332012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31234
31235 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31236 la_x32_gnu_pltexit.
31237 (pltexit): Cast int_retval to ptrdiff_t.
31238 * elf/tst-auditmod3b.c: Likewise.
31239 * elf/tst-auditmod4b.c: Likewise.
31240 * elf/tst-auditmod5b.c: Likewise.
31241 * elf/tst-auditmod6b.c: Likewise.
31242 * elf/tst-auditmod6c.c: Likewise.
31243 * elf/tst-auditmod7b.c: Likewise.
31244
31245 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31246 and x32_gnu_pltexit.
31247
31248 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31249 __ELF_NATIVE_CLASS.
31250 (La_x32_regs): New macro.
31251 (La_x32_retval): Likewise.
31252 (la_x32_gnu_pltenter): New function prototype.
31253 (la_x32_gnu_pltexit): Likewise.
31254
7998fa78
AS
312552012-03-21 Andreas Schwab <schwab@linux-m68k.org>
31256
dcb33988
AS
31257 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31258 exponent.
31259
233fc563
AS
31260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31261
7998fa78
AS
31262 * configure.in (libc_cv_cc_nofma): Check for option to disable
31263 generation of FMA instructions.
31264 * configure: Regenerate.
31265 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31266 * sysdeps/ieee754/dbl-64/Makefile: New file.
31267 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31268 Remove brandred-fma4.
31269 (CFLAGS-brandred-fma4.c): Remove.
31270 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31271 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31272 define.
31273 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31274 define.
31275
8e95c99a
L
312762012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31277
31278 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31279 LLONG_MAX != LONG_MAX.
31280 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31281 (_fitoa_word): Likewise.
31282 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31283 LLONG_MAX != LONG_MAX.
31284 * stdio-common/_itowa.h: Include <_itoa.h>.
31285 (_itowa_word): Use _ITOA_WORD_TYPE on value.
31286 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
31287 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
31288 only if not defined.
31289 (_ITOA_WORD_TYPE): Likewise.
31290 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31291 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31292
6f4db457
DM
312932012-03-21 David S. Miller <davem@davemloft.net>
31294
31295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31296
7785fe5a
L
312972012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31298
31299 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31300 of x86_64 when setting libc_cv_slibdir, libdir and
31301 libc_cv_localedir.
31302 * sysdeps/unix/sysv/linux/configure: Regenerated.
31303
4535cd55
JM
313042012-03-21 Joseph Myers <joseph@codesourcery.com>
31305
31306 * manual/lang.texi (Old Varargs): Remove section.
31307 (How Variadic): Update menu.
31308 (va_start): Do not mention varargs.h.
31309
17228132
TS
313102012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31311 Joseph Myers <joseph@codesourcery.com>
31312
31313 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
31314 link test.
31315 * configure: Regenerated.
31316
8149f976
TS
313172012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31318
05f3d1f6
UD
31319 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
31320 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31321 conformtest.pl
8149f976 31322
1a4ac776
JM
313232012-03-21 Joseph Myers <joseph@codesourcery.com>
31324
be22ce65
JM
31325 * NOTES: Remove.
31326 * Makefile (files-for-dist): Remove NOTES.
31327 (NOTES): Remove rule.
31328 * README: Don't refer to NOTES.
31329 * manual/creature.texi: Don't include macros.texi.
31330 * manual/intro.texi (creature.texi): Remove comment referring to
31331 NOTES.
31332
40b601fb
JM
31333 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
31334 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
31335 * configure: Regenerated.
31336 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
31337 LIBC_TRY_CC_OPTION.
31338 (libc_cv_as_i686): Likewise.
31339 (libc_cv_cc_avx): Likewise.
31340 (libc_cv_cc_sse2avx): Likewise.
31341 (libc_cv_cc_fma4): Likewise.
31342 (libc_cv_cc_novzeroupper): Likewise.
31343 * sysdeps/i386/configure: Regenerated.
31344
1a4ac776
JM
31345 [BZ #13883]
31346 * sysdeps/i386/fpu/s_cexp.S: Remove.
31347 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31348 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31349 * math/libm-test.inc (cexp_test): Add more tests.
31350 * sysdeps/i386/fpu/libm-test-ulps: Update.
31351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31352
a458e7fe
AM
313532012-03-21 Allan McRae <allan@archlinux.org>
31354
31355 * timezone/Makefile: Do not install iso3166.tab and zone.tab
31356
0cb7efc5
JM
313572012-03-21 Joseph Myers <joseph@codesourcery.com>
31358
31359 [BZ #13871]
31360 * math/w_exp2.c: Do not include <float.h>.
31361 (o_threshold, u_threshold): Remove.
31362 (__exp2): Calculate result before checking finiteness and calling
31363 __kernel_standard.
31364 * math/w_exp2f.c: Likewise.
31365 * math/w_exp2l.c: Likewise.
31366 * math/libm-test.inc (exp2_test): Require overflow exception for
31367 1e6 input.
2460d3aa
JM
31368
31369 [BZ #3866]
31370 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
31371 range of signed 64-bit integers before using fistpll. Remove
31372 checks for whether integers fit in mantissa bits.
31373 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
31374 the range of signed 32-bit integers before using fistpl. Remove
31375 checks for whether integers fit in mantissa bits.
31376 * sysdeps/i386/fpu/e_powl.S (p64): New object.
31377 (__ieee754_powl): Test for y outside the range of signed 64-bit
31378 integers before using fistpll. Reduce 64-bit values to 63-bit
31379 ones as needed.
31380 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
31381 divide-by-zero is raised for zero to large negative powers.
31382 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
31383 (__ieee754_powl): Test for y outside the range of signed 64-bit
31384 integers before using fistpll. Reduce 64-bit values to 63-bit
31385 ones as needed.
31386 * math/libm-test.inc (pow_test): Add more tests.
31387
eb96ffb0
L
313882012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31389
31390 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
31391 <stdio-common/_itoa.h>.
31392 * debug/segfault.c: Likewise.
31393 * elf/dl-cache.c: Likewise.
31394 * elf/dl-minimal.c: Likewise.
31395 * elf/dl-misc.c: Likewise.
31396 * elf/dl-sysdep.c: Likewise.
31397 * elf/dl-version.c: Likewise.
31398 * elf/rtld.c: Likewise.
31399 * hurd/hurdsock.c: Likewise.
31400 * hurd/lookup-retry.c: Likewise.
31401 * malloc/malloc.c: Likewise.
31402 * malloc/mtrace.c: Likewise.
31403 * nscd/nscd_getgr_r.c: Likewise.
31404 * nscd/nscd_getpw_r.c: Likewise.
31405 * nscd/nscd_getserv_r.c: Likewise.
31406 * posix/getopt_init.c: Likewise.
31407 * posix/wordexp.c: Likewise.
31408 * stdio-common/_itoa.c: Likewise.
31409 * stdio-common/printf_fphex.c: Likewise.
31410 * stdio-common/vfprintf.c: Likewise.
31411 * string/_strerror.c: Likewise.
31412 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
31413 * sysdeps/i386/i686/hp-timing.h: Likewise.
31414 * sysdeps/mach/_strerror.c: Likewise.
31415 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
31416 * sysdeps/mach/hurd/sethostid.c: Likewise.
31417 * sysdeps/mach/hurd/xmknodat.c: Likewise.
31418 * sysdeps/mach/xpg-strerror.c: Likewise.
31419 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31420 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31421 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
31422 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
31423 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31424 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
31425 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31426 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31427 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
31428 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
31429 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
31430 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31431 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
31432 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31433 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31434 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
31435 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
31436 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
31437 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31438 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31439 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
31440
31441 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
31442
31443 * stdio-common/_itoa.h: Moved to ...
31444 * sysdeps/generic/_itoa.h: Here.
31445
31446 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
31447
31448 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
31449 instead of "_itoa.h" and "_itowa.h".
31450 * stdio-common/vfprintf.: Likewise.
31451
d1af992d
L
314522012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31453
31454 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
31455 <bits/wordsize.h>.
31456 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
31457 (__signbit): Likwise.
31458 (llrintf): Likwise.
31459 (llrint): Likwise.
31460
114883e0
L
314612012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31462
31463 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
31464 __WORDSIZE != 64.
31465
c135cc1b
JM
314662012-03-20 Joseph Myers <joseph@codesourcery.com>
31467
31468 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
31469 OVERFLOW_EXCEPTION_OK.
31470 * math/libm-test.inc ("Philosophy"): Update comment about
31471 exception testing.
31472 (OVERFLOW_EXCEPTION): Define.
31473 (OVERFLOW_EXCEPTION_OK): Likewise.
31474 (INVALID_EXCEPTION_OK): Renumber.
31475 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31476 (IGNORE_ZERO_INF_SIGN): Likewise.
31477 (test_exceptions): Handle FE_OVERFLOW.
31478 (exp10_test): Expect overflow exceptions.
31479 (exp2_test): Likewise.
31480 (expm1_test): Likewise.
31481 (nextafter_test): Likewise.
31482 (pow_test): Likewise.
31483 (scalbn_test): Likewise.
31484 (scalbln_test): Likewise.
31485
95443d88
L
314862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31487
31488 * sysdeps/x86_64/bits/atomic.h
31489 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
31490 64bit integer.
31491 (atomic_exchange_acq): Likewise.
31492 (__arch_exchange_and_add_body): Likewise.
31493 (__arch_add_body): Likewise.
31494 (atomic_add_negative): Likewise.
31495 (atomic_add_zero): Likewise.
31496
490df6c4
L
314972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31498
c2722551 31499 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
31500 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
31501
5e52b189
L
315022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31503
31504 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
31505 Check __x86_64__ instead of __WORDSIZE.
31506
a9879d4c
L
315072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31508
31509 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
31510
5df98260
DM
315112012-03-19 David S. Miller <davem@davemloft.net>
31512
e1497744
DM
31513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31514
5df98260
DM
31515 * sysdeps/sparc/fpu/fenv_private.h: New file.
31516 * sysdeps/sparc/fpu/math_private.h: Use it.
31517 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
31518 Remove.
31519 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
31520 (libc_feholdexcept_setroundl): Remove.
31521 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
31522 Remove.
31523 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
31524 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
31525
b4c35121
L
315262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31527
31528 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
31529 int64_t instead of long int.
31530 (INSERT_WORDS64): Likwise.
31531
56965fd7
L
315322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31533
31534 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
31535 _Unwind_GetCFA return to _Unwind_Ptr first.
31536
83d1aec8
JM
315372012-03-19 Joseph Myers <joseph@codesourcery.com>
31538
1897ad44
JM
31539 [BZ #13629]
31540 * math/s_clog.c: Include <float.h>.
31541 (__clog): Scale large or subnormal inputs.
31542 * math/s_clogf.c: Likewise.
31543 * math/s_clogl.c: Likewise.
31544 * math/s_clog10.c: Include <float.h>.
31545 (M_LOG10_2): Define.
31546 (__clog10): Scale large or subnormal inputs.
31547 * math/s_clog10f.c: Likewise.
31548 * math/s_clog10l.c: Likewise.
31549 * math/libm-test.inc (clog_test): Add more tests.
31550 (clog10_test): Likewise.
31551 * sysdeps/i386/fpu/libm-test-ulps: Update.
31552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31553
7726d6a9
JM
31554 [BZ #11451]
31555 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
31556 x and y.
31557 * math/libm-test.inc (atan2_test): Add another test.
31558
83d1aec8
JM
31559 * Makerules (common-objdir-compile): Remove.
31560 * sysdeps/unix/Makefile (config-generated): Do not add
31561 $(unix-generated) to variable.
31562 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
31563 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
31564 Remove rule.
31565 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
31566 Likewise.
31567 [generic bits/local_lim.h] (before-compile): Do not append to
31568 variable.
31569 [generic bits/local_lim.h] (common-generated): Likewise.
31570 [generic sys/param.h] (before-compile): Do not append to variable.
31571 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
31572 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
31573 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
31574 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
31575 include.
31576 [generic sys/param.h] (sys/param.h-includes): Remove variable.
31577 [generic sys/param.h] (sys/param.h-includes): Remove rule.
31578 [generic sys/param.h] ($(addprefix
31579 $(common-objpfx),$(sys/param.h-includes))): Likewise.
31580 [generic sys/param.h] (common-generated): Do not append to
31581 variable.
31582 [generic sys/param.h] (sysdep_headers): Likewise.
31583 [generic bits/errno.h] (before-compile): Do not append to
31584 variable.
31585 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
31586 rule.
31587 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
31588 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
31589 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
31590 [generic bits/errno.h] (common-generated): Do not append to
31591 variable.
31592 [generic bits/ioctls.h] (before-compile): Do not append to
31593 variable.
31594 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
31595 rule.
31596 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
31597 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
31598 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
31599 rule.
31600 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
31601 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
31602 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
31603 [generic bits/ioctls.h] (common-generated): Do not append to
31604 variable.
31605 [generic sys/syscall.h] (syscall.h): Remove variable.
31606 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
31607 rule.
31608 [generic sys/syscall.h] (before-compile): Do not append to
31609 variable.
31610 [generic sys/syscall.h] (common-generated): Likewise.
31611 * sysdeps/unix/errnos-tmpl.c: Remove file.
31612 * sysdeps/unix/errnos.awk: Likewise.
31613 * sysdeps/unix/ioctls-tmpl.c: Likewise.
31614 * sysdeps/unix/ioctls.awk: Likewise.
31615 * sysdeps/unix/mk-local_lim.c: Likewise.
31616 * sysdeps/unix/snarf-ioctls: Likewise.
31617
4851a949
RH
316182012-03-19 Richard Henderson <rth@twiddle.net>
31619
bd37f2ee
RH
31620 * sysdeps/i386/fpu/fenv_private.h: New file.
31621 * sysdeps/i386/fpu/math_private.h: Use it.
31622 (math_opt_barrier, math_force_eval): Remove.
31623 (libc_feholdexcept_setround_53bit): Remove.
31624 (libc_feupdateenv_53bit): Remove.
31625 * sysdeps/x86_64/fpu/math_private.h: Likewise.
31626 (math_opt_barrier, math_force_eval): Remove.
31627 (libc_feholdexcept): Remove.
31628 (libc_feholdexcept_setround): Remove.
31629 (libc_fetestexcept, libc_fesetenv): Remove.
31630 (libc_feupdateenv_test): Remove.
31631 (libc_feupdateenv, libc_feholdsetround): Remove.
31632 (libc_feresetround): Remove.
31633
d0adc922
RH
31634 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
31635 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
31636
0fe0f1f8
RH
31637 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
31638 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
31639 (libc_feupdateenv_testl): New.
31640 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
31641 (libc_feupdateenv_testf): New.
31642 (libc_feupdateenv): Use libc_feupdateenv_test.
31643 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
31644 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
31645
eb92c487
RH
31646 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
31647 (libc_feholdsetroundf, libc_feholdsetroundl): New.
31648 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
31649 (libc_feresetround_noex): New.
31650 (libc_feresetround_noexf): New.
31651 (libc_feresetround_noexl): New.
31652 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
31653 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
31654 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
31655 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
31656 SET_RESTORE_ROUND.
31657 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31658 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
31659 (__cos): Likewise.
31660 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
31661 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
31662 SET_RESTORE_ROUND_NOEX.
31663 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
31664 SET_RESTORE_ROUND_NOEXF.
31665 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
31666 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
31667 (libc_feholdsetroundf): New.
31668 (libc_feresetround, libc_feresetroundf): New.
31669
7d2e8012
RH
31670 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
31671 (libc_feholdexcept_setround_53bit): Convert from macro to function.
31672 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
31673
b4dabbb4
RH
31674 * sysdeps/generic/math_private.h: Include <fenv.h>.
31675 (default_libc_feholdexcept): New.
31676 (default_libc_feholdexcept_setround): New.
31677 (default_libc_fesetenv, default_libc_feupdateenv): New.
31678 (libc_feholdexcept): Only define if undefined.
31679 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
31680 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
31681 (libc_feholdexcept_setroundl): Likewise.
31682 (libc_feholdexcept_setround_53bit): Likewise.
31683 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
31684 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
31685 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
31686 (libc_feupdateenv_53bit): Likewise.
31687 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
31688 (libc_feholdexcept): Convert from macro to inline function.
31689 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
31690 (libc_fesetenv, libc_feupdateenv): Likewise.
31691
4851a949
RH
31692 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
31693 not previously defined.
31694 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
31695 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
31696 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
31697 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
31698 * sysdeps/ieee754/flt-32/math_private.h: New file.
31699 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
31700 math_private.h below SET_FLOAT_WORD.
31701 (__isnan, __isinf_ns, __finite): Remove.
31702 (__isnanf, __isinf_nsf, __finitef): Remove.
31703
e79d442e
AS
317042012-03-18 Andreas Schwab <schwab@linux-m68k.org>
31705
31706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31707
90b80344
DM
317082012-03-17 David S. Miller <davem@davemloft.net>
31709
31710 [BZ #6471]
31711 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
31712 for 2.16.
31713
edc21804
DM
317142012-03-16 David S. Miller <davem@davemloft.net>
31715
77e927af
DM
31716 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
31717 warnings.
31718
374976dd
DM
31719 [BZ #6471]
31720 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
31721 properly.
31722 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
31723 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
31724 sysdep_routines when subdir is sysvipc.
31725 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
31726 __getshmlba helper.
31727
edc21804
DM
31728 * sysdeps/sparc/fpu/libm-test/ulps: Update.
31729
473c3ef3
L
317302012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31731
31732 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
31733 [__LP64__].
31734
eb0f39b6
L
317352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31736
31737 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
31738 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
31739 (__lround): Renamed to ...
31740 (__llround): This. Replace long int with long long int.
31741 Define lround functions as aliases of llround functions.
31742 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
31743
6b6cd74b
L
317442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31745
31746 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
31747 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
31748 adresses to uintptr_t. Replace "long int" and "unsigned long
31749 int" with "greg_t" on va_arg.
31750
f1a77b01
L
317512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31752
31753 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
31754 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
31755
31756 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
31757 Move e_machine check before EI_CLASS check. Handle x32
31758 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
31759 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
31760 SKIP_EM_IA_64 and include
31761 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
31762
31763 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
31764 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
31765 (add_system_dir): New macro.
31766
31767 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
31768 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
31769
11b90b9f
JM
317702012-03-16 Joseph Myers <joseph@codesourcery.com>
31771
c36e1d23
JM
31772 [BZ #2551]
31773 [BZ #2552]
31774 [BZ #2553]
31775 [BZ #2554]
31776 [BZ #2562]
31777 [BZ #2563]
31778 [BZ #2565]
31779 [BZ #2566]
31780 [BZ #2576]
31781 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
31782 (y0): Likewise.
31783 * math/w_j0f.c (j0f): Likewise.
31784 (y0f): Likewise.
31785 * math/w_j0l.c (__j0l): Likewise.
31786 (__y0l): Likewise.
31787 * math/w_j1.c (j1): Likewise.
31788 (y1): Likewise.
31789 * math/w_j1f.c (j1f): Likewise.
31790 (y1f): Likewise.
31791 * math/w_j1l.c (__j1l): Likewise.
31792 (__y1l): Likewise.
31793 * math/w_jn.c (jn): Likewise.
31794 (yn): Likewise.
31795 * math/w_jnf.c (jnf): Likewise.
31796 (ynf): Likewise.
31797 * math/w_jnl.c (__jnl): Likewise.
31798 (__ynl): Likewise.
31799 * math/libm-test.inc (j0_test): Add more tests.
31800 (j1_test): Likewise.
31801 (jn_test): Likewise. Add trailing semicolon to existing test.
31802 (y0_test): Likewise.
31803 (y1_test): Likewise.
31804 * sysdeps/i386/fpu/libm-test-ulps: Update.
31805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31806
11b90b9f
JM
31807 [BZ #13851]
31808 [BZ #13854]
31809 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
31810 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
31811 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
31812 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
31813 (__tanl): Set errno for infinite argument.
31814 * sysdeps/i386/fpu/mptan.c: Remove.
31815 * sysdeps/i386/fpu/s_tan.S: Likewise.
31816 * sysdeps/i386/fpu/s_tanl.S: Likewise.
31817 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
31818 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
31819 * math/libm-test.inc (tan_test): Add more tests and enable more
31820 tests for double and long double.
31821 * sysdeps/i386/fpu/libm-test-ulps: Update.
31822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31823
6a1bd2a1
JK
318242012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
31825
31826 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
31827 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
31828
10a803e0
RM
318292012-03-16 Roland McGrath <roland@hack.frob.com>
31830
31831 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
31832 * configure.in: Use it for both main tree and add-ons.
31833 * configure: Regenerated.
31834
f196c7f7
L
318352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31836
31837 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
31838
8848d99d
JM
318392012-03-16 Joseph Myers <joseph@codesourcery.com>
31840
96cbe7f4
JM
31841 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
31842 in comment.
31843
8848d99d
JM
31844 [BZ #13851]
31845 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
31846 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
31847 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
31848 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
31849 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
31850 infinite argument.
31851 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
31852 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
31853 != 0 for prec == 2.
31854 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
31855 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
31856 * sysdeps/i386/fpu/s_cosl.S: Likewise.
31857 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
31858 * sysdeps/i386/fpu/s_sinl.S: Likewise.
31859 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
31860 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
31861 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
31862 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
31863 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
31864 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
31865 * math/libm-test.inc (cos_test): Add more tests and enable more
31866 tests for long double.
31867 (sin_test): Likewise.
31868 (sincos_test): Likewise.
31869 * sysdeps/i386/fpu/libm-test-ulps: Update.
31870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31871
dd7f4703
DM
318722012-03-16 David S. Miller <davem@davemloft.net>
31873
31874 * sysdeps/sparc/fpu/math_private.h: New file.
31875
006f1daa
DM
318762012-03-15 David S. Miller <davem@davemloft.net>
31877
c0c83bc8
DM
31878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
31879 file.
e6a62e18 31880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
31881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
31882 file.
e6a62e18
DM
31883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
31884 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
31885 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
31886 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
31887 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
31888 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
31889 sysdep routines.
31890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
31891
88cb87d9
DM
31892 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
31893 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
31894
006f1daa 31895 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
31896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
31897 sparc-ifunc.h
006f1daa 31898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
31899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31900 Likewise.
31901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
31902 Likewise.
006f1daa
DM
31903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
31904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
31905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
31906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31907 Likewise.
006f1daa
DM
31908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
31910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
31912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
31913 Likewise.
31914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
31915 Likewise.
006f1daa
DM
31916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
31918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
31919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
31920 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31921 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31922 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
31923 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
31924 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31925 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31926 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
31927 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
31928 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
31929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
31930 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
31931 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
31932 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
31933 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
31934 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
31935 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
31936 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
31937 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
31938 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
31939 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
31940
11e0098e
AS
319412012-03-15 Andreas Schwab <schwab@linux-m68k.org>
31942
31943 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
31944 scaling.
31945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31946
e85b09d0
AJ
319472012-03-15 Andreas Jaeger <aj@suse.de>
31948
31949 [BZ #13852]
31950 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
31951 ieee754/flt-32 implementation for sin, cos and sincos.
31952 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
31953 * sysdeps/i386/fpu/s_cosf.S: Likewise.
31954 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
31955 * sysdeps/i386/fpu/s_sinf.S: Likewise.
31956 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
31957 ieee754/flt-32 implementation for tan.
31958
31959 * math/libm-test.inc (cos_test): Enable some large input tests for
31960 float as well
31961 (sin_test): Likewise.
31962 (sincos_test): Likewise.
31963 (tan_test): Add tests for large input.
31964
31965 * sysdeps/i386/fpu/libm-test-ulps: Update.
31966
81c64153
AJ
319672012-03-15 Andreas Jaeger <aj@suse.de>
31968
31969 [BZ #13658]
31970 * math/libm-test.inc (cos_test): Add more test cases.
31971 (sin_test): Likewise.
31972 (sincos_test): Likewise.
31973
7bbfa5c6
AJ
319742012-03-15 Andreas Jaeger <aj@suse.de>
31975
31976 [BZ #13837]
31977 * math/libm-test.inc (cos_test): Add a test case for large input
31978 value.
31979 (sin_test): Likewise.
31980 (sincos_test): Likewise.
31981
319822012-03-15 Andreas Jaeger <aj@suse.de>,
31983 Joseph Myers <joseph@codesourcery.com>
31984
31985 [BZ #13658]
0671f479 31986 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
31987 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
31988 * sysdeps/i386/fpu/branred.c: Likewise.
31989 * sysdeps/i386/fpu/dosincos.c: Likewise.
31990 * sysdeps/i386/fpu/mpa.c: Likewise.
31991 * sysdeps/i386/fpu/s_cos.S: Likewise.
31992 * sysdeps/i386/fpu/s_sin.S: Likewise.
31993 * sysdeps/i386/fpu/s_sincos.S: Likewise.
31994 * sysdeps/i386/fpu/sincos32.c: Likewise.
31995
31996 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
31997 Define.
31998 (libc_feupdateenv_53bit): Define.
31999 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32000 Define.
32001 (libc_feupdateenv_53bit): Define.
32002
32003 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32004 53 bit (without extend i386 double precision).
32005
32006 * math/libm-test.inc (sincos_test): Add tests for large input.
32007 (sin): Likewise.
32008 (cos): Likewise.
32009
32010 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32011
9cad04ea
AS
320122012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32013
32014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32015
f7062b9a
DM
320162012-03-15 David S. Miller <davem@davemloft.net>
32017
32018 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32019 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32020 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32021 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32026 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32027 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
32033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32034 file.
f7062b9a 32035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
32036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32037 file.
f7062b9a 32038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
32039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32040 file.
f7062b9a 32041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
32042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32043 file.
f7062b9a
DM
32044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32045 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32046 fmin/fmax sysdep routines.
32047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32048
7bd951ff
DM
320492012-03-14 David S. Miller <davem@davemloft.net>
32050
559398ab
DM
32051 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32052 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32053 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32054 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32055 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32056 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32057 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32058 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32059 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32060 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32061 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32062 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32063 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32064 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32065 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32066 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32067 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32068 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32069 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32070 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32071 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32072 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32073 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32074 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32075 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32076 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32077 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32078 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32079 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32080 routines.
32081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32082 file.
559398ab 32083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
32084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32085 file.
559398ab 32086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
32087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32088 file.
559398ab 32089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
32090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32091 file.
559398ab 32092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
32093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32094 file.
559398ab 32095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
32096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32097 file.
32098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32099 file.
32100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32101 file.
32102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32103 file.
32104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32105 New file.
32106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32107 file.
32108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32109 file.
559398ab 32110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
32111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32112 file.
559398ab 32113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32115 file.
559398ab 32116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
32117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32118 file.
559398ab 32119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
32120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32121 VIS3 routines.
559398ab
DM
32122
32123 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32124 New file.
32125
5a1c1e32
DM
32126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32127
eae47a36
DM
32128 * sysdeps/sparc/configure.in: New file.
32129 * sysdeps/sparc/configure: Generate.
32130 * configure.in (libc_cv_sparc_as_vis3): Substitute.
32131 * configure: Regenerate.
32132 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32133 * config.make.in (have-as-vis3): New.
32134 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32135 available use -Av9d instead of -Av9a.
32136 * sysdeps/sparc/sparc64/Makefile: Likewise.
32137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
32138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32139 New file.
32140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32141 file.
32142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32143 New file.
32144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32145 file.
eae47a36
DM
32146 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32147 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32148 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32149 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32150 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32151
c0c83bc8
DM
32152 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32153 fzeros/fnegs to load 0x80000000 into a float register instead of
32154 using the stack.
7bd951ff
DM
32155 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32156
bd951ccb
JM
321572012-03-14 Joseph Myers <joseph@codesourcery.com>
32158
32159 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32160 bits/syscall.h.
32161 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32162 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32163 ($(inst_includedir)/bits/syscall.h): Remove rule.
32164 ($(objpfx)bits/syscall.d): Include instead of
32165 $(objpfx)syscall-list.d.
32166 (generated): Change syscall-list.h and syscall-list.d to
32167 bits/syscall.h and bits/syscall.d.
32168
bb4e6db2
RM
321692012-03-14 Roland McGrath <roland@hack.frob.com>
32170
32171 [BZ #13846]
32172 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32173
aa4a2ae1
JM
321742012-03-14 Joseph Myers <joseph@codesourcery.com>
32175
e456826d
JM
32176 [BZ #13841]
32177 * math/s_csqrt.c: Include <float.h>.
32178 (__csqrt): Scale large or subnormal inputs.
32179 * math/s_csqrtf.c: Likewise.
32180 * math/s_csqrtl.c: Likewise.
32181 * math/libm-test.inc (csqrt_test): Add more tests.
32182 * sysdeps/i386/fpu/libm-test-ulps: Update.
32183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32184
aa4a2ae1
JM
32185 [BZ #13840]
32186 * math/libm-test.inc (hypot_test): Add more tests.
32187
7c10fd35
DM
321882012-03-13 David S. Miller <davem@davemloft.net>
32189
32190 [BZ #13840]
32191 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32192 double-precision for the calculation instead of scaling.
32193
f453b98b
JM
321942012-03-13 Joseph Myers <joseph@codesourcery.com>
32195
32196 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32197 manipulate bits before adding and subtracting TWO52[sx].
32198 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32199 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32200 Likewise.
32201 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32202
09a3453f
DM
322032012-03-13 David S. Miller <davem@davemloft.net>
32204
8e59da90
DM
32205 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32206 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32207 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32208 rtld-global-offsets.h
32209 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32210
2a8ab7f2
DM
32211 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32212 large parameters.
32213
10f62770
DM
32214 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32215
5f0bdb18
DM
32216 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32217 'err' in the ifdef scope in which it is actually used.
32218
09a3453f
DM
32219 * nss/nss_db/db-init.c: Include string.h
32220
b4b2eb5e
DM
322212012-03-12 David S. Miller <davem@davemloft.net>
32222
98bb2f1c
DM
32223 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32224 masking out of the most significant byte of random value used.
32225 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32226 Fix coding style in previous change.
32227
b4b2eb5e
DM
32228 * sysdeps/unix/sysv/linux/kernel-features.h
32229 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32230 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32231 expression.
32232 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32233 later.
32234
6e226b09
DM
322352012-03-11 David S. Miller <davem@davemloft.net>
32236
a1bcbd40
DM
32237 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32238 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32239 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32240 for 'resultvar' otherwise things get truncated on 64-bit.
32241
cb9d6174
DM
32242 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32243 Fix masking out of the most significant byte of random value used.
32244
6e226b09
DM
32245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32246
058c132d
AS
322472012-03-10 Andreas Schwab <schwab@linux-m68k.org>
32248
32249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32250
2d2cd515
DM
322512012-03-09 David S. Miller <davem@davemloft.net>
32252
32253 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32254 variables with appropriate CPP guards.
32255 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32256 frame pointer, not the stack pointer. Correct layout comments. Fix test
32257 on resulting framesize and the management of the outregs buffer for pltexit.
32258 Preserve floating point return values across _dl_call_pltexit call.
32259 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32260 framesize and the management of the outregs buffer for pltexit.
32261 Preserve floating point return values across _dl_call_pltexit
32262 call.
32263 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32264 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32265 (print_exit): Fix format string for return register value.
32266
9a07f9d0
JM
322672012-03-10 Joseph Myers <joseph@codesourcery.com>
32268
32269 * sunrpc/Makefile (others): Add rpcgen.
32270 ($(objpfx)rpcgen): Remove special build rule and dependency on
32271 libc.
32272 * sunrpc/rpcgen.c: New file.
32273
547b5e30
PE
322742012-03-09 Paul Eggert <eggert@cs.ucla.edu>
32275
c524201a
PE
32276 [BZ #13673]
32277 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32278 * stdio-common/bug-vfprintf-nargs.c: Likewise.
32279 * sysdeps/i386/crti.S: Likewise.
32280 * sysdeps/i386/crtn.S: Likewise.
32281 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32282 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32283 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32284 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32285 * sysdeps/sh/crti.S: Likewise.
32286 * sysdeps/sh/crtn.S: Likewise.
32287 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32288
7b6235f2
PE
32289 [BZ #13673]
32290 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32291 with URL.
32292 * locale/programs/locfile-kw.gperf: Likewise.
32293 * locale/programs/charmap-kw.h: Regenerated.
32294 * locale/programs/locfile-kw.h: Likewise.
32295
547b5e30
PE
32296 [BZ #13673]
32297 * intl/plural.y: Replace FSF snail mail address with URL.
32298 * intl/plural.c: Regenerated.
32299
5f0a5dae
RH
323002012-03-09 Richard Henderson <rth@twiddle.net>
32301
32302 * include/math_private.h: Remove file.
32303 * math/math_private.h: Move file ...
32304 * sysdeps/generic/math_private.h: ... here.
32305
b8c03620
RH
32306 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32307 * sysdeps/powerpc/fpu/math_private.h: Likewise.
32308 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32309
4e234f5d 32310 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
32311 and <math_private.h>.
32312 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32313 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32314 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32315 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32316 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32317 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32318 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32319 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32320 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32321 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32322 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32323 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32324 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32325 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32326 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32327 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32328 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32329 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32330 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32331 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32332 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32333 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32334 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32335 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32336 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32337 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32338 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32339 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32340 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32341 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32342 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32343 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32344 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32345 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32346 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32347 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32348 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32349 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32350 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32351 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32352 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
32353 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32354 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32355 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32356 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32357 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32358 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
32359 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32360 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32361 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32362 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32363 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
32364 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32365 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32366 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32367 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32368 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32369 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32370 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32371 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
32372 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32373 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32374 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32375 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32376 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
32377 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32378 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32379 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32380 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
32381 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
32382 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32383 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32384 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32385 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32386 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
32387 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
32388 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
32389 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32390 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
32391 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
32392 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32393 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
32394 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32395 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32396 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32397 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32398 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
32399 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
32400 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32401 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32402 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32403 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32404 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32405 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32406 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32407 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32408 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32409 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32410 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32411 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32412 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32413 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32414 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32415 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32416 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32417 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32418 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32419 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32420 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32421 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32422 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32423 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32424 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32425 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32426 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
32427 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32428 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32429 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32430 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32431 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32432 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32433 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32434 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32435 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
32436 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32437 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32438 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32439 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
32440 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32441 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
32442 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
32443 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32444 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32445 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
32446 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
32447 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32448 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32449 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32450 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
32451 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32452 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32453 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32454 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32455 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
32456 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
32457 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32458 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32459 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32460 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
32461 * sysdeps/ieee754/k_standard.c: Likewise.
32462 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32463 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32464 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32465 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32466 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32467 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32468 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32469 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32470 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32471 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32472 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32473 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32474 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32475 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32476 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32477 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32478 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32479 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32480 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32481 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
32482 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
32483 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
32484 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32485 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32486 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32487 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
32488 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32489 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32490 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32491 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32492 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32493 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32494 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32495 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32496 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32497 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32498 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32499 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
32500 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
32501 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32502 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32503 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32504 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32505 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32506 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32507 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32508 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32509 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32510 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32511 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32512 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32513 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32514 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32515 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
32516 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32517 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32518 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
32519 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
32520 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32521 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32522 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32523 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32524 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32525 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32526 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32527 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32528 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32529 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32530 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32531 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32532 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32533 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32534 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32535 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32536 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32537 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32538 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
32539 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32540 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32541 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32542 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32543 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32544 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32545 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32546 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
32547 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32548 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32549 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32550 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32551 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32552 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
32553 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32554 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32555 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32556 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32557 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32558 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
32559 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32560 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32561 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
32562 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32563 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32564 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32565 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32566 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
32567 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32568 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32569 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32570 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
32571 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32572 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32573 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32574 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32575 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32576 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32577 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32578 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32579 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32580 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32581 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32582 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32583 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32584 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32585 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32586 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32587 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
32588 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32589 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32590 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32591 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32592 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32593 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32594 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32595 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
32596 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32597 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32598 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
32599 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
32600 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32601 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
32602 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
32603 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32604 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
32605 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
32606 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32607 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32608 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32609 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32610 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32611 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
32612 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32613 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32614 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32615 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32616 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
32617 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
32618 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32619 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32620 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32621 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
32622 * sysdeps/ieee754/s_lib_version.c: Likewise.
32623 * sysdeps/ieee754/s_matherr.c: Likewise.
32624 * sysdeps/ieee754/s_signgam.c: Likewise.
32625 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32626 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32627 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
32628 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
32629 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
32630 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32631 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
32632 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
32633 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
32634 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
32635 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32636 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
32637 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32638 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32639 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
32640 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32641 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32642 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32643 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32644 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32645 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 32646
1991fa03
JM
326472012-03-09 Joseph Myers <joseph@codesourcery.com>
32648
32649 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
32650 * sunrpc/rpc_main.c: Likewise.
32651 * sunrpc/rpc_svcout.c: Likewise.
32652
60d6f5a6
DM
326532012-03-09 David S. Miller <davem@davemloft.net>
32654
32655 * include/math_private.h: New file.
32656
4962050e
JM
326572012-03-09 Joseph Myers <joseph@codesourcery.com>
32658
02a6f887
JM
32659 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
32660 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
32661 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
32662 from <bits/socket_type.h>.
32663 (enum __socket_type): Don't define here.
32664 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
32665 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32666 bits/socket_type.h.
32667
c6e013c1
JM
32668 [BZ #13566]
32669 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
32670 checking __USE_GNU.
32671
4962050e
JM
32672 * Makerules ($(inst_includedir)/%.h): New rule.
32673 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
32674 (install-others): Remove variable setting.
32675 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
32676
38842f45
RH
326772012-03-08 Richard Henderson <rth@twiddle.net>
32678
67bb6da6
RH
32679 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
32680 from macro to inline function; merge with the
32681 !__LIBC_INTERNAL_MATH_INLINES version.
32682 (__ieee754_sqrtf): Likewise.
32683
15194b4b
RH
32684 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
32685 to inline function.
32686 (__rintf, __floor, __floorf): Likewise.
32687
64e21ede
RH
32688 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
32689 macro to inline function.
32690 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
32691
38842f45
RH
32692 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
32693 not <math/math_private.h>.
32694
c64bf5fe
DM
326952012-03-08 David S. Miller <davem@davemloft.net>
32696
32697 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
32698 copyright year.
32699 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
32700
82d86f28
TS
327012012-03-08 Thomas Schwinge <thomas@codesourcery.com>
32702
32703 * resolv/gai_misc.c (handle_requests): Fix struct timespec
32704 normalization.
32705 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
32706 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32707
aea5d727
UD
327082012-03-08 Ulrich Drepper <drepper@gmail.com>
32709
32710 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
32711 be defined individually, they must be defined as a block. Define
32712 S for printing a string instead of hidint the different by using a
32713 macro for adding the 'l'.
32714 * stdio-common/tst-fphex-wide.c: Adjust.
32715
70bca0a3
MP
327162012-03-07 Marek Polacek <polacek@redhat.com>
32717
32718 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
32719
65b81130
MP
327202012-03-08 Marek Polacek <polacek@redhat.com>
32721
32722 [BZ #13806]
32723 * stdio-common/Makefile (tests): Add tst-fphex-wide.
32724 * stdio-common/tst-fphex.c: Define a few macros to make the
32725 test reusable. Use them.
32726 * stdio-common/tst-fphex-wide.c: New file.
32727
07037eeb
JM
327282012-03-08 Joseph Myers <joseph@codesourcery.com>
32729
a7a93d50
JM
32730 [BZ #6911]
32731 * manual/macros.texi (gnusystems): New macro.
32732 (nongnusystems): Likewise.
32733 (gnulinuxhurdsystems): Likewise.
32734 (gnuhurdsystems): Likewise..
32735 (gnulinuxsystems): Likewise.
32736 * manual/charset.texi: Use new macros or @theglibc{} to refer to
32737 variants of the GNU system, not "GNU system".
32738 * manual/conf.texi: Likewise.
32739 * manual/errno.texi: Likewise. Update example of errno macro
32740 expansion.
32741 * manual/filesys.texi: Likewise.
32742 (getumask): Document as specific to GNU/Hurd.
32743 * manual/install.texi: Likewise. Reword some references to
32744 GNU/Linux.
32745 * manual/intro.texi: Likewise.
32746 * manual/io.texi: Likewise.
32747 (File Name Portability): Detail which constraints are inapplicable
32748 to all GNU systems and which are only inapplicable to GNU/Hurd.
32749 * manual/job.texi: Likewise.
32750 * manual/llio.texi: Likewise.
32751 (O_NOCTTY): Document as present on GNU/Linux.
32752 * manual/maint.texi: Likewise.
32753 * manual/memory.texi: Likewise.
32754 * manual/pattern.texi: Likewise.
32755 * manual/pipe.texi: Likewise.
32756 * manual/process.texi: Likewise.
32757 * manual/resource.texi: Likewise.
32758 (RUSAGE_CHILDREN): Remove statement about specifying a particular
32759 child on GNU/Hurd.
32760 * manual/setjmp.texi: Likewise.
32761 * manual/signal.texi: Likewise.
32762 * manual/startup.texi: Likewise.
32763 * manual/stdio.texi: Likewise.
32764 * manual/terminal.texi: Likewise.
32765 (ONLCR): Document as POSIX.
32766 (OXTABS): Document availability on GNU/Linux as XTABS.
32767 (ONOEOT): Document availability separately from other bits.
32768 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
32769 * manual/time.texi: Likewise.
32770 * manual/users.texi: Likewise.
32771 * INSTALL: Regenerated.
32772 * sysdeps/gnu/errlist.c: Regenerated.
32773
07037eeb
JM
32774 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
32775 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
32776 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
32777 puts.
32778 * configure: Regenerated.
32779
d1d3431a
JM
327802012-03-07 Joseph Myers <joseph@codesourcery.com>
32781
af6a1e37
JM
32782 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
32783 default includes instead of AC_HEADER_CHECK.
32784 * sysdeps/i386/configure: Regenerated.
32785
d1d3431a
JM
32786 [BZ #10716]
32787 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
32788 * math/s_cacoshf.c (__cacoshf): Likewise.
32789 * math/s_cacoshl.c (__cacoshl): Likewise.
32790 * math/s_casinh.c (__casinh): Set signs of result from argument.
32791 * math/s_casinhf.c (__casinhf): Likewise.
32792 * math/s_casinhl.c (__casinhl): Likewise.
32793 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
32794 (casinh_test): Add more tests.
32795 * sysdeps/i386/fpu/libm-test-ulps: Update.
32796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32797
482ff4da
UD
327982012-03-07 Ulrich Drepper <drepper@gmail.com>
32799
872fda05
UD
32800 * po/zh_TW.po: Update from translation team.
32801
a4300c7a
UD
32802 * login/Makefile (distribute): Remove variable.
32803 * catgets/Makefile: Likewise.
32804 * mach/Makefile: Likewise.
32805 * malloc/Makefile: Likewise.
32806 * misc/Makefile: Likewise.
32807 * iconv/Makefile: Likewise.
32808 * nscd/Makefile: Likewise.
32809 * hurd/Makefile: Likewise.
32810 * manual/Makefile: Likewise.
32811 * locale/Makefile: Likewise.
32812 * intl/Makefile: Likewise.
32813 * conform/Makefile: Likewise.
32814 * nss/Makefile: Likewise.
32815 * time/Makefile: Likewise.
32816 * soft-fp/Makefile: Likewise.
32817 * dirent/Makefile: Likewise.
32818 * gmon/Makefile: Likewise.
32819 * po/Makefile: Likewise.
32820 * rt/Makefile: Likewise.
32821 * socket/Makefile: Likewise.
32822 * math/Makefile: Likewise.
32823 * signal/Makefile: Likewise.
32824 * debug/Makefile: Likewise.
32825 * elf/Makefile: Likewise.
32826 * timezone/Makefile: Likewise.
32827 * stdlib/Makefile: Likewise.
32828 * iconvdata/Makefile: Likewise.
32829 * sunrpc/Makefile: Likewise.
32830 * io/Makefile: Likewise.
32831 * argp/Makefile: Likewise.
32832 * inet/Makefile: Likewise.
32833 * hesiod/Makefile: Likewise.
32834 * grp/Makefile: Likewise.
32835 * csu/Makefile: Likewise.
32836 * wctype/Makefile: Likewise.
32837 * crypt/Makefile: Likewise.
32838 * libio/Makefile: Likewise.
32839 * string/Makefile: Likewise.
32840 * nis/Makefile: Likewise.
32841 * resolv/Makefile: Likewise.
32842 * stdio-common/Makefile: Likewise.
32843 * wcsmbs/Makefile: Likewise.
32844 * dlfcn/Makefile: Likewise.
32845 * posix/Makefile: Likewise.
32846
3b7c4e74 32847 [BZ #6959]
482ff4da
UD
32848 * timezone/Makefile: Don't install timezone files, just the programs
32849 and scripts.
32850
f72ed77d
UD
328512012-03-06 Ulrich Drepper <drepper@gmail.com>
32852
a000466f
UD
32853 * nss/databases.def: Add missing gshadow entry.
32854
f72ed77d
UD
32855 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
32856
a53b7a4e
MP
328572012-03-06 Marek Polacek <polacek@redhat.com>
32858
32859 [BZ #13726]
32860 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
32861 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
32862 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
32863 * stdio-common/tst-long-dbl-fphex.c: New file.
32864
e9258400
DM
328652012-03-06 David S. Miller <davem@davemloft.net>
32866
32867 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32868 (set_obp_int): New function.
32869 (get_obp_int): New function.
32870 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
32871 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
32872 Avoid unused variable warnings on 'val' and use builtin_expect.
32873 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
32874 __builtin_expect.
e9258400
DM
32875 (INLINE_CLONE_SYSCALL): Likewise.
32876
3bd2c723
DM
328772012-03-05 David S. Miller <davem@davemloft.net>
32878
32879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32880
bbb78d03
AS
328812012-03-05 Andreas Schwab <schwab@linux-m68k.org>
32882
884c5db4
AS
32883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32884
bbb78d03
AS
32885 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
32886 only for |x| >= 40.
32887 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32888
1c9f702a 328892012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
32890
32891 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
32892 Replace gettimeofday with __vdso_gettimeofday.
32893
7be16f82
RM
32894 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32895 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
32896 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
32897
32898 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
32899 time with __vdso_time.
32900
ed58a00f
JM
329012012-03-05 Joseph Myers <joseph@codesourcery.com>
32902
32903 * manual/lang.texi (size_t): Note types to which size_t may be
32904 equivalent with the GNU C Library, but do not describe when
32905 differences between them are significant.
32906
30ee4ced
AJ
329072012-03-05 Andreas Jaeger <aj@suse.de>
32908
32909 * sysdeps/i386/fpu/libm-test-ulps: Update.
32910
b7cd39e8
JM
329112012-03-05 Joseph Myers <joseph@codesourcery.com>
32912
32913 [BZ #3976]
32914 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
32915 (__ieee754_pow): Save and restore rounding mode and use
32916 round-to-nearest for main computations.
32917 * math/libm-test.inc (pow_test_tonearest): New function.
32918 (pow_test_towardzero): Likewise.
32919 (pow_test_downward): Likewise.
32920 (pow_test_upward): Likewise.
32921 (main): Call the new functions.
32922 * sysdeps/i386/fpu/libm-test-ulps: Update.
32923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
32924
32925 [BZ #3976]
32926 * math/libm-test.inc (cosh_test_tonearest): New function.
32927 (cosh_test_towardzero): Likewise.
32928 (cosh_test_downward): Likewise.
32929 (cosh_test_upward): Likewise.
32930 (sinh_test_tonearest): Likewise.
32931 (sinh_test_towardzero): Likewise.
32932 (sinh_test_downward): Likewise.
32933 (sinh_test_upward): Likewise.
32934 (main): Call the new functions.
32935 * sysdeps/i386/fpu/libm-test-ulps: Update.
32936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32937
6c6a98c9
TV
329382012-03-05 Tom de Vries <tom@codesourcery.com>
32939
32940 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
32941 default stack guard is set in last bytes.
32942 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
32943
21bb2d2e 329442012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 32945
21bb2d2e 32946 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 32947
21bb2d2e
AJ
32948 [BZ #13656]
32949 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
32950 possibly allocate from heap instead of stack.
32951 * stdio-common/bug-vfprintf-nargs.c: New file.
32952 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 32953
c6922934
AS
329542012-03-03 Andreas Schwab <schwab@linux-m68k.org>
32955
32956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32957
bc957d53
MP
329582012-03-03 Marek Polacek <polacek@redhat.com>
32959
32960 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
32961 * math/math_private.h: Likewise.
32962 * stdlib/tst-strtod.c: Likewise.
32963 * sysdeps/i386/i486/bits/atomic.h: Likewise.
32964 * sysdeps/x86_64/bits/atomic.h: Likewise.
32965
6358490d
DM
329662012-03-02 David S. Miller <davem@davemloft.net>
32967
32968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
32969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
32970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
32971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
32972 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
32973 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
32974 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
32975 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
32976
01ae168d
RM
329772012-03-02 Roland McGrath <roland@hack.frob.com>
32978
d9a17c07
RM
32979 [BZ #13792]
32980 * manual/examples/README: New file, says the example source files
32981 can be used under GPL>=2.
32982 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
32983 line containing just "*/".
32984 * manual/examples/add.c: Add copyright header (GPL>=2).
32985 * manual/examples/argp-ex1.c: Likewise.
32986 * manual/examples/argp-ex2.c: Likewise.
32987 * manual/examples/argp-ex3.c: Likewise.
32988 * manual/examples/argp-ex4.c: Likewise.
32989 * manual/examples/atexit.c: Likewise.
32990 * manual/examples/db.c: Likewise.
32991 * manual/examples/dir.c: Likewise.
32992 * manual/examples/dir2.c: Likewise.
32993 * manual/examples/execinfo.c: Likewise.
32994 * manual/examples/filecli.c: Likewise.
32995 * manual/examples/filesrv.c: Likewise.
32996 * manual/examples/fmtmsgexpl.c: Likewise.
32997 * manual/examples/genpass.c: Likewise.
32998 * manual/examples/inetcli.c: Likewise.
32999 * manual/examples/inetsrv.c: Likewise.
33000 * manual/examples/isockad.c: Likewise.
33001 * manual/examples/longopt.c: Likewise.
33002 * manual/examples/memopen.c: Likewise.
33003 * manual/examples/memstrm.c: Likewise.
33004 * manual/examples/mkfsock.c: Likewise.
33005 * manual/examples/mkisock.c: Likewise.
33006 * manual/examples/mygetpass.c: Likewise.
33007 * manual/examples/pipe.c: Likewise.
33008 * manual/examples/popen.c: Likewise.
33009 * manual/examples/rprintf.c: Likewise.
33010 * manual/examples/search.c: Likewise.
33011 * manual/examples/select.c: Likewise.
33012 * manual/examples/setjmp.c: Likewise.
33013 * manual/examples/sigh1.c: Likewise.
33014 * manual/examples/sigusr.c: Likewise.
33015 * manual/examples/stpcpy.c: Likewise.
33016 * manual/examples/strdupa.c: Likewise.
33017 * manual/examples/strftim.c: Likewise.
33018 * manual/examples/strncat.c: Likewise.
33019 * manual/examples/subopt.c: Likewise.
33020 * manual/examples/swapcontext.c: Likewise.
33021 * manual/examples/termios.c: Likewise.
33022 * manual/examples/testopt.c: Likewise.
33023 * manual/examples/testpass.c: Likewise.
33024 * manual/examples/timeval_subtract.c: Likewise.
33025
01ae168d
RM
33026 [BZ #13792]
33027 * manual/time.texi (Elapsed Time): Move timeval_subtract example
33028 function to ...
33029 * manual/timeval_subtract.c.texi: ... here, new file.
33030
49efa33d
DM
330312012-03-02 David S. Miller <davem@davemloft.net>
33032
33033 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33034
28afd92d
JM
330352012-03-02 Joseph Myers <joseph@codesourcery.com>
33036
804360ed
JM
33037 [BZ #3976]
33038 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33039 (__sin): Save and restore rounding mode and use round-to-nearest
33040 for all computations.
33041 (__cos): Save and restore rounding mode and use round-to-nearest
33042 for all computations.
33043 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33044 <fenv.h>.
33045 (tan): Save and restore rounding mode and use round-to-nearest for
33046 all computations.
33047 * math/libm-test.inc (cos_test_tonearest): New function.
33048 (cos_test_towardzero): Likewise.
33049 (cos_test_downward): Likewise.
33050 (cos_test_upward): Likewise.
33051 (sin_test_tonearest): Likewise.
33052 (sin_test_towardzero): Likewise.
33053 (sin_test_downward): Likewise.
33054 (sin_test_upward): Likewise.
33055 (tan_test_tonearest): Likewise.
33056 (tan_test_towardzero): Likewise.
33057 (tan_test_downward): Likewise.
33058 (tan_test_upward): Likewise.
33059 (main): Call the new functions.
33060 * sysdeps/i386/fpu/libm-test-ulps: Update.
33061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33062
a6d06d7b
JM
33063 [BZ #10135]
33064 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33065 small n, then large n, before computing and testing k+n.
33066 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33067 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33068 Likewise.
33069 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33070 Likewise.
33071 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33072 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33073 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33074 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33075 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33076 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33077 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33078 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33079 * math/libm-test.inc (scalbn_test): Add more tests.
33080 (scalbln_test): Likewise.
33081
07e12bb3
JM
33082 * manual/filesys.texi (mode_t): Describe constraints on size and
33083 signedness, not exact equivalence to a particular type.
33084 (ino_t): Likewise.
33085 (ino64_t): Likewise.
33086 (dev_t): Likewise.
33087 (nlink_t): Likewise.
33088 (blkcnt_t): Likewise.
33089 (blkcnt64_t): Likewise.
33090 * manual/llio.texi (off_t): Likewise.
33091
28afd92d
JM
33092 [BZ #3976]
33093 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33094 (__ieee754_exp): Save and restore rounding mode and use
33095 round-to-nearest for all computations.
33096 * math/libm-test.inc (exp_test_tonearest): New function.
33097 (exp_test_towardzero): Likewise.
33098 (exp_test_downward): Likewise.
33099 (exp_test_upward): Likewise.
33100 (main): Call the new functions.
33101 * sysdeps/i386/fpu/libm-test-ulps: Update.
33102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33103
b1eeb65d
CD
331042012-03-01 Chris Demetriou <cgd@google.com>
33105
33106 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33107 have predictable order.
33108
53362a4b
DM
331092012-03-01 David S. Miller <davem@davemloft.net>
33110
3c969083
DM
33111 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33112
759707de
DM
33113 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33114 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33115 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33116 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33117
dfdb8ff2
DM
33118 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33119 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33120 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33122 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33123 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33124 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33125 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33126 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33127
ead89f96
DM
33128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33129
7f66bd07
DM
33130 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33131 * sysdeps/sparc/fpu/libm-test-ulps: to here.
33132 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33133
53362a4b
DM
33134 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33135 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33136 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33137 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33138 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33139 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33140 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33141 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33142 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33143 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33144 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33145 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33146 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33147 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33148 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33149 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33150 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33151 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33152 * sysdeps/sparc/elf/configure: Regenerated.
33153
7b1902cb
JM
331542012-03-01 Joseph Myers <joseph@codesourcery.com>
33155
bec039bc
JM
33156 * configure.in (AS, LD): Require binutils 2.20 or later.
33157 * configure: Regenerated.
33158 * manual/install.texi (Tools for Compilation): Give binutils 2.20
33159 as required minimum version.
33160 * INSTALL: Regenerated.
33161
7b1902cb
JM
33162 [BZ #2541]
33163 [BZ #4108]
33164 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33165 before squaring exponent.
33166 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33167 bottom long double and 27 bits of top long double before squaring
33168 exponent.
33169 * math/libm-test.inc (erfc_test): Add more tests.
33170 * sysdeps/i386/fpu/libm-test-ulps: Update.
33171 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33173
f775c276
KT
331742012-03-01 Kai Tietz <ktietz@redhat.com>
33175
33176 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33177 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33178 containing bit-fields.
33179 * soft-fp/extended.h (_FP_UNION_E): Likewise.
33180 * soft-fp/single.h (_FP_UNION_S): Likewise.
33181 * soft-fp/double.h (_FP_UNION_D): Likewise.
33182
5b8a4d4a
JM
331832012-02-29 Joseph Myers <joseph@codesourcery.com>
33184
0bab47b6
JM
33185 [BZ #13786]
33186 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33187 not include ../strcmp.S.
33188 [USE_AS_STRNCASECMP_L]: Likewise.
33189 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33190 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33191 * sysdeps/i386/i686/multiarch/strncase_l-c.c
33192 (__strncasecmp_l_ia32): Define as alias to
33193 __strncasecmp_l_nonascii.
33194
0fcad3e2
JM
33195 [BZ #5794]
33196 * math/libm-test.inc (expm1_test): Add test for bug 5794.
33197 * sysdeps/i386/fpu/libm-test-ulps: Update.
33198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33199
5b8a4d4a
JM
33200 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33202
8fdceb2e
JL
332032012-02-29 Jeff Law <law@redhat.com>
33204
33205 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33206 out of bounds read.
33207
1f393a11
MP
332082012-02-29 Marek Polacek <polacek@redhat.com>
33209
33210 [BZ #13706]
33211 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33212 * elf/Makefile: Add rules to run tst-unused-dep.out.
33213
8847f037
DM
332142012-02-28 David S. Miller <davem@davemloft.net>
33215
33216 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33217 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33218 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33219 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33220 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33221 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33222
169d7f11
JM
332232012-02-29 Joseph Myers <joseph@codesourcery.com>
33224
33225 * math/libm-test.inc (llround_test): Move one test from
33226 lround_test. Use TEST_f_L in moved test.
33227 (lround_test): Move misplaced test to llround_test. Add testcase
33228 from bug 2561.
33229
39adf059
UD
332302012-02-28 Ulrich Drepper <drepper@gmail.com>
33231
33232 * sysdeps/x86_64/fpu/e_expf.S: New file.
33233 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33234
71b5d1c5
SB
332352012-02-28 Stanislav Brabec <sbrabec@suse.cz>
33236
33237 [BZ #13637]
33238 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33239 of remain_len that may cause incomplete multi-byte character and
33240 false match.
33241 * posix/bug-regex33.c: New file.
33242 * posix/Makefile (tests): Add bug-regex33.
33243
1f77f049
JM
332442012-02-28 Joseph Myers <joseph@codesourcery.com>
33245
33246 * manual/macros.texi: New file.
33247 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33248 * manual/libc.texinfo: Include macros.texi.
33249 * manual/creatute.texi: Likewise.
33250 * manual/install.texi: Likewise.
33251 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33252 @glibcadj{} in references to the GNU C Library.
33253 * manual/charset.texi: Likewise.
33254 * manual/conf.texi: Likewise.
33255 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
33256 when not using those macros.
33257 * manual/creature.texi: Likewise.
33258 * manual/crypt.texi: Likewise.
33259 * manual/errno.texi: Likewise.
33260 * manual/filesys.texi: Likewise.
33261 * manual/header.texi: Likewise.
33262 * manual/install.texi: Likewise.
33263 * manual/intro.texi: Likewise.
33264 * manual/io.texi: Likewise.
33265 * manual/job.texi: Likewise.
33266 * manual/lang.texi: Likewise.
33267 * manual/libc.texiinfo: Likewise.
33268 * manual/llio.texi: Likewise.
33269 * manual/locale.texi: Likewise.
33270 * manual/maint.texi: Likewise.
33271 * manual/math.texi: Likewise.
33272 * manual/memory.texi: Likewise.
33273 * manual/message.texi: Likewise.
33274 * manual/nss.texi: Likewise.
33275 * manual/pattern.texi: Likewise.
33276 * manual/process.texi: Likewise.
33277 * manual/resource.texi: Likewise.
33278 * manual/search.texi: Likewise.
33279 * manual/setjmp.texi: Likewise.
33280 * manual/signal.texi: Likewise.
33281 * manual/socket.texi: Likewise.
33282 * manual/startup.texi: Likewise.
33283 * manual/stdio.texi: Likewise.
33284 * manual/string.texi: Likewise.
33285 * manual/sysinfo.texi: Likewise.
33286 * manual/syslog.texi: Likewise.
33287 * manual/terminal.texi: Likewise.
33288 * manual/time.texi: Likewise.
33289 * manual/users.texi: Likewise.
33290 * INSTALL: Regenerated.
33291 * NOTES: Regenerated.
d40c5d54 33292 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 33293
450bf206
AS
332942012-02-28 Andreas Schwab <schwab@linux-m68k.org>
33295
33296 * include/dirent.h: Include <dirstream.h> before
33297 <dirent/dirent.h>.
33298
741a235b
DM
332992012-02-28 David S. Miller <davem@davemloft.net>
33300
33301 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33302 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33303 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33304 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33305
d6b5aa58
DM
333062012-02-27 David S. Miller <davem@davemloft.net>
33307
1aff59a3
DM
33308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33310 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33311 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33312
d6b5aa58
DM
33313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
33314 frame pointer instead of stack pointer relative arg slot.
33315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33316 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33317 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33318
433f48bf
CD
333192012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
33320
33321 [BZ #3992]
33322 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
33323
d674b76d
DM
333242012-02-27 David S. Miller <davem@davemloft.net>
33325
33326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
33327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
33330 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33331 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33332 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
33333 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
33334
0e7727f7
JM
333352012-02-27 Joseph Myers <joseph@codesourcery.com>
33336
33337 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
33338 later. Allow versions 5-9.
43be4ca2 33339 * configure: Regenerated.
0e7727f7
JM
33340 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
33341 required minimum version and 4.6 as recommended version. Do not
33342 mention bugs in GCC 2.7 and 2.8.
43be4ca2 33343 * INSTALL: Regenerated.
0e7727f7 33344
a78bc654
DM
333452012-02-27 David S. Miller <davem@davemloft.net>
33346
428d5830
DM
33347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
33348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
33349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
33350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
33351 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
33352 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
33353 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
33354 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
33355
a78bc654
DM
33356 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
33357 manipulate bits before adding and subtracting TWO112[sx].
33358 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33359
4579f81c
RM
333602012-02-27 Roland McGrath <roland@hack.frob.com>
33361
36c8acb4
RM
33362 [BZ #13775]
33363 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
33364 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
33365 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
33366 being in POSIX, because they are in 1003.1-2008.
33367
84ad622b
RM
33368 * rt/tst-aio.c: Include <fcntl.h>.
33369 * rt/tst-aio7.c: Likewise.
33370 * rt/tst-aio64.c: Likewise.
33371
4579f81c
RM
33372 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
33373
abd923db
JM
333742012-02-27 Joseph Myers <joseph@codesourcery.com>
33375
33376 * manual/install.texi (--with-headers): Describe headers as
33377 interface headers, not private headers.
33378 (Specific advice for GNU/Linux systems): Describe use of headers
33379 from "make headers_install", not private headers from older
33380 kernels.
43be4ca2 33381 * INSTALL: Regenerated.
abd923db
JM
33382 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
33383 Change to 2.6.19.
33384 * sysdeps/unix/sysv/linux/configure: Regenerated.
33385
6664049b
JM
33386 * manual/llio.texi (fclean): Remove documentation.
33387
bb8b6697
JM
33388 * manual/Makefile (libc-texi-generated): New variable. Include
33389 version.texi.
33390 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
33391 $(libc-texi-generated), not duplicated list of files.
33392 (version.texi, stamp-version): New rules.
33393 (realclean): Remove $(libc-texi-generated), not individual files
33394 from that list. Do not remove dir-add.texinfo.
33395 * manual/libc.texinfo: Comment out uses of edition numbers and
33396 references to printed manual. Remove last-updated dates.
33397 (EDITION): Comment out.
33398 (ISBN): Likewise.
33399 (VERSION, UPDATED): Remove.
33400 (version.texi): Include.
33401
12e5c3b9
AS
334022012-02-27 Andreas Schwab <schwab@linux-m68k.org>
33403
33404 * sysdeps/posix/spawni.c: Include <signal.h>.
33405 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
33406 * sysdeps/pthread/aio_fsync.c: Likewise.
33407
4efeffc1 334082012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 33409
ba63ba08
UD
33410 * conform/Makefile (tests): Run only when not cross-compiling and
33411 when fast-check is not defined.
33412
d94a4670
UD
33413 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
33414 * conform/data/limits.h-data: Fixes for POSIX2008.
33415 * conform/run-conformtest.sh: Run all tests.
33416 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
33417 headers.
33418 * include/bits/dlfcn.h: Likewise.
33419 * include/langinfo.h: Likewise.
33420 * include/monetary.h: Likewise.
33421 * include/sys/poll.h: Likewise.
33422
33423 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
33424 for __USE_GNU.
33425 * posix/spawn.h: Define __need_sigset_t.
33426 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
33427 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
33428 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
33429 to get sigevent_t only.
33430 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
33431 only for __USE_GNU.
33432 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33433 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33434 process_vm_writev only for __USE_GNU.
33435 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
33436
33437 * conform/Makefile: For now ignore errors from run-conformtest.
33438 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
33439 POSIX to avoid namespace pollution. Don't prepend headers.
33440 * conform/data/aio.h-data: Fixes for POSIX testing.
33441 * conform/data/fcntl.h-data: Likewise.
33442 * conform/data/glob.h-data: Likewise.
33443 * conform/data/grp.h-data: Likewise.
33444 * conform/data/pthread.h-data: Likewise.
33445 * conform/data/pwd.h-data: Likewise.
33446 * conform/data/signal.h-data: Likewise.
33447 * conform/data/spawn.h-data: Likewise.
33448 * conform/data/stdio.h-data: Likewise.
33449 * conform/data/stdlib.h-data: Likewise.
33450 * conform/data/stropts.h-data: Likewise.
33451 * conform/data/sys/mman.h-data: Likewise.
33452 * conform/data/sys/stat.h-data: Likewise.
33453 * conform/data/sys/types.h-data: Likewise.
33454 * conform/data/sys/wait.h-data: Likewise.
33455 * conform/data/time.h-data: Likewise.
33456 * conform/data/unistd.h-data: Likewise.
33457 * conform/data/utime.h-data: Likewise.
33458
33459 * io/sys/stat.h: fchmod was always in POSIX.
33460 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
33461 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
33462 * rt/aio.h: Define __need_timespec before including <time.h>.
33463 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
33464 struct. Add forward declaration of pthread_attr_t and use it in
33465 sigevent.
33466 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33467 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33468 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
33469 always remove CLK_TCK definition.
33470
c20105c3
AS
334712012-02-26 Andreas Schwab <schwab@linux-m68k.org>
33472
33473 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
33474
7a270350
UD
334752012-02-25 Ulrich Drepper <drepper@gmail.com>
33476
31341567
UD
33477 * conform/run-conformtest.sh: New file.
33478 * conform/Makefile: Run run-conformtest for tests.
33479 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
33480 support.
33481
33482 * conform/data/uchar.h-data: New file.
33483 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
33484 * conform/data/arpa/inet.h-data: Likewise.
33485 * conform/data/assert.h-data: Likewise.
33486 * conform/data/complex.h-data: Likewise.
33487 * conform/data/cpio.h-data: Likewise.
33488 * conform/data/ctype.h-data: Likewise.
33489 * conform/data/dirent.h-data: Likewise.
33490 * conform/data/dlfcn.h-data: Likewise.
33491 * conform/data/errno.h-data: Likewise.
33492 * conform/data/fcntl.h-data: Likewise.
33493 * conform/data/float.h-data: Likewise.
33494 * conform/data/fmtmsg.h-data: Likewise.
33495 * conform/data/fnmatch.h-data: Likewise.
33496 * conform/data/ftw.h-data: Likewise.
33497 * conform/data/glob.h-data: Likewise.
33498 * conform/data/grp.h-data: Likewise.
33499 * conform/data/iconv.h-data: Likewise.
33500 * conform/data/inttypes.h-data: Likewise.
33501 * conform/data/langinfo.h-data: Likewise.
33502 * conform/data/libgen.h-data: Likewise.
33503 * conform/data/limits.h-data: Likewise.
33504 * conform/data/locale.h-data: Likewise.
33505 * conform/data/math.h-data: Likewise.
33506 * conform/data/monetary.h-data: Likewise.
33507 * conform/data/mqueue.h-data: Likewise.
33508 * conform/data/ndbm.h-data: Likewise.
33509 * conform/data/net/if.h-data: Likewise.
33510 * conform/data/netdb.h-data: Likewise.
33511 * conform/data/netinet/in.h-data: Likewise.
33512 * conform/data/nl_types.h-data: Likewise.
33513 * conform/data/poll.h-data: Likewise.
33514 * conform/data/pthread.h-data: Likewise.
33515 * conform/data/pwd.h-data: Likewise.
33516 * conform/data/regex.h-data: Likewise.
33517 * conform/data/sched.h-data: Likewise.
33518 * conform/data/search.h-data: Likewise.
33519 * conform/data/semaphore.h-data: Likewise.
33520 * conform/data/setjmp.h-data: Likewise.
33521 * conform/data/signal.h-data: Likewise.
33522 * conform/data/spawn.h-data: Likewise.
33523 * conform/data/stdarg.h-data: Likewise.
33524 * conform/data/stdio.h-data: Likewise.
33525 * conform/data/stdlib.h-data: Likewise.
33526 * conform/data/string.h-data: Likewise.
33527 * conform/data/strings.h-data: Likewise.
33528 * conform/data/stropts.h-data: Likewise.
33529 * conform/data/sys/ipc.h-data: Likewise.
33530 * conform/data/sys/mman.h-data: Likewise.
33531 * conform/data/sys/msg.h-data: Likewise.
33532 * conform/data/sys/resource.h-data: Likewise.
33533 * conform/data/sys/select.h-data: Likewise.
33534 * conform/data/sys/sem.h-data: Likewise.
33535 * conform/data/sys/shm.h-data: Likewise.
33536 * conform/data/sys/socket.h-data: Likewise.
33537 * conform/data/sys/stat.h-data: Likewise.
33538 * conform/data/sys/statvfs.h-data: Likewise.
33539 * conform/data/sys/time.h-data: Likewise.
33540 * conform/data/sys/timeb.h-data: Likewise.
33541 * conform/data/sys/times.h-data: Likewise.
33542 * conform/data/sys/types.h-data: Likewise.
33543 * conform/data/sys/uio.h-data: Likewise.
33544 * conform/data/sys/un.h-data: Likewise.
33545 * conform/data/sys/utsname.h-data: Likewise.
33546 * conform/data/sys/wait.h-data: Likewise.
33547 * conform/data/syslog.h-data: Likewise.
33548 * conform/data/tar.h-data: Likewise.
33549 * conform/data/termios.h-data: Likewise.
33550 * conform/data/utime.h-data: Likewise.
33551 * conform/data/utmpx.h-data: Likewise.
33552 * conform/data/varargs.h-data: Likewise.
33553 * conform/data/wchar.h-data: Likewise.
33554 * conform/data/wctype.h-data: Likewise.
33555 * conform/data/wordexp.h-data: Likewise.
33556
33557 * include/stropts.h: New file.
33558 * include/uchar.h: New file.
33559 * include/aio.h: Changes to allow conformtest.pl to use the headers.
33560 * include/assert.h: Likewise.
33561 * include/ctype.h: Likewise.
33562 * include/dirent.h: Likewise.
33563 * include/dlfcn.h: Likewise.
33564 * include/fcntl.h: Likewise.
33565 * include/fnmatch.h: Likewise.
33566 * include/glob.h: Likewise.
33567 * include/grp.h: Likewise.
33568 * include/libio.h: Likewise.
33569 * include/locale.h: Likewise.
33570 * include/math.h: Likewise.
33571 * include/net/if.h: Likewise.
33572 * include/netdb.h: Likewise.
33573 * include/netinet/in.h: Likewise.
33574 * include/pthread.h: Likewise.
33575 * include/pwd.h: Likewise.
33576 * include/regex.h: Likewise.
33577 * include/sched.h: Likewise.
33578 * include/search.h: Likewise.
33579 * include/setjmp.h: Likewise.
33580 * include/signal.h: Likewise.
33581 * include/stdio.h: Likewise.
33582 * include/stdlib.h: Likewise.
33583 * include/string.h: Likewise.
33584 * include/sys/cdefs.h: Likewise.
33585 * include/sys/mman.h: Likewise.
33586 * include/sys/msg.h: Likewise.
33587 * include/sys/resource.h: Likewise.
33588 * include/sys/select.h: Likewise.
33589 * include/sys/socket.h: Likewise.
33590 * include/sys/stat.h: Likewise.
33591 * include/sys/statvfs.h: Likewise.
33592 * include/sys/time.h: Likewise.
33593 * include/sys/times.h: Likewise.
33594 * include/sys/uio.h: Likewise.
33595 * include/sys/utsname.h: Likewise.
33596 * include/sys/wait.h: Likewise.
33597 * include/termios.h: Likewise.
33598 * include/time.h: Likewise.
33599 * include/ulimit.h: Likewise.
33600 * include/unistd.h: Likewise.
33601 * include/utime.h: Likewise.
33602 * include/wchar.h: Likewise.
33603 * include/wctype.h: Likewise.
33604 * include/wordexp.h: Likewise.
33605
33606 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
33607
7a270350
UD
33608 * time/time.h: TIME_UTC must be a macro.
33609 Make timespec_get available for ISO C11 only as well.
33610
7724defc
UD
336112012-02-24 Ulrich Drepper <drepper@gmail.com>
33612
33613 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
33614 Reported by Peng Haitao <penght@cn.fujitsu.com>.
33615
6b1d1d46
JM
336162012-02-24 Joseph Myers <joseph@codesourcery.com>
33617
33618 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 33619
0f8bbd69
JM
336202012-02-24 Joseph Myers <joseph@codesourcery.com>
33621
33622 * manual/texinfo.tex: Update to version 2012-01-19.16.
33623
66ab80bc
JM
336242012-02-24 Joseph Myers <joseph@codesourcery.com>
33625
33626 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
33627
74981cc5
RM
336282012-02-24 Roland McGrath <roland@hack.frob.com>
33629
ee968201
RM
33630 [BZ #13738]
33631 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
33632 * manual/fdl-1.3.texi: New file.
33633 * manual/fdl-1.1.texi: File removed.
33634
74981cc5
RM
33635 [BZ #13738]
33636 * manual/libc.texinfo (FDL_VERSION): New @set.
33637 Use it for mention of FDL in cover text.
33638 (Documentation License): Use it in @include file name.
33639
7bb764bc
JM
336402012-02-22 Joseph Myers <joseph@codesourcery.com>
33641 Roland McGrath <roland@hack.frob.com>
33642
33643 [BZ #5461]
33644 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
33645 not LONG_LONG_MAX and LONG_LONG_MIN.
33646 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
33647 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
33648 name.
33649 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
33650
6cbeae47
JM
336512012-02-22 Joseph Myers <joseph@codesourcery.com>
33652
33653 [BZ #2547]
33654 [BZ #11365]
33655 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
33656 manipulate bits before adding and subtracting TWO23[sx].
33657 * math/libm-test.inc (nearbyint_test): Add more tests.
33658
fe45ce09
JM
336592012-02-22 Joseph Myers <joseph@codesourcery.com>
33660
33661 [BZ #2548]
33662 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
33663 bits before adding and subtracting TWO23[sx].
33664 * math/libm-test.inc (rint_test): Add more tests.
33665 (rint_test_tonearest): Likewise.
33666 (rint_test_towardzero): Likewise.
33667 (rint_test_downward): Likewise.
33668 (rint_test_upward: Likewise.
33669
ff3b3d82
JM
336702012-02-22 Joseph Myers <joseph@codesourcery.com>
33671
33672 [BZ #10110]
33673 * include/stdc-predef.h: New file. Extracted from features.h.
33674 * include/features.h: Include stdc-predef.h.
33675 * Makefile (headers): Add stdc-predef.h.
33676 * CONFORMANCE (Compiler limitations): Update.
33677
ef0aab35
JM
336782012-02-22 Joseph Myers <joseph@codesourcery.com>
33679
33680 * manual/libc.texinfo (VERSION, UPDATED): Revert.
33681
58639409
DM
336822012-02-21 David S. Miller <davem@davemloft.net>
33683
33684 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
33685 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33686
c0e70b25
DM
336872012-02-20 David S. Miller <davem@davemloft.net>
33688
33689 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
33690 using a normal save/restore sequence, rather than allocating a
33691 dummy stack frame just to store a frame pointer and restore.
33692 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33693
fb06851d
JM
336942012-02-21 Joseph Myers <joseph@codesourcery.com>
33695
33696 * manual/install.texi: Fix stray word in line-wrapped comment.
33697
7a8b71c3
DM
336982012-02-20 David S. Miller <davem@davemloft.net>
33699
d510c123
DM
33700 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
33701 both binutils and gcc support GOTDATA.
33702
0722d7c2
DM
33703 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
33704 "rd %pc" in the PIC register setup sequences.
33705
3d2b3019
DM
33706 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
33707 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
33708 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33709 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
33710 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33711 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33712 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33713 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33714 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
33715 (SYSCALL_ERROR_HANDLER): Likewise.
33716 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33717 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33718 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
33719 (SYSCALL_ERROR_HANDLER): Likewise.
33720
c80098a9
DM
33721 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
33722 (HAVE_GCC_GOTDATA): New.
33723 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
33724 relocation support in both binutils and gcc.
33725 * sysdeps/sparc/elf/configure: Regenerate.
33726
3a2545a0
DM
33727 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
33728 * sysdeps/sparc/sparc32/elf/configure: Delete.
33729 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
33730 * sysdeps/sparc/sparc64/elf/configure: Delete.
33731 * sysdeps/sparc/elf/configure.in: New file.
33732 * sysdeps/sparc/elf/configure: Generate.
33733
7a8b71c3
DM
33734 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
33735 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
33736 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33737 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
33738 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
33739
f1e86fca
JM
337402012-02-21 Joseph Myers <joseph@codesourcery.com>
33741
33742 * manual/install.texi: Do not mention specific glibc version
33743 numbers.
33744 * manual/libc.texinfo (VERSION, UPDATED): Update.
33745 (@copying): Use @copyright{} and range of years.
33746
0e7dfaef
JM
337472012-02-21 Joseph Myers <joseph@codesourcery.com>
33748
33749 [BZ #13695]
33750 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
33751 [crti.S not in sysdirs] (generated): Do not append.
33752 [crti.S not in sysdirs] (omit-deps): Likewise.
33753 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
33754 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
33755 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
33756 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
33757 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
33758 Likewise.
33759 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
33760 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
33761 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
33762 * csu/defs.awk: Remove file.
33763 * sysdeps/generic/initfini.c: Likewise.
33764 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
33765 variable.
33766 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
33767 Likewise.
33768
599af3ca
JM
337692012-02-20 Joseph Myers <joseph@codesourcery.com>
33770
33771 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
33772 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
33773 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
33774 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
33775 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33776 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
33777 <bits/epoll.h>.
33778 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
33779 (__EPOLL_PACKED): Define to empty if not defined by
33780 <bits/epoll.h>.
33781 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
33782 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33783 bits/epoll.h.
33784
0e499750
JM
337852012-02-20 Joseph Myers <joseph@codesourcery.com>
33786
33787 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
33788 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
33789 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
33790 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
33791 <bits/timerfd.h>.
33792 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
33793 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33794 bits/timerfd.h.
33795
5ad91f6e
JM
337962012-02-20 Joseph Myers <joseph@codesourcery.com>
33797
33798 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
33799 in C locale.
33800 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33801 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33802 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
33803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33804
06b99b02
AJ
338052012-02-20 Aurelien Jarno <aurelien@aurel32.net>
33806
33807 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33808 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33809
7638c0fd
AS
338102012-02-19 Andreas Schwab <schwab@linux-m68k.org>
33811
33812 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
33813 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
33814 defined.
33815 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
33816 Likewise.
33817 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
33818 entry for 2.16.
33819
92221550
AJ
338202012-02-19 Aurelien Jarno <aurelien@aurel32.net>
33821
33822 * math/w_acos.c: Use non-signaling floating-point comparisons.
33823 * math/w_acosf.c: Likewise.
33824 * math/w_acosh.c: Likewise.
33825 * math/w_acoshf.c: Likewise.
33826 * math/w_acoshl.c: Likewise.
33827 * math/w_acosl.c: Likewise.
33828 * math/w_asin.c: Likewise.
33829 * math/w_asinf.c: Likewise.
33830 * math/w_asinl.c: Likewise.
33831 * math/w_atanh.c: Likewise.
33832 * math/w_atanhf.c: Likewise.
33833 * math/w_atanhl.c: Likewise.
33834 * math/w_exp2.c: Likewise.
33835 * math/w_exp2f.c: Likewise.
33836 * math/w_exp2l.c: Likewise.
33837 * math/w_j0.c: Likewise.
33838 * math/w_j0f.c: Likewise.
33839 * math/w_j0l.c: Likewise.
33840 * math/w_j1.c: Likewise.
33841 * math/w_j1f.c: Likewise.
33842 * math/w_j1l.c: Likewise.
33843 * math/w_jn.c: Likewise.
33844 * math/w_jnf.c: Likewise.
33845 * math/w_log.c: Likewise.
33846 * math/w_log10.c: Likewise.
33847 * math/w_log10f.c: Likewise.
33848 * math/w_log10l.c: Likewise.
33849 * math/w_log2.c: Likewise.
33850 * math/w_log2f.c: Likewise.
33851 * math/w_log2l.c: Likewise.
33852 * math/w_logf.c: Likewise.
33853 * math/w_logl.c: Likewise.
33854 * math/w_sqrt.c: Likewise.
33855 * math/w_sqrtf.c: Likewise.
33856 * math/w_sqrtl.c: Likewise.
33857 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33858 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
33859 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33860 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33861 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33862
ebaf36eb
JM
338632012-02-19 Joseph Myers <joseph@codesourcery.com>
33864
33865 [BZ #9739]
33866 * manual/string.texi (strnlen): Use correct parameter name in
33867 equivalent expression.
33868
71c254a6
JM
338692012-02-19 Joseph Myers <joseph@codesourcery.com>
33870
33871 [BZ #11174]
33872 * manual/users.texi (seteuid): Consistently use neweuid for
33873 argument name.
33874
16d2c631
JM
338752012-02-19 Joseph Myers <joseph@codesourcery.com>
33876
33877 [BZ #13704]
33878 * manual/nss.texi (Services in the NSS configuration): Correct
33879 list of services in example configuration file.
33880
cd837b09
NB
338812012-02-19 Nick Bowler <nbowler@draconx.ca>
33882
33883 [BZ #11322]
33884 * manual/arith.texi: Remove statements about negative zero
33885 behaving identically to zero.
33886
02c4bbad
JM
338872012-02-18 Joseph Myers <joseph@codesourcery.com>
33888
33889 [BZ #5993]
33890 * manual/install.texi: Do not document upgrading from libc5.
33891
366842e7
JM
338922012-02-18 Joseph Myers <joseph@codesourcery.com>
33893
33894 [BZ #4596]
33895 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
33896
dd54084d
DM
338972012-02-18 David S. Miller <davem@davemloft.net>
33898
33899 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
33900 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
33901 %o7 across the call.
33902 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
33903 instead.
33904 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
33905 SETUP_PIC_REG_LEAF.
33906 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33907 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
33908 * sysdeps/sparc/crtn.S: Likewise.
33909
2bcc53a3
UD
339102012-02-17 Ulrich Drepper <drepper@gmail.com>
33911
33912 * aout/Makefile: Remove.
33913
09c093b5
RK
339142012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
33915
33916 [BZ #13058]
33917 * manual/examples/argp-ex1.c (main): Format definition in GNU
33918 style.
33919 * manual/examples/argp-ex2.c (main): Likewise.
33920 * manual/examples/argp-ex3.c (main): Likewise.
33921 * manual/examples/argp-ex4.c (main): Likewise.
33922 * manual/examples/longopt.c (main): Use new-style prototype
33923 definition.
33924 * manual/examples/strncat.c (main): Specify return type and use
33925 (void) for arguments.
33926 * manual/examples/subopt.c (main): Use char **argv argument.
33927
2ee633a2
JM
339282012-02-17 Joseph Myers <joseph@codesourcery.com>
33929
33930 [BZ #5077]
33931 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
33932 rounding modes.
33933
0520adde
FB
339342012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
33935
33936 [BZ #6907]
33937 * manual/string.texi (strchr): Change when strchrnul is
33938 recommended.
33939
3f4081cd
DGM
339402012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
33941
33942 [BZ #174]
33943 * manual/locale.texi (setlocale): Document LOCPATH.
33944
d1b10e78
JM
339452012-02-17 Joseph Myers <joseph@codesourcery.com>
33946
33947 [BZ #10210]
33948 * manual/process.texi (execle): Move @dots{} before last argument.
33949
79c6869c
PB
339502012-02-17 Paul Bolle <pebolle@tiscali.nl>
33951
33952 [BZ #12047]
33953 * manual/charset.texi (Generic Charset Conversion): Fix typo
33954 (LC_TYPE -> LC_CTYPE).
33955
cc6e48bc
NB
339562012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
33957
33958 [BZ #5805]
33959 * manual/arith.texi (scalbn): Use @var{} on parameter names.
33960 (scalbnf): Likewise.
33961 (scalbnl): Likewise.
33962 (scalbln): Likewise.
33963 (scalblnf): Likewise.
33964 (scalblnl): Likewise.
33965 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
33966 (vwarnx): Likewise.
33967 (verr): Likewise.
33968 (verrx): Likewise.
33969 * manual/filesys.texi (telldir): Use braces around return type.
33970 * manual/llio.texi (mmap): Add space after comma.
33971 (mmap64): Likewise.
33972 * manual/math.texi (jn): Use @var{} on parameter names.
33973 (jnf): Likewise.
33974 (jnl): Likewise.
33975 (yn): Likewise.
33976 (ynf): Likewise.
33977 (ynl): Likewise.
33978 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
33979 line.
33980 * manual/resource.texi (ulimit): Use @dots{} instead of literal
33981 "...".
33982 (sched_get_priority_min): Remove semicolon on @deftypefun line.
33983 (sched_get_priority_max): Likewise.
33984 * manual/signal.texi (sigvec): Add space after comma.
33985 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
33986 names.
33987 (if_indextoname): Likewise.
33988 (if_freenameindex): Likewise.
33989 (sendto): Use ',' instead of '.' in prototype.
33990 * manual/startup.texi (syscall): Use @dots{} instead of literal
33991 "...".
33992 * manual/stdio.texi (__fpending): Separate initial words of
33993 paragraph from @deftypefun line.
33994 * manual/syslog.texi (syslog): Use @dots{} instead of literal
33995 "...".
33996 (vsyslog): Use @var{} on parameter names.
33997 * manual/terminal.texi (stty): Use @var{} on parameter names.
33998 * manual/users.texi (getutmp): Use @var{} on parameter names.
33999 (getutmpx): Likewise.
34000
5b23062f
JM
340012012-02-17 Joseph Myers <joseph@codesourcery.com>
34002
34003 [BZ #6884]
34004 * manual/stdio.texi (fopen): Fix typos in description of
34005 ",ccs=STRING".
34006
8dee4833
AJ
340072012-02-17 Aurelien Jarno <aurelien@aurel32.net>
34008
34009 [BZ #4026]
34010 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34011 get clock_id definition.
34012
9078ce93
TS
340132012-02-17 Thomas Schwinge <thomas@schwinge.name>
34014
34015 [BZ #4822]
34016 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34017 (madvise): Cast every argument to void on its own.
34018
3835c55f
JM
340192012-02-17 Joseph Myers <joseph@codesourcery.com>
34020
34021 [BZ #9902]
34022 * manual/startup.texi (Exit Status): Fix typo.
34023
35c47e37
JM
340242012-02-17 Joseph Myers <joseph@codesourcery.com>
34025
34026 [BZ #10140]
34027 * manual/examples/argp-ex1.c: Include <stdlib.h>.
34028 * manual/examples/argp-ex2.c: Likewise.
34029 * manual/examples/argp-ex3.c: Likewise.
34030
e3b69ca7
RH
340312012-02-16 Richard Henderson <rth@redhat.com>
34032
34033 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34034 * sysdeps/s390/s390-32/initfini.c: Remove.
34035 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34036 * sysdeps/s390/s390-64/initfini.c: Remove.
34037
df83af67
KK
340382012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34039
34040 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34041 compiler output for sysdeps/generic/initfini.c.
34042 * sysdeps/sh/elf/initfini.c: Remove file.
34043
f63f3380
DM
340442012-02-16 David S. Miller <davem@davemloft.net>
34045
fb59b3a4
DM
34046 [BZ #11494]
34047 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34048
f63f3380
DM
34049 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34050 * sysdeps/sparc/crti.S: New file.
34051 * sysdeps/sparc/crtn.S: New file.
34052 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34053 * sysdeps/sparc/sparc64/Makefile: Likewise.
34054
df6a4a4a
MF
340552012-02-15 Mike Frysinger <vapier@gentoo.org>
34056
6dd8f3dc 34057 [BZ #3335]
df6a4a4a
MF
34058 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34059
1cac7236
RM
340602012-02-15 Roland McGrath <roland@hack.frob.com>
34061
d2c736f8
RM
34062 [BZ #4822]
34063 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34064
1cac7236
RM
34065 * mach/devstream.c (cookie_io_functions_t): Macro removed.
34066 (write, read, close): Likewise.
34067 Patch by Aurelien Jarno <aurelien@aurel32.net>.
34068
8e475601
JM
340692012-02-15 Joseph Myers <joseph@codesourcery.com>
34070
34071 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34072 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34073 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34074 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34075 <bits/signalfd.h>.
34076 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34077 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34078 bits/signalfd.h.
34079
ed656b40
MP
340802012-02-14 Marek Polacek <polacek@redhat.com>
34081
34082 * sysdeps/x86_64/crti.S: New file.
34083 * sysdeps/x86_64/crtn.S: New file.
34084 * sysdeps/x86_64/elf/initfini.c: Remove file.
34085
2a979d3a
JM
340862012-02-13 Joseph Myers <joseph@codesourcery.com>
34087
34088 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34089 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34090 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34091 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34092 <bits/inotify.h>.
34093 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34094 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34095 bits/inotify.h.
34096
2a418ac3
JM
340972012-02-13 Joseph Myers <joseph@codesourcery.com>
34098
34099 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34100 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34101 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34102 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34103 <bits/eventfd.h>.
34104 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34105 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34106 bits/eventfd.h.
34107
fb779be7
TS
341082012-02-10 Thomas Schwinge <thomas@codesourcery.com>
34109
e19e83c5
RM
34110 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34111 __feraiseexcept instead of feraiseexcept.
7c35ffed 34112
fb779be7
TS
34113 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34114 nanosleep invocations.
34115 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34116 strings, and add error checking for a nanosleep invocations.
34117
59ba27a6
PE
341182012-02-09 Paul Eggert <eggert@cs.ucla.edu>
34119
34120 Replace FSF snail mail address with URLs, as per GNU coding standards.
34121 Most of the snail mail addresses were wrong anyway, and omitting
34122 them makes the source code easier to maintain. Almost all of the
34123 changes are to license notices and to locale LC_IDENTIFICATION
34124 addresses, except for this one:
34125 * manual/libc.texinfo: In "Published by", give the FSF's URL,
34126 not its snail mail address.
34127
57b957eb
RH
341282012-02-09 Richard Henderson <rth@twiddle.net>
34129
af850b1c
RH
34130 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34131 of kernel-features.h.
34132
57b957eb
RH
34133 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34134
6b73181a
MP
341352012-02-08 Marek Polacek <polacek@redhat.com>
34136
34137 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34138 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34139 * sysdeps/gnu/_G_config.h: Likewise.
34140 * sysdeps/generic/_G_config.h: Likewise.
34141
26ecc33a
AS
341422012-02-08 Andreas Schwab <schwab@linux-m68k.org>
34143
6c6dbc63
AS
34144 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34145 tests.
34146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34147
e216c012
AS
34148 * sysdeps/powerpc/powerpc32/crti.S: New file.
34149 * sysdeps/powerpc/powerpc32/crtn.S: New file.
34150 * sysdeps/powerpc/powerpc64/crti.S: New file.
34151 * sysdeps/powerpc/powerpc64/crtn.S: New file.
34152
26ecc33a
AS
34153 * Makeconfig (have-initfini): Don't set.
34154 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34155 * configure.in (nopic_initfini): Don't substitute.
34156 * config.h.in (HAVE_INITFINI): Don't #undef.
34157 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34158 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34159
3add8e13
JM
341602012-02-08 Joseph Myers <joseph@codesourcery.com>
34161
34162 Support crti.S and crtn.S provided directly by architectures.
34163 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34164 [crti.S in sysdirs] (omit-deps): Likewise.
34165 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34166 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34167 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34168 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34169 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34170 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34171 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34172 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34173 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34174 compiler output for sysdeps/generic/initfini.c.
34175 * sysdeps/i386/elf/Makefile: Remove file.
34176 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34177
a22f12b4
MP
341782012-02-07 Marek Polacek <polacek@redhat.com>
34179
34180 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34181 * sysdeps/gnu/_G_config.h: Likewise.
34182 * sysdeps/mach/hurd/_G_config.h: Likewise.
34183
148cf100
MP
341842012-02-07 Marek Polacek <polacek@redhat.com>
34185
34186 * math/Makefile (tests): Add tst-CMPLX2.
34187 * math/tst-CMPLX2.c: New file.
34188
cfdc0dd7
AS
341892012-02-07 Andreas Schwab <schwab@linux-m68k.org>
34190
84ba42c4
AS
34191 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34192
cfdc0dd7
AS
34193 * math/libm-test.inc (jn_test): Add missing L suffix.
34194
622c86f4
MP
341952012-02-06 Marek Polacek <polacek@redhat.com>
34196
34197 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34198 * sysdeps/i386/fpu/e_powf.S: Likewise.
34199 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34200 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34201 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34202 * sysdeps/i386/fpu/e_pow.S: Likewise.
34203 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34204 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34205 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34206 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34207 * sysdeps/i386/fpu/e_log2.S: Likewise.
34208 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34209 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34210 * sysdeps/i386/fpu/e_powl.S: Likewise.
34211 * sysdeps/i386/fpu/s_log1p.S: Likewise.
34212 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34213 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34214 * sysdeps/i386/fpu/e_logl.S: Likewise.
34215 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34216 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34217 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34218 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34219 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34220 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34221 * sysdeps/i386/fpu/e_log.S: Likewise.
34222 * sysdeps/i386/fpu/s_cexp.S: Likewise.
34223 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34224 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34225 * sysdeps/i386/fpu/e_logf.S: Likewise.
34226 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34227 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34228 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34229 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34230 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34231 * sysdeps/i386/fpu/e_log10.S: Likewise.
34232 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34233 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34234 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34235 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34236 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34237 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34238 * sysdeps/i386/asm-syntax.h: Likewise.
34239 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34240 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34241 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34242 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34243 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34244 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34245 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34246 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34247 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34248 * sysdeps/powerpc/sysdep.h: Likewise.
34249 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34250 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34251
d4a54ac6
JM
342522012-02-06 Joseph Myers <joseph@codesourcery.com>
34253
34254 [BZ #411]
34255 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34256
314054ea
JM
342572012-02-06 Joseph Myers <joseph@codesourcery.com>
34258
34259 * sysdeps/i386/sysdep.h: Include <features.h>.
34260 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34261 version.
34262
d8e0ca50
JM
342632012-02-05 Joseph Myers <joseph@codesourcery.com>
34264
34265 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34266 Define.
34267 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34268 LOAD_PIC_REG_STR.
34269
b1da7dd9
JM
342702012-02-03 Joseph Myers <joseph@codesourcery.com>
34271
34272 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34273 (SETUP_PIC_REG): Use GET_PC_THUNK.
34274 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34275 macro.
34276
9a1d9254
JM
342772012-02-03 Joseph Myers <joseph@codesourcery.com>
34278
34279 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34280 for non-PIC compilation.
34281 (SETUP_PIC_REG): Add .p2align directive.
34282 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34283 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34284 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34285 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34286 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34287 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34288 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34289 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34290 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34291 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34292 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34293 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34294 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34295 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34296 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34297 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34298 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34299 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34300 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34301 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34302 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34303 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34304 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34305 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34306 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34307 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34308 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34309 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34310 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34311 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34312 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34313 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34314 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34315 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34316 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34317 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34318 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34319 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34320 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34321 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34322 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34323
65dc3b75
JM
343242012-02-03 Joseph Myers <joseph@codesourcery.com>
34325
34326 * math/tst-CMPLX.c: Include <stdio.h>.
34327
d55bf177
JM
343282012-01-31 Joseph Myers <joseph@codesourcery.com>
34329
34330 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
34331 float.
34332 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34333 * sysdeps/sparc/bits/mathdef.h: Likewise.
34334
69db4f8f
MP
343352012-01-31 Marek Polacek <polacek@redhat.com>
34336
34337 * libio/libio.h: Don't define _PARAMS.
34338 * locale/programs/config.h: Don't define PARAMS.
34339 * stdlib/strtol_l.c: Likewise.
34340 (__strtol_l): Remove PARAMS from the prototype.
34341
41b81892
UD
343422012-01-31 Ulrich Drepper <drepper@gmail.com>
34343
3b49edc0
UD
34344 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
34345 names. Just use the correct names. Remove unnecessary wrapper
34346 functions.
34347 * malloc/arena.c: Likewise.
34348 * malloc/hooks.c: Likewise.
34349
41b81892
UD
34350 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
34351 ARENA_TEST says not to. Simplify test for creation of a new arena.
34352 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
34353
27a25b6e
UD
343542012-01-30 Ulrich Drepper <drepper@gmail.com>
34355
34356 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
34357 into tail calls.
34358 (update_get_addr): New function.
34359 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
34360 GET_ADDR_MODULE parameter.
34361
c8a89e7d
JM
343622012-01-30 Joseph Myers <joseph@codesourcery.com>
34363
34364 * crypt/cert.c: Remove __STDC__ conditionals.
34365 * crypt/crypt-entry.c: Likewise.
34366 * crypt/crypt_util.c: Likewise.
34367 * libio/filedoalloc.c: Likewise.
34368 * libio/fileops.c: Likewise.
34369 * libio/genops.c: Likewise.
34370 * libio/iofclose.c: Likewise.
34371 * libio/iofdopen.c: Likewise.
34372 * libio/iofopen.c: Likewise.
34373 * libio/iofopen64.c: Likewise.
34374 * libio/iogetdelim.c: Likewise.
34375 * libio/iopopen.c: Likewise.
34376 * libio/obprintf.c: Likewise.
34377 * libio/oldfileops.c: Likewise.
34378 * libio/oldiofclose.c: Likewise.
34379 * libio/oldiofdopen.c: Likewise.
34380 * libio/oldiofopen.c: Likewise.
34381 * libio/oldiopopen.c: Likewise.
34382 * libio/wfiledoalloc.c: Likewise.
34383 * libio/wgenops.c: Likewise.
34384 * locale/programs/xmalloc.c: Likewise.
34385 * misc/syslog.c: Likewise.
34386 * stdio-common/xbug.c: Likewise.
34387 * string/memchr.c: Likewise.
34388 * string/memcmp.c: Likewise.
34389 * string/memrchr.c: Likewise.
34390 * string/rawmemchr.c: Likewise.
34391 * sysdeps/posix/getcwd.c: Likewise.
34392 * time/strftime_l.c: Likewise.
34393
3b100462
JM
343942012-01-30 Joseph Myers <joseph@codesourcery.com>
34395
34396 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
34397 * config.make.in (config-cflags-sse2avx): Define.
34398 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
34399 Fix typo.
34400
607998af
CM
344012012-01-29 Chris Metcalf <cmetcalf@tilera.com>
34402
34403 * scripts/config.guess: Update from upstream config git repository.
34404 * scripts/config.sub: Likewise.
34405
3601428f
CM
344062012-01-28 Chris Metcalf <cmetcalf@tilera.com>
34407
3ac8b282
CM
34408 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
34409 (EM_NUM): Update.
34410 (R_TILEPRO_*, R_TILEGX_*): New macros.
34411
e034841e
CM
34412 * scripts/firstversions.awk: Fix bug in version range handling.
34413
540d7568
CM
34414 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
34415
3601428f
CM
34416 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
34417
463de862
CM
34418 * include/sys/epoll.h: New file.
34419 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
34420 libc_hidden_def.
34421
73139a76
UD
344222012-01-28 Ulrich Drepper <drepper@gmail.com>
34423
96bc5b45
UD
34424 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
34425 Avoid unnecessary __WORDSIZE == 64 test.
34426 (fmaxf): Use VEX format if possible.
34427 (fmax): Likewise.
34428 (fminf): Likewise.
34429 (fmin): Likewise.
34430
56f6f6a2
UD
34431 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
34432 * math/math_private.h: Remove libc_fegetround* and
34433 libc_fesetround*.
34434 * sysdeps/i386/configure.in: Check for -msse2avx.
34435 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
34436 also if SSE2AVX is defined.
34437 Remove libc_fegetround* and libc_fesetround*.
34438 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
34439 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
34440 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
34441 of HAS_YMM_USABLE.
34442 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34443 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34444 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34445 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34446 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34447
73139a76
UD
34448 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
34449
d73f93a4
AZ
344502012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34451
34452 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
34453 size is not set.
34454 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34455
6ee65ed6
UD
344562012-01-27 Ulrich Drepper <drepper@gmail.com>
34457
34458 [BZ #13618]
34459 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
34460 relocation.
34461 * Makeconfig (libm): Define.
34462 * elf/Makefile: Add rules to build and run tst-relsort1.
34463 * elf/tst-relsort1.c: New file.
34464 * elf/tst-relsort1mod1.c: New file.
34465 * elf/tst-relsort1mod2.c: New file.
34466
8db21882
JM
344672012-01-27 Joseph Myers <joseph@codesourcery.com>
34468
34469 * math/s_ldexp.c: Remove __STDC__ conditionals.
34470 * math/s_ldexpf.c: Likewise.
34471 * math/s_ldexpl.c: Likewise.
34472 * math/s_nextafter.c: Likewise.
34473 * math/s_nexttowardf.c: Likewise.
34474 * math/s_significand.c: Likewise.
34475 * math/s_significandf.c: Likewise.
34476 * math/s_significandl.c: Likewise.
34477 * math/w_jnl.c: Likewise.
34478 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34479 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34480 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34481 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34482 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34483 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34484 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
34485 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34486 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34487 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34488 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34489 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34490 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34491 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34492 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34493 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34494 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34495 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34496 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34497 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34498 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34499 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34500 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34501 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34502 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34503 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34504 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34505 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34506 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34507 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34508 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34509 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34510 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34511 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34512 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34513 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34514 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34515 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34516 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34517 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34518 * sysdeps/ieee754/k_standard.c: Likewise.
34519 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34520 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34521 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34522 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34523 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34524 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34525 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34526 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34527 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34528 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34529 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34530 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34531 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34532 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34533 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34534 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34535 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34536 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34537 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34538 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34539 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34540 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34541 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34542 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34543 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34544 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34545 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34546 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34547 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34548 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34549 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34550 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
34551 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34552 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34553 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34554 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34555 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
34556 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34557 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34558 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
34559 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
34560 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34561 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
34562 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
34563 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34564 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
34565 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34566 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34567 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34568 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
34569 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
34570 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34571 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34572 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34573 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34574 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34575 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
34576 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34577 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34578 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34579 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34580 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34581 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34582 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34583 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34584 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34585 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34586 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34587 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34588 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34589 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34590 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34591 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34592 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34593 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34594 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34595 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34596 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34597 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34598 * sysdeps/ieee754/s_matherr.c: Likewise.
34599 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34600 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34601 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34602 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34603
965a54a4
JM
346042012-01-26 Joseph Myers <joseph@codesourcery.com>
34605
34606 * crypt/md5.h: Remove __STDC__ conditionals.
34607 * libio/libioP.h: Likewise.
34608 * locale/programs/config.h: Likewise.
34609 * sysdeps/generic/sysdep.h: Likewise.
34610 * sysdeps/i386/asm-syntax.h: Likewise.
34611 * sysdeps/s390/asm-syntax.h: Likewise.
34612 * sysdeps/unix/sysdep.h: Likewise.
34613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
34614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34615
7071ad79
JM
346162012-01-26 Joseph Myers <joseph@codesourcery.com>
34617
34618 * libio/libio.h: Remove __STDC__ conditionals.
34619 * malloc/obstack.h: Likewise.
34620 * math/complex.h: Likewise.
34621 * math/math.h: Likewise.
34622 * sysdeps/generic/_G_config.h: Likewise.
34623 * sysdeps/gnu/_G_config.h: Likewise.
34624 * sysdeps/mach/hurd/_G_config.h: Likewise.
34625 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34626 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34627 * sysdeps/sparc/bits/mathdef.h: Likewise.
34628
afc5ed09
UD
346292012-01-26 Ulrich Drepper <drepper@gmail.com>
34630
34631 [BZ #13583]
34632 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 34633 Clean up HAS_* macros.
afc5ed09 34634 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
34635 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
34636 possible.
34637 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
34638 HAS_AVX.
34639 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34640 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34641 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34642 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34643 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 34644
bdb6de1d
JM
346452012-01-25 Joseph Myers <joseph@codesourcery.com>
34646
34647 * elf/tst-unique3.cc (gets): Remove declaration.
34648 * elf/tst-unique3lib.cc (gets): Likewise.
34649 * elf/tst-unique3lib2.cc (gets): Likewise.
34650 * elf/tst-unique4.cc (gets): Likewise.
34651
b15549e6
UD
346522012-01-24 Ulrich Drepper <drepper@gmail.com>
34653
34654 * include/stdio.h: Add C++ protection. Add gets declarations and
34655 definitions.
34656 * debug/tst-chk1.c: Don't declare gets here.
34657 * stdio-common/tst-gets.c: Likewise.
34658
a037381f
JM
346592012-01-24 Joseph Myers <joseph@codesourcery.com>
34660
34661 * posix/glob: Remove directory.
34662
f1d4aa75
JM
346632012-01-24 Joseph Myers <joseph@codesourcery.com>
34664
34665 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
34666
81c0c964
PT
346672012-01-22 Pino Toscano <toscano.pino@tiscali.it>
34668
34669 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
34670 of the non-standard EPFNOSUPPORT.
34671
0ea698ae
ST
346722011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
34673
34674 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
34675 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
34676 ANYWHERE set to 1 only on KERN_NO_SPACE error.
34677
d220b117
UD
346782012-01-21 Ulrich Drepper <drepper@gmail.com>
34679
34680 * wcsmbs/uchar.h: Test __STDC_VERSION__.
34681
3e1aa84e
UD
346822012-01-20 Ulrich Drepper <drepper@gmail.com>
34683
34684 * nscd/aicache.c (addhstaiX): Do not cache negative results of
34685 transient errors.
34686 * nscd/grpcache.c (cache_addgr): Likewise.
34687 * nscd/hstcache.c (cache_addhst): Likewise.
34688 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34689 * nscd/pwdcache.c (cache_addpw): Likewise.
34690 * nscd/servicescache.c (cache_addserv): Likewise.
34691
400aa020
UD
346922012-01-16 Ulrich Drepper <drepper@gmail.com>
34693
d77e7869
UD
34694 * malloc/malloc.c: Various cleanups.
34695 * malloc/hooks.c: Likewise.
34696
400aa020
UD
34697 * stdlib/Makefile (tests): Add bug-fmtmsg1.
34698 * stdlib/bug-fmtmsg1.c: New file.
34699
34700 * stdlib/fmtmsg.c (init): Add missing unlock.
34701 Patch by Peng Haitao <penght@cn.fujitsu.com>.
34702
e0a309cf
MP
347032012-01-12 Marek Polacek <polacek@redhat.com>
34704
34705 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
34706 and _GNU_SOURCE.
34707
929d11c7
WS
347082012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34709
34710 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
34711 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
34712 macro to ensure uniqueness of label name.
34713 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
34714 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
34715
41d0e869
UD
347162012-01-11 Ulrich Drepper <drepper@gmail.com>
34717
0cc5ed3b
UD
34718 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
34719
41d0e869
UD
34720 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
34721 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34722 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34723 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
34724
a47a831a
UD
347252012-01-10 Ulrich Drepper <drepper@gmail.com>
34726
daa891c0
UD
34727 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
34728
34729 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
34730 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34731 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34732
e58ef0f2
UD
34733 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
34734
a47a831a 34735 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
34736 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34737 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 34738 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
34739
34740 * math/bits/math-finite.h: Add ldexp support.
34741
a0bfc9c7
MP
347422012-01-10 Marek Polacek <polacek@redhat.com>
34743
34744 * locale/programs/localedef.h (show_archive_content): Add noreturn
34745 attribute.
34746
d6e97a1d
UD
347472012-01-09 Ulrich Drepper <drepper@gmail.com>
34748
34749 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
34750
d5835c26
UD
347512012-01-08 Ulrich Drepper <drepper@gmail.com>
34752
e5f484c6
UD
34753 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
34754
d5835c26
UD
34755 * io/Makefile (headers): Add bits/poll2.h.
34756
d1f741e9
WS
347572011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
34758
34759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
34760 typo #include statement.
34761
ec09c1c4
UD
347622012-01-08 Ulrich Drepper <drepper@gmail.com>
34763
34764 * include/sys/cdefs.h: Define __attribute_alloc_size.
34765 * catgets/gencat.c: Add alloc_size attribute and apply consistently
34766 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
34767 * elf/pldd.c: Likewise.
34768 * iconv/iconv_charmap.c: Likewise.
34769 * iconv/iconvconfig.c: Likewise.
34770 * iconv/strtab.c: Likewise.
34771 * locale/programs/locale.c: Likewise.
34772 * locale/programs/localedef.h: Likewise.
34773 * locale/programs/simple-hash.c: Likewise.
34774 * nscd/nscd.h: Likewise.
34775 * nss/makedb.c: Likewise.
34776 * sysdeps/generic/ldconfig.h: Likewise.
34777 * locale/programs/localedef.c: Remove xmalloc prototype.
34778 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
34779
20b38e03
PP
347802012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34781
34782 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
34783 appropriate.
34784
a0da5fe1
UD
347852012-01-08 Ulrich Drepper <drepper@gmail.com>
34786
1d5a644a 34787 * math/Makefile (tests): Add tst-CMPLX.
669704fd 34788 * math/tst-CMPLX.c: New file.
1d5a644a 34789
8784a6db
UD
34790 * math/complex.h (CMPLXL): Fix typo.
34791
d9a216c0
UD
34792 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
34793 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
34794 GLIBC_2.16.
34795 * debug/tst-chk1.c: Add poll and ppoll tests.
34796 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
34797 * include/sys/poll.h: Add hidden proto for ppoll.
34798 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
34799 * sysdeps/mach/hurd/ppoll.c: Likewise.
34800 * io/ppoll.c: Likewise.
34801 * debug/poll_chk.c: New file.
34802 * debug/ppoll_chk.c: New file.
34803 * include/bits/poll2.h: New file.
34804 * io/bits/poll2.h: New file.
34805
ac097f5c
UD
34806 [BZ #1350]
34807 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
34808
2119dcfa
UD
34809 * configure.in: static is always set to yes. Remove.
34810 * config.make.in: Don't set build-static.
34811 * Makeconfig: Remove use of build-static.
34812 * dlfcn/Makefile: Likewise.
34813 * elf/Makefile: Likewise.
34814 * math/Makefile: Likewise.
34815 * misc/Makefile: Likewise.
34816 * nptl/Makefile: Likewise.
34817 * sysdeps/mach/hurd/Makefile: Likewise.
34818
121766a9
UD
34819 * configure.in: PWD_P is not used anymore.
34820 * config.make.in: Remove PWD_P entry.
34821
51a1d39c 34822 * configure.in: Remove last remnants of RANLIB.
8720d066 34823 No need to check for signed size_t anymore.
215f4bdc
UD
34824 Don't set libc_commonpagesize and libc_relro_required here for Alpha
34825 and IA-64.
3857022a 34826 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
34827 * aclocal.m4: Likewise.
34828
d3ed7225
UD
34829 * wcsmbs/mbrtoc16.c: Implement using towc function.
34830 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
34831 * wcsmbs/wcsmbsload.c: Likewise.
34832 * iconv/gconv_simple.c: Likewise.
34833 * iconv/gconv_int.h: Likewise.
34834 * iconv/gconv_builtin.h: Likewise.
34835 * iconv/iconv_prog.c: Remove CHAR16 handling.
34836
34837 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
34838
34839 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
34840
a0da5fe1
UD
34841 * configure.in: Remove --with-elf and --enable-bounded options.
34842 Dont set base_machine for ia64. More non-ELF conditions removed.
34843 Remove testing and setting of leading underscore information.
34844 * config.make.in (build-bounded): Set to no.
34845 * config.h.in: Remove NO_UNDERSCORES entry.
34846 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
34847 them.
34848 * csu/start.c: Remove !NO_UNDERSCORE code.
34849 * locale/localeinfo.h: Likewise.
34850 * sysdeps/generic/machine-gmon.h: Likewise.
34851 * sysdeps/generic/sysdep.h: Likewise.
34852 * sysdeps/i386/sysdep.h: Likewise.
34853 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
34854 * sysdeps/mach/sysdep.h: Likewise.
34855 * sysdeps/s390/s390-32/sysdep.h: Likewise.
34856 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34857 * sysdeps/sh/sysdep.h: Likewise.
34858 * sysdeps/sparc/sparc32/alloca.S: Likewise.
34859 * sysdeps/unix/i386/sysdep.S: Likewise.
34860 * sysdeps/unix/sparc/start.c: Likewise.
34861 * sysdeps/unix/sparc/sysdep.S: Likewise.
34862 * sysdeps/unix/sparc/sysdep.h: Likewise.
34863 * sysdeps/unix/start.c: Likewise.
34864 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34865 * sysdeps/x86_64/sysdep.h: Likewise.
34866
df78418a
UD
348672012-01-07 Ulrich Drepper <drepper@gmail.com>
34868
a784e502
UD
34869 [BZ #13553]
34870 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
34871 for non-gcc.
34872 * argp/argp-fmtstream.h: Use const instead __const.
34873 * argp/argp.h: Likewise.
34874 * assert/assert.h: Likewise.
34875 * bits/fenv.h: Likewise.
34876 * bits/sched.h: Likewise.
34877 * bits/sigset.h: Likewise.
34878 * bits/sigthread.h: Likewise.
34879 * catgets/nl_types.h: Likewise.
34880 * conform/data/pthread.h-data: Likewise.
34881 * crypt/crypt-private.h: Likewise.
34882 * crypt/crypt.h: Likewise.
34883 * crypt/crypt_util.c: Likewise.
34884 * ctype/ctype.h: Likewise.
34885 * debug/execinfo.h: Likewise.
34886 * debug/mbsnrtowcs_chk.c: Likewise.
34887 * debug/mbsrtowcs_chk.c: Likewise.
34888 * debug/wcsnrtombs_chk.c: Likewise.
34889 * debug/wcsrtombs_chk.c: Likewise.
34890 * debug/wcstombs_chk.c: Likewise.
34891 * dirent/dirent.h: Likewise.
34892 * dlfcn/dlfcn.h: Likewise.
34893 * elf/neededtest4.c: Likewise.
34894 * grp/grp.h: Likewise.
34895 * gshadow/gshadow.h: Likewise.
34896 * iconv/gconv.h: Likewise.
34897 * iconv/gconv_int.h: Likewise.
34898 * iconv/gconv_simple.c: Likewise.
34899 * iconv/iconv.h: Likewise.
34900 * iconv/loop.c: Likewise.
34901 * iconv/skeleton.c: Likewise.
34902 * include/aio.h: Likewise.
34903 * include/aliases.h: Likewise.
34904 * include/argz.h: Likewise.
34905 * include/arpa/inet.h: Likewise.
34906 * include/assert.h: Likewise.
34907 * include/dirent.h: Likewise.
34908 * include/dlfcn.h: Likewise.
34909 * include/execinfo.h: Likewise.
34910 * include/fcntl.h: Likewise.
34911 * include/fenv.h: Likewise.
34912 * include/glob.h: Likewise.
34913 * include/grp.h: Likewise.
34914 * include/libintl.h: Likewise.
34915 * include/mntent.h: Likewise.
34916 * include/netdb.h: Likewise.
34917 * include/pwd.h: Likewise.
34918 * include/rpc/netdb.h: Likewise.
34919 * include/sched.h: Likewise.
34920 * include/search.h: Likewise.
34921 * include/shadow.h: Likewise.
34922 * include/signal.h: Likewise.
34923 * include/stdio.h: Likewise.
34924 * include/stdlib.h: Likewise.
34925 * include/string.h: Likewise.
34926 * include/sys/socket.h: Likewise.
34927 * include/sys/stat.h: Likewise.
34928 * include/sys/statfs.h: Likewise.
34929 * include/sys/statvfs.h: Likewise.
34930 * include/sys/syslog.h: Likewise.
34931 * include/sys/time.h: Likewise.
34932 * include/sys/uio.h: Likewise.
34933 * include/time.h: Likewise.
34934 * include/unistd.h: Likewise.
34935 * include/utmp.h: Likewise.
34936 * include/wchar.h: Likewise.
34937 * include/wctype.h: Likewise.
34938 * inet/aliases.h: Likewise.
34939 * inet/arpa/inet.h: Likewise.
34940 * inet/netinet/ether.h: Likewise.
34941 * inet/netinet/in.h: Likewise.
34942 * intl/libintl.h: Likewise.
34943 * io/bits/fcntl2.h: Likewise.
34944 * io/fcntl.h: Likewise.
34945 * io/ftw.h: Likewise.
34946 * io/sys/poll.h: Likewise.
34947 * io/sys/stat.h: Likewise.
34948 * io/sys/statfs.h: Likewise.
34949 * io/sys/statvfs.h: Likewise.
34950 * io/utime.h: Likewise.
34951 * libio/bits/stdio.h: Likewise.
34952 * libio/bits/stdio2.h: Likewise.
34953 * libio/libio.h: Likewise.
34954 * libio/libioP.h: Likewise.
34955 * libio/stdio.h: Likewise.
34956 * locale/lc-ctype.c: Likewise.
34957 * locale/locale.h: Likewise.
34958 * login/utmp.h: Likewise.
34959 * malloc/arena.c: Likewise.
34960 * malloc/malloc.c: Likewise.
34961 * malloc/malloc.h: Likewise.
34962 * malloc/mcheck.c: Likewise.
34963 * malloc/mtrace.c: Likewise.
34964 * math/bits/mathcalls.h: Likewise.
34965 * math/fenv.h: Likewise.
34966 * math/math_private.h: Likewise.
34967 * misc/bits/error.h: Likewise.
34968 * misc/bits/syslog.h: Likewise.
34969 * misc/err.h: Likewise.
34970 * misc/error.h: Likewise.
34971 * misc/fstab.h: Likewise.
34972 * misc/mntent.h: Likewise.
34973 * misc/regexp.h: Likewise.
34974 * misc/search.h: Likewise.
34975 * misc/sgtty.h: Likewise.
34976 * misc/sys/mman.h: Likewise.
34977 * misc/sys/syslog.h: Likewise.
34978 * misc/sys/uio.h: Likewise.
34979 * misc/sys/xattr.h: Likewise.
34980 * misc/ttyent.h: Likewise.
34981 * nis/rpcsvc/ypclnt.h: Likewise.
34982 * nss/nss.h: Likewise.
34983 * posix/bits/unistd.h: Likewise.
34984 * posix/fnmatch.h: Likewise.
34985 * posix/glob.h: Likewise.
34986 * posix/sched.h: Likewise.
34987 * posix/spawn.h: Likewise.
34988 * posix/sys/wait.h: Likewise.
34989 * posix/unistd.h: Likewise.
34990 * posix/wordexp.h: Likewise.
34991 * pwd/pwd.h: Likewise.
34992 * resolv/netdb.h: Likewise.
34993 * resource/sys/resource.h: Likewise.
34994 * rt/aio.h: Likewise.
34995 * rt/bits/mqueue2.h: Likewise.
34996 * rt/mqueue.h: Likewise.
34997 * shadow/shadow.h: Likewise.
34998 * signal/signal.h: Likewise.
34999 * socket/send.c: Likewise.
35000 * socket/sendto.c: Likewise.
35001 * socket/sys/socket.h: Likewise.
35002 * stdio-common/printf.h: Likewise.
35003 * stdlib/bits/stdlib.h: Likewise.
35004 * stdlib/fmtmsg.h: Likewise.
35005 * stdlib/monetary.h: Likewise.
35006 * stdlib/stdlib.h: Likewise.
35007 * stdlib/ucontext.h: Likewise.
35008 * streams/stropts.h: Likewise.
35009 * string/argz.h: Likewise.
35010 * string/bits/string2.h: Likewise.
35011 * string/string.h: Likewise.
35012 * string/strings.h: Likewise.
35013 * sunrpc/rpc/auth.h: Likewise.
35014 * sunrpc/rpc/auth_des.h: Likewise.
35015 * sunrpc/rpc/clnt.h: Likewise.
35016 * sunrpc/rpc/netdb.h: Likewise.
35017 * sunrpc/rpc/pmap_clnt.h: Likewise.
35018 * sunrpc/rpc/xdr.h: Likewise.
35019 * sysdeps/generic/inttypes.h: Likewise.
35020 * sysdeps/generic/net/if.h: Likewise.
35021 * sysdeps/generic/sys/swap.h: Likewise.
35022 * sysdeps/gnu/net/if.h: Likewise.
35023 * sysdeps/gnu/utmpx.h: Likewise.
35024 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35025 * sysdeps/i386/i486/bits/string.h: Likewise.
35026 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35027 * sysdeps/s390/bits/string.h: Likewise.
35028 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35029 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35030 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35031 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35032 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35033 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35034 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35035 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35036 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35037 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35038 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35039 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35040 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35041 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35042 * sysdeps/unix/sysv/linux/readv.c: Likewise.
35043 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35044 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35045 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35046 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35047 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35048 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35049 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35050 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35051 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35052 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35053 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35054 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35055 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35056 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35057 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35058 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35059 * sysvipc/sys/ipc.h: Likewise.
35060 * sysvipc/sys/msg.h: Likewise.
35061 * sysvipc/sys/sem.h: Likewise.
35062 * sysvipc/sys/shm.h: Likewise.
35063 * termios/termios.h: Likewise.
35064 * time/sys/time.h: Likewise.
35065 * time/time.h: Likewise.
35066 * wcsmbs/bits/wchar2.h: Likewise.
35067 * wcsmbs/uchar.h: Likewise.
35068 * wcsmbs/wchar.h: Likewise.
35069 * wctype/wctype.h: Likewise.
35070
0269750c
UD
35071 [BZ #13551]
35072 * Makeconfig: Remove all but ELF support including AIX support.
35073 * Makerules: Likewise.
35074 * config.h.in: Likewise.
35075 * config.make.in: Likewise.
35076 * configure: Likewise.
35077 * configure.in: Likewise.
35078 * csu/Makefile: Likewise.
35079 * csu/version.c: Likewise.
35080 * debug/Makefile: Likewise.
35081 * dlfcn/Makefile: Likewise.
35082 * elf/Makefile: Likewise.
35083 * extra-lib.mk: Likewise.
35084 * iconv/Makefile: Likewise.
35085 * include/libc-symbols.h: Likewise.
35086 * include/shlib-compat.h: Likewise.
35087 * resolv/Makefile: Likewise.
35088 * resolv/res_libc.c: Likewise.
35089 * rt/Makefile: Likewise.
35090 * sysdeps/i386/asm-syntax.h: Likewise.
35091 * sysdeps/i386/sysdep.h: Likewise.
35092 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35093 * sysdeps/mach/sysdep.h: Likewise.
35094 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35095 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35096 * sysdeps/s390/asm-syntax.h: Likewise.
35097 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35098 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35099 * sysdeps/sh/sysdep.h: Likewise.
35100 * sysdeps/unix/sparc/sysdep.h: Likewise.
35101 * sysdeps/wordsize-32/divdi3.c: Likewise.
35102 * sysdeps/x86_64/sysdep.h: Likewise.
35103
00bbd29b
UD
35104 * argp/Versions: Remove _argp_unlock_xxx.
35105
35106 [BZ #13559]
35107 * abilist/ld.abilist: Update. Adjust for removal of tls option.
35108 * abilist/libBrokenLocale.abilist: Likewise.
35109 * abilist/libanl.abilist: Likewise.
35110 * abilist/libc.abilist: Likewise.
35111 * abilist/libcrypt.abilist: Likewise.
35112 * abilist/libdl.abilist: Likewise.
35113 * abilist/libm.abilist: Likewise.
35114 * abilist/libnsl.abilist: Likewise.
35115 * abilist/libpthread.abilist: Likewise.
35116 * abilist/libresolv.abilist: Likewise.
35117 * abilist/librt.abilist: Likewise.
35118 * abilist/libthread_db.abilist: Likewise.
35119 * abilist/libutil.abilist: Likewise.
35120 * abilist/libnss_db.abilist: New file.
35121
35122 * scripts/abilist.awk: Add support for indirect functions.
35123
a2693a0e
UD
35124 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35125
3f05895f
UD
35126 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35127
ecb6fb48
UD
35128 * shlib-versions: Remove entries for ports architectures.
35129
664f8cb9
UD
35130 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
35131 files in ports.
35132 * elf/stackguard-macros.h: Remove support for IA-64.
35133 * elf/tst-auditmod1.c: Likewise.
35134 * sysdeps/generic/ldsodefs.h: Likewise.
35135
7ae81d88
UD
35136 * sysdeps/unix/sysv/linux/configure.in: Ports should define
35137 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35138 configure files.
35139
bdeba135
UD
35140 [BZ #13552]
35141 * configure.in: Remove --enable-omitfp support.
35142 * FAQ.in: Adjust.
35143 * config.make.in: Likewise.
35144 * Makeconfig: Likewise.
35145 * manual/install.texi: Likewise.
35146
d75a0a62
UD
35147 In case anyone cares, the IA-64 architecture could move to ports.
35148 * sysdeps/ia64/*: Removed.
35149 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 35150 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 35151
dcc9756b
UD
35152 [BZ #13555]
35153 * configure.in: Remove entries for unsupported architectures.
35154
d3761ebc 35155 [BZ #13533]
9954432e
UD
35156 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35157 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
35158 routines.
35159 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35160 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35161 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
35162 fall back to using wcrtomb.
35163 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35164 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
35165 renaming.
35166 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35167 * wcsmbs/tst-c16c32-1.c: New file.
35168
35169 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35170 local variable.
35171
c3a87236
UD
35172 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35173
28926a1b
UD
35174 * elf/tst-unique3.cc: Add explicit declaration of gets.
35175 * elf/tst-unique3lib.cc: Likewise.
35176 * elf/tst-unique3lib2.cc: Likewise.
35177 * elf/tst-unique4.cc: Likewise.
35178
df78418a
UD
35179 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35180
8ecd6b2a
JM
351812012-01-06 Joseph Myers <joseph@codesourcery.com>
35182
35183 [BZ #13566]
35184 * assert/assert.h (static_assert): Don't define for C++.
35185 * libio/stdio.h (gets): Do declare for C++ <= C++11.
35186 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35187
9f115170
UD
351882012-01-03 Ulrich Drepper <drepper@gmail.com>
35189
5e0d0300
UD
35190 * iconv/loop.c (single loop): Fix assertion in storing of
35191 remaining bytes.
35192
9f115170
UD
35193 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35194
81fb02b0
UD
351952012-01-01 Ulrich Drepper <drepper@gmail.com>
35196
35197 * posix/getconf.c: Update copyright year.
35198 * nss/getent.c: Likewise.
a316c1f6 35199 * nss/makedb.c: Likewise.
81fb02b0
UD
35200 * iconv/iconvconfig.c: Likewise.
35201 * iconv/iconv_prog.c: Likewise.
35202 * elf/ldconfig.c: Likewise.
a316c1f6
UD
35203 * elf/pldd.c: Likewise.
35204 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
35205 * catgets/gencat.c: Likewise.
35206 * csu/version.c: Likewise.
35207 * elf/ldd.bash.in: Likewise.
35208 * elf/sprof.c (print_version): Likewise.
35209 * locale/programs/locale.c: Likewise.
35210 * locale/programs/localedef.c: Likewise.
a316c1f6 35211 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
35212 * nscd/nscd.c (print_version): Likewise.
35213 * debug/xtrace.sh: Likewise.
35214 * malloc/memusage.sh: Likewise.
35215 * malloc/mtrace.pl: Likewise.
35216 * debug/catchsegv.sh: Likewise.
35217
2ba92745
JJ
352182011-12-30 Jakub Jelinek <jakub@redhat.com>
35219
35220 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35221 pure attribute.
35222
dadebdae
UD
352232011-12-24 Ulrich Drepper <drepper@gmail.com>
35224
d3761ebc 35225 [BZ #13533]
db6af3eb
UD
35226 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35227 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35228 transformations.
35229 * iconv/gconv_int.h: Likewise.
35230 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35231 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35232 from libc for GLIBC_2.16.
35233 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35234 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35235 * wcsmbs/uchar.h: Really define mbstate_t.
35236 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35237 * wcsmbs/c16rtomb.c: New file.
35238 * wcsmbs/mbrtoc16.c: New file.
35239 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35240 for C/POSIX locale.
35241 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35242 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35243
dadebdae
UD
35244 * wcsmbs/wchar.h: Add missing __restrict.
35245
67371b56
UD
352462011-12-23 Ulrich Drepper <drepper@gmail.com>
35247
74033a25
UD
35248 [BZ #13532]
35249 * time/Makefile (routines): Add timespec_get.
35250 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35251 * time/time.h: Define TIME_UTC and declare timespec_get. Define
35252 timespec for ISO C11.
35253 * time/timespec_get.c: New file.
35254 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35255 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35256
380d7e87
UD
35257 [BZ #13531]
35258 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35259 * stdlib/stdlib.h: Declare aligned_alloc.
35260 * Versions.def: Add GLIBC_2.16 for libc.
35261 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35262
4e9e7a35
UD
35263 [BZ 13527]
35264 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35265 ISO C11.
35266
380d7e87 35267 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
35268 code.
35269
03a71829
UD
35270 [BZ #13528]
35271 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35272
839e283e
UD
35273 [BZ #13529]
35274 * assert/assert.h (static_assert): Define.
35275
ce5294e2 35276 * version.h: Update for 2.16 development version.
90fa7312 35277
8d44e150 35278 [BZ #13526]
d7809905
UD
35279 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35280 _ISOC11_SOURCE.
35281
c0da14cd
UD
35282 * version.h (RELEASE): Bump for 2.15 release.
35283 * include/features.h (__GLIBC_MINOR__): Bump to 15.
35284
530a3249
MP
35285 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35286 Patch by Marek Polacek <mpolacek@redhat.com>.
35287
67371b56
UD
35288 * bits/byteswap.h: Protect long long constants with __extension__.
35289 * sysdeps/i386/bits/byteswap.h: Likewise.
35290 * sysdeps/ia64/bits/byteswap.h: Likewise.
35291 * sysdeps/s390/bits/byteswap.h: Likewise.
35292 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35293
15db4de1
LD
352942011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35295
35296 [BZ #13540]
bbe315ea
LD
35297 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35298 destination buffer.
15db4de1
LD
35299 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35300
2b2596b1
MP
353012011-12-23 Marek Polacek <polacek@redhat.com>
35302
35303 * elf/dl-addr.c (determine_info): Add inline keyword.
35304 * elf/tst-auditmod4b.c (check_avx): Likewise.
35305 * elf/tst-auditmod6b.c (check_avx): Likewise.
35306 * elf/tst-auditmod6c.c (check_avx): Likewise.
35307 * elf/tst-auditmod7b.c (check_avx): Likewise.
35308
70c6c246
UD
353092011-12-23 Ulrich Drepper <drepper@gmail.com>
35310
35311 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35312 !__SSE_MATH__.
35313
c044cf14
LD
353142011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35315
15db4de1 35316 [BZ #13540]
c044cf14
LD
35317 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
35318 processing for last bytes.
35319
6b13d9d9
BH
353202011-08-06 Bruno Haible <bruno@clisp.org>
35321
d455f537
BH
35322 [BZ #13061]
35323 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
35324 U+0385, not to U+1FEE.
35325
6b13d9d9
BH
35326 [BZ #13062]
35327 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
35328 entry for U+00A5 U+0301.
35329
db910efd
UD
353302011-12-22 Ulrich Drepper <drepper@gmail.com>
35331
27deeafc
UD
35332 [BZ #13166]
35333 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
35334 buffer for the output is too small.
35335
aed9d171
UD
35336 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
35337 optimization.
35338
db910efd
UD
35339 [BZ #13185]
35340 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
35341 SSE flags if possible.
35342
2bd779ae
LD
353432011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35344
e7f9dac3 35345 [BZ #13540]
2bd779ae
LD
35346 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
35347 processing for last bytes.
35348
154bfc16
JM
353492011-12-22 Joseph Myers <joseph@codesourcery.com>
35350
35351 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
35352 (syscall-list-default-options, syscall-list-default-condition)
35353 (syscall-list-includes): Define.
35354 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
35355 list of ABIs and options and #if conditions for each ABI. Do not
35356 handle common syscalls between ABIs specially.
35357 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
35358 Remove.
35359 (syscall-list-variants, syscall-list-32bit-options)
35360 (syscall-list-32bit-condition, syscall-list-64bit-options)
35361 (syscall-list-64bit-condition): Define.
35362 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
35363 (syscall-list-variants, syscall-list-32bit-options)
35364 (syscall-list-32bit-condition, syscall-list-64bit-options)
35365 (syscall-list-64bit-condition): Define.
35366 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
35367 Remove.
35368 (syscall-list-variants, syscall-list-32bit-options)
35369 (syscall-list-32bit-condition, syscall-list-64bit-options)
35370 (syscall-list-64bit-condition): Define.
35371 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
35372 Remove.
35373 (syscall-list-variants, syscall-list-32bit-options)
35374 (syscall-list-32bit-condition, syscall-list-64bit-options)
35375 (syscall-list-64bit-condition): Define.
35376
21eaf3a5
UD
353772011-12-22 Ulrich Drepper <drepper@gmail.com>
35378
16c6f992
UD
35379 * locale/iso-639.def: Add brx entry.
35380
41043168
UD
35381 [BZ #13328]
35382 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
35383 Proposed by Mariusz_Cukr <marcukr@op.pl>.
35384
21eaf3a5
UD
35385 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
35386 __feraiseexcept_renamed.
35387
e3a851a2
UD
353882011-12-21 Ulrich Drepper <drepper@gmail.com>
35389
4920765e
UD
35390 [BZ #13538]
35391 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
35392 EPOLLET with unsigned values.
35393 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35394 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35395
e3a851a2
UD
35396 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
35397 to large cancellation.
35398 * math/s_cacoshf.c: Likewise.
35399 * math/s_cacoshl.c: Likewise.
35400
b27e24b8
RK
354012011-11-18 Richard B. Kreckel <kreckel@ginac.de>
35402
35403 [BZ #13305]
aebefeee 35404 [BZ #12786]
b27e24b8
RK
35405 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
35406 * math/s_cacoshf.c: Likewise.
35407 * math/s_cacoshl.c: Likewise.
35408
ee190f67
UD
354092011-12-21 Ulrich Drepper <drepper@gmail.com>
35410
35411 [BZ #13439]
35412 * iconv/gconv.h: Define __GCONV_SWAP.
35413 * iconvdata/unicode.c: The swap bit must be stored in __flags.
35414 * iconvdata/utf-16.c: Likewise.
35415 * iconvdata/utf-32.c: Likewise.
35416
707f25df
AS
354172011-12-21 Andreas Schwab <schwab@linux-m68k.org>
35418
35419 [BZ #13524]
35420 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
35421 numerator after shifting it by one limb.
35422
d2daaa1e
RÁE
354232011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
35424
35425 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
35426 under [__USE_EXTERN_INLINES].
35427
a4647e72
UD
354282011-12-17 Ulrich Drepper <drepper@gmail.com>
35429
35430 [BZ #13446]
35431 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
35432
f0b264f1
AZ
354332011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35434
35435 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
35436 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
35437 optimized code.
35438 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
35439 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
35440 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
35441 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
35442 for strncasecmp/strncasecmp_l compilation.
35443 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
35444 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
35445
8ef4f244
MP
354462011-12-08 Marek Polacek <mpolacek@redhat.com>
35447
35448 [BZ #13484]
35449 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
35450 of __asm__.
35451
97ac2654
UD
354522011-12-17 Ulrich Drepper <drepper@gmail.com>
35453
35454 [BZ #13506]
35455 * time/tzfile.c (__tzfile_read): Check values from file header.
35456
91d2a845
WS
354572011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35458
35459 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
35460 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
35461 * powerpc/powerpc32/dl-start.S: Likewise.
35462 * powerpc/powerpc32/elf/start.S: Likewise.
35463 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35464 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
35465 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
35466 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
35467 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35468 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
35469 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
35470 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35471 * powerpc/powerpc32/fpu/s_round.S: Likewise.
35472 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35473 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35474 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35475 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
35476 * powerpc/powerpc32/memset.S: Likewise.
35477 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35478 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35479 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35480 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35481 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35482 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35483 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35484 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35485 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
35486 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
35487 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
35488 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35489 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35490
a1267ba1
AZ
354912011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35492
35493 * math/libm-test.inc: Added more nearbyint tests.
35494 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
35495 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
35496 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
35497 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
35498
ad8ac1bd
RL
354992011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
35500
35501 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
35502 FD_CLOEXEC.
35503
1d3e4b61
UD
355042011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35505
35506 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
35507 Add wcscpy-ssse3 wcscpy-c.
35508 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
35509 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
35510 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
35511 * sysdeps/x86_64/wcschr.S: New file.
35512 * sysdeps/x86_64/wcsrchr.S: New file.
35513 * string/test-strcmp.c: Remove checking of wcscmp function for
35514 wrong alignments.
35515 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
35516 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
35517 wcsrchr-sse2 wcsrchr-c.
35518 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
35519 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
35520 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
35521 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
35522 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
35523 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
35524 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
35525 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
35526 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
35527 * wcsmbc/wcschr.c (WCSCHR): New macro.
35528
5b330a2d
UD
355292011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35530
35531 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
35532 * wcsmbs/test-wcsrchr.c: New file.
35533 * string/test-strrchr.c: Add wcsrchr support.
35534 (WIDE): New macro.
35535 * wcsmbs/test-wcscpy.c: New file.
35536 * string/test-strcpy.c: Add wcscpy support.
35537 (WIDE): New macro.
26428b7c 35538
f039c043
UD
355392011-12-10 Ulrich Drepper <drepper@gmail.com>
35540
35541 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
35542 the inner loop.
35543
850fb039
AS
355442011-12-06 Andreas Schwab <schwab@linux-m68k.org>
35545
35546 [BZ #13472]
35547 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
35548
4efbd5cb
UD
355492011-12-04 Ulrich Drepper <drepper@gmail.com>
35550
52ff5dd0 35551 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 35552 Minor optimizations.
52ff5dd0 35553
4efbd5cb
UD
35554 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
35555 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
35556 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
35557
8a426e12
UD
355582011-12-03 Ulrich Drepper <drepper@gmail.com>
35559
aff2453d
UD
35560 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
35561 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
35562 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
35563 for gcc to avoid warnings.
35564 * inet/Makefile (tests): Add tst-checks.
35565 * inet/tst-checks.c: New file.
35566
35567 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
35568 warning.
35569
35570 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
35571 __wmemcmp_sse2.
35572
35573 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
35574 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
35575
8a426e12
UD
35576 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
35577
9bea3473
UD
355782011-12-02 Ulrich Drepper <drepper@gmail.com>
35579
3a965496
UD
35580 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
35581 problem.
35582
9bea3473
UD
35583 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
35584
f101631b
UD
355852011-11-29 Joseph Myers <joseph@codesourcery.com>
35586
35587 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
35588 conditional on GCC version.
35589 (__arch_compare_and_exchange_val_8_acq)
35590 (__arch_compare_and_exchange_val_16_acq)
35591 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
35592 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
35593 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
35594
a98275aa
UD
355952011-12-02 Joseph Myers <joseph@codesourcery.com>
35596
35597 * sysdeps/sh/backtrace.c: New file.
35598
d4cc29a2
AS
355992011-12-02 Andreas Schwab <schwab@redhat.com>
35600
35601 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
35602 parenthesis.
35603
6257af2d
AS
356042011-12-01 Andreas Schwab <schwab@redhat.com>
35605
35606 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
35607 falling back to utime.
35608
b5f44c1a
AS
356092011-11-30 Andreas Schwab <schwab@redhat.com>
35610
35611 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
35612 expectations for float.
35613
f3a6cc0a
AS
356142011-11-29 Andreas Schwab <schwab@redhat.com>
35615
35616 * locale/weight.h (findidx): Add parameter len.
35617 * locale/weightwc.h (findidx): Likewise.
35618 * posix/fnmatch_loop.c (FCT): Adjust caller.
35619 * posix/regcomp.c (build_equiv_class): Likewise.
35620 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
35621 * posix/regexec.c (check_node_accept_bytes): Likewise.
35622 * string/strcoll_l.c (STRCOLL): Likewise.
35623 * string/strxfrm_l.c (STRXFRM): Likewise.
35624
9d65ea3a
UD
356252011-11-17 Ulrich Drepper <drepper@gmail.com>
35626
35627 * Makefile.in: Remove CVSOPT handling.
35628 * configure.in: Remove use of AC_REVISION.
35629 * iconvdata/Makefile (distribute): No need to filter out CVS.
35630 * scripts/list-sources.sh: Remove CVS, subversion and monotone
35631 handling.
35632
5583a086
AS
356332011-11-16 Andreas Schwab <schwab@redhat.com>
35634
35635 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
35636 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
35637 [USE_AS_STRNCASECMP_L]: Likewise.
35638 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
35639 NO_TLS_DIRECT_SEG_REFS.
35640 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
35641 Fix argument offsets for non-PIC.
35642 [USE_AS_STRNCASECMP_L]: Likewise.
35643 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
35644 NO_TLS_DIRECT_SEG_REFS.
35645
d62a8200
UD
356462011-11-15 Ulrich Drepper <drepper@gmail.com>
35647
9d65ea3a 35648 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
35649 O_CLOEXEC.
35650 * locale/loadlocale.c (_nl_load_locale): Likewise.
35651
09f93bd3
AS
356522011-11-15 Andreas Schwab <schwab@redhat.com>
35653
446514f9
AS
35654 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
35655 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
35656 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
35657 (SYSCALL_GETTIME): Set errno on error.
35658
09f93bd3
AS
35659 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
35660 count references to noai6ai_cached.
35661
312be3f9
UD
356622011-11-15 Ulrich Drepper <drepper@gmail.com>
35663
35664 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
35665
35666 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
35667 FD_CLOEXEC for /proc/self/maps.
35668
35669 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
35670 FD_CLOEXEC for /proc/meminfo.
35671
35672 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
35673 gai.conf.
35674
35675 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
35676 FD_CLOEXEC for given file.
35677
35678 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
35679
35680 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
35681 FD_CLOEXEC for /etc/hosts.
35682 (_gethtent): Likewise.
35683
35684 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
35685
35686 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
35687 cancellation and set FD_CLOEXEC for /etc/netgroup.
35688
35689 * nss/nss_files/files-key.c (search): Don't allow cancellation when
35690 reading /etc/publickey.
35691
35692 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
35693 allow cancellation when reading /etc/group.
35694
35695 * nss/nss_files/files-alias.c (internal_setent): Don't allow
35696 cancellation.
35697 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
35698
35699 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
35700 when using data file.
35701
35702 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
35703
35704 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
35705 (write_nis_obj): Use "c" and "e" in fopen.
35706
35707 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
35708
35709 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
35710
35711 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
35712
35713 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
35714
35715 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
35716 locale.alias.
35717
35718 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
35719
35720 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
35721
35722 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
35723
35724 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
35725 file parsing and set FD_CLOEXEC.
35726
82af0fa8
UD
357272011-11-14 Ulrich Drepper <drepper@gmail.com>
35728
35729 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
35730
a5fb313c
AS
357312011-11-14 Andreas Schwab <schwab@redhat.com>
35732
35733 * malloc/arena.c (arena_get2): Don't call reused_arena when
35734 _int_new_arena failed.
35735
6abf3465
UD
357362011-11-14 Ulrich Drepper <drepper@gmail.com>
35737
35738 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
35739 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
35740 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
35741 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35742 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35743 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
35744 to compile strcasecmp and strncasecmp.
35745 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
35746 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
35747
35748 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
35749
76e3966e
UD
357502011-11-13 Ulrich Drepper <drepper@gmail.com>
35751
35752 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
35753 locale-defines.sym to gen-as-const-headers.
35754 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
35755 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
35756 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
35757 to compile strcasecmp and strncasecmp.
35758 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
35759 strcasecmp_l and strncasecmp_l.
35760 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
35761 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
35762 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
35763 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
35764 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
35765 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
35766 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
35767 * sysdeps/i386/i686/multiarch/strncase.S: New file.
35768 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
35769 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
35770 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
35771
ab26144e
UD
357722011-11-12 Ulrich Drepper <drepper@gmail.com>
35773
7edb22ef
UD
35774 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
35775 result of SYSDEP_GETTIME_CPU to retval.
35776 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
35777 parameter list to macro. Remove trailing semicolon. Adjust users.
35778
9694fc44
UD
35779 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
35780 variable.
35781
8ad89ef8
UD
35782 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
35783 mantissa words.
35784 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35785
0c822ef9
UD
35786 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
35787 from unused variable.
35788
874e0564
UD
35789 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
35790 DWARF definitions.
35791 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
35792 for assembling.
35793
3a2edc79
UD
35794 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
35795 over namespaces.
35796
f3c2577f
UD
35797 * sunrpc/rpc_prot.c (rejected): Fix case value.
35798
294ce126
UD
35799 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
35800 unsigned long long int to avoid warnings in shift.
35801
5e2b63c6
UD
35802 * posix/regex_internal.c (re_string_reconstruct): Actually use result
35803 of use of trans.
35804 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
35805 variable tmp.
35806
e7f4b08e
UD
35807 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
35808 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
35809 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
35810
ab26144e
UD
35811 * nis/nis_table.c (nis_list): Use variable of correct type for
35812 result of __follow_path call.
35813
8a6d5255
AZ
358142011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35815
35816 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
35817 of math functions ceil, trunc, floor, round, and sqrt, when
35818 avaliable on the platform.
35819 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
35820 name clash.
35821 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35822 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35823 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35824
aaddc98c
MP
358252011-10-30 Marek Polacek <mpolacek@redhat.com>
35826
35827 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
35828 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35829
95b7042b
RM
358302011-11-11 Roland McGrath <roland@hack.frob.com>
35831
35832 * include/unistd.h: Fix __readlink return type.
35833 Reported by Chris Metcalf <cmetcalf@tilera.com>.
35834
57769839
UD
358352011-11-11 Ulrich Drepper <drepper@gmail.com>
35836
35837 * stdlib/ucontext.h: Undo last change for makecontext.
35838
edc5984d
AS
358392011-11-11 Andreas Schwab <schwab@redhat.com>
35840
98591e58
AS
35841 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
35842
edc5984d
AS
35843 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
35844 * setjmp/setjmp.h: Mark functions as non-leaf.
35845 * setjmp/bits/setjmp2.h: Likewise.
35846 * stdlib/ucontext.h: Likewise.
35847
77cdc054
AS
358482011-11-10 Andreas Schwab <schwab@redhat.com>
35849
35850 * malloc/arena.c (_int_new_arena): Don't increment narenas.
35851 (reused_arena): Don't check arena limit.
35852 (arena_get2): Atomically check arena limit.
35853
fe72eebd
UD
358542011-11-08 Ulrich Drepper <drepper@gmail.com>
35855
5f078c32
UD
35856 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
35857 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
35858
fe72eebd
UD
35859 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
35860 instructions.
35861
ae1bc2fa
AS
358622011-11-07 Andreas Schwab <schwab@redhat.com>
35863
7583a88d
AS
35864 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
35865 handler when locking.
35866
ae1bc2fa
AS
35867 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35868 Fix size of allocated buffer.
35869
10fb0bfa
AS
358702011-11-04 Andreas Schwab <schwab@redhat.com>
35871
998832a4
AS
35872 [BZ #10103]
35873 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
35874 declarations for long double functions.
35875 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
35876
10fb0bfa
AS
35877 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
35878
3d7ba52b
AS
358792011-11-03 Andreas Schwab <schwab@redhat.com>
35880
a9ae54a1
AS
35881 * nscd/nscd.c (main): Don't start AVC thread until credentials are
35882 installed.
35883
3d7ba52b
AS
35884 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
35885 is disabled.
35886
bc8db248
ST
358872011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
35888
35889 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
35890
45b96dd6
AS
358912011-11-01 Andreas Schwab <schwab@linux-m68k.org>
35892
647776f6
AS
35893 * include/alloca.h (stackinfo_alloca_round): Define.
35894 (extend_alloca): Use it.
35895 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
35896 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
35897 here.
35898
d91a8b93
AS
35899 * scripts/check-local-headers.sh: Ignore libaudit.h.
35900
45b96dd6
AS
35901 * nscd/Makefile (extra-objs): Make recursively expanded.
35902
432d41ce
UD
359032011-11-01 Ulrich Drepper <drepper@gmail.com>
35904
34372fc6
UD
35905 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
35906 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
35907
fadb59f8
UD
35908 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
35909 * posix/tst-rfc3484-2.c: Likewise.
35910 * posix/tst-rfc3484-3.c: Likewise.
35911
78239589
UD
35912 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35913 process_vm_writev.
35914 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
35915 process_vm_writev.
35916 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
35917 process_vm_writev from libc using GLIBC_2.15 version.
35918
432d41ce
UD
35919 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
35920
02f9c6cf
PP
359212011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
35922
35923 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
35924 stack usage.
35925
3a2c0242
UD
359262011-10-31 Ulrich Drepper <drepper@gmail.com>
35927
f4ec4833
UD
35928 [BZ #13367]
35929 * nss/getent.c (initgroups_keys): Show error message in case no group
35930 names are given.
35931
3a2c0242
UD
35932 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
35933 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
35934 __bump_nl_timestamp.
35935 * nscd/connections (nscd_init): When host database is served open
35936 netlink socket and request notification about configuration changes.
35937 (main_loop_poll): Track netlink file descriptor and bump timestamp
35938 in case data becomes available.
35939 (main_loop_epoll): Likewise.
35940 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
35941 (database_pers_head): Add extra_data fileds.
35942 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
35943 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
35944 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
35945 Adjust caller.
35946 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
35947 in6ai data, call __free_in6ai.
35948 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
35949 Add -DHAVE_NETLINK.
35950 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
35951 interface information. Reuse previous data if netlink timestamp
35952 is not changed.
35953 (__bump_nl_timestamp): New function.
35954 (__free_in6ai): New function.
35955
636064eb
UD
359562011-10-30 Ulrich Drepper <drepper@gmail.com>
35957
35958 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
35959 close_not_cancel_no_status here.
35960 (__check_pf): Reorganize code a bit to not call close twice if OOM.
35961
9beb2334
UD
359622011-10-29 Ulrich Drepper <drepper@gmail.com>
35963
6ef76f3b
UD
35964 [BZ #13276]
35965 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
35966 return value.
35967
0ffc4f3e 35968 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
35969 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
35970 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
35971
cb95113e
UD
359722011-07-03 Andreas Jaeger <aj@suse.de>
35973
35974 [BZ #10709]
35975 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
35976 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
35977 * math/libm-test.inc (sin_test): Add test case.
35978
a1b560ff
UD
359792011-10-29 Ulrich Drepper <drepper@gmail.com>
35980
c9aaface
UD
35981 [BZ #13337]
35982 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
35983 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
35984
d272e7f1
UD
35985 * elf/chroot_canon.c (chroot_canon): Cleanups.
35986
1bc33071
UD
35987 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
35988
1760874d
TJ
35989 [BZ #13335]
35990 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
35991 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
35992
51d91b18
UD
35993 * string/test-strchr.c: Make usable for strchrnul testing.
35994 * string/test-strchrnul.c: New file.
35995 * string/Makefile (strop-tests): Add strchrnul.
35996
a1b560ff 35997 * po/it.po: Update from translation team.
b611fb81 35998 * po/es.po: Likewise.
a1b560ff 35999
a5b81e1f
UD
360002011-10-28 Ulrich Drepper <drepper@gmail.com>
36001
fd52bc6d
UD
36002 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36003 the three constants needed as parameters. Drop the others.
36004 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36005 __m128i_strloadu_tolower.
52e4b9eb
UD
36006 Create and initialize variable zero and use it in all the places
36007 where _mm_setzero_si128 was used.
fd52bc6d 36008
a5b81e1f
UD
36009 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36010 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36011 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36012 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36013 anymore.
36014 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36015 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36016 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36017 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36018 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36019 __mpranred, __mptan.
36020 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36021 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36022 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36023 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36024 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36025 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36026 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36027 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36028 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36029
b4343346
AS
360302011-10-28 Andreas Schwab <schwab@redhat.com>
36031
0c92d8a8
AS
36032 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36033 redefine if SHARED.
36034 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36035
b4343346
AS
36036 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36037 wide char related routines to wcsmbs subdir.
36038
3871f58f
AS
360392011-10-27 Andreas Schwab <schwab@redhat.com>
36040
36041 [BZ #13344]
36042 * misc/sys/cdefs.h (__THROWNL): Define.
36043 * posix/unistd.h: Use __THREADNL instead of __THREAD
36044 for memory synchronization functions.
36045
94d44d9f
RM
360462011-10-26 Roland McGrath <roland@hack.frob.com>
36047
21b64b15 36048 [BZ #13349]
94d44d9f
RM
36049 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36050 doesn't exist.
36051 * manual/stdio.texi (Obstack Streams): Node removed.
36052
f6ce9294
AS
360532011-10-26 Andreas Schwab <schwab@redhat.com>
36054
80479147
AS
36055 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36056 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36057 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36058
f6ce9294
AS
36059 * math/math_private.h (math_force_eval): Allow non-addressable
36060 arguments.
36061 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36062
618280a1
UD
360632011-10-25 Ulrich Drepper <drepper@gmail.com>
36064
e0016b11
UD
36065 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36066 file is not needed.
36067
36068 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36069 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36070 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36071 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36072 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36073 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36074 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36075 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36076 Add AVX variants.
36077 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36078 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36079 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36080 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36081 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36082 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36083 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36084 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36085 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36086 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36087 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36088 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36089 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36090 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36091 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36092 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36093 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36094 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36095 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36096
36097 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36098 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
36099
618280a1
UD
36100 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36101 place. Use VEX encoding when compiling for AVX.
36102
37822576
AS
361032011-10-25 Andreas Schwab <schwab@redhat.com>
36104
1f1e1947
AS
36105 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36106 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36107
37822576
AS
36108 * string/test-strchr.c (do_test): Don't generate NUL bytes.
36109
31ea014d
UD
361102011-10-25 Ulrich Drepper <drepper@gmail.com>
36111
d7826aa1 36112 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 36113 useless if() expression.
d7826aa1
UD
36114 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36115 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36116 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36117 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36118 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36119 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36120 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36121 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36122 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36123 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36124 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36125 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36126 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36127 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36128 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36129 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36130 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36131 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36132 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36133
31ea014d
UD
36134 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36135
16437fec
AS
361362011-10-25 Andreas Schwab <schwab@redhat.com>
36137
36138 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36139 condition.
36140 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36141
31d3cc00
UD
361422011-10-25 Ulrich Drepper <drepper@gmail.com>
36143
36144 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36145 .text section. Avoid duplicate constants.
36146 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36147 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36148 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36149 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36150 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36151 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36152 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36153 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36154 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36155 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36156 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36157 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36158 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36159 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36160 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36161 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36162 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36163 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36164 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36165 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36166 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36167 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36168 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36169 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36170 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36171 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36172 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36173 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36174 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36175 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36176 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36177 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36178 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36179 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36180 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36181 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36182 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36183 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36184 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36185 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36186 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36187 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36188 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36189 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36190 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36191
58985aa9
UD
361922011-10-24 Ulrich Drepper <drepper@gmail.com>
36193
202c9deb
UD
36194 * sysdeps/x86_64/dla.h: Move to ...
36195 * sysdeps/x86_64/fpu/dla.h: ...here.
36196 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36197 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 36198
af968f62
UD
36199 * config.make.in: Add have-mfma4 entry.
36200 * configure.in: Substitute libc_cv_cc_fma4.
36201 * math/Makefile (dbl-only-routines): Add sincostab.
36202 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36203 Use __sincostab not sincos.
36204 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36205 name is a macro.
36206 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36207 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36208 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36209 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
36210 using __copysign.
36211 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
36212 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
36213 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36214 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36215 and __inv.
36216 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36217 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36218 __copysign.
36219 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
36220 define aliases when function name is a macro.
36221 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36222 sysdeps/ieee754/dbl-64/sincos.tbl.
36223 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36224 fma4-enabled routines.
36225 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36226 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36227 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36228 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36229 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36230 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36231 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36232 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36233 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36234 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36235 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36236 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36237 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36238 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36239 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36240 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36241 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36242 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36243 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36244 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36245 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36246 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36247 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36248 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36249 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36250 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36251 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36252 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36253 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36254 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36255
58985aa9
UD
36256 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36257 rename.
36258 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36259 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36260 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36261 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36262 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36263 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36264 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36265 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36266
a201fbcf
AS
362672011-10-24 Andreas Schwab <schwab@redhat.com>
36268
36269 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36270
fc2ee42a
LD
362712011-10-23 Ulrich Drepper <drepper@gmail.com>
36272
bb3129bd
UD
36273 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36274
0275fff8
UD
36275 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36276 prediction.
36277 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36278
2fa2ae85
UD
36279 * string/strnlen.c: Don't define STRNLEN, reverse logic.
36280 Remove unused variable magic_bits.
36281 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36282
fc2ee42a
LD
36283 * string/strnlen.c: Define and use STRNLEN macro.
36284 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36285 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36286 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36287 * wcsmbs/wcslen.c: Define and use WCSLEN.
36288 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36289 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36290 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36291 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36292 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36293 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36294 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36295
ce7dd29f
LD
362962011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36297
36298 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36299 strnlen-sse2-no-bsf.
36300 Rename strlen-no-bsf to strlen-sse2-no-bsf.
36301 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36302 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36303 Add strnlen support.
36304 (USE_AS_STRNLEN): New macro.
36305 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36306 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36307 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36308 * sysdeps/x86_64/wcslen.S: New file.
36309
979c70a3
MZ
363102011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
36311
36312 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36313 XMM-moves are used for copying on small sizes.
36314
2d09f82f
LD
363152011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36316
36317 * wcsmbs/Makefile (strop-tests): Add wcschr.
36318 * wcsmbs/test-wcschr.c: New file.
36319 * string/test-strchr.c: Update.
36320 Add wcschr support.
36321 (WIDE): New macro.
36322
619fccca
LD
363232011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36324
2d09f82f 36325 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
36326 * wcsmbs/test-wcslen.c: New file.
36327 * string/test-strlen.c: Update.
36328 Add wcslen support.
36329 (WIDE): New macro.
36330
09f699ea
UD
363312011-10-23 Ulrich Drepper <drepper@gmail.com>
36332
36333 * po/it.po: Update from translation team.
36334
95584d3b
LD
363352011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36336
36337 * sysdeps/x86_64/wcscmp.S: Update.
36338 Fix wrong comparison semantics.
36339 wcscmp shall use signed comparison not unsigned.
36340 Don't use substraction to avoid overflow bug.
36341 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36342 * wcsmbc/wcscmp.c: Likewise.
36343 * string/test-strcmp.c: Likewise.
36344 Add new tests to check cases with negative values.
36345
c8b3296b
UD
363462011-10-23 Ulrich Drepper <drepper@gmail.com>
36347
36348 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
36349 * sysdeps/x86_64/dla.h: ...here. New file.
36350 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
36351 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36352 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36353 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36354 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36355 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36356 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36357 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36358 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36359
246ad57a
AS
363602011-10-23 Andreas Schwab <schwab@linux-m68k.org>
36361
36362 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
36363 __ynl_finite aliases.
36364
a1a87169
UD
363652011-10-22 Ulrich Drepper <drepper@gmail.com>
36366
0d355eb7
UD
36367 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36368
a1a87169
UD
36369 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
36370 define DLA_FMA.
36371 [DLA_FMA] (EMULV): Use DLA_FMA.
36372 [DLA_FMA] (MUL12): Use EMULV.
36373 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
36374 that are not needed.
36375 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36376 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36377 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36378 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36379 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36380 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36381 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36382
ee2aafe0
AS
363832011-10-22 Andreas Schwab <schwab@linux-m68k.org>
36384
36385 * math/s_nan.c: Undef __nan.
36386 * math/s_nanf.c: Undef __nanf.
36387 * math/s_nanl.c: Undef __nanl.
36388 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
36389 "math_private.h".
36390
bc62c2fb
UD
363912011-10-22 Ulrich Drepper <drepper@gmail.com>
36392
77425c63
UD
36393 * math/s_catan.c: Add branch predictions.
36394 * math/s_catanf.c: Likewise.
36395 * math/s_catanh.c: Likewise.
36396 * math/s_catanhf.c: Likewise.
36397 * math/s_catanhl.c: Likewise.
36398 * math/s_catanl.c: Likewise.
36399 * math/s_cexp.c: Likewise.
36400 * math/s_cexpf.c: Likewise.
36401 * math/s_cexpl.c: Likewise.
36402 * math/s_clog.c: Likewise.
36403 * math/s_clog10.c: Likewise.
36404 * math/s_clog10f.c: Likewise.
36405 * math/s_clog10l.c: Likewise.
36406 * math/s_clogf.c: Likewise.
36407 * math/s_clogl.c: Likewise.
36408 * math/s_csqrt.c: Likewise.
36409 * math/s_csqrtf.c: Likewise.
36410 * math/s_csqrtl.c: Likewise.
36411 * math/s_ctanf.c: Likewise.
36412 * math/s_ctanh.c: Likewise.
36413 * math/s_ctanhf.c: Likewise.
36414 * math/s_ctanhl.c: Likewise.
36415 * math/s_ctanl.c: Likewise.
36416
bc62c2fb
UD
36417 * math/math_private.h: Define __nan, __nanf, __nanl.
36418 * math/s_cacosh.c: Include <math_private.h>.
36419 * math/s_cacoshl.c: Likewise.
36420 * math/s_casinh.c: Likewise.
36421 * math/s_casinhf.c: Likewise.
36422 * math/s_casinhl.c: Likewise.
36423 * math/s_ccos.c: Rely entire on ccosh.
36424 * math/s_ccosf.c: Rely entire on ccoshf.
36425 * math/s_ccosl.c: Rely entirely on ccoshl.
36426 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
36427 Remove tests for FE_INVALID.
36428 * math/s_ccoshf.c: Likewise.
36429 * math/s_ccoshl.c: Likewise.
36430 * math/s_csin.c: Likewise.
36431 * math/s_csinf.c: Likewise.
36432 * math/s_csinh.c Likewise.
36433 * math/s_csinhf.c: Likewise.
36434 * math/s_csinhl.c: Likewise.
36435 * math/s_csinl.c: Likewise.
36436 * math/s_ctan.c: Likewise.
36437 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
36438 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
36439 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
36440
8ec250a4
UD
364412011-10-21 Ulrich Drepper <drepper@gmail.com>
36442
c196fed8
UD
36443 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
36444 compilation problems.
36445
8ec250a4
UD
36446 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
36447 __builtin_expect.
36448
8d4f46c6
UD
364492011-10-20 Ulrich Drepper <drepper@gmail.com>
36450
ed72b654
UD
36451 * sysdeps/i386/configure.in: Test for -mfma4 option.
36452 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
36453 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
36454 COMMON_CPUID_INDEX_80000001.
36455 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
36456 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
36457 use it if FMA3 is not supported.
36458 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
36459
8d4f46c6
UD
36460 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
36461 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36462
d45c60c2
AS
364632011-10-20 Andreas Schwab <schwab@redhat.com>
36464
36465 [BZ #12892]
36466 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
36467 it would create a cycle with a link time dependency.
36468
d9a4d2ab
UD
364692011-10-19 Ulrich Drepper <drepper@gmail.com>
36470
855d1560
UD
36471 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
36472 instruction.
36473 * string/Makefile (strop-tests): Add rawmemchr.
36474 * string/test-rawmemchr.c: New file.
36475
d9a4d2ab
UD
36476 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
36477 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
36478 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
36479 when compiling str{,n}casecmp and when AVX is available. Hook up
36480 new optimized code in initializers.
36481
8f3b1ffe
AS
364822011-10-19 Andreas Schwab <schwab@redhat.com>
36483
36484 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
36485 __feraiseexcept instead of feraiseexcept.
36486
d38f1dba
UD
364872011-10-18 Ulrich Drepper <drepper@gmail.com>
36488
d9a8d0ab
UD
36489 * math/math_private.h: Define defaults for libc_fetestexcept and
36490 libc_feupdateenv.
36491 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
36492 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
36493 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36494 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36495 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36496 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36497 libc_fetestexcept and libc_feupdateenv.
36498
4855e3dd
UD
36499 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
36500 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
36501 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
36502 * sysdeps/x86_64/fpu/math_private.h: Define special version of
36503 libc_feholdexcept_setround.
36504
581d30e3
UD
36505 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
36506 Add s_nearbyint-c and s_nearbyintf-c.
36507 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
36508 nearbyintf inlines.
36509 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
36510 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
36511 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
36512 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
36513
d38f1dba
UD
36514 * math/math_private.h: Define defaults for libc_fegetround,
36515 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
36516 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
36517 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
36518 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
36519 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
36520 standard functions.
36521 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36522 Remove comments and hacks for old compiler versions.
36523 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36524 libc_fegetround, libc_fesetround, libc_feholdexcept, and
36525 libc_feholdexceptl.
36526
caa6c9d8
AS
365272011-10-18 Andreas Schwab <schwab@redhat.com>
36528
36529 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
36530 (__feraiseexcept_renamed): Add __NTH.
36531 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
36532 namespace violations.
36533
97c066e6
UD
365342011-10-17 Ulrich Drepper <drepper@gmail.com>
36535
99ce7b04
UD
36536 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
36537
1004d182
UD
36538 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
36539
228a984d
UD
36540 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
36541 recently added interfaces.
36542 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
36543
c8553a6a
UD
36544 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
36545 about macro parameter expansion.
36546
ed22dcf6
UD
36547 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
36548 __NO_MATH_INLINES is defined. Cleanups.
36549
36550 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
36551 and __floorf is target has SSE4.1.
36552 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
36553 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
36554 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
36555 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
36556
b171c137
UD
36557 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
36558 name.
36559 (floorf): Likewise.
36560
97c066e6
UD
36561 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
36562
629f62ef
AS
365632011-10-17 Andreas Schwab <schwab@redhat.com>
36564
49a43d80
AS
36565 * misc/sys/cdefs.h: Fix last change.
36566
629f62ef
AS
36567 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
36568 database lookup.
36569
e453f6cd
UD
365702011-10-16 Ulrich Drepper <drepper@gmail.com>
36571
aa78043a
UD
36572 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
36573
ad0f5cad
UD
36574 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
36575 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36576 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36577 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36578 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36579 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36580 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36581 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36582 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36583 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
36584 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
36585 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
36586 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
36587 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
36588 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
36589 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
36590 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
36591 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
36592 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
36593 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
36594 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
36595 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
36596
36597 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
36598 ceil, ceilf, floor, floorf.
36599
36600 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
36601 Perform IRELATIVE relocations last.
36602
e453f6cd
UD
36603 * elf/do-rel.h: Add another parameter nrelative, replacing the
36604 local variable with the same name. Change name of the function
36605 to end in Rel or Rela (uppercase).
36606 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
36607 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
36608 elf_dynamic_do_##reloc function.
36609
fd5bdc09
UD
366102011-10-15 Ulrich Drepper <drepper@gmail.com>
36611
79b195b5
UD
36612 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
36613 is sufficient, at least on modern CPUs.
36614
d4a28569
UD
36615 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
36616
b61099b5
UD
36617 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
36618 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
36619
bcf01e6d
UD
36620 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
36621 __expl_finite.
36622 * math/bits/math-finite.h: Add entries for exp.
36623 * math/e_expl.c: Add __*_finite alias.
36624 * sysdeps/i386/fpu/e_exp.S: Likewise.
36625 * sysdeps/i386/fpu/e_expf.S: Likewise.
36626 * sysdeps/i386/fpu/e_expl.c: Likewise.
36627 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36628 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36629 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36630 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36631 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
36632 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36633 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36634
ba1a0d59
UD
36635 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
36636 is sufficient, at least on modern CPUs.
36637
fd5bdc09
UD
36638 * ctype/ctype-info.c (__ctype_init): Define.
36639 * include/ctype.h (__ctype_init): Declare.
36640 (__ctype_b_loc): The variable is always initialized.
36641 (__ctype_toupper_loc): Likewise.
36642 (__ctype_tolower_loc): Likewise.
36643 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
36644 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
36645
7872cfb0
AS
366462011-10-15 Andreas Schwab <schwab@linux-m68k.org>
36647
b468825a
AS
36648 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
36649
7872cfb0
AS
36650 * configure.in: Also look in $cxxmachine/include for C++ system
36651 headers.
36652
be13f7bf
LD
366532011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36654
36655 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
36656 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
36657 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
36658 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
36659 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
36660 (USE_AS_WMEMCMP): New macro.
36661 Fixing indents.
36662 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
36663 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
36664 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
36665 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
36666 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36667 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
36668 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
36669 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
36670 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
36671 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
36672 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
36673 (USE_AS_WMEMCMP): New macro.
36674 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
36675 * sysdeps/string/test-memcmp.c: Update.
36676 Fix simple_wmemcmp.
36677 Add new tests.
36678 * wcsmbs/wmemcmp.c: Update.
36679 (WMEMCMP): New macro.
36680 Fix overflow bug.
36681
556a2007
AJ
366822011-10-12 Andreas Jaeger <aj@suse.de>
36683
36684 [BZ #13268]
36685 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
36686
538faaa7
UD
366872011-10-15 Ulrich Drepper <drepper@gmail.com>
36688
ab6737ff
UD
36689 * libio/iofwide.c (do_length): Avoid warning.
36690
538faaa7
UD
36691 * ctype/ctype.h (__isctype_f): Add missing __THROW.
36692
396a21b1
UD
366932011-10-14 Ulrich Drepper <drepper@gmail.com>
36694
cdf2901f
UD
36695 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
36696
38ad40ce
UD
36697 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
36698 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
36699 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
36700 * sysdeps/i386/i686/fpu/e_log.S: New file.
36701 * sysdeps/i386/i686/fpu/e_logf.S: New file.
36702 * sysdeps/i386/i686/fpu/e_logl.S: New file.
36703
396a21b1
UD
36704 * ctype/ctype.h: Add support for inlined isXXX functions when
36705 compiling C++ code.
36706
6b1f68c9
AS
367072011-10-14 Andreas Schwab <schwab@redhat.com>
36708
349290c0
AS
36709 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36710
6b1f68c9
AS
36711 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
36712
f2282d42
RM
367132011-10-13 Roland McGrath <roland@hack.frob.com>
36714
36715 [BZ #13291]
36716 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
36717
5298ffa8
AS
367182011-10-13 Andreas Schwab <schwab@redhat.com>
36719
714fad23
AS
36720 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
36721 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
36722 feraiseexcept.
36723
81dcc7fb
AS
36724 * sysdeps/x86_64/memrchr.S: Check for zero size.
36725
5298ffa8
AS
36726 * string/stratcliff.c: Add memrchr tests.
36727
951fbcec
LD
367282011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36729
36730 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36731 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
36732 rawmemchr-sse2 rawmemchr-sse2-bsf.
36733 * sysdeps/i386/i686/multiarch/memchr.S: New file.
36734 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
36735 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
36736 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
36737 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
36738 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
36739 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
36740 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
36741 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
36742 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
36743 * string/memrchr.c (MEMRCHR): New macro.
36744
0ac5ae23
UD
367452011-10-12 Ulrich Drepper <drepper@gmail.com>
36746
36747 Add integration with gcc's -ffinite-math-only and optimize wrapper
36748 functions in libm.
36749 * Versions.def: Define GLIBC_2.15 version for libm.
36750 * math/Makefile (headers): Add bits/math-finite.h.
36751 * math/bits/math-finite.h: New file.
36752 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
36753 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
36754 * math/e_acoshl.c: Add __*_finite alias.
36755 * math/e_acosl.c: Likewise.
36756 * math/e_asinl.c: Likewise.
36757 * math/e_atan2l.c: Likewise.
36758 * math/e_atanhl.c: Likewise.
36759 * math/e_coshl.c: Likewise.
36760 * math/e_exp10.c: Likewise.
36761 * math/e_exp10f.c: Likewise.
36762 * math/e_exp10l.c: Likewise.
36763 * math/e_exp2l.c: Likewise.
36764 * math/e_fmodl.c: Likewise.
36765 * math/e_gammal_r.c: Likewise.
36766 * math/e_hypotl.c: Likewise.
36767 * math/e_j0l.c: Likewise.
36768 * math/e_j1l.c: Likewise.
36769 * math/e_jnl.c: Likewise.
36770 * math/e_lgammal_r.c: Likewise.
36771 * math/e_log10l.c: Likewise.
36772 * math/e_log2l.c: Likewise.
36773 * math/e_logl.c: Likewise.
36774 * math/e_powl.c: Likewise.
36775 * math/e_sinhl.c: Likewise.
36776 * math/e_sqrtl.c: Likewise.
36777 * math/e_scalb.c: Completely rewritten and optimized.
36778 * math/e_scalbf.c: Likewise.
36779 * math/e_scalbl.c: Likewise.
36780 * math/w_acos.c: Likewise.
36781 * math/w_acosf.c: Likewise.
36782 * math/w_acosl.c: Likewise.
36783 * math/w_acosh.c: Likewise.
36784 * math/w_acoshf.c: Likewise.
36785 * math/w_acoshl.c: Likewise.
36786 * math/w_asin.c: Likewise.
36787 * math/w_asinf.c: Likewise.
36788 * math/w_asinl.c: Likewise.
36789 * math/w_atan2.c: Likewise.
36790 * math/w_atan2f.c: Likewise.
36791 * math/w_atan2l.c: Likewise.
36792 * math/w_atanh.c: Likewise.
36793 * math/w_atanhf.c: Likewise.
36794 * math/w_atanhl.c: Likewise.
36795 * math/w_exp10.c: Likewise.
36796 * math/w_exp10f.c: Likewise.
36797 * math/w_exp10l.c: Likewise.
36798 * math/w_fmod.c: Likewise.
36799 * math/w_fmodf.c: Likewise.
36800 * math/w_fmodl.c: Likewise.
36801 * math/w_j0.c: Likewise.
36802 * math/w_j0f.c: Likewise.
36803 * math/w_j0l.c: Likewise.
36804 * math/w_j1.c: Likewise.
36805 * math/w_j1f.c: Likewise.
36806 * math/w_j1l.c: Likewise.
36807 * math/w_jn.c: Likewise.
36808 * math/w_jnf.c: Likewise.
36809 * math/w_log.c: Likewise.
36810 * math/w_logf.c: Likewise.
36811 * math/w_logl.c: Likewise.
36812 * math/w_log10.c: Likewise.
36813 * math/w_log10f.c: Likewise.
36814 * math/w_log10l.c: Likewise.
36815 * math/w_log2.c: Likewise.
36816 * math/w_log2f.c: Likewise.
36817 * math/w_log2l.c: Likewise.
36818 * math/w_pow.c: Likewise.
36819 * math/w_powf.c: Likewise.
36820 * math/w_powl.c: Likewise.
36821 * math/w_remainder.c: Likewise.
36822 * math/w_remainderf.c: Likewise.
36823 * math/w_remainderl.c: Likewise.
36824 * math/w_scalb.c: Likewise.
36825 * math/w_scalbf.c: Likewise.
36826 * math/w_scalbl.c: Likewise.
36827 * math/w_sqrt.c: Likewise.
36828 * math/w_sqrtf.c: Likewise.
36829 * math/w_sqrtl.c: Likewise.
36830 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
36831 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
36832 used.
36833 * math/math_private.h: Declare __kernel_standard_f.
36834 * math/w_cosh.c: Remove cruft and optimize a bit.
36835 * math/w_coshf.c: Likewise.
36836 * math/w_coshl.c: Likewise.
36837 * math/w_exp2.c: Likewise.
36838 * math/w_exp2f.c: Likewise.
36839 * math/w_exp2l.c: Likewise.
36840 * math/w_hypot.c: Likewise.
36841 * math/w_hypotf.c: Likewise.
36842 * math/w_hypotl.c: Likewise.
36843 * math/w_lgamma.c: Likewise.
36844 * math/w_lgamma_r.c: Likewise.
36845 * math/w_lgammaf.c: Likewise.
36846 * math/w_lgammaf_r.c: Likewise.
36847 * math/w_lgammal.c: Likewise.
36848 * math/w_lgammal_r.c: Likewise.
36849 * math/w_sinh.c: Likewise.
36850 * math/w_sinhf.c: Likewise.
36851 * math/w_sinhl.c: Likewise.
36852 * math/w_tgamma.c: Likewise.
36853 * math/w_tgammaf.c: Likewise.
36854 * math/w_tgammal.c: Likewise.
36855 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36856 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36857 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
36858 Minor optimizations. Pretty printing. Remove cruft.
36859 * sysdeps/i386/fpu/e_acosf.S: Likewise.
36860 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36861 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36862 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36863 * sysdeps/i386/fpu/e_acosl.c: Likewise.
36864 * sysdeps/i386/fpu/e_asin.S: Likewise.
36865 * sysdeps/i386/fpu/e_asinf.S: Likewise.
36866 * sysdeps/i386/fpu/e_atan2.S: Likewise.
36867 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
36868 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
36869 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36870 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36871 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36872 * sysdeps/i386/fpu/e_exp10.S: Likewise.
36873 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
36874 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
36875 * sysdeps/i386/fpu/e_exp2.S: Likewise.
36876 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
36877 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
36878 * sysdeps/i386/fpu/e_fmod.S: Likewise.
36879 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
36880 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
36881 * sysdeps/i386/fpu/e_hypot.S: Likewise.
36882 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
36883 * sysdeps/i386/fpu/e_log.S: Likewise.
36884 * sysdeps/i386/fpu/e_log10.S: Likewise.
36885 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36886 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36887 * sysdeps/i386/fpu/e_log2.S: Likewise.
36888 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36889 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36890 * sysdeps/i386/fpu/e_logf.S: Likewise.
36891 * sysdeps/i386/fpu/e_logl.S: Likewise.
36892 * sysdeps/i386/fpu/e_pow.S: Likewise.
36893 * sysdeps/i386/fpu/e_powf.S: Likewise.
36894 * sysdeps/i386/fpu/e_powl.S: Likewise.
36895 * sysdeps/i386/fpu/e_remainder.S: Likewise.
36896 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
36897 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
36898 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36899 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36900 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36901 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
36902 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
36903 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
36904 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36905 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36906 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36907 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36908 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36909 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36910 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
36911 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36912 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36913 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36914 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36915 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36916 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36917 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36918 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36919 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36920 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36921 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36922 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36923 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36924 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36925 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36926 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36927 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36928 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36929 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36930 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36931 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36932 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
36933 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36934 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36935 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36936 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36937 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36938 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36939 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36940 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36941 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36942 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36943 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36944 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36945 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36946 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36947 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36948 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36949 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36950 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36951 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36952 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36953 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
36954 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36955 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36956 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36957 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36958 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36959 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36960 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36961 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36962 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36963 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36964 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36965 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36966 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36967 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36968 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36969 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36970 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36971 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36972 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
36973 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36974 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36975 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36976 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36977 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36978 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36979 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36980 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
36981 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36982 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36983 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36984 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36985 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36986 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
36987 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36988 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36989 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36990 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36991 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36992 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36993 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36994 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36995 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36996 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36997 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
36998 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36999 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37000 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37001 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37002 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37003 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37004 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37005 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37006 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37007 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37008 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37009 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37010 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37011 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37012 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37013 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37014 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
37015 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37016 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37017 (__isnanf): Likewise.
37018 (__isinf_ns): Likewise.
37019 (__isinf_nsf): Likewise.
37020 (__finite): Likewise.
37021 (__finitef): Likewise.
37022 (__ieee754_sqrt): Define as macro.
37023 (__ieee754_sqrtf): Define as macro.
37024 (__ieee754_sqrtl): Define as macro.
37025 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37026 inlined copy.
37027 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37028 __FINITE_MATH_ONLY__ consistent.
37029 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37030
12cc2fcd
AS
370312011-10-10 Andreas Schwab <schwab@linux-m68k.org>
37032
a843a204
AS
37033 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37034 of rawmemchr.
37035
12cc2fcd
AS
37036 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37037
c853acd5
UD
370382011-10-09 Ulrich Drepper <drepper@gmail.com>
37039
37040 * po/ja.po: Update from translation team.
37041
c658d255
RM
370422011-10-08 Roland McGrath <roland@hack.frob.com>
37043
110946e4
RM
37044 * locale/programs/locarchive.c (prepare_address_space): New function.
37045 (create_archive, enlarge_archive, open_archive): Use it.
37046
50604220
RM
37047 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37048 inside [SHARED], where it is used.
37049
c658d255
RM
37050 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37051
37052 * nss/getent.c (netgroup_keys): Remove unused variable.
37053 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37054
6a621eb7
UD
370552011-10-08 Ulrich Drepper <drepper@gmail.com>
37056
7edb55ce
UD
37057 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37058 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37059 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37060 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37061 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37062 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37063 * math/Makefile (libm-calls): Add s_isinf_ns.
37064 * math/divtc3.c: Use __isinf_nsl instead of isinf.
37065 * math/multc3.c: Likewise.
37066 * math/s_casin.c: Likewise.
37067 * math/s_casinf.c: Likewise.
37068 * math/s_casinl.c: Likewise.
37069 * math/s_ccos.c: Likewise.
37070 * math/s_ccosf.c: Likewise.
37071 * math/s_ccosl.c: Likewise.
37072 * math/s_ctan.c: Likewise.
37073 * math/s_ctanf.c: Likewise.
37074 * math/s_ctanh.c: Likewise.
37075 * math/s_ctanhf.c: Likewise.
37076 * math/s_ctanhl.c: Likewise.
37077 * math/s_ctanl.c: Likewise.
37078 * math/w_fmod.c: Likewise.
37079 * math/w_fmodf.c: Likewise.
37080 * math/w_fmodl.c: Likewise.
37081 * math/w_remainder.c: Likewise.
37082 * math/w_remainderf.c: Likewise.
37083 * math/w_remainderl.c: Likewise.
37084 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37085 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37086 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37087 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37088 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37089 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37090 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37091 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37092
187da0ae
UD
37093 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37094 of the number.
37095 * stdio-common/printf_fphex.c: Likewise.
37096 * stdio-common/printf_size.c: Likewise.
37097
9277c064
UD
37098 * math/e_exp10.c: Include math_private.h using <...> not "...".
37099 * math/e_exp10f.c: Likewise.
37100 * math/e_exp10l.c: Likewise.
37101 * math/e_exp2l.c: Likewise.
37102 * math/e_j0l.c: Likewise.
37103 * math/e_j1l.c: Likewise.
37104 * math/e_jnl.c: Likewise.
37105 * math/e_lgammal_r.c: Likewise.
37106 * math/e_rem_pio2l.c: Likewise.
37107 * math/e_scalb.c: Likewise.
37108 * math/e_scalbf.c: Likewise.
37109 * math/e_scalbl.c: Likewise.
37110 * math/k_cosl.c: Likewise.
37111 * math/k_sinl.c: Likewise.
37112 * math/k_tanl.c: Likewise.
37113 * math/s_cacoshf.c: Likewise.
37114 * math/s_catan.c: Likewise.
37115 * math/s_catanf.c: Likewise.
37116 * math/s_catanh.c: Likewise.
37117 * math/s_catanhf.c: Likewise.
37118 * math/s_catanhl.c: Likewise.
37119 * math/s_catanl.c: Likewise.
37120 * math/s_ccosh.c: Likewise.
37121 * math/s_ccoshf.c: Likewise.
37122 * math/s_ccoshl.c: Likewise.
37123 * math/s_cexp.c: Likewise.
37124 * math/s_cexpf.c: Likewise.
37125 * math/s_cexpl.c: Likewise.
37126 * math/s_clog.c: Likewise.
37127 * math/s_clog10.c: Likewise.
37128 * math/s_clog10f.c: Likewise.
37129 * math/s_clog10l.c: Likewise.
37130 * math/s_clogf.c: Likewise.
37131 * math/s_clogl.c: Likewise.
37132 * math/s_csin.c: Likewise.
37133 * math/s_csinf.c: Likewise.
37134 * math/s_csinh.c: Likewise.
37135 * math/s_csinhf.c: Likewise.
37136 * math/s_csinhl.c: Likewise.
37137 * math/s_csinl.c: Likewise.
37138 * math/s_csqrt.c: Likewise.
37139 * math/s_csqrtf.c: Likewise.
37140 * math/s_csqrtl.c: Likewise.
37141 * math/s_ctan.c: Likewise.
37142 * math/s_ctanf.c: Likewise.
37143 * math/s_ctanh.c: Likewise.
37144 * math/s_ctanhf.c: Likewise.
37145 * math/s_ctanhl.c: Likewise.
37146 * math/s_ctanl.c: Likewise.
37147 * math/s_ldexp.c: Likewise.
37148 * math/s_ldexpf.c: Likewise.
37149 * math/s_ldexpl.c: Likewise.
37150 * math/s_significand.c: Likewise.
37151 * math/s_significandf.c: Likewise.
37152 * math/s_significandl.c: Likewise.
37153 * math/w_acos.c: Likewise.
37154 * math/w_acosf.c: Likewise.
37155 * math/w_acosh.c: Likewise.
37156 * math/w_acoshf.c: Likewise.
37157 * math/w_acoshl.c: Likewise.
37158 * math/w_acosl.c: Likewise.
37159 * math/w_asin.c: Likewise.
37160 * math/w_asinf.c: Likewise.
37161 * math/w_asinl.c: Likewise.
37162 * math/w_atan2.c: Likewise.
37163 * math/w_atan2f.c: Likewise.
37164 * math/w_atan2l.c: Likewise.
37165 * math/w_atanh.c: Likewise.
37166 * math/w_atanhf.c: Likewise.
37167 * math/w_atanhl.c: Likewise.
37168 * math/w_cosh.c: Likewise.
37169 * math/w_coshf.c: Likewise.
37170 * math/w_coshl.c: Likewise.
37171 * math/w_dremf.c: Likewise.
37172 * math/w_exp10.c: Likewise.
37173 * math/w_exp10f.c: Likewise.
37174 * math/w_exp10l.c: Likewise.
37175 * math/w_exp2.c: Likewise.
37176 * math/w_exp2f.c: Likewise.
37177 * math/w_fmod.c: Likewise.
37178 * math/w_fmodf.c: Likewise.
37179 * math/w_fmodl.c: Likewise.
37180 * math/w_hypot.c: Likewise.
37181 * math/w_hypotf.c: Likewise.
37182 * math/w_hypotl.c: Likewise.
37183 * math/w_j0.c: Likewise.
37184 * math/w_j0f.c: Likewise.
37185 * math/w_j0l.c: Likewise.
37186 * math/w_j1.c: Likewise.
37187 * math/w_j1f.c: Likewise.
37188 * math/w_j1l.c: Likewise.
37189 * math/w_jn.c: Likewise.
37190 * math/w_jnf.c: Likewise.
37191 * math/w_jnl.c: Likewise.
37192 * math/w_lgamma.c: Likewise.
37193 * math/w_lgamma_r.c: Likewise.
37194 * math/w_lgammaf.c: Likewise.
37195 * math/w_lgammaf_r.c: Likewise.
37196 * math/w_lgammal.c: Likewise.
37197 * math/w_lgammal_r.c: Likewise.
37198 * math/w_log.c: Likewise.
37199 * math/w_log10.c: Likewise.
37200 * math/w_log10f.c: Likewise.
37201 * math/w_log10l.c: Likewise.
37202 * math/w_log2.c: Likewise.
37203 * math/w_log2f.c: Likewise.
37204 * math/w_log2l.c: Likewise.
37205 * math/w_logf.c: Likewise.
37206 * math/w_logl.c: Likewise.
37207 * math/w_pow.c: Likewise.
37208 * math/w_powf.c: Likewise.
37209 * math/w_powl.c: Likewise.
37210 * math/w_remainder.c: Likewise.
37211 * math/w_remainderf.c: Likewise.
37212 * math/w_remainderl.c: Likewise.
37213 * math/w_scalb.c: Likewise.
37214 * math/w_scalbf.c: Likewise.
37215 * math/w_scalbl.c: Likewise.
37216 * math/w_sinh.c: Likewise.
37217 * math/w_sinhf.c: Likewise.
37218 * math/w_sinhl.c: Likewise.
37219 * math/w_sqrt.c: Likewise.
37220 * math/w_sqrtf.c: Likewise.
37221 * math/w_sqrtl.c: Likewise.
37222 * math/w_tgamma.c: Likewise.
37223 * math/w_tgammaf.c: Likewise.
37224 * math/w_tgammal.c: Likewise.
37225
6a621eb7
UD
37226 * po/ja.po: Update from translation team.
37227
bf582445
AJ
372282011-09-29 Andreas Jaeger <aj@suse.de>
37229
f9efbf3a
AJ
37230 [BZ #13179]
37231 * sunrpc/netname.c (netname2host): Fix logic.
37232
bf582445
AJ
37233 [BZ #6779]
37234 [BZ #6783]
37235 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37236 correctly.
37237 * math/w_remainder.c (__remainder): Likewise.
37238 * math/w_remainderf.c (__remainderf): Likewise.
37239 * math/libm-test.inc (remainder_test): Add test cases.
37240
48693bea
AK
372412011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37242
37243 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
37244 sdiv_qrnnd.
37245
42622229
LD
372462011-10-07 Ulrich Drepper <drepper@gmail.com>
37247
37248 * string/test-memcmp.c: Avoid unncessary #defines.
37249 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37250
093ecf92
LD
372512011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37252
37253 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37254 Use new sse2 version for core i3 - i7 as it's faster
37255 than sse42 version.
37256 (bit_Prefer_PMINUB_for_stringop): New.
37257 * sysdeps/x86_64/rawmemchr.S: Update.
37258 Replace with faster SSE2 version.
37259 * sysdeps/x86_64/memrchr.S: New file.
37260 * sysdeps/x86_64/memchr.S: Update.
37261 Replace with faster SSE2 version.
37262
fde56e5c
MP
372632011-09-12 Marek Polacek <mpolacek@redhat.com>
37264
37265 * elf/dl-load.c (lose): Add cast to avoid warning.
37266
21fd49a9
UD
372672011-10-07 Ulrich Drepper <drepper@gmail.com>
37268
5a06e643
UD
37269 * po/ca.po: Update from translation team.
37270
684ae515
UD
37271 * inet/getnetgrent_r.c: Hook up nscd.
37272 * nscd/Makefile (routines): Add nscd_netgroup.
37273 (nscd-modules): Add netgroupcache.
37274 (CFLAGS-netgroupcache.c): Define.
37275 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37276 (cache_search): Add const to second parameter.
37277 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37278 INNETGR.
37279 (dbs): Add netgrdb entry.
37280 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37281 (verify_persistent_db): Handle netgrdb.
37282 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37283 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37284 GETFDNETGR.
37285 (netgroup_response_header): Define.
37286 (innetgroup_response_header): Define.
37287 (datahead): Add netgroup_response_header and innetgroup_response_header
37288 elements.
37289 * nscd/nscd.conf: Add entries for netgroup cache.
37290 * nscd/nscd.h (dbtype): Add netgrdb.
37291 (_PATH_NSCD_NETGROUP_DB): Define.
37292 (netgroup_iov_disabled): Declare.
37293 (xmalloc, xcalloc, xrealloc): Move declarations here.
37294 (cache_search): Adjust prototype.
37295 Add netgroup-related prototypes.
37296 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37297 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37298 (__nscd_innetgr): Declare.
37299 * nscd/selinux.c (perms): Use access_vector_t as element type and
37300 add netgroup-related initializers.
37301 * nscd/netgroupcache.c: New file.
37302 * nscd/nscd_netgroup.c: New file.
37303 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37304 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37305 For four parameters use innetgr.
37306 * nss/nss_files/files-init.c: Add definition and callback for netgr.
37307 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37308 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37309 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37310
21fd49a9
UD
37311 * nscd/connections.c (register_traced_file): Don't register file
37312 for disabled databases.
37313
054c0457
UD
373142011-10-06 Ulrich Drepper <drepper@gmail.com>
37315
32b63198
UD
37316 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
37317
054c0457
UD
37318 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
37319 from tree and freeing node.
37320
64031225
JO
373212011-09-25 Jiri Olsa <jolsa@redhat.com>
37322
37323 * nss/nsswitch.c (__nss_database_lookup): Handle
37324 nss_parse_service_list out of memory case.
37325
0490345c
JO
373262011-09-15 Jiri Olsa <jolsa@redhat.com>
37327
37328 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
37329 out of memory case.
37330
3a62d00d
AS
373312011-10-04 Andreas Schwab <schwab@redhat.com>
37332
37333 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
37334 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
37335 pass it down.
37336 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
37337 elf_machine_rela, elf_machine_lazy_rel.
37338 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
37339 (ELF_DYNAMIC_DO_REL): Likewise.
37340 (ELF_DYNAMIC_DO_RELA): Likewise.
37341 (ELF_DYNAMIC_RELOCATE): Likewise.
37342 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
37343 to ELF_DYNAMIC_DO_REL.
37344 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
37345 (dl_main): In trace mode always set __RTLD_NOIFUNC.
37346 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
37347 elf_machine_rela.
37348 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
37349 skip_ifunc, don't call ifunc function if non-zero.
37350 (elf_machine_rela): Likewise.
37351 (elf_machine_lazy_rel): Likewise.
37352 (elf_machine_lazy_rela): Likewise.
37353 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
37354 (elf_machine_lazy_rel): Likewise.
37355 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
37356 Likewise.
37357 (elf_machine_lazy_rel): Likewise.
37358 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37359 Likewise.
37360 (elf_machine_lazy_rel): Likewise.
37361 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
37362 (elf_machine_lazy_rel): Likewise.
37363 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
37364 (elf_machine_lazy_rel): Likewise.
37365 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37366 (elf_machine_lazy_rel): Likewise.
37367 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
37368 (elf_machine_lazy_rel): Likewise.
37369 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
37370 (elf_machine_lazy_rel): Likewise.
37371 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
37372 (elf_machine_lazy_rel): Likewise.
37373
68577918
UD
373742011-09-28 Ulrich Drepper <drepper@gmail.com>
37375
37376 * nss/nss_files/files-init.c (_nss_files_init): Use static
37377 initialization for all the *_traced_file variables.
37378
68822d74
AS
373792011-09-28 Andreas Schwab <schwab@redhat.com>
37380
37381 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37382
2056100b
RM
373832011-09-27 Roland McGrath <roland@hack.frob.com>
37384
37385 [BZ #13226]
37386 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
37387
32c76b63
AS
373882011-09-27 Andreas Schwab <schwab@redhat.com>
37389
37390 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37391 Reread the line before reparsing it.
37392
bf972c9d
AS
373932011-09-26 Andreas Schwab <schwab@redhat.com>
37394
37395 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
37396
e057a1b5
JM
373972011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
37398 Maxim Kuvyrkov <maxim@codesourcery.com>
37399 Joseph Myers <joseph@codesourcery.com>
37400
37401 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
37402 if needed for __stack_chk_guard.
37403
bc7e1c36
RM
374042011-09-19 Roland McGrath <roland@hack.frob.com>
37405
ecb1482f
RM
37406 * sysdeps/posix/spawni.c (script_execute): Always define it.
37407 It will be optimized away if unused.
37408 (maybe_script_execute): New function.
37409 (__spawni): Call it.
37410
bc7e1c36
RM
37411 * Makerules: Don't include tls.make.
37412 (config-tls): Always set to thread.
37413 * tls.make.c: File removed.
37414
1c3b002b
MF
374152011-09-19 Mike Frysinger <vapier@gentoo.org>
37416
37417 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
37418 * config.make.in (CPPFLAGS-config): New substituted variable.
37419
2840865d
UD
374202011-09-15 Ulrich Drepper <drepper@gmail.com>
37421
88738eb6
UD
37422 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
37423
cbf645a6 37424 [BZ #13192]
2840865d
UD
37425 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
37426 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
37427
b402e91a
RM
374282011-09-15 Roland McGrath <roland@hack.frob.com>
37429
37430 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
37431 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
37432 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37433 (CALL_FAIL): Likewise.
37434 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
37435 (CALL_FAIL): Macro removed.
37436 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
37437
4c1a1f71
UD
374382011-09-15 Ulrich Drepper <drepper@gmail.com>
37439
37440 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
37441 for __FINITE_MATH_ONLY__ == 1.
37442
edc121be
AS
374432011-09-15 Andreas Schwab <schwab@redhat.com>
37444
37445 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
37446 __ieee754_sqrt instead of sqrt.
37447 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
37448 __ieee754_sqrtf instead of sqrtf.
37449 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
37450 __floorf instead of floorf.
37451 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
37452 __floorf, __truncf instead of floorf, truncf.
37453
cd205654
UD
374542011-09-14 Ulrich Drepper <drepper@gmail.com>
37455
ee4d0315
UD
37456 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
37457
cd205654
UD
37458 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
37459 __extern_always_inline.
37460 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
37461 32-bit.
37462
48b67d71
AS
374632011-09-14 Andreas Schwab <schwab@redhat.com>
37464
37465 * elf/rtld.c (dl_main): Also relocate in dependency order when
37466 doing symbol dependency testing.
37467
1ae12c75
AS
374682011-09-13 Andreas Schwab <schwab@linux-m68k.org>
37469
37470 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37471 Always define `refsym'.
37472
995a80df
AS
374732011-09-13 Andreas Schwab <schwab@redhat.com>
37474
e529793b
AS
37475 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
37476 (__FD_ELT): Renamed from __FDELT.
37477 * misc/bits/select2.h (__FD_ELT): Likewise.
37478 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
37479 __FD_MASK instead of __FDELT, __FDMASK.
37480 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37481 Likewise.
37482 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37483 Likewise.
37484
52d4fef8
AS
37485 * elf/Makefile (gen-ldd): Fix pattern.
37486
995a80df
AS
37487 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
37488 (init_tls): Likewise.
37489
8682f8b0
UD
374902011-09-12 Ulrich Drepper <drepper@gmail.com>
37491
37492 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
37493
de82006d
AS
374942011-09-12 Andreas Schwab <schwab@redhat.com>
37495
a7c8e6a1
AS
37496 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
37497 `struct cmsghdr *' instead of `void *'.
37498 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
37499 Likewise.
37500
0f31fe77
AS
375012011-09-11 Andreas Schwab <schwab@linux-m68k.org>
37502
37503 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
37504 if non-absolute.
37505 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
37506 ldd_rewrite_script.
0f31fe77 37507
32b4c839
UD
375082011-09-11 Ulrich Drepper <drepper@gmail.com>
37509
83cd1420
UD
37510 * configure.in: Remove --with-tls option.
37511 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
37512 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
37513 out in case it is missing.
37514 * sysdeps/ia64/elf/configure.in: Likewise.
37515 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
37516 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
37517 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
37518 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
37519 * sysdeps/sh/elf/configure.in: Likewise.
37520 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
37521 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37522 * sysdeps/x86_64/elf/configure.in: Likewise.
37523 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
37524 * sysdeps/mach/hurd/tls.h: Likewise.
37525
633f745d
UD
37526 [BZ #13067]
37527 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
37528
f318beb8
UD
37529 [BZ #13090]
37530 * configure.in: Fix use of AC_INIT.
37531
32b4c839
UD
37532 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
37533
3ce1f295
UD
375342011-09-10 Ulrich Drepper <drepper@gmail.com>
37535
bb016596
UD
37536 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
37537 __set_errno.
8e58439c
UD
37538 * malloc/hooks.c: Likewise.
37539
aebae053 37540 [BZ #11929]
02d46fc4
UD
37541 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
37542 variables statically.
37543 (narenas): Initialize.
37544 (list_lock): Initialize.
bb016596
UD
37545 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
37546 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
37547 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
37548 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
37549 Add initializers to main_arena and mp_.
37550 (malloc_state): Remove pagesize member. Change all users to use
37551 GLRO(dl_pagesize).
37552
37553 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
37554 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
37555 is always initialized.
37556
22a89187
UD
37557 * malloc/malloc.c: Removed unused configurations and dead code.
37558 * malloc/arena.c: Likewise.
37559 * malloc/hooks.c: Likewise.
02d46fc4 37560 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 37561
d063d164
UD
37562 * include/tls.h: Removed. USE___THREAD must always be defined.
37563 * bits/libc-tsd.h: Don't handle !USE___THREAD.
37564 * elf/dl-libc.c: Likewise.
37565 * elf/dl-tsd.c: Likewise.
37566 * include/errno.h: Likewise.
37567 * include/netdb.h: Likewise.
37568 * include/resolv.h: Likewise.
37569 * inet/herrno-loc.c: Likewise.
37570 * inet/herrno.c: Likewise.
37571 * malloc/arena.c: Likewise.
37572 * malloc/hooks.c: Likewise.
37573 * malloc/malloc.c: Likewise.
37574 * resolv/res-state.c: Likewise.
37575 * resolv/res_libc.c: Likewise.
37576 * sysdeps/i386/dl-machine.h: Likewise.
37577 * sysdeps/ia64/dl-machine.h: Likewise.
37578 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37579 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37580 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37581 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37582 * sysdeps/sh/dl-machine.h: Likewise.
37583 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37584 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37585 * sysdeps/unix/i386/sysdep.S: Likewise.
37586 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37587 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
37588 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
37589 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37590 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
37591 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37592 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37593 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37594 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37595 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37596 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37597 * sysdeps/x86_64/dl-machine.h: Likewise.
37598 * tls.make.c: Likewise.
37599
3ce1f295
UD
37600 * configure.in: Remove --with-__thread option. Make tests for
37601 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
37602 tls_model attribute fail if no support is available. Remove
37603 USE_IN_LIBIO.
37604 * Makeconfig: Adjust for dropped configure option. All features are
37605 now mandatory.
37606 * Makerules: Likewise.
37607 * Versions.def: Likewise.
37608 * argp/argp-fmtstream.c: Likewise.
37609 * argp/argp-fmtstream.h: Likewise.
37610 * argp/argp-help.c: Likewise.
37611 * assert/assert.c: Likewise.
37612 * config.h.in: Likewise.
37613 * config.make.in: Likewise.
37614 * configure: Likewise.
37615 * configure.in: Likewise.
37616 * csu/Versions: Likewise.
37617 * csu/init.c: Likewise.
37618 * elf/tst-audit2.c: Likewise.
37619 * elf/tst-tls10.c: Likewise.
37620 * elf/tst-tls10.h: Likewise.
37621 * elf/tst-tls11.c: Likewise.
37622 * elf/tst-tls12.c: Likewise.
37623 * elf/tst-tls14.c: Likewise.
37624 * elf/tst-tlsmod11.c: Likewise.
37625 * elf/tst-tlsmod12.c: Likewise.
37626 * elf/tst-tlsmod13.c: Likewise.
37627 * elf/tst-tlsmod13a.c: Likewise.
37628 * elf/tst-tlsmod14a.c: Likewise.
37629 * elf/tst-tlsmod15b.c: Likewise.
37630 * elf/tst-tlsmod16a.c: Likewise.
37631 * elf/tst-tlsmod16b.c: Likewise.
37632 * elf/tst-tlsmod7.c: Likewise.
37633 * elf/tst-tlsmod8.c: Likewise.
37634 * elf/tst-tlsmod9.c: Likewise.
37635 * gmon/gmon.c: Likewise.
37636 * grp/fgetgrent_r.c: Likewise.
37637 * grp/putgrent.c: Likewise.
37638 * hurd/fopenport.c: Likewise.
37639 * include/libc-symbols.h: Likewise.
37640 * include/tls.h: Likewise.
37641 * intl/gettextP.h: Likewise.
37642 * intl/loadinfo.h: Likewise.
37643 * locale/global-locale.c: Likewise.
37644 * locale/localeinfo.h: Likewise.
37645 * mach/devstream.c: Likewise.
37646 * malloc/arena.c: Likewise.
37647 * malloc/set-freeres.c: Likewise.
37648 * misc/err.c: Likewise.
37649 * misc/getttyent.c: Likewise.
37650 * misc/mntent_r.c: Likewise.
37651 * posix/getopt.c: Likewise.
37652 * posix/wordexp.c: Likewise.
37653 * pwd/fgetpwent_r.c: Likewise.
37654 * resolv/Versions: Likewise.
37655 * resolv/res_hconf.c: Likewise.
37656 * shadow/fgetspent_r.c: Likewise.
37657 * shadow/putspent.c: Likewise.
37658 * stdio-common/printf_fphex.c: Likewise.
37659 * stdio-common/tmpfile.c: Likewise.
37660 * stdlib/abort.c: Likewise.
37661 * stdlib/fmtmsg.c: Likewise.
37662 * sunrpc/auth_unix.c: Likewise.
37663 * sunrpc/clnt_perr.c: Likewise.
37664 * sunrpc/clnt_tcp.c: Likewise.
37665 * sunrpc/clnt_udp.c: Likewise.
37666 * sunrpc/clnt_unix.c: Likewise.
37667 * sunrpc/openchild.c: Likewise.
37668 * sunrpc/svc_simple.c: Likewise.
37669 * sunrpc/svc_tcp.c: Likewise.
37670 * sunrpc/svc_udp.c: Likewise.
37671 * sunrpc/svc_unix.c: Likewise.
37672 * sunrpc/xdr.c: Likewise.
37673 * sunrpc/xdr_array.c: Likewise.
37674 * sunrpc/xdr_rec.c: Likewise.
37675 * sunrpc/xdr_ref.c: Likewise.
37676 * sunrpc/xdr_stdio.c: Likewise.
37677
1248c1c4
PB
376782011-09-09 Ulrich Drepper <drepper@gmail.com>
37679
37680 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37681
376822011-07-03 Andreas Jaeger <aj@suse.de>
37683
37684 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
37685 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
37686 regenerate with gen-libm-tests.pl.
37687
376882010-05-12 Petr Baudis <pasky@suse.cz>
37689
37690 [BZ #11589]
37691 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
37692 around j0() zero points by switching to j1().
37693 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37694 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37695 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37696 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37697
f22e1074
UD
376982011-09-09 Ulrich Drepper <drepper@gmail.com>
37699
f19009c1
UD
37700 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
37701 instead of 0.
37702 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 37703 instead of 0.
f19009c1
UD
37704 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37705 Patch in part by Pavel Roskin <proski@gnu.org>.
37706
3f8cc204
UD
37707 [BZ #13138]
37708 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
37709 realloc.
37710 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
37711 Free memory block if necessary.
37712
f22e1074
UD
37713 [BZ #12847]
37714 * libio/genops.c (INTDEF): For string streams the _lock pointer can
37715 be NULL. Don't lock in this case.
37716
0a2349f9
RM
377172011-09-09 Roland McGrath <roland@hack.frob.com>
37718
37719 * elf/elf.h (ELFOSABI_GNU): New macro.
37720 (ELFOSABI_LINUX): Define to that.
37721
f3cdd467
DZ
377222011-07-29 Denis Zaitceff <zaitceff@gmail.com>
37723
37724 * string/strncat.c (strncat): Undef the symbol in case it has been
37725 defined in bits/string.h.
37726
74718d13
UD
377272011-09-09 Ulrich Drepper <drepper@gmail.com>
37728
633e9e0f
UD
37729 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
37730
0a2349f9 37731 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
37732 link map.
37733
f9924780
AJ
377342011-08-17 Andreas Jaeger <aj@suse.de>
37735
37736 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
37737
7f5517aa
PP
377382011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
37739 Ian Lance Taylor <iant@google.com>
37740
37741 * math/libm-test.inc (lround_test): New testcase.
37742 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
37743
762011fe
UD
377442011-09-08 Ulrich Drepper <drepper@gmail.com>
37745
92963737
UD
37746 * Makefile: Remove support for automatic cvs check-ins.
37747 * Makerules: Likewise.
37748 * config.make.in: Likewise.
37749 * configure.in: Likewise.
37750 * intl/Makefile: Likewise.
37751 * locale/Makefile: Likewise.
37752 * po/Makefile: Likewise.
37753 * posix/Makefile: Likewise.
37754 * sysdeps/gnu/Makefile: Likewise.
37755 * sysdeps/mach/hurd/Makefile: Likewise.
37756 * sysdeps/sparc/sparc32/Makefile: Likewise.
37757
b0727fd8
JS
37758 [BZ #13118]
37759 * posix/Makefile (bug-regex32-ENV): Define.
37760 Patch by John Stanley <jpsinthemix@verizon.net>.
37761
a0f33f99
UD
37762 * misc/Makefile (headers): Add bits/select2.h.
37763 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
37764 * misc/bits/select2.h: New file.
37765 * include/bits/select2.h: New file.
37766 * debug/Makefile (routines): Add fdelt_chk.
37767 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
37768 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
37769 FD_ISSET.
37770 * debug/fdelt_chk.c: New file.
37771
762011fe
UD
37772 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
37773 * wcsmbs/test-wmemcmp.c: Likewise.
37774 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 37775 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
37776
377772011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37778
37779 * string/Makefile (strop-tests): Add memcmp.
37780 * string/test-wmemcmp.c: New file.
37781 * string/test-memcmp.c: Add wmemcmp support.
37782
7f513ec8
RM
377832011-09-08 Roland McGrath <roland@hack.frob.com>
37784
0442afb4
RM
37785 [BZ #13153]
37786 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
37787 2011-07-19 change.
37788
7f513ec8
RM
37789 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
37790 garbage value in a __mach_port_mod_refs call in the cases of the
37791 task-self and thread-self ports.
37792
a12b2239
ST
377932011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37794
37795 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
37796
610f9ab4
AS
377972011-09-08 Andreas Schwab <schwab@redhat.com>
37798
7f513ec8 37799 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 37800
48882a1a
LD
378012011-09-07 Ulrich Drepper <drepper@gmail.com>
37802
b49865be
UD
37803 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
37804
fdc86bc9
UD
37805 * elf/dl-libc.c (dlerror_run): Pass back error code from
37806 dl_catch_error.
37807
c966526a
UD
37808 [BZ #13123]
37809 * elf/dl-load.c (lose): Free l_origin if it is valid.
37810
48882a1a
LD
37811 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
37812 names.
37813 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
37814 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37815 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37816 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37817 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
37818 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
37819
77a2a8b4
AZ
378202011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37821
37822 * sysdeps/powerpc/fpu/e_hypot.c: New file.
37823 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
37824 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
37825 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
37826 * sysdeps/powerpc/fpu/k_cosf.c: New file.
37827 * sysdeps/powerpc/fpu/k_sinf.c: New file.
37828 * sysdeps/powerpc/fpu/s_cosf.c: New file.
37829 * sysdeps/powerpc/fpu/s_sinf.c: New file.
37830 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
37831 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
37832
24f579d8
AM
378332011-08-15 Alan Modra <amodra@gmail.com>
37834
37835 [BZ #13092]
37836 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
37837 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
37838 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
37839 ppc_mcount to static-only-routines.
37840 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
37841 __mcount_internal.
37842 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
37843 __mcount_internal with usual JUMPTARGET. Remove useless nop.
37844
3d4837df
UD
378452011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
37846
37847 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
37848 for finite and infinity parameters.
37849
22700377
WS
378502011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37851
37852 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
37853 and add nop instructions for throughput optimization.
37854 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37855
5025581e
WS
378562011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
37857
37858 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
37859 aligned copy for power7 with vector-scalar instructions.
37860 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
37861
08a300c9
L
378622011-07-24 H.J. Lu <hongjiu.lu@intel.com>
37863
37864 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
37865 AVX check.
37866
59178ef9
AS
378672011-09-07 Andreas Schwab <schwab@redhat.com>
37868
37869 [BZ #13144]
37870 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
37871 last change.
37872
e38ba7ab
UD
378732011-09-07 Ulrich Drepper <drepper@gmail.com>
37874
37875 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37876 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
37877 syscall wrapper around clock_gettime in __vdso_clock_gettime.
37878 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
37879 clock_gettime.
37880
d53a73ac
UD
378812011-09-06 Ulrich Drepper <drepper@gmail.com>
37882
fc8bffcc
UD
37883 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
37884 Forgot to demangle the pointer.
37885
ceaa0c5d
UD
37886 * sysdeps/i386/sysdep.h: Define atom_text_section.
37887 * sysdeps/x86_64/sysdep.h: Likewise.
37888 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
37889 section with atom_text_section.
37890 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37891 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37892 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
37893 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
37894 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
37895
a77d3c17
UD
37896 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
37897 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
37898 already be defined. Change to take two parameters and don't assign
37899 result to variable. Adjust all users.
37900 Define INTERNAL_GETTIME if not already defined.
37901 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
37902 call.
37903 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
37904 HAVE_CLOCK_GETTIME_VSYSCALL.
37905 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
37906
d53a73ac
UD
37907 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
37908 gettimeofday vsyscall, just use time.
37909
a8f84144
AS
379102011-09-06 Andreas Schwab <schwab@redhat.com>
37911
37912 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
37913 <errno.h>.
37914
ef606249
UD
379152011-09-06 Ulrich Drepper <drepper@gmail.com>
37916
37917 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
37918 syscall on x86-64.
37919 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
37920 syscall.
37921 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
37922 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
37923 syscall if possible.
37924
6585cb60
UD
379252011-09-05 Ulrich Drepper <drepper@gmail.com>
37926
37927 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
37928 e_ident. Don't pass to find_mapsXX.
37929 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
37930
a5f524e4
LD
379312011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
37932
37933 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37934 strchr-sse2-no-bsf strrchr-sse2-no-bsf
37935 * sysdeps/x86_64/multiarch/strchr.S: Update.
37936 Check bit_slow_BSF bit.
37937 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37938 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
37939 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
37940
554881ef
UD
379412011-09-05 Ulrich Drepper <drepper@gmail.com>
37942
d96de963
UD
37943 [BZ #13134]
37944 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
37945 before glibc 2.15.
37946 (tryshell): Define.
37947 (__spawni): Change last parameter to be flag. Test
37948 SPAWN_XFLAGS_USE_PATH flag to use path or not.
37949 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
37950 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
37951 * posix/spawni.c: Likewise.
37952 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
37953 * posix/spawnp.c: Likewise. Change normal version to use
37954 SPAWN_XFLAGS_USE_PATH.
37955 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
37956 SPAWN_XFLAGS_TRY_SHELL.
37957
d48e5868
UD
37958 [BZ #13150]
37959 * posix/glob.h: Remove gcc 1.x support.
37960
554881ef
UD
37961 [BZ #13068]
37962 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
37963
693fb948
LD
379642011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
37965
37966 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37967 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
37968 strrchr-sse2-bsf
37969 * sysdeps/i386/i686/multiarch/strchr.S: New file.
37970 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
37971 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
37972 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
37973 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
37974 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
37975
1b48c537
UD
379762011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37977
49d42c37
UD
37978 * sysdeps/x86_64/wcscmp.S: New file.
37979
1b48c537
UD
37980 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
37981 wcscmp-c wcscmp-sse2
37982 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
37983 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
37984 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
37985 * wcsmbs/wcscmp.c: Allow renaming.
37986
15c95c5d
DM
379872011-09-05 David S. Miller <davem@davemloft.net>
37988
37989 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
37990 stack slot, rather than the struct return pointer slot.
37991 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
37992 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
37993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
37994 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
37995
2f0ad8f3
UD
379962011-09-05 Ulrich Drepper <drepper@gmail.com>
37997
d88ae418
UD
37998 * po/ja.po: Update from translation team.
37999
2f0ad8f3
UD
38000 [BZ #13144]
38001 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38002 kernel in 64-bit binaries.
38003
5f4318d1
DM
380042011-09-01 David S. Miller <davem@davemloft.net>
38005
38006 * elf/elf.h (HWCAP_SPARC_*): Move to..
38007 * sysdeps/sparc/sysdep.h: this new file and add new values.
38008 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38009 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38010 _DL_HWCAP_COUNT to 24.
38011 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38012 entries.
38013 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38014 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38015 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38016 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38017 instead of magic constants.
38018 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38019
3ba57516
DM
380202011-08-31 David S. Miller <davem@davemloft.net>
38021
38022 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38023 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38024 Reimplement to do errno handling inline.
38025 (SYSCALL_ERROR_HANDLER): New macro.
38026 (__SYSCALL_STRING): Do not do errno handling in asm.
38027 (__CLONE_SYSCALL_STRING): Delete.
38028 (__INTERNAL_SYSCALL_STRING): Delete.
38029 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38030 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38031 (PSEUDO): Reimplement to do errno handling inline.
38032 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38033 (SYSCALL_ERROR_HANDLER): New macro.
38034 (__SYSCALL_STRING): Do not do errno handling in asm.
38035 (__CLONE_SYSCALL_STRING): Delete.
38036 (__INTERNAL_SYSCALL_STRING): Delete.
38037 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38038 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38039 i386.
38040 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38041 (inline_syscall*): Add 'err' argument.
38042 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38043 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38044 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38045 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38046
38047 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38048 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38049
2bc17433
AS
380502011-08-30 Andreas Schwab <schwab@redhat.com>
38051
38052 * elf/rtld.c (dl_main): Relocate objects in dependency order.
38053
fbeb5f4d
JO
380542011-08-29 Jiri Olsa <jolsa@redhat.com>
38055
38056 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38057 directive.
38058
ad69cc26
DM
380592011-08-24 David S. Miller <davem@davemloft.net>
38060
38061 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38062
39dd69df
AS
380632011-08-24 Andreas Schwab <schwab@redhat.com>
38064
38065 * elf/Makefile: Add rules to build and run unload8 test.
38066 * elf/unload8.c: New file.
38067 * elf/unload8mod1.c: New file.
38068 * elf/unload8mod1x.c: New file.
38069 * elf/unload8mod2.c: New file.
38070 * elf/unload8mod3.c: New file.
38071
38072 * elf/dl-close.c (_dl_close_worker): Reset private search list if
38073 it wasn't used.
38074
2c0b250a
DM
380752011-08-23 David S. Miller <davem@davemloft.net>
38076
38077 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38078 subtract stack bias.
38079 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38080 %sp not %fp in calculations.
38081 (_JMPBUF_UNWINDS_ADJ): Likewise.
38082
22044b48
DM
38083 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38084 (aio_suspend): Call it to force an exception region around the
38085 AIO_MISC_WAIT() invocation.
38086
2cae4995
AS
380872011-08-23 Andreas Schwab <schwab@redhat.com>
38088
38089 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38090 backslash.
38091
873a772e
AJ
380922011-07-04 Aurelien Jarno <aurelien@aurel32.net>
38093
38094 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38095 protection macro.
38096 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38097 and <dl-machine.h>.
38098 (Elf64_FuncDesc): Remove.
38099
25ad0df1
DM
381002011-08-22 David S. Miller <davem@davemloft.net>
38101
38102 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38103 sigaltstack check, add missing cfi directives.
38104 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38105 missing cfi directives, and sigaltstack handling.
38106
e888bcbe
AS
381072011-08-16 Andreas Schwab <schwab@redhat.com>
38108
38109 [BZ #11724]
38110 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38111 object is seen twice.
38112 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38113
38114 * elf/Makefile (distribute): Add tst-initorder2.c.
38115 (tests): Add tst-initorder2.
38116 (modules-names): Add tst-initorder2a tst-initorder2b
38117 tst-initorder2c tst-initorder2d. Add rules to build them.
38118 ($(objpfx)tst-initorder2.out): New rule.
38119 * elf/tst-initorder2.c: New file.
38120 * elf/tst-initorder2.exp: New file.
38121
87162f46
AS
381222011-08-22 Andreas Schwab <schwab@redhat.com>
38123
70538b7f
AS
38124 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38125
f55ffe58
AS
38126 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38127 dependencies back to end of function.
38128
87162f46
AS
38129 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38130 $(elfobjdir)/ld.so.
38131
91b392a4
UD
381322011-08-21 Ulrich Drepper <drepper@gmail.com>
38133
38134 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38135 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38136 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38137 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38138 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38139 of __vdso_gettimeofday.
38140 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38141 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
38142 attribute_hidden.
38143 (_libc_vdso_platform_setup): Remove initialization of
38144 __vdso_gettimeofday and __vdso_time.
38145
5c43483f
UD
381462011-08-20 Ulrich Drepper <drepper@gmail.com>
38147
775a77e7
UD
38148 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38149 and fgetc_unlocked.
38150 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38151 getc_unlocked.
89f447ed 38152
49c74ba9
UD
38153 * elf/dl-open.c (add_to_global): Report additions to the global scope
38154 for LD_DEBUG=scopes.
38155 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 38156 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 38157
5c43483f
UD
38158 [BZ #13114]
38159 * stdio-common/Makefile (tests): Add bug24.
38160 * stdio-common/bug24.c: New file.
38161
a101b025
AJ
381622011-08-19 Andreas Jaeger <aj@suse.de>
38163
38164 [BZ #13114]
38165 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38166 non-existant file when using close-on-exec mode.
38167
c88f1766
UD
381682011-08-20 Ulrich Drepper <drepper@gmail.com>
38169
0276a718
UD
38170 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38171 the very first instruction.
38172
c88f1766
UD
38173 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38174 the CFI state in the end.
38175 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38176 inclusion of dl-trampoline.h.
38177 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38178
51ccffa0
AS
381792011-08-19 Andreas Schwab <schwab@redhat.com>
38180
94d7165f
AS
38181 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38182 expectations for long double.
38183
51ccffa0
AS
38184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38185 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38186
fd708658 381872011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
38188
38189 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38190 artificual limit depends upon the system page size.
38191
44f0a71e
UD
381922011-08-17 Ulrich Drepper <drepper@gmail.com>
38193
38194 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38195 * resolv/Makefile: Define CFLAGS-libresolv.
38196
8de79a24
AS
381972011-08-17 Andreas Schwab <schwab@redhat.com>
38198
38199 * nss/makedb.c (compute_tables): Make variables used in nested
38200 function static.
38201
27724598
UD
382022011-08-17 Ulrich Drepper <drepper@gmail.com>
38203
c5305d88
UD
38204 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38205 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38206 if buffer was too small.
38207
27724598
UD
38208 * elf/pldd.c (main): Attach to all threads in the process.
38209 Rewrite /proc handling to use *at functions.
38210
076fe015
UD
382112011-08-16 Ulrich Drepper <drepper@gmail.com>
38212
174baab3
UD
38213 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38214 specifies first scope to show.
38215 (dl_open_worker): Update callers. Move printing scope of new
38216 object to before the relocation.
44f0a71e 38217 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
38218 * sysdeps/generic/ldsodefs.h: Update declaration.
38219
076fe015
UD
38220 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38221 string for the scope number.
38222
a60df2c3
UD
382232011-08-14 Ulrich Drepper <drepper@gmail.com>
38224
38225 * nscd/servicescache.c (cache_addserv): Make sure written is always
38226 initialized.
38227
5e4287d1
RM
382282011-08-14 Roland McGrath <roland@hack.frob.com>
38229
85ae0589
RM
38230 * sysdeps/i386/i486/bits/atomic.h
38231 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38232 statement expression, so as to suppress "set but not used" warning.
38233 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38234
69f63097
RM
38235 * string/strncat.c (STRNCAT): Use prototype definition.
38236
675456ef
RM
38237 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38238 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38239 -Iprograms here.
38240 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38241 (localedef-modules): Add localedef.
38242 (locale-modules): Add locale.
38243
5e4287d1
RM
38244 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38245 * elf/rtld.c (dl_main): Invert order of assignment in last change,
38246 to avoid a warning.
38247
9c96ff23
DM
382482011-08-14 David S. Miller <davem@davemloft.net>
38249
38250 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38251 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38252
f9ddf089
UD
382532011-08-13 Ulrich Drepper <drepper@gmail.com>
38254
44f0a71e 38255 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
38256 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38257 * elf/rtld.c (dl_main): Set l_name of vDSO.
38258 Call _dl_show_scope when DL_DEBUG_SCOPES.
38259 (process_dl_debug): Recognize scopes flag and also set it for all.
38260 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38261 Declare _dl_show_scope.
38262
1dc27704
UD
38263 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38264 (do_dlopen): Pass caller_dlopen to dl_open.
38265 (__libc_dlopen_mode): Initialize caller_dlopen.
38266
f9ddf089
UD
38267 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38268 of libc. Make tolower call locale-independent. Optimize a bit by
38269 using isdigit instead of isalnum.
38270 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38271
9ac533d3
UD
382722011-08-12 Ulrich Drepper <drepper@gmail.com>
38273
38274 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38275 was a dependency or dynamically loaded.
38276
89edf2e9
UD
382772011-08-11 Ulrich Drepper <drepper@gmail.com>
38278
8e999d29
UD
38279 * intl/l10nflist.c: Allow architecture-specific pop function.
38280 * sysdeps/x86_64/l10nflist.c: New file.
38281
89edf2e9
UD
38282 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38283 classification.
38284
14d96785
AS
382852011-08-10 Andreas Schwab <schwab@redhat.com>
38286
38287 * include/dirent.h: Add libc_hidden_proto for scandirat and
38288 scandirat64. Don't declare __scandirat64.
38289 * dirent/scandirat.c: Add libc_hidden_def.
38290 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38291 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38292
6761ac04
DM
382932011-08-10 David S. Miller <davem@davemloft.net>
38294
38295 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38296 enum.
38297 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38298 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38299 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38300
c55fbd1e
UD
383012011-08-09 Ulrich Drepper <drepper@gmail.com>
38302
38303 * Versions.def [libc]: Add GLIBC_2.15.
38304 * dirent/Makefile (routines): Add scandirat and scandirat64.
38305 * dirent/Versions [libc]: Export scandirat and scandirat64 for
38306 GLIBC_2.15.
38307 * dirent/dirent.h: Declare scandirat and scandirat64.
38308 * dirent/scandirat.c: New file.
38309 * dirent/scandirat64.c: New file.
38310 * sysdeps/wordsize-64/scandirat.c: New file.
38311 * sysdeps/wordsize-64/scandirat64.c: New file.
38312 * dirent/opendir.c: Define opendirat.
38313 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
38314 using scandirat.
38315 * dirent/scandir64.c: Adjust for scandir.c change.
38316 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
38317 __scandirat64, and __scandir_cancel_handler.
38318 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
38319 additional parameter and use openat instead of open (outside of ld.so).
38320 Add new __opendir as wrapper around __opendirat.
38321 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
38322 here without requiring old scandirat implementation.
38323
879165f2
UD
383242011-08-08 Ulrich Drepper <drepper@gmail.com>
38325
38326 * dirent/scandir.c (cancel_handler): Renamed to
38327 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
38328 defined. Adjust users.
38329 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
38330 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
38331
cb7e923b
UD
383322011-08-04 Ulrich Drepper <drepper@gmail.com>
38333
16292edd
UD
38334 * string/test-string.h (IMPL): Use __STRING to expand name and then
38335 stringify it.
38336
cb7e923b
UD
38337 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
38338 of cleanups.
38339
cff82933
LD
383402011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38341
38342 * string/Makefile: Update.
38343 (strop-tests): Append strncat.
38344 * string/test-wcscmp.c: New file.
38345 New comprehensive test for wcscmp.
38346 * string/test-strcmp.c: Update.
38347 (WIDE): New define.
38348
9be9bfcc
AS
383492011-07-22 Andreas Schwab <schwab@redhat.com>
38350
38351 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
38352 line.
38353
2e96f1c7
AS
383542011-07-26 Andreas Schwab <schwab@redhat.com>
38355
38356 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38357 encoding to ACE if AI_IDN.
38358
85188888
JJ
383592011-08-01 Jakub Jelinek <jakub@redhat.com>
38360
38361 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
38362 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
38363
5fa16e9b
LD
383642011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38365
38366 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
38367 Fix overflow bug in strncat.
38368 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
38369
38370 * string/test-strncat.c: Update.
38371 Add new tests for checking overflow bugs.
38372
383732011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38374
38375 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38376 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
38377 * sysdeps/i386/i686/multiarch/strcat.S: New file.
38378 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
38379 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
38380 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
38381 * sysdeps/i386/i686/multiarch/strncat.S: New file.
38382 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
38383 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
38384
38385 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
38386 (USE_AS_STRCAT): Define.
38387 Add strcat and strncat support.
38388 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38389
8c1a459f
AS
383902011-07-25 Andreas Schwab <schwab@redhat.com>
38391
38392 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
38393 __n bigger than INT_MAX+1.
38394 (__strncmp_g): Likewise.
38395
bba33c28
UD
383962011-07-23 Ulrich Drepper <drepper@gmail.com>
38397
798be72d
UD
38398 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
38399 * libio/stido.h: Likewise.
38400
8accd4dc
UD
38401 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
38402 (AF_NFC): Define.
38403 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
38404 (AF_NFC): Define.
38405
cbff0d96
UD
38406 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
38407 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38408 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38409 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
38410 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38411
9191c04a
UD
38412 [BZ #13021]
38413 * scripts/test-installation.pl: Don't expect libnss_test1 to be
38414 installed.
38415
bba33c28
UD
38416 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
38417 typo.
38418 (_dl_x86_64_save_sse): Likewise.
38419
90f139dd
UD
384202011-07-22 Ulrich Drepper <drepper@gmail.com>
38421
1aae088a
UD
38422 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
38423 OSXSAVE.
38424 (_dl_x86_64_save_sse): Likewise.
38425
8e2045f5
UD
38426 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
38427
90f139dd
UD
38428 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
38429
1d002f25
AS
384302011-07-21 Andreas Schwab <schwab@redhat.com>
38431
38432 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
38433 change.
38434 (_dl_x86_64_save_sse): Use correct AVX check.
38435
21137f89
UD
384362011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38437
38438 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
38439 bug in strncpy/strncat.
38440 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
38441
a65c0b7a
UD
384422011-07-21 Ulrich Drepper <drepper@gmail.com>
38443
38444 * string/tester.c (test_strcat): Add tests for different alignments
38445 of source and destination.
38446 (test_strncat): Likewise.
38447
6986b98a
UD
384482011-07-20 Ulrich Drepper <drepper@gmail.com>
38449
90bb2039
UD
38450 [BZ #12852]
38451 * posix/glob.c (glob): Check passed in values before using them in
38452 expressions to avoid some overflows.
38453 (glob_in_dir): Likewise.
38454
5644ef54
UD
38455 [BZ #13007]
38456 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
38457 check for AVX enablement so that we don't crash with old kernels and
38458 new hardware.
38459 * elf/tst-audit4.c: Add same checks here.
38460 * elf/tst-audit6.c: Likewise.
38461
38462 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 38463
bfc9dc9b
AS
384642011-07-09 Andreas Schwab <schwab@linux-m68k.org>
38465
38466 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
38467
702e64bb
UD
384682011-07-20 Ulrich Drepper <drepper@gmail.com>
38469
38470 * po/cs.po: Update from translation team.
38471 * po/bg.po: Likewise.
38472
295e904f
MP
384732011-07-12 Marek Polacek <mpolacek@redhat.com>
38474
38475 * misc/sys/cdefs.h: Add support for const attribute.
38476 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
38477 to gnu_dev_{major,minor,makedev} functions.
38478
3ff94596
MP
384792011-07-20 Marek Polacek <mpolacek@redhat.com>
38480
38481 * intl/dcigettext.c (get_output_charset): Add missing bracket.
38482
28b59fca
AS
384832011-07-20 Andreas Schwab <schwab@redhat.com>
38484
38485 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
38486 strlen results.
38487
19df733e
AK
384882011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38489
38490 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
38491 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
38492 register in order to avoid conflicts with the soft frame pointer
38493 being held in r11 when necessary.
38494 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
38495 (INTERNAL_VSYSCALL_NCS): Likewise.
38496
c8835729
MP
384972011-07-14 Marek Polacek <mpolacek@redhat.com>
38498
38499 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
38500 * elf/dl-fini.c (_dl_fini): Adjust caller.
38501 * elf/dl-close.c (_dl_close_worker): Likewise.
38502 * sysdeps/generic/ldsodefs.h: Adjust declaration.
38503
b902330c
MP
385042011-07-15 Marek Polacek <mpolacek@redhat.com>
38505
8991e135
MP
38506 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
38507 "aux_cache->nlibs < 0".
38508
b902330c
MP
38509 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
38510 in the reload-count case.
38511
99710781
LD
385122011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38513
38514 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38515 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
38516 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
38517 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
38518 * sysdeps/x86_64/multiarch/strcat.S: New file.
38519 * sysdeps/x86_64/multiarch/strncat.S: New file.
38520 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
38521 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
38522 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
38523 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
38524 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
38525 (USE_AS_STRCAT): Define.
38526 Add strcat and strncat support.
38527 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38528 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38529 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
38530 * string/strncat.c: Update.
38531 (USE_AS_STRNCAT): Define.
38532 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38533 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
38534 and i7.
38535 * sysdeps/x86_64/multiarch/init-arch.h
38536 (bit_Prefer_PMINUB_for_stringop): New.
38537 (index_Prefer_PMINUB_for_stringop): Likewise.
38538 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
38539 bit_Prefer_PMINUB_for_stringop.
38540
7dc6bd90
UD
385412011-07-19 Ulrich Drepper <drepper@gmail.com>
38542
38543 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
38544 buffer64.
38545 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
38546 of casting of buffer.
38547 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
38548 buffer32 and buffer64.
38549 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
38550 writes instead of casting of buffer.
38551 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
38552 buffer32.
38553 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
38554 casting of buffer.
38555
e0e72284
AS
385562011-07-19 Andreas Schwab <schwab@redhat.com>
38557
38558 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
38559
feb1eb0b
UD
385602011-07-19 Ulrich Drepper <drepper@gmail.com>
38561
38562 * nscd/nscd.c (termination_handler): Don't do anything for a database
38563 if it has not yet been initialized.
38564
298711ff
UD
385652011-07-18 Ulrich Drepper <drepper@gmail.com>
38566
38567 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38568
385692011-07-15 Marek Polacek <mpolacek@redhat.com>
38570
38571 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38572
f9d68389
UD
385732011-07-18 Ulrich Drepper <drepper@gmail.com>
38574
38575 * po/nl.po: Update from translation team.
38576 * po/sv.po: Likewise.
38577
db290cf5
RM
385782011-07-16 Roland McGrath <roland@hack.frob.com>
38579
38580 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
38581 now disallowed by GCC.
5c550700 38582
fd5e21c7
RM
38583 * configure.in (use-default-link): Default to yes if a test -shared
38584 link meets our qualifications.
38585 * configure: Regenerated.
38586
5c550700
RM
38587 * config.make.in (output-format): New variable.
38588 * configure.in: Check for ld --print-output-format support.
38589 * configure: Regenerated.
38590 * Makerules ($(common-objpfx)format.lds)
38591 [$(output-format) != unknown]: Just use $(output-format),
38592 instead of the linker-script munging.
38593
9fa2c032
RM
385942011-07-14 Roland McGrath <roland@hack.frob.com>
38595
a6928d51
RM
38596 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
38597 of $(common-objpfx)shlib.lds.
38598 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
38599
661607b3
RM
38600 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
38601 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
38602
9fa2c032
RM
38603 * configure.in (-z relro check): Adjust test code to add a large
38604 writable data section after it.
38605 * configure: Regenerated.
38606
defe9061
RM
386072011-07-11 Roland McGrath <roland@hack.frob.com>
38608
38609 * configure.in (-z relro check): Fix test code to make the variable
38610 truly const.
38611 * configure: Regenerated.
38612
319b9ad4
UD
386132011-07-11 Ulrich Drepper <drepper@gmail.com>
38614
38615 * nscd/nscd.h (struct traced_file): Define.
38616 (struct database_dyn): Remove inotify_descr, reset_res, and filename
38617 elements. Add traced_files.
38618 (inotify_fd): Declare.
38619 (register_traced_file): Declare.
38620 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
38621 (inotify_fd): Export.
38622 (resolv_conf_descr): Remove.
38623 (nscd_init): Move inotify descriptor creation to main.
38624 Don't register files for notification here.
38625 (register_traced_file): New function.
38626 (invalidate_cache): Don't use reset_res to determine whether to call
38627 res_init, go through the list of registered files.
38628 (main_loop_poll): The inotify descriptors are now stored in the
38629 structures for the traced files.
38630 (main_loop_epoll): Likewise
38631 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
38632 to __nss_disable_nscd.
38633 * nscd/cache.c (prune_cache): There is no single inotify descriptor
38634 for a database anymore. Check the records for all the registered
38635 files instead.
38636 * nss/Makefile (libnss_files-routines): Add files-init.
38637 (libnss_db-routines): Add db-init.
38638 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
38639 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
38640 * nss/nss_db/db-init.c: New file.
38641 * nss/nss_files/files-init.c: New file.
38642 * nss/nsswitch.c (nss_load_library): New function. Broken out of
38643 __nss_lookup_function.
38644 (__nss_lookup_function): Call nss_load_library.
38645 (nss_load_all_libraries): New function.
38646 (__nss_disable_nscd): Take parameter with callback function for files
38647 to register. Set is_nscd. Load all the DSOs for the NSS modules
38648 used for the cached services.
38649 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
38650 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
38651 options for features to all the files in nscd.
38652
38653 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
38654
23bee3e8
RM
386552011-07-10 Roland McGrath <roland@hack.frob.com>
38656
38657 * csu/elf-init.c (__libc_csu_init): Comment typo.
38658
46a5b7f0
UD
386592011-07-09 Ulrich Drepper <drepper@gmail.com>
38660
38661 * po/pl.po: Update from translation team.
38662 * po/ja.po: Likewise.
38663 * po/ru.po: Likewise.
38664 * po/ko.po: Likewise.
38665 * po/fr.po: Likewise.
38666
d30cf5bb
RM
386672011-07-09 Roland McGrath <roland@hack.frob.com>
38668
113ddea4
RM
38669 * configure.in (.ctors/.dtors header and trailer check):
38670 Use an empirical test on a built program.
38671 * configure: Regenerated.
38672
574920b4
RM
38673 * configure.in (-z relro check): Use an empirical test on a built DSO.
38674 Detect, but do not require, on ia64.
38675 * configure: Regenerated.
38676
d30cf5bb
RM
38677 * configure.in (READELF): Find it with AC_CHECK_TOOL.
38678 Update tests that use readelf to use $READELF instead.
38679 * configure: Regenerated.
38680
8538fdb3
UD
386812011-07-08 Ulrich Drepper <drepper@gmail.com>
38682
38683 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
38684 if the result is not used.
38685
04d08991
AJ
386862011-07-05 Andreas Jaeger <aj@suse.de>
38687
38688 [BZ#9696]
38689 * stdlib/tst-strtod.c: Add testcase.
38690
de283087
AD
386912011-07-07 Ulrich Drepper <drepper@gmail.com>
38692
4e5f31c8 38693 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 38694 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
38695 The latter has a higher limit. Take additional parameter to pass to
38696 the new function.
38697 (__pathconf): Pass file to __statfs_link_max.
38698 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
38699 __statfs_link_max.
38700 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
38701 __statfs_link_max.
38702
de283087
AD
38703 [BZ #12868]
38704 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
38705 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38706 Handle Lustre.
38707 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
38708 (__statfs_filesize_max): Likewise.
38709 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
38710
c75fa153
AJ
387112011-07-05 Andreas Jaeger <aj@suse.de>
38712
38713 * resolv/res_comp.c (dn_skipname): Remove unused variable.
38714
1a544854
UD
387152011-07-06 Marek Polacek <mpolacek@redhat.com>
38716
38717 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
38718 `status' variable.
38719 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
38720 Likewise.
38721
6f0eec67
UD
387222011-07-04 H.J. Lu <hongjiu.lu@intel.com>
38723
38724 * Makefile (strop-tests): Add strncat.
38725 * string/test-strncat.c: New file.
38726
aae30307
UD
387272011-06-30 Marek Polacek <mpolacek@redhat.com>
38728
38729 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
38730
c0cfb5eb
UD
387312011-06-21 Andreas Jaeger <aj@suse.de>
38732
38733 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
38734 Copy rule from iconvdata/Makefile.
38735
01636b21
UD
387362011-07-06 Ulrich Drepper <drepper@gmail.com>
38737
38738 [BZ #12922]
38739 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
38740 but no long options are defined, just return 'W'.
38741
9895c8bc
UD
387422011-06-22 Marek Polacek <mpolacek@redhat.com>
38743
38744 [BZ #9696]
38745 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
38746
5d4cf042
UD
387472011-07-06 Ulrich Drepper <drepper@gmail.com>
38748
38749 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
38750 netgroups to read.
960e5535 38751 (innetgr): Likewise.
5d4cf042 38752
751eb97e
RM
387532011-07-05 Roland McGrath <roland@hack.frob.com>
38754
38755 * config.make.in (install_root): Default to $(DESTDIR).
38756
f15f1e45
UD
387572011-07-05 Ulrich Drepper <drepper@gmail.com>
38758
38759 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
38760
4e34ac6a
RM
387612011-07-02 Roland McGrath <roland@hack.frob.com>
38762
5e9b6af4
RM
38763 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
38764
84f9ea0f
RM
38765 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
38766 containing directory rather than embedding absolute directory names.
38767
ea5ee9f7
RM
38768 * scripts/check-local-headers.sh: Rewritten using awk.
38769 Match by word, not by line. Print error messages for matches.
38770 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
38771
1b74661a
RM
38772 * Makerules [shlib-lds-flags empty]:
38773 ($(common-objpfx)libc_pic.opts): New target.
38774 ($(common-objpfx)libc_pic.os.clean): New target.
38775 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
38776
38777 * config.make.in (OBJCOPY): New variable.
38778 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
38779 * configure: Regenerated.
38780
f781ef40
RM
38781 * config.make.in (use-default-link): New variable.
38782 * configure.in (use_default_link): Grok --with-default-link to set it.
38783 * configure: Regenerated.
38784 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
38785 (shlib-lds, shlib-lds-flags): Define to empty.
38786
2d4fa81e
RM
38787 * Makerules (shlib-lds): New variable.
38788 (shlib-lds-flags): New variable.
38789 (build-shlib, build-moduile, build-module-asneeded): Use it.
38790 ($(common-objpfx)libc.so): Use $(shlib-lds).
38791 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
38792 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
38793
31fffa6b
RM
38794 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
38795 DT_FLAGS/DT_FLAGS_1 with zero flags.
38796
4e34ac6a
RM
38797 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
38798 linker script munging.
38799
fcfc776b
UD
388002011-07-02 Ulrich Drepper <drepper@gmail.com>
38801
38802 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
38803 as 128-bit value.
38804 * crypt/sha512.c (sha512_process_block): Perform total addition using
38805 128-bit if possible.
38806 (__sha512_finish_ctx): Likewise.
38807 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
38808 as 64-bit value.
38809 * crypt/sha256.c (SWAP64): Define.
38810 (sha256_process_block): Perform total addition using 64-bit if
38811 possible.
38812 (__sha256_finish_ctx): Likewise.
38813
99231d9a
UD
388142011-07-01 Ulrich Drepper <drepper@gmail.com>
38815
38816 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
38817 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38818 * nscd/hstcache.c (cache_addhst): Likewise.
38819 * nscd/grpcache.c (cache_addgr): Likewise.
38820 * nscd/aicache.c (addhstaiX): Likewise
38821 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
38822
445b4a53
TK
388232011-07-01 Thorsten Kukuk <kukuk@suse.de>
38824
38825 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
38826 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38827 * nscd/hstcache.c (cache_addhst): Likewise.
38828 * nscd/grpcache.c (cache_addgr): Likewise.
38829 * nscd/aicache.c (addhstaiX): Likewise
38830
6d4d8e8e
AS
388312011-07-01 Andreas Schwab <schwab@redhat.com>
38832
38833 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
38834 domain only when needed.
38835
89f654c5
AS
388362011-06-30 Andreas Schwab <schwab@redhat.com>
38837
38838 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
38839 is always restored.
38840
cf3b23ff
UD
388412011-06-29 Ulrich Drepper <drepper@gmail.com>
38842
38843 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
38844 are re-adding the entry.
38845 * nscd/servicescache.c (cache_addserv): Likewise.
38846
751626f9
AJ
388472011-06-30 Aurelien Jarno <aurelien@aurel32.net>
38848
38849 * sysdeps/generic/dl-irel.h: fix protection against multiple
38850 inclusions.
38851 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
38852
9113ea1f
UD
388532011-06-28 Ulrich Drepper <drepper@gmail.com>
38854
5c0b8d90
UD
38855 [BZ #12935]
38856 * malloc/memusage.sh: Fix quoting in message.
38857 * debug/xtrace.sh: Likewise.
38858
9113ea1f
UD
38859 * configure.in: Remove support for --experimental-malloc option, make
38860 it the default.
38861 * config.make.in: Likewise.
38862 * malloc/Makefile: Likewise.
38863
a4172181
AS
388642011-06-27 Andreas Schwab <schwab@redhat.com>
38865
38866 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
38867 two-byte characters.
38868
78a7eee7
RM
388692011-06-27 Roland McGrath <roland@hack.frob.com>
38870
62bede13
RM
38871 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
38872 AC_CACHE_CHECK invocation.
38873 * configure: Regenerated.
38874
78a7eee7
RM
38875 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
38876
5ce33a62
UD
388772011-06-27 Ulrich Drepper <drepper@gmail.com>
38878
034807a9
UD
38879 [BZ #12350]
38880 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
38881 bit from old_res_options.
38882
4902da17
UD
38883 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
38884
5ce33a62
UD
38885 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
38886 value type for setfct.
38887
c2344f56
L
388882011-06-23 H.J. Lu <hongjiu.lu@intel.com>
38889
38890 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
38891 __gettimeofday instead of gettimeofday.
38892
68468076
UD
388932011-06-26 Ulrich Drepper <drepper@gmail.com>
38894
38895 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
38896
acb0d739
L
388972011-06-24 H.J. Lu <hongjiu.lu@intel.com>
38898
38899 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
38900
38901 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
38902 info.
38903
8912479f
L
389042011-06-22 H.J. Lu <hongjiu.lu@intel.com>
38905
38906 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38907 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
38908 strcpy-sse2-unaligned strncpy-sse2-unaligned
38909 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
38910 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
38911 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
38912 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
38913 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
38914 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
38915 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
38916 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
38917 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
38918 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
38919 (STRCPY): Support SSE2 and SSSE3 versions.
38920
d5495a11
UD
389212011-06-24 Ulrich Drepper <drepper@gmail.com>
38922
38923 [BZ #12874]
38924 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
38925 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
38926 kernels which artificially limit size of requests.
38927
0b1cbaae
L
389282011-06-22 H.J. Lu <hongjiu.lu@intel.com>
38929
38930 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38931 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
38932 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
38933 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
38934 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
38935 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
38936 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
38937 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
38938 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
38939 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
38940 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
38941 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
38942 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
38943 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
38944 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
38945 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38946 Enable unaligned load optimization for Intel Core i3, i5 and i7
38947 processors.
38948 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
38949 Define.
38950 (index_Fast_Unaligned_Load): Define.
38951 (HAS_FAST_UNALIGNED_LOAD): Define.
38952
07f494a0
MP
389532011-06-23 Marek Polacek <mpolacek@redhat.com>
38954
38955 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
38956
fa3fc0fe
UD
389572011-06-22 Ulrich Drepper <drepper@gmail.com>
38958
38959 [BZ #12907]
38960 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
38961 until it is clear that the information is realy needed.
38962 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
38963
e12df166
AS
389642011-06-22 Andreas Schwab <schwab@redhat.com>
38965
38966 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
38967
852eb34d
UD
389682011-06-22 Ulrich Drepper <drepper@gmail.com>
38969
84e2a551
UD
38970 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
38971 /sys/devices/system/cpu/online if it is usable.
38972
852eb34d
UD
38973 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
38974 reading the information from the /proc filesystem to once a second.
38975
6e502e19
UD
389762011-06-21 Andreas Jaeger <aj@suse.de>
38977
38978 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
38979 NULL after inclusion of kernel headers.
38980
75d39ff2
UD
389812011-06-21 Ulrich Drepper <drepper@gmail.com>
38982
51f9aa6a
UD
38983 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
38984 calls to internal_setent.
38985
c0244a9d
UD
38986 [BZ #12885]
38987 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
38988 addresses using gethostbyname4_r ignore IPv4 addresses.
38989
c5e3c2ae
UD
38990 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
38991 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
38992
75d39ff2
UD
38993 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
38994
42675c6f
DM
389952011-06-20 David S. Miller <davem@davemloft.net>
38996
38997 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
38998 inclusions.
38999 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39000
39001 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39002 (elf_irel): Use it.
39003 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39004 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39005 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39006 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39007 * sysdeps/x86_64/dl-irel.h: Likewise.
39008
39009 * elf/dl-runtime.c: Use elf_ifunc_invoke.
39010 * elf/dl-sym.c: Likewise.
39011
57912a71
UD
390122011-06-15 Ulrich Drepper <drepper@gmail.com>
39013
39014 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
39015 need to dereference resplen2.
39016
ee22793d
AS
390172011-06-14 Andreas Schwab <schwab@redhat.com>
39018
39019 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39020
a9e836b0
UD
390212011-06-15 Ulrich Drepper <drepper@gmail.com>
39022
77fb9117
UD
39023 * Makeconfig: Define vardbdir and inst_vardbdir.
39024 * nss/Makefile: Add rules to install db-Makefile.
39025
40c1b22c
UD
39026 * nss/nss_db/db-XXX.c: Cleanup.
39027
9f2da732
UD
39028 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39029 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39030 GLIBC_PRIVATE.
39031 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39032 * nss/makedb.c: Implement -g option to specify that value strings
39033 are generated and should not be added to table iterated over for
39034 get*ent calls.
39035 * nss/nss_db/db-initgroups.c: New file.
39036
82e9a1f7
UD
39037 * nss/getent.c: Add support for initgroups lookups through getgrouplist
39038 interface.
39039
c41af17e
UD
39040 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39041 (internal_getgrouplist): Adjust to name change.
39042 Update use_initgroups_entry if this is not the first call.
39043 * nss/databases.def: Add initgroups entry.
39044
a9e836b0
UD
39045 * nss/makedb.c (compute_tables): Check result of multiple hash table
39046 sizes to minimize maximum chain length.
39047
2666d441
UD
390482011-06-14 Ulrich Drepper <drepper@gmail.com>
39049
39050 * Versions.def: Add entry for libnss_db.
39051 * shlib-versions: Likewise.
39052 * nss/Makefile: Add rules to build libnss_db.
39053 * nss/Versions: Add libnss_db information. Organize libnss_files
39054 entries better.
39055 * nss/db-Makefile: Add gshadow support. Change rules for the new
39056 makedb progra. Some minor improvements to generate smaller files.
39057 * nss/nss_db/nss_db.h: Move NSS database header data structures to
39058 here from...
39059 * nss/makedb.c: ...here.
39060 Improve database format to be smaller and require less memory at
39061 runtime.
39062 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
39063 db anymore.
39064 * nss/nss_db/db-netgrp.c: Likewise.
39065 * nss/nss_db/db-open.c: Likewise.
39066 * nss/nss_files/flies-XXX.x: Adjust comments.
39067 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39068 * nss/nss_files/files-grp.c: Likewise.
39069 * nss/nss_files/files-hosts.c: Likewise.
39070 * nss/nss_files/files-network.c: Likewise.
39071 * nss/nss_files/files-proto.c: Likewise.
39072 * nss/nss_files/files-pwd.c: Likewise.
39073 * nss/nss_files/files-rpc.c: Likewise.
39074 * nss/nss_files/files-service.c: Likewise.
39075 * nss/nss_files/files-sgrp.c: Likewise.
39076 * nss/nss_files/files-spwd.c: Likewise.
39077 * nss/nss_db/db-alias.c: Removed.
39078 * nss/nss_db/dummy-db.h: Removed.
39079
9ee76b5a
UD
390802011-06-02 Ulrich Drepper <drepper@gmail.com>
39081
39082 * nss/makedb.c: Rewritten to not use database library.
39083 * nss/Makefile: Update to build new makedb program.
39084
c71ca1f8
AJ
390852011-06-14 Andreas Jaeger <aj@suse.de>
39086
39087 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39088 memset declaration.
39089
3154bfb8
UD
390902011-06-10 Andreas Schwab <schwab@redhat.com>
39091
39092 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39093 tmpbuf.
39094
b350afab
RM
390952011-06-10 Roland McGrath <roland@hack.frob.com>
39096
decd4e50
RM
39097 * Makerules (shlib.lds): Fail if the linker script comes out empty.
39098 * elf/Makefile ($(objpfx)ld.so): Likewise.
39099
5615eaf2
RM
39100 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39101 Don't list ld.so twice in dependencies.
39102
39103 * posix/bug-regex31.c: Include <stdlib.h>.
39104
39105 * nscd/hstcache.c (cache_addhst): Remove unused variable.
39106
39107 * nis/nss_compat/compat-spwd.c
39108 (getspent_next_nss_netgr): Remove unused variable.
39109 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39110
39111 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39112 nonmembers" output to use the right array.
39113
39114 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39115
39116 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39117
39118 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39119 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39120 * catgets/gencat.c (read_input_file): Likewise.
39121 * locale/programs/locarchive.c (enlarge_archive): Likewise.
39122
39123 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39124 variable definition inside #if's controlling its use.
39125
39126 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39127
39128 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39129
39130 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39131
39132 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39133 unreachable code.
39134
39135 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39136
b68e08db
RM
39137 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39138 * configure: Regenerated.
39139
b350afab
RM
39140 * Makerules: Revert last change.
39141 * elf/Makefile: Likewise.
39142
28368601
RM
391432011-06-09 Roland McGrath <roland@hack.frob.com>
39144
39145 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39146 * elf/Makefile ($(objpfx)librtld.os): Likewise.
39147 (reloc-link): Likewise.
39148
11988f8f
UD
391492011-06-09 Ulrich Drepper <drepper@gmail.com>
39150
39151 * elf/Makefile: Add rules to build pldd.
39152 * elf/pldd.c: New file.
39153 * elf/pldd-xx.c: New file.
39154
e80fab37
UD
391552011-06-07 Ulrich Drepper <drepper@gmail.com>
39156
39157 * version.h: Update for 2.15 development version.
39158
9b849836
DM
391592011-06-07 David S. Miller <davem@davemloft.net>
39160
39161 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39162 ifuncs.
39163 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39164 elf_machine_lazy_rel): Likewise.
39165 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39166 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39167 elf_machine_lazy_rel): Likewise.
39168 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39169 dl_hwcap via passed in argument.
39170 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39171 Likewise.
39172
5a31b283
AK
391732011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39174
39175 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
39176
069e52f8
RM
391772011-06-06 Roland McGrath <roland@hack.frob.com>
39178
39179 [BZ #12849]
39180 * manual/fdl-1.1.texi: New file, verbatim from:
39181 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39182 * manual/lgpl-2.1.texi: New file, verbatim from:
39183 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39184 * manual/Makefile (licenses): New variable, list those new file names.
39185 (texis): Use it.
39186 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39187
39188 * manual/fdl.texi: File removed.
39189 * manual/lesser.texi: File removed.
39190 * manual/libc.texinfo (Copying, Documentation License):
39191 Use new @include file names, put @appendix directive before @include.
39192
f16846a5
JJ
391932011-06-04 Jakub Jelinek <jakub@redhat.com>
39194
39195 [BZ #12841]
39196 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39197 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39198 (mq_open): Add __NTH.
39199
3d29045b
L
392002011-06-02 H.J. Lu <hongjiu.lu@intel.com>
39201
39202 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39203 Assume Intel Core i3/i5/i7 processor if AVX is available.
39204
8c297311
UD
392052011-05-31 Ulrich Drepper <drepper@gmail.com>
39206
39207 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39208 typo.
39209
c8fc0c91
UD
392102011-05-31 Andreas Schwab <schwab@redhat.com>
39211
39212 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39213 memory. Use alloca_account. Fix memory leak when retrying.
39214
5b27a807
UD
392152011-05-31 Ulrich Drepper <drepper@gmail.com>
39216
356f8bc6
UD
39217 * version.h (RELEASE): Bump for 2.14 release.
39218 * include/features.h (__GLIBC_MINOR__): Bump to 14.
39219
5b27a807
UD
39220 * config.make.in (RANLIB): Remove entry.
39221
01f16ab0
UD
392222011-05-30 Ulrich Drepper <drepper@gmail.com>
39223
41fce8bd
UD
39224 * po/Makefile (po-sed-cmd): Add ksh to extensions.
39225 (libc.pot): Work around missing support for .ksh extension in xgettext.
39226
4769ae77
UD
39227 [BZ #12684]
39228 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39229 if both request failed.
39230 (send_dg): In case of server errors clear resplen or *resplen2.
39231
6b1e7d19
UD
39232 [BZ #12454]
39233 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39234 when there are multiple maps.
39235 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39236 (_dl_fini): Remove test here.
39237
01f16ab0
UD
39238 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39239
b1ebd700
UD
392402011-05-29 Ulrich Drepper <drepper@gmail.com>
39241
7ae22829
UD
39242 [BZ #12350]
39243 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39244 bit from old_res_options.
39245 (gaih_inet): Likewise.
39246
553149f6 39247 [BZ #11099]
18a84741 39248 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
39249 as signed.
39250
652ffab1
UD
39251 * resolv/res_init.c (res_setoptions): Make the code more compact.
39252
16985fd0
UD
39253 [BZ #11558]
39254 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39255 set RES_USEVC.
39256
0464f746
UD
39257 [BZ #11634]
39258 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39259
7d17596c
UD
39260 * malloc/malloc.h: Mark malloc hook variables as deprecated.
39261
cf6bbbd7
UD
39262 [BZ #11781]
39263 * malloc/malloc.h: Declare malloc hook variables as volatile.
39264
13f1ab36
UD
39265 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39266 in last patch.
39267
b1ebd700
UD
39268 [BZ #11799]
39269 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 39270 raise in the comment.
80e2212d
UD
39271 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39272 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39273 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 39274
ce67228d
UD
392752011-05-28 Ulrich Drepper <drepper@gmail.com>
39276
8887a920
UD
39277 [BZ #12811]
39278 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39279 grow the buffers more if it already has to be sufficient.
39280 (build_wcs_upper_buffer): Likewise.
39281 * posix/regexec.c (check_matching): Likewise.
39282 (clean_state_log_if_needed): Likewise.
39283 (extend_buffers): Don't enlarge buffers beyond size of the input
39284 buffer.
39285 Patches mostly by Emil Wojak <emil@wojak.eu>.
39286 * posix/bug-regex32.c: New file.
39287 * posix/Makefile (tests): Add bug-regex32.
39288
4f031072
UD
39289 * locale/findlocale.c (_nl_find_locale): Return right away if
39290 _nl_explode_name failed.
39291 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39292
d0478f0c
UD
39293 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39294
de81b246
UD
39295 * debug/xtrace.sh: Unify messages.
39296 * malloc/memusage.sh: Likewise.
39297
c738465a
UD
39298 [BZ #12813]
39299 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39300 time symbol from vDSO. Substitute with vsyscall if not available.
39301 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39302 __vdso_time.
39303
f1f929d7
UD
39304 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39305 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39306 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39307 Add sendmmsg and internal_sendmmsg.
39308 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39309 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39310 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39311
ce67228d
UD
39312 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39313 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
39314 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
39315
e57420c6
UD
393162011-05-27 Ulrich Drepper <drepper@gmail.com>
39317
a8509ca5
UD
39318 [BZ #12813]
39319 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
39320 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
39321 available.
39322 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
39323 __vdso_getcpu.
39324
e57420c6
UD
39325 [BZ #12814]
39326 * iconvdata/Makefile (tests): Add bug-iconv9.
39327 * iconvdata/bug-iconv9.c: New file.
39328
4d07db15
AS
393292011-05-27 Andreas Schwab <schwab@redhat.com>
39330
39331 [BZ #12814]
39332 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
39333
ea486f69
JJ
393342011-05-25 Jakub Jelinek <jakub@redhat.com>
39335
39336 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39337 (struct user_regs_struct): Change intcs field back to cs.
39338
6f038433
UD
393392011-05-25 Ulrich Drepper <drepper@gmail.com>
39340
39341 * po/ja.po: Update from translation team.
39342
67f86a25
UD
393432011-05-23 Ulrich Drepper <drepper@gmail.com>
39344
39345 [BZ #12795]
39346 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
39347 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
39348
def7fbd6
AS
393492011-05-20 Andreas Schwab <schwab@redhat.com>
39350
39351 * stdlib/longlong.h: Update from GCC.
39352
f50ef8f1
AS
393532011-05-23 Andreas Schwab <schwab@redhat.com>
39354
39355 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
39356 parameter name.
39357 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
39358 Add parameter name.
39359 (__sysconf): Pass it down.
39360
de7ce8f1
UD
393612011-05-22 Ulrich Drepper <drepper@gmail.com>
39362
f2962a71
UD
39363 [BZ #12671]
39364 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
39365 some situations.
39366 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39367 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
39368 add in in __libc_use_alloca calls. Adjust callers.
39369 (glob): Use malloc in some situations.
39370
de7ce8f1
UD
39371 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
39372 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
39373 pltexit.
39374
aec84f53
UD
393752011-05-21 Ulrich Drepper <drepper@gmail.com>
39376
05bb4a68
UD
39377 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
39378 and CLOCK_BOOTTIME_ALARM.
39379
7ea72f99
UD
39380 [BZ #12782]
39381 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
39382 is returned.
39383
7e4afad5
UD
39384 * string/_strerror.c (__strerror_r): Print negative errors as signed
39385 numbers.
39386
8e211fec
UD
39387 [BZ #12777]
39388 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
39389 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
39390 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
39391
f7d82dc9
UD
39392 * configure.in: Fix typo in redirection and correct removal of test
39393 files in two cases.
39394
cc9e536d
UD
39395 [BZ #12788]
39396 * locale/setlocale.c (new_composite_name): Fix test to check for
39397 identical name of all categories.
39398
aec84f53
UD
39399 [BZ #12792]
39400 * libio/filedoalloc.c (local_isatty): New function.
39401 (_IO_file_doallocate): Use local_isatty.
39402 * stdio-common/perror.c (perror): In case a new stream is used
39403 forward the stream error.
39404 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
39405 error flag.
39406
78e64fdc
RT
394072011-05-20 Ulrich Drepper <drepper@gmail.com>
39408
34a9094f
UD
39409 [BZ #11869]
39410 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
39411 alloca.
39412 * include/alloca.h (extend_alloca_account): Define.
39413
78e64fdc
RT
39414 [BZ #11857]
39415 * posix/regex.h: Fix comments with documentation of user-accessible
39416 fields after compilation and describe correct free'ing of pattern
39417 after re_compile_pattern.
39418 Patch by Reuben Thomas <rrt@sc3d.org>.
39419
457bddfc
RA
394202011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
39421
39422 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
39423 and -mno-altivec to prevent the compiler from using Altivec and/or
39424 VSX instructions when the corresponding registers are not available.
39425
a4527b51
AS
394262011-05-19 Andreas Schwab <schwab@redhat.com>
39427
39428 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
39429
ed690b2f
UD
394302011-05-19 Ulrich Drepper <drepper@gmail.com>
39431
39432 * libio/freopen.c (freopen): Use __dup2, not dup2.
39433 * libio/freopen64.c (freopen64): Likewise.
39434
8db73634
L
394352011-05-17 H.J. Lu <hongjiu.lu@intel.com>
39436
39437 [BZ #12775]
39438 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
39439 * math/Makefile (tests): Add test-powl.
39440 (CFLAGS-test-powl.c): Define.
39441 * math/test-powl.c: New file.
39442
0a197a9d
L
394432011-05-16 H.J. Lu <hongjiu.lu@intel.com>
39444
39445 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
39446
ee30c380
UD
394472011-05-17 Ulrich Drepper <drepper@gmail.com>
39448
39449 [BZ #11837]
39450 * iconvdata/gb18030.c: Update to GB18020-2005.
39451
6ce75379
UD
394522011-05-16 Ulrich Drepper <drepper@gmail.com>
39453
a4b89fd8
AR
39454 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
39455 RE_SYNTAX_POSIX_AWK): Update to match recent development.
39456 Patch by Aharon Robbins <arnold@skeeve.com>.
39457
ea389b12
UD
39458 [BZ #11892]
39459 * stdlib/putenv.c (putenv): Don't always create copy of the variable
39460 on the stack.
39461
68a3f91f
UD
39462 [BZ #11895]
39463 * misc/pselect.c (__pselect): Handle timeout value errors hidden
39464 through underflows.
39465
15cc7dd1
UD
39466 [BZ #12766]
39467 * misc/error.c (error_at_line): Ensure file_name and old_file_name
39468 point to strings before performing equality test for error_one_per_line
39469 mode.
39470
f3799213
UD
39471 [BZ #11697]
39472 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
39473
d79a9c94
UD
39474 [BZ #11820]
39475 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39476 (struct user_fpregs_struct): Avoid __uint*_t types.
39477
56e5eb46
UD
39478 [BZ #6420]
39479 * malloc/mtrace.c (tr_where): Add additional parameter to point to
39480 symbol info. Use it instead of calling _dl_addr locally.
39481 (lock_and_info): New function.
39482 (tr_freehook): Call lock_and_info and pass symbol info as additional
39483 parameter to tr_where.
39484 (tr_mallochook): Likewise.
39485 (tr_reallochook): Likewise.
39486 (tr_memalignhook): Likewise.
39487
6ce75379
UD
39488 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
39489 used and couldn't be at all thread-safe.
39490
f8a3b5bf
UD
394912011-05-15 Ulrich Drepper <drepper@gmail.com>
39492
94b7cc37
UD
39493 * libio/freopen.c (freopen): Don't close old file descriptor
39494 before the new one is opened. Instead dup the new file descriptor
39495 to the old one after the new stream is created.
39496 * libio/freopen64.c (freopen64): Likewise.
39497 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
39498 * libio/fileops.c (_IO_new_file_close_it): Handle new
39499 _IO_FLAGS2_NOCLOSE flag.
39500 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
39501 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
39502 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
39503 _IO_FLAGS2_NOCLOSE flag.
39504 * include/unistd.h: Add hidden_proto for dup3.
39505 Define __have_dup3.
39506 * io/dup3.c: Define hidden symbol.
39507 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
39508
bd25564e
UD
39509 [BZ #7101]
39510 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
39511 when an incomplete long option is used.
39512 * posix/tst-getopt_long1.c: New file.
39513 * posix/Makefile (tests): Add tst-getopt_long1.
39514
c84cfef4
UD
39515 [BZ #10138]
39516 * scripts/config.guess: Update from autoconf-2.68.
39517 * scripts/config.sub: Likewise.
39518
3b85df27
UD
39519 [BZ #10157]
39520 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
39521 tests into ...
39522 (has_cpuclock): ...this. New function.
39523 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
39524 macro here based on has_cpuclock code.
39525
15a856b1
UD
39526 [BZ #10149]
39527 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39528 First byte (not low byte) is now always NUL.
39529 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
39530
05f399e6
UD
39531 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39532 Use non-cancelable interfaces.
39533
10a52685 39534 [BZ #9809]
94ecc67d
UD
39535 * locale/iso-639.def: Add entry for Sorani.
39536
f8a3b5bf
UD
39537 [BZ #11901]
39538 * include/stdlib.h: Move include protection to the right place.
39539 Define abort_msg_s. Declare __abort_msg with it.
39540 * stdlib/abort.c (__abort_msg): Adjust type.
39541 * assert/assert.c (__assert_fail_base): New function. Majority
39542 of code from __assert_fail. Allocate memory for __abort_msg with
39543 mmap.
39544 (__assert_fail): Now call __assert_fail_base.
39545 * assert/assert-perr.c: Remove bulk of implementation. Use
39546 __assert_fail_base.
39547 * include/assert.hL Declare __assert_fail_base.
39548 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
39549 mmap.
39550 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
39551
1af4e298
UD
395522011-05-14 Ulrich Drepper <drepper@gmail.com>
39553
f8a3b5bf 39554 [BZ #11952]
d26dfc60
MG
39555 [BZ #12453]
39556 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
39557 until all modules are registered in the DTV.
39558 * elf/Makefile: Add rules to build and run tst-tls19.
39559 * elf/tst-tls19.c: New file.
39560 * elf/tst-tls19mod1.c: New file.
39561 * elf/tst-tls19mod2.c: New file.
39562 * elf/tst-tls19mod3.c: New file.
39563 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
39564
2fc54d6f
UD
39565 [BZ #12083]
39566 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
39567 correctly.
39568
98d76b46
UD
39569 [BZ #12601]
39570 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
39571 two-byte sequence errors.
39572 * iconvdata/Makefile (tests): Add bug-iconv8.
39573 * iconvdata/bug-iconv8.c: New file.
39574
da3c19ef
UD
39575 [BZ #12626]
39576 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
39577 buf2 definition.
39578
ca408c15
UD
39579 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
39580
d6f67f7d
UD
39581 [BZ #12432]
39582 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
39583 (dummy_getcfa): New function.
39584 (init): Get _Unwind_GetCFA address, use dummy if not found.
39585 (backtrace_helper): In recursion check, also check whether CFA changes.
39586 (__backtrace): Completely initialize arg.
39587
1af4e298 39588 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
39589 storing incomplete byte sequence in state object. Avoid testing for
39590 guaranteed too small input if we know there is enough data available.
1af4e298 39591
da62f81b
AS
395922011-05-11 Andreas Schwab <schwab@redhat.com>
39593
39594 * Makeconfig (+link-pie): Indent.
39595 * Rules (binaries-pie): Define if $(have-fpie) and
39596 $(build-shared).
39597 (binaries-shared): Also filter out $(binaries-pie).
39598 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
39599 * nscd/Makefile (others-pie): Add nscd.
39600 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
39601 ($(objpfx)nscd): Remove command override.
39602 * login/Makefile (others-pie): Add pt_chown.
39603 ($(objpfx)pt_chown): Remove command override.
39604 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
39605 remove command overrides.
39606
fcabc0f8
UD
396072011-05-13 Ulrich Drepper <drepper@gmail.com>
39608
20030ae6
UD
39609 * libio/tst_putwc.c: Fix error messages.
39610
fcabc0f8
UD
39611 [BZ #12724]
39612 * libio/fileops.c (_IO_new_file_close_it): Always flush when
39613 currently writing and seek to current position when not.
39614 * libio/Makefile (tests): Add bug-fclose1.
39615 * libio/bug-fclose1.c: New file.
39616
320a5dc0
PB
396172011-05-12 Ulrich Drepper <drepper@gmail.com>
39618
39619 [BZ #12511]
39620 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
39621 don't set DF_1_NODELETE here.
39622 (do_lookup_x): When entering new entry test for copy relocation
39623 and if necessary set DF_1_NODELETE flag.
39624 * elf/tst-unique4.cc: New file.
39625 * elf/tst-unique4.h: New file.
39626 * elf/tst-unique4lib.cc: New file.
39627 * elf/Makefile: Add rules to build and run tst-unique4.
39628 Patch by Piotr Bury <pbury@goahead.com>.
39629
22836f52
UD
396302011-05-11 Ulrich Drepper <drepper@gmail.com>
39631
f574184a
UD
39632 [BZ #12052]
39633 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
39634
e1fb097f
UD
39635 [BZ #12625]
39636 * misc/mntent_r.c (addmntent): Flush the stream after the output
39637
22836f52
UD
39638 [BZ #12393]
39639 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
39640 (is_trusted_path_normalize): Skip initial colon. Append slash
39641 to empty buffer. Duplicate is_trusted_path code but allow
39642 constructed patch to be prefix.
39643 (is_dst): Allow $ORIGIN followed by /.
39644 (_dl_dst_substitute): Correct clearing of check_for_trusted.
39645 Correct testing of result of is_trusted_path_normalize
39646 (decompose_rpath): Fix warning.
39647
7b3b0b2a
UD
396482011-05-10 Ulrich Drepper <drepper@gmail.com>
39649
39650 [BZ #11257]
39651 * grp/initgroups.c (internal_getgrouplist): When we found the service
39652 list through the initgroups entry in nsswitch.conf do not always
39653 continue on a successful lookup. Don't always use the
eac80ce2 39654 __nss_group_database value if it is set.
7b3b0b2a
UD
39655 * nss/nsswitch.conf (initgroups): Change action for successful db
39656 lookup to continue for compatibility.
39657
2a81eaa5
UD
396582011-05-09 Ulrich Drepper <drepper@gmail.com>
39659
be97a69e
UD
39660 [BZ #11532]
39661 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
39662 and CP774 modules.
39663 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
39664 and CP774 modules.
39665 * iconvdata/tst-tables.sh: Likewise.
39666 * iconvdata/cp770.c: New file.
39667 * iconvdata/cp771.c: New file.
39668 * iconvdata/cp772.c: New file.
39669 * iconvdata/cp773.c: New file.
39670 * iconvdata/cp774.c: New file.
39671 * iconvdata/testdata/CP770: New file.
39672 * iconvdata/testdata/CP770..UTF8: New file.
39673 * iconvdata/testdata/CP771: New file.
39674 * iconvdata/testdata/CP771..UTF8: New file.
39675 * iconvdata/testdata/CP772: New file.
39676 * iconvdata/testdata/CP772..UTF8: New file.
39677 * iconvdata/testdata/CP773: New file.
39678 * iconvdata/testdata/CP773..UTF8: New file.
39679 * iconvdata/testdata/CP774: New file.
39680 * iconvdata/testdata/CP774..UTF8: New file.
39681
39682 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
39683 END CHARMAP line.
39684 * iconvdata/gen-8bit-gap.sh: Likewise.
39685 * iconvdata/gen-8bit.sh: Likewise.
39686
c1e9e399
UD
39687 * locale/iso-639.def: Add ary entry.
39688
24c55fb3 39689 [BZ #11258]
96b4b1b0
UD
39690 * locale/C-translit.h.in: Add U20A1 transliteration.
39691
bdc2f971
KB
39692 [BZ #12178]
39693 * locale/iso-639.def: Add wae entry.
39694 Patch by Kevin Bortis <bortis@translate-wae.ch>.
39695
2952b117
UD
39696 [BZ #12545]
39697 * locale/programs/localedef.c (construct_output_path): Use ssize_t
39698 for n.
39699
2a81eaa5
UD
39700 [BZ #12711]
39701 * locale/C-translit.h.in: Add entry for U20B9.
39702 Patch by pravin.d.s@gmail.com.
39703
28377d1b
UD
397042011-05-08 Ulrich Drepper <drepper@gmail.com>
39705
7fb90fb8
UD
39706 [BZ #12713]
39707 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
39708 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
39709 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
39710 in rtld. Use *stat64.
7fb90fb8 39711 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 39712 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 39713 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
39714 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
39715 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
39716 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
39717 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
39718 __fstatat64 macros.
7fb90fb8
UD
39719 * include/dirent.h: Add libc_hidden_proto for rewinddir.
39720 * dirent/rewinddir.c: Add libc_hidden_def.
39721 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 39722 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 39723
28377d1b
UD
39724 * include/dirent.h (__alloc_dir): Add flags parameter.
39725 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
39726 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
39727 __alloc_dir.
39728 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
39729 from fdopendir if O_CLOEXEC is already set.
39730
66bdbaa4
AM
397312011-03-15 Alan Modra <amodra@gmail.com>
39732
39733 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
39734 l_tls_firstbyte_offset non-zero. Save padding offset in
39735 l_tls_firstbyte_offset for later use.
39736 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
39737 freeing static tls block.
39738
95721191
JN
397392011-03-05 Jonathan Nieder <jrnieder@gmail.com>
39740
39741 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
39742 where #ifdef was intended. The intent is to prevent ARG_MAX from
39743 being defined by the kernel headers.
39744
f87dfb1f
UD
397452011-05-07 Ulrich Drepper <drepper@gmail.com>
39746
39747 [BZ #12734]
39748 * resolv/resolv.h: Define RES_NOTLDQUERY.
39749 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
39750 no-tld-query and set RES_NOTLDQUERY.
39751 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
39752 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
39753 modern BIND to search name as TLD unless forbidden.
39754
47c3cd7a
UD
397552011-05-07 Petr Baudis <pasky@suse.cz>
39756 Ulrich Drepper <drepper@gmail.com>
39757
39758 [BZ #12393]
39759 * elf/dl-load.c (fillin_rpath): Move trusted path check...
39760 (is_trusted_path): ...to here.
c1e9ea35 39761 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 39762 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 39763 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 39764
8a35c912
PP
397652011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39766
39767 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
39768 __BEGIN/__END_DECLS.
39769
acd41f47
UD
397702011-05-06 Ulrich Drepper <drepper@gmail.com>
39771
39772 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
39773 NSS_STATUS_NOTFOUND if no record was found.
39774
597df647
AS
397752011-05-05 Andreas Schwab <schwab@redhat.com>
39776
39777 * sunrpc/Makefile (headers): Add rpc/netdb.h.
39778 (headers-not-in-tirpc): Remove rpc/netdb.h
39779 * resolv/netdb.h: Revert last change.
39780
b9af1301
PP
397812011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39782
39783 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
39784 circular dependency between libgcc.a and libc.a.
39785
4e34d5f5
AS
397862011-05-05 Andreas Schwab <schwab@redhat.com>
39787
39788 * resolv/netdb.h: Don't include <rpc/netdb.h>.
39789 * nis/Makefile: Don't install rpcsvc/*.
39790 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
39791 instead of <rpc/types.h>.
39792 (MAXHOSTNAMELEN): Define.
39793
00ee369c
AS
397942011-05-03 Andreas Schwab <schwab@redhat.com>
39795
39796 * elf/ldconfig.c (add_dir): Don't crash on empty path.
39797
0b592a30
MB
397982011-04-28 Maciej Babinski <mbabinski@google.com>
39799
39800 [BZ #12714]
39801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
39802 gethostbyname4_r when IPv6 results are possible.
39803
6e04cbbe
UD
398042011-05-02 Ulrich Drepper <drepper@gmail.com>
39805
39806 [BZ #12723]
39807 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
39808 _PC_PIPE_BUF handling.
39809
e4ecafe0
BH
398102011-04-30 Bruno Haible <bruno@clisp.org>
39811
39812 [BZ #12717]
39813 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
39814 * resolv/netdb.h (getnameinfo): Change type of flags parameter
39815 to 'int'.
39816 * inet/getnameinfo.c (getnameinfo): Likewise.
39817
125ee683
UD
398182011-04-29 Ulrich Drepper <drepper@gmail.com>
39819
39820 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
39821 to groups setting in database lookup.
39822 * nss/nsswitch.conf: Add initgroups entry.
39823
b722481a
EB
398242011-04-22 Ulrich Drepper <drepper@gmail.com>
39825
39826 [BZ #12685]
39827 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
39828 mode string.
39829 Patch by Eric Blake <eblake@redhat.com>.
39830
4df46dbd
L
398312011-04-20 H.J. Lu <hongjiu.lu@intel.com>
39832
39833 * sunrpc/Makefile (need-export-routines): Add svc_run.
39834 (routines): Remove svc_run.
39835 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
39836 * sunrpc/clnt_perr.c (clnt_perrno): Export.
39837 * sunrpc/svc_run.c (svc_run): Likewise.
39838 * sunrpc/svc_udp.c (svcudp_create): Likewise.
39839
e84142d2
UD
398402011-04-21 Ulrich Drepper <drepper@gmail.com>
39841
39842 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
39843 problem in reallocation in last patch.
39844
877175d8
UD
398452011-04-20 Ulrich Drepper <drepper@gmail.com>
39846
39847 * sunrpc/Makefile: Move inclusion of Rules.
39848
ab8eed78
UD
398492011-04-19 Ulrich Drepper <drepper@gmail.com>
39850
39851 * nss/nss_files/files-initgroups.c: New file.
39852 * nss/Makefile (libnss_files-routines): Add files-initgroups.
39853 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
39854 _nss_files_initgroups_dyn.
39855
e3d8f584
RS
398562011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
39857
39858 * elf/elf.h (R_ARM_IRELATIVE): Define.
39859
af190f45
UD
398602011-04-19 Ulrich Drepper <drepper@gmail.com>
39861
39862 * po/ru.po: Update from translation team.
39863
53cf59ef
UD
398642011-04-17 Ulrich Drepper <drepper@gmail.com>
39865
39866 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
39867 dependencies.
39868
4c559bcd
MF
398692011-02-06 Mike Frysinger <vapier@gentoo.org>
39870
39871 [BZ #12653]
39872 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
39873 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
39874 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39875 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39876 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39877
4420675c
AS
398782011-03-28 Andreas Schwab <schwab@linux-m68k.org>
39879
39880 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
39881 differing bytes.
39882 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39883 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39884 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39885
75ea32ab
UD
398862011-04-17 Ulrich Drepper <drepper@gmail.com>
39887
39888 [BZ #12420]
39889 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
39890 storing it.
39891 * stdlib/bug-getcontext.c: New file.
39892 * stdlib/Makefile: Add rules to build and run bug-getcontext.
39893
27390476
AK
398942011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39895
39896 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
39897 instructions into .machine "z9-109".
39898 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
39899 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
39900
10442705
AK
399012011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39902
39903 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
39904 between environment variables and auxiliary vector.
39905
7b57bfe5
UD
399062011-04-16 Ulrich Drepper <drepper@gmail.com>
39907
39908 * Makefile: Add rules to build linkobj/libc.so.
39909 * include/libc-symbols.h: Define libc_hidden_nolink.
39910 * include/rpc/auth.h: Mark functions which are to be hidden.
39911 * include/rpc/auth_des.h: Likewise.
39912 * include/rpc/auth_unix.h: Likewise.
39913 * include/rpc/clnt.h: Likewise.
39914 * include/rpc/des_crypt.h: Likewise.
39915 * include/rpc/key_prot.h: Likewise.
39916 * include/rpc/pmap_clnt.h: Likewise.
39917 * include/rpc/pmap_prot.h: Likewise.
39918 * include/rpc/pmap_rmt.h: Likewise.
39919 * include/rpc/rpc_msg.h: Likewise.
39920 * include/rpc/svc.h: Likewise.
39921 * include/rpc/svc_auth.h: Likewise.
39922 * include/rpc/xdr.h: Likewise.
39923 * nis/Makefile: Link all DSOs against linkobj/libc.so.
39924 * nss/Makefile: Likewise.
39925 * sunrpc/Makefile: Don't install headers. Build library with normal
39926 entry points. Don't build rpcinfo. Link RPC tests appropriately.
39927 * sunrpc/auth_des.c: Hide exported symbols by default, export some
39928 for the compat linking library. Remove use of INTDEF/INTUSE.
39929 * sunrpc/auth_none.c: Likewise.
39930 * sunrpc/auth_unix.c: Likewise.
39931 * sunrpc/authdes_prot.c: Likewise.
39932 * sunrpc/authuxprot.c: Likewise.
39933 * sunrpc/clnt_gen.c: Likewise.
39934 * sunrpc/clnt_perr.c: Likewise.
39935 * sunrpc/clnt_raw.c: Likewise.
39936 * sunrpc/clnt_simp.c: Likewise.
39937 * sunrpc/clnt_tcp.c: Likewise.
39938 * sunrpc/clnt_udp.c: Likewise.
39939 * sunrpc/clnt_unix.c: Likewise.
39940 * sunrpc/des_crypt.c: Likewise.
39941 * sunrpc/des_soft.c: Likewise.
39942 * sunrpc/get_myaddr.c: Likewise.
39943 * sunrpc/key_call.c: Likewise.
39944 * sunrpc/key_prot.c: Likewise.
39945 * sunrpc/netname.c: Likewise.
39946 * sunrpc/pm_getmaps.c: Likewise.
39947 * sunrpc/pm_getport.c: Likewise.
39948 * sunrpc/pmap_clnt.c: Likewise.
39949 * sunrpc/pmap_prot.c: Likewise.
39950 * sunrpc/pmap_prot2.c: Likewise.
39951 * sunrpc/pmap_rmt.c: Likewise.
39952 * sunrpc/publickey.c: Likewise.
39953 * sunrpc/rpc_cmsg.c: Likewise.
39954 * sunrpc/rpc_common.c: Likewise.
39955 * sunrpc/rpc_dtable.c: Likewise.
39956 * sunrpc/rpc_prot.c: Likewise.
39957 * sunrpc/rpc_thread.c: Likewise.
39958 * sunrpc/rtime.c: Likewise.
39959 * sunrpc/svc.c: Likewise.
39960 * sunrpc/svc_auth.c: Likewise.
39961 * sunrpc/svc_authux.c: Likewise.
39962 * sunrpc/svc_raw.c: Likewise.
39963 * sunrpc/svc_run.c: Likewise.
39964 * sunrpc/svc_simple.c: Likewise.
39965 * sunrpc/svc_tcp.c: Likewise.
39966 * sunrpc/svc_udp.c: Likewise.
39967 * sunrpc/svc_unix.c: Likewise.
39968 * sunrpc/svcauth_des.c: Likewise.
39969 * sunrpc/xcrypt.c: Likewise.
39970 * sunrpc/xdr.c: Likewise.
39971 * sunrpc/xdr_array.c: Likewise.
39972 * sunrpc/xdr_float.c: Likewise.
39973 * sunrpc/xdr_intXX_t.c: Likewise.
39974 * sunrpc/xdr_mem.c: Likewise.
39975 * sunrpc/xdr_rec.c: Likewise.
39976 * sunrpc/xdr_ref.c: Likewise.
39977 * sunrpc/xdr_sizeof.c: Likewise.
39978 * sunrpc/xdr_stdio.c: Likewise.
39979
e6c61494
UD
399802011-04-10 Ulrich Drepper <drepper@gmail.com>
39981
39982 [BZ #12650]
39983 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
39984 * sysdeps/ia64/dl-tls.h: Likewise.
39985 * sysdeps/powerpc/dl-tls.h: Likewise.
39986 * sysdeps/s390/dl-tls.h: Likewise.
39987 * sysdeps/sh/dl-tls.h: Likewise.
39988 * sysdeps/sparc/dl-tls.h: Likewise.
39989 * sysdeps/x86_64/dl-tls.h: Likewise.
39990 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
39991
34fe483e
AS
399922011-03-14 Andreas Schwab <schwab@redhat.com>
39993
39994 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
39995 rpath element also skip the following colon.
39996 (expand_dynamic_string_token): Add is_path parameter and pass
39997 down to DL_DST_REQUIRED and _dl_dst_substitute.
39998 (decompose_rpath): Call expand_dynamic_string_token with
39999 non-zero is_path. Ignore empty rpaths.
40000 (_dl_map_object_from_fd): Call expand_dynamic_string_token
40001 with zero is_path.
40002
f12a32e6
AS
400032011-04-08 Andreas Schwab <schwab@linux-m68k.org>
40004
40005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40006 Make cancelable.
40007
38a7d692
UD
400082011-04-09 Ulrich Drepper <drepper@gmail.com>
40009
40010 [BZ #12655]
40011 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40012 Patch by Filipe David Manana <fdmanana@apache.org>.
40013
e451d22b
AS
400142011-04-07 Andreas Schwab <schwab@redhat.com>
40015
40016 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40017 Maintain aligned stack.
40018 (CHECK_RSP): Remove unused macro.
40019
dedc7c7b
UD
400202011-04-03 Ulrich Drepper <drepper@gmail.com>
40021
40022 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40023 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40024
94521213
UD
400252011-04-02 Ulrich Drepper <drepper@gmail.com>
40026
40027 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40028
8cb700c0 40029 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 40030
0354e355
L
400312011-03-26 H.J. Lu <hongjiu.lu@intel.com>
40032
40033 [BZ #12518]
40034 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40035 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40036 * sysdeps/x86_64/memmove.c: New file.
40037 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40038 (memcpy): Renamed to ...
40039 (__new_memcpy): This.
40040 (memcpy): Provide GLIBC_2_14 memcpy.
40041 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40042 (memcpy): Provide GLIBC_2_2_5 memcpy.
40043
8593482f
UD
400442011-04-01 Ulrich Drepper <drepper@gmail.com>
40045
40046 [BZ #12631]
40047 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40048
81a5726b
AS
400492011-03-30 Andreas Schwab <schwab@redhat.com>
40050
40051 * misc/syncfs.c: New file.
40052 * misc/Makefile (routines): Add syncfs.
40053 * posix/unistd.h: Declare syncfs.
40054 * sysdeps/unix/syscalls.list: Add syncfs.
40055
00e5419f
AS
400562011-04-01 Andreas Schwab <schwab@redhat.com>
40057
40058 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40059 open_by_handle_at.
40060 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40061 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40062 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40063 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40064 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40065 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40066 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40067
748876bf
UD
400682011-04-01 Ulrich Drepper <drepper@gmail.com>
40069
658e451d
UD
40070 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40071 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40072 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40073 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40074 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40075 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40076 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40077
748876bf
UD
40078 * io/Makefile: Compile fallocate.c, fallocate64.c, and
40079 sync_file_range.c with -fexceptions.
40080 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40081 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40082 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40083 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40084 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40085 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40086 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
40087 sync_file_range as cancellation point
40088 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
40089 now a wrapper around __call_sync_file_range with cancellation handling.
40090 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40091 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
40092 function name to __call_sync_file_range.
40093 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40094 Add call_sync_file_range.
748876bf 40095
6e63d5e1
AS
400962011-04-01 Andreas Schwab <schwab@redhat.com>
40097
40098 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 40099 bits/timex.h.
6e63d5e1 40100
46998f74
UD
401012011-04-01 Ulrich Drepper <drepper@gmail.com>
40102
4c1423ed
UD
40103 * iconv/iconv.h: Fix typo in comment.
40104 * io/fcntl.h: Likewise.
40105 * libio/stdio.h: Likewise.
40106 * posix/spawn.h: Likewise.
40107 * posix/unistd.h: Likewise.
40108 * stdlib/stdlib.h: Likewise.
40109 * time/time.h: Likewise.
40110 * wcsmbs/wchar.h: Likewise.
40111
158648c0
UD
40112 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40113 open_by_handle): Add.
40114 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40115 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
40116 Augment a few comments.
40117 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40118 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40119 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40120 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40121 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40122 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40123 open_by_handle.
40124
46998f74
UD
40125 * io/fcntl.h (AT_EMPTY_PATH): Define.
40126
83fe108b
UD
401272011-03-30 Ulrich Drepper <drepper@gmail.com>
40128
40129 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40130 * sysdeps/unix/sysv/linux/bits/time.h: New file.
40131 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40132 to...
40133 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
40134 * Versions.def: Add GLIBC_2.14.
40135 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40136 Export.
83fe108b 40137
bb242059
UD
401382011-03-22 Ulrich Drepper <drepper@gmail.com>
40139
40140 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40141 round counter.
40142 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40143
c97a1282
L
401442011-03-20 H.J. Lu <hongjiu.lu@intel.com>
40145
40146 [BZ #12597]
40147 * string/test-strncmp.c (do_page_test): New function.
40148 (check2): Likewise.
40149 (test_main): Call check2.
40150 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40151
2a115601
UD
401522011-03-20 Ulrich Drepper <drepper@gmail.com>
40153
40154 [BZ #12587]
40155 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40156 Handle cache information in CPU leaf 4.
40157 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40158
8126d904
UD
401592011-03-18 Ulrich Drepper <drepper@gmail.com>
40160
042c49c6 40161 [BZ #12583]
8126d904
UD
40162 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40163 character representation.
40164 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40165
ccfe366e
RA
401662011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
40167
40168 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40169 END(__isnan) to END(__isnanf) to match function entry point/label
40170 EALIGN(__isnanf,...).
40171
c6e13027
JJ
401722011-03-10 Jakub Jelinek <jakub@redhat.com>
40173
40174 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40175
33f85a3f
UD
401762011-03-10 Ulrich Drepper <drepper@gmail.com>
40177
028478fa
UD
40178 [BZ #12510]
40179 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40180 copy from the symbol referenced in the relocation to initialize the
40181 used variable.
40182 Patch by Piotr Bury <pbury@goahead.com>.
40183 * elf/Makefile: Add rules to build and tst-unique3.
40184 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40185 * elf/tst-unique3.cc: New file.
40186 * elf/tst-unique3.h: New file.
40187 * elf/tst-unique3lib.cc: New file.
40188 * elf/tst-unique3lib2.cc: New file.
40189
33f85a3f
UD
40190 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40191
03592fc7
MF
401922011-03-10 Mike Frysinger <vapier@gentoo.org>
40193
40194 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40195 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
40196 to _start.
03592fc7 40197
6a5ee102
UD
401982011-03-06 Ulrich Drepper <drepper@gmail.com>
40199
40200 * elf/dl-load.c (_dl_map_object): If we are looking for the first
40201 to-be-loaded object along a path to loader is ld.so.
40202
7e4ba49c
HJ
402032011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40204 Ulrich Drepper <drepper@gmail.com>
40205
40206 * sysdeps/x86_64/memset.S: After aligning destination, code
40207 branches to different locations depending on the value of
40208 misalignment, when multiarch is enabled. Fix this.
40209
402102011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40211
40212 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40213 Set _x86_64_preferred_memory_instruction for AMD processsors.
40214 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40215 Set bit_Prefer_SSE_for_memop for AMD processors.
40216
13a804de
UD
402172011-03-04 Ulrich Drepper <drepper@gmail.com>
40218
40219 * libio/fmemopen.c (fmemopen): Optimize a bit.
40220
9d25c392
AS
402212011-03-03 Andreas Schwab <schwab@redhat.com>
40222
40223 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40224
a5543c6a
RM
402252011-03-03 Roland McGrath <roland@redhat.com>
40226
40227 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40228
012d35f7
DM
402292011-02-28 Aurelien Jarno <aurelien@aurel32.net>
40230
7e4ba49c 40231 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
40232 __bzero_ultra1 instead of __memset_ultra1.
40233
4bff6e01
AS
402342011-02-23 Andreas Schwab <schwab@redhat.com>
40235 Ulrich Drepper <drepper@gmail.com>
40236
40237 [BZ #12509]
40238 * include/link.h (struct link_map): Add l_orig_initfini.
40239 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40240 returning unsuccessfully.
40241 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40242 close of a file loaded at startup, restore the original l_initfini
40243 list.
40244 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40245 list, store the pointer.
40246 * elf/Makefile ($(objpfx)noload-mem): New rule.
40247 (noload-ENV): Define.
40248 (tests): Add $(objpfx)noload-mem.
40249 * elf/noload.c: Include <memcheck.h>.
40250 (main): Call mtrace. Close all opened handles.
40251
f2092faf
AS
402522011-02-17 Andreas Schwab <schwab@redhat.com>
40253
40254 [BZ #12454]
40255 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40256 dependencies are missing.
40257
6c8a2e88
ST
402582011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
40259
f2092faf 40260 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
40261 Hurd needs munmap.
40262 * sysdeps/mach/hurd/ifreq.h: New file.
40263
84a42118
PB
402642011-01-27 Petr Baudis <pasky@suse.cz>
40265 Ulrich Drepper <drepper@gmail.com>
40266
071f805e 40267 [BZ 12445]#
84a42118
PB
40268 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40269 to extend_alloca().
40270 * stdio-common/bug23.c: New file.
40271 * stdio-common/Makefile (tests): Add bug23.
40272
e23fe25b
AS
402732010-09-28 Andreas Schwab <schwab@redhat.com>
40274 Ulrich Drepper <drepper@gmail.com>
40275
40276 [BZ #12489]
40277 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40278 before performing relro protection. At old place add assertion
40279 to make sure nothing changed.
40280
d3f02e10
NS
402812011-02-17 Nathan Sidwell <nathan@codesourcery.com>
40282 Glauber de Oliveira Costa <glommer@gmail.com>
40283
40284 * elf/elf.h: Add new ARM TLS relocs.
40285
d55fd7a5
RA
402862011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
40287
40288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40289 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40290 cast from r3.
40291 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
40292 'tests' variable.
40293 * sysdeps/wordsize-64/tst-writev.c: New file.
40294
2206397e
RA
402952011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
40296
40297 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40298 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40299 insns in _dl_start to prevent a TOC reference before relocs are
40300 resolved.
40301
e9433893
UD
403022011-02-15 Ulrich Drepper <drepper@gmail.com>
40303
40304 [BZ #12469]
40305 * Makeconfig: Remove RANLIB definition.
40306 * Makerules: Don't use RANLIB.
40307 * aclocal.m4: Remove ranlib test.
40308 * configure.in: No need to check for ranlib.
40309 * elf/rtld-Rules: Don't use RANLIB.
40310
f75286c6
ST
403112011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
40312
8e31c82d
ST
40313 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
40314 protection macro.
40315 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
40316 inclusion protection macro.
40317
f75286c6
ST
40318 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
40319 SIGRTMIN and SIGRTMAX and print information in that case only when
40320 SIGRTMIN is defined.
40321
c1d0e639
JJ
403222011-02-11 Jakub Jelinek <jakub@redhat.com>
40323
40324 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
40325 arginfo fn returning -1.
40326
40327 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
40328 and thousands string is zero terminated.
40329
edf9294e
AS
403302011-02-03 Andreas Schwab <schwab@redhat.com>
40331
40332 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
40333 sysdeps/unix/sysv/linux/bits/socket.h.
40334
2b7e92df
ST
403352011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
40336
edf9294e
AS
40337 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
40338 (__CPU_COUNT): Remove old macros.
40339 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
40340 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
40341 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
40342 (__sched_cpualloc, __sched_cpufree): Add declarations.
40343
a4c7ea7b
UD
403442011-02-05 Ulrich Drepper <drepper@gmail.com>
40345
40346 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
40347 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
40348 * nscd/aicache.c (addhstaiX): Return timeout of added value.
40349 (readdhstai): Return value of addhstaiX call.
40350 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
40351 (addgrbyX): Return value returned by cache_addgr.
40352 (readdgrbyname): Return value returned by addgrbyX.
40353 (readdgrbygid): Likewise.
40354 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
40355 (addpwbyX): Return value returned by cache_addpw.
40356 (readdpwbyname): Return value returned by addhstbyX.
40357 (readdpwbyuid): Likewise.
40358 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
40359 (addservbyX): Return value returned by cache_addserv.
40360 (readdservbyname): Return value returned by addservbyX:
40361 (readdservbyport): Likewise.
40362 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
40363 (addhstbyX): Return value returned by cache_addhst.
40364 (readdhstbyname): Return value returned by addhstbyX.
40365 (readdhstbyaddr): Likewise.
40366 (readdhstbynamev6): Likewise.
40367 (readdhstbyaddrv6): Likewise.
40368 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
40369 (readdinitgroups): Return value returned by addinitgroupsX.
40370 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
40371 (prune_cache): Keep track of timeout value of re-added entries.
40372 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
40373 * nscd/nscd.h: Adjust prototypes of readd* functions.
40374
a0bf67cc
RM
403752011-02-04 Roland McGrath <roland@redhat.com>
40376
40377 * nis/nis_server.c (nis_servstate): Use the right name for 0.
40378 (nis_stats): Likewise.
40379 * nis/nis_modify.c (nis_modify): Likewise.
40380 * nis/nis_remove.c (nis_remove): Likewise.
40381 * nis/nis_add.c (nis_add): Likewise.
40382
40383 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
40384
40385 * posix/fnmatch_loop.c: Add some consts.
40386
40387 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
40388
435b95eb
L
403892011-02-02 H.J. Lu <hongjiu.lu@intel.com>
40390
40391 [BZ #12460]
40392 * config.make.in (config-cflags-novzeroupper): Define.
40393 * configure.in: Substitute libc_cv_cc_novzeroupper.
40394 * elf/Makefile (AVX-CFLAGS): Define.
40395 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
40396 (CFLAGS-tst-auditmod4a.c): Likewise.
40397 (CFLAGS-tst-auditmod4b.c): Likewise.
40398 (CFLAGS-tst-auditmod6b.c): Likewise.
40399 (CFLAGS-tst-auditmod6c.c): Likewise.
40400 (CFLAGS-tst-auditmod7b.c): Likewise.
40401 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
40402
8517b15e
UD
404032011-02-02 Ulrich Drepper <drepper@gmail.com>
40404
40405 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
40406 function to the callback.
40407 Patch partly by Jiri Olsa <jolsa@redhat.com>.
40408
10a656fe
AS
404092011-02-02 Andreas Schwab <schwab@redhat.com>
40410
40411 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
40412 of errno.
40413
968dad0a
UD
404142011-01-19 Ulrich Drepper <drepper@gmail.com>
40415
9f94d2ea 40416 [BZ #11724]
968dad0a
UD
40417 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
40418 of constructors.
40419 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
40420 of destructors.
40421 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
40422
40423 [BZ #11724]
40424 * elf/Makefile: Add rules to build and run new test.
40425 * elf/tst-initorder.c: New file.
40426 * elf/tst-initorder.exp: New file.
40427 * elf/tst-initordera1.c: New file.
40428 * elf/tst-initordera2.c: New file.
40429 * elf/tst-initordera3.c: New file.
40430 * elf/tst-initordera4.c: New file.
40431 * elf/tst-initorderb1.c: New file.
40432 * elf/tst-initorderb2.c: New file.
40433 * elf/tst-order-a1.c: New file.
40434 * elf/tst-order-a2.c: New file.
40435 * elf/tst-order-a3.c: New file.
40436 * elf/tst-order-a4.c: New file.
40437 * elf/tst-order-b1.c: New file.
40438 * elf/tst-order-b2.c: New file.
40439 * elf/tst-order-main.c: New file.
40440 New test case by George Gensure <werkt0@gmail.com>.
40441
86e92359
UD
404422010-10-01 Andreas Schwab <schwab@redhat.com>
40443
40444 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40445 decoding ACE if AI_CANONIDN.
40446
5d5732b0
UD
404472011-01-18 Ulrich Drepper <drepper@gmail.com>
40448
40449 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
40450
a77e8cbc
UD
404512011-01-17 Ulrich Drepper <drepper@gmail.com>
40452
6392473f
UD
40453 * version.h (RELEASE): Bump for 2.13 release.
40454 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
40455
620a0529
UD
40456 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
40457
18ba70a5
UD
40458 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
40459 MADV_NOHUGEPAGE.
32465c3e
UD
40460 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
40461 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
40462 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40463 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40464 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40465 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40466
c0dafcf1
UD
40467 * posix/getconf.c: Update copyright year.
40468 * catgets/gencat.c: Likewise.
40469 * csu/version.c: Likewise.
40470 * debug/catchsegv.sh: Likewise.
40471 * debug/xtrace.sh: Likewise.
40472 * elf/ldconfig.c: Likewise.
40473 * elf/ldd.bash.in: Likewise.
40474 * elf/sprof.c (print_version): Likewise.
40475 * iconv/iconv_prog.c: Likewise.
40476 * iconv/iconvconfig.c: Likewise.
40477 * locale/programs/locale.c: Likewise.
40478 * locale/programs/localedef.c: Likewise.
40479 * malloc/memusage.sh: Likewise.
40480 * malloc/mtrace.pl: Likewise.
40481 * nscd/nscd.c (print_version): Likewise.
40482 * nss/getent.c: Likewise.
40483
a77e8cbc
UD
40484 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
40485 PF_CAIF, and PF_ALG.
40486 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40487
77e8bddf
AS
404882011-01-16 Andreas Schwab <schwab@linux-m68k.org>
40489
1f20b93a
AS
40490 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
40491 (modules-names): Use them.
40492 (ifunc-test-modules, ifunc-pie-tests): Define.
40493 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
40494 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
40495 (test-extras): Likewise.
40496 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
40497 $(compile-command.c).
40498 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
40499 (all-built-dso): Define.
40500 (check-textrel.out, check-execstack.out): Depend on it.
40501
77e8bddf
AS
40502 * configure.in: Don't override --enable-multi-arch.
40503
bc425b33
UD
405042011-01-15 Ulrich Drepper <drepper@gmail.com>
40505
40506 [BZ #6812]
40507 * nscd/hstcache.c (tryagain): Define.
40508 (cache_addhst): Return tryagain not notfound for temporary errors.
40509 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
40510 failed.
40511
794c3ad3
UD
405122011-01-14 Ulrich Drepper <drepper@gmail.com>
40513
70181fdd
UD
40514 [BZ #10563]
40515 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
40516 to make the syscall.
40517 * sysdeps/unix/sysv/linux/setgroups.c: New file.
40518
794c3ad3
UD
40519 [BZ #12378]
40520 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
40521 and fall back to matching as normal character if the string ends before
40522 the matching ']' is found. This is what POSIX requires.
40523 * posix/testfnm.c: Adjust test result.
40524 * posix/globtest.sh: Adjust test result. Add new test.
40525 * posix/tst-fnmatch.input: Likewise.
40526 * posix/tst-fnmatch2.c: Add new test.
40527
68dc9497
AS
405282010-12-28 Andreas Schwab <schwab@linux-m68k.org>
40529
40530 * elf/Makefile (check-execstack): Revert last change. Depend on
40531 check-execstack.h.
40532 (check-execstack.h): New target.
40533 (generated): Add check-execstack.h.
40534 * elf/check-execstack.c: Include "check-execstack.h".
40535 (main): Revert last change.
40536 (handle_file): Return zero if GNU_STACK is absent and
40537 DEFAULT_STACK_PERMS doesn't include PF_X.
40538
451f001b
UD
405392011-01-13 Ulrich Drepper <drepper@gmail.com>
40540
cfa28e56
UD
40541 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
40542 in child fails because the descriptor is already closed.
8cf8ce17
UD
40543 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
40544 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
40545 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 40546
1086d70d
UD
40547 [BZ #12397]
40548 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
40549 syscall.
40550
451f001b
UD
40551 [BZ #10484]
40552 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
40553 temporary buffer used to handle multi lookups locally.
a85b5cb4 40554 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 40555
08769175
UD
405562011-01-12 Ulrich Drepper <drepper@gmail.com>
40557
40558 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
40559 loader is ld.so.
40560
5e49c52e
UD
405612011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
40562
40563 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
40564 alignment for SSE2.
40565
60522a5f
UD
405662011-01-12 Ulrich Drepper <drepper@gmail.com>
40567
40568 [BZ #12394]
40569 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
40570 characters. When rounding increased number of integer digits recompute
40571 number of groups.
40572 * stdio-common/tst-grouping.c: New file.
40573 * stdio-common/Makefile: Add rules to build and run tst-grouping.
40574
f257bbd7
UD
405752011-01-09 Ulrich Drepper <drepper@gmail.com>
40576
40577 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
40578 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
40579
40580 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
40581 void.
40582 * bits/select.h: Likewise.
40583
fa9c15cb
UD
405842011-01-08 Ulrich Drepper <drepper@gmail.com>
40585
40586 * po/ja.po: Update from translation team.
40587
16c2895f
DM
405882011-01-04 David S. Miller <davem@sunset.davemloft.net>
40589
40590 [BZ #11155]
40591 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
40592 implementation just like for lxstat, fxstatat, et al.
40593
2543fef2
JM
405942010-12-27 Jim Meyering <meyering@redhat.com>
40595
40596 [BZ #12348]
40597 * posix/regexec.c (build_trtable): Return failure indication upon
40598 calloc failure. Otherwise, re_search_internal could infloop on OOM.
40599
98727dbe
UD
406002010-12-25 Ulrich Drepper <drepper@gmail.com>
40601
5bd6dc5c
UD
40602 [BZ #12201]
40603 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
40604 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
40605 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
40606 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
40607
97983464
UD
40608 [BZ #12207]
40609 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
40610
98727dbe
UD
40611 [BZ #12204]
40612 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
40613 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
40614
4a531bb0
L
406152010-12-15 H.J. Lu <hongjiu.lu@intel.com>
40616
40617 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
40618 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
40619 script has SORT_BY_INIT_PRIORITY.
40620 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
40621 NO_CTORS_DTORS_SECTIONS is defined.
40622 * elf/soinit.c: Likewise.
40623 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
40624 NO_CTORS_DTORS_SECTIONS is defined.
40625 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
40626 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
40627 * sysdeps/sh/init-first.c: Likewise.
40628 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
40629
07eb4b71
UD
406302010-12-24 Ulrich Drepper <drepper@gmail.com>
40631
40632 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
40633 always use the slow path.
40634
30950a5f
RA
406352010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
40636
40637 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
40638 similar rule which adds the sysdep directories to the header search in
40639 order to pick up the correct platform stackinfo.h.
40640 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
40641 perform test if it is, otherwise return successfully without testing.
40642 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
40643 DEFAULT_STACK_PERMS define in stackinfo.h.
40644 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
40645 defined in stackinfo.h.
40646 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
40647 DEFAULT_STACK_PERMS defined in stackinfo.h.
40648 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
40649 * sysdeps/ia64/stackinfo.h: Likewise.
40650 * sysdeps/s390/stackinfo.h: Likewise.
40651 * sysdeps/sh/stackinfo.h: Likewise.
40652 * sysdeps/sparc/stackinfo.h: Likewise.
40653 * sysdeps/x86_64/stackinfo.h: Likewise.
40654 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
40655 PF_X for powerpc64. Retain PF_X for powerpc32.
40656
db753e2c
UD
406572010-12-19 Ulrich Drepper <drepper@gmail.com>
40658
14b697f7
UD
40659 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
40660 accurately.
db753e2c
UD
40661 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
40662 GETDENTS_64BIT_ALIGNED.
40663
28300719
UD
406642010-12-14 Ulrich Drepper <dreper@gmail.com>
40665
14b697f7 40666 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 40667
4f197237
AS
406682010-12-10 Andreas Schwab <schwab@redhat.com>
40669
dbb0472f
AS
40670 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
40671 _GNU_SOURCE.
40672
4f197237
AS
40673 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
40674 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
40675 Remove __restrict.
40676 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
40677 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
40678
fb88ac72
UD
406792010-12-09 Ulrich Drepper <drepper@gmail.com>
40680
40681 [BZ #11655]
40682 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
40683 are initialized.
40684
42acbb92
JJ
406852010-12-09 Jakub Jelinek <jakub@redhat.com>
40686
40687 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
40688
c038d98d
UD
406892010-12-03 Ulrich Drepper <drepper@gmail.com>
40690
40691 * po/it.po: Update from translation team.
40692
3a4a2499
L
406932010-12-01 H.J. Lu <hongjiu.lu@intel.com>
40694
40695 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
40696 unused codes.
40697
1e24cf6e
UD
406982010-11-30 Ulrich Drepper <drepper@gmail.com>
40699
40700 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
40701
a7690819
AS
407022010-11-24 Andreas Schwab <schwab@redhat.com>
40703
40704 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
40705 specially.
40706 (gaih_getanswer_slice): Likewise.
40707
3bf8d1b1
JJ
407082010-10-20 Jakub Jelinek <jakub@redhat.com>
40709
40710 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
40711
6db52fbb
PB
407122010-05-31 Petr Baudis <pasky@suse.cz>
40713
40714 [BZ #11149]
40715 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
40716 silently even in the chroot mode.
40717
eaca7569
UD
407182010-11-22 Ulrich Drepper <drepper@gmail.com>
40719
40720 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
40721 last patch a bit. Pretty printing
40722
3056dcdb
UD
407232010-05-31 Petr Baudis <pasky@suse.cz>
40724
40725 [BZ #10085]
40726 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
40727 initialization of skip_initgroups_dyn.
40728
cf7c9078
UD
407292010-11-19 Ulrich Drepper <drepper@gmail.com>
40730
40731 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
40732 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40733
a1fb5e3e
UD
407342010-11-16 Ulrich Drepper <drepper@gmail.com>
40735
40736 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
40737
3540d66b
AS
407382010-11-11 Andreas Schwab <schwab@redhat.com>
40739
40740 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
40741 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
40742 (tst-fnmatch-ENV): Set MALLOC_TRACE.
40743 ($(objpfx)tst-fnmatch-mem): New rule.
40744 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
40745 * posix/tst-fnmatch.c (main): Call mtrace.
40746
13b69574
L
407472010-11-11 H.J. Lu <hongjiu.lu@intel.com>
40748
40749 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40750 Support Intel processor model 6 and model 0x2c.
40751
da93d214
LM
407522010-11-10 Luis Machado <luisgpm@br.ibm.com>
40753
40754 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
40755 signed comparison.
40756
8ca52c6e
L
407572010-11-09 H.J. Lu <hongjiu.lu@intel.com>
40758
40759 [BZ #12205]
40760 * string/test-strncasecmp.c (check_result): New function.
40761 (do_one_test): Use it.
40762 (check1): New function.
40763 (test_main): Use it.
40764 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
40765 Support strcasecmp and strncasecmp.
40766
69da074d
UD
407672010-11-08 Ulrich Drepper <drepper@gmail.com>
40768
40769 [BZ #12194]
40770 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
40771 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40772
ff02d528
L
407732010-11-07 H.J. Lu <hongjiu.lu@intel.com>
40774
40775 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
40776 IFUNC support.
40777 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40778 memset-x86-64.
40779 * sysdeps/x86_64/multiarch/bzero.S: New file.
40780 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
40781 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
40782 * sysdeps/x86_64/multiarch/memset.S: New file.
40783 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
40784 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40785 Set bit_Prefer_SSE_for_memop for Intel processors.
40786 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
40787 Define.
40788 (index_Prefer_SSE_for_memop): Define.
40789 (HAS_PREFER_SSE_FOR_MEMOP): Define.
40790
344d0b54
LM
407912010-11-04 Luis Machado <luisgpm@br.ibm.com>
40792
40793 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
40794 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
40795
c0dde15b
UD
407962010-11-03 H.J. Lu <hongjiu.lu@intel.com>
40797
40798 [BZ #12191]
40799 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40800 (__x86_64_raw_data_cache_size_half): Likewise.
40801 (__x86_64_raw_shared_cache_size): Likewise.
40802 (__x86_64_raw_shared_cache_size_half): Likewise.
40803
40804 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40805 (__x86_64_raw_data_cache_size_half): Likewise.
40806 (__x86_64_raw_shared_cache_size): Likewise.
40807 (__x86_64_raw_shared_cache_size_half): Likewise.
40808 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
40809 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
40810 and __x86_64_raw_shared_cache_size_half. Round
40811 __x86_64_data_cache_size_half, __x86_64_data_cache_size
40812 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
40813 to multiple of 256 bytes.
40814
0e516e0e
MS
408152010-11-03 Ulrich Drepper <drepper@gmail.com>
40816
40817 [BZ #12167]
40818 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
40819 of inacessible symlinks. Verify result of symlink before returning it.
40820 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
40821 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
40822
0e012e87
ER
408232010-10-28 Erich Ritz <erichritz@gmail.com>
40824
40825 * math/math.h (isinf): Fix typo in comment.
40826
de0ff7bc
UD
408272010-11-01 Ulrich Drepper <drepper@gmail.com>
40828
40829 * po/da.po: Update from translation team.
40830
fa41c84d
UD
408312010-10-26 Ulrich Drepper <drepper@gmail.com>
40832
40833 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
40834 is added to the list.
40835
f0967738
AK
408362010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40837 Ulrich Drepper <drepper@gmail.com>
40838
40839 * elf/dl-object.c (_dl_new_object): Don't append the new object to
40840 the global list here. Move code to...
40841 (_dl_add_to_namespace_list): ...here. New function.
40842 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
40843 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
40844 * elf/dl-load.c (lose): Don't remove the element from the list.
40845 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
40846 (_dl_map_object): Likewise.
40847
408482010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
40849
40850 [BZ #12159]
40851 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
40852 into all bytes of SSE register.
40853 Patch by Richard Li <richardpku@gmail.com>.
40854
f0967738 408552010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
40856
40857 [BZ #12140]
40858 * malloc/malloc.c (_int_free): Fill correct number of bytes when
40859 perturbing.
40860
d0b9e94f
MB
408612010-10-20 Michael B. Brutman <brutman@us.ibm.com>
40862
40863 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
40864 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
40865 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
40866 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
40868 submachine.
40869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
40870
8e9f92e9
AS
408712010-10-22 Andreas Schwab <schwab@redhat.com>
40872
40873 * include/dlfcn.h (__RTLD_SECURE): Define.
40874 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
40875 mode & __RTLD_SECURE instead.
40876 (open_path): Rename preloaded parameter to secure.
40877 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
40878 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
40879 * elf/dl-deps.c (openaux): Likewise.
40880 * elf/rtld.c (struct map_args): Remove is_preloaded.
40881 (map_doit): Don't use it.
40882 (dl_main): Likewise.
40883 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
40884 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
40885
bc96fbda
AS
408862010-09-09 Andreas Schwab <schwab@redhat.com>
40887
40888 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
40889 (sysd-rules-targets): Remove duplicates.
40890 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
40891 rtld-%.$o dependency.
40892
22cd1c9b
AS
408932010-10-18 Andreas Schwab <schwab@redhat.com>
40894
40895 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
40896 _dl_map_object do it.
40897
18edac48
UD
408982010-10-19 Ulrich Drepper <drepper@gmail.com>
40899
40900 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
40901 fast fma builtins, define the macros in the C99 standard.
40902 (FP_FAST_FMAF): Likewise.
40903 (FP_FAST_FMAL): Likewise.
40904 * sysdeps/x86_64/bits/mathdef.h: Likewise.
40905
40906 * bits/mathdef.h: Update copyright year.
40907 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40908
d2050124
MM
409092010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
40910
40911 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
40912 builtins, define the macros in the C99 standard.
40913 (FP_FAST_FMAF): Likewise.
40914 (FP_FAST_FMAL): Likewise.
40915 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
40916 multiply/add.
40917 (FP_FAST_FMAF): Likewise.
40918
475facd1
JJ
409192010-10-15 Jakub Jelinek <jakub@redhat.com>
40920
40921 [BZ #3268]
40922 * math/libm-test.inc (fma_test): Some new testcases.
40923 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
40924 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
40925 y and infinite z. Do multiplication by C already in long double.
40926 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
40927 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
40928 y and infinite z. Do bitwise or of inexact bit into u.d.
40929 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
40930 * sysdeps/i386/fpu/s_fmaf.S: Removed.
40931 * sysdeps/i386/fpu/s_fma.S: Removed.
40932 * sysdeps/i386/fpu/s_fmal.S: Removed.
40933
7c08a05c
JJ
409342010-10-16 Jakub Jelinek <jakub@redhat.com>
40935
40936 [BZ #3268]
40937 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
40938 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
40939 computation is not scheduled after fetestexcept. Fix value
40940 of minimum denormal long double.
40941
f3f7372d
JJ
409422010-10-14 Jakub Jelinek <jakub@redhat.com>
40943
40944 [BZ #3268]
40945 * math/libm-test.inc (fma_test): Add some more tests.
40946 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
40947 correctly.
40948
14d43591
AS
409492010-10-15 Andreas Schwab <schwab@redhat.com>
40950
40951 * scripts/data/localplt-s390-linux-gnu.data: New file.
40952 * scripts/data/localplt-s390x-linux-gnu.data: New file.
40953
5e908464
JJ
409542010-10-13 Jakub Jelinek <jakub@redhat.com>
40955
40956 [BZ #3268]
40957 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
40958 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
40959 instead of dbl-64.
40960 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
40961 inlines.
40962 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
40963 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
40964 if one of x and y is very large and the other is subnormal.
40965 * sysdeps/s390/fpu/s_fmaf.c: New file.
40966 * sysdeps/s390/fpu/s_fma.c: New file.
40967 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
40968 * sysdeps/powerpc/fpu/s_fma.S: New file.
40969 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
40970 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
40971 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
40972
409732010-10-12 Jakub Jelinek <jakub@redhat.com>
40974
40975 [BZ #3268]
40976 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
40977 fma tests.
40978 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
40979 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
40980 * sysdeps/i386/i686/multiarch/s_fma.c: Include
40981 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
40982 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
40983 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
40984 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
40985
b833d51f
UD
409862010-10-12 Ulrich Drepper <drepper@redhat.com>
40987
40988 [BZ #12078]
40989 * posix/regcomp.c (parse_branch): One more memory leak plugged.
40990 * posix/bug-regex31.input: Add test case.
40991
1751705d
UD
409922010-10-11 Ulrich Drepper <drepper@gmail.com>
40993
e9b9cbf5
UD
40994 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
40995 * posix/bug-regex31.input: New file.
40996
40997 [BZ #12078]
40998 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
40999 (parse_sub_exp): Fix last change, use postorder.
41000
ef06edbe
UD
41001 * posix/bug-regex31.c: New file.
41002 * posix/Makefile: Add rules to build and run bug-regex31.
41003
a129c80d
UD
41004 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41005
41006 [BZ #12078]
41007 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41008
b76b818e
UD
41009 [BZ #12108]
41010 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41011 to have entries in sys_siglist.
41012
1751705d
UD
41013 [BZ #12093]
41014 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41015 be NULL.
41016
9ff8d36f
JJ
410172010-10-07 Jakub Jelinek <jakub@redhat.com>
41018
41019 [BZ #3268]
41020 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41021 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41022 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41023 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41024 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41025 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41026 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41027 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41028 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41029 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41030 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41031 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41032 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41033 * math/ftestexcept.c (fetestexcept): Likewise.
41034 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41035 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41036 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41037 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41038 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41039 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41040 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41041
af325969
UD
410422010-10-11 Ulrich Drepper <drepper@gmail.com>
41043
c579b202 41044 [BZ #12107]
af325969
UD
41045 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41046 newline.
41047
67a67b95
UD
410482010-10-06 Ulrich Drepper <drepper@gmail.com>
41049
41050 * string/bug-strstr1.c: New file.
41051 * string/Makefile: Add rules to build and run bug-strstr1.
41052
5fb308bc
EB
410532010-10-05 Eric Blake <eblake@redhat.com>
41054
41055 [BZ #12092]
41056 * string/str-two-way.h (two_way_long_needle): Always clear memory
41057 when skipping input due to the shift table.
41058
45db99c7
UD
410592010-10-03 Ulrich Drepper <drepper@gmail.com>
41060
3b111893
UD
41061 [BZ #12005]
41062 * malloc/mcheck.c: Handle large requests.
41063
45db99c7
UD
41064 [BZ #12077]
41065 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41066 for strncmp and strncasecmp.
41067 * string/stratcliff.c: Add tests for strcmp and strncmp.
41068 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41069
cf7a1eb8
NI
410702010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41071
41072 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41073 __set_fpscr.
41074
6484ba5e
AJ
410752010-09-30 Andreas Jaeger <aj@suse.de>
41076
41077 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41078 (CGROUP_SUPER_MAGIC): Define.
41079 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41080 Handle btrfs and cgroup file systems.
41081 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41082 Likewise.
41083
91c42559
LM
410842010-09-27 Luis Machado <luisgpm@br.ibm.com>
41085
41086 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41087 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41088
87a97932
AK
410892010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41090
41091 [BZ #12067]
41092 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41093 trying to locate the ELF header.
41094
c21cc9bc
AS
410952010-09-27 Andreas Schwab <schwab@redhat.com>
41096
41097 [BZ #11611]
41098 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41099 Mask out sign-bit copies when constructing f_fsid.
41100
315970f6
PB
411012010-09-24 Petr Baudis <pasky@suse.cz>
41102
41103 * debug/stack_chk_fail_local.c: Add missing licence exception.
41104 * debug/warning-nop.c: Likewise.
41105
1ac7a2c7
JM
411062010-09-15 Joseph Myers <joseph@codesourcery.com>
41107
41108 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41109 implementing getdents64 using getdents syscall, set d_type if
41110 __ASSUME_GETDENTS32_D_TYPE.
41111
56801c50
AS
411122010-09-16 Andreas Schwab <schwab@redhat.com>
41113
41114 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41115 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41116
dda51327
UD
411172010-09-21 Ulrich Drepper <drepper@redhat.com>
41118
41119 [BZ #12037]
41120 * posix/unistd.h: Undo change of feature selection for ftruncate from
41121 2010-01-11.
41122
8ffcee4a
UD
411232010-09-20 Ulrich Drepper <drepper@redhat.com>
41124
a545ecd9 41125 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
41126 detection.
41127
e24f0a8b
AS
411282010-09-20 Andreas Schwab <schwab@redhat.com>
41129
41130 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41131 fanotify_mark.
41132 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41133
7291c56f
AS
411342010-09-14 Andreas Schwab <schwab@redhat.com>
41135
41136 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41137 variables after CHECK_SP call.
41138 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41139
bc5fb037
AS
411402010-09-13 Andreas Schwab <schwab@redhat.com>
41141 Ulrich Drepper <drepper@redhat.com>
41142
41143 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41144 re-relocationg ld.so.
41145 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41146 _dl_init_paths call.
41147 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
41148 here anymore.
41149
e66e7419
UD
411502010-09-14 Ulrich Drepper <drepper@redhat.com>
41151
41152 * resolv/res_init.c (__res_vinit): Count the default server we added.
41153
c044aa75
CLT
411542010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
41155 Ulrich Drepper <drepper@redhat.com>
41156
41157 [BZ #11968]
41158 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41159 (____longjmp_chk): Use %ebx for saving value across system call.
41160 Add unwind info.
41161
32cf4069
AS
411622010-09-06 Andreas Schwab <schwab@redhat.com>
41163
41164 * manual/Makefile: Don't mix pattern rules with normal rules.
41165
817328ee
AS
411662010-09-05 Andreas Schwab <schwab@linux-m68k.org>
41167
41168 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41169 operation.
41170 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41171 * libio/iofopncook.c (_IO_cookie_init): Likewise.
41172 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41173 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41174 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41175 Likewise.
41176
29fddf61
UD
411772010-09-04 Ulrich Drepper <drepper@redhat.com>
41178
41179 [BZ #11979]
41180 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41181 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41182
0959ffc9
UD
411832010-09-02 Ulrich Drepper <drepper@redhat.com>
41184
41185 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41186 * sysdeps/x86_64/addmul_1.S: Likewise.
41187 * sysdeps/x86_64/lshift.S: Likewise.
41188 * sysdeps/x86_64/mul_1.S: Likewise.
41189 * sysdeps/x86_64/rshift.S: Likewise.
41190 * sysdeps/x86_64/sub_n.S: Likewise.
41191 * sysdeps/x86_64/submul_1.S: Likewise.
41192
ece29840
ST
411932010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
41194
0959ffc9
UD
41195 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41196 Define __sched_param instead of SCHED_* and sched_param when
ece29840 41197 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 41198 * bits/sched.h [__need_schedparam]
ece29840 41199 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
41200 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41201 (__defined_schedparam): Define to 1.
ece29840
ST
41202 (__sched_param): New structure, identical to sched_param.
41203 (__need_schedparam): Undefine.
41204
e53a31fe
MF
412052010-08-31 Mike Frysinger <vapier@gentoo.org>
41206
fdc0c10d
MF
41207 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41208 (epoll_create1): Declare.
41209
e53a31fe
MF
41210 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41211
a726d796
AS
412122010-08-31 Andreas Schwab <schwab@redhat.com>
41213
41214 [BZ #7066]
41215 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41216 shifting retval into place.
41217
2f3e3dc7
UD
412182010-09-01 Ulrich Drepper <drepper@redhat.com>
41219
f2933da9
UD
41220 * nis/rpcsvc/nis.h: Update copyright notice.
41221 * nis/rpcsvc/nis.x: Likewise.
41222 * nis/rpcsvc/nis_callback.h: Likewise.
41223 * nis/rpcsvc/nis_callback.x: Likewise.
41224 * nis/rpcsvc/nis_object.x: Likewise.
41225 * nis/rpcsvc/nis_tags.h: Likewise.
41226 * nis/rpcsvc/yp.h: Likewise.
41227 * nis/rpcsvc/yp.x: Likewise.
41228 * nis/rpcsvc/ypupd.h: Likewise.
41229 * nis/yp_xdr.c: Likewise.
41230 * nis/ypupdate_xdr.c: Likewise.
41231
2f3e3dc7
UD
41232 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
41233 mainly the body of pmap_getport. Add parameters to specify timeouts.
41234 (pmap_getport): Use __libc_rpc_getport.
41235 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41236 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41237 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41238
f3dcc2f9
AS
412392010-08-31 Andreas Schwab <schwab@linux-m68k.org>
41240
41241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41242 fanotify_mark.
41243
6d34eb5b
RM
412442010-08-27 Roland McGrath <roland@redhat.com>
41245
41246 * sysdeps/i386/i686/multiarch/Makefile
41247 (CFLAGS-varshift.c): New variable.
41248
9ea3de11
UD
412492010-08-27 Ulrich Drepper <drepper@redhat.com>
41250
c96d23fc
UD
41251 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41252 * sysdeps/i386/i686/multiarch/varshift.c: New file.
41253
9ea3de11
UD
41254 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41255
41256 * sysdeps/x86_64/strlen.S: Minimal code improvement.
41257
623aac7f
L
412582010-08-26 H.J. Lu <hongjiu.lu@intel.com>
41259
41260 * sysdeps/x86_64/strlen.S: Unroll the loop.
41261 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41262 strlen-sse2 strlen-sse2-bsf.
41263 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41264 __strlen_no_bsf if bit_Slow_BSF is set.
41265 (__strlen_sse42): Removed.
41266 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41267 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41268
8b2b7715
RM
412692010-08-25 Roland McGrath <roland@redhat.com>
41270
41271 * sysdeps/x86_64/multiarch/varshift.S: File removed.
41272 * sysdeps/x86_64/multiarch/varshift.c: New file.
41273 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41274 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41275 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41276 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41277
e73015f2
L
412782010-08-25 H.J. Lu <hongjiu.lu@intel.com>
41279
41280 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41281 strlen-sse2 strlen-sse2-bsf.
41282 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41283 __strlen_sse2_bsf if bit_Slow_BSF is unset.
41284 (__strlen_sse2): Removed.
41285 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41286 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41288 bit_Slow_BSF for Atom.
41289 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41290 (index_Slow_BSF): Define.
41291 (HAS_SLOW_BSF): Define.
41292
df24a73e
UD
412932010-08-25 Ulrich Drepper <drepper@redhat.com>
41294
41295 [BZ #10851]
41296 * resolv/res_init.c (__res_vinit): When no server address at all
41297 is given default to loopback.
41298
f2ac4868
RM
412992010-08-24 Roland McGrath <roland@redhat.com>
41300
09055553
RM
41301 * configure.in: Remove config-name.h generation.
41302 * configure: Regenerated.
41303 * config-name.in: File removed.
41304 * scripts/config-uname.sh: New file.
41305 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41306 ($(objdir)config-name.h): New target.
41307
f2ac4868
RM
41308 * sunrpc/rpc_parse.h: Avoid nested comment.
41309
73f27d5e
RH
413102010-08-24 Richard Henderson <rth@redhat.com>
41311 Ulrich Drepper <drepper@redhat.com>
41312 H.J. Lu <hongjiu.lu@intel.com>
41313
41314 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
41315 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
41316 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
41317 Replace _mm_srli_si128 with __m128i_shift_right. Replace
41318 _mm_alignr_epi8 with _mm_loadu_si128.
41319 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
41320 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
41321 (__m128i_shift_right): Removed.
41322 * sysdeps/i386/i686/multiarch/varshift.h: New file.
41323 * sysdeps/i386/i686/multiarch/varshift.S: New file.
41324 * sysdeps/x86_64/multiarch/varshift.h: New file.
41325 * sysdeps/x86_64/multiarch/varshift.S: New file.
41326
84b9230c
MF
413272010-08-21 Mike Frysinger <vapier@gentoo.org>
41328
41329 * configure.in: Move assembler checks to before sysdep dir checking.
41330
9bbd0ddc
PB
413312010-08-20 Petr Baudis <pasky@suse.cz>
41332
41333 * LICENSES: Sync the sunrpc license.
41334
9da4bb31
UD
413352010-08-19 Ulrich Drepper <drepper@redhat.com>
41336
a7ab6ec8
UD
41337 * sunrpc/auth_des.c: Update copyright notice once again.
41338 * sunrpc/auth_none.c: Likewise.
41339 * sunrpc/auth_unix.c: Likewise.
41340 * sunrpc/authdes_prot.c: Likewise.
41341 * sunrpc/authuxprot.c: Likewise.
41342 * sunrpc/bindrsvprt.c: Likewise.
41343 * sunrpc/clnt_gen.c: Likewise.
41344 * sunrpc/clnt_perr.c: Likewise.
41345 * sunrpc/clnt_raw.c: Likewise.
41346 * sunrpc/clnt_simp.c: Likewise.
41347 * sunrpc/clnt_tcp.c: Likewise.
41348 * sunrpc/clnt_udp.c: Likewise.
41349 * sunrpc/clnt_unix.c: Likewise.
41350 * sunrpc/des_crypt.c: Likewise.
41351 * sunrpc/des_soft.c: Likewise.
41352 * sunrpc/get_myaddr.c: Likewise.
41353 * sunrpc/getrpcport.c: Likewise.
41354 * sunrpc/key_call.c: Likewise.
41355 * sunrpc/key_prot.c: Likewise.
41356 * sunrpc/openchild.c: Likewise.
41357 * sunrpc/pm_getmaps.c: Likewise.
41358 * sunrpc/pm_getport.c: Likewise.
41359 * sunrpc/pmap_clnt.c: Likewise.
41360 * sunrpc/pmap_prot.c: Likewise.
41361 * sunrpc/pmap_prot2.c: Likewise.
41362 * sunrpc/pmap_rmt.c: Likewise.
41363 * sunrpc/rpc/auth.h: Likewise.
41364 * sunrpc/rpc/auth_unix.h: Likewise.
41365 * sunrpc/rpc/clnt.h: Likewise.
41366 * sunrpc/rpc/des_crypt.h: Likewise.
41367 * sunrpc/rpc/key_prot.h: Likewise.
41368 * sunrpc/rpc/netdb.h: Likewise.
41369 * sunrpc/rpc/pmap_clnt.h: Likewise.
41370 * sunrpc/rpc/pmap_prot.h: Likewise.
41371 * sunrpc/rpc/pmap_rmt.h: Likewise.
41372 * sunrpc/rpc/rpc.h: Likewise.
41373 * sunrpc/rpc/rpc_des.h: Likewise.
41374 * sunrpc/rpc/rpc_msg.h: Likewise.
41375 * sunrpc/rpc/svc.h: Likewise.
41376 * sunrpc/rpc/svc_auth.h: Likewise.
41377 * sunrpc/rpc/types.h: Likewise.
41378 * sunrpc/rpc/xdr.h: Likewise.
41379 * sunrpc/rpc_clntout.c: Likewise.
41380 * sunrpc/rpc_cmsg.c: Likewise.
41381 * sunrpc/rpc_common.c: Likewise.
41382 * sunrpc/rpc_cout.c: Likewise.
41383 * sunrpc/rpc_dtable.c: Likewise.
41384 * sunrpc/rpc_hout.c: Likewise.
41385 * sunrpc/rpc_main.c: Likewise.
41386 * sunrpc/rpc_parse.c: Likewise.
41387 * sunrpc/rpc_parse.h: Likewise.
41388 * sunrpc/rpc_prot.c: Likewise.
41389 * sunrpc/rpc_sample.c: Likewise.
41390 * sunrpc/rpc_scan.c: Likewise.
41391 * sunrpc/rpc_scan.h: Likewise.
41392 * sunrpc/rpc_svcout.c: Likewise.
41393 * sunrpc/rpc_tblout.c: Likewise.
41394 * sunrpc/rpc_util.c: Likewise.
41395 * sunrpc/rpc_util.h: Likewise.
41396 * sunrpc/rpcinfo.c: Likewise.
41397 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
41398 * sunrpc/rpcsvc/key_prot.x: Likewise.
41399 * sunrpc/rpcsvc/klm_prot.x: Likewise.
41400 * sunrpc/rpcsvc/mount.x: Likewise.
41401 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
41402 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
41403 * sunrpc/rpcsvc/rex.x: Likewise.
41404 * sunrpc/rpcsvc/rstat.x: Likewise.
41405 * sunrpc/rpcsvc/rusers.x: Likewise.
41406 * sunrpc/rpcsvc/sm_inter.x: Likewise.
41407 * sunrpc/rpcsvc/spray.x: Likewise.
41408 * sunrpc/rpcsvc/yppasswd.x: Likewise.
41409 * sunrpc/rtime.c: Likewise.
41410 * sunrpc/svc.c: Likewise.
41411 * sunrpc/svc_auth.c: Likewise.
41412 * sunrpc/svc_authux.c: Likewise.
41413 * sunrpc/svc_raw.c: Likewise.
41414 * sunrpc/svc_run.c: Likewise.
41415 * sunrpc/svc_simple.c: Likewise.
41416 * sunrpc/svc_tcp.c: Likewise.
41417 * sunrpc/svc_udp.c: Likewise.
41418 * sunrpc/svc_unix.c: Likewise.
41419 * sunrpc/svcauth_des.c: Likewise.
41420 * sunrpc/xcrypt.c: Likewise.
41421 * sunrpc/xdr.c: Likewise.
41422 * sunrpc/xdr_array.c: Likewise.
41423 * sunrpc/xdr_float.c: Likewise.
41424 * sunrpc/xdr_mem.c: Likewise.
41425 * sunrpc/xdr_rec.c: Likewise.
41426 * sunrpc/xdr_ref.c: Likewise.
41427 * sunrpc/xdr_sizeof.c: Likewise.
41428 * sunrpc/xdr_stdio.c: Likewise.
41429
9da4bb31
UD
41430 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
41431 handling.
41432
bdaa77bc
AS
414332010-08-19 Andreas Schwab <schwab@redhat.com>
41434
41435 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
41436
fe2f79db
LM
414372010-08-19 Luis Machado <luisgpm@br.ibm.com>
41438
41439 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
41440 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
41441 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
41442 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
41443 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
41444 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
41445 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
41446 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
41447 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
41448 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
41449 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
41450 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
41451 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
41452 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
41453
b9b42ee0
AB
414542010-07-26 Anton Blanchard <anton@samba.org>
41455
41456 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
41457 * malloc/arena.c (heap_trim): Likewise.
41458
1c06ba31
UD
414592010-08-16 Ulrich Drepper <drepper@redhat.com>
41460
41461 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
41462 here. Not...
41463 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
41464 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
41465
f8392f40
L
414662010-08-12 H.J. Lu <hongjiu.lu@intel.com>
41467
41468 * sysdeps/i386/elf/Makefile: New file.
41469
3162f12e
AS
414702010-08-14 Andreas Schwab <schwab@linux-m68k.org>
41471
41472 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
41473 from fanotify_init.
41474 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
41475 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41476
28c90b2c
UD
414772010-08-15 Ulrich Drepper <drepper@redhat.com>
41478
41479 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
41480 of strncasecmp_l.
1feccb6c 41481 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 41482
ca6bb004
UD
414832010-08-14 Ulrich Drepper <drepper@redhat.com>
41484
e9f82e0d
UD
41485 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41486 strncase_l-nonascii.
41487 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41488 Add strncase_l-ssse3.
41489 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
41490 * sysdeps/x86_64/strcmp.S: Likewise.
41491 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
41492 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
41493 * sysdeps/x86_64/strncase.S: New file.
41494 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
41495 * sysdeps/x86_64/strncase_l.S: New file.
41496 * string/Makefile (strop-tests): Add strncasecmp.
41497 * string/test-strncasecmp.c: New file.
41498
41499 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
41500 warning.
41501
ca6bb004
UD
41502 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
41503 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
41504
052fa7b3
AS
415052010-08-14 Andreas Schwab <schwab@linux-m68k.org>
41506
41507 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
41508
962dba78
UD
415092010-08-12 Ulrich Drepper <drepper@redhat.com>
41510
41511 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
41512 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
41513 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
41514
bebff237
AM
415152010-05-01 Alan Modra <amodra@gmail.com>
41516
41517 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
41518 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
41519 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
41520 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
41521 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
41522 tidying. Don't tail-call __sigjmp_save for static lib.
41523 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
41524 save location.
41525 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
41526 (CALL_MCOUNT): Add eh info, and nop after bl.
41527 (TAIL_CALL_SYSCALL_ERROR): New macro.
41528 (PSEUDO_RET): Use it.
41529 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41530 Correct save location of integer regs and cr.
41531 (_dl_profile_resolve): Correct cr save location. Delete nops
41532 after bl when SHARED. Reduce cfi size a little by better
41533 placement of cfi directives.
41534 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
41535 make a stack frame. Instead use parm save area as a temp.
41536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
41537 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
41538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41539 Don't make a stack frame for parent, use parm save area.
41540 Increase child stack frame to 112 bytes. Don't save unused reg,
41541 and adjust reg usage. Set up cfi on error recovery and
41542 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
41543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41544 (__makecontext): Add dummy nop after jump to exit.
41545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
41546 Use correct parm save area and cr save, reduce stack frame.
41547 Correct cfi for possible PSEUDO_RET frame setup.
41548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
41549 Branch to local label emitted by PSEUDO_RET rather than
41550 __syscall_error.
41551
02637374
AS
415522010-08-12 Andreas Schwab <schwab@redhat.com>
41553
41554 [BZ #11904]
41555 * locale/programs/locale.c (print_assignment): New function.
41556 (show_locale_vars): Use it.
41557
c3e2f19b
UD
415582010-08-11 Ulrich Drepper <drepper@redhat.com>
41559
3cdaa6ad
UD
41560 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
41561 field.
41562 (struct statfs64): Likewise.
41563 (_STATFS_F_FLAGS): Define.
41564 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
41565 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41566 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
41567 (ST_VALID): Define locally.
41568 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
41569 __statvfs_getflags, use the provided value.
41570 * sysdeps/unix/sysv/linux/kernel-features.h: Define
41571 __ASSUME_STATFS_F_FLAGS.
41572
754f7da3
UD
41573 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
41574
10b3bedc
UD
41575 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
41576 Add sys/fanotify.h.
41577 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
41578 fanotify_mask for GLIBC_2.13.
41579 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
41580 fanotify_init and fanotify_mark.
41581 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41582 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
41583
c08fb0d7
UD
41584 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
41585 Add prlimit.
41586 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
41587 prlimit64 for GLIBC_2.13.
41588 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
41589 prlimit64.
41590 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
41591 syscall.
41592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
41593 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41594 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
41595 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
41596 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
41597 add prlimit alias.
41598 * sysdeps/unix/sysv/linux/prlimit.c: New file.
41599
15bac72b
UD
41600 [BZ #11903]
41601 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
41602 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
41603
c3e2f19b
UD
41604 * nss/Makefile: Add rules to build and run tst-nss-test1.
41605 * shlib-versions: Add entry for libnss_test1.
41606 * nss/nss_test1.c: New file.
41607 * nss/tst-nss-test1.c: New file.
41608
41609 * nss/nsswitch.c (__nss_database_custom): Define new variable.
41610 (__nss_configure_lookup): Set appropriate entry in
41611 __nss_configure_lookup to true.
41612 * nss/nsswitch.h: Define enum with indeces of databases in
41613 databases and __nss_database_custom arrays. Declare
41614 __nss_database_custom.
41615 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
41616 to avoid using nscd when custom rules are installed.
41617 * nss/getXXbyYY_r.c: Likewise.
41618 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41619
41620 * nss/nss_files/files-parse.c: Whitespace fixes.
41621
f15ce4d8
UD
416222010-08-09 Ulrich Drepper <drepper@redhat.com>
41623
41624 [BZ #11883]
41625 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
41626 * posix/fnmatch_loop.c: Likewise.
41627
d22e4cc9
AK
416282010-07-17 Andi Kleen <ak@linux.intel.com>
41629
41630 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
41631 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
41632 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
41633 * Versions.def [GLIBC_2.13]: Add.
41634
805bc17d
UD
416352010-08-06 Ulrich Drepper <drepper@redhat.com>
41636
41637 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
41638 Also fail if tpwd after pwuid call is NULL.
41639
5a42321d
ST
416402010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
41641
41642 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
41643 when converting to ms.
41644
fd3ebeda
ST
416452010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41646
41647 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
41648 EOPNOTSUPP errors with ENOTTY.
41649 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
41650 EOPNOTSUPP errors with ENOTTY.
41651
73507d3a
UD
416522010-07-31 Ulrich Drepper <drepper@redhat.com>
41653
41654 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41655 Add strcasecmp_l-ssse3.
41656 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
41657 strcasecmp.
41658 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
41659 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
41660 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
41661
fe36dd02
UD
416622010-07-30 Ulrich Drepper <drepper@redhat.com>
41663
66f6765a
UD
41664 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
41665
42e08a54
UD
41666 * string/Makefile (strop-tests): Add strcasecmp.
41667 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41668 strcasecmp_l-nonascii.
41669 (gen-as-const-headers): Add locale-defines.sym.
41670 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
41671 * sysdeps/x86_64/strcasecmp.S: New file.
41672 * sysdeps/x86_64/strcasecmp_l.S: New file.
41673 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
41674 * sysdeps/x86_64/locale-defines.sym: New file.
41675 * string/test-strcasecmp.c: New file.
41676
fe36dd02
UD
41677 * string/test-strcasestr.c: Test both ends of the range of characters.
41678 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
41679
48cbc0d6
RM
416802010-07-29 Roland McGrath <roland@redhat.com>
41681
76e6d6bc 41682 [BZ #11856]
48cbc0d6
RM
41683 * manual/locale.texi (Yes-or-No Questions): Fix example code.
41684
880113d9
UD
416852010-07-27 Ulrich Drepper <drepper@redhat.com>
41686
41687 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
41688 for ld.so.
41689
deb9cabb
AS
416902010-07-27 Andreas Schwab <schwab@redhat.com>
41691
41692 * manual/memory.texi (Malloc Tunable Parameters): Document
41693 M_PERTURB.
41694
1c7570ff
RM
416952010-07-26 Roland McGrath <roland@redhat.com>
41696
41697 [BZ #11840]
41698 * configure.in (-fgnu89-inline check): Set and substitute
41699 gnu89_inline, not libc_cv_gnu89_inline.
41700 * configure: Regenerated.
41701 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
41702
24fb0f88
UD
417032010-07-26 Ulrich Drepper <drepper@redhat.com>
41704
41705 * string/test-strnlen.c: New file.
41706 * string/Makefile (strop-tests): Add strnlen.
41707 * string/tester.c (test_strnlen): Add a few more test cases.
41708 * string/tst-strlen.c: Better error reporting.
41709
41710 * sysdeps/x86_64/strnlen.S: New file.
41711
8e96b93a
UD
417122010-07-24 Ulrich Drepper <drepper@redhat.com>
41713
41714 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
41715 lower-latency instructions.
41716
dbc676d4
UD
417172010-07-23 Ulrich Drepper <drepper@redhat.com>
41718
41719 * string/test-strcasestr.c: New file.
41720 * string/test-strstr.c: New file.
41721 * string/Makefile (strop-tests): Add strstr and strcasestr.
41722 * string/str-two-way.h: Don't undefine MAX.
41723 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
41724
f6a31e0e
AS
417252010-07-21 Andreas Schwab <schwab@redhat.com>
41726
41727 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41728 strcasestr-nonascii.
41729 (CFLAGS-strcasestr-nonascii.c): Define.
41730 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
41731 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
41732 Remove unused attribute.
41733
5dbc3b6c
RM
417342010-07-20 Roland McGrath <roland@redhat.com>
41735
41736 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
41737 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
41738 ld.so.cache was broken. With it, there is no way to disable dsocaps
41739 like LD_HWCAP_MASK can disable hwcaps.
41740
23d101d8
EPM
417412010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
41742
41743 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
41744
cc9f2e47
UD
417452010-07-16 Ulrich Drepper <drepper@redhat.com>
41746
41747 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
41748 call in strcasestr.
41749 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
41750 __strcasestr_sse42_nonascii.
41751 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
41752 strcasestr-nonascii.c.
41753 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
41754
77c1b069
LM
417552010-06-15 Luis Machado <luisgpm@br.ibm.com>
41756
41757 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
41758 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
41759 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
41760 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
41761
440566c3
UD
417622010-07-09 Ulrich Drepper <drepper@redhat.com>
41763
41764 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
41765 fcntl.
41766
5be9d05d
AS
417672010-07-06 Andreas Schwab <schwab@redhat.com>
41768
c30b7ee2 41769 [BZ #11577]
5be9d05d
AS
41770 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
41771 dl_signal_cerror.
41772
8a492a67
UD
417732010-07-06 Ulrich Drepper <drepper@redhat.com>
41774
41775 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
41776 _PC_PIPE_BUF using F_GETPIPE_SZ.
41777
713df3d5
RM
417782010-07-05 Roland McGrath <roland@redhat.com>
41779
41780 * manual/arith.texi (Rounding Functions): Fix rint description
41781 implicit in round description.
41782
702e8f14
UD
417832010-07-02 Ulrich Drepper <drepper@redhat.com>
41784
41785 * elf/Makefile: Fix linking for a few tests to make recent linker
41786 happy.
41787
52ed8be9
AS
417882010-06-30 Andreas Schwab <schwab@redhat.com>
41789
41790 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41791 $(common-objpfx)libc_nonshared.a.
41792
f47c9a11
LM
417932010-06-21 Luis Machado <luisgpm@br.ibm.com>
41794
41795 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
41796 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
41797 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41798 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41799 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
41800 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
41801 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41802 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
41804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
41805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
41806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
41808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
41810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
41811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
41812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
41813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
41815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
41817 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
41818 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
41819 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
41820 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
41821 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
41822 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
41823 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
41824 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
41825 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
41826 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
41827 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
41828 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
41829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
41830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
41831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
41832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
41833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
41834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
41835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
41836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
41837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
41838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
41839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
41840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
41841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
41842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
41843
6fb8cbcb
L
418442010-06-25 H.J. Lu <hongjiu.lu@intel.com>
41845
41846 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
41847 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
41848 * string/memmove.c (memmove): Renamed to ...
41849 (MEMMOVE): ...this. Default to memmove.
41850 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
41851 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
41852 (END_CHK): Define.
41853 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41854 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
41855 mempcpy-ssse3-back memmove-ssse3-back.
41856 * sysdeps/x86_64/multiarch/bcopy.S: New file .
41857 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
41858 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
41859 * sysdeps/x86_64/multiarch/memcpy.S: New file.
41860 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
41861 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
41862 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
41863 * sysdeps/x86_64/multiarch/memmove.c: New file.
41864 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
41865 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
41866 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
41867 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
41868 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
41869 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
41870 Define.
41871 (index_Fast_Copy_Backward): Define.
41872 (HAS_ARCH_FEATURE): Define.
41873 (HAS_FAST_REP_STRING): Define.
41874 (HAS_FAST_COPY_BACKWARD): Define.
41875
4e733bac 418762010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
41877
41878 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
41879 Restore proper fallback handling.
41880
63c4ed22
UD
418812010-06-19 Ulrich Drepper <drepper@redhat.com>
41882
ac2b484c
UD
41883 [BZ #11701]
41884 * posix/group_member.c (__group_member): Correct checking loop.
41885
63c4ed22
UD
41886 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
41887 OOM in getpwuid_r correctly. Return error number when the caller
41888 should return, otherwise -1.
41889 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
41890 call returning > 0 value.
41891 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
41892
765ade4b
AS
418932010-06-07 Andreas Schwab <schwab@redhat.com>
41894
41895 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
41896 libc_nonshared.a from targets in modules-names.
41897
80da2e09
KS
418982010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
41899
41900 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
41901 requires it.
41902
158db122
LM
419032010-06-10 Luis Machado <luisgpm@br.ibm.com>
41904
41905 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
41906 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
41907 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
41908 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
41909
caa78cf8
AS
419102010-06-02 Andreas Schwab <schwab@redhat.com>
41911
41912 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
41913
b2ef2c01
UD
419142010-06-14 Ulrich Drepper <drepper@redhat.com>
41915
41916 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
41917 and F_GETPIPE_SZ.
41918 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41919 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41920 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41921 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41922 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41923 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
41924
fbd643b6
RM
419252010-06-14 Roland McGrath <roland@redhat.com>
41926
41927 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
41928
f32f2869
JJ
419292010-06-07 Jakub Jelinek <jakub@redhat.com>
41930
41931 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
41932 __REDIRECT followed by __THROW.
41933 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
41934 * posix/getopt.h (getopt): Likewise.
41935
2a50c078
EPM
419362010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
41937
41938 * hurd/lookup-at.c (__file_name_lookup_at): Accept
41939 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
41940 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
41941 in AT_FLAGS.
41942 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
41943 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
41944
eb5ad2eb
LM
419452010-05-28 Luis Machado <luisgpm@br.ibm.com>
41946
41947 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
41948
3c88fe1e
L
419492010-05-26 H.J. Lu <hongjiu.lu@intel.com>
41950
41951 [BZ #11640]
41952 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41953 Properly check family and model.
41954
d2f73151
TY
419552010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
41956
41957 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
41958
ebd2e13d
LM
419592010-05-24 Luis Machado <luisgpm@br.ibm.com>
41960
41961 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
41962
b32b8b45
UD
419632010-05-21 Ulrich Drepper <drepper@redhat.com>
41964
41965 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
41966 symbol reference.
41967
9acbe24d
AS
419682010-05-19 Andreas Schwab <schwab@redhat.com>
41969
41970 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
41971 symbol reference.
41972
f0ccf6ea
AS
419732010-05-21 Andreas Schwab <schwab@redhat.com>
41974
3d04ff3a
AS
41975 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
41976 and internal_recvmmsg.
41977 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
41978 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
41979 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
41980 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
41981
f0ccf6ea
AS
41982 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
41983 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41984 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41985
5b08ac57
AS
419862010-05-20 Andreas Schwab <schwab@redhat.com>
41987
41988 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
41989
4828935d
LM
419902010-05-17 Luis Machado <luisgpm@br.ibm.com>
41991
41992 POWER7 optimizations.
41993 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
41994 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
41995
373d545e
UD
419962010-05-19 Ulrich Drepper <drepper@redhat.com>
41997
41998 * version.h: Update for 2.13 development version.
41999
21a2b1ae
AS
420002010-05-12 Andrew Stubbs <ams@codesourcery.com>
42001
42002 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42003 exceptions. Return 0.
42004
3f7dcb2b
RM
420052010-05-07 Roland McGrath <roland@redhat.com>
42006
42007 * elf/ldconfig.c (main): Add a const.
42008
5f24d53a 420092010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 42010
a160f8d8
UD
42011 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42012 (args_options): Add no-idn option.
42013 (ahosts_keys_int): Add idn_flags to ai_flags.
42014 (parse_option): Handle 'i' option to clear idn_flags.
42015
5f24d53a
UD
42016 * malloc/malloc.c (_int_free): Possible race in the most recently
42017 added check. Only act on the data if no current modification
42018 happened.
265bb1ce
UD
42019
42020See ChangeLog.17 for earlier changes.
This page took 5.530109 seconds and 5 git commands to generate.