]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
delete ksh checks
[thirdparty/glibc.git] / ChangeLog
CommitLineData
c66e48b4
MF
12014-03-13 Mike Frysinger <vapier@gentoo.org>
2
3 * config.make.in (have-ksh): Delete.
4 (KSH): Delete.
5 * configure.ac (libc_cv_have_ksh): Delete.
6 * configure: Regenerate.
7
b93834ef
MF
82014-03-13 Mike Frysinger <vapier@gentoo.org>
9
10 * elf/Makefile: Delete $(have-ksh) check.
11 ($(objpfx)sotruss): Change KSH to BASH.
12 * elf/sotruss.ksh: Rename to ...
13 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
14 function style to match POSIX. Drop ksh vim mode setting.
15
f3a4632a
MF
162014-03-13 Mike Frysinger <vapier@gentoo.org>
17
18 * manual/time.texi (Specifying the Time Zone with TZ): Change
19 Tuesday to Thursday.
20
5896c8bd
MF
212014-03-13 Mike Frysinger <vapier@gentoo.org>
22
23 * debug/tst-longjmp_chk2.c: Update header comment.
24 (stackoverflow_handler): Add comment. Call assert on pass value.
25
2d63a517
IZ
262014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
27
28 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
29 (HAVE_AVX512_ASM_SUPPORT): Likewise.
30 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
31 (La_x86_64_vector): Add zmm.
32 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
33 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
34 ($(objpfx)tst-audit10): New target.
35 ($(objpfx)tst-audit10.out): Likewise.
36 (tst-audit10-ENV): New.
37 (AVX512-CFLAGS): Likewise.
38 (CFLAGS-tst-audit10.c): Likewise.
39 (CFLAGS-tst-auditmod10a.c): Likewise.
40 (CFLAGS-tst-auditmod10b.c): Likewise.
41 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
42 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
43 * sysdeps/x86_64/configure: Regenerated.
44 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
45 AVX-512 zmm register support.
46 (_dl_x86_64_save_sse): Likewise.
47 (_dl_x86_64_restore_sse): Likewise.
48 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
49 size vector registers.
50 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
51 (ZMM_SIZE): Likewise.
52 * sysdeps/x86_64/tst-audit10.c: New file.
53 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
54 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
55
44c4e5d5
RM
562014-03-13 Roland McGrath <roland@hack.frob.com>
57
58 * configure.ac (HAVE_EHDR_START): New check.
59 * configure: Regenerated.
60 * config.h.in (HAVE_EHDR_START): New #undef.
61 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
62 assuming the lowest-addressed segment maps the start of the file.
63
acd6e389
JM
642014-03-13 Joseph Myers <joseph@codesourcery.com>
65
66 * INSTALL: Regenerated.
67
6f918f36
WN
682014-03-13 Will Newton <will.newton@linaro.org>
69
70 * manual/setjmp.texi (System V contexts): Improve
71 clarity and grammar of documentation.
72
798212a0
PP
732014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
74
75 [BZ #16381]
798212a0
PP
76 * elf/Makefile (tests): Add tst-pie2.
77 (tests-pie): Add tst-pie2.
78 * elf/tst-pie2.c: New file.
79 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
80 for ET_EXEC.
81 * elf/rtld.c (map_doit): Load executable as lt_executable.
82 (dl_main): Likewise.
83
abe6d90c
JM
842014-03-12 Joseph Myers <joseph@codesourcery.com>
85
86 [BZ #16642]
87 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
88 (__ASSUME_PSELECT): Undefine.
89
dd3946c6
AZ
902014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
91
92 [BZ #16689]
93 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
94 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
95 static build.
96 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
97 selector for static builds.
98
c44496df
SP
992014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
100
101 [BZ #16695]
102 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
103 key in the buffer.
104
27c7220a
AZ
1052014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
106
107 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
108 selector for static builds.
109
600fa361
JM
1102014-03-11 Joseph Myers <joseph@codesourcery.com>
111
76c96cf7
JM
112 * sysdeps/mips/math_private.h [__mips_hard_float]
113 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
114 libc_feresetround_mips_ctx.
115 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
116 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
117 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
118
600fa361
JM
119 [BZ #16677]
120 * math/s_nextafter.c (__nextafter): Do not return value from
121 overflowing computation.
122 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
123 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
124 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
125 Likewise.
126 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
127 Likewise.
128 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
129 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
130
d7706c32
RM
1312014-03-11 Roland McGrath <roland@hack.frob.com>
132
133 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
134 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
135 Move sfi_sp use from the load-multiple (that no longer sets sp) to
136 the new mov targetting sp.
137
4facea47
AZ
1382014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
139
140 [BZ #16683]
141 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
142 Define it for static builds as well.
143 (NO_BZERO_IMPL): Likewise.
144
e65caf1f
VR
1452014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
146
147 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
148 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
149 multiarch strspn for PPC64.
150 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
151 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
152 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
153 (__libc_ifunc_impl_list): Likewise.
154 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
155 multiarch optimizations
156 * string/strspn.c (strspn): Using macro to redefine symbol name.
157
ba9cc071
AZ
1582014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
159 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
160
161 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
162 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
163 multiarch strncat for PPC64.
164 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
165 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
166 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
167 (__libc_ifunc_impl_list): Likewise.
168 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
169 multiarch optimizations
170
8b4ff974
SP
1712014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
172
173 [BZ #16639]
174 * nscd/nscd.service: Make service type forking.
175
54b46a4b
AZ
1762014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
177
178 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
179 sign in non default rounding modes.
180 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
181
e9996ef7
JM
1822014-03-08 Joseph Myers <joseph@codesourcery.com>
183
184 * math/libm-test.inc (ALL_RM_TEST): New macro.
185 (ceil_test): Use ALL_RM_TEST.
186 (cimag_test): Likewise.
187 (conj_test): Likewise.
188 (copysign_test): Likewise.
189 (cproj_test): Likewise.
190 (creal_test): Likewise.
191 (fabs_test): Likewise.
192 (floor_test): Likewise.
193 (fmax_test): Likewise.
194 (fmin_test): Likewise.
195 (fmod_test): Likewise.
196 (fpclassify_test): Likewise.
197 (frexp_test): Likewise.
198 (ilogb_test): Likewise.
199 (isfinite_test): Likewise.
200 (finite_test): Likewise.
201 (isgreater_test): Likewise.
202 (isgreaterequal_test): Likewise.
203 (isinf_test): Likewise.
204 (isless_test): Likewise.
205 (islessequal_test): Likewise.
206 (islessgreater_test): Likewise.
207 (isnan_test): Likewise.
208 (isnormal_test): Likewise.
209 (issignaling_test): Likewise.
210 (isunordered_test): Likewise.
211 (logb_test): Likewise.
212 (logb_downward_test_data): Remove.
213 (logb_test_downward): Likewise.
214 (lround_test): Use ALL_RM_TEST.
215 (llround_test): Likewise.
216 (modf_test): Likewise.
217 (nexttoward_test): Likewise.
218 (remainder_test): Likewise.
219 (drem_test): Likewise.
220 (remainder_tonearest_test_data): Likewise.
221 (remainder_test_tonearest): Likewise.
222 (drem_test_tonearest): Likewise.
223 (remainder_towardzero_test_data): Likewise.
224 (remainder_test_towardzero): Likewise.
225 (drem_test_towardzero): Likewise.
226 (remainder_downward_test_data): Likewise.
227 (remainder_test_downward): Likewise.
228 (drem_test_downward): Likewise.
229 (remainder_upward_test_data): Likewise.
230 (remainder_test_upward): Likewise.
231 (drem_test_upward): Likewise.
232 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
233 (round_test): Use ALL_RM_TEST.
234 (signbit_test): Likewise.
235 (trunc_test): Likewise.
236 (significand_test): Likewise.
237 (main): Don't call removed functions.
238
bc61d27c
JM
2392014-03-07 Joseph Myers <joseph@codesourcery.com>
240
5c780849
JM
241 [BZ #16674]
242 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
243 || __USE_XOPEN2K8].
244 (ILL_ILLOPN): Likewise.
245 (ILL_ILLADR): Likewise.
246 (ILL_ILLTRP): Likewise.
247 (ILL_PRVOPC): Likewise.
248 (ILL_PRVREG): Likewise.
249 (ILL_COPROC): Likewise.
250 (ILL_BADSTK): Likewise.
251 (FPE_INTDIV): Likewise.
252 (FPE_INTOVF): Likewise.
253 (FPE_FLTDIV): Likewise.
254 (FPE_FLTOVF): Likewise.
255 (FPE_FLTUND): Likewise.
256 (FPE_FLTRES): Likewise.
257 (FPE_FLTINV): Likewise.
258 (FPE_FLTSUB): Likewise.
259 (SEGV_MAPERR): Likewise.
260 (SEGV_ACCERR): Likewise.
261 (BUS_ADRALN): Likewise.
262 (BUS_ADRERR): Likewise.
263 (BUS_OBJERR): Likewise.
264 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
265 (TRAP_TRACE): Likewise.
266 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
267 __USE_XOPEN2K8].
268 (CLD_KILLED): Likewise.
269 (CLD_DUMPED): Likewise.
270 (CLD_TRAPPED): Likewise.
271 (CLD_STOPPED): Likewise.
272 (CLD_CONTINUED): Likewise.
273 (POLL_IN): Likewise.
274 (POLL_OUT): Likewise.
275 (POLL_MSG): Likewise.
276 (POLL_ERR): Likewise.
277 (POLL_PRI): Likewise.
278 (POLL_HUP): Likewise.
279 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
280 Likewise.
281 (ILL_ILLOPN): Likewise.
282 (ILL_ILLADR): Likewise.
283 (ILL_ILLTRP): Likewise.
284 (ILL_PRVOPC): Likewise.
285 (ILL_PRVREG): Likewise.
286 (ILL_COPROC): Likewise.
287 (ILL_BADSTK): Likewise.
288 (FPE_INTDIV): Likewise.
289 (FPE_INTOVF): Likewise.
290 (FPE_FLTDIV): Likewise.
291 (FPE_FLTOVF): Likewise.
292 (FPE_FLTUND): Likewise.
293 (FPE_FLTRES): Likewise.
294 (FPE_FLTINV): Likewise.
295 (FPE_FLTSUB): Likewise.
296 (SEGV_MAPERR): Likewise.
297 (SEGV_ACCERR): Likewise.
298 (BUS_ADRALN): Likewise.
299 (BUS_ADRERR): Likewise.
300 (BUS_OBJERR): Likewise.
301 (BUS_MCEERR_AR): Likewise.
302 (BUS_MCEERR_AO): Likewise.
303 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
304 (TRAP_TRACE): Likewise.
305 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
306 __USE_XOPEN2K8].
307 (CLD_KILLED): Likewise.
308 (CLD_DUMPED): Likewise.
309 (CLD_TRAPPED): Likewise.
310 (CLD_STOPPED): Likewise.
311 (CLD_CONTINUED): Likewise.
312 (POLL_IN): Likewise.
313 (POLL_OUT): Likewise.
314 (POLL_MSG): Likewise.
315 (POLL_ERR): Likewise.
316 (POLL_PRI): Likewise.
317 (POLL_HUP): Likewise.
318 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
319 (ILL_ILLOPN): Likewise.
320 (ILL_ILLADR): Likewise.
321 (ILL_ILLTRP): Likewise.
322 (ILL_PRVOPC): Likewise.
323 (ILL_PRVREG): Likewise.
324 (ILL_COPROC): Likewise.
325 (ILL_BADSTK): Likewise.
326 (FPE_INTDIV): Likewise.
327 (FPE_INTOVF): Likewise.
328 (FPE_FLTDIV): Likewise.
329 (FPE_FLTOVF): Likewise.
330 (FPE_FLTUND): Likewise.
331 (FPE_FLTRES): Likewise.
332 (FPE_FLTINV): Likewise.
333 (FPE_FLTSUB): Likewise.
334 (SEGV_MAPERR): Likewise.
335 (SEGV_ACCERR): Likewise.
336 (BUS_ADRALN): Likewise.
337 (BUS_ADRERR): Likewise.
338 (BUS_OBJERR): Likewise.
339 (BUS_MCEERR_AR): Likewise.
340 (BUS_MCEERR_AO): Likewise.
341 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
342 (TRAP_TRACE): Likewise.
343 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
344 __USE_XOPEN2K8].
345 (CLD_KILLED): Likewise.
346 (CLD_DUMPED): Likewise.
347 (CLD_TRAPPED): Likewise.
348 (CLD_STOPPED): Likewise.
349 (CLD_CONTINUED): Likewise.
350 (POLL_IN): Likewise.
351 (POLL_OUT): Likewise.
352 (POLL_MSG): Likewise.
353 (POLL_ERR): Likewise.
354 (POLL_PRI): Likewise.
355 (POLL_HUP): Likewise.
356 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
357 Likewise.
358 (ILL_ILLOPN): Likewise.
359 (ILL_ILLADR): Likewise.
360 (ILL_ILLTRP): Likewise.
361 (ILL_PRVOPC): Likewise.
362 (ILL_PRVREG): Likewise.
363 (ILL_COPROC): Likewise.
364 (ILL_BADSTK): Likewise.
365 (ILL_BADIADDR): Likewise.
366 (ILL_BREAK): Likewise.
367 (FPE_INTDIV): Likewise.
368 (FPE_INTOVF): Likewise.
369 (FPE_FLTDIV): Likewise.
370 (FPE_FLTOVF): Likewise.
371 (FPE_FLTUND): Likewise.
372 (FPE_FLTRES): Likewise.
373 (FPE_FLTINV): Likewise.
374 (FPE_FLTSUB): Likewise.
375 (FPE_DECOVF): Likewise.
376 (FPE_DECDIV): Likewise.
377 (FPE_DECERR): Likewise.
378 (FPE_INVASC): Likewise.
379 (FPE_INVDEC): Likewise.
380 (SEGV_MAPERR): Likewise.
381 (SEGV_ACCERR): Likewise.
382 (SEGV_PSTKOVF): Likewise.
383 (BUS_ADRALN): Likewise.
384 (BUS_ADRERR): Likewise.
385 (BUS_OBJERR): Likewise.
386 (BUS_MCEERR_AR): Likewise.
387 (BUS_MCEERR_AO): Likewise.
388 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
389 (TRAP_TRACE): Likewise.
390 (TRAP_BRANCH): Likewise.
391 (TRAP_HWBKPT): Likewise.
392 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
393 __USE_XOPEN2K8].
394 (CLD_KILLED): Likewise.
395 (CLD_DUMPED): Likewise.
396 (CLD_TRAPPED): Likewise.
397 (CLD_STOPPED): Likewise.
398 (CLD_CONTINUED): Likewise.
399 (POLL_IN): Likewise.
400 (POLL_OUT): Likewise.
401 (POLL_MSG): Likewise.
402 (POLL_ERR): Likewise.
403 (POLL_PRI): Likewise.
404 (POLL_HUP): Likewise.
405 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
406 (ILL_ILLOPN): Likewise.
407 (ILL_ILLADR): Likewise.
408 (ILL_ILLTRP): Likewise.
409 (ILL_PRVOPC): Likewise.
410 (ILL_PRVREG): Likewise.
411 (ILL_COPROC): Likewise.
412 (ILL_BADSTK): Likewise.
413 (FPE_INTDIV): Likewise.
414 (FPE_INTOVF): Likewise.
415 (FPE_FLTDIV): Likewise.
416 (FPE_FLTOVF): Likewise.
417 (FPE_FLTUND): Likewise.
418 (FPE_FLTRES): Likewise.
419 (FPE_FLTINV): Likewise.
420 (FPE_FLTSUB): Likewise.
421 (SEGV_MAPERR): Likewise.
422 (SEGV_ACCERR): Likewise.
423 (BUS_ADRALN): Likewise.
424 (BUS_ADRERR): Likewise.
425 (BUS_OBJERR): Likewise.
426 (BUS_MCEERR_AR): Likewise.
427 (BUS_MCEERR_AO): Likewise.
428 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
429 (TRAP_TRACE): Likewise.
430 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
431 __USE_XOPEN2K8].
432 (CLD_KILLED): Likewise.
433 (CLD_DUMPED): Likewise.
434 (CLD_TRAPPED): Likewise.
435 (CLD_STOPPED): Likewise.
436 (CLD_CONTINUED): Likewise.
437 (POLL_IN): Likewise.
438 (POLL_OUT): Likewise.
439 (POLL_MSG): Likewise.
440 (POLL_ERR): Likewise.
441 (POLL_PRI): Likewise.
442 (POLL_HUP): Likewise.
443 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
444 (ILL_ILLOPN): Likewise.
445 (ILL_ILLADR): Likewise.
446 (ILL_ILLTRP): Likewise.
447 (ILL_PRVOPC): Likewise.
448 (ILL_PRVREG): Likewise.
449 (ILL_COPROC): Likewise.
450 (ILL_BADSTK): Likewise.
451 (FPE_INTDIV): Likewise.
452 (FPE_INTOVF): Likewise.
453 (FPE_FLTDIV): Likewise.
454 (FPE_FLTOVF): Likewise.
455 (FPE_FLTUND): Likewise.
456 (FPE_FLTRES): Likewise.
457 (FPE_FLTINV): Likewise.
458 (FPE_FLTSUB): Likewise.
459 (SEGV_MAPERR): Likewise.
460 (SEGV_ACCERR): Likewise.
461 (BUS_ADRALN): Likewise.
462 (BUS_ADRERR): Likewise.
463 (BUS_OBJERR): Likewise.
464 (BUS_MCEERR_AR): Likewise.
465 (BUS_MCEERR_AO): Likewise.
466 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
467 (TRAP_TRACE): Likewise.
468 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
469 __USE_XOPEN2K8].
470 (CLD_KILLED): Likewise.
471 (CLD_DUMPED): Likewise.
472 (CLD_TRAPPED): Likewise.
473 (CLD_STOPPED): Likewise.
474 (CLD_CONTINUED): Likewise.
475 (POLL_IN): Likewise.
476 (POLL_OUT): Likewise.
477 (POLL_MSG): Likewise.
478 (POLL_ERR): Likewise.
479 (POLL_PRI): Likewise.
480 (POLL_HUP): Likewise.
481 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
482 (ILL_ILLOPN): Likewise.
483 (ILL_ILLADR): Likewise.
484 (ILL_ILLTRP): Likewise.
485 (ILL_PRVOPC): Likewise.
486 (ILL_PRVREG): Likewise.
487 (ILL_COPROC): Likewise.
488 (ILL_BADSTK): Likewise.
489 (FPE_INTDIV): Likewise.
490 (FPE_INTOVF): Likewise.
491 (FPE_FLTDIV): Likewise.
492 (FPE_FLTOVF): Likewise.
493 (FPE_FLTUND): Likewise.
494 (FPE_FLTRES): Likewise.
495 (FPE_FLTINV): Likewise.
496 (FPE_FLTSUB): Likewise.
497 (SEGV_MAPERR): Likewise.
498 (SEGV_ACCERR): Likewise.
499 (BUS_ADRALN): Likewise.
500 (BUS_ADRERR): Likewise.
501 (BUS_OBJERR): Likewise.
502 (BUS_MCEERR_AR): Likewise.
503 (BUS_MCEERR_AO): Likewise.
504 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
505 (TRAP_TRACE): Likewise.
506 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
507 __USE_XOPEN2K8].
508 (CLD_KILLED): Likewise.
509 (CLD_DUMPED): Likewise.
510 (CLD_TRAPPED): Likewise.
511 (CLD_STOPPED): Likewise.
512 (CLD_CONTINUED): Likewise.
513 (POLL_IN): Likewise.
514 (POLL_OUT): Likewise.
515 (POLL_MSG): Likewise.
516 (POLL_ERR): Likewise.
517 (POLL_PRI): Likewise.
518 (POLL_HUP): Likewise.
519 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
520 (ILL_ILLOPN): Likewise.
521 (ILL_ILLADR): Likewise.
522 (ILL_ILLTRP): Likewise.
523 (ILL_PRVOPC): Likewise.
524 (ILL_PRVREG): Likewise.
525 (ILL_COPROC): Likewise.
526 (ILL_BADSTK): Likewise.
527 (ILL_DBLFLT): Likewise.
528 (ILL_HARDWALL): Likewise.
529 (FPE_INTDIV): Likewise.
530 (FPE_INTOVF): Likewise.
531 (FPE_FLTDIV): Likewise.
532 (FPE_FLTOVF): Likewise.
533 (FPE_FLTUND): Likewise.
534 (FPE_FLTRES): Likewise.
535 (FPE_FLTINV): Likewise.
536 (FPE_FLTSUB): Likewise.
537 (SEGV_MAPERR): Likewise.
538 (SEGV_ACCERR): Likewise.
539 (BUS_ADRALN): Likewise.
540 (BUS_ADRERR): Likewise.
541 (BUS_OBJERR): Likewise.
542 (BUS_MCEERR_AR): Likewise.
543 (BUS_MCEERR_AO): Likewise.
544 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
545 (TRAP_TRACE): Likewise.
546 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
547 __USE_XOPEN2K8].
548 (CLD_KILLED): Likewise.
549 (CLD_DUMPED): Likewise.
550 (CLD_TRAPPED): Likewise.
551 (CLD_STOPPED): Likewise.
552 (CLD_CONTINUED): Likewise.
553 (POLL_IN): Likewise.
554 (POLL_OUT): Likewise.
555 (POLL_MSG): Likewise.
556 (POLL_ERR): Likewise.
557 (POLL_PRI): Likewise.
558 (POLL_HUP): Likewise.
559 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
560 (ILL_ILLOPN): Likewise.
561 (ILL_ILLADR): Likewise.
562 (ILL_ILLTRP): Likewise.
563 (ILL_PRVOPC): Likewise.
564 (ILL_PRVREG): Likewise.
565 (ILL_COPROC): Likewise.
566 (ILL_BADSTK): Likewise.
567 (FPE_INTDIV): Likewise.
568 (FPE_INTOVF): Likewise.
569 (FPE_FLTDIV): Likewise.
570 (FPE_FLTOVF): Likewise.
571 (FPE_FLTUND): Likewise.
572 (FPE_FLTRES): Likewise.
573 (FPE_FLTINV): Likewise.
574 (FPE_FLTSUB): Likewise.
575 (SEGV_MAPERR): Likewise.
576 (SEGV_ACCERR): Likewise.
577 (BUS_ADRALN): Likewise.
578 (BUS_ADRERR): Likewise.
579 (BUS_OBJERR): Likewise.
580 (BUS_MCEERR_AR): Likewise.
581 (BUS_MCEERR_AO): Likewise.
582 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
583 (TRAP_TRACE): Likewise.
584 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
585 __USE_XOPEN2K8].
586 (CLD_KILLED): Likewise.
587 (CLD_DUMPED): Likewise.
588 (CLD_TRAPPED): Likewise.
589 (CLD_STOPPED): Likewise.
590 (CLD_CONTINUED): Likewise.
591 (POLL_IN): Likewise.
592 (POLL_OUT): Likewise.
593 (POLL_MSG): Likewise.
594 (POLL_ERR): Likewise.
595 (POLL_PRI): Likewise.
596 (POLL_HUP): Likewise.
597 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
598 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
599
bc61d27c
JM
600 [BZ #16670]
601 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
602 before #include of <time.h>.
603 [!__USE_XOPEN2K] (__need_timespec): Likewise.
604 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
605 (test-xfail-UNIX98/sched.h/conform): Likewise.
606
302949e2
MS
6072014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
608
609 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
610 error absence of trapping exception support.
611 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
612
a00f522a
JM
6132014-03-07 Joseph Myers <joseph@codesourcery.com>
614
6f99f280
JM
615 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
616 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
617 * timezone/Makefile (testdata): Move definition above include of
618 Rules.
619 (test-zones): New variable.
620 (tests-special): Add zone files.
621 (build-testdata): Use $(evaluate-test).
622
0b20a9e8
JM
623 * elf/Makefile (tests-special): Rename tests to end with .out.
624 ($(objpfx)noload-mem): Likewise.
625 ($(objpfx)tst-leaks1-mem): Likewise.
626 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
627 * iconv/Makefile (xtests-special): Change test-iconvconfig to
628 $(objpfx)test-iconvconfig.out.
629 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
630 set -e inside subshell and redirect output to file.
631 * iconvdata/Makefile (generated): Rename tests to end with .out.
632 Correct type.
633 (tests-special): Rename tests to end with .out.
634 ($(objpfx)mtrace-tst-loading): Likewise.
635 * intl/Makefile (generated): Likewise.
636 (tests-special): Likewise.
637 ($(objpfx)mtrace-tst-gettext): Likewise.
638 * misc/Makefile (generated): Likewise.
639 (tests-special): Likewise.
640 ($(objpfx)tst-error1-mem): Likewise.
641 * nptl/Makefile (tests-special): Likewise.
642 ($(objpfx)tst-stack3-mem): Likewise.
643 (generated): Likewise.
644 * posix/Makefile (generated): Likewise.
645 (tests-special): Likewise.
646 (xtests-special): Likewise.
647 ($(objpfx)tst-fnmatch-mem): Likewise.
648 ($(objpfx)bug-regex2-mem): Likewise.
649 ($(objpfx)bug-regex14-mem): Likewise.
650 ($(objpfx)bug-regex21-mem): Likewise.
651 ($(objpfx)bug-regex31-mem): Likewise.
652 ($(objpfx)tst-vfork3-mem): Likewise.
653 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
654 ($(objpfx)tst-pcre-mem): Likewise.
655 ($(objpfx)tst-boost-mem): Likewise.
656 ($(objpfx)bug-ga2-mem): Likewise.
657 ($(objpfx)bug-glob2-mem): Likewise.
658 * resolv/Makefile (generate): Likewise.
659 (tests-special): Likewise.
660 (xtests-special): Likewise.
661 (generated): Likewise.
662 ($(objpfx)mtrace-tst-leaks): Likewise.
663 ($(objpfx)mtrace-tst-leaks2): Likewise.
664
265d52ab
JM
665 * scripts/merge-test-results.sh: New file.
666 * Makefile (tests-special-notdir): New variable.
667 (tests): Run merge-test-results.sh.
668 (xtests): Likewise.
669 * Rules (tests-special-notdir): New variable.
670 (xtests-special-notdir): Likewise.
671 (tests): Run merge-test-results.sh
672 (xtests): Likewise.
673
54ee292d
JM
674 * Makeconfig (test-xfail-name): New variable.
675 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
676 compute variable name for expected failures.
677 * conform/Makefile (conformtest-headers-data): New variable.
678 (conformtest-standards): Likewise.
679 (conformtest-headers-ISO): Likewise.
680 (conformtest-headers-ISO99): Likewise.
681 (conformtest-headers-ISO11): Likewise.
682 (conformtest-headers-POSIX): Likewise.
683 (conformtest-headers-XPG3): Likewise.
684 (conformtest-headers-XPG4): Likewise.
685 (conformtest-headers-UNIX98): Likewise.
686 (conformtest-headers-XOPEN2K): Likewise.
687 (conformtest-headers-POSIX2008): Likewise.
688 (conformtest-headers-XOPEN2K8): Likewise.
689 (conformtest-header-list-base): Likewise.
690 (conformtest-header-list-tests): Likewise.
691 (conformtest-header-base): Likewise.
692 (conformtest-header-tests): Likewise.
693 (tests-special): Add $(conformtest-header-list-tests). If
694 [$(fast-check) && !$(cross-compiling)], add
695 $(conformtest-header-tests) instead of
696 $(objpfx)run-conformtest.out.
697 (generated): Add $(conformtest-header-list-base). If
698 [$(fast-check) && !$(cross-compiling)], add
699 $(conformtest-header-base). Remove previous setting.
700 ($(conformtest-header-list-tests)): New target.
701 (test-xfail-run-conformtest): Remove variable.
702 ($(objpfx)run-conformtest.out): Remove target.
703 (test-xfail-ISO11/complex.h/conform): New variable.
704 (test-xfail-ISO11/stdalign.h/conform): Likewise.
705 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
706 (test-xfail-XPG3/varargs.h/conform): Likewise.
707 (test-xfail-XPG4/varargs.h/conform): Likewise.
708 (test-xfail-UNIX98/varargs.h/conform): Likewise.
709 (test-xfail-XPG4/ndbm.h/conform): Likewise.
710 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
711 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
712 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
713 (test-xfail-XPG3/fcntl.h/conform): Likewise.
714 (test-xfail-XPG3/ftw.h/conform): Likewise.
715 (test-xfail-XPG3/grp.h/conform): Likewise.
716 (test-xfail-XPG3/langinfo.h/conform): Likewise.
717 (test-xfail-XPG3/limits.h/conform): Likewise.
718 (test-xfail-XPG3/pwd.h/conform): Likewise.
719 (test-xfail-XPG3/search.h/conform): Likewise.
720 (test-xfail-XPG3/signal.h/conform): Likewise.
721 (test-xfail-XPG3/stdio.h/conform): Likewise.
722 (test-xfail-XPG3/stdlib.h/conform): Likewise.
723 (test-xfail-XPG3/string.h/conform): Likewise.
724 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
725 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
726 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
727 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
728 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
729 (test-xfail-XPG3/sys/types.h/conform): Likewise.
730 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
731 (test-xfail-XPG3/termios.h/conform): Likewise.
732 (test-xfail-XPG3/time.h/conform): Likewise.
733 (test-xfail-XPG3/unistd.h/conform): Likewise.
734 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
735 (test-xfail-XPG4/fcntl.h/conform): Likewise.
736 (test-xfail-XPG4/langinfo.h/conform): Likewise.
737 (test-xfail-XPG4/netdb.h/conform): Likewise.
738 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
739 (test-xfail-XPG4/signal.h/conform): Likewise.
740 (test-xfail-XPG4/stdio.h/conform): Likewise.
741 (test-xfail-XPG4/stdlib.h/conform): Likewise.
742 (test-xfail-XPG4/stropts.h/conform): Likewise.
743 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
744 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
745 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
746 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
747 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
748 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
749 (test-xfail-XPG4/sys/time.h/conform): Likewise.
750 (test-xfail-XPG4/sys/types.h/conform): Likewise.
751 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
752 (test-xfail-XPG4/termios.h/conform): Likewise.
753 (test-xfail-XPG4/ucontext.h/conform): Likewise.
754 (test-xfail-XPG4/unistd.h/conform): Likewise.
755 (test-xfail-XPG4/utmpx.h/conform): Likewise.
756 (test-xfail-POSIX/sched.h/conform): Likewise.
757 (test-xfail-POSIX/signal.h/conform): Likewise.
758 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
759 (test-xfail-POSIX/tar.h/conform): Likewise.
760 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
761 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
762 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
763 (test-xfail-UNIX98/netdb.h/conform): Likewise.
764 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
765 (test-xfail-UNIX98/sched.h/conform): Likewise.
766 (test-xfail-UNIX98/signal.h/conform): Likewise.
767 (test-xfail-UNIX98/stdio.h/conform): Likewise.
768 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
769 (test-xfail-UNIX98/stropts.h/conform): Likewise.
770 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
771 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
772 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
773 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
774 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
775 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
776 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
777 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
778 (test-xfail-UNIX98/unistd.h/conform): Likewise.
779 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
780 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
781 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
782 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
783 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
784 (test-xfail-XOPEN2K/math.h/conform): Likewise.
785 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
786 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
787 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
788 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
789 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
790 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
791 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
792 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
793 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
794 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
795 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
796 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
797 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
798 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
799 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
800 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
801 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
802 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
803 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
804 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
805 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
806 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
807 (test-xfail-POSIX2008/signal.h/conform): Likewise.
808 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
809 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
810 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
811 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
812 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
813 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
814 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
815 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
816 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
817 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
818 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
819 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
820 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
821 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
822 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
823 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
824 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
825 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
826 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
827 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
828 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
829 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
830 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
831 (conformtest-cc-flags): Likewise.
832 ($(conformtest-header-tests): New target.
833 * conform/check-header-lists.sh: New file.
834 * conform/run-conformtest.sh: Remove.
835
a00f522a
JM
836 * conform/conformtest.pl: Allow ' and \ in values given for
837 constants.
838 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
839 inclusion.
840 [POSIX] (sys/types.h): Likewise.
841 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
842 inclusion.
843 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
844 inclusion.
845 * conform/data/signal.h-data (SIGIO): Remove expectation.
846 [XPG3] (SIGBUS): Do not expect.
847 [POSIX || XPG3] (SIGPOLL): Likewise.
848 [POSIX || XPG3] (SIGPROF): Likewise.
849 [POSIX || XPG3] (SIGSYS): Likewise.
850 [XPG3] (SIGTRAP): Likewise.
851 [POSIX || XPG3] (SIGURG): Likewise.
852 [POSIX || XPG3] (SIGVTALRM): Likewise.
853 [POSIX || XPG3] (SIGXCPU): Likewise.
854 [POSIX || XPG3] (SIGXFSZ): Likewise.
855 [POSIX] (SA_SIGINFO): Expect.
856 [XPG3] (siginfo_t): Do not expect type or contents.
857 [POSIX] (si_pid): Do not expect element.
858 [POSIX] (si_uid): Likewise.
859 [POSIX] (si_addr): Likewise.
860 [POSIX] (si_status): Likewise.
861 [POSIX] (si_band): Likewise.
862 [XPG4] (si_value): Likewise.
863 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
864 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
865 [POSIX || XPG3] (ILL_ILLADR): Likewise.
866 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
867 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
868 [POSIX || XPG3] (ILL_PRVREG): Likewise.
869 [POSIX || XPG3] (ILL_COPROC): Likewise.
870 [POSIX || XPG3] (ILL_BADSTK): Likewise.
871 [POSIX || XPG3] (FPE_INTDIV): Likewise.
872 [POSIX || XPG3] (FPE_INTOVF): Likewise.
873 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
874 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
875 [POSIX || XPG3] (FPE_FLTUND): Likewise.
876 [POSIX || XPG3] (FPE_FLTRES): Likewise.
877 [POSIX || XPG3] (FPE_FLTINV): Likewise.
878 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
879 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
880 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
881 [POSIX || XPG3] (BUS_ADRALN): Likewise.
882 [POSIX || XPG3] (BUS_ADRERR): Likewise.
883 [POSIX || XPG3] (BUS_OBJERR): Likewise.
884 [POSIX || XPG3] (CLD_EXITED): Likewise.
885 [POSIX || XPG3] (CLD_KILLED): Likewise.
886 [POSIX || XPG3] (CLD_DUMPED): Likewise.
887 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
888 [POSIX || XPG3] (CLD_STOPPED): Likewise.
889 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
890 [POSIX || XPG3] (POLL_IN): Likewise.
891 [POSIX || XPG3] (POLL_OUT): Likewise.
892 [POSIX || XPG3] (POLL_MSG): Likewise.
893 [POSIX || XPG3] (POLL_ERR): Likewise.
894 [POSIX || XPG3] (POLL_PRI): Likewise.
895 [POSIX || XPG3] (POLL_HUP): Likewise.
896 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
897 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
898 (SIG*): Do not allow.
899 [XPG3] (si_*): Likewise.
900 [XPG3] (SI_*): Likewise.
901 [XPG3 || XPG4] (sigev_*): Likewise.
902 [XPG3 || XPG4] (SIGEV_*): Likewise.
903 [XPG3 || XPG4] (sival_*): Likewise.
904 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
905 [POSIX || XPG3] (BUS_*): Likewise.
906 [POSIX || XPG3] (CLD_*): Likewise.
907 [POSIX || XPG3] (FPE_*): Likewise.
908 [POSIX || XPG3] (ILL_*): Likewise.
909 [POSIX || XPG3] (POLL_*): Likewise.
910 [POSIX || XPG3] (SEGV_*): Likewise.
911 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
912 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
913 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
914 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
915 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
916 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
917 Specify type and value.
918 (TVERSLEN): Likewise.
919 (REGTYPE): Likewise.
920 (AREGTYPE): Likewise.
921 (LNKTYPE): Likewise.
922 (SYMTYPE): Likewise.
923 (CHRTYPE): Likewise.
924 (BLKTYPE): Likewise.
925 (DIRTYPE): Likewise.
926 (FIFOTYPE): Likewise.
927 (CONTTYPE): Likewise.
928 (TSUID): Likewise.
929 (TSGID): Likewise.
930 (TSVTX): Likewise.
931 (TUREAD): Likewise.
932 (TUWRITE): Likewise.
933 (TUEXEC): Likewise.
934 (TGREAD): Likewise.
935 (TGWRITE): Likewise.
936 (TGEXEC): Likewise.
937 (TOREAD): Likewise.
938 (TOWRITE): Likewise.
939 (TOEXEC): Likewise.
940 [POSIX] (TSVTX): Expect constant.
941
aa97dee1
JM
9422014-03-06 Joseph Myers <joseph@codesourcery.com>
943
f214606a
JM
944 * Makefile (tests): Change dependencies to ....
945 (tests-special): ... additions to this variable.
946 (tests): Depend on $(tests-special).
947 * Makerules (check-abi-list): New variable.
948 (check-abi): Depend on $(check-abi-list).
949 [$(subdir) = elf] (tests-special): Add
950 $(objpfx)check-abi-libc.out.
951 [$(build-shared) = yes && subdir] (tests-special): Add
952 $(check-abi-list).
953 [$(build-shared) = yes && subdir] (tests): Do not depend on
954 check-abi.
955 * Rules (tests): Depend on $(tests-special).
956 (xtests): Depend on $(xtests-special).
957 * catgets/Makefile (tests): Change dependencies to ....
958 (tests-special): ... additions to this variable.
959 * conform/Makefile (tests): Change dependencies to ....
960 (tests-special): ... additions to this variable.
961 * elf/Makefile (tests): Change dependencies to ....
962 (tests-special): ... additions to this variable.
963 * grp/Makefile (tests): Change dependencies to ....
964 (tests-special): ... additions to this variable.
965 * iconv/Makefile (xtests): Change dependencies to ....
966 (xtests-special): ... additions to this variable.
967 * iconvdata/Makefile (tests): Change dependencies to ....
968 (tests-special): ... additions to this variable.
969 * intl/Makefile (tests): Change dependencies to ....
970 (tests-special): ... additions to this variable. Also add
971 $(objpfx)tst-gettext.out.
972 * io/Makefile (tests): Change dependencies to ....
973 (tests-special): ... additions to this variable.
974 * libio/Makefile (tests): Change dependencies to ....
975 (tests-special): ... additions to this variable.
976 * malloc/Makefile (tests): Change dependencies to ....
977 (tests-special): ... additions to this variable.
978 * misc/Makefile (tests): Change dependencies to ....
979 (tests-special): ... additions to this variable.
980 * nptl/Makefile (tests): Change dependencies to ....
981 (tests-special): ... additions to this variable.
982 * nptl_db/Makefile (tests): Change dependencies to ....
983 (tests-special): ... additions to this variable.
984 * posix/Makefile (tests): Change dependencies to ....
985 (tests-special): ... additions to this variable.
986 (xtests): Change dependencies to ....
987 (xtests-special): ... additions to this variable.
988 * resolv/Makefile (tests): Change dependencies to ....
989 (tests-special): ... additions to this variable.
990 (xtests): Change dependencies to ....
991 (xtests-special): ... additions to this variable.
992 * stdio-common/Makefile (tests): Change dependencies to ....
993 (tests-special): ... additions to this variable.
994 (do-tst-unbputc): Remove target.
995 (do-tst-printf): Likewise.
996 * stdlib/Makefile (tests): Change dependencies to ....
997 (tests-special): ... additions to this variable.
998 * string/Makefile (tests): Change dependencies to ....
999 (tests-special): ... additions to this variable.
1000 * sysdeps/x86/Makefile (tests): Change dependencies to ....
1001 (tests-special): ... additions to this variable.
1002
81700b53
JM
1003 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1004 whole file.
1005 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1006 whole file.
1007 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1008 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1009
2ea18461
JM
1010 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1011 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1012 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1013 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1014 * conform/data/libgen.h-data [XPG3]: Likewise.
1015 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1016 * conform/data/ndbm.h-data [XPG3]: Likewise.
1017 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1018 * conform/data/netdb.h-data [XPG3]: Likewise.
1019 * conform/data/netinet/in.h-data [XPG3]: Likewise.
1020 * conform/data/poll.h-data [XPG3]: Likewise.
1021 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1022 * conform/data/strings.h-data [XPG3]: Likewise.
1023 * conform/data/stropts.h-data [XPG3]: Likewise.
1024 * conform/data/sys/mman.h-data [XPG3]: Likewise.
1025 * conform/data/sys/resource.h-data [XPG3]: Likewise.
1026 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1027 Likewise.
1028 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1029 * conform/data/sys/time.h-data [XPG3]: Likewise.
1030 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1031 * conform/data/sys/uio.h-data [XPG3]: Likewise.
1032 * conform/data/sys/un.h-data [XPG3]: Likewise.
1033 * conform/data/syslog.h-data [XPG3]: Likewise.
1034 * conform/data/ucontext.h-data [XPG3]: Likewise.
1035 * conform/data/utmpx.h-data [XPG3]: Likewise.
1036 * conform/data/varargs.h-data [UNIX98]: Enable file.
1037
355bc986
JM
1038 * manual/Makefile (INSTALL_INFO): Remove variable setting.
1039
215db402
JM
1040 * math/libm-test.inc (struct test_f_f_data): Move expected results
1041 into structure for each rounding mode.
1042 (struct test_ff_f_data): Likewise.
1043 (struct test_ff_f_data_nexttoward): Likewise.
1044 (struct test_fi_f_data): Likewise.
1045 (struct test_fl_f_data): Likewise.
1046 (struct test_if_f_data): Likewise.
1047 (struct test_fff_f_data): Likewise.
1048 (struct test_c_f_data): Likewise.
1049 (struct test_f_f1_data): Likewise.
1050 (struct test_fF_f1_data): Likewise.
1051 (struct test_ffI_f1_data): Likewise.
1052 (struct test_c_c_data): Likewise.
1053 (struct test_cc_c_data): Likewise.
1054 (struct test_f_i_data): Likewise.
1055 (struct test_ff_i_data): Likewise.
1056 (struct test_f_l_data): Likewise.
1057 (struct test_f_L_data): Likewise.
1058 (struct test_fFF_11_data): Likewise.
1059 (RM_): New macro.
1060 (RM_FE_DOWNWARD): Likewise.
1061 (RM_FE_TONEAREST): Likewise.
1062 (RM_FE_TOWARDZERO): Likewise.
1063 (RM_FE_UPWARD): Likewise.
1064 (RUN_TEST_LOOP_f_f): Update references to expected results.
1065 (RUN_TEST_LOOP_2_f): Likewise.
1066 (RUN_TEST_LOOP_fff_f): Likewise.
1067 (RUN_TEST_LOOP_c_f): Likewise.
1068 (RUN_TEST_LOOP_f_f1): Likewise.
1069 (RUN_TEST_LOOP_fF_f1): Likewise.
1070 (RUN_TEST_LOOP_fI_f1): Likewise.
1071 (RUN_TEST_LOOP_ffI_f1): Likewise.
1072 (RUN_TEST_LOOP_c_c): Likewise.
1073 (RUN_TEST_LOOP_cc_c): Likewise.
1074 (RUN_TEST_LOOP_f_i): Likewise.
1075 (RUN_TEST_LOOP_f_i_tg): Likewise.
1076 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1077 (RUN_TEST_LOOP_f_b): Likewise.
1078 (RUN_TEST_LOOP_f_b_tg): Likewise.
1079 (RUN_TEST_LOOP_f_l): Likewise.
1080 (RUN_TEST_LOOP_f_L): Likewise.
1081 (RUN_TEST_LOOP_fFF_11): Likewise.
1082 * math/gen-libm-test.pl (parse_args): Output four copies of
1083 expected results for each test.
1084
67737b8f
JM
1085 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1086 (__ASSUME_UTIMES): Remove.
1087 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1088 (__ASSUME_UTIMES): Likewise.
1089
aa97dee1
JM
1090 * math/gen-auto-libm-tests.c: Update comment on output format.
1091 (output_for_one_input_case): Generate before-rounding and
1092 after-rounding information as conditions on output flags not
1093 floating-point format.
1094 * math/auto-libm-test-out: Regenerated.
1095 * math/gen-libm-test.pl (cond_value): New function.
1096 (or_cond_value): Use cond_value.
1097 (generate_testfile): Handle conditional exceptions.
1098
e6b6a857
JM
10992014-03-05 Joseph Myers <joseph@codesourcery.com>
1100
2f0a0f44
JM
1101 * math/libm-test.inc (max_valid_error): New variable.
1102 (init_max_error): Take new argument specifying whether function
1103 results are exactly determined. Set max_valid_error and bound
1104 other variables for errors based on this argument.
1105 (set_max_error): Do not record results above max_valid_error.
1106 (check_float_internal): Only accept errors of up to 0.5ulps if
1107 also at most max_valid_error.
1108 (START): Take new argument EXACT and pass it to init_max_error.
1109 (acos_test): Update call to START.
1110 (acos_test_tonearest): Likewise.
1111 (acos_test_towardzero): Likewise.
1112 (acos_test_downward): Likewise.
1113 (acos_test_upward): Likewise.
1114 (acosh_test): Likewise.
1115 (asin_test): Likewise.
1116 (asin_test_tonearest): Likewise.
1117 (asin_test_towardzero): Likewise.
1118 (asin_test_downward): Likewise.
1119 (asin_test_upward): Likewise.
1120 (asinh_test): Likewise.
1121 (atan_test): Likewise.
1122 (atanh_test): Likewise.
1123 (atan2_test): Likewise.
1124 (cabs_test): Likewise.
1125 (cacos_test): Likewise.
1126 (cacosh_test): Likewise.
1127 (carg_test): Likewise.
1128 (casin_test): Likewise.
1129 (casinh_test): Likewise.
1130 (catan_test): Likewise.
1131 (catanh_test): Likewise.
1132 (cbrt_test): Likewise.
1133 (ccos_test): Likewise.
1134 (ccosh_test): Likewise.
1135 (ceil_test): Likewise.
1136 (cexp_test): Likewise.
1137 (cimag_test): Likewise.
1138 (clog_test): Likewise.
1139 (clog10_test): Likewise.
1140 (conj_test): Likewise.
1141 (copysign_test): Likewise.
1142 (cos_test): Likewise.
1143 (cos_test_tonearest): Likewise.
1144 (cos_test_towardzero): Likewise.
1145 (cos_test_downward): Likewise.
1146 (cos_test_upward): Likewise.
1147 (cosh_test): Likewise.
1148 (cosh_test_tonearest): Likewise.
1149 (cosh_test_towardzero): Likewise.
1150 (cosh_test_downward): Likewise.
1151 (cosh_test_upward): Likewise.
1152 (cpow_test): Likewise.
1153 (cproj_test): Likewise.
1154 (creal_test): Likewise.
1155 (csin_test): Likewise.
1156 (csinh_test): Likewise.
1157 (csqrt_test): Likewise.
1158 (ctan_test): Likewise.
1159 (ctan_test_tonearest): Likewise.
1160 (ctan_test_towardzero): Likewise.
1161 (ctan_test_downward): Likewise.
1162 (ctan_test_upward): Likewise.
1163 (ctanh_test): Likewise.
1164 (ctanh_test_tonearest): Likewise.
1165 (ctanh_test_towardzero): Likewise.
1166 (ctanh_test_downward): Likewise.
1167 (ctanh_test_upward): Likewise.
1168 (erf_test): Likewise.
1169 (erfc_test): Likewise.
1170 (exp_test): Likewise.
1171 (exp_test_tonearest): Likewise.
1172 (exp_test_towardzero): Likewise.
1173 (exp_test_downward): Likewise.
1174 (exp_test_upward): Likewise.
1175 (exp10_test): Likewise.
1176 (exp10_test_tonearest): Likewise.
1177 (exp10_test_towardzero): Likewise.
1178 (exp10_test_downward): Likewise.
1179 (exp10_test_upward): Likewise.
1180 (pow10_test): Likewise.
1181 (exp2_test): Likewise.
1182 (expm1_test): Likewise.
1183 (expm1_test_tonearest): Likewise.
1184 (expm1_test_towardzero): Likewise.
1185 (expm1_test_downward): Likewise.
1186 (expm1_test_upward): Likewise.
1187 (fabs_test): Likewise.
1188 (fdim_test): Likewise.
1189 (floor_test): Likewise.
1190 (fma_test): Likewise.
1191 (fma_test_towardzero): Likewise.
1192 (fma_test_downward): Likewise.
1193 (fma_test_upward): Likewise.
1194 (fmax_test): Likewise.
1195 (fmin_test): Likewise.
1196 (fmod_test): Likewise.
1197 (fpclassify_test): Likewise.
1198 (frexp_test): Likewise.
1199 (hypot_test): Likewise.
1200 (ilogb_test): Likewise.
1201 (isfinite_test): Likewise.
1202 (finite_test): Likewise.
1203 (isgreater_test): Likewise.
1204 (isgreaterequal_test): Likewise.
1205 (isinf_test): Likewise.
1206 (isless_test): Likewise.
1207 (islessequal_test): Likewise.
1208 (islessgreater_test): Likewise.
1209 (isnan_test): Likewise.
1210 (isnormal_test): Likewise.
1211 (issignaling_test): Likewise.
1212 (isunordered_test): Likewise.
1213 (j0_test): Likewise.
1214 (j1_test): Likewise.
1215 (jn_test): Likewise.
1216 (ldexp_test): Likewise.
1217 (lgamma_test): Likewise.
1218 (gamma_test): Likewise.
1219 (lrint_test): Likewise.
1220 (lrint_test_tonearest): Likewise.
1221 (lrint_test_towardzero): Likewise.
1222 (lrint_test_downward): Likewise.
1223 (lrint_test_upward): Likewise.
1224 (llrint_test): Likewise.
1225 (llrint_test_tonearest): Likewise.
1226 (llrint_test_towardzero): Likewise.
1227 (llrint_test_downward): Likewise.
1228 (llrint_test_upward): Likewise.
1229 (log_test): Likewise.
1230 (log10_test): Likewise.
1231 (log1p_test): Likewise.
1232 (log2_test): Likewise.
1233 (logb_test): Likewise.
1234 (logb_test_downward): Likewise.
1235 (lround_test): Likewise.
1236 (llround_test): Likewise.
1237 (modf_test): Likewise.
1238 (nearbyint_test): Likewise.
1239 (nextafter_test): Likewise.
1240 (nexttoward_test): Likewise.
1241 (pow_test): Likewise.
1242 (pow_test_tonearest): Likewise.
1243 (pow_test_towardzero): Likewise.
1244 (pow_test_downward): Likewise.
1245 (pow_test_upward): Likewise.
1246 (remainder_test): Likewise.
1247 (drem_test): Likewise.
1248 (remainder_test_tonearest): Likewise.
1249 (drem_test_tonearest): Likewise.
1250 (remainder_test_towardzero): Likewise.
1251 (drem_test_towardzero): Likewise.
1252 (remainder_test_downward): Likewise.
1253 (drem_test_downward): Likewise.
1254 (remainder_test_upward): Likewise.
1255 (drem_test_upward): Likewise.
1256 (remquo_test): Likewise.
1257 (rint_test): Likewise.
1258 (rint_test_tonearest): Likewise.
1259 (rint_test_towardzero): Likewise.
1260 (rint_test_downward): Likewise.
1261 (rint_test_upward): Likewise.
1262 (round_test): Likewise.
1263 (scalb_test): Likewise.
1264 (scalbn_test): Likewise.
1265 (scalbln_test): Likewise.
1266 (signbit_test): Likewise.
1267 (sin_test): Likewise.
1268 (sin_test_tonearest): Likewise.
1269 (sin_test_towardzero): Likewise.
1270 (sin_test_downward): Likewise.
1271 (sin_test_upward): Likewise.
1272 (sincos_test): Likewise.
1273 (sinh_test): Likewise.
1274 (sinh_test_tonearest): Likewise.
1275 (sinh_test_towardzero): Likewise.
1276 (sinh_test_downward): Likewise.
1277 (sinh_test_upward): Likewise.
1278 (sqrt_test): Likewise.
1279 (sqrt_test_tonearest): Likewise.
1280 (sqrt_test_towardzero): Likewise.
1281 (sqrt_test_downward): Likewise.
1282 (sqrt_test_upward): Likewise.
1283 (tan_test): Likewise.
1284 (tan_test_tonearest): Likewise.
1285 (tan_test_towardzero): Likewise.
1286 (tan_test_downward): Likewise.
1287 (tan_test_upward): Likewise.
1288 (tanh_test): Likewise.
1289 (tgamma_test): Likewise.
1290 (trunc_test): Likewise.
1291 (y0_test): Likewise.
1292 (y1_test): Likewise.
1293 (yn_test): Likewise.
1294 (significand_test): Likewise.
1295
e6b6a857
JM
1296 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
1297 individual tests in comment.
1298 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
1299 (prev_max_error): New variable.
1300 (prev_real_max_error): Likewise.
1301 (prev_imag_max_error): Likewise.
1302 (compare_ulp_data): Don't refer to test names in comment.
1303 (find_test_ulps): Remove function.
1304 (find_function_ulps): Likewise.
1305 (find_complex_function_ulps): Likewise.
1306 (init_max_error): Take function name as argument. Look up ulps
1307 for that function.
1308 (print_ulps): Remove function.
1309 (print_max_error): Use prev_max_error instead of calling
1310 find_function_ulps.
1311 (print_complex_max_error): Use prev_real_max_error and
1312 prev_imag_max_error instead of calling find_complex_function_ulps.
1313 (check_float_internal): Take max_ulp parameter instead of calling
1314 find_test_ulps. Don't call print_ulps.
1315 (check_float): Update call to check_float_internal.
1316 (check_complex): Update calls to check_float_internal.
1317 (START): Pass argument to init_max_error.
1318 * math/gen-libm-test.pl (%results): Don't include "kind"
1319 information.
1320 (parse_ulps): Don't handle ulps of individual tests.
1321 (print_ulps_file): Likewise.
1322 (output_ulps): Likewise.
1323 * math/README.libm-test: Update.
1324 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
1325 individual tests.
1326 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
1327 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
1328 * sysdeps/arm/libm-test-ulps: Likewise.
1329 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1330 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1331 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
1332 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1333 * sysdeps/microblaze/libm-test-ulps: Likewise.
1334 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1335 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1336 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1337 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1338 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1339 * sysdeps/sh/libm-test-ulps: Likewise.
1340 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1341 * sysdeps/tile/libm-test-ulps: Likewise.
1342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1343
45adef3c
JM
13442014-03-04 Joseph Myers <joseph@codesourcery.com>
1345
1346 * math/libm-test.inc (print_complex_max_error): Check separately
1347 whether real and imaginary errors are within allowed range and
1348 pass 0 to print_complex_function_ulps instead of value within
1349 allowed range.
1350
000232b9
SP
13512014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1352
d4b17258
SP
1353 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
1354 formatting.
1355 (get_handles_fopen): Likewise.
1356 (do_write_test): Likewise.
1357
091eff71
SP
1358 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
1359
fa3cd248
SP
1360 * libio/fileops.c (do_ftell): Use cached offset when
1361 available.
1362 * libio/iofwide.c (do_ftell_wide): Likewise.
1363 * libio/iofdopen.c (_IO_new_fdopen): Don't use
1364 _IO_file_attach.
1365 * libio/wfileops.c (_IO_fwide): Don't cache offset.
1366
000232b9
SP
1367 [BZ #16532]
1368 * libio/libioP.h (get_file_offset): New function.
1369 * libio/fileops.c (get_file_offset): Likewise.
1370 (do_ftell): Likewise.
1371 (_IO_new_file_seekoff): Split out ftell logic.
1372 * libio/wfileops.c (do_ftell_wide): Likewise.
1373 (_IO_wfile_seekoff): Split out ftell logic.
1374 * libio/tst-ftell-active-handler.c: New test case.
1375 * libio/Makefile (tests): Add it.
1376
116f4d1a
RM
13772014-03-03 Roland McGrath <roland@hack.frob.com>
1378
1379 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
1380 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
1381
532a6035
SP
13822014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1383
1384 [BZ #16639]
1385 * nscd/connections.c (nscd_init): Call do_exit.
1386 (start_threads): Call do_exit and notify_parent.
1387 (begin_drop_privileges): Call do_exit.
1388 (finish_drop_privileges): Likewise.
1389 * nscd/selinux.c (preserve_capabilities): Likewise.
1390 (install_real_capabilities): Likewise.
1391 (nscd_selinux_enabled): Likewise.
1392 (avc_create_thread): Likewise.
1393 (avc_alloc_lock): Likewise.
1394 (nscd_avc_init): Likewise.
1395 * nscd/nscd.c (parent_fd): New static variable.
1396 (main): Create a pipe between parent and child processes.
1397 Skip closing parent_fd.
1398 (monitor_child): New function.
1399 (do_exit): Likewise.
1400 (notify_parent): Likewise.
1401 * nscd/nscd.h (notify_parent): Likewise.
1402 (do_exit): Likewise.
1403
d6285c9f
CD
14042014-03-03 Carlos O'Donell <carlos@redhat.com>
1405
1406 * malloc/malloc.c (__libc_calloc): Revert last change.
1407
2b85d2a0
AZ
14082014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1409
1410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1411
c7debbdf
RS
14122014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1413
1414 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
1415 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
1416 implementation.
1417 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1418 (__libc_ifunc_impl_list): Likewise.
1419 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
1420 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
1421 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
1422 * string/strrchr.c: Define STRRCHR.
1423
235eed86
OB
14242014-02-28 Ondřej Bílka <neleai@seznam.cz>
1425
1426 * benchtest/bench-strtok.c (simple_strtok): Delete.
1427 (strtok_string): Use as benchmark.
1428 * string/strtok (STRTOK): New macro.
1429
8e25d1e7
CD
14302014-02-28 Carlos O'Donell <carlos@redhat.com>
1431
ef563f92
CD
1432 * manual/threads.texi: Add header and standard comments to all
1433 functions.
1434
8e25d1e7
CD
1435 * elf/dl-lookup.c (check_match): New function.
1436 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
1437 (do_lookup_x): Remove nested function check_match. Use non-nested
1438 function check_match.
1439
ff71cc37
RM
14402014-02-28 Roland McGrath <roland@hack.frob.com>
1441
f08e9a26
RM
1442 * csu/Makefile (generated, before-compile): Use += rather than =.
1443 * catgets/Makefile (generated, generated-dirs): Likewise.
1444 * debug/Makefile (generated): Likewise.
1445 * dlfcn/Makefile (generated): Likewise.
1446 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
1447 * iconvdata/Makefile (before-compile, generated): Likewise.
1448 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
1449 * libio/Makefile (generated): Likewise.
1450 * malloc/Makefile (generated): Likewise.
1451 * manual/Makefile (generated, generated-dirs): Likewise.
1452 * misc/Makefile (generated): Likewise.
1453 * posix/Makefile (generated): Likewise.
1454 * resolv/Makefile (generated): Likewise.
1455 * sunrpc/Makefile (generated, generated-dirs): Likewise.
1456 * timezone/Makefile (generated, generated-dirs): Likewise.
1457
ff71cc37
RM
1458 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
1459
fe13a20c
AZ
14602014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1461
1462 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
1463 implementation.
1464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
1465 POWER8 llround ifunc implementation.
1466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
1467 POWER8 implementation.
1468 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
1469 POWER8 llround implementation.
1470
1ad8950a
AZ
14712014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1472
1473 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
1474 implementation.
1475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
1476 POWER8 llrint ifunc implementation.
1477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
1478 POWER8 implementation.
1479 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
1480 POWER8 llrint implementation.
1481
cac626d6
AZ
14822014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1483
1484 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
1485 implementation.
1486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
1487 POWER8 finite ifunc implementation.
1488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
1489 POWER8 implementation.
1490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
1491 Likewise.
1492 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
1493 POWER8 finite implementation.
1494 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
1495
4393fc11
AZ
14962014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1497
1498 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
1499 implementation.
1500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
1501 POWER8 isinf ifunc implementation.
1502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
1503 POWER8 implementation.
1504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
1505 Likewise.
1506 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
1507 POWER8 isinf implementation.
1508 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
1509
487972ae
AZ
15102014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1511
1512 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
1513 Add hwcap2 initialization.
1514 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
1515 implementation.
1516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
1517 POWER8 isnan ifunc implementation.
1518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
1519 POWER8 implementation.
1520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
1521 Likewise.
1522 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
1523 POWER8 isnan implementation.
1524 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
1525
7d92b787
JY
15262014-02-27 Joey Ye <joey.ye@arm.com>
1527
1528 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1529 (_FP_NANFRAC_Q): Set to zero.
1530
1cadc858
SP
15312014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1532
1533 [BZ #16623]
1534 * math/auto-libm-test-in: New test inputs.
1535 * math/auto-libm-test-out: Regenerate.
1536 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
1537 and DA.
1538 (__cos): Likewise.
1539 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1540
f8c17e79
JM
15412014-02-27 Joseph Myers <joseph@codesourcery.com>
1542
1543 * scripts/evaluate-test.sh: Take new argument indicating whether
1544 failure is expected.
1545 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
1546 indicating whether failure is expected.
1547 * conform/Makefile (test-xfail-run-conformtest): New variable.
1548 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
1549 level.
1550 * posix/Makefile (test-xfail-annexc): New variable.
1551 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
1552
a5f891ac
JM
15532014-02-26 Joseph Myers <joseph@codesourcery.com>
1554
1555 * argp/Makefile: Include Makeconfig immediately after defining
1556 subdir.
1557 * assert/Makefile: Likewise.
1558 * benchtests/Makefile: Likewise.
1559 * catgets/Makefile: Likewise.
1560 * conform/Makefile: Likewise.
1561 * crypt/Makefile: Likewise.
1562 * csu/Makefile: Likewise.
1563 (all): Remove target.
1564 * ctype/Makefile: Include Makeconfig immediately after defining
1565 subdir.
1566 * debug/Makefile: Likewise.
1567 * dirent/Makefile: Likewise.
1568 * dlfcn/Makefile: Likewise.
1569 * gmon/Makefile: Likewise.
1570 * gnulib/Makefile: Likewise.
1571 * grp/Makefile: Likewise.
1572 * gshadow/Makefile: Likewise.
1573 * hesiod/Makefile: Likewise.
1574 * hurd/Makefile: Likewise.
1575 (all): Remove target.
1576 * iconvdata/Makefile: Include Makeconfig immediately after
1577 defining subdir.
1578 * inet/Makefile: Likewise.
1579 * intl/Makefile: Likewise.
1580 * io/Makefile: Likewise.
1581 * libio/Makefile: Likewise.
1582 (all): Remove target.
1583 * locale/Makefile: Include Makeconfig immediately after defining
1584 subdir.
1585 * login/Makefile: Likewise.
1586 * mach/Makefile: Likewise.
1587 (all): Remove target.
1588 * malloc/Makefile: Include Makeconfig immediately after defining
1589 subdir.
1590 (all): Remove target.
1591 * manual/Makefile: Include Makeconfig immediately after defining
1592 subdir.
1593 * math/Makefile: Likewise.
1594 * misc/Makefile: Likewise.
1595 * nis/Makefile: Likewise.
1596 * nss/Makefile: Likewise.
1597 * po/Makefile: Likewise.
1598 (all): Remove target.
1599 * posix/Makefile: Include Makeconfig immediately after defining
1600 subdir.
1601 * pwd/Makefile: Likewise.
1602 * resolv/Makefile: Likewise.
1603 * resource/Makefile: Likewise.
1604 * rt/Makefile: Likewise.
1605 * setjmp/Makefile: Likewise.
1606 * shadow/Makefile: Likewise.
1607 * signal/Makefile: Likewise.
1608 * socket/Makefile: Likewise.
1609 * soft-fp/Makefile: Likewise.
1610 * stdio-common/Makefile: Likewise.
1611 * stdlib/Makefile: Likewise.
1612 * streams/Makefile: Likewise.
1613 * string/Makefile: Likewise.
1614 * sunrpc/Makefile: Likewise.
1615 (all): Remove target.
1616 * sysvipc/Makefile: Include Makeconfig immediately after defining
1617 subdir.
1618 * termios/Makefile: Likewise.
1619 * time/Makefile: Likewise.
1620 * timezone/Makefile: Likewise.
1621 (all): Remove target.
1622 * wcsmbs/Makefile: Include Makeconfig immediately after defining
1623 subdir.
1624 * wctype/Makefile: Likewise.
1625
5b456e9d
SE
16262014-02-26 Steve Ellcey <sellcey@mips.com>
1627
1628 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
1629 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
1630 (libc_feholdexcept_setround_mips): Ditto.
1631 (libc_feholdsetround): New.
1632 (libc_feholdsetroundf): New.
1633 (libc_feholdsetroundl): New.
1634 (libc_feupdateenv_test_mips): New.
1635 (libc_feupdateenv_test): New.
1636 (libc_feupdateenv_testf): New.
1637 (libc_feupdateenv_testl): New.
1638 (libc_feresetround): New.
1639 (libc_feresetroundf): New.
1640 (libc_feresetroundl): New.
1641 (libc_fetestexcept_mips): New.
1642 (libc_fetestexcept): New.
1643 (libc_fetestexceptf): New.
1644 (libc_fetestexceptl): New.
1645 (HAVE_RM_CTX): New.
1646 (libc_feholdexcept_setround_mips_ctx): New.
1647 (libc_feholdexcept_setround_ctx): New.
1648 (libc_feholdexcept_setroundf_ctx): New.
1649 (libc_feholdexcept_setroundl_ctx): New.
1650 (libc_fesetenv_mips_ctx): New.
1651 (libc_fesetenv_ctx): New.
1652 (libc_fesetenv_ctxf): New.
1653 (libc_fesetenv_ctxl): New.
1654 (libc_feupdateenv_mips_ctx): New.
1655 (libc_feupdateenv_ctx): New.
1656 (libc_feupdateenvf_ctx): New.
1657 (libc_feupdateenvl_ctx): New.
1658 (libc_feholdsetround_mips_ctx): New.
1659 (libc_feholdsetround_ctx): New.
1660 (libc_feholdsetroundf_ctx): New.
1661 (libc_feholdsetroundl_ctx): New.
1662 (libc_feresetround_mips_ctx): New.
1663 (libc_feresetround_ctx): New.
1664 (libc_feresetroundf_ctx): New.
1665 (libc_feresetroundl_ctx): New.
1666
085d0e35
CD
16672014-02-26 Carlos O'Donell <carlos@redhat.com>
1668
f067bf1f
CD
1669 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
1670
085d0e35
CD
1671 * manual/ipc.texi: New file.
1672 * manual/Makefile (chapters): Add ipc.
1673 * manual/job.texi: Add "Inter-Process Communication" to next.
1674 * manual/process.texi: Add "Inter-Process Communication" to prev.
1675
86e58c08
AZ
16762014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1677
1678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1679
4248f0da
OB
16802014-02-26 Ondřej Bílka <neleai@seznam.cz>
1681
1682 * malloc/malloc.c (__libc_calloc): Simplify implementation.
1683
cf822e3c
OB
1684 * manual/arith.texi: Fix spaces after sentences.
1685 * manual/charset.texi: Likewise.
1686 * manual/errno.texi: Likewise.
1687 * manual/install.texi: Likewise.
1688 * manual/llio.texi: Likewise.
1689 * manual/locale.texi: Likewise.
1690 * manual/maint.texi: Likewise.
1691 * manual/math.texi: Likewise.
1692 * manual/memory.texi: Likewise.
1693 * manual/message.texi: Likewise.
1694 * manual/probes.texi: Likewise.
1695 * manual/resource.texi: Likewise.
1696 * manual/signal.texi: Likewise.
1697 * manual/socket.texi: Likewise.
1698 * manual/stdio.texi: Likewise.
1699 * manual/string.texi: Likewise.
1700 * manual/time.texi: Likewise.
1701 * manual/users.texi: Likewise.
1702
ade40b10
CD
17032014-02-25 Carlos O'Donell <carlos@redhat.com>
1704
1705 [BZ #16632]
1706 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
1707 _DEFAULT_SOURCE is defined.
1708
d0503676
CD
17092014-02-25 Ulrich Drepper <drepper@gmail.com>
1710 Carlos O'Donell <carlos@redhat.com>
1711
1712 [BZ #16613]
1713 * elf/dl-tls.c (_dl_count_modids): New function.
1714 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
1715 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
1716 audit library and increment generation counter.
1717 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
1718 * elf/tst-audit9.c: New file.
1719 * elf/tst-auditmod9a.c: New file.
1720 * elf/tst-auditmod9b.c: New file.
1721 * elf/Makefile: Add rules to build and run tst-audit9.
1722
4cbf380c
FW
17232014-02-25 Florian Weimer <fweimer@redhat.com>
1724
1725 [BZ #15347]
1726 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
1727
80a56cc3
WN
17282014-02-25 Will Newton <will.newton@linaro.org>
1729
1730 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
1731 (__longjmp): Restore sp and lr before restoring callee
1732 saved registers. Add longjmp and longjmp_target
1733 SystemTap probe point.
1734 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
1735 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
1736 Define to zero to match jmpbuf layout.
1737 * sysdeps/arm/setjmp.S: Include stap-probe.h.
1738 (__sigsetjmp): Save sp and lr before saving callee
1739 saved registers. Add setjmp SystemTap probe point.
1740
3ea0f74e
SL
17412014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1742
1743 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1744
b04acb26
AS
17452014-02-24 Andreas Schwab <schwab@suse.de>
1746
1747 [BZ #15804]
1748 * elf/pldd.c (wait_for_ptrace_stop): New function.
1749 (main): Call it after attaching.
1750
098ad55c
RM
17512014-02-22 Roland McGrath <roland@hack.frob.com>
1752
d4ec6ae1
RM
1753 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
1754 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
1755 Versions files is now verboten.
1756 * hurd/Versions (libc: GLIBC_2.0):
1757 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
1758 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
1759 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
1760 * mach/Versions: Likewise.
1761
098ad55c
RM
1762 * csu/Versions: Remove unused %include.
1763 * resolv/Versions: Likewise.
1764
acd7f096
JM
17652014-02-21 Joseph Myers <joseph@codesourcery.com>
1766
f0881698
JM
1767 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
1768 ($(objpfx)check-local-headers.out): Likewise.
1769 ($(objpfx)begin-end-check.out): Likewise.
1770 * Makerules (check-abi-%.out): Likewise.
1771 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
1772 ($(objpfx)test2.cat): Likewise.
1773 ($(objpfx)de/libc.cat): Likewise.
1774 ($(objpfx)test-gencat.out): Likewise.
1775 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
1776 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
1777 ($(objpfx)noload-mem): Likewise.
1778 ($(objpfx)tst-pathopt.out): Likewise.
1779 ($(objpfx)tst-rtld-load-self.out): Likewise.
1780 ($(objpfx)tst-array1-cmp.out): Likewise.
1781 ($(objpfx)tst-array1-static-cmp.out): Likewise.
1782 ($(objpfx)tst-array2-cmp.out): Likewise.
1783 ($(objpfx)tst-array3-cmp.out): Likewise.
1784 ($(objpfx)tst-array4-cmp.out): Likewise.
1785 ($(objpfx)tst-array5-cmp.out): Likewise.
1786 ($(objpfx)tst-array5-static-cmp.out): Likewise.
1787 ($(objpfx)check-textrel.out): Likewise.
1788 ($(objpfx)check-execstack.out): Likewise.
1789 ($(objpfx)check-localplt.out): Likewise.
1790 ($(objpfx)order2-cmp.out): Likewise.
1791 ($(objpfx)tst-leaks1-mem): Likewise.
1792 ($(objpfx)tst-leaks1-static-mem): Likewise.
1793 ($(objpfx)tst-initorder-cmp.out): Likewise.
1794 ($(objpfx)tst-initorder2-cmp.out): Likewise.
1795 ($(objpfx)tst-unused-dep.out): Likewise.
1796 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
1797 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
1798 * iconv/Makefile (test-iconvconfig): Likewise.
1799 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
1800 ($(objpfx)iconv-test.out): Likewise.
1801 ($(objpfx)tst-tables.out): Likewise.
1802 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
1803 ($(objpfx)tst-gettext.out): Likewise.
1804 ($(objpfx)tst-translit.out): Likewise.
1805 ($(objpfx)tst-gettext2.out): Likewise.
1806 ($(objpfx)tst-gettext4.out): Likewise.
1807 ($(objpfx)tst-gettext6.out): Likewise.
1808 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
1809 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
1810 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
1811 ($(objpfx)tst-fopenloc-mem.out): Likewise.
1812 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
1813 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
1814 * posix/Makefile ($(objpfx)globtest.out): Likewise.
1815 ($(objpfx)wordexp-tst.out): Likewise.
1816 ($(objpfx)annexc.out): Likewise.
1817 ($(objpfx)tst-fnmatch-mem): Likewise.
1818 ($(objpfx)bug-regex2-mem): Likewise.
1819 ($(objpfx)bug-regex14-mem): Likewise.
1820 ($(objpfx)bug-regex21-mem): Likewise.
1821 ($(objpfx)bug-regex31-mem): Likewise.
1822 ($(objpfx)tst-vfork3-mem): Likewise.
1823 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1824 ($(objpfx)tst-pcre-mem): Likewise.
1825 ($(objpfx)tst-boost-mem): Likewise.
1826 ($(objpfx)tst-getconf.out): Likewise.
1827 ($(objpfx)bug-ga2-mem): Likewise.
1828 ($(objpfx)bug-glob2-mem): Likewise.
1829 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
1830 ($(objpfx)mtrace-tst-leaks2): Likewise.
1831 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
1832 ($(objpfx)tst-printf.out): Likewise.
1833 ($(objpfx)tst-setvbuf1.out): Likewise.
1834 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
1835 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
1836 ($(objpfx)tst-fmtmsg.out): Likewise.
1837 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
1838 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
1839
acd7f096
JM
1840 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
1841 * bits/sigaction.h [__USE_MISC]: Likewise.
1842 * bits/waitstatus.h: Update #endif comments.
1843 * ctype/ctype.h: Likewise.
1844 * dirent/dirent.h: Likewise.
1845 [__USE_MISC]: Remove redundant conditionals.
1846 * grp/grp.h: Update #endif comments.
1847 [__USE_GNU]: Remove redundant conditionals.
1848 [__USE_MISC]: Likewise.
1849 * inet/netinet/in.h [__USE_GNU]: Likewise.
1850 * io/sys/stat.h [__USE_MISC]: Likewise.
1851 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
1852 * libio/bits/stdio.h: Update #endif comments.
1853 [__USE_MISC]: Remove redundant conditionals.
1854 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
1855 * libio/stdio.h: Update #endif comments.
1856 [__USE_MISC]: Remove redundant conditionals.
1857 * math/bits/math-finite.h [__USE_MISC]: Likewise.
1858 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
1859 * math/math.h: Update #else and #endif comments.
1860 [__USE_MISC]: Remove redundant conditionals.
1861 * misc/sys/uio.h: Update #endif comments.
1862 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
1863 * posix/glob.h [__USE_MISC]: Likewise.
1864 * posix/sys/types.h: Update #endif comments.
1865 [__USE_MISC]: Remove redundant conditionals.
1866 * posix/sys/wait.h: Update #endif comments.
1867 [__USE_MISC]: Remove redundant conditionals.
1868 * posix/unistd.h: Update #endif comments.
1869 [__USE_MISC]: Remove redundant conditionals.
1870 * pwd/pwd.h [__USE_GNU]: Likewise.
1871 [__USE_MISC]: Likewise.
1872 * resolv/netdb.h [__USE_GNU]: Likewise.
1873 * signal/signal.h: Update #endif comments.
1874 [__USE_MISC]: Remove redundant conditionals.
1875 * stdlib/stdlib.h: Update #else and #endif comments.
1876 [__USE_MISC]: Remove redundant conditionals.
1877 [__USE_GNU]: Likewise.
1878 * string/bits/string2.h [__USE_MISC]: Likewise.
1879 * string/string.h: Update #endif comments.
1880 [__USE_MISC]: Remove redundant conditionals.
1881 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
1882 Likewise.
1883 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
1884 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
1885 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
1886 Likewise.
1887 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
1888 Likewise.
1889 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
1890 comments.
1891 [__USE_MISC]: Remove redundant conditionals.
1892 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
1893 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
1894 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
1895 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
1896 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
1897 Likewise.
1898 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
1899 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
1900 Likewise.
1901 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
1902 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
1903 Likewise.
1904 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
1905 Likewise.
1906 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
1907 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
1908 Likewise.
1909 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
1910 Likewise.
1911 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
1912 * sysdeps/x86/bits/string.h: Update #endif comments.
1913 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
1914 conditionals.
1915 * time/sys/time.h: Update #endif comments.
1916 * time/time.h: Likewise.
1917 [__USE_MISC]: Remove redundant conditionals.
1918
a5d82e4e
YG
19192014-02-21 Yury Gribov <y.gribov@samsung.com>
1920
1921 [BZ #16600]
1922 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
1923
9a80491d
AS
19242014-02-21 Andreas Schwab <schwab@linux-m68k.org>
1925
1926 * Versions.def (librt): Add GLIBC_2.17.
1927
105fa381
AC
19282014-02-21 Adam Conrad <adconrad@0c3.net>
1929
1930 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
1931 synonym for _SYS_AUXV_H to allow direct inclusion.
1932 * sysdeps/sparc/bits/hwcap.h: Likewise.
1933 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
1934 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
1935 * sysdeps/sparc/sysdep.h: Likewise.
1936
b8cd1c4e
SP
19372014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1938
1939 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
1940
bd939d23
RS
19412014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1942
1943 * benchtests/bench-strrchr.c: Print length instead of position.
1944
5d7b57ca
JM
19452014-02-20 Joseph Myers <joseph@codesourcery.com>
1946
bc688c10
JM
1947 [BZ #16611]
1948 * sysdeps/unix/sysv/linux/kernel-features.h
1949 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
1950 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
1951 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
1952 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
1953 Likewise.
1954 [__i386__ || __powerpc__ || __sh__ || __sparc__]
1955 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1956 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
1957 (__ASSUME_SENDMMSG): Define instead of using previous
1958 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
1959 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1960 (__ASSUME_SENDMMSG_SYSCALL): Define.
1961 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1962 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
1963 Likewise.
1964 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1965 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1966 Likewise.
1967 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1968 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1969 Likewise.
1970 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
1971 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
1972 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
1973 [__ASSUME_SENDMMSG]: Change conditionals to
1974 [__ASSUME_SENDMMSG_SOCKETCALL].
1975 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1976 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
1977 Define.
1978 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1979 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
1980 Likewise.
1981 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
1982 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
1983 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
1984 [!__ASSUME_SENDMMSG]: Change conditional to
1985 [!__ASSUME_SENDMMSG_SOCKETCALL].
1986 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1987 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1988 Define.
1989
0e31b18c
JM
1990 [BZ #16610]
1991 * sysdeps/unix/sysv/linux/kernel-features.h
1992 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
1993 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
1994 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
1995 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
1996 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1997 [__i386__ || __sparc__]
1998 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1999 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2000 (__ASSUME_RECVMMSG): Define instead of using previous
2001 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2002 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2003 (__ASSUME_RECVMMSG_SYSCALL): Define.
2004 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2005 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2006 Likewise.
2007 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2008 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2009 Likewise.
2010 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2011 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2012 Likewise.
2013 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2014 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2015 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2016 [__ASSUME_RECVMMSG]: Change condition to
2017 [__ASSUME_RECVMMSG_SOCKETCALL].
2018 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2019 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2020 Define.
2021 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2022 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2023 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2024 Likewise.
2025 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2026 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2027 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2028 [!__ASSUME_RECVMMSG]: Change condition to
2029 [!__ASSUME_RECVMMSG_SOCKETCALL].
2030 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2031 (__ASSUME_RECVMMSG_SYSCALL): Define.
2032
dd481ccf
JM
2033 [BZ #16609]
2034 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2035 __powerpc__ || __s390__ || __sh__ || __sparc__]
2036 (__ASSUME_SOCKETCALL): Define.
2037 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2038 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2039 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2040 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2041 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2042 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2043 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2044 (__ASSUME_ACCEPT4): Define instead of using previous
2045 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2046 __powerpc__ || __sparc__ || __s390__)] condition.
2047 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2048 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2049 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2050 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2051 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2052 [!__ASSUME_ACCEPT4]: Change condition to
2053 [!__ASSUME_ACCEPT4_SOCKETCALL].
2054 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2055 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
2056 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2057 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2058 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2059 __ASSUME_ACCEPT4_SYSCALL.
2060 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2061 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2062 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2063 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2064 __ASSUME_ACCEPT4_SYSCALL.
2065 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2066 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2067 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2068 [__ASSUME_ACCEPT4]: Change condition to
2069 [__ASSUME_ACCEPT4_SOCKETCALL].
2070 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2071 (__ASSUME_SOCKETCALL): Define.
2072 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2073 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2074 (__ASSUME_SOCKETCALL): Define.
2075 (__ASSUME_ACCEPT4): Remove.
2076 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2077 Define.
2078 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2079 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2080 Likewise.
2081 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2082 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2083
5d7b57ca
JM
2084 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2085 macro.
2086 (HWCAP_ARM_LPAE): Likewise.
2087 (HWCAP_ARM_EVTSTRM): Likewise.
2088 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2089 Add vpfd32, lpae and evtstrm.
2090 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2091 Increase to 22.
2092
63689d61
JM
20932014-02-19 Joseph Myers <joseph@codesourcery.com>
2094
2095 * math/auto-libm-test-in: Add tests of clog10.
2096 * math/auto-libm-test-out: Regenerated.
2097 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2098 * sysdeps/i386/fpu/libm-test-ulps: Update.
2099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2100
ab09bf61
AS
21012014-02-18 Andreas Schwab <schwab@suse.de>
2102
2103 [BZ #16574]
2104 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2105 Store non-zero if the second buffer was newly allocated.
2106 (send_dg): Likewise.
2107 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2108 to send_vc and send_dg.
2109 (res_nsend): Pass NULL for ansp2_malloced.
2110 * resolv/res_query.c (__libc_res_nquery): Add parameter
2111 answerp2_malloced and pass it down to __libc_res_nsend.
2112 (res_nquery): Pass additional NULL to __libc_res_nquery.
2113 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2114 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
2115 second answer buffer if answerp2_malloced was set.
2116 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2117 (__libc_res_nquerydomain): Add parameter
2118 answerp2_malloced and pass it down to __libc_res_nquery.
2119 (res_nquerydomain): Pass additional NULL to
2120 __libc_res_nquerydomain.
2121 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2122 additional NULL to __libc_res_nsend and __libc_res_nquery.
2123 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2124 additional NULL to __libc_res_nsearch.
2125 (_nss_dns_gethostbyname4_r): Revert last change. Use new
2126 parameter of __libc_res_nsearch to check for separately allocated
2127 second buffer.
2128 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2129 __libc_res_nquery.
2130 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2131 additional NULL to __libc_res_nquery.
2132 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2133 __libc_res_nsearch.
2134 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2135 * include/resolv.h: Update prototypes of __libc_res_nquery,
2136 __libc_res_nsearch, __libc_res_nsend.
2137
a4fb7861
JM
21382014-02-18 Joseph Myers <joseph@codesourcery.com>
2139
c6af2d89
JM
2140 * math/auto-libm-test-in: Add tests of fma.
2141 * math/auto-libm-test-out: Regenerated.
2142 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2143 (fma_towardzero_test_data): Likewise.
2144 (fma_downward_test_data): Likewise.
2145 (fma_upward_test_data): Likewise.
2146 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2147 mpc_mode.
2148 (rounding_modes): Add values for new field.
2149 (func_calc_method): Add value mpfr_fff_f.
2150 (func_calc_desc): Add mpfr_fff_f union field.
2151 (test_function): Add field exact_args.
2152 (FUNC): Add macro argument EXACT_ARGS.
2153 (FUNC_mpfr_f_f): Update call to FUNC.
2154 (FUNC_mpfr_f_f): Likewise.
2155 (FUNC_mpfr_ff_f): Likewise.
2156 (FUNC_mpfr_if_f): Likewise.
2157 (FUNC_mpc_c_f): Likewise.
2158 (FUNC_mpc_c_c): Likewise.
2159 (test_functions): Add fma. Update calls to FUNC.
2160 (handle_input_arg): Add argument exact_args.
2161 (add_test): Update call to handle_input_arg.
2162 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
2163 (output_for_one_input_case): Update call to calc_generic_results.
2164 Recalculate exact zero results in each rounding mode.
2165
a4fb7861
JM
2166 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2167 non-negative before setting low bit.
2168 * math/auto-libm-test-in: Mark one asin test possibly having
2169 spurious underflow.
2170 * math/auto-libm-test-out: Regenerated.
2171 * sysdeps/i386/fpu/libm-test-ulps: Update.
2172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2173
ef114eaf
DH
21742014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
2175
2b7f4f2c
SP
2176 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2177 * sysdeps/unix/sysv/linux/microblaze: Move directory from
2178 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
2179 * README: Add missing listing for microblaze*-*-linux-gnu.
2180
c70a4b1d
MF
21812014-02-16 Mike Frysinger <vapier@gentoo.org>
2182
2183 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2184 * sysdeps/unix/sysv/linux/ia64: Move directory from
2185 ports/sysdeps/unix/sysv/linux/ia64.
2186 * README: Update listing for ia64-*-linux-gnu.
2187
591aeaf7
TD
21882014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
2189 Joseph Myers <joseph@codesourcery.com>
2190
2191 * Makeconfig (test-name): New variable.
2192 (evaluate-test): Likewise.
2193 * Makerules (do-test-clean): Remove .test-result files.
2194 (common-mostlyclean): Likewise.
2195 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2196 * scripts/evaluate-test.sh: New file.
2197
6e89caf1
JM
21982014-02-14 Joseph Myers <joseph@codesourcery.com>
2199
7f98f180
JM
2200 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2201 separate $(objpfx)tst-fopenloc-cmp.out and
2202 $(objpfx)tst-fopenloc-mem.out targets.
2203 (tests): Update dependencies.
2204 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2205 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2206 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2207 (tst-rxspencer-no-utf8-ARGS): New variable.
2208 (tst-rxspencer-no-utf8-ENV): Likewise.
2209 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2210 instead of $(objpfx)tst-rxspencer-mem.
2211 ($(objpfx)tst-rxspencer-mem): Change target to
2212 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
2213 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2214 * posix/tst-rxspencer-no-utf8.c: New file.
2215
6e89caf1
JM
2216 * elf/Makefile ($(objpfx)order.out): Remove rule.
2217 [$(run-built-tests) = yes] (tests): Depend on
2218 $(objpfx)order-cmp.out.
2219 ($(objpfx)order-cmp.out): New rule.
2220 [$(run-built-tests) = yes] (tests): Depend on
2221 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2222 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2223 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2224 $(objpfx)tst-array5-static-cmp.out.
2225 ($(objpfx)tst-array1.out): Remove rule.
2226 ($(objpfx)tst-array1-cmp.out): New rule.
2227 ($(objpfx)tst-array1-static.out): Remove rule.
2228 ($(objpfx)tst-array1-static-cmp.out): New rule.
2229 ($(objpfx)tst-array2.out): Remove rule.
2230 ($(objpfx)tst-array2-cmp.out): New rule.
2231 ($(objpfx)tst-array3.out): Remove rule.
2232 ($(objpfx)tst-array3-cmp.out): New rule.
2233 ($(objpfx)tst-array4.out): Remove rule.
2234 ($(objpfx)tst-array4-cmp.out): New rule.
2235 ($(objpfx)tst-array5.out): Remove rule.
2236 ($(objpfx)tst-array5-cmp.out): New rule.
2237 ($(objpfx)tst-array5-static.out): Remove rule.
2238 ($(objpfx)tst-array5-static-cmp.out): New rule.
2239 [$(run-built-tests) = yes] (tests): Depend on
2240 $(objpfx)order2-cmp.out.
2241 ($(objpfx)order2.out): Remove rule.
2242 ($(objpfx)order2-cmp.out): New rule.
2243 ($(objpfx)tst-initorder.out): Remove rule.
2244 [$(run-built-tests) = yes] (tests): Depend on
2245 $(objpfx)tst-initorder-cmp.out.
2246 ($(objpfx)tst-initorder-cmp.out): New rule.
2247 ($(objpfx)tst-initorder2.out): Remove rule.
2248 [$(run-built-tests) = yes] (tests): Depend on
2249 $(objpfx)tst-initorder2-cmp.out.
2250 ($(objpfx)tst-initorder2-cmp.out): New rule.
2251 [$(run-built-tests) = yes] (tests): Depend on
2252 $(objpfx)tst-unused-dep-cmp.out.
2253 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2254 ($(objpfx)tst-unused-dep-cmp.out): New rule.
2255 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2256 on $(objpfx)tst-setvbuf1-cmp.out.
2257 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2258 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2259 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2260 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2261 ($(objpfx)tst-svc.out): Remove rule.
2262 ($(objpfx)tst-svc-cmp.out): New rule.
2263
ed9a38e2
JM
22642014-02-13 Joseph Myers <joseph@codesourcery.com>
2265
2266 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
2267 * ctype/ctype.h [__USE_MISC]: Likewise.
2268 * dirent/dirent.h [__USE_MISC]: Likewise.
2269 * grp/grp.h [__USE_MISC]: Likewise.
2270 * io/fcntl.h [__USE_MISC]: Likewise.
2271 * io/sys/stat.h [__USE_MISC]: Likewise.
2272 * libio/stdio.h [__USE_MISC]: Likewise.
2273 * posix/unistd.h [__USE_MISC]: Likewise.
2274 * pwd/pwd.h [__USE_MISC]: Likewise.
2275 * stdlib.h [__USE_MISC]: Likewise.
2276 * string/bits/string2.h [__USE_MISC]: Likewise.
2277 * string/string.h [__USE_MISC]: Likewise.
2278 * time/time.h [__USE_MISC]: Likewise.
2279
d6680619
AS
22802014-02-13 Andreas Schwab <schwab@suse.de>
2281
2282 [BZ #16574]
2283 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
2284 second answer buffer if it was separately allocated.
2285
ace614b8
JM
22862014-02-12 Joseph Myers <joseph@codesourcery.com>
2287
743151ae
JM
2288 * sysdeps/mips/math-tests.h: Include <features.h>.
2289 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2290 (ROUNDING_TESTS_long_double): Do not define.
2291 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2292 (EXCEPTION_TESTS_long_double): Likewise.
2293 * sysdeps/mips/mips64/libm-test-ulps: Update.
2294
498afc54
JM
2295 * include/features.h (__USE_BSD): Remove macro definitions.
2296 (__USE_SVID): Likewise.
2297 (_BSD_SOURCE): Likewise.
2298 (_SVID_SOURCE): Likewise.
2299 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
2300 from definition of _DEFAULT_SOURCE.
2301 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
2302 [_DEFAULT_SOURCE].
2303 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
2304 * bits/mman.h [__USE_BSD]: Likewise.
2305 * bits/termios.h [__USE_BSD]: Likewise.
2306 * bits/waitstatus.h [__USE_BSD]: Likewise.
2307 * ctype/ctype.h [__USE_SVID]: Likewise.
2308 * dirent/dirent.h [__USE_BSD]: Likewise.
2309 * grp/grp.h [__USE_SVID]: Likewise.
2310 [__USE_BSD]: Likewise.
2311 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
2312 * io/fcntl.h [__USE_BSD]: Likewise.
2313 * io/ftw.h [__USE_BSD]: Likewise.
2314 * io/sys/stat.h [__USE_BSD]: Likewise.
2315 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
2316 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
2317 * libio/stdio.h [__USE_SVID]: Likewise.
2318 [__USE_BSD]: Likewise.
2319 * math/math.h [__USE_SVID]: Likewise.
2320 [__USE_BSD]: Likewise.
2321 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
2322 * misc/bits/syslog.h [__USE_BSD]: Likewise.
2323 * misc/search.h [__USE_SVID]: Likewise.
2324 * misc/sys/mman.h [__USE_BSD]: Likewise.
2325 * misc/sys/syslog.h [__USE_BSD]: Likewise.
2326 * misc/sys/uio.h [__USE_BSD]: Likewise.
2327 * posix/bits/unistd.h [__USE_BSD]: Likewise.
2328 * posix/glob.h [__USE_BSD]: Likewise.
2329 * posix/regex.h [__USE_BSD]: Likewise.
2330 * posix/sys/types.h [__USE_BSD]: Likewise.
2331 [__USE_SVID]: Likewise.
2332 * posix/sys/utsname.h [__USE_SVID]: Likewise.
2333 * posix/sys/wait.h [__USE_BSD]: Likewise.
2334 [__USE_SVID]: Likewise.
2335 * posix/unistd.h [__USE_BSD]: Likewise.
2336 [__USE_SVID]: Likewise.
2337 * pwd/pwd.h [__USE_SVID]: Likewise.
2338 * resolv/netdb.h [__USE_BSD]: Likewise.
2339 * setjmp/setjmp.h [__USE_BSD]: Likewise.
2340 * signal/signal.h [__USE_BSD]: Likewise.
2341 [__USE_SVID]: Likewise.
2342 * socket/sys/socket.h [__USE_BSD]: Likewise.
2343 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
2344 * stdlib/stdlib.h [__USE_BSD]: Likewise.
2345 [__USE_SVID]: Likewise.
2346 * string/bits/string2.h [__USE_BSD]: Likewise.
2347 [__USE_SVID]: Likewise.
2348 * string/bits/string3.h [__USE_BSD]: Likewise.
2349 * string/endian.h [__USE_BSD]: Likewise.
2350 * string/string.h [__USE_SVID]: Likewise.
2351 [__USE_BSD]: Likewise.
2352 * string/strings.h [__USE_BSD]: Likewise.
2353 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
2354 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
2355 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
2356 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
2357 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
2358 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
2359 Likewise.
2360 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
2361 Likewise.
2362 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
2363 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
2364 Likewise.
2365 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
2366 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
2367 Likewise.
2368 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
2369 Likewise.
2370 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
2371 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
2372 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
2373 Likewise.
2374 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
2375 Likewise.
2376 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
2377 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
2378 * termios/termios.h [__USE_BSD]: Likewise.
2379 * time/sys/time.h [__USE_BSD]: Likewise.
2380 * time/time.h [__USE_BSD]: Likewise.
2381 [__USE_SVID]: Likewise.
2382
dd7b064c
JM
2383 * Makefile (subdir_targets): Remove subdir_lint.out.
2384
a2c4c199
JM
2385 * stdio-common/Makefile (do-tst-unbputc): Remove target.
2386 (do-tst-printf): Likewise.
2387 (tests): Depend directly on $(objpfx)tst-unbputc.out and
2388 $(objpfx)tst-printf.out.
2389
8756f740
JM
2390 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
2391
1b6dd3f1
JM
2392 * Makerules (check-abi-%): Change target to
2393 $(objpfx)check-abi-%.out.
2394 (check-abi target): Update dependencies.
2395 (check-abi-pattern variable): Redirect output of diff to $@.
2396 (check-abi variable): Likewise.
2397 * elf/Makefile (check-abi): Update dependencies.
2398
ace614b8
JM
2399 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
2400 unused.
2401 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
2402 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
2403 subnormal range.
2404 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
2405 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
2406 value has largest subnormal exponent.
2407 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
2408 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
2409 * sysdeps/aarch64/soft-fp/sfp-machine.h
2410 (_FP_TININESS_AFTER_ROUNDING): New macro.
2411 * sysdeps/alpha/soft-fp/sfp-machine.h
2412 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2413 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2414 Likewise.
2415 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
2416 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2417 * sysdeps/mips/soft-fp/sfp-machine.h
2418 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2419 * sysdeps/powerpc/soft-fp/sfp-machine.h
2420 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2421 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2422 Likewise.
2423 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2424 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2425 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2426 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2427 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2428 Likewise.
2429
fbfdf9cb
DAS
24302014-02-12 Dylan Alex Simon <dylan@dylex.net>
2431
2432 [BZ #16545]
2433 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
2434 model 1.
2435
68b7efaa
RH
24362014-02-12 Richard Henderson <rth@redhat.com>
2437
c70a4b1d 2438 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
2439 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
2440 * sysdeps/unix/sysv/linux/alpha: Move directory from
2441 ports/sysdeps/unix/sysv/linux/alpha.
2442 * README: Update listing for alpha-*-linux-gnu.
2443
cb4a2928
JM
24442014-02-11 Joseph Myers <joseph@codesourcery.com>
2445
c941736c
JM
2446 * include/features.h: Update comment documenting feature test
2447 macros.
2448 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
2449 _DEFAULT_SOURCE.
2450 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
2451 (_SVID_SOURCE): Likewise.
2452 (_DEFAULT_SOURCE): Update description of default features.
2453 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
2454 with _GNU_SOURCE.
2455 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
2456 (S_ISVTX): Likewise.
2457 * manual/math.texi (Mathematical Constants): Likewise.
2458 * manual/signal.texi (Interrupted Primitives): Likewise.
2459 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
2460 * math/test-matherr.c (_SVID_SOURCE): Do not define.
2461 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
2462 Don't refer to _SVID_SOURCE in warning text.
2463
e8d8d7ec
JM
2464 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2465
cb4a2928
JM
2466 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
2467 already defined.
2468 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
2469 * sysdeps/mips/dl-lookup.c: Remove.
2470 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
2471
7e6424e3
AK
24722014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2473
2474 [BZ #16447]
2475 * math/auto-libm-test-in: Add testcase for expl.
2476 * math/auto-libm-test-out: Regenerate.
2477 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
2478 calculation of unsafe.
2479 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
2480
75eff3fe
MS
24812014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
2482
2483 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
2484 * sysdeps/unix/sysv/linux/aarch64: Move directory from
2485 ports/sysdeps/unix/sysv/linux/aarch64.
2486 * README: Update listing for aarch64*-*-linux-gnu.
2487
d35f1e80
WN
24882014-02-11 Will Newton <will.newton@linaro.org>
2489
2490 * manual/probes.texi (Mathematical Function Probes): Use
2491 "triggered" instead of "hit".
2492
7b3436d4
WN
24932014-02-11 Will Newton <will.newton@linaro.org>
2494
2495 * manual/probes.texi (Internal Probes): Add documentation
2496 of setjmp, longjmp and longjmp_target probes.
2497
b4f12ca3
WN
24982014-02-11 Will Newton <will.newton@linaro.org>
2499
2500 * include/stap-probe.h: Add comment about probe argument
2501 format.
2502
c13a72b7
WN
25032014-02-11 Will Newton <will.newton@linaro.org>
2504
2505 * malloc/mtrace.c (attribute_hidden): Remove unused macro
2506 definition. (tr_where, tr_freehook, tr_mallochook,
2507 tr_reallochook, tr_memalignhook): Use ANSI protoype.
2508
195b8165
DM
25092014-02-11 David S. Miller <davem@davemloft.net>
2510
2511 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
2512 processing int_tests.
2513
2ad7600b
JM
25142014-02-10 Joseph Myers <joseph@codesourcery.com>
2515
2516 * sysdeps/mips: Move directory from ports/sysdeps/mips.
2517 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
2518 * sysdeps/unix/sysv/linux/mips: Move directory from
2519 ports/sysdeps/unix/sysv/linux/mips.
2520 * README: Update listing for mips-*-linux-gnu and
2521 mips64-*-linux-gnu.
2522
73588a72
AS
25232014-02-10 Andreas Schwab <schwab@linux-m68k.org>
2524
2525 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
2526 * sysdeps/unix/sysv/linux/m68k: Move directory from
2527 ports/sysdeps/unix/sysv/linux/m68k.
2528 * README: Update listing for m68k-*-linux-gnu.
2529
4372980f
CM
25302014-02-10 Chris Metcalf <cmetcalf@tilera.com>
2531
2532 * sysdeps/tile: Move directory from ports/sysdeps/tile.
2533 * sysdeps/unix/sysv/linux/generic: Move directory from
2534 ports/sysdeps/unix/sysv/linux/generic.
2535 * sysdeps/unix/sysv/linux/tile: Move directory from
2536 ports/sysdeps/unix/sysv/linux/tile.
2537 * README: Update listing for tile*-*-linux-gnu.
2538
a1ffb40e
OB
25392014-02-10 Ondřej Bílka <neleai@seznam.cz>
2540
2541 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
2542 * benchtests/bench-memmem.c (simple_memmem): Likewise.
2543 * catgets/open_catalog.c (__open_catalog): Likewise.
2544 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
2545 * debug/confstr_chk.c: Likewise.
2546 * debug/fread_chk.c (__fread_chk): Likewise.
2547 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
2548 * debug/getgroups_chk.c: Likewise.
2549 * debug/mbsnrtowcs_chk.c: Likewise.
2550 * debug/mbsrtowcs_chk.c: Likewise.
2551 * debug/mbstowcs_chk.c: Likewise.
2552 * debug/memcpy_chk.c: Likewise.
2553 * debug/memmove_chk.c: Likewise.
2554 * debug/mempcpy_chk.c: Likewise.
2555 * debug/memset_chk.c: Likewise.
2556 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2557 * debug/strcat_chk.c (__strcat_chk): Likewise.
2558 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
2559 * debug/strncat_chk.c (__strncat_chk): Likewise.
2560 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
2561 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
2562 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
2563 * debug/wcpncpy_chk.c: Likewise.
2564 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2565 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
2566 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
2567 * debug/wcsncpy_chk.c: Likewise.
2568 * debug/wcsnrtombs_chk.c: Likewise.
2569 * debug/wcsrtombs_chk.c: Likewise.
2570 * debug/wcstombs_chk.c: Likewise.
2571 * debug/wmemcpy_chk.c: Likewise.
2572 * debug/wmemmove_chk.c: Likewise.
2573 * debug/wmempcpy_chk.c: Likewise.
2574 * debug/wmemset_chk.c: Likewise.
2575 * dirent/scandirat.c (SCANDIRAT): Likewise.
2576 * dlfcn/dladdr1.c (dladdr1): Likewise.
2577 * dlfcn/dladdr.c (dladdr): Likewise.
2578 * dlfcn/dlclose.c (dlclose_doit): Likewise.
2579 * dlfcn/dlerror.c (__dlerror): Likewise.
2580 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
2581 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
2582 * dlfcn/dlopen.c (dlopen_doit): Likewise.
2583 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
2584 * dlfcn/dlsym.c (dlsym_doit): Likewise.
2585 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
2586 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
2587 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
2588 Likewise.
2589 * elf/dl-conflict.c: Likewise.
2590 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
2591 * elf/dl-dst.h: Likewise.
2592 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
2593 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
2594 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
2595 * elf/dl-init.c (call_init, _dl_init): Likewise.
2596 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
2597 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
2598 _dl_map_object_from_fd, open_verify, open_path,
2599 _dl_map_object): Likewise.
2600 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
2601 Likewise.
2602 * elf/dl-minimal.c (__libc_memalign): Likewise.
2603 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
2604 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2605 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
2606 * elf/dl-sym.c (do_sym): Likewise.
2607 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
2608 _dl_tls_get_addr_soft): Likewise.
2609 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
2610 * elf/dl-writev.h (_dl_writev): Likewise.
2611 * elf/ldconfig.c (search_dir): Likewise.
2612 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
2613 dl_main): Likewise.
2614 * elf/setup-vdso.h (setup_vdso): Likewise.
2615 * grp/compat-initgroups.c (compat_call): Likewise.
2616 * grp/fgetgrent.c (fgetgrent): Likewise.
2617 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
2618 * grp/putgrent.c (putgrent): Likewise.
2619 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2620 Likewise.
2621 * hurd/hurdinit.c: Likewise.
2622 * iconvdata/8bit-gap.c (struct): Likewise.
2623 * iconvdata/ansi_x3.110.c : Likewise.
2624 * iconvdata/big5.c : Likewise.
2625 * iconvdata/big5hkscs.c : Likewise.
2626 * iconvdata/cp1255.c: Likewise.
2627 * iconvdata/cp1258.c : Likewise.
2628 * iconvdata/cp932.c : Likewise.
2629 * iconvdata/euc-cn.c: Likewise.
2630 * iconvdata/euc-jisx0213.c : Likewise.
2631 * iconvdata/euc-jp.c: Likewise.
2632 * iconvdata/euc-jp-ms.c : Likewise.
2633 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
2634 * iconvdata/gb18030.c : Likewise.
2635 * iconvdata/gbbig5.c (const): Likewise.
2636 * iconvdata/gbgbk.c: Likewise.
2637 * iconvdata/gbk.c : Likewise.
2638 * iconvdata/ibm1364.c : Likewise.
2639 * iconvdata/ibm930.c : Likewise.
2640 * iconvdata/ibm932.c: Likewise.
2641 * iconvdata/ibm933.c : Likewise.
2642 * iconvdata/ibm935.c : Likewise.
2643 * iconvdata/ibm937.c : Likewise.
2644 * iconvdata/ibm939.c : Likewise.
2645 * iconvdata/ibm943.c: Likewise.
2646 * iconvdata/iso_11548-1.c: Likewise.
2647 * iconvdata/iso-2022-cn.c : Likewise.
2648 * iconvdata/iso-2022-cn-ext.c : Likewise.
2649 * iconvdata/iso-2022-jp-3.c: Likewise.
2650 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
2651 * iconvdata/iso-2022-kr.c : Likewise.
2652 * iconvdata/iso646.c (gconv_end): Likewise.
2653 * iconvdata/iso_6937-2.c : Likewise.
2654 * iconvdata/iso_6937.c : Likewise.
2655 * iconvdata/iso8859-1.c: Likewise.
2656 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
2657 * iconvdata/shift_jisx0213.c : Likewise.
2658 * iconvdata/sjis.c : Likewise.
2659 * iconvdata/t.61.c : Likewise.
2660 * iconvdata/tcvn5712-1.c : Likewise.
2661 * iconvdata/tscii.c: Likewise.
2662 * iconvdata/uhc.c : Likewise.
2663 * iconvdata/unicode.c (gconv_end): Likewise.
2664 * iconvdata/utf-16.c (gconv_end): Likewise.
2665 * iconvdata/utf-32.c (gconv_end): Likewise.
2666 * iconvdata/utf-7.c (base64): Likewise.
2667 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
2668 * iconv/gconv_close.c (__gconv_close): Likewise.
2669 * iconv/gconv_open.c (__gconv_open): Likewise.
2670 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
2671 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
2672 internal_ucs4le_loop_single, ucs4le_internal_loop,
2673 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
2674 * iconv/iconv.c (iconv): Likewise.
2675 * iconv/iconv_close.c: Likewise.
2676 * iconv/loop.c (SINGLE): Likewise.
2677 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
2678 * include/atomic.h: Likewise.
2679 * inet/inet6_option.c (option_alloc): Likewise.
2680 * intl/bindtextdom.c (set_binding_values): Likewise.
2681 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
2682 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
2683 * intl/localealias.c (read_alias_file): Likewise.
2684 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2685 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
2686 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
2687 * libio/fmemopen.c (fmemopen): Likewise.
2688 * libio/iofgets.c (_IO_fgets): Likewise.
2689 * libio/iofgets_u.c (fgets_unlocked): Likewise.
2690 * libio/iofgetws.c (fgetws): Likewise.
2691 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
2692 * libio/iogetdelim.c (_IO_getdelim): Likewise.
2693 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
2694 adjust_wide_data, _IO_wfile_seekoff): Likewise.
2695 * locale/findlocale.c (_nl_find_locale): Likewise.
2696 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2697 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
2698 Likewise.
2699 * locale/setlocale.c (setlocale): Likewise.
2700 * login/programs/pt_chown.c (main): Likewise.
2701 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
2702 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
2703 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
2704 mmap, mmap64, mremap, munmap): Likewise.
2705 * math/e_exp2l.c: Likewise.
2706 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
2707 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
2708 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
2709 * math/s_catan.c (__catan): Likewise.
2710 * math/s_catanf.c (__catanf): Likewise.
2711 * math/s_catanh.c (__catanh): Likewise.
2712 * math/s_catanhf.c (__catanhf): Likewise.
2713 * math/s_catanhl.c (__catanhl): Likewise.
2714 * math/s_catanl.c (__catanl): Likewise.
2715 * math/s_ccosh.c (__ccosh): Likewise.
2716 * math/s_ccoshf.c (__ccoshf): Likewise.
2717 * math/s_ccoshl.c (__ccoshl): Likewise.
2718 * math/s_cexp.c (__cexp): Likewise.
2719 * math/s_cexpf.c (__cexpf): Likewise.
2720 * math/s_cexpl.c (__cexpl): Likewise.
2721 * math/s_clog10.c (__clog10): Likewise.
2722 * math/s_clog10f.c (__clog10f): Likewise.
2723 * math/s_clog10l.c (__clog10l): Likewise.
2724 * math/s_clog.c (__clog): Likewise.
2725 * math/s_clogf.c (__clogf): Likewise.
2726 * math/s_clogl.c (__clogl): Likewise.
2727 * math/s_csin.c (__csin): Likewise.
2728 * math/s_csinf.c (__csinf): Likewise.
2729 * math/s_csinh.c (__csinh): Likewise.
2730 * math/s_csinhf.c (__csinhf): Likewise.
2731 * math/s_csinhl.c (__csinhl): Likewise.
2732 * math/s_csinl.c (__csinl): Likewise.
2733 * math/s_csqrt.c (__csqrt): Likewise.
2734 * math/s_csqrtf.c (__csqrtf): Likewise.
2735 * math/s_csqrtl.c (__csqrtl): Likewise.
2736 * math/s_ctan.c (__ctan): Likewise.
2737 * math/s_ctanf.c (__ctanf): Likewise.
2738 * math/s_ctanh.c (__ctanh): Likewise.
2739 * math/s_ctanhf.c (__ctanhf): Likewise.
2740 * math/s_ctanhl.c (__ctanhl): Likewise.
2741 * math/s_ctanl.c (__ctanl): Likewise.
2742 * math/w_pow.c: Likewise.
2743 * math/w_powf.c: Likewise.
2744 * math/w_powl.c: Likewise.
2745 * math/w_scalb.c (sysv_scalb): Likewise.
2746 * math/w_scalbf.c (sysv_scalbf): Likewise.
2747 * math/w_scalbl.c (sysv_scalbl): Likewise.
2748 * misc/error.c (error_tail): Likewise.
2749 * misc/pselect.c (__pselect): Likewise.
2750 * nis/nis_callback.c (__nis_create_callback): Likewise.
2751 * nis/nis_call.c (__nisfind_server): Likewise.
2752 * nis/nis_creategroup.c (nis_creategroup): Likewise.
2753 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
2754 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2755 * nis/nis_getservlist.c (nis_getservlist): Likewise.
2756 * nis/nis_lookup.c (nis_lookup): Likewise.
2757 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
2758 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
2759 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
2760 * nis/nis_xdr.c (xdr_endpoint): Likewise.
2761 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
2762 internal_getgrgid_r): Likewise.
2763 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
2764 Likewise.
2765 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
2766 internal_getpwuid_r): Likewise.
2767 * nis/nss_compat/compat-spwd.c (getspent_next_file,
2768 internal_getspnam_r): Likewise.
2769 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
2770 _nss_nis_getaliasbyname_r): Likewise.
2771 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
2772 _nss_nis_getntohost_r): Likewise.
2773 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
2774 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
2775 Likewise.
2776 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
2777 internal_nis_gethostent_r, internal_gethostbyname2_r,
2778 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
2779 _nss_nis_gethostbyname4_r): Likewise.
2780 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
2781 initgroups_netid): Likewise.
2782 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
2783 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
2784 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
2785 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
2786 _nss_nis_getprotobynumber_r): Likewise.
2787 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
2788 _nss_nis_getsecretkey): Likewise.
2789 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
2790 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
2791 Likewise.
2792 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
2793 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
2794 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
2795 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
2796 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
2797 _nss_nis_getspnam_r): Likewise.
2798 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
2799 Likewise.
2800 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
2801 _nss_nisplus_getntohost_r): Likewise.
2802 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
2803 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
2804 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
2805 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
2806 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
2807 Likewise.
2808 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
2809 _nss_nisplus_getnetbyaddr_r): Likewise.
2810 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
2811 _nss_nisplus_getprotobynumber_r): Likewise.
2812 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
2813 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
2814 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
2815 Likewise.
2816 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
2817 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
2818 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
2819 _nss_nisplus_getspnam_r): Likewise.
2820 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
2821 * nscd/aicache.c (addhstaiX): Likewise.
2822 * nscd/cache.c (cache_search, prune_cache): Likewise.
2823 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
2824 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
2825 * nscd/grpcache.c (addgrbyX): Likewise.
2826 * nscd/hstcache.c (addhstbyX): Likewise.
2827 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2828 * nscd/mem.c (gc, mempool_alloc): Likewise.
2829 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
2830 Likewise.
2831 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
2832 Likewise.
2833 * nscd/nscd_getai.c (__nscd_getai): Likewise.
2834 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2835 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
2836 Likewise.
2837 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
2838 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
2839 * nscd/nscd_helper.c (__readvall, open_socket,
2840 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
2841 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
2842 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
2843 * nscd/pwdcache.c (addpwbyX): Likewise.
2844 * nscd/selinux.c (preserve_capabilities): Likewise.
2845 * nscd/servicescache.c (addservbyX): Likewise.
2846 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
2847 * posix/fnmatch.c (fnmatch): Likewise.
2848 * posix/getopt.c (_getopt_internal_r): Likewise.
2849 * posix/glob.c (glob, glob_in_dir): Likewise.
2850 * posix/wordexp.c (exec_comm_child): Likewise.
2851 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
2852 gaih_getanswer_slice): Likewise.
2853 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
2854 * resolv/res_init.c: Likewise.
2855 * resolv/res_mkquery.c (res_nmkquery): Likewise.
2856 * resolv/res_query.c (__libc_res_nquery): Likewise.
2857 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
2858 Likewise.
2859 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
2860 * stdio-common/perror.c (perror): Likewise.
2861 * stdio-common/printf_fp.c (___printf_fp): Likewise.
2862 * stdio-common/tmpnam.c (tmpnam): Likewise.
2863 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2864 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
2865 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
2866 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
2867 * stdlib/putenv.c (putenv): Likewise.
2868 * stdlib/setenv.c (__add_to_environ): Likewise.
2869 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2870 * stdlib/strtol_l.c (INTERNAL): Likewise.
2871 * string/memmem.c (memmem): Likewise.
2872 * string/strerror.c (strerror): Likewise.
2873 * string/strnlen.c (__strnlen): Likewise.
2874 * string/test-memmem.c (simple_memmem): Likewise.
2875 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
2876 * sunrpc/pm_getport.c (__get_socket): Likewise.
2877 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
2878 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
2879 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
2880 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
2881 Likewise.
2882 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
2883 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
2884 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
2885 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
2886 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
2887 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
2888 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
2889 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
2890 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2891 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2892 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
2893 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
2894 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
2895 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2896 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
2897 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
2898 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
2899 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2900 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
2901 Likewise.
2902 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
2903 Likewise.
2904 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
2905 Likewise.
2906 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
2907 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2908 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
2909 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
2910 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
2911 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
2912 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2913 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
2914 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
2915 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
2916 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
2917 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2918 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2919 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
2920 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2921 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
2922 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
2923 Likewise.
2924 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
2925 Likewise.
2926 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
2927 Likewise.
2928 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2929 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2930 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
2931 Likewise.
2932 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
2933 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
2934 * sysdeps/posix/opendir.c (__opendirat): Likewise.
2935 * sysdeps/posix/sleep.c: Likewise.
2936 * sysdeps/posix/tempname.c: Likewise.
2937 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
2938 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2939 Likewise.
2940 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
2941 elf_machine_rela): Likewise.
2942 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2943 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2944 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
2945 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
2946 Likewise.
2947 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
2948 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
2949 elf_machine_rela, elf_machine_lazy_rel): Likewise.
2950 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
2951 elf_machine_rela, elf_machine_lazy_rel): Likewise.
2952 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
2953 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
2954 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
2955 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2956 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
2957 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
2958 elf_machine_lazy_rel): Likewise.
2959 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
2960 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
2961 elf_machine_lazy_rel): Likewise.
2962 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
2963 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
2964 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
2965 * sysdeps/unix/grantpt.c (grantpt): Likewise.
2966 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
2967 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
2968 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
2969 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2970 Likewise.
2971 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
2972 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
2973 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
2974 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
2975 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2976 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2977 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
2978 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
2979 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
2980 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2981 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2982 Likewise.
2983 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
2984 (__posix_fallocate64_l64): Likewise.
2985 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
2986 (posix_fallocate): Likewise.
2987 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
2988 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2989 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
2990 getifaddrs_internal): Likewise.
2991 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
2992 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
2993 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
2994 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2995 * sysdeps/unix/sysv/linux/posix_fallocate64.c
2996 (__posix_fallocate64_l64): Likewise.
2997 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
2998 Likewise.
2999 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3000 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3001 Likewise.
3002 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3003 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3004 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3005 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3006 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3007 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3008 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3009 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3010 Likewise.
3011 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3012 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3013 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3014 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3015 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3016 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3017 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3018 Likewise.
3019 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3020 (posix_fallocate): Likewise.
3021 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3022 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3023 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3024 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3025 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3026 Likewise.
3027 * time/asctime.c (asctime_internal): Likewise.
3028 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3029 * time/tzset.c (__tzset_parse_tz): Likewise.
3030 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3031 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3032 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3033 * wcsmbs/wcsmbsload.h: Likewise.
3034
f3d338c9
OB
30352014-02-10 Ondřej Bílka <neleai@seznam.cz>
3036
3037 [BZ #15894]
3038 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3039
bdfe308a
OB
30402014-02-10 Ondřej Bílka <neleai@seznam.cz>
3041
3042 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3043 arena_get2): Remove THREAD_STATS conditionals.
3044 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3045 __malloc_stats, int): Likewise.
3046
d674667c
MF
30472014-02-08 Mike Frysinger <vapier@gentoo.org>
3048
3049 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3050 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
3051
6349768c
MF
30522014-02-08 Mike Frysinger <vapier@gentoo.org>
3053
3054 * manual/setjmp.texi: Fix typos/grammar errors.
3055
0b7c7473
MF
30562014-02-08 Mike Frysinger <vapier@gentoo.org>
3057
3058 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3059 Only return early when n is <= 0. Delete unused return statement.
3060
ac8cc9e3
MF
30612014-02-08 Mike Frysinger <vapier@gentoo.org>
3062
3063 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3064 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3065 * debug/tst-longjmp_chk3.c: New file.
3066
c5bb8e23
MF
30672014-02-08 Mike Frysinger <vapier@gentoo.org>
3068
3069 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3070 (test_main): Replace code with set_fortify_handler call.
3071 * debug/test-strcpy_chk.c: Likewise.
3072 * debug/tst-chk1.c: Likewise.
3073 * debug/tst-longjmp_chk.c: Likewise.
3074 * test-skeleton.c: Include fcntl.h & paths.h
3075 (set_fortify_handler): Define.
3076
10444e42
MF
30772014-02-08 Mike Frysinger <vapier@gentoo.org>
3078
3079 * debug/tst-longjmp_chk.c: Add header comment and include
3080 ../test-skeleton.c.
3081 (do_test): Mark static.
3082 (TEST_FUNCTION): Define.
3083
1e805e8d
MF
30842014-02-08 Mike Frysinger <vapier@gentoo.org>
3085
3086 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3087 (IP_PMTUDISC_INTERFACE): Likewise.
3088 (IP_MULTICAST_IF): Likewise.
3089 (IP_MULTICAST_TTL): Likewise.
3090 (IP_MULTICAST_LOOP): Likewise.
3091 (IP_ADD_MEMBERSHIP): Likewise.
3092 (IP_DROP_MEMBERSHIP): Likewise.
3093 (IP_UNBLOCK_SOURCE): Likewise.
3094 (IP_BLOCK_SOURCE): Likewise.
3095 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3096 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3097 (IP_MSFILTER): Likewise.
3098 (MCAST_JOIN_GROUP): Likewise.
3099 (MCAST_BLOCK_SOURCE): Likewise.
3100 (MCAST_UNBLOCK_SOURCE): Likewise.
3101 (MCAST_LEAVE_GROUP): Likewise.
3102 (MCAST_JOIN_SOURCE_GROUP): Likewise.
3103 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3104 (MCAST_MSFILTER): Likewise.
3105 (IP_MULTICAST_ALL): Likewise.
3106 (IP_UNICAST_IF): Likewise.
3107
73f79bb7
MF
31082014-02-08 Mike Frysinger <vapier@gentoo.org>
3109
3110 * timezone/Makefile: Delete $(have-ksh) check.
3111 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3112 * timezone/tzselect.ksh: Add +x mode bits.
3113
8da79b60
MF
31142014-02-08 Mike Frysinger <vapier@gentoo.org>
3115
3116 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3117 (ANON_INODE_FS_MAGIC): Likewise.
3118 (BDEVFS_MAGIC): Likewise.
3119 (BINFMTFS_MAGIC): Likewise.
3120 (BTRFS_TEST_MAGIC): Likewise.
3121 (CRAMFS_MAGIC_WEND): Likewise.
3122 (DEBUGFS_MAGIC): Likewise.
3123 (ECRYPTFS_SUPER_MAGIC): Likewise.
3124 (EXT3_SUPER_MAGIC): Likewise.
3125 (EXT4_SUPER_MAGIC): Likewise.
3126 (FUTEXFS_SUPER_MAGIC): Likewise.
3127 (HOSTFS_SUPER_MAGIC): Likewise.
3128 (HUGETLBFS_MAGIC): Likewise.
3129 (MINIX3_SUPER_MAGIC): Likewise.
3130 (MTD_INODE_FS_MAGIC): Likewise.
3131 (NILFS_SUPER_MAGIC): Likewise.
3132 (OPENPROM_SUPER_MAGIC): Likewise.
3133 (PIPEFS_MAGIC): Likewise.
3134 (PSTOREFS_MAGIC): Likewise.
3135 (QNX6_SUPER_MAGIC): Likewise.
3136 (RAMFS_MAGIC): Likewise.
3137 (REISERFS_SUPER_MAGIC_STRING): Likewise.
3138 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3139 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3140 (SECURITYFS_MAGIC): Likewise.
3141 (SELINUX_MAGIC): Likewise.
3142 (SMACK_MAGIC): Likewise.
3143 (SOCKFS_MAGIC): Likewise.
3144 (SQUASHFS_MAGIC): Likewise.
3145 (STACK_END_MAGIC): Likewise.
3146 (TMPFS_MAGIC): Likewise.
3147 (USBDEVICE_SUPER_MAGIC): Likewise.
3148 (V9FS_MAGIC): Likewise.
3149 (XENFS_SUPER_MAGIC): Likewise.
3150 (CRAMFS_MAGIC): Fix typo in comment.
3151 (EXT2_SUPER_MAGIC): Update comment.
3152 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3153
464263cc
JM
31542014-02-08 Joseph Myers <joseph@codesourcery.com>
3155
c6bfe5c4
JM
3156 * sysdeps/arm: Move directory from ports/sysdeps/arm.
3157 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3158 * sysdeps/unix/sysv/linux/arm: Move directory from
3159 ports/sysdeps/unix/sysv/linux/arm.
3160 * README: Update listing for arm-*-linux-gnueabi.
3161
464263cc
JM
3162 * README: Remove mention of am33.
3163
32749f6c
RM
31642014-02-07 Roland McGrath <roland@hack.frob.com>
3165
3166 * bits/sigset.h (__sigemptyset): Use a statement expression rather
3167 than the comma operator, to avoid "rhs of comma has no effect"
3168 compiler warnings.
3169 (__sigfillset, __sigandset, __sigorset): Likewise.
3170 * include/signal.h (__sigemptyset): Likewise.
3171 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3172
d5b396c1
AM
31732014-02-07 Allan McRae <allan@archlinux.org>
3174
3175 * version.h (RELEASE): Set to "development".
3176 (VERSION): Set to "2.19.90"
3177 * NEWS: Add 2.20 section.
3178
3bfff2ed
CD
31792014-02-06 Carlos O'Donell <carlos@redhat.com>
3180
3181 [BZ #16529]
3182 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3183
ee7cc385
SP
31842014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3185
3186 * manual/contrib.texi: Update entry for Carlos O'Donell,
3187 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3188
f877c4f2
CD
31892014-02-05 Carlos O'Donell <carlos@rehdat.com>
3190
27e839f6
CD
3191 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3192
f877c4f2
CD
3193 * sysdeps/unix/sysv/linux/kernel-features.h
3194 [__LINUX_KERNEL_VERSION >= 0x020621]
3195 (__ASSUME_PROC_PID_TASK_COMM): Define.
3196
68159946
SP
31972014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3198
ba17cdbd
SP
3199 [BZ #16398]
3200 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3201 conversion when destination buffer does not have enough space.
3202 * libio/tst-ftell-partial-wide.c: New test case.
3203 * libio/Makefile (tests): Add tst-ftell-partial-wide.
3204
68159946
SP
3205 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3206 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
3207 Leonard and Allan McRae.
3208
2b528732
DM
32092014-02-04 David S. Miller <davem@davemloft.net>
3210
3211 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3212 32-bit.
3213
0ff82463
AZ
32142014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3215
c01603f7
AZ
3216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3217 file
3218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3219 New file
3220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3221 file.
3222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3223 file.
3224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3225 New file.
3226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3227 file.
3228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3229 file.
3230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3231 New file.
3232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3233 New file.
3234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3235 New file.
3236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3237 New file.
3238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3239 New file.
3240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3241 New file.
3242
32432014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3244
0ff82463
AZ
3245 * nptl/shlib-versions: Change powerpc*le start to 2.17.
3246 * shlib-versions: Likewise.
3247
1695c773
AZ
32482014-02-04 Roland McGrath <roland@hack.frob.com>
3249 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3250
3251 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3252 (abilist-pattern): New variable, set to %-le.abilist.
3253
3254 * Makerules (abilist-pattern): New variable.
3255 (vpath): Use $(abilist-pattern) in place of %.abilist.
3256 (check-abi-% pattern rule): Likewise.
3257 (check-abi, update-abi): Likewise.
3258
6c0ce4b4
EW
32592014-02-04 Eric Wong <normalperson@yhbt.net>
3260
3261 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3262
dc98b8f5
EW
32632014-02-04 Eric Wong <normalperson@yhbt.net>
3264
3265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3266
481e3524
CD
32672014-02-03 Carlos O'Donell <carlos@redhat.com>
3268
3269 * manual/startup.texi: Add next, previous, and top entries for
3270 the `Program Arguments' and `Environment Variables' nodes.
3271
375592d3
AO
32722014-02-03 Alexandre Oliva <aoliva@redhat.com>
3273
3274 * manual/macros.texi: Add comments before MTASC-safety macros.
3275
f54838ba
AO
3276 * manual/users.texi: Document MTASC-safety properties.
3277
909e12ad
AO
3278 * manual/threads.texi (pthread_key_create, pthread_key_delete,
3279 pthread_getspecific, pthread_setspecific): Format with
3280 @deftypefun, and add @safety note.
3281 * manual/signal.texi: Move comments that analyze the above
3282 functions to their home place.
3283
fd3daba4
AM
32842014-02-03 Allan McRae <allan@archlinux.org>
3285
3286 * po/sl.po: Update Slovenian translation from translation project.
3287
597636d7
AO
32882014-02-02 Alexandre Oliva <aoliva@redhat.com>
3289
3290 * manual/time.texi (timegm): Add missing blank after @c.
3291 Reported by Joseph Myers <joseph@codesourcery.com>.
3292
ee196e3c
AO
32932014-02-01 Alexandre Oliva <aoliva@redhat.com>
3294
3295 * manual/check-safety.sh: New.
3296 * manual/Makefile ($(objpfx)stamp-summary): Run it.
3297
f8d529d5
AO
3298 * manual/terminal.texi: Document MTASC-safety properties.
3299
de55fdf4
AO
3300 * manual/filesys.texi: Document MTASC-safety properties.
3301
c3299c08
AO
3302 * manual/errno.texi: Document MTASC-safety properties.
3303
06e90b14
AO
3304 * manual/intro.texi: Document safety identifiers and
3305 conditionals.
3306
1acd4371
AO
3307 * manual/string.texi (wcstok): Fix prototype.
3308 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
3309
23e5b8cb
AO
3310 * manual/time.texi: Document MTASC-safety properties.
3311
11087373
AO
3312 * manual/string.texi: Document MTASC-safety properties.
3313
5da2c93d
AO
3314 * manual/threads.texi: Document MTASC-safety properties.
3315
171e9210
AO
3316 * manual/stdio.texi: Document MTASC-safety properties.
3317
d9e02532
AO
3318 * manual/syslog.texi: Document MTASC-safety properties.
3319
6af8bab7
AO
3320 * manual/sysinfo.texi: Document MTASC-safety properties.
3321
663b02d7
AO
3322 * manual/startup.texi: Document MTASC-safety properties.
3323
973f180b
AO
3324 * manual/socket.texi: Document MTASC-safety properties.
3325
8f3c25c8
AO
3326 * manual/signal.texi: Document MTASC-safety properties.
3327
542210fb
AO
33282014-01-31 Alexandre Oliva <aoliva@redhat.com>
3329
3330 * manual/setjmp.texi: Document MTASC-safety properties.
3331
433c45a2
AO
3332 * manual/search.texi: Document MTASC-safety properties.
3333
c8ce789c
AO
3334 * manual/resource.texi: Document MTASC-safety properties.
3335
19f5d29c
AO
3336 * manual/process.texi: Document MTASC-safety properties.
3337
e2dfb7f4
AO
3338 * manual/platform.texi: Document MTASC-safety properties.
3339
8c1413f5
AO
3340 * manual/pipe.texi: Document MTASC-safety properties.
3341
03483ada
AO
3342 * manual/pattern.texi: Document MTASC-safety properties.
3343
29e7e2df
AO
3344 * manual/message.texi: Document MTASC-safety properties.
3345
9f529d7c
AO
3346 [BZ #12751]
3347 * manual/memory.texi: Document MTASC-safety properties.
3348
27aaa791
AO
3349 * manual/math.texi: Document MTASC-safety properties.
3350
f2d58726
AO
3351 * manual/locale.texi: Document MTASC-safety properties.
3352
2cc3615c
AO
3353 * manual/llio.texi: Document MTASC-safety properties.
3354
d9f0ec97
AO
3355 * manual/libdl.texi: New.
3356
e7c4409a
AO
3357 * manual/lang.texi: Document MTASC-safety properties.
3358
27bdc63c
AO
3359 * manual/job.texi: Document MTASC-safety properties.
3360
a7b90ea9
AO
3361 * manual/getopt.texi: Document MTASC-safety properties.
3362
c49130e3
AO
3363 * manual/ctype.texi: Document MTASC-safety properties.
3364
0d23a5c1
MR
33652014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
3366
3367 [BZ #16046]
3368 * csu/libc-tls.c (static_map): Remove variable.
3369 (__libc_setup_tls): Use main executable's link map for TLS data.
3370 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
3371 casing for LM_ID_BASE and GL(dl_nns).
3372 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
3373 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
3374 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
3375 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
3376 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
3377 member.
3378 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
3379 l_phnum members.
3380
0037bb60
AO
33812014-01-30 Alexandre Oliva <aoliva@redhat.com>
3382
3383 * manual/debug.texi: Document MTASC-safety properties.
3384
409e00bd
L
33852014-01-29 H.J. Lu <hongjiu.lu@intel.com>
3386
3387 [BZ #16510]
3388 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
3389 of __x86_64__ when disabling x87 inline functions.
3390
86e60666
AO
33912014-01-29 Alexandre Oliva <aoliva@redhat.com>
3392
3393 * manual/charset.texi: Document MTASC-safety properties.
3394
76167637
AO
3395 * manual/crypt.texi: Document MTASC-safety properties.
3396
e567f2a0
AO
3397 * manual/conf.texi: Document MTASC-safety properties.
3398
b719dafd
AO
3399 * manual/arith.texi: Document MTASC-safety properties.
3400
4a16c662
AO
3401 * manual/argp.texi: Document MTASC-safety properties.
3402
0a57b83e
AO
3403 * manual/macros.texi: Introduce macros to document multi
3404 thread, asynchronous signal and asynchronous cancellation
3405 safety properties.
3406 * manual/intro.texi: Introduce the properties themselves.
3407
feab2397
KK
34082014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3409
3410 * sysdeps/sh/sh4/Makefile: New file.
3411
1c0d11bc
AS
34122014-01-27 Andreas Schwab <schwab@linux-m68k.org>
3413
3414 * math/gen-libm-test.pl ($srcdir): New variable.
3415 ($auto_input): Use it.
3416
af37a8a3
SP
34172014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3418
d7b00f98
SP
3419 [BZ #16506]
3420 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
3421 access beyond array bounds when parsing netgroups file.
3422
af37a8a3
SP
3423 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
3424 the old buffer before realloc.
3425
0c00f062
AM
34262014-01-27 Allan McRae <allan@archlinux.org>
3427
3428 * po/fr.po: Update French translation from translation project.
3429
7d69a1b0
KK
34302014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3431
3432 * sysdeps/sh/libm-test-ulps: Regenerate.
3433
6e697ff7
DM
34342014-01-24 David S. Miller <davem@davemloft.net>
3435
3436 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
3437
9cadb35c
KK
34382014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3439
3440 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
3441 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
3442
5d41dadf
SP
34432013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3444
3445 [BZ #16474]
3446 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
3447 string pointers after reallocation.
3448
0bad441c
KK
34492014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3450
3451 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
3452 __SH4A__ instead of __SH_FPU_ANY__.
3453
7007c661
KK
34542014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3455
3456 * sysdeps/sh/fpu_control.h: New file.
3457 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
3458 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
3459 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
3460 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
3461 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
3462 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
3463 * sysdeps/sh/sys/ucontext.h: Remove.
3464 * sysdeps/sh/sys: Remove directory.
3465
0f0c35e4
AK
34662014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3467
3468 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
3469 s390/sys/ucontext.h.
3470 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3471 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
3472
4959e284
L
34732014-01-20 H.J. Lu <hongjiu.lu@intel.com>
3474
3475 [BZ #15605]
3476 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
3477
d98720e0
AZ
34782014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3479
3480 [BZ#16431]
3481 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3482 Adjust the vDSO correctly for internal calls.
3483 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
3484
91cbd0bc
AM
34852014-01-20 Allan McRae <allan@archlinux.org>
3486
3487 * po/ca.po: Update Catalan translation from translation project.
3488
7a02cfad
MF
34892014-01-16 Mike Frysinger <vapier@gentoo.org>
3490
3491 * sysdeps/s390/sotruss-lib.c: New file.
3492
736c304a
AZ
34932014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3494
3495 [BZ#16430]
6e077ee5 3496 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
3497 (__GI___gettimeofday): Alias for a different internal symbol to avoid
3498 local calls issues by not having a PLT stub required for IFUNC calls.
3499 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
3500
94d0cea0
JM
35012014-01-16 Joseph Myers <joseph@codesourcery.com>
3502
3503 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
3504 * math/test-fpucw-static.c: Likewise.
3505
980cb518
SP
35062013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3507
3508 [BZ #16453]
3509 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
3510
2393fc01
AZ
35112014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3512
3513 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
3514 implementation for powerpc.
3515
d359bcc2
OB
35162014-01-15 Ondřej Bílka <neleai@seznam.cz>
3517
3518 [BZ #14782]
3519 * sysdeps/posix/system.c (__libc_system): Do not enable
3520 asynchronous cancellation.
3521
7beb48cb
AK
35222014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3523
3524 [BZ #16427]
3525 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
3526 handling only for numbers special also in the IEEE case.
3527
c20d5bf5
AK
35282014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3529
3530 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3531
e83bd4ee
AM
35322014-01-11 Allan McRae <allan@archlinux.org>
3533
76d0ea69
AM
3534 * po/bg.po: Update Bulgarian translation from translation project.
3535
e83bd4ee
AM
3536 * po/de.po: Update German translation from translation project.
3537
bc2ba20a
RM
35382014-01-10 Roland McGrath <roland@hack.frob.com>
3539
3540 * sysdeps/generic/gcc-compat.h: New file.
3541
649ecea2
SP
35422014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3543
3544 * benchtests/asin-inputs: Correct slow inputs.
3545 * benchtests/acos-inputs: Likewise.
3546
1b19c006
AM
35472014-01-10 Allan McRae <allan@archlinux.org>
3548
a46dab08
AM
3549 * po:sv.po: Update Swedish translation from translation project.
3550
421df74a
AM
3551 * po/vi.po: Update Vietnamese translation from translation project.
3552
d61c51a7
AM
3553 * po/eo.po: Update Esperanto translation from translation project.
3554
0339a319
AM
3555 * po/cs.po: Update Czech translation from translation project.
3556
94ad3e99
AM
3557 * po/nl.po: Update Dutch translation from translation project.
3558
e349ca71
AM
3559 * po/pl.po: Update Polish translation from translation project.
3560
ddf930c1
AM
3561 * po/ru.po: Update Russian translation from translation project.
3562
1b19c006
AM
3563 * po/uk.po: Update Ukrainian translation from translation project.
3564
9f236c49
BM
35652014-01-08 Brooks Moses <bmoses@google.com>
3566
3567 * elf/dl-load.c: Fix comment typo.
3568
cd6701cf
CD
35692014-01-08 Carlos O'Donell <carlos@redhat.com>
3570
3571 * po/header.pot: Rename to...
3572 * po/pot.header: ... this.
3573 * po/Makefile: Use pot.header.
3574
66671c84
YK
35752014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
3576 Maxim Kuvyrkov <maxim@kugelworks.com>
3577
3578 [BZ #16394]
cd6701cf
CD
3579 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
3580 SRC and DEST against LEN.
66671c84 3581
38f34581
AZ
35822014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3583
3584 [BZ #16414]
3585 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
3586 implementation.
3587 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
3588
35892014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
3590
3591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3592
4c327f2a
JM
35932014-01-08 Joseph Myers <joseph@codesourcery.com>
3594
3595 [BZ #16408]
3596 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
3597 for large positive arguments.
3598
b821f414
JM
35992014-01-07 Joseph Myers <joseph@codesourcery.com>
3600
1f0f2067
JM
3601 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3602
a5a326f6
JM
3603 * math/auto-libm-test-in: Mark various tests with
3604 xfail-rounding:ldbl-128ibm.
3605 * math/auto-libm-test-out: Regenerated.
3606
b821f414
JM
3607 [BZ #16407]
3608 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3609 Increase overflow threshold.
3610
94c8a4bc
OB
36112014-01-07 Ondřej Bílka <neleai@seznam.cz>
3612
3613 [BZ #14286]
3614 * stdio-common/vfprintf.c: Check for integer overflow.
3615
87ded0c3
AK
36162014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3617
3618 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
3619 the first argument and return value of __tls_get_addr_internal.
3620
c5eebdd0
AK
36212014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3622
3623 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
3624 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
3625
05d138ef
AK
36262014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3627
3628 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
3629 * sysdeps/s390/rtld-global-offsets.sym: New file.
3630 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
3631 GLIBC_2.19 symbol.
3632 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
3633 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
3634 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3635 ... this.
3636 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
3637 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3638 ... this.
3639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3640 Regenerate.
3641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3642 Regenerate.
3643 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
3644 halfs of GPRs for high_gprs contexts.
3645 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
3646 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
3647 field.
3648 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
3649 uc_flags field.
3650 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
3651 64 bit versions:
3652 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
3653 for high GPRs (uc_high_gprs) and for future extensions
3654 (__reserved).
3655 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
3656 for future extensions (__reserved).
3657 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
3658 64 bit versions:
3659 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
3660 SC_HIGHGPRS offset definition.
3661 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
3662 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
3663
93a45ff1
AK
36642014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3665
3666 * Versions.def: Add GLIBC_2.19 for libpthread.
3667 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
3668 siglongjmp for libpthread with GLIBC_2.19 symver.
3669 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
3670 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
3671 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
3672 * sysdeps/s390/__longjmp.c: New file.
3673 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
3674 * sysdeps/s390/longjmp.c: New file.
3675 * sysdeps/s390/setjmp.S: New file.
3676 * sysdeps/s390/sigjmp.S: New file.
3677 * sysdeps/s390/v1-longjmp.c: New file.
3678 * sysdeps/s390/v1-setjmp.h: New file.
3679 * sysdeps/s390/v1-sigjmp.c: New file.
3680 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
3681 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
3682 GLIBC_2.19 version.
3683 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
3684 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
3685 versioned symbols for ____longjmp_chk.
3686 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3687 Likewise.
3688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3689 Regenerate.
3690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3691 Regenerate.
3692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3693 Regenerate.
3694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3695 Regenerate.
3696 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
3697 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
3698 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
3699 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
3700 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
3701 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
3702 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
3703 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
3704 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
3705 * sysdeps/s390/rtld-__longjmp.c: New file.
3706 * sysdeps/s390/rtld-setjmp.S: New file.
3707
eb3fc44b
JM
37082014-01-06 Joseph Myers <joseph@codesourcery.com>
3709
3710 [BZ #16400]
3711 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3712 Return -__logl (x) for small positive arguments without evaluating
3713 a polynomial.
3714
9341dde4
MF
37152014-01-06 Mike Frysinger <vapier@gentoo.org>
3716
3717 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
3718 Rename to ...
3719 (__ptrace_peeksiginfo_args): ... this.
3720 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3721 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3722 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3723
4cff0293
AM
37242014-01-06 Allan McRae <allan@archlinux.org>
3725
3726 * inet/netinet/in.h: Fix typo in comment.
3727
75595dcf
AJ
37282014-01-05 Andreas Jaeger <aj@suse.de>
3729
3730 * sysdeps/i386/fpu/libm-test-ulps: Update.
3731
79c1e109
AM
37322014-01-05 Allan McRae <allan@archlinux.org>
3733
dd804818
AM
3734 * po/libc.pot: Regenerated.
3735
79c1e109
AM
3736 * malloc/memusagestat.c: Fix gettext call formatting.
3737
0c813d1f
SK
37382014-01-04 Sami Kerola <kerolasa@iki.fi>
3739
3740 * nscd/nscd.c: Improve usage() output.
3741
20f4a8d9
MF
37422014-01-04 Mike Frysinger <vapier@gentoo.org>
3743
3744 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
3745 * sysdeps/unix/sysv/linux/configure: Regenerated.
3746 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
3747 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
3748
22562bb2
JM
37492014-01-03 Joseph Myers <joseph@codesourcery.com>
3750
3751 [BZ #16390]
3752 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3753 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
3754
d7ad2d9b
AZ
37552014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3756
3757 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
3758 extra tokens at end of #undef directive.
3759 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
3760 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
3761 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3762
7dd009d8
JM
37632014-01-03 Joseph Myers <joseph@codesourcery.com>
3764
24db925a
JM
3765 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3766
7dd009d8
JM
3767 * math/auto-libm-test-in: Mark various tests with
3768 xfail-rounding:ldbl-128ibm.
3769 * math/auto-libm-test-out: Regenerated.
3770
396e3ecf
JM
37712014-01-02 Joseph Myers <joseph@codesourcery.com>
3772
819e5d50
JM
3773 [BZ #16386]
3774 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
3775 numbers with subnormal high part when calculating exponent.
3776
90b6a1e5
JM
3777 [BZ #16385]
3778 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
3779 fabs.
3780
396e3ecf
JM
3781 [BZ #16384]
3782 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
3783 M_LN2l.
3784 (__ieee754_acoshl): Use __log1pl not __log1p.
3785
6c8dbf00
OB
37862013-01-02 Ondřej Bílka <neleai@seznam.cz>
3787
3788 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
3789 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
3790 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
3791 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
3792 Convert to GNU style.
3793 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
3794 mem2mem_check, mem2chunk_check, top_check, realloc_check,
3795 memalign_check, __malloc_set_state): Likewise.
3796 * malloc/mallocbug.c (main): Likewise.
3797 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
3798 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
3799 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
3800 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
3801 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
3802 * malloc/malloc.h: Likewise.
3803 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
3804 memalignhook, reallochook, mabort): Likewise.
3805 * malloc/mcheck.h: Likewise.
3806 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
3807 mmap64, mremap, munmap, dest): Likewise.
3808 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
3809 * malloc/morecore.c (__default_morecore): Likewise.
3810 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
3811 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
3812 _obstack_allocated_p, obstack_free, _obstack_memory_used,
3813 print_and_abort): Likewise.
3814 * malloc/obstack.h: Likewise.
3815 * malloc/set-freeres.c (__libc_freeres): Likewise.
3816 * malloc/tst-mallocstate.c (main): Likewise.
3817 * malloc/tst-mtrace.c (main): Likewise.
3818 * malloc/tst-realloc.c (do_test): Likewise.
3819
d4124212
SP
38202013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3821
9a3c6a6f
SP
3822 [BZ #16366]
3823 * nscd/netgroupcache.c (do_notfound): New function.
3824 (addgetnetgrentX): Use it.
3825
d4124212
SP
3826 [BZ # 16365]
3827 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
3828 NSS_STATUS_NOTFOUND.
3829
97b9a009
JM
38302014-01-01 Joseph Myers <joseph@codesourcery.com>
3831
3832 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3834
d4697bc9
AM
38352014-01-01 Allan McRae <allan@archlinux.org>
3836
ddb3687f
AM
3837 * scripts/update-copyrights: Update configure input file suffix.
3838
88726d48
AM
3839 * NEWS: Update copyright year.
3840 * catgets/gencat.c: Likewise.
3841 * csu/version.c: Likewise.
3842 * debug/catchsegv.sh: Likewise.
3843 * debug/pcprofiledump.c: Likewise.
3844 * debug/xtrace.sh: Likewise.
3845 * elf/ldconfig.c: Likewise.
3846 * elf/ldd.bash.in: Likewise.
3847 * elf/pldd.c: Likewise.
3848 * elf/sotruss.ksh: Likewise.
3849 * elf/sprof.c: Likewise.
3850 * iconv/iconv_prog.c: Likewise.
3851 * iconv/iconvconfig.c: Likewise.
3852 * locale/programs/locale.c: Likewise.
3853 * locale/programs/localedef.c: Likewise.
3854 * login/programs/pt_chown.c: Likewise.
3855 * malloc/memusage.sh: Likewise.
3856 * malloc/memusagestat.c: Likewise.
3857 * malloc/mtrace.pl: Likewise.
3858 * manual/libc.texinfo: Likewise.
3859 * nscd/nscd.c: Likewise.
3860 * nss/getent.c: Likewise.
3861 * nss/makedb.c: Likewise.
3862 * posix/getconf.c: Likewise.
3863 * scripts/test-installation.pl: Likewise.
3864
d4697bc9
AM
3865 * All files with FSF copyright notices: Update copyright dates
3866 using scripts/update-copyrights.
3867 * intl/plural.c: Regenerated.
3868 * locale/programs/charmap-kw.h: Likewise.
3869 * locale/programs/locfile-kw.h: Likewise.
3870
c8590f9d
MF
38712013-12-31 Mike Frysinger <vapier@gentoo.org>
3872
3873 * sysdeps/unix/sysv/linux/configure: Regenerated.
3874 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
3875 the linux/fanotify.h header.
3876 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
3877 HAVE_LINUX_FANOTIFY_H is defined.
3878
b19221b9
SP
38792013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3880
dd1d85e5
SP
3881 * benchtests/cos-inputs: New inputs.
3882 * benchtests/sin-inputs: Likewise.
3883
1acbb90f
SP
3884 * benchtests/atan-inputs: New inputs. Fix name of multiple
3885 precision fallback inputs.
3886
4c012ed3
SP
3887 * benchtests/atanh-inputs: New inputs.
3888 * benchtests/tanh-inputs: Likewise.
3889
eff98324
SP
3890 * benchtests/acosh-inputs: New inputs.
3891 * benchtests/asinh-inputs: Likewise.
3892
ce641152
SP
3893 * benchtests/cosh-inputs: New inputs.
3894 * benchtests/sinh-inputs: Likewise.
3895
b19221b9
SP
3896 * benchtests/acos-inputs: Add more inputs.
3897 * benchtests/asin-inputs: Likewise.
3898
030a4976 38992013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 3900
030a4976 3901 [BZ #16375]
9dcc8f11
VS
3902 * manual/arith.texi: Fix spelling.
3903 * manual/charset.texi: Likewise.
3904 * manual/errno.texi: Likewise.
3905 * manual/filesys.texi: Likewise.
3906 * manual/lang.texi: Likewise.
3907 * manual/llio.texi: Likewise.
3908 * manual/locale.texi: Likewise.
3909 * manual/message.texi: Likewise.
3910 * manual/resource.texi: Likewise.
3911 * manual/search.texi: Likewise.
3912 * manual/setjmp.texi: Likewise.
3913 * manual/stdio.texi: Likewise.
3914 * manual/string.texi: Likewise.
3915 * manual/sysinfo.texi: Likewise.
3916 * manual/time.texi: Likewise.
3917
11520a57
CD
39182013-12-27 Carlos O'Donell <carlos@redhat.com>
3919
3920 * po/sl.po: New file.
3921
471103ae
MF
39222013-12-27 Mike Frysinger <vapier@gentoo.org>
3923
3924 * .gitignore: Add core/.gdbinit/.gdb_history.
3925
6c9642ed
AM
39262013-12-27 Allan McRae <allan@archlinux.org>
3927
3928 [BZ #16369]
3929 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
3930 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
3931
3f637079
BM
39322013-12-24 Brooks Moses <bmoses@google.com>
3933
3934 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
3935 all compilers that claim C++98 compliance, not just GCC.
3936 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
3937 Likewise.
3938
abc26e99
MK
39392013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
3940
3941 * NEWS: Restore accidentally deleted bug-fix entries.
3942
362b47fe
MK
39432013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
3944 Ondřej Bílka <neleai@seznam.cz>
3945
3946 [BZ #15073]
3947 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 3948 have_lock.
362b47fe 3949
b9bcbbcb
OB
39502013-12-23 Ondřej Bílka <neleai@seznam.cz>
3951
3952 [BZ #12986]
3953 * manual/stdio.texi (String Input Conversions): Clarify that character
3954 classes are not supported.
3955
fb55fcd2
AZ
39562013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3957
3958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3959
ef7344f0
JM
39602013-12-22 Joseph Myers <joseph@codesourcery.com>
3961
4f40e4b3
JM
3962 [BZ #16337]
3963 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3964 Calculate results for small negative arguments directly rather
3965 than using reflection formula with special underflow handling.
3966
ef7344f0
JM
3967 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
3968 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
3969 sysdeps/unix/bsd/bsd4.4/syscalls.list.
3970 (fchflags): Likewise.
3971 (revoke): Likewise.
3972 (setlogin): Likewise.
3973 (sigaltstack): Likewise.
3974 (wait4): Likewise.
3975 (sigblock): Remove.
3976 (sigsetmask): Likewise.
3977 (wait3): Likewise.
3978 (waitpid): Likewise.
3979 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
3980 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
3981 file.
3982 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
3983 * sysdeps/unix/bsd/Makefile: ... here.
3984 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
3985 * sysdeps/unix/bsd/Versions: ... here.
3986 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
3987 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
3988 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
3989 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
3990 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
3991 * sysdeps/unix/bsd/sigblock.c: ... here.
3992 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
3993 * sysdeps/unix/bsd/sigsetmask.c: ... here.
3994 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
3995 * sysdeps/unix/bsd/sigvec.c: ... here.
3996 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
3997 * sysdeps/unix/bsd/tcdrain.c: ... here.
3998 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
3999 * sysdeps/unix/bsd/tcgetattr.c: ... here.
4000 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4001 * sysdeps/unix/bsd/tcsetattr.c: ... here.
4002 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4003 * sysdeps/unix/bsd/wait.c: ... here.
4004 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4005 * sysdeps/unix/bsd/wait3.c: ... here.
4006 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4007 * sysdeps/unix/bsd/waitpid.c: ... here.
4008
5b0626b9
JM
40092013-12-21 Joseph Myers <joseph@codesourcery.com>
4010
4011 [BZ #16356]
4012 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4013 round-to-nearest for [!USE_AS_EXPM1L].
4014 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4015 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
4016 more tests of exp and exp10. Expect some exp10 tests to miss
4017 exceptions or fail in directed rounding modes.
4018 * math/auto-libm-test-out: Regenerated.
4019 * math/libm-test.inc (exp10_tonearest_test_data): New array.
4020 (exp10_test_tonearest): New function.
4021 (exp10_towardzero_test_data): New array.
4022 (exp10_test_towardzero): New function.
4023 (exp10_downward_test_data): New array.
4024 (exp10_test_downward): New function.
4025 (exp10_upward_test_data): New array.
4026 (exp10_test_upward): New function.
4027 (main): Call the new functions.
4028 * sysdeps/i386/fpu/libm-test-ulps: Update.
4029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4030
7fda5682
JM
40312013-12-20 Joseph Myers <joseph@codesourcery.com>
4032
31e3a405
JM
4033 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4034 asinh, atan, atan2, atanh, cbrt, cos and cosh.
4035 * math/auto-libm-test-out: Regenerated.
4036 * math/libm-test.inc (acosh_test_data): Add more tests.
4037 (atanh_test_data): Likewise.
4038 (ceil_test_data): Likewise.
4039 (copysign_test_data): Likewise.
4040 * sysdeps/i386/fpu/libm-test-ulps: Update.
4041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4042
85bff96a
JM
4043 * timezone/checktab.awk: Update from tzcode 2013i.
4044 * timezone/private.h: Likewise.
4045 * timezone/scheck.c: Likewise.
4046 * timezone/tzfile.h: Likewise.
4047 * timezone/tzselect.ksh: Likewise.
4048 * timezone/zdump.c: Likewise.
4049 * timezone/zic.c: Likewise.
4050
b7867a3b
JM
4051 * math/auto-libm-test-in: Add tests of cpow.
4052 * math/auto-libm-test-out: Regenerated.
4053 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4054 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4055 mpc_cc_c.
4056 (func_calc_desc): Add mpc_cc_c union field.
4057 (test_functions): Add cpow.
4058 (special_fill_2pi): New function.
4059 (special_real_inputs): Add 2pi.
4060 (calc_generic_results): Handle mpc_cc_c.
4061 * sysdeps/i386/fpu/libm-test-ulps: Update.
4062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4063
7fda5682
JM
4064 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4065 csqrt, ctan and ctanh.
4066 * math/auto-libm-test-out: Regenerated.
4067 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4068 (TEST_COND_x86): Likewise.
4069 (ccos_test_data): Use AUTO_TESTS_c_c.
4070 (ccosh_test_data): Likewise.
4071 (cexp_test_data): Likewise.
4072 (clog_test_data): Likewise.
4073 (csqrt_test_data): Likewise.
4074 (ctan_test_data): Likewise.
4075 (ctan_tonearest_test_data): Likewise.
4076 (ctan_towardzero_test_data): Likewise.
4077 (ctan_downward_test_data): Likewise.
4078 (ctan_upward_test_data): Likewise.
4079 (ctanh_test_data): Likewise.
4080 (ctanh_tonearest_test_data): Likewise.
4081 (ctanh_towardzero_test_data): Likewise.
4082 (ctanh_downward_test_data): Likewise.
4083 (ctanh_upward_test_data): Likewise.
4084 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4085 mpc_c_c.
4086 (func_calc_desc): Add mpc_c_c union field.
4087 (FUNC_mpc_c_c): New macro.
4088 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4089 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4090 ctanh.
4091 (special_fill_min_subnorm_p120): New function.
4092 (special_real_inputs): Add min_subnorm_p120.
4093 (calc_generic_results): Handle mpc_c_c.
4094 * sysdeps/i386/fpu/libm-test-ulps: Update.
4095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4096
5ff8d60e
SP
40972013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4098
392dd2de
SP
4099 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4100 do_sin_slow): New functions.
4101 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4102 cslow2, csloww1, csloww2): Use the new functions.
4103
84ba214c
SP
4104 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4105 Use M to change sign of result instead of X. Assume X is
4106 positive.
4107 (csloww1): Likewise.
4108 (__sin): Adjust.
4109 (__cos): Adjust.
4110
975195e4
SP
4111 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4112 arguments A and DA.
4113 (__sin): Adjust.
4114 (__cos): Likewise.
4115
5ff8d60e
SP
4116 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4117 (__cos): Likewise.
4118 (sloww1): Don't adjust sign of DX.
4119 (csloww1): Likewise.
4120 (sloww2): Use X directly and don't adjust sign of DX.
4121 (csloww2): Likewise.
4122
eb983568
JM
41232013-12-19 Joseph Myers <joseph@codesourcery.com>
4124
64a17f1a
JM
4125 * math/auto-libm-test-in: Add tests of cabs and carg.
4126 * math/auto-libm-test-out: Regenerated.
4127 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4128 (carg_test_data): Likewise.
4129 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4130 mpc_c_f.
4131 (func_calc_desc): Add mpc_c_f union field.
4132 (test_functions): Add cabs and carg.
4133 (calc_generic_results): Handle mpc_c_f.
4134
eb983568
JM
4135 * sysdeps/powerpc/powerpc32/libgcc-compat.S
4136 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4137 as a macro and a compat symbol.
4138 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4139 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4140 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4141 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4142 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4143 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4144 not use .hidden.
4145 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4146 Likewise.
4147 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4148 Likewise.
4149 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4150 Likewise.
4151 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4152 Likewise.
4153 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4154 Likewise.
4155 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4156 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4157 from GLIBC_2.3.2.
4158
6eeb678a
AZ
41592013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4160
4161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4162
6f6fc482
JM
41632013-12-19 Joseph Myers <joseph@codesourcery.com>
4164
21fea2e2
JM
4165 * manual/texinfo.tex: Update to version 2013-11-26.10 with
4166 trailing whitespace removed.
4167 * scripts/config.guess: Update to version 2013-11-29.
4168 * scripts/config.sub: Update to version 2013-10-01.
4169
6f6fc482
JM
4170 * math/auto-libm-test-in: Add tests of sincos.
4171 * math/auto-libm-test-out: Regenerated.
4172 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4173 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4174 mpfr_f_11.
4175 (func_calc_desc): Add mpfr_f_11 union field.
4176 (test_functions): Add sincos.
4177 (calc_generic_results): Handle mpfr_f_11.
4178 * sysdeps/i386/fpu/libm-test-ulps: Update.
4179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4180
83f5c32d
AS
41812013-12-19 Andreas Schwab <schwab@suse.de>
4182
4183 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4184 CALL_MCOUNT.
4185 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4186 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4187 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4188
c688b419
JM
41892013-12-19 Joseph Myers <joseph@codesourcery.com>
4190
335ee092
JM
4191 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4192 * sysdeps/i386/fpu/libm-test-ulps: Update.
4193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4194
f88acd39
JM
4195 [BZ #16293]
4196 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4197 round-to-nearest mode when using frndint.
4198 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4199 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4200 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4201 Likewise.
4202 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
4203 sinh test to fail.
4204 * math/auto-libm-test-out: Regenerated.
4205 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4206 (TEST_COND_x86): Likewise.
4207 (expm1_tonearest_test_data): New array.
4208 (expm1_test_tonearest): New function.
4209 (expm1_towardzero_test_data): New array.
4210 (expm1_test_towardzero): New function.
4211 (expm1_downward_test_data): New array.
4212 (expm1_test_downward): New function.
4213 (expm1_upward_test_data): New array.
4214 (expm1_test_upward): New function.
4215 (main): Run the new test functions.
4216 * sysdeps/i386/fpu/libm-test-ulps: Update.
4217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4218
c688b419
JM
4219 * include/features.h: Update comment documenting feature test
4220 macros. Mention _DEFAULT_SOURCE in comment.
4221 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4222 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4223 _BSD_SOURCE and _SVID_SOURCE.
4224 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4225 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4226 !_SVID_SOURCE]: Likewise.
4227 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4228 (__USE_POSIX_IMPLICITLY): Define.
4229 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4230 (_POSIX_SOURCE): Undefine and redefine.
4231 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4232 (_POSIX_C_SOURCE): Likewise.
4233 * manual/creature.texi (_DEFAULT_SOURCE): Document.
4234 (Feature Test Macros): Update documentation of default features.
4235
9f6e964c
RS
42362013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4237
4238 * benchtests/Makefile: Add bench-strtok.
4239 * benchtests/bench-strtok.c: New file: strtok benchtest.
4240
ee0a148a
AM
42412013-12-19 Allan McRae <allan@archlinux.org>
4242
4243 * manual/install.texi: Suppress menu for plain text output.
4244 * INSTALL: Regenerated.
4245
b9ab448f
BM
42462013-12-18 Brooks Moses <bmoses@google.com>
4247
4248 [BZ #15846]
4249 * misc/getauxval.c: Include errno.h.
4250 (__getauxval): Set errno to ENOENT if the requested type is not
4251 found.
4252 * misc/sys/auxv.h (getauxval): Document that it may set errno;
4253 don't declare with __attribute_const__.
4254 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4255 * manual/startup.texi: Document that getauxval sets errno.
4256
23776487
JM
42572013-12-18 Joseph Myers <joseph@codesourcery.com>
4258
f889953b
JM
4259 * math/auto-libm-test-in: Add tests of jn and yn.
4260 * math/auto-libm-test-out: Regenerated.
4261 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
4262 (yn_test_data): Likewise.
4263 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4264 mpfr_if_f.
4265 (func_calc_desc): Add mpfr_if_f union field.
4266 (FUNC_mpfr_if_f): New macro.
4267 (test_functions): Add jn and yn.
4268 (calc_generic_results): Assert type of second input for
4269 mpfr_ff_f. Handle mpfr_if_f.
4270 (output_for_one_input_case): Disable all checking for arguments
4271 fitting floating-point types in case of an integer argument.
4272 * sysdeps/i386/fpu/libm-test-ulps: Update.
4273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4274
23776487
JM
4275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4276 Don't expect fegetround reference in libm.so.
4277
cb756c6d
MS
42782013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4279
4280 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
4281 $(config-cflags-nofma).
4282
2dec468f
JM
42832013-12-18 Joseph Myers <joseph@codesourcery.com>
4284
5953eb3a
JM
4285 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
4286 * math/auto-libm-test-out: Regenerated.
4287
2dec468f
JM
4288 [BZ #16338]
4289 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
4290 to determine exponent and adjust argument to have exponent of -1.
4291 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4292 log2.
4293 * math/auto-libm-test-out: Regenerated.
4294 * sysdeps/i386/fpu/libm-test-ulps: Update.
4295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4296
4d84e6ad
OB
42972013-12-18 Ondřej Bílka <neleai@seznam.cz>
4298
4299 * manual/probes.texi: Remove cases when per-thread arenas are
4300 disabled.
4301
1818483b
AS
43022013-12-18 Andreas Schwab <schwab@suse.de>
4303
4304 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
4305 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
4306 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
4307 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
4308 * sysdeps/i386/i686/multiarch/Makefile: Update.
4309 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
4310
25de95bf
JM
43112013-12-17 Joseph Myers <joseph@codesourcery.com>
4312
4313 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
4314 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
4315
674762d9
PE
43162013-12-17 Paul Eggert <eggert@cs.ucla.edu>
4317
ed27ed83 4318 [BZ #15968]
0748546f
PE
4319 Support TZ transition times < 00:00:00.
4320 This is needed for version-3 tz-format files; it supports time
4321 stamps past 2037 for America/Godthab (the only entry in the tz
4322 database for which this change is relevant).
4323 * manual/time.texi (TZ Variable): Document transition times
4324 from -167:59:59 through -00:00:01.
4325 * time/tzset.c (tz_rule): Time of day is now signed.
4326 (__tzset_parse_tz): Parse negative time of day.
4327
4480e934
PE
4328 Document TZ transition times >= 25:00:00.
4329 * manual/time.texi (TZ Variable): Document transition times from
4330 25:00:00 through 167:59:59. These are already supported, and this
4331 support will help with version-3 tz-format files.
4332
69947401
PE
4333 * manual/time.texi (TZ Variable): Modernize North America example
4334 to reflect current (i.e., 2007-and-later) daylight saving rules.
4335
674762d9
PE
4336 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
4337
7011c262
JM
43382013-12-17 Joseph Myers <joseph@codesourcery.com>
4339
2fc6557e
JM
4340 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
4341 * sysdeps/unix/bsd/bits/stat.h: Likewise.
4342 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
4343 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4344 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
4345 * sysdeps/unix/bsd/bsdstat.h: Likewise.
4346 * sysdeps/unix/bsd/clock.c: Likewise.
4347 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
4348 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
4349 * sysdeps/unix/bsd/init-posix.c: Likewise.
4350 * sysdeps/unix/bsd/poll.c: Likewise.
4351 * sysdeps/unix/bsd/ptsname.c: Likewise.
4352 * sysdeps/unix/bsd/seekdir.c: Likewise.
4353 * sysdeps/unix/bsd/setegid.c: Likewise.
4354 * sysdeps/unix/bsd/seteuid.c: Likewise.
4355 * sysdeps/unix/bsd/setgid.c: Likewise.
4356 * sysdeps/unix/bsd/setrgid.c: Likewise.
4357 * sysdeps/unix/bsd/setruid.c: Likewise.
4358 * sysdeps/unix/bsd/setsid.c: Likewise.
4359 * sysdeps/unix/bsd/setuid.c: Likewise.
4360 * sysdeps/unix/bsd/sigaction.c: Likewise.
4361 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
4362 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
4363 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
4364 * sysdeps/unix/bsd/telldir.c: Likewise.
4365 * sysdeps/unix/bsd/times.c: Likewise.
4366 * sysdeps/unix/bsd/usleep.c: Likewise.
4367
029c7b25
JM
4368 * misc/Makefile (install-lib): Remove libbsd-compat.a.
4369 ($(objpfx)libbsd-compat.a): Remove rule.
4370
7011c262
JM
4371 * include/features.h (__FAVOR_BSD): Do not define.
4372 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
4373 features conflicting with POSIX.
4374 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
4375 (_BSD_SOURCE): Remove description of not being a subset of other
4376 feature test macros.
4377 * manual/job.texi (getpgrp): Do not document BSD version.
4378 (getpgid): Do not document by reference to BSD getpgrp.
4379 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
4380 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
4381 * signal/signal.h [__FAVOR_BSD]: Likewise.
4382 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
4383 instead of making contents conditional on [__FAVOR_BSD].
4384 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
4385
affb6f78
AZ
43862013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4387
4388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4389
c88769dd
JM
43902013-12-17 Joseph Myers <joseph@codesourcery.com>
4391
6432a540
JM
4392 [BZ #16314]
4393 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
4394 values below 2**-450, not 2**-500.
4395 * math/auto-libm-test-in: Don't allow spurious underflow from
4396 hypot.
4397 * math/auto-libm-test-out: Regenerated.
4398
c88769dd
JM
4399 [BZ #16316]
4400 [BZ #16330]
4401 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
4402 values of ha and hb and sort them after adjusting subnormal
4403 arguments.
4404 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4405 Likewise.
4406 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
4407 values of ea and eb and sort them after adjusting subnormal
4408 arguments.
4409 * math/auto-libm-test-in: Do not expect some hypot tests of
4410 subnormals to fail. Add more hypot tests.
4411 * math/auto-libm-test-out: Regenerated.
4412
29618f6b
KK
44132013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4414
4415 [BZ #13304]
4416 * sysdeps/sh/s_fma.c: New file.
4417 * sysdeps/sh/s_fmaf.c: New file.
4418 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
4419 version.
4420 * sysdeps/sh/Implies: Add sh/soft-fp.
4421
eacfdfbf
RM
44222013-12-16 Roland McGrath <roland@hack.frob.com>
4423
4424 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
4425 level of indirection to members `objname', `errstring', `malloced'.
4426 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
4427 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
4428 it as the __longjmp argument (just pass 1 instead).
4429 (_dl_catch_error): Initialize C with argument pointers and address of
4430 volatile local ERRCODE rather than copying values out of C at return.
4431
ff362e5b
JM
44322013-12-16 Joseph Myers <joseph@codesourcery.com>
4433
4434 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
4435 * math/auto-libm-test-out: Regenerated.
4436 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
4437 (hypot_test_data): Likewise.
4438 (pow_test_data): Likewise.
4439 (pow_tonearest_test_data): Likewise.
4440 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4441 mpfr_ff_f.
4442 (func_calc_desc): Add mpfr_ff_f union field.
4443 (FUNC_mpfr_ff_f): New macro.
4444 (test_functions): Add atan2, hypot and pow.
4445 (special_fill_min): New function.
4446 (special_fill_minus_min): Likewise.
4447 (special_fill_min_subnorm): Likewise.
4448 (special_fill_minus_min_subnorm): Likewise.
4449 (special_real_inputs): Add min, -min, min_subnorm and
4450 -min_subnorm.
4451 (calc_generic_results): Handle mpfr_ff_f.
4452 * sysdeps/i386/fpu/libm-test-ulps: Update.
4453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4454
5764c27f
WN
44552013-12-16 Will Newton <will.newton@linaro.org>
4456
4457 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
4458 (Aligned Memory Blocks): Add documentation for aligned_alloc
4459 and suggest it as an alternative to posix_memalign.
4460 (Hooks for Malloc): Document __memalign_hook is also called
4461 for aligned_alloc. (Summary of Malloc): Add summary for
4462 aligned alloc. Document __memalign_hook is also called
4463 for aligned_alloc.
4464
0a096e44
WN
44652013-12-16 Will Newton <will.newton@linaro.org>
4466
4467 * manual/memory.texi (Malloc Examples): Clarify default
4468 alignment documentation. Suggest posix_memalign rather
4469 than memalign or valloc.
4470 (Aligned Memory Blocks): Remove suggestion to use memalign
4471 or valloc. Remove obsolete comment about BSD.
4472 Document memalign errno values and mark the function obsolete.
4473 Document posix_memalign returned error codes. Mark valloc
4474 as obsolete. (Hooks for Malloc): __memalign_hook is also
4475 called for posix_memalign and valloc.
4476 (Summary of Malloc): Add posix_memalign to function summary.
4477 __memalign_hook is also called for posix_memalign and valloc.
4478
8d561986
SP
44792013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4480
4481 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
4482 TAYLOR_SIN.
4483 (__sin): Adjust.
4484 (__cos): Likewise.
4485 (sloww): Use mynumber union. Expand ternary operator into
4486 if-else statements.
4487 (cslow): use mynumber union.
4488
73616a74
AM
44892013-12-16 Allan McRae <allan@archlinux.org>
4490
9e8ac24b
AM
4491 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
4492 * configure: Regenerated.
4493
6f8e37eb
AM
4494 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
4495
8894bad3
AM
4496 [BZ #14120]
4497 * configure.ac: Added --enable-maintainer-mode. Check for
4498 autoconf when enabled.
4499 * configure: Regenerated.
4500
73616a74
AM
4501 * nscd/nscd.service: New file.
4502 * nscd/nscd.tmpfiles: New file.
4503
584b18eb
OB
45042013-12-14 Ondřej Bílka <neleai@seznam.cz>
4505
4506 [BZ #12100]
4507 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
4508 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
4509 * sysdeps/x86_64/multiarch/strstr.c: ... here.
4510 (strstr): Add __strstr_sse2_unaligned ifunc.
4511 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
4512 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
4513 (strcasestr): Remove __strcasestr_sse42 ifunc.
4514 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
4515 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4516 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4517
8a5c7897
KK
45182013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4519
4520 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
4521 * sysdeps/sh/bits/fenv.h: ... here.
4522 * sysdeps/sh/sh4/fpu/bits: Remove directory.
4523
fd712ef3
AZ
45242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4525
4526 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
4527
42fcb46c
AZ
45282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4529
4530 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
4531 hypotf multiarch implementations.
4532 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
4533 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
4534 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
4535 multiarch hypot for PPC64.
4536 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
4537 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
4538 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
4539 multiarch hypotf for PPC64.
4540
83efded4
AZ
45412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4542
4543 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
4544 modff multiarch implementations.
4545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
4546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
4547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
4548 multiarch modf for PPC64.
4549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
4550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
4551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
4552 multiarch modff for PPC64.
4553
43e246d2
AZ
45542013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4555
4556 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
4557 and logl multiarch implementations.
4558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
4559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
4560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
4561 multiarch logb for PPC64.
4562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
4563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
4564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
4565 multiarch logb for PPC64.
4566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
4567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
4568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
4569 multiarch logb for PPC64.
4570
8fdad123
AZ
45712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4572
4573 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
4574 isinff multiarch implementation.
4575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
4576 file.
4577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
4578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
4579 multiarch isinf for PPC64.
4580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
4581 file.
4582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
4583 multiarch isinff for PPC64.
4584
1481d706
AZ
45852013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4586
4587 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
4588 finitef multiarch implementation.
4589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
4590 file.
4591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
4592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
4593 multiarch finite for PPC64.
4594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
4595 file.
4596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
4597 multiarch finitef for PPC64.
4598
5ccd5fc8
AZ
45992013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4600
4601 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
4602 lrint multiarch implementation.
4603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
4604 file.
4605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
4606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
4607 multiarch llrint for PPC64.
4608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
4609 multiarch lrint for PPC64.
4610
2568f3fa
AZ
46112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4612
4613 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
4614 copysignf multiarch implementation.
4615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
4616 file.
4617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
4618 file.
4619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
4620 multiarch copysign for PPC64.
4621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
4622 multiarch copysignf for PPC64.
4623
1cb341fd
AZ
46242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4625
4626 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
4627 multiarch implementation.
4628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
4629 file.
4630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
4631 file.
4632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
4633 file.
4634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
4635 file.
4636 multiarch llround for PPC64.
4637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
4638 multiarch trunc for PPC64.
4639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
4640 multiarch truncf for PPC64.
4641
59a3e194
AZ
46422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4643
4644 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
4645 multiarch implementation.
4646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
4647 file.
4648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
4649 file.
4650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
4651 file.
4652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
4653 file.
4654 multiarch llround for PPC64.
4655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
4656 multiarch round for PPC64.
4657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
4658 multiarch roundf for PPC64.
4659
357fd3b4
AZ
46602013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4661
4662 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
4663 multiarch implementation.
4664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
4665 file.
4666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
4667 file.
4668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
4669 file.
4670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
4671 file.
4672 multiarch llround for PPC64.
4673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
4674 multiarch floor for PPC64.
4675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
4676 multiarch floorf for PPC64.
4677
96770f12
AZ
46782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4679
4680 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
4681 multiarch implementation.
4682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
4683 file.
4684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
4685 file.
4686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
4687 file.
4688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
4689 file.
4690 multiarch llround for PPC64.
4691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
4692 multiarch ceil for PPC64.
4693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
4694 multiarch ceilf for PPC64.
4695
c3627f6e
AZ
46962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4697
4698 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4699 multiarch implementation.
4700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
4701 file.
4702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
4703 file.
4704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
4705 file.
4706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
4707 multiarch llround for PPC64.
4708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
4709 multiarch lround for PPC64.
4710
b2284ad7
AZ
47112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4712
4713 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4714 multiarch implementation.
4715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
4716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
4717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
4718 file.
4719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
4720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
4721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
4722 multiarch isnan for PPC64.
4723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
4724 multiarch isnanf for PPC64.
4725
69bbc63d
AZ
47262013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4727
4728 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
4729 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
4730 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
4731 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
4732 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
4733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
4734
c24517c9
AZ
47352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4736
4737 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
4738 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4739 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4740 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4741
a52374e8
AZ
47422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4743
4744 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
4745 multiarch implementations.
4746 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4747 (__libc_ifunc_impl_list): Likewise.
4748 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
4749 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
4750 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
4751 multiarch stpcpy for PPC64.
4752
7f5ec113
AZ
47532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4754
4755 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
4756 multiarch implementations.
4757 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4758 (__libc_ifunc_impl_list): Likewise.
4759 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
4760 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
4761 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
4762 multiarch strcpy for PPC64.
4763
e28bcd42
AZ
47642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4765
4766 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
4767 redefine function name.
4768 (_wordcopy_fwd_dest_aligned): Likewise.
4769 (_wordcopy_bwd_aligned): Likewise.
4770 (_wordcopy_bwd_dest_aligned): Likewise.
4771 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
4772 multiarch implementations.
4773 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4774 (__libc_ifunc_impl_list): Likewise.
4775 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
4776 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
4777 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
4778 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
4779 multiarch wcscpy for PPC64.
4780
92cacfce
AZ
47812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4782
4783 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
4784 multiarch implementations.
4785 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4786 (__libc_ifunc_impl_list): Likewise.
4787 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
4788 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
4789 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
4790 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
4791 multiarch wcscpy for PPC64.
4792
7b714620
AZ
47932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4794
4795 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
4796 multiarch implementations.
4797 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4798 (__libc_ifunc_impl_list): Likewise.
4799 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
4800 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
4801 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
4802 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
4803 multiarch wcsrchr for PPC64.
4804
16fd2ae3
AZ
48052013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4806
4807 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
4808 multiarch implementations.
4809 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4810 (__libc_ifunc_impl_list): Likewise.
4811 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
4812 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
4813 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
4814 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
4815 multiarch wcschr for PPC64.
4816
9ee2969b
AZ
48172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4818
4819 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
4820 multiarch implementations.
4821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4822 (__libc_ifunc_impl_list): Likewise.
4823 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
4824 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
4825 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
4826 multiarch strchrnul for PPC64.
4827
372dc060
AZ
48282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4829
4830 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
4831 implementations.
4832 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4833 (__libc_ifunc_impl_list): Likewise.
4834 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
4835 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
4836 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
4837 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
4838 strchr for PPC64.
4839
24c2c3b9
AZ
48402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4841
4842 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
4843 implementations.
4844 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4845 (__libc_ifunc_impl_list): Likewise.
4846 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
4847 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
4848 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
4849 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
4850 strncmp for PPC64.
4851
1c92d9a0
AZ
48522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4853
4854 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
4855 multiarch implementations.
4856 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4857 (__libc_ifunc_impl_list): Likewise.
4858 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
4859 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
4860 strncasecmp for PPC64.
4861 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
4862 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
4863 multiarch strncasecmp_l for PPC64.
4864
17de3ee3
AZ
48652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4866
4867 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
4868 multiarch implementations.
4869 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4870 (__libc_ifunc_impl_list): Likewise.
4871 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
4872 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
4873 multiarch strcasecmp for PPC64.
4874 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
4875 file.
4876 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
4877 multiarch strcasecmp_l for PPC64.
4878
62982bf9
AZ
48792013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4880
4881 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
4882 implementations.
4883 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4884 (__libc_ifunc_impl_list): Likewise.
4885 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
4886 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
4887 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
4888 strnlen for PPC64.
4889
a65f4904
AZ
48902013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4891
4892 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
4893 implementations.
4894 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4895 (__libc_ifunc_impl_list): Likewise.
4896 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
4897 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
4898 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
4899 strlen for PPC64.
4900
1fd005ad
AZ
49012013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4902
4903 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
4904 implementations.
4905 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4906 (__libc_ifunc_impl_list): Likewise.
4907 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
4908 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
4909 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
4910 rawmemrchr for PPC64.
4911
cd05ba91
AZ
49122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4913
4914 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
4915 implementation.
4916 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4917 (__libc_ifunc_impl_list): Likewise.
4918 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
4919 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
4920 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
4921 memrchr for PPC64.
4922
870f8676
AZ
49232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4924
4925 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
4926 implementation.
4927 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4928 (__libc_ifunc_impl_list): Likewise.
4929 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
4930 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
4931 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
4932 memchr for PPC64.
4933
f00be62b
AZ
49342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4935
4936 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
4937 implementation.
4938 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4939 (__libc_ifunc_impl_list): Likewise.
4940 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
4941 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
4942 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
4943 mempcpy for PPC64.
4944
8a29a3d0
AZ
49452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4946
4947 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
4948 avoid cretion of __bzero symbol.
4949 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
4950 Likewise.
4951 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
4952 Likewise.
4953 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
4954 Likewise.
4955 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
4956 multiarch implementations.
4957 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4958 (__libc_ifunc_impl_list): Likewise.
4959 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
4960 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
4961 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
4962 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
4963 bzero for PPC32.
4964 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
4965 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
4966 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
4967 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
4968 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
4969 memset for PPC64.
4970 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
4971
07253fcf
AZ
49722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4973
4974 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
4975 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
4976 implementations.
4977 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4978 (__libc_ifunc_impl_list): Likewise.
4979 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
4980 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
4981 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
4982 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
4983 memcmp for PPC64.
4984
b5beafbc
AZ
49852013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4986
4987 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
4988 multiarch for POWER/PPC64.
4989 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4990 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
4991 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
4992 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
4993 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
4994 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
4995 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
4996 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
4997 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
4998 memcpy for PPC64.
4999
5e6a4d4b
AZ
50002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5001
5002 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5003 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5004 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5005 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5006 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5007 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5008 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5009 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5010 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5011 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5012 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5013 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5014 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5015 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5016 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5024
ddfab6dc
KK
50252013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5026
5027 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5028
19b5525e
SP
50292013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5030
5031 * benchtests/Makefile (bench): Add exp2 and log2.
5032 (LDLIBS-bench-exp2): Add -lm.
5033 (LDLIBS-bench-log2): Likewise.
5034 * benchtests/exp2-inputs: New inputs file.
5035 * benchtests/log2-inputs: New inputs file.
5036 * benchtests/log-inputs: Add new inputs.
5037 * benchtests/tan-inputs: Likewise.
5038
196f7f5d
SP
50392013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5040
7a74607f
SP
5041 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5042 definition...
5043 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5044 csloww1, csloww2): ... from here.
5045
196f7f5d
SP
5046 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5047 instead of structures.
5048 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5049 (POLYNOMIAL): Likewise.
5050 (TAYLOR_SLOW): Likewise.
5051 (__sin): Likewise.
5052 (__cos): Likewise.
5053 (slow1): Likewise.
5054 (slow2): Likewise.
5055 (sloww): Likewise.
5056 (sloww1); Likewise.
5057 (sloww2): Likewise.
5058 (bsloww1): Likewise.
5059 (bsloww2): Likewise.
5060 (cslow2): Likewise.
5061 (csloww): Likewise.
5062 (csloww1): Likewise.
5063 (csloww2): Likewise.
5064
0dfa665c
OB
50652013-12-10 Ondřej Bílka <neleai@seznam.cz>
5066
5067 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5068 (__malloc_assert, __libc_realloc, __libc_calloc,
5069 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5070 memcpy and memset.
5071 * malloc/hooks.c (realloc_check): Likewise.
5072
5782a80f
OB
50732013-12-10 Ondřej Bílka <neleai@seznam.cz>
5074
5075 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5076 * malloc/arena.c: Remove PER_THREAD conditional.
5077 [!PER_THREAD]: Remove code.
5078 (ptmalloc_unlock_all2): Likewise.
5079 (ptmalloc_init): Likewise.
5080 (_int_new_arena): Likewise.
5081 (arena_get2): Likewise.
5082 * malloc/hooks.c (__malloc_get_state): Likewise.
5083 (__malloc_set_state): Likewise.
5084 * malloc/malloc.c: Likewise.
5085 (struct malloc_state): Likewise.
5086 (struct malloc_par): Likewise.
5087 (__libc_realloc): Likewise.
5088 (__libc_mallopt): Likewise.
5089
aeb95445
AZ
50902013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5091
5092 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5093
e8349efd
OB
50942013-12-09 Ondřej Bílka <neleai@seznam.cz>
5095
5096 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5097 macro to a function. Check for zero perturb_byte.
5098 (_int_malloc, _int_free): Remove zero perturb_byte checks.
5099
f3eeb3fc
OB
51002013-12-09 Ondřej Bílka <neleai@seznam.cz>
5101
5102 * malloc/malloc.c: (force_reg): Remove.
5103 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5104 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5105 force_reg by atomic_forced_read.
5106 * malloc/arena.c (ptmalloc_init): Likewise.
5107 * malloc/hooks.c (top_check): Likewise.
5108
be2f9009
AZ
51092013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5110
5111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5112
e7b914bd
MT
51132013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
5114
5115 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5116
9f0be4f8
JM
51172013-12-08 Joseph Myers <joseph@codesourcery.com>
5118
5119 * math/auto-libm-test-in: Add tests of lgamma.
5120 * math/auto-libm-test-out: Regenerated.
5121 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5122 (M_LOG_2_SQRT_PIl): Likewise.
5123 (lgamma_test_data): Use AUTO_TESTS_f_f1.
5124 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5125 mpfr_f_f1.
5126 (func_calc_desc): Add mpfr_f_f1 union field.
5127 (ARGS1): New macro.
5128 (ARGS2): Likewise.
5129 (ARGS3): Likewise.
5130 (ARGS4): Likewise.
5131 (RET1): Likewise.
5132 (RET2): Likewise.
5133 (CALC): Likewise.
5134 (FUNC): Likewise.
5135 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5136 (test_functions): Add lgamma.
5137 (calc_generic_results): Handle mpfr_f_f1.
5138 * sysdeps/i386/fpu/libm-test-ulps: Update.
5139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5140
24eeafdb
AZ
51412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5142
5143 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5144 __mpn_add_n for PowerPC64/POWER7.
5145 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5146 __mpn_sub_n for PowerPC64/POWER7.
5147
4a2c0fd4
AZ
51482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5149
5150 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5151 __mpn_addmul_1 for PowerPC64.
5152 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5153 __mpn_submul_1 for PowerPC64.
5154 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5155 for PowerPC64.
5156 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5157 for PowerPC64.
5158
4b5b548c
FS
51592013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
5160
5161 [BZ #15089]
5162 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5163
0a3ac0aa
AZ
51642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5165
5166 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5167
ccdc8438
AZ
51682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5169
5170 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5171 add multiarch folders.
5172 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5173 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5174 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5175 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5176 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5177 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5178 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5179 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5180 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5181 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5182 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5189
2e973d99
AZ
51902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5191
5192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5193 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5195 New file.
5196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5197 New file.
5198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5199 multiarch __ieee754_hypot for PowerPC32.
5200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5201 New file.
5202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5203 New file.
5204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5205 multiarch __ieee754_hypotf for PowerPC32.
5206
2d9470b2
AZ
52072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5208
5209 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5210 long_double_symbol only if __logbl is defined.
5211 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5212 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5213 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5214 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5215 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5216 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5217 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5218 path for implementation.
5219 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5220 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5222 logb, and logbl multiarch implementations for PowerPC32.
5223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5224 file.
5225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5226 file.
5227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5228 multiarch logb for PowerPC32.
5229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5230 file.
5231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5232 file.
5233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5234 multiarch logbf for PowerPC32.
5235 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5237 file.
5238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5239 multiarch logbl implementation for PowerPC32.
5240
5212ffce
AZ
52412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5242
5243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5244 and modff multiarch implementations.
5245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5246 New file.
5247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5248 New file.
5249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5250 multiarch modf for PowerPC32.
5251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5252 New file.
5253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5254 New file.
5255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5256 multiarch modff for PowerPC32.
5257
79dccf31
AZ
52582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5259
5260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5261 and lrintf multiarch implementations.
5262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
5263 New file.
5264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
5265 New file.
5266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
5267 multiarch lrint for PowerPC32.
5268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
5269 file: multiarch lrintf for PowerPC32.
5270
deb66480
AZ
52712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5272
5273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
5274 and lroundf multiarch implementations.
5275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
5276 New file.
5277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
5278 New file.
5279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
5280 New file.
5281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
5282 multiarch lround for PowerPC32.
5283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
5284 file: multiarch lroundf for PowerPC32.
5285
264b036b
AZ
52862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5287
5288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5289 copysign and copysignf multiarch implementations.
5290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
5291 New file.
5292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
5293 New file.
5294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
5295 file: multiarch copysign for PowerPC32.
5296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
5297 file: multiarch copysignf for PowerPC32.
5298
d47db6c9
AZ
52992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5300
5301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
5302 and truncf multiarch implementations.
5303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
5304 New file.
5305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
5306 file.
5307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
5308 multiarch trunc for PowerPC32.
5309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
5310 New file.
5311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
5312 New file.
5313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
5314 multiarch truncf for PowerPC32.
5315
ddb60b5a
AZ
53162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5317
5318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
5319 and roundf multiarch implementations.
5320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
5321 New file.
5322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
5323 file.
5324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
5325 multiarch round for PowerPC32.
5326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
5327 New file.
5328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
5329 New file.
5330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
5331 multiarch roundf for PowerPC32.
5332
bedcf49b
AZ
53332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5334
5335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
5336 and floorf multiarch implementations.
5337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
5338 New file.
5339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
5340 file.
5341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
5342 multiarch floor for PowerPC32.
5343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
5344 New file.
5345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
5346 New file.
5347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
5348 multiarch floorf for PowerPC32.
5349
35ae5b40
AZ
53502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5351
5352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
5353 and ceilf multiarch implementations.
5354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
5355 New file.
5356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
5357 file.
5358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
5359 multiarch ceil for PowerPC32.
5360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
5361 New file.
5362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
5363 file.
5364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
5365 multiarch ceilf for PowerPC32.
5366
ae1a4cd9
AZ
53672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5368
5369 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
5370 is defined.
5371 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
5372 FINITEF is defined.
5373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
5374 and finitef multiarch implementations.
5375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
5376 New file.
5377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
5378 file.
5379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
5380 multiarch finite for PowerPC32.
5381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
5382 New file.
5383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
5384 file: multiarch finitef for PowerPC32.
5385
64fffd65
AZ
53862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5387
5388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
5389 and isinff multiarch implementations.
5390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
5391 file.
5392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
5393 file.
5394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
5395 multiarch isinf for PowerPC32.
5396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
5397 New file.
5398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
5399 multiarch isinff for PowerPC32.
5400
8e4e7ba2
AZ
54012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5402
5403 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
5404 alias when __isnan is defined.
5405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
5406 and isnanf multiarch implementations.
5407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
5408 file.
5409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
5410 file.
5411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
5412 file.
5413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
5414 file.
5415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
5416 multiarch isnan for PowerPC32.
5417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
5418 New file.
5419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
5420 New file.
5421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
5422 multiarch isnanf for PowerPC32.
5423
ddba588e
AZ
54242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5425
5426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
5427 and sqrtf multiarch implementations.
5428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
5429 file.
5430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
5431 file.
5432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
5433 multiarch sqrt for PowerPC32.
5434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
5435 file.
5436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
5437 file.
5438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
5439 multiarch sqrtf for PowerPC32.
5440
0f96a2f0
AZ
54412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5442
5443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
5444 and llroundf multiarch implementations.
5445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
5446 New file.
5447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
5448 New file.
5449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
5450 New file.
5451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
5452 file: multiarch llround for PowerPC32.
5453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
5454 file: multiarch llroundf for PowerPC32.
5455
c9b5d79e
AZ
54562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5457
5458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
5459 multiarch PowerPC32 fpu implementations.
5460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
5461 New file.
5462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
5463 New file.
5464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
5465 multiarch llrint for PowerPC32.
5466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
5467 New file.
5468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
5469 New file.
5470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
5471 file.
5472
9cbb3aab
AZ
54732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5474
5475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
5476
ea5a72f8
AZ
54772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5478
5479 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
5480 file.
5481 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
5482 file.
5483 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
5484 file.
5485 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
5486 multiarch wordcopy for PPC32.
5487 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5488 wordcopy objects.
5489 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5490 (__libc_ifunc_impl_list): Likewise.
5491 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
5492 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
5493 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
5494 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
5495 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
5496 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
5497
93be09e7
AZ
54982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5499
5500 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
5501 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
5502 file.
5503 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
5504 file.
5505 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
5506 file.
5507 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
5508 multiarch wcscpy for PPC32.
5509 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5510 multiarch objects.
5511 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5512 (__libc_ifunc_impl_list): Likewise.
5513 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5514 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5515 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
5516 sysdeps/powerpc/power6/wcscpy.c.
5517
bb04e529
AZ
55182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5519
5520 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
5521 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
5522 file.
5523 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
5524 file.
5525 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
5526 file.
5527 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
5528 multiarch wcsrchr for PPC32.
5529 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5530 multiarch objects.
5531 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5532 (__libc_ifunc_impl_list): Likewise.
5533 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5534 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5535 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
5536 sysdeps/powerpc/power6/wcsrchr.c.
5537
05b5cd1c
AZ
55382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5539
5540 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
5541 file.
5542 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
5543 file.
5544 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
5545 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
5546 multiarch wcschr for PPc32.
5547 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5548 multiarch objects.
5549 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5550 (__libc_ifunc_impl_list): Likewise.
5551 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
5552 * sysdeps/powerpc/power6/wcschr.c: ... to here.
5553 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
5554 sysdeps/powerpc/power6/wcschr.c.
5555
ba964147
AZ
55562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5557
5558 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
5559 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
5560 file.
5561 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
5562 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
5563 file: multiarch strchr for PPC32.
5564 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
5565 multiarch objects.
5566 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5567 (__libc_ifunc_impl_list): Likewise.
5568
31c81aaa
AZ
55692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5570
5571 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
5572 name.
5573 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
5574 file.
5575 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
5576 file.
5577 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
5578 multiarch strchrnul for PPC32.
5579 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
5580 multiarch objects.
5581 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5582 (__libc_ifunc_impl_list): Likewise.
5583
0d0607d9
AZ
55842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5585
5586 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
5587 file.
5588 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
5589 multiarch strncasecmp for PPC32.
5590 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
5591 file.
5592 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
5593 multiarch strncasecmp_l for PPC32.
5594 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
5595 strncasecmp multiarch objects.
5596 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5597 (__libc_ifunc_impl_list): Likewise.
5598
4dfd5c86
AZ
55992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5600
5601 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
5602 file.
5603 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
5604 multiarch strncasecmp for PPC32.
5605 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5606 New file.
5607 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
5608 multiarch strcasecmp_l for PPC32.
5609 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
5610 multiarch objects.
5611 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5612 (__libc_ifunc_impl_list): Likewise.
5613
a19e01a3
AZ
56142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5615
5616 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
5617 file.
5618 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
5619 file.
5620 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
5621 multiarch strncmp for PPC32.
5622 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
5623 multiarch objects.
5624 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5625 (__libc_ifunc_impl_list): Likewise.
5626
ae9cf7a2
AZ
56272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5628
5629 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
5630 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
5631 file.
5632 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
5633 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
5634 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
5635 multiarch objects.
5636 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5637 (__libc_ifunc_impl_list): Likewise.
5638
3148bb7d
AZ
56392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5640
5641 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
5642 file.
5643 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
5644 file.
5645 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
5646 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
5647 multiarch objects.
5648 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5649 (__libc_ifunc_impl_list): Likewise.
5650
7af8b946
AZ
56512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5652
5653 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
5654 file.
5655 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
5656 file.
5657 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
5658 multiarch rawmemchr for PPC32.
5659 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
5660 multiarch objects.
5661 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5662 (__libc_ifunc_impl_list): Likewise.
5663
03a6aa6a
AZ
56642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5665
5666 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
5667 file.
5668 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
5669 file.
5670 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
5671 file: memrchr multiarch for PPC32.
5672 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
5673 multiarch objects.
5674 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5675 (__libc_ifunc_impl_list): Likewise.
5676
1c62e6d9
AZ
56772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5678
5679 * string/memchr.c (__memchr): Using macro to redefine symbol name.
5680 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
5681 file.
5682 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
5683 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
5684 multiarch memchr for PPC32.
5685 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
5686 multiarch objects.
5687 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5688 (__libc_ifunc_impl_list): Likewise.
5689
87da8bdb
AZ
56902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5691
5692 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
5693 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
5694 file.
5695 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
5696 file.
5697 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
5698 file: multiarch mempcpy for PPC32.
5699 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
5700 multiarch objects.
5701 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5702 (__libc_ifunc_impl_list): Likewise.
5703
20ed4714
AZ
57042013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5705
5706 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
5707 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
5708 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
5709 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
5710 multiarch bzero for PPC32.
5711 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
5712 file.
5713 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
5714 file.
5715 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
5716 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
5717 file: multiarch memset for PPC32.
5718 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
5719 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
5720 memset multiarch objects.
5721 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5722 (__libc_ifunc_impl_list): Likewise.
5723
ab3e3a46
AZ
57242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5725
5726 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
5727 file.
5728 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
5729 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
5730 memcmp for PPC32.
5731 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
5732 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
5733 multiarch objects.
5734 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5735 (__libc_ifunc_impl_list): Likewise.
5736
930de6f0
AZ
57372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5738
5739 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
5740 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
5741 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
5742 file.
5743 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
5744 file.
5745 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
5746 file.
5747 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
5748 multiarch memcpy for PPC32.
5749 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
5750 multiarch objects.
5751 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5752 (__libc_ifunc_impl_list): Likewise.
5753
4c628e00
AZ
57542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5755
5756 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
5757 support multiarch for POWER/PPC32.
5758 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5759 Likewise.
5760 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
5762 Implies file to make multiarch folder appers before the fpu and
5763 default folder for power4 configuration.
5764
f4479220
SP
57652013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5766
5767 * scripts/bench.pl: Append volatile keyword to type.
5768
8517800f
KK
57692013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5770
5771 * sysdeps/sh/sotruss-lib.c: New file.
5772 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
5773
180138f1
AZ
57742013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5775
5776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5777
bbf37bdc
JM
57782013-12-05 Joseph Myers <joseph@codesourcery.com>
5779
e47cc4e0
JM
5780 [BZ #6810]
5781 * math/w_tgamma.c: Include <errno.h>.
5782 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
5783 * math/w_tgammaf.c: Include <errno.h>.
5784 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
5785 * math/w_tgammal.c: Include <errno.h>.
5786 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
5787 * math/auto-libm-test-in: Do not allow missing errno on tgamma
5788 underflow. Add more tgamma tests.
5789 * math/auto-libm-test-out: Regenerated.
5790 * sysdeps/i386/fpu/libm-test-ulps: Update.
5791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5792
bbf37bdc
JM
5793 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
5794 sin, sinh, tan, tanh, tgamma, y0 and y1.
5795 * math/auto-libm-test-out: Regenerated.
5796 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5797 (TEST_COND_x86): Likewise.
5798 (M_E2l): Remove macro.
5799 (M_E3l): Likewise.
5800 (M_2_SQRT_PIl): Likewise.
5801 (M_SQRT_PIl): Likewise.
5802 (M_1_DIV_El): Likewise.
5803 (log_test_data): Use AUTO_TESTS_f_f.
5804 (log10_test_data): Likewise.
5805 (log1p_test_data): Likewise.
5806 (log2_test_data): Likewise.
5807 (sin_test_data): Likewise.
5808 (sin_tonearest_test_data): Likewise.
5809 (sin_towardzero_test_data): Likewise.
5810 (sin_downward_test_data): Likewise.
5811 (sin_upward_test_data): Likewise.
5812 (sinh_test_data): Likewise.
5813 (sinh_tonearest_test_data): Likewise.
5814 (sinh_towardzero_test_data): Likewise.
5815 (sinh_downward_test_data): Likewise.
5816 (sinh_upward_test_data): Likewise.
5817 (tan_test_data): Likewise.
5818 (tan_tonearest_test_data): Likewise.
5819 (tan_towardzero_test_data): Likewise.
5820 (tan_downward_test_data): Likewise.
5821 (tan_upward_test_data): Likewise.
5822 (tanh_test_data): Likewise.
5823 (tgamma_test_data): Likewise.
5824 (y0_test_data): Likewise.
5825 (y1_test_data): Likewise.
5826 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
5827 (special_real_inputs): Add pi/4.
5828 * sysdeps/i386/fpu/libm-test-ulps: Update.
5829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5830
eb5ad6b9
AZ
58312013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5832
5833 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
5834 "longjmp_target" static probes.
5835 (__longjmp): Rename to __longjmp_symbol.
5836 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5837 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
5838 on which longjmp to generate.
5839 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5840 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
5841 probe.
5842 (__sigsetjmp): Rename to __sigsetjmp_symbol.
5843 (__sigjmp_save): Rename to __sigjmp_save_symbol.
5844 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5845 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
5846 and __sigjmp_save_symbol based on which sigsetjmp to generated.
5847 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
5848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
5849 __longjmp_symbol based on which __longjmp to generate.
5850 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
5851 probe.
5852 (setjmp): Rename to setjmp_symbol.
5853 (__sigsetjmp): Rename to __sigsetjmp_symbol.
5854 (_setjmp): Rename to _setjmp_symbol.
5855 (__sigsetjmp): Rename to __sigsetjmp_symbol.
5856 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
5857 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
5858 which setjmp to generate.
5859 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
5860 "longjmp_target" static probes.
5861
d136c6dc
SP
58622013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5863
9298ecba
SP
5864 * benchtests/README: Add note about output arguments.
5865 * benchtests/bench-sincos.c: Remove file.
5866 * benchtests/sincos-inputs: New file.
5867 * scripts/bench.pl: Identify output arguments and define
5868 static variables for them.
5869
232983e9
SP
5870 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
5871
d136c6dc
SP
5872 [BZ #15941]
5873 * Makefile (INSTALL): Add install-plain.texi as the primary
5874 dependency.
5875 * manual/install-plain.texi: New file.
5876 * manual/install.texi: Include node directive only for
5877 non-plaintext output.
5878
699ff837
JM
58792013-12-04 Joseph Myers <joseph@codesourcery.com>
5880
ab07cea8
JM
5881 * stdlib/longlong.h: Update from GCC.
5882
699ff837
JM
5883 [BZ #6807]
5884 [BZ #15901]
5885 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
5886 * math/w_j0f.c (y0f): Likewise.
5887 * math/w_j0l.c (__y0l): Likewise.
5888 * math/w_j1.c (y1): Likewise.
5889 * math/w_j1f.c (y1f): Likewise.
5890 * math/w_j1l.c (__y1l): Likewise
5891 * math/w_jn.c (yn): Likewise.
5892 * math/w_jnf.c (ynf): Likewise.
5893 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
5894 Bessel function pole errors in _POSIX_ mode. Use NAN as return
5895 value for Bessel function domain errors outside _SVID_ mode.
5896 Adjust sign of return value for yn (negative integer, 0).
5897 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
5898 by zero in return for negative x and set sign appropriately for
5899 negative n.
5900 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
5901 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5902 * math/libm-test.inc (y0_test_data): Add more tests and adjust
5903 expectations in error cases.
5904 (y1_test_data): Likewise.
5905 (yn_test_data): Likewise.
5906 * sysdeps/i386/fpu/libm-test-ulps: Update.
5907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5908
5b118558
UW
59092013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5910
5911 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
5912 "64" to "64-v1". Add "64-v2".
5913 (abi-64-options): Rename to ...
5914 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
5915 (abi-64-condition): Rename to ...
5916 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
5917 (abi-64-ld-soname): Rename to ...
5918 (abi-64-v1-ld-soname): ... this.
5919 (abi-64-v2-options): Define.
5920 (abi-64-v2-condition): Likewise.
5921 (abi-64-v2-ld-soname): Likewise.
5922 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
5923 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
5924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
5925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
5926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
5927
61cd8fe4
UW
59282013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5929 Alan Modra <amodra@gmail.com>
5930
5931 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
5932 New versions for use with the ELFv2 ABI.
5933 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
5934 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
5935 declaration.
5936 (struct La_ppc64v2_retval): Likewise.
5937 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
5938 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
5939 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
5940 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
5941 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
5942 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
5943 Do not save or restore CR.
5944 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
5945 (_dl_profile_resolve): Do no save or restore CR. Support extended
5946 return values for ELFv2 ABI. Fix location of FPR return registers.
5947 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
5948 updated values for _CALL_ELF == 2.
5949 (La_regs, La_retval, int_retval): Likewise.
5950
8b8a692c
UW
59512013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5952
5953 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
5954 (FRAME_MIN_SIZE_PARM): Likewise.
5955 (FRAME_BACKCHAIN): Likewise.
5956 (FRAME_CR_SAVE): Likewise.
5957 (FRAME_LR_SAVE): Likewise.
5958 (FRAME_TOC_SAVE): Likewise.
5959 (FRAME_PARM_SAVE): Likewise.
5960 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
5961 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
5962 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
5963 (call_mcount_parm_offset): New macro.
5964 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
5965 (PROF): Use symbolic stack frame offsets.
5966 (TAIL_CALL_SYSCALL_ERROR): Likewise.
5967 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
5968 Redefine in terms of FRAME_MIN_SIZE.
5969 (_dl_runtime_resolve): Use symbolic stack frame offsets.
5970 (_dl_profile_resolve): Likewise. Update comment.
5971 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
5972 symbols stack frame offsets.
5973 (__sigsetjmp): Likewise.
5974 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
5975 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
5976 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
5977 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
5978
5979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
5980 (FRAME_BACKCHAIN): Remove.
5981 (FRAME_CR_SAVE): Likewise.
5982 (FRAME_LR_SAVE): Likewise.
5983 (FRAME_COMPILER_DW): Likewise.
5984 (FRAME_LINKER_DW): Likewise.
5985 (FRAME_TOC_SAVE): Likewise.
5986 (FRAME_PARM_SAVE): Likewise.
5987 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
5988 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
5989 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
5990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
5991 (CHECK_SP): Use symbolic stack frame offsets.
5992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
5993 zone" instead of caller's parameter save area for temp storage.
5994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5995 Likewise. Also, use symbolic stack frame offsets.
5996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
5997 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
5998 our own stack frame instead of the caller's.
5999 (__socket): Use symbolic stack frame offsets.
6000
122b66de
UW
60012013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6002 Alan Modra <amodra@gmail.com>
6003
6004 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6005 Define.
6006 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6007 PPC64_LOCAL_ENTRY_OFFSET): Define.
6008 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6009 New function.
6010 (elf_machine_fixup_plt): Call it.
6011 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
6012 reloc arguments.
6013 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
6014 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6015 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
6016 r2 before calling target.
6017
696caf1d
UW
60182013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6019 Alan Modra <amodra@gmail.com>
6020
6021 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6022 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6023 versions of macros to support ELFv2 ABI.
6024 (LOCALENTRY): New macro.
6025 (ENTRY, EALIGN): Use it.
6026 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6027 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6028 fall through into ENTRY entry point.
6029 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6030 Only define if _CALL_ELF != 2.
6031
6032 (elf_machine_matches_host): Verify ABI version matches.
6033 (RTLD_START): Use LOCALENTRY.
6034 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6035 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6036 (PLT_ENTRY_WORDS): New macro.
6037 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6038 (elf_machine_runtime_setup): Support ELFv2 ABI.
6039 (elf_machine_fixup_plt): Likewise.
6040 (elf_machine_plt_conflict): Likewise.
6041 (resolve_ifunc): Likewise.
6042 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6043 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6044 Likewise.
6045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6046 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6048 (makecontext): Support ELFv2 ABI.
6049 * elf/elf.h (EF_PPC64_ABI): Define.
6050
d31beafa
UW
60512013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6052
6053 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6054 New assembler macro.
6055 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6056 [ASSEMBLER] (ENTRY): ... but instead here ...
6057 [ASSEMBLER] (EALIGN): ... and here.
6058 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6059 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6060 [!ASSEMBLER] (ENTRY_2): Use it.
6061 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6062 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
6063 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6064 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6065 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6067 Use PPC64_LOAD_FUNCPTR.
6068
b525166b
UW
60692013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6070
6071 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6072
7ec07d9a
AM
60732013-12-04 Alan Modra <amodra@gmail.com>
6074
6075 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6076 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6077 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6078 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6079
6080 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6081 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6082 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6083 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6084 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6085 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6086
5162e7dd
UW
60872013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6088
6089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6090 (__makecontext): Fix incorrect CFI when backtracing out of
6091 context created via makecontext.
6092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6093 (__setcontext): Fix incorrect CFI during switch to new context.
6094 (__novec_setcontext): Likewise.
6095
19e3372b
OB
60962013-12-04 Ondřej Bílka <neleai@seznam.cz>
6097
6098 [BZ #4772]
6099 * time/strptime_l.c (__strptime_internal): Allow modifiers
6100 in strptime.
6101 * time/tst-strptime.c (day_tests): Add testcase.
6102
6103
ecaf142d
SP
61042013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6105
6106 * scripts/bench.pl: Skip over blank lines.
6107
fbf964ae
PE
61082013-12-04 Paul Eggert <eggert@cs.ucla.edu>
6109
6110 [BZ #926]
6111 * manual/time.texi (Calendar Time): Clarify what timezone functions
6112 use.
6113
fa60a674
AZ
61142013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6115
6116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6117
d674f0ef
OB
61182013-12-04 Ondřej Bílka <neleai@seznam.cz>
6119
6120 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6121 implementation.
6122 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6123 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6124 * debug/memset_chk.c (__memset_chk): Likewise.
6125 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6126 * debug/strncpy_chk.c: Likewise.
6127
17dea188
JM
61282013-12-03 Joseph Myers <joseph@codesourcery.com>
6129
749008ff
JM
6130 [BZ #15268]
6131 [BZ #15425]
6132 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6133 (__ieee754_exp): For possibly underflowing results, check size of
6134 result and force underflow exception if required.
6135 * math/auto-libm-test-in: Add more tests of exp.
6136 * math/auto-libm-test-out: Regenerated.
6137 * sysdeps/i386/fpu/libm-test-ulps: Update.
6138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6139
17dea188
JM
6140 [BZ #16283]
6141 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6142 * math/w_exp2f.c (__exp2f): Likewise.
6143 * math/w_exp2l.c (__exp2l): Likewise.
6144 * math/auto-libm-test-in: Do not allow missing errno on exp2
6145 underflow.
6146 * math/auto-libm-test-out: Regenerated.
6147
b20de2c3
OB
61482013-12-03 Ondřej Bílka <neleai@seznam.cz>
6149
6150 [BZ #16274]
6151 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6152 handle filename validation.
6153 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6154 (do_open): Delete.
6155
d8e2dbe3
JM
61562013-12-03 Joseph Myers <joseph@codesourcery.com>
6157
34e16df5
JM
6158 [BZ #6786]
6159 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6160 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6161 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6162 <float.h>.
6163 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6164 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6165 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6166 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6167 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6168 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6169 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6170 * math/auto-libm-test-in: Don't allow missing errno from erfc.
6171 Add more erfc tests.
6172 * math/auto-libm-test-out: Regenerated.
6173 * sysdeps/i386/fpu/libm-test-ulps: Update.
6174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6175
d8e2dbe3
JM
6176 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6177 exp2, expm1, j0 and j1.
6178 * math/auto-libm-test-out: Regenerated.
6179 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6180 (erfc_test_data): Likewise.
6181 (exp_test_data): Likewise.
6182 (exp_tonearest_test_data): Likewise.
6183 (exp_towardzero_test_data): Likewise.
6184 (exp_downward_test_data): Likewise.
6185 (exp_upward_test_data): Likewise.
6186 (exp10_test_data): Likewise.
6187 (exp2_test_data): Likewise.
6188 (expm1_test_data): Likewise.
6189 (j0_test_data): Likewise.
6190 (j1_test_data): Likewise.
6191 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6192 (input_flag_type): Add flag_xfail_rounding.
6193 (input_flags): Add xfail-rounding.
6194 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6195 (output_for_one_input_case): Handle flag_xfail_rounding.
6196 * sysdeps/i386/fpu/libm-test-ulps: Update.
6197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6198
18d14251
AJ
61992013-12-03 Aurelien Jarno <aurelien@aurel32.net>
6200
3d2e6075 6201 [BZ #16289]
18d14251
AJ
6202 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6203 division by 0.
6204
520d437b
SP
62052013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6206
6207 [BZ #16195]
6208 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6209 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6210 (STAP_PROBE0): New macro.
6211 (STAP_PROBE1): Likewise.
6212 (STAP_PROBE2): Likewise.
6213 (STAP_PROBE3): Likewise.
6214 (STAP_PROBE4): Likewise.
6215
416e0145
OB
62162013-12-02 Ondřej Bílka <neleai@seznam.cz>
6217
6218 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6219
9d17796a
SE
62202013-12-02 Steve Ellcey <sellcey@mips.com>
6221
6222 * benchtests/Makefile (bench): Add sqrt.
6223 (LDLIBS-bench-sqrt): New.
6224 * benchtests/sqrt-input: New.
6225
f524d6a8
PS
62262013-12-02 Pavel Simerda <psimerda@redhat.com>
6227
639a0ef8
PS
6228 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6229 (GAIH_EAI): Likewise.
6230 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6231 (gaih_inet): Likewise.
6232 (getaddrinfo): Don't use GAIH_EAI.
6233
f524d6a8
PS
6234 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6235 (struct gaih): Remove definition.
6236
df3aedaf
SP
62372013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6238
6239 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6240 Use HERRNOP directly.
6241
1ab19dec
AZ
62422013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6243
b42ad38d 6244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 6245
176b0c79
JM
62462013-11-30 Joseph Myers <joseph@codesourcery.com>
6247
6248 * math/gen-auto-libm-tests.c (test_functions): Add more
6249 single-argument functions.
6250 (special_fill_pi_2): New function.
6251 (special_fill_minus_pi_2): Likewise.
6252 (special_fill_pi_6): Likewise.
6253 (special_fill_minus_pi_6): Likewise.
6254 (special_fill_pi_3): Likewise.
6255 (special_fill_2pi_3): Likewise.
6256 (special_fill_e): Likewise.
6257 (special_fill_1_e): Likewise.
6258 (special_fill_e_minus_1): Likewise.
6259 (special_real_inputs): Add more special inputs.
6260 (output_for_one_input_case): Do not require ERANGE on underflow to
6261 zero if round-to-nearest result does not underflow to zero, unless
6262 exact results required.
6263 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
6264 atan, atanh, cbrt, cos and cosh.
6265 * math/auto-libm-test-out: Regenerated.
6266 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
6267 (acos_tonearest_test_data): Likewise.
6268 (acos_towardzero_test_data): Likewise.
6269 (acos_downward_test_data): Likewise.
6270 (acos_upward_test_data): Likewise.
6271 (acosh_test_data): Likewise.
6272 (asin_test_data): Likewise.
6273 (asin_tonearest_test_data): Likewise.
6274 (asin_towardzero_test_data): Likewise.
6275 (asin_upward_test_data): Likewise.
6276 (asinh_test_data): Likewise.
6277 (atan_test_data): Likewise.
6278 (atanh_test_data): Likewise.
6279 (cbrt_test_data): Likewise.
6280 (cos_test_data): Likewise.
6281 (cos_tonearest_test_data): Likewise.
6282 (cos_towardzero_test_data): Likewise.
6283 (cos_downward_test_data): Likewise.
6284 (cos_upward_test_data): Likewise.
6285 (cosh_test_data): Likewise.
6286 (cosh_tonearest_test_data): Likewise.
6287 (cosh_towardzero_test_data): Likewise.
6288 (cosh_downward_test_data): Likewise.
6289 (cosh_upward_test_data): Likewise.
6290 * sysdeps/i386/fpu/libm-test-ulps: Update.
6291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6292
ffb536d0
JM
62932013-11-29 Joseph Myers <joseph@codesourcery.com>
6294
2a77a467
JM
6295 [BZ #6787]
6296 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
6297 * math/w_exp10f.c (__exp10f): Likewise.
6298 * math/w_exp10l.c (__exp10l): Likewise.
6299 * math/libm-test.inc (exp10_test_data): Add more tests and expect
6300 errno settings in existing tests.
6301
ea3bc4e8
JM
6302 [BZ #14032]
6303 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
6304 precision control set to double precision.
6305 * sysdeps/i386/fpu/w_sqrt.c: New file.
6306 * math/auto-libm-test-in: Add more tests.
6307 * math/auto-libm-test-out: Update.
6308
0712c9d8
JM
6309 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
6310 (sqrt_test_tonearest): New function.
6311 (sqrt_towardzero_test_data): New variable.
6312 (sqrt_test_towardzero): New function.
6313 (sqrt_downward_test_data): New variable.
6314 (sqrt_test_downward): New function.
6315 (sqrt_upward_test_data): New variable.
6316 (sqrt_test_upward): New function.
6317 (main): Call the new functions.
6318
ffb536d0
JM
6319 * math/gen-auto-libm-tests.c: New file.
6320 * math/auto-libm-test-in: Likewise.
6321 * math/auto-libm-test-out: New generated file.
6322 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
6323 variables.
6324 (%beautify): Add generated representations of zero.
6325 (top level): Set $auto_input and call parse_auto_input.
6326 (beautify): Remove trailing "f" from hex float constants.
6327 (parse_args): Handle XFAIL_TEST.
6328 (convert_condition): New function.
6329 (or_value): Likewise.
6330 (or_cond_value): Likewise.
6331 (generate_testfile): Handle AUTO_TESTS_* lines.
6332 (parse_auto_input): New function.
6333 * math/libm-test.inc (XFAIL_TEST): New macro.
6334 (ERRNO_UNCHANGED): Update value.
6335 (ERRNO_EDOM): Likewise.
6336 (ERRNO_ERANGE): Likewise.
6337 (IGNORE_RESULT): Likewise.
6338 (TEST_COND_flt_32): New macro.
6339 (TEST_COND_dbl_64): Likewise.
6340 (TEST_COND_ldbl_96_intel): Likewise.
6341 (TEST_COND_ldbl_96_m68k): Likewise.
6342 (TEST_COND_ldbl_128): Likewise.
6343 (TEST_COND_ldbl_128ibm): Likewise.
6344 (TEST_COND_long32): Likewise.
6345 (TEST_COND_long64): Likewise.
6346 (TEST_COND_before_rounding): Likewise.
6347 (TEST_COND_after_rounding): Likewise.
6348 (enable_test): Handle XFAIL_TEST flag.
6349 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
6350 with finite results.
6351 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
6352 auto-libm-test-out.
6353
acd98a8e
AK
63542013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6355 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6356
6357 [BZ #16214]
6358 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
6359 __tls_get_addr_internal instead of __tls_get_offset in order to
6360 avoid GOT pointer dependency. Make rtld export
6361 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
6362 __tls_get_addr since we are a __tls_get_offset platform.
6363 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
6364 GOT pointer being set up before.
6365 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
6366
3c1c46a6
JM
63672013-11-28 Joseph Myers <joseph@codesourcery.com>
6368
7475aef5
JM
6369 * manual/math.texi (Errors in Math Functions): Document accuracy
6370 goals.
6371
8bca7cd8
JM
6372 [BZ #15004]
6373 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
6374 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
6375 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6376 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6377 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6378 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6379 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6380 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6381 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6382 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6383 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6384 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6385 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6386 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6387 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6388 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6389
91a1f3fe
JM
6390 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
6391 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
6392 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
6393 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
6394 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
6395 Likewise.
6396 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
6397 Likewise.
6398 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
6399 Likewise.
6400 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
6401 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
6402 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
6403 atomic-feupdateenv and flt-rounds.
6404 * sysdeps/powerpc/nofpu/Versions (libc): Add
6405 __atomic_feholdexcept, __atomic_feclearexcept,
6406 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
6407 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
6408 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
6409 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
6410 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
6411 here.
6412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6413 Update.
6414
c5df7609
JM
6415 * manual/arith.texi (FP Exceptions): Document that exceptions may
6416 not be raised when matherr is used.
6417 (Math Error Reporting): Document overflow in directed rounding
6418 modes. Document that errno may not be set when finite values are
6419 returned on overflow. Document intent to set errno on underflow
6420 only for underflow to zero.
6421
3c1c46a6
JM
6422 [BZ #16271]
6423 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
6424 round-to-nearest then adjust result for other rounding modes.
6425 * include/fenv.h (fegetround): Use libm_hidden_proto.
6426 * math/fegetround.c (fegetround): Use libm_hidden_def.
6427 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6428 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6429 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6430 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6431 Likewise.
6432 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
6433 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6434 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6435 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
6436
5a4c6d53
SP
64372013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6438
6439 [BZ #16077]
6440 * nss/Versions (libnss_files): Add
6441 _nss_files_gethostbyname3_r.
6442 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
6443 New function.
6444 (HOST_DB_LOOKUP): Remove macro.
6445 (_nss_files_gethostbyname_r): Implement function without the
6446 HOST_DB_LOOKUP macro.
6447 (_nss_files_gethostbyname2_r): Likewise.
6448
897b98ba
OB
64492013-11-28 Ondřej Bílka <neleai@seznam.cz>
6450
6451 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
6452
6f476861
UB
64532013-11-26 Uros Bizjak <ubizjak@gmail.com>
6454
6455 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
6456 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
6457 warning.
6458
bd12ab55
AZ
64592013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6460
6461 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
6462 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
6463 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6464 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6465 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
6466 __fe_nomask_env_priv and attribute_hidden.
6467 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
6468 (libc_feupdateenv_test_ppc): Likewise.
6469 (libc_feresetround_ppc): Likewise.
6470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6471 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
6472 compat_symbol macro.
6473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6474 (__fe_nomask_env): Likewise.
6475 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
6476
52bb6543
OB
64772013-11-26 Ondřej Bílka <neleai@seznam.cz>
6478
6479 * string/Makefile: Remove ifunc tests.
6480 * string/test-string.h: Define TEST_IFUNC.
6481 * string/test-bcopy-ifunc.c: Remove.
6482 * string/test-bzero-ifunc.c: Likewise.
6483 * string/test-memccpy-ifunc.c: Likewise.
6484 * string/test-memchr-ifunc.c: Likewise.
6485 * string/test-memcmp-ifunc.c: Likewise.
6486 * string/test-memcpy-ifunc.c: Likewise.
6487 * string/test-memmem-ifunc.c: Likewise.
6488 * string/test-memmove-ifunc.c: Likewise.
6489 * string/test-mempcpy-ifunc.c: Likewise.
6490 * string/test-memrchr-ifunc.c: Likewise.
6491 * string/test-memset-ifunc.c: Likewise.
6492 * string/test-rawmemchr-ifunc.c: Likewise.
6493 * string/test-stpcpy-ifunc.c: Likewise.
6494 * string/test-stpncpy-ifunc.c: Likewise.
6495 * string/test-strcasecmp-ifunc.c: Likewise.
6496 * string/test-strcasestr-ifunc.c: Likewise.
6497 * string/test-strcat-ifunc.c: Likewise.
6498 * string/test-strchr-ifunc.c: Likewise.
6499 * string/test-strchrnul-ifunc.c: Likewise.
6500 * string/test-strcmp-ifunc.c: Likewise.
6501 * string/test-strcpy-ifunc.c: Likewise.
6502 * string/test-strcspn-ifunc.c: Likewise.
6503 * string/test-strlen-ifunc.c: Likewise.
6504 * string/test-strncasecmp-ifunc.c: Likewise.
6505 * string/test-strncat-ifunc.c: Likewise.
6506 * string/test-strncmp-ifunc.c: Likewise.
6507 * string/test-strncpy-ifunc.c: Likewise.
6508 * string/test-strnlen-ifunc.c: Likewise.
6509 * string/test-strpbrk-ifunc.c: Likewise.
6510 * string/test-strrchr-ifunc.c: Likewise.
6511 * string/test-strspn-ifunc.c: Likewise.
6512 * string/test-strstr-ifunc.c: Likewise.
6513
ab260039 65142013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
6515
6516 * benchtests/Makefile: Remove ifunc tests.
6517 * benchtests/bench-string.h: Define TEST_IFUNC.
6518 * benchtests/bench-bcopy-ifunc.c: Remove.
6519 * benchtests/bench-bzero-ifunc.c: Likewise.
6520 * benchtests/bench-memccpy-ifunc.c: Likewise.
6521 * benchtests/bench-memchr-ifunc.c: Likewise.
6522 * benchtests/bench-memcmp-ifunc.c: Likewise.
6523 * benchtests/bench-memcpy-ifunc.c: Likewise.
6524 * benchtests/bench-memmem-ifunc.c: Likewise.
6525 * benchtests/bench-memmove-ifunc.c: Likewise.
6526 * benchtests/bench-mempcpy-ifunc.c: Likewise.
6527 * benchtests/bench-memrchr-ifunc.c: Likewise.
6528 * benchtests/bench-memset-ifunc.c: Likewise.
6529 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
6530 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
6531 * benchtests/bench-stpcpy-ifunc.c: Likewise.
6532 * benchtests/bench-stpncpy-ifunc.c: Likewise.
6533 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
6534 * benchtests/bench-strcasestr-ifunc.c: Likewise.
6535 * benchtests/bench-strcat-ifunc.c: Likewise.
6536 * benchtests/bench-strchr-ifunc.c: Likewise.
6537 * benchtests/bench-strchrnul-ifunc.c: Likewise.
6538 * benchtests/bench-strcmp-ifunc.c: Likewise.
6539 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
6540 * benchtests/bench-strcpy-ifunc.c: Likewise.
6541 * benchtests/bench-strcspn-ifunc.c: Likewise.
6542 * benchtests/bench-strlen-ifunc.c: Likewise.
6543 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
6544 * benchtests/bench-strncat-ifunc.c: Likewise.
6545 * benchtests/bench-strncmp-ifunc.c: Likewise.
6546 * benchtests/bench-strncpy-ifunc.c: Likewise.
6547 * benchtests/bench-strnlen-ifunc.c: Likewise.
6548 * benchtests/bench-strpbrk-ifunc.c: Likewise.
6549 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 6550 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
6551 * benchtests/bench-strspn-ifunc.c: Likewise.
6552 * benchtests/bench-strstr-ifunc.c: Likewise.
6553
65542013-11-26 Ondřej Bílka <neleai@seznam.cz>
6555
ab260039
OB
6556 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
6557
d1d9eaf4 65582013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 6559
d1d9eaf4
OB
6560 * resolv/netdb.h: Use __glibc_reserved instead __unused.
6561 * rt/aio.h: Likewise.
6562 * sysdeps/gnu/bits/utmp.h: Likewise.
6563 * sysdeps/gnu/bits/utmpx.h: Likewise.
6564 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6565 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
6566 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
6567 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
6568 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
6569 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6570 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
6571 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
6572 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
6573 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6574 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6575 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6576 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
6577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
6578 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6579 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
6580 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6581 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6582 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6583 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
6584 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
6585 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
6586 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
6587 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6588 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6589 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6590 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
6591 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6592 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6593 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6594 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
6595 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
6596 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
6597 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6598 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6599 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
6600 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6601 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6602 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6603 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
6604 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
6605 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6606
a7624ed9
CD
66072013-11-25 Carlos O'Donell <carlos@redhat.com>
6608
6609 [BZ #16245]
6610 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
6611 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
6612
63cfe52b
JM
66132013-11-25 Joseph Myers <joseph@codesourcery.com>
6614
6615 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
6616 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6617 Likewise.
6618
41e8926a
AZ
66192013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6620
6621 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
6622 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
6623 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
6624 (__fesetround): Remove define.
6625 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
6626 rounding and exceptions handling.
6627 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
6628 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
6629 (__fe_nomask_env): Likewise.
6630 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
6631 __fegetround instead of fegetround.
6632 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6633 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
6634
6851bd4d
RM
66352013-11-21 Roland McGrath <roland@hack.frob.com>
6636
070906ff
RM
6637 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
6638 it's there.
6639
6851bd4d
RM
6640 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
6641
84ae135d
MI
66422013-11-21 Meador Inge <meadori@codesourcery.com>
6643
6644 [BZ #11157]
6645 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
6646 (encrypt_r): Likewise.
6647 * malloc/obstack.h (obstack_free): Likewise.
6648 * posix/unistd.h (encrypt): Likewise.
6649
daf75146
GM
66502013-11-21 Guy Martin <gmsoft@tuxicoman.be>
6651
6652 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
6653 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
6654 DL_CALL_DT_FINI() that call the functions directly.
6655 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
6656 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
6657 * elf/dl-fini.c: Likewise.
6658
10ad46bc
OB
66592013-11-20 Ondřej Bílka <neleai@seznam.cz>
6660
6661 * malloc/hooks.c (memalign_check): Add alignment rounding.
6662 * malloc/malloc.c (_mid_memalign): New function.
6663 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
6664 Implement by calling _mid_memalign.
6665 * manual/probes.texi (Memory Allocation Probes): Remove
6666 memory_valloc_retry and memory_pvalloc_retry.
6667
f3fd2628
SP
66682013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6669
4712799f
SP
6670 * locale/programs/locarchive.c (open_archive): Add const
6671 qualifier to ARCHIVEFNAME and copy default fname to
6672 DEFAULT_FNAME.
6673
0417b20f
SP
6674 [BZ #15601]
6675 * libio/tst-widetext.input: Rename Oriya to Odia.
6676 * locale/iso-639.def: Likewise.
6677
f3fd2628
SP
6678 * manual/probes.texi (Mathematical Function Probes): Add
6679 documentation for sin, cos, asin and acos probes.
6680 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
6681 (__sin32): Add slowasin probe.
6682 (__cos32): Add slowacos probe.
6683 (__mpsin): Add slowsin probe.
6684 (__mpcos): Add slowcos probe.
6685
73c1ce4f
JM
66862013-11-19 Joseph Myers <joseph@codesourcery.com>
6687
6688 [BZ #15483]
6689 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
6690 thread-local __sim_exceptions_thread and global
6691 __sim_exceptions_global.
6692 (__sim_disabled_exceptions): Change to thread-local
6693 __sim_disabled_exceptions_thread and global
6694 __sim_disabled_exceptions_global.
6695 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6696 and global __sim_round_mode_global.
6697 (__simulate_exceptions): Use thread-local floating-point state and
6698 set global state from it as needed.
6699 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
6700 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
6701 __sim_round_mode_thread.
6702 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
6703 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
6704 and global __sim_exceptions_global.
6705 (__sim_disabled_exceptions): Change to thread-local
6706 __sim_disabled_exceptions_thread and global
6707 __sim_disabled_exceptions_global.
6708 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6709 and global __sim_round_mode_global.
6710 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
6711 (SIM_SET_GLOBAL): Likewise.
6712 * sysdeps/powerpc/soft-fp/sfp-machine.h
6713 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
6714 __sim_round_mode_thread.
6715 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
6716 __sim_disabled_exceptions_thread.
6717 (__sim_exceptions): Change to __sim_exceptions_thread.
6718 (__sim_disabled_exceptions): Change to
6719 __sim_disabled_exceptions_thread.
6720 (__sim_round_mode): Change to __sim_round_mode_thread.
6721 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
6722 thread-local floating-point state and set global state from it as
6723 needed.
6724 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
6725 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
6726 (__sim_disabled_exceptions): Remove extern declaration.
6727 (feenableexcept): Use thread-local floating-point state and set
6728 global state from it as needed.
6729 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
6730 extern declaration.
6731 (__sim_disabled_exceptions): Likewise.
6732 (__sim_round_mode): Likewise.
6733 (__fegetenv): Use thread-local floating-point state.
6734 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
6735 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6736 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
6737 floating-point state and set global state from it as needed.
6738 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
6739 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6740 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
6741 Likewise.
6742 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6743 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
6744 Likewise.
6745 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
6746 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
6747 Use __sim_round_mode_thread.
6748 * math/test-fenv-tls.c: New file.
6749 * math/Makefile (tests): Add test-fenv-tls.
6750 ($(objpfx)test-fenv-tls): Depend on
6751 $(common-objpfx)nptl/libpthread.so.
6752
b5449b12
AS
67532013-11-19 Andreas Schwab <schwab@suse.de>
6754
6755 * locale/programs/locale.c (show_info): Decode wordarray elements.
6756 * locale/categories.def (LC_MONETARY): Add element for
6757 _NL_MONETARY_CRNCYSTR.
6758 * locale/C-monetary.c (conversion_rate): New variable.
6759 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
6760 element.
6761
e186536b
CM
67622013-11-18 Chris Metcalf <cmetcalf@tilera.com>
6763
6764 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
6765 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
6766
5c349950
PP
67672013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6768
6769 * elf/Makefile (tst-auxv): New test.
6770 * elf/tst-auxv.c: New
6771 * elf/rtld.c (dl_main): Adjust AT_EXECFN
6772
699df45b
JM
67732013-11-18 Joseph Myers <joseph@codesourcery.com>
6774
6775 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
6776 (hidden_proto): Caller changed.
6777 (hidden_tls_proto): New macro.
6778 (libc_hidden_tls_proto): Likewise.
6779 (rtld_hidden_tls_proto): Likewise.
6780 (libm_hidden_tls_proto): Likewise.
6781 (libresolv_hidden_tls_proto): Likewise.
6782 (librt_hidden_tls_proto): Likewise.
6783 (libdl_hidden_tls_proto): Likewise.
6784 (libnss_files_hidden_tls_proto): Likewise.
6785 (libnsl_hidden_tls_proto): Likewise.
6786 (libnss_nisplus_hidden_tls_proto): Likewise.
6787 (libutil_hidden_tls_proto): Likewise.
6788
b7589107
OB
67892013-11-18 Ondřej Bílka <neleai@seznam.cz>
6790
6791 [BZ #10253]
6792 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
6793 (decompose_rpath): Defer expansion to fillin_rpath.
6794 (_dl_init_paths): Pass linkmap to fillin_rpath.
6795
250c23bd
RS
67962013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6797
6798 * benchtests/Makefile: Add strsep.
6799 * benchtests/bench-strsep.c: New file: strsep benchtest.
6800 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
6801
a7931fcf
AS
68022013-11-18 Andreas Schwab <schwab@suse.de>
6803
6804 * locale/programs/locale.c (show_info) [case byte]: Check for
6805 '\377' instead of '\177'.
6806 * locale/C-monetary.c (not_available): Always use "\377".
6807 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
6808 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
6809 detect unavailable sign_posn locale elements.
6810 * locale/localeconv.c (__localeconv): For grouping and
6811 mon_grouping handle "\177" and "\377" like no grouping.
6812 (INT_ELEM): New macro. Use it to set all numeric members.
6813 * locale/programs/ld-monetary.c (monetary_read)
6814 <tok_mon_grouping>: Normalize single -1 to the empty string.
6815 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
6816 Likewise.
6817
728dab0e
OB
68182013-11-07 Ondřej Bílka <neleai@seznam.cz>
6819
6820 [BZ #16055]
6821 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
6822 when we match (nil).
6823 * stdio-common/tst-sscanf.c (struct test): Add testcase.
6824
66294491
JM
68252013-11-16 Joseph Myers <joseph@codesourcery.com>
6826
ce665817
JM
6827 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
6828 (NO_TEST_INLINE): Update value.
6829 (ERRNO_UNCHANGED): Likewise.
6830 (ERRNO_EDOM): Likewise.
6831 (ERRNO_ERANGE): Likewise.
6832 (IGNORE_RESULT): Likewise.
6833 (check_float_internal): Check signs of NaN results if
6834 TEST_NAN_SIGN used.
6835 (check_complex): Pass TEST_NAN_SIGN flag through to second
6836 check_float_internal call.
6837 (copysign_test_data): Add tests with quiet NaNs as second
6838 argument. Use TEST_NAN_SIGN.
6839 (fabs_test_data): Add test of negative quiet NaN argument. Use
6840 TEST_NAN_SIGN.
6841 (signbit_test_data): Add tests of quiet NaN argument.
6842 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
6843
ee1466a9
JM
6844 * math/gen-libm-test.pl (show_exceptions): Take extra argument
6845 $ignore_result.
6846 (parse_args): Handle function results specified as IGNORE.
6847 * math/libm-test.inc (IGNORE_RESULT): New macro.
6848 (check_float_internal): Do not check numerical result if flag
6849 IGNORE_RESULT set.
6850 (check_complex): Pass through IGNORE_RESULT to second
6851 check_float_internal call.
6852 (check_int): Do not check numerical result if flag IGNORE_RESULT
6853 set.
6854 (check_long): Likewise.
6855 (check_bool): Likewise.
6856 (check_longlong): Likewise.
6857 (lrint_test_data): Add tests of infinite and NaN arguments.
6858 (lrint_tonearest_test_data): Likewise.
6859 (lrint_towardzero_test_data): Likewise.
6860 (lrint_downward_test_data): Likewise.
6861 (lrint_upward_test_data): Likewise.
6862 (llrint_test_data): Likewise.
6863 (llrint_tonearest_test_data): Likewise.
6864 (llrint_towardzero_test_data): Likewise.
6865 (llrint_downward_test_data): Likewise.
6866 (llrint_upward_test_data): Likewise.
6867 (lround_test_data): Likewise.
6868 (llround_test_data): Likewise.
6869
14407b7e
JM
6870 * math/libm-test.inc (NO_TEST_INLINE): New macro.
6871 (ERRNO_UNCHANGED): Update value.
6872 (ERRNO_EDOM): Likewise.
6873 (ERRNO_ERANGE): Likewise.
6874 (NO_TEST_INLINE_FLOAT): New macro.
6875 (NO_TEST_INLINE_DOUBLE): Likewise.
6876 (enable_test): New function.
6877 (RUN_TEST_f_f): Check enable_test before running test.
6878 (RUN_TEST_2_f): Likewise.
6879 (RUN_TEST_fff_f): Likewise.
6880 (RUN_TEST_c_f): Likewise.
6881 (RUN_TEST_f_f1): Likewise.
6882 (RUN_TEST_fF_f1): Likewise.
6883 (RUN_TEST_fI_f1): Likewise.
6884 (RUN_TEST_ffI_f1): Likewise.
6885 (RUN_TEST_c_c): Likewise.
6886 (RUN_TEST_cc_c): Likewise.
6887 (RUN_TEST_f_i): Likewise.
6888 (RUN_TEST_f_i_tg): Likewise.
6889 (RUN_TEST_ff_i_tg): Likewise.
6890 (RUN_TEST_f_b): Likewise.
6891 (RUN_TEST_f_b_tg): Likewise.
6892 (RUN_TEST_f_l): Likewise.
6893 (RUN_TEST_f_L): Likewise.
6894 (RUN_TEST_fFF_11): Likewise.
6895 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
6896 conditionals.
6897 (cosh_test_data): Likewise.
6898 (exp_test_data): Likewise.
6899 (expm1_test_data): Likewise.
6900 (hypot_test_data): Likewise.
6901 (pow_test_data): Likewise.
6902 (sinh_test_data): Likewise.
6903 (tanh_test_data): Likewise.
6904 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
6905 flags argument.
6906
ca07f197
JM
6907 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
6908 tests with quiet NaN input and output.
6909 (acosh_test_data): Likewise.
6910 (asin_test_data): Likewise.
6911 (asinh_test_data): Likewise.
6912 (atan_test_data): Likewise.
6913 (atanh_test_data): Likewise.
6914 (atan2_test_data): Likewise.
6915 (cbrt_test_data): Likewise.
6916 (cos_test_data): Likewise.
6917 (cosh_test_data): Likewise.
6918 (erf_test_data): Likewise.
6919 (erfc_test_data): Likewise.
6920 (exp_test_data): Likewise.
6921 (exp10_test_data): Likewise.
6922 (exp2_test_data): Likewise.
6923 (expm1_test_data): Likewise.
6924 (hypot_test_data): Likewise.
6925 (j0_test_data): Likewise.
6926 (j1_test_data): Likewise.
6927 (jn_test_data): Likewise.
6928 (lgamma_test_data): Likewise.
6929 (log_test_data): Likewise.
6930 (log10_test_data): Likewise.
6931 (log1p_test_data): Likewise.
6932 (log2_test_data): Likewise.
6933 (pow_test_data): Likewise.
6934 (scalb_test_data): Likewise.
6935 (sin_test_data): Likewise.
6936 (sincos_test_data): Likewise.
6937 (sinh_test_data): Likewise.
6938 (tan_test_data): Likewise.
6939 (tanh_test_data): Likewise.
6940 (tgamma_test_data): Likewise.
6941 (y0_test_data): Likewise.
6942 (y1_test_data): Likewise.
6943 (yn_test_data): Likewise.
6944
66294491
JM
6945 [BZ #16167]
6946 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
6947 argument being NaN and avoid computations with second argument in
6948 that case.
6949 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6950 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6951 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6952
1820b143
CL
69532013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
6954
6955 * locale/iso-639.def: Add Chitwani Tharu (the).
6956
714bd261
AS
69572013-11-14 Andreas Schwab <schwab@suse.de>
6958
6959 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
6960 word instead of empty string.
6961
7ab44563
AZ
69622013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6963
6964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6965 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
6966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6967 (__fe_nomask_env): Likewise.
6968
e8470ea2
SE
69692013-11-13 Steve Ellcey <sellcey@mips.com>
6970
6971 * benchtests/bench-timing.h: Include time.h.
6972
17c1d9f0
L
69732013-11-13 H.J. Lu <hongjiu.lu@intel.com>
6974
6975 [BZ #15997]
6976 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
6977 to 3.4.0 for x32.
6978 * sysdeps/unix/sysv/linux/configure: Regenerated.
6979
9310c284
JM
69802013-11-13 Joseph Myers <joseph@codesourcery.com>
6981
6982 [BZ #16151]
6983 * stdlib/strtod_l.c (round_and_return): Do not consider
6984 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
6985 exponent one less than half the least subnormal exponent.
6986 * stdlib/test-strtod-round-data: Add more tests.
6987 * stdlib/tst-strtod-round.c (tests): Regenerated.
6988
7a2ad8cf
AZ
69892013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6990
6991 [BZ #14143]
6992 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
6993 (__fe_mask_env): Likewise.
6994 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
6995 libm_hidden_proto and add function prototype.
6996 (__fe_mask_env): Add function prototype.
6997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6998 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
6999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7000 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7002 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7003
50727aa7
MS
70042013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7005
b2f386c1 7006 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
7007 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7008
a615be46
MS
70092013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7010
7011 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7012 of htab_find_slot().
7013
7ddace62
DM
70142013-11-11 David S. Miller <davem@davemloft.net>
7015
7016 [BZ #16150]
7017 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7018 symbol in the non-vis3 case in static builds.
7019 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7020 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7021 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7022 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7023
9182aa67
JK
70242013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7025
7026 [BZ #387]
7027 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7028 it is empty.
7029
450a2e2d
AZ
70302013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7031
b2f386c1
SP
7032 * benchtests/Makefile: Add bench-strtod.
7033 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 7034
8ec3f656
AS
70352013-11-11 Andreas Schwab <schwab@suse.de>
7036
7037 [BZ #16153]
7038 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7039 terminating NUL in key length.
7040
76a9b998
AZ
70412013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7042
7043 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7044 Add artificial ODP entry for vDSO symbol for PPC64.
7045 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7046 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7047
e4368156
OB
70482013-11-07 Ondřej Bílka <neleai@seznam.cz>
7049
7050 [BZ #15374]
7051 * nss/getent.c (services_keys): Recognize services starting with digit.
7052
8d6bb57c
DM
70532013-11-06 David S. Miller <davem@davemloft.net>
7054
7055 [BZ #15985]
7056 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7057 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7058
e256c421
WN
70592013-11-06 Will Newton <will.newton@linaro.org>
7060
7061 * manual/memory.texi (Malloc Examples): Remove register
7062 keyword from examples.
7063
f6e12daa 70642013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 7065
f6e12daa 7066 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 7067
9d880655
AS
70682013-11-04 Joseph Myers <joseph@codesourcery.com>
7069
fd2f9486 7070 [BZ #6981]
9d880655
AS
7071 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7072 depending on [__GCC_IEC_559 > 0].
7073 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7074 depending on [__GCC_IEC_559_COMPLEX > 0].
7075
ae129d3c
CL
70762013-11-03 Chris Leonard <cjl@sugarlabs.org>
7077
7078 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7079 to iso-639.def.
7080
4a15c2a4 70812013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
7082
7083 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7084
8b35e35d
OB
70852013-11-01 Ondřej Bílka <neleai@seznam.cz>
7086
7087 [BZ #16112]
7088 * malloc/malloc (malloc_info): Do not handle first bin as
7089 special case.
7090
1d70fd6c
CL
70912013-11-01 Chris Leonard <cjl@sugarlabs.org>
7092
7093 * locale/iso-639.def: Add Central Nahuatl (nhn).
7094
8c5c2600
BH
70952013-11-01 Bruno Haible <bruno@clisp.org>
7096
7097 [BZ #7003]
7098 * manual/math.texi (BSD Random): Specify range upper bound as
7099 in POSIX.
7100
da5579c2
CL
71012013-10-31 Chris Leonard <cjl@sugarlabs.org>
7102
7103 * locale/iso-639.def: Add Meadow Mari (mhr).
7104
5d30d853
OB
71052013-10-31 Ondřej Bílka <neleai@seznam.cz>
7106
7107 [BZ #14752], [BZ #15763]
7108 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7109 Validate name.
7110 * rt/tst_shm.c: Add test for escaping directory.
7111
a4966c61
AS
71122013-10-31 Andreas Schwab <schwab@suse.de>
7113
8a43e768 7114 [BZ #15917]
a4966c61
AS
7115 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7116 followed by 'x' as part of digit sequence.
7117 * stdio-common/tst-sscanf.c (double_tests2): New tests.
7118
28d708c4
MAP
71192013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7120
7121 [BZ #16037]
7122 * configure.ac: allow GNU Make 4.0 and greater.
7123 * configure: Regenerated.
7124
a56ee40b
WN
71252013-10-30 Will Newton <will.newton@linaro.org>
7126
7127 [BZ #16038]
7128 * malloc/hooks.c (memalign_check): Limit alignment to the
7129 maximum representable power of two.
7130 * malloc/malloc.c (__libc_memalign): Likewise.
7131 * malloc/tst-memalign.c (do_test): Add test for very
7132 large alignment values.
7133 * malloc/tst-posix_memalign.c (do_test): Likewise.
7134
c6e4925d
OB
71352013-10-30 Ondřej Bílka <neleai@seznam.cz>
7136
7137 [BZ #11087]
7138 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7139 (munmap_chunk): Likewise.
7140 (mremap_chunk): Likewise.
7141
71422013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 7143
8a43e768 7144 [BZ #15799]
bbea82f7
OB
7145 * stdlib/div.c (div): Remove obsolete code.
7146 * stdlib/ldiv.c (ldiv): Likewise.
7147 * stdlib/lldiv.c (lldiv): Likewise.
7148
977f4b31
SP
71492013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7150
7151 [BZ #16071]
7152 * nss/nss_files/files-XXX.c (get_contents_ret): New
7153 enumerator.
7154 (get_contents): New function.
7155 (internal_getent): Use it. Expand size of LINEBUFLEN.
7156
cb8a6dbd
MF
71572013-10-30 Mike Frysinger <vapier@gentoo.org>
7158
7159 * configure.in: Moved to ...
7160 * configure.ac: ... here. Change reference to configure.in
7161 to configure.ac.
7162 * sysdeps/arm/preconfigure.ac: ... here.
7163 configure.in to configure.ac.
7164 * sysdeps/gnu/configure.in: Moved to ...
7165 * sysdeps/gnu/configure.ac: ... here.
7166 * sysdeps/i386/configure.in: Moved to ...
7167 * sysdeps/i386/configure.ac: ... here.
7168 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7169 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7170 * sysdeps/mach/configure.in: Moved to ...
7171 * sysdeps/mach/configure.ac: ... here.
7172 * sysdeps/mach/hurd/configure.in: Moved to ...
7173 * sysdeps/mach/hurd/configure.ac: ... here.
7174 * sysdeps/powerpc/configure.in: Moved to ...
7175 * sysdeps/powerpc/configure.ac: ... here.
7176 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7177 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7178 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7179 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7180 * sysdeps/s390/s390-32/configure.in: Moved to ...
7181 * sysdeps/s390/s390-32/configure.ac: ... here.
7182 * sysdeps/s390/s390-64/configure.in: Moved to ...
7183 * sysdeps/s390/s390-64/configure.ac: ... here.
7184 * sysdeps/sh/configure.in: Moved to ...
7185 * sysdeps/sh/configure.ac: ... here.
7186 * sysdeps/sparc/configure.in: Moved to ...
7187 * sysdeps/sparc/configure.ac: ... here.
7188 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7189 * sysdeps/unix/sysv/linux/configure.ac: ... here.
7190 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7191 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7192 * sysdeps/x86_64/configure.in: Moved to ...
7193 * sysdeps/x86_64/configure.ac: ... here.
7194 * sysdeps/x86_64/preconfigure.in: Moved to ...
7195 * sysdeps/x86_64/preconfigure.ac: ... here.
7196 * aclocal.m4: Change reference to configure.in to configure.ac.
7197 * config.h.in: Likewise.
7198 * manual/install.texi: Likewise.
7199 * manual/maint.texi: Likewise.
7200 * Makefile: Likewise.
7201 * malloc/Makefile: Likewise.
7202 * nscd/Makefile: Likewise.
7203 * Makeconfig: Change reference to configure.in and
7204 preconfigure.in to configure.ac and preconfigure.ac
7205 respectively.
7206 * INSTALL: Regenerated.
7207 * configure: Likewise.
7208 * sysdeps/gnu/configure: Likewise.
7209 * sysdeps/i386/configure: Likewise.
7210 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7211 * sysdeps/mach/configure: Likewise.
7212 * sysdeps/mach/hurd/configure: Likewise.
7213 * sysdeps/powerpc/configure: Likewise.
7214 * sysdeps/powerpc/powerpc32/configure: Likewise.
7215 * sysdeps/powerpc/powerpc64/configure: Likewise.
7216 * sysdeps/s390/s390-32/configure: Likewise.
7217 * sysdeps/s390/s390-64/configure: Likewise.
7218 * sysdeps/sh/configure: Likewise.
7219 * sysdeps/sparc/configure: Likewise.
7220 * sysdeps/unix/sysv/linux/configure: Likewise.
7221 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7222 * sysdeps/x86_64/configure: Likewise.
7223 * sysdeps/x86_64/preconfigure: Likewise.
7224
36a4953a
AS
72252013-10-29 Andreas Schwab <schwab@suse.de>
7226
7227 * stdio-common/Makefile (tst-swscanf-ENV): Define.
7228
c79a1204
SP
72292013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7230
dfa1b402
SP
7231 * benchtests/pow-inputs: Add new inputs.
7232
54f73d9c
SP
7233 * benchtests/exp-inputs: Add new inputs.
7234
c79a1204
SP
7235 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7236 conditional check for return value.
7237 (__cos32): Likewise.
7238
67beb545 72392013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
7240
7241 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7242 to provide a boost for large inputs with word alignment.
7243 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7244 implementation based on optimized PPC64 strcpy.
7245 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7246 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7247 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7248 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7249
151659f6
OB
72502013-10-25 Ondřej Bílka <neleai@seznam.cz>
7251
482a077e 7252 [BZ #2801]
151659f6
OB
7253 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7254
10b0f26b
OB
72552013-10-25 Ondřej Bílka <neleai@seznam.cz>
7256
7257 [BZ #14876]
7258 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7259 * time/tst-strptime.c (day_tests): Add testcase.
7260
ca42d35e
OB
72612013-10-25 Ondřej Bílka <neleai@seznam.cz>
7262
482a077e 7263 [BZ #14029]
ca42d35e
OB
7264 * manual/pattern.texi: Acknowledge that fnmatch can fail.
7265
52e6d801
FB
72662013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
7267
7268 [BZ #16074]
7269 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
7270 MAP_FAILED on error.
7271
7cbcdb36
SP
72722013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7273
7274 [BZ #16072]
7275 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
7276 heap for large requests.
7277
894f3f10
AM
72782013-10-25 Aurelien Jarno <aurelien@aurel32.net>
7279
7280 [BZ #9954]
7281 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
7282 result if the result has no associated interface.
7283 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
7284 interface for all 127.X.Y.Z addresses.
7285
b85545a6
CL
72862013-10-24 Chris Leonard <cjl@sugarlabs.org>
7287
7288 * locale/iso-639.def: Add Ligurian (lij)
7289
d1f23d46
OB
72902013-10-21 Ondřej Bílka <neleai@seznam.cz>
7291
7292 [BZ #15825]
7293 * sunrpc/rpc_main.c: Document rpcgen -5.
7294
4db5b08f
MS
72952013-10-19 Michael Stahl <mstahl@redhat.com>
7296
7297 * elf/rtld.c (do_preload): Print the reason why preloading failed.
7298
a471e96a
OB
72992013-10-19 Ondřej Bílka <neleai@seznam.cz>
7300
d1f23d46 7301 [BZ #10278]
a471e96a
OB
7302 * posix/glob.c: Match only directories when trailing slash is present.
7303 * posix/tst-gnuglob.c (my_opendir): Do not open files.
7304 (main): Add testcase.
7305
45c30c61
OB
73062013-10-19 Ondřej Bílka <neleai@seznam.cz>
7307
7308 [BZ #15670]
7309 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
7310
484c12fb
CD
73112013-10-18 Carlos O'Donell <carlos@redhat.com>
7312
3d7dc513
CD
7313 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
7314 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
7315 AUTH_DES and cindex for FIPS 140-2.
7316 (DES Encryption): Add cindex FIPS 46-3.
7317
484c12fb
CD
7318 * locale/locarchive.h (struct locarhandle): Add fname.
7319 * locale/programs/localedef.c (main): Pass ARGV[remaining]
7320 if an optional argument was specified to --list-archive,
7321 otherwise NULL.
7322 * locale/programs/locarchive.c (show_archive_content): Take new
7323 argument fname and pass it via ah.fname to open_archive.
7324 * locale/programs/localedef.h: Update decl.
7325 (open_archive): If AH->fname is non-null, open that file
7326 rather than the default file name, and don't ignore ENOENT.
7327 (create_archive): Set AH.fname to NULL.
7328 (delete_locales_from_archive): Likewise.
7329 (add_locales_to_archive): Likewise.
7330 * locale/programs/locfile.c (write_all_categories): Likewise.
7331
3c8325fb
JM
73322013-10-18 Joseph Myers <joseph@codesourcery.com>
7333 Aldy Hernandez <aldyh@redhat.com>
7334
7335 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
7336 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
7337 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
7338 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
7339 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
7340 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
7341 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
7342 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
7343 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
7344 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
7345 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
7346 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
7347 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
7348 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
7349 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
7350 Likewise.
7351 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
7352 Likewise.
7353 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
7354 Likewise.
7355 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
7356 Likewise.
7357 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
7358 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
7359 Likewise.
7360 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
7361 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
7362 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
7363 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
7364 Likewise.
7365 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
7366 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
7367 * sysdeps/powerpc/preconfigure: Likewise.
7368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
7369 Likewise.
7370 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
7371 Replace contents of file by #include of <fenv_libc.h>.
7372 * sysdeps/powerpc/soft-fp/sfp-machine.h
7373 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
7374 and <sys/prctl.h>.
7375 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
7376 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
7377 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
7378 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
7379 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
7380 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
7381 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
7382 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
7383 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
7384 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
7385 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
7386 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
7387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7388 Allow copysignl PLT reference to be missing.
7389
5abe0682
RS
73902013-10-18 Richard Sandiford <richard@codesourcery.com>
7391 Joseph Myers <joseph@codesourcery.com
7392
7393 [BZ #15948]
7394 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
7395 single character.
7396 (add_to_tablewc): Assert sequence of wide characters is nonempty.
7397
c7738d08
SP
73982013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7399
7400 * elf/tst-tls-dlinfo.c: Don't include tls.h.
7401 * elf/tst-tls1.c: Likewise.
7402 * elf/tst-tls10.h: Likewise.
7403 * elf/tst-tls14.c: Likewise.
7404 * elf/tst-tls2.c: Likewise.
7405 * elf/tst-tls3.c: Likewise.
7406 * elf/tst-tls4.c: Likewise.
7407 * elf/tst-tls5.c: Likewise.
7408 * elf/tst-tls6.c: Likewise.
7409 * elf/tst-tls7.c: Likewise.
7410 * elf/tst-tls8.c: Likewise.
7411 * elf/tst-tls9.c: Likewise.
7412 * elf/tst-tlsmod1.c: Likewise.
7413 * elf/tst-tlsmod13.c: Likewise.
7414 * elf/tst-tlsmod13a.c: Likewise.
7415 * elf/tst-tlsmod14a.c: Likewise.
7416 * elf/tst-tlsmod16a.c: Likewise.
7417 * elf/tst-tlsmod16b.c: Likewise.
7418 * elf/tst-tlsmod2.c: Likewise.
7419 * elf/tst-tlsmod3.c: Likewise.
7420 * elf/tst-tlsmod4.c: Likewise.
7421 * elf/tst-tlsmod5.c: Likewise.
7422 * elf/tst-tlsmod6.c: Likewise.
7423
0bfcf2c7
OB
74242013-10-18 Ondřej Bílka <neleai@seznam.cz>
7425
7426 [BZ #12486]
7427 * malloc/malloc.c: remove checks for statistics.
7428
264aad1e
OB
74292013-10-17 Ondřej Bílka <neleai@seznam.cz>
7430
7431 [BZ #15277]
7432 * inet/inet_net.c (inet_network): Detect additional invalid strings.
7433 * inet/tst-network.c: Add testcase.
7434
b957ced8
AS
74352013-10-17 Andreas Schwab <schwab@suse.de>
7436
7437 [BZ #15218]
7438 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
7439 to determine canonical name.
7440
c5d5d574
OB
74412013-10-17 Ondřej Bílka <neleai@seznam.cz>
7442
7443 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
7444 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
7445 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7446 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7447 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7448 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7449 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7450 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7451 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7452 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7453 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7454 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7455 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7456 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7457 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7458 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7459 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7460 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7461 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7462 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7463 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7464 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7465 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7466 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
7467 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
7468 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7469 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7470 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
7471 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7472 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
7473 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7474 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7475 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7476 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7477 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7478 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7479 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7480 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7481 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7482 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7483 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7484 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7485 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7486 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7487 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7488 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7489 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7490 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7491 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7492 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7493 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7494 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7495 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7496 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7497 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7498 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7499 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7500 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7501
e5c2c2d0
JM
75022013-10-17 Joseph Myers <joseph@codesourcery.com>
7503
7504 [BZ #16041]
7505 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
7506 make result into a quiet NaN.
7507
51ca9e29
JM
75082013-10-16 Joseph Myers <joseph@codesourcery.com>
7509
7510 * soft-fp/adddf3.c: Fix horizontal whitespace.
7511 * soft-fp/addsf3.c: Likewise.
7512 * soft-fp/addtf3.c: Likewise.
7513 * soft-fp/divdf3.c: Likewise.
7514 * soft-fp/divsf3.c: Likewise.
7515 * soft-fp/divtf3.c: Likewise.
7516 * soft-fp/double.h: Likewise.
7517 * soft-fp/eqdf2.c: Likewise.
7518 * soft-fp/eqsf2.c: Likewise.
7519 * soft-fp/eqtf2.c: Likewise.
7520 * soft-fp/extenddftf2.c: Likewise.
7521 * soft-fp/extended.h: Likewise.
7522 * soft-fp/extendsfdf2.c: Likewise.
7523 * soft-fp/extendsftf2.c: Likewise.
7524 * soft-fp/extendxftf2.c: Likewise.
7525 * soft-fp/fixdfdi.c: Likewise.
7526 * soft-fp/fixdfsi.c: Likewise.
7527 * soft-fp/fixdfti.c: Likewise.
7528 * soft-fp/fixsfdi.c: Likewise.
7529 * soft-fp/fixsfsi.c: Likewise.
7530 * soft-fp/fixsfti.c: Likewise.
7531 * soft-fp/fixtfdi.c: Likewise.
7532 * soft-fp/fixtfsi.c: Likewise.
7533 * soft-fp/fixtfti.c: Likewise.
7534 * soft-fp/fixunsdfdi.c: Likewise.
7535 * soft-fp/fixunsdfsi.c: Likewise.
7536 * soft-fp/fixunsdfti.c: Likewise.
7537 * soft-fp/fixunssfdi.c: Likewise.
7538 * soft-fp/fixunssfsi.c: Likewise.
7539 * soft-fp/fixunssfti.c: Likewise.
7540 * soft-fp/fixunstfdi.c: Likewise.
7541 * soft-fp/fixunstfsi.c: Likewise.
7542 * soft-fp/fixunstfti.c: Likewise.
7543 * soft-fp/floatdidf.c: Likewise.
7544 * soft-fp/floatdisf.c: Likewise.
7545 * soft-fp/floatditf.c: Likewise.
7546 * soft-fp/floatsidf.c: Likewise.
7547 * soft-fp/floatsisf.c: Likewise.
7548 * soft-fp/floatsitf.c: Likewise.
7549 * soft-fp/floattidf.c: Likewise.
7550 * soft-fp/floattisf.c: Likewise.
7551 * soft-fp/floattitf.c: Likewise.
7552 * soft-fp/floatundidf.c: Likewise.
7553 * soft-fp/floatundisf.c: Likewise.
7554 * soft-fp/floatunditf.c: Likewise.
7555 * soft-fp/floatunsidf.c: Likewise.
7556 * soft-fp/floatunsisf.c: Likewise.
7557 * soft-fp/floatunsitf.c: Likewise.
7558 * soft-fp/floatuntidf.c: Likewise.
7559 * soft-fp/floatuntisf.c: Likewise.
7560 * soft-fp/floatuntitf.c: Likewise.
7561 * soft-fp/fmadf4.c: Likewise.
7562 * soft-fp/fmasf4.c: Likewise.
7563 * soft-fp/fmatf4.c: Likewise.
7564 * soft-fp/gedf2.c: Likewise.
7565 * soft-fp/gesf2.c: Likewise.
7566 * soft-fp/getf2.c: Likewise.
7567 * soft-fp/ledf2.c: Likewise.
7568 * soft-fp/lesf2.c: Likewise.
7569 * soft-fp/letf2.c: Likewise.
7570 * soft-fp/muldf3.c: Likewise.
7571 * soft-fp/mulsf3.c: Likewise.
7572 * soft-fp/multf3.c: Likewise.
7573 * soft-fp/negdf2.c: Likewise.
7574 * soft-fp/negsf2.c: Likewise.
7575 * soft-fp/negtf2.c: Likewise.
7576 * soft-fp/op-1.h: Likewise.
7577 * soft-fp/op-2.h: Likewise.
7578 * soft-fp/op-4.h: Likewise.
7579 * soft-fp/op-8.h: Likewise.
7580 * soft-fp/op-common.h: Likewise.
7581 * soft-fp/quad.h: Likewise.
7582 * soft-fp/single.h: Likewise.
7583 * soft-fp/soft-fp.h: Likewise.
7584 * soft-fp/sqrtdf2.c: Likewise.
7585 * soft-fp/sqrtsf2.c: Likewise.
7586 * soft-fp/sqrttf2.c: Likewise.
7587 * soft-fp/subdf3.c: Likewise.
7588 * soft-fp/subsf3.c: Likewise.
7589 * soft-fp/subtf3.c: Likewise.
7590 * soft-fp/truncdfsf2.c: Likewise.
7591 * soft-fp/trunctfdf2.c: Likewise.
7592 * soft-fp/trunctfsf2.c: Likewise.
7593 * soft-fp/trunctfxf2.c: Likewise.
7594 * soft-fp/unorddf2.c: Likewise.
7595 * soft-fp/unordsf2.c: Likewise.
7596 * soft-fp/unordtf2.c: Likewise.
7597
9ebb0332
JM
75982013-10-15 Joseph Myers <joseph@codesourcery.com>
7599
7600 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
7601 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
7602
4b1a6d8b
OB
76032013-10-15 Ondřej Bílka <neleai@seznam.cz>
7604
7605 * elf/dl-libc.c: Clear initfini list after freeing.
7606
1e145589
JM
76072013-10-14 Joseph Myers <joseph@codesourcery.com>
7608
7609 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
7610 * soft-fp/addsf3.c: Likewise.
7611 * soft-fp/addtf3.c: Likewise.
7612 * soft-fp/divdf3.c: Likewise.
7613 * soft-fp/divsf3.c: Likewise.
7614 * soft-fp/divtf3.c: Likewise.
7615 * soft-fp/double.h: Likewise.
7616 * soft-fp/eqdf2.c: Likewise.
7617 * soft-fp/eqsf2.c: Likewise.
7618 * soft-fp/eqtf2.c: Likewise.
7619 * soft-fp/extenddftf2.c: Likewise.
7620 * soft-fp/extended.h: Likewise.
7621 * soft-fp/extendsfdf2.c: Likewise.
7622 * soft-fp/extendsftf2.c: Likewise.
7623 * soft-fp/extendxftf2.c: Likewise.
7624 * soft-fp/fixdfdi.c: Likewise.
7625 * soft-fp/fixdfsi.c: Likewise.
7626 * soft-fp/fixdfti.c: Likewise.
7627 * soft-fp/fixsfdi.c: Likewise.
7628 * soft-fp/fixsfsi.c: Likewise.
7629 * soft-fp/fixsfti.c: Likewise.
7630 * soft-fp/fixtfdi.c: Likewise.
7631 * soft-fp/fixtfsi.c: Likewise.
7632 * soft-fp/fixtfti.c: Likewise.
7633 * soft-fp/fixunsdfdi.c: Likewise.
7634 * soft-fp/fixunsdfsi.c: Likewise.
7635 * soft-fp/fixunsdfti.c: Likewise.
7636 * soft-fp/fixunssfdi.c: Likewise.
7637 * soft-fp/fixunssfsi.c: Likewise.
7638 * soft-fp/fixunssfti.c: Likewise.
7639 * soft-fp/fixunstfdi.c: Likewise.
7640 * soft-fp/fixunstfsi.c: Likewise.
7641 * soft-fp/fixunstfti.c: Likewise.
7642 * soft-fp/floatdidf.c: Likewise.
7643 * soft-fp/floatdisf.c: Likewise.
7644 * soft-fp/floatditf.c: Likewise.
7645 * soft-fp/floatsidf.c: Likewise.
7646 * soft-fp/floatsisf.c: Likewise.
7647 * soft-fp/floatsitf.c: Likewise.
7648 * soft-fp/floattidf.c: Likewise.
7649 * soft-fp/floattisf.c: Likewise.
7650 * soft-fp/floattitf.c: Likewise.
7651 * soft-fp/floatundidf.c: Likewise.
7652 * soft-fp/floatundisf.c: Likewise.
7653 * soft-fp/floatunsidf.c: Likewise.
7654 * soft-fp/floatunsisf.c: Likewise.
7655 * soft-fp/floatuntidf.c: Likewise.
7656 * soft-fp/floatuntisf.c: Likewise.
7657 * soft-fp/floatuntitf.c: Likewise.
7658 * soft-fp/fmadf4.c: Likewise.
7659 * soft-fp/fmasf4.c: Likewise.
7660 * soft-fp/fmatf4.c: Likewise.
7661 * soft-fp/gedf2.c: Likewise.
7662 * soft-fp/gesf2.c: Likewise.
7663 * soft-fp/getf2.c: Likewise.
7664 * soft-fp/ledf2.c: Likewise.
7665 * soft-fp/lesf2.c: Likewise.
7666 * soft-fp/letf2.c: Likewise.
7667 * soft-fp/muldf3.c: Likewise.
7668 * soft-fp/mulsf3.c: Likewise.
7669 * soft-fp/multf3.c: Likewise.
7670 * soft-fp/negdf2.c: Likewise.
7671 * soft-fp/negsf2.c: Likewise.
7672 * soft-fp/negtf2.c: Likewise.
7673 * soft-fp/op-1.h: Likewise.
7674 * soft-fp/op-2.h: Likewise.
7675 * soft-fp/op-4.h: Likewise.
7676 * soft-fp/op-8.h: Likewise.
7677 * soft-fp/op-common.h: Likewise.
7678 * soft-fp/quad.h: Likewise.
7679 * soft-fp/single.h: Likewise.
7680 * soft-fp/soft-fp.h: Likewise.
7681 * soft-fp/sqrtdf2.c: Likewise.
7682 * soft-fp/sqrtsf2.c: Likewise.
7683 * soft-fp/sqrttf2.c: Likewise.
7684 * soft-fp/subdf3.c: Likewise.
7685 * soft-fp/subsf3.c: Likewise.
7686 * soft-fp/subtf3.c: Likewise.
7687 * soft-fp/truncdfsf2.c: Likewise.
7688 * soft-fp/trunctfdf2.c: Likewise.
7689 * soft-fp/trunctfsf2.c: Likewise.
7690 * soft-fp/trunctfxf2.c: Likewise.
7691 * soft-fp/unorddf2.c: Likewise.
7692 * soft-fp/unordsf2.c: Likewise.
7693 * soft-fp/unordtf2.c: Likewise.
7694
17c48a60
OB
76952013-10-14 Ondřej Bílka <neleai@seznam.cz>
7696
7697 [BZ #15672]
7698 * misc/error.c (error_tail): Fix possible buffer overflow.
7699
cabba934
OB
77002013-10-14 Aurelien Jarno <aurelien@aurel32.net>
7701
7702 [BZ #13028]
7703 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
7704 address.
7705
94bf958a
PM
77062013-10-14 P. J. McDermott <pj@pehjota.net>
7707
7708 [BZ #832]
7709 * elf/ldd.bash.in (try_trace): New function. Delete previous code
7710 testing pipefail option.
7711
71b4dea7
JM
77122013-10-12 Joseph Myers <joseph@codesourcery.com>
7713
7714 * soft-fp/double.h: Indent preprocessor directives inside #if.
7715 * soft-fp/extended.h: Likewise.
7716 * soft-fp/op-2.h: Likewise.
7717 * soft-fp/op-4.h: Likewise.
7718 * soft-fp/op-common.h: Likewise.
7719 * soft-fp/quad.h: Likewise.
7720 * soft-fp/single.h: Likewise.
7721 * soft-fp/soft-fp.h: Likewise.
7722
55602758
YC
77232013-10-12 Yuri Chornoivan <yurchor@ukr.net>
7724
7725 * iconv/iconv_prog.c: Fix typos.
7726 * stdio-common/psiginfo-data.h: Likewise.
7727
9cd83302
RT
77282013-10-12 Reuben Thomas <rrt@sc3d.org>
7729
7730 [BZ #15764]
7731 * locale/setlocale.c: Fix typo.
7732
99fd9f47
JM
77332013-10-12 Joseph Myers <joseph@codesourcery.com>
7734
b7ea74f0
JM
7735 [BZ #16036]
7736 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
7737 signaling NaN arguments.
7738 * soft-fp/unordsf2.c (__unordsf2): Likewise.
7739 * soft-fp/unordtf2.c (__unordtf2): Likewise.
7740
8a509447
JM
7741 [BZ #14910]
7742 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
7743 unordered operands.
7744 * soft-fp/gesf2.c (__gesf2): Likewise.
7745 * soft-fp/getf2.c (__getf2): Likewise.
7746 * soft-fp/ledf2.c (__ledf2): Likewise.
7747 * soft-fp/lesf2.c (__lesf2): Likewise.
7748 * soft-fp/letf2.c (__letf2): Likewise.
7749
98998e9f
JM
7750 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
7751 * soft-fp/eqsf2.c (__eqsf2): Likewise.
7752 * soft-fp/eqtf2.c (__eqtf2): Likewise.
7753 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
7754 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
7755 * soft-fp/fixdfti.c (__fixdfti): Likewise.
7756 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
7757 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
7758 * soft-fp/fixsfti.c (__fixsfti): Likewise.
7759 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
7760 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
7761 * soft-fp/fixtfti.c (__fixtfti): Likewise.
7762 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
7763 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
7764 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
7765 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
7766 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
7767 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
7768 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
7769 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
7770 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
7771 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
7772 * soft-fp/floatdisf.c (__floatdisf): Likewise.
7773 * soft-fp/floatsisf.c (__floatsisf): Likewise.
7774 * soft-fp/floattidf.c (__floattidf): Likewise.
7775 * soft-fp/floattisf.c (__floattisf): Likewise.
7776 * soft-fp/floattitf.c (__floattitf): Likewise.
7777 * soft-fp/floatundidf.c (__floatundidf): Likewise.
7778 * soft-fp/floatundisf.c (__floatundisf): Likewise.
7779 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
7780 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
7781 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
7782 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
7783 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
7784 * soft-fp/gesf2.c (__gesf2): Likewise.
7785 * soft-fp/getf2.c (__getf2): Likewise.
7786 * soft-fp/ledf2.c (__ledf2): Likewise.
7787 * soft-fp/lesf2.c (__lesf2): Likewise.
7788 * soft-fp/letf2.c (__letf2): Likewise.
7789
8edc4a11
JM
7790 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
7791 Undefine and redefine.
7792 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
7793 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
7794 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
7795 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
7796 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7797 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
7798 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7799 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
7800 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7801 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
7802 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7803 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
7804 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7805 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
7806 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7807
8399acaf
JM
7808 [BZ #16032]
7809 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
7810 without decrementing exponent if mantissa >= that for the
7811 denominator, not >.
7812 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
7813 denominator, not >. Decrement exponent in < case instead of
7814 incrementing in >= case.
7815 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
7816 without decrementing exponent if mantissa >= that for the
7817 denominator, not >.
7818
99fd9f47
JM
7819 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
7820 computing saturated result for unsigned overflow.
7821
10e1cf6b
SP
78222013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7823 Jeff Law <law@redhat.com>
7824
7825 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
7826 (atan2Mp): Add systemtap probe marker.
7827 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
7828 (__ieee754_log): Add systemtap probe marker.
7829 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
7830 (atanMp): Add systemtap probe marker.
7831 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
7832 (tanMp): Add systemtap probe marker.
7833 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
7834 (__slowexp): Add systemtap probe marker.
7835 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
7836 (__slowpow): Add systemtap probe marker.
7837 * manual/probes.texi: Document probes.
7838
3d110c7c
EB
78392013-10-11 Eric Biggers <ebiggers3@gmail.com>
7840
7841 [BZ #15362]
7842 * libio/fileops.c (_IO_new_file_write): Return count of bytes
7843 written.
7844 (_IO_new_file_xsputn): Don't return EOF if nothing has been
7845 written.
7846 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
7847 written to buffer but not flushed.
7848 * libio/iofwrite_u.c: Likewise.
7849 * libio/iopadn.c: Return bytes returned even if EOF was
7850 encountered.
7851 * libio/iowpadn.c: Likewise.
7852 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
7853 if _IO_padn does not write the whole buffer.
7854 [!COMPILE_WPRINTF] (PAD): Likewise.
7855
75b4202a
DM
78562013-10-10 David S. Miller <davem@davemloft.net>
7857
7858 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
7859 directory block.
7860
6c6352e6
JM
78612013-10-10 Joseph Myers <joseph@codesourcery.com>
7862
33b853c3
JM
7863 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
7864 instead of FSF address.
7865 * soft-fp/fixdfti.c: Likewise.
7866 * soft-fp/fixsfti.c: Likewise.
7867 * soft-fp/fixtfti.c: Likewise.
7868 * soft-fp/fixunsdfti.c: Likewise.
7869 * soft-fp/fixunssfti.c: Likewise.
7870 * soft-fp/fixunstfti.c: Likewise.
7871 * soft-fp/floattidf.c: Likewise.
7872 * soft-fp/floattisf.c: Likewise.
7873 * soft-fp/floattitf.c: Likewise.
7874 * soft-fp/floatuntidf.c: Likewise.
7875 * soft-fp/floatuntisf.c: Likewise.
7876 * soft-fp/floatuntitf.c: Likewise.
7877 * soft-fp/trunctfxf2.c: Likewise.
7878
6c6352e6
JM
7879 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
7880 * soft-fp/fixdfti.c: Likewise.
7881 * soft-fp/fixsfti.c: Likewise.
7882 * soft-fp/fixtfti.c: Likewise.
7883 * soft-fp/fixunsdfti.c: Likewise.
7884 * soft-fp/fixunssfti.c: Likewise.
7885 * soft-fp/fixunstfti.c: Likewise.
7886 * soft-fp/floattidf.c: Likewise.
7887 * soft-fp/floattisf.c: Likewise.
7888 * soft-fp/floattitf.c: Likewise.
7889 * soft-fp/floatuntidf.c: Likewise.
7890 * soft-fp/floatuntisf.c: Likewise.
7891 * soft-fp/floatuntitf.c: Likewise.
7892 * soft-fp/trunctfxf2.c: Likewise.
7893
3bf78b71
DM
78942013-10-10 David S. Miller <davem@davemloft.net>
7895
7896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7897
6f10289e
JM
78982013-10-10 Joseph Myers <joseph@codsourcery.com>
7899
bd878fc0
JM
7900 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7901 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
7902 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
7903 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
7904 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
7905 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
7906 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
7907
6f10289e
JM
7908 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
7909 for NaNs before doing comparisons on argument.
7910 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
7911 Likewise.
7912
321e2684
WN
79132013-10-10 Will Newton <will.newton@linaro.org>
7914
7915 * malloc/hooks.c (memalign_check): Ensure the value of bytes
7916 passed to _int_memalign does not overflow.
7917
40fefba1
TR
79182013-10-10 Torvald Riegel <triegel@redhat.com>
7919
7920 * scripts/bench.pl: Add include-sources directive.
7921 * benchtests/README: Update documentation.
7922
2ae21ed2
JM
79232013-10-10 Joseph Myers <joseph@codesourcery.com>
7924
dcc2dd3f
JM
7925 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
7926 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
7927 instead of FP_INIT_ROUNDMODE.
7928 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
7929 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
7930
2ae21ed2
JM
7931 [BZ #16034]
7932 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
7933 copy class of input value.
7934 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
7935 not handle exceptions.
7936 * soft-fp/negsf2.c (__negsf2): Likewise.
7937 * soft-fp/negtf2.c (__negtf2): Likewise.
7938 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
7939
cb8f9562
JM
79402013-10-09 Joseph Myers <joseph@codesourcery.com>
7941
7942 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
7943 semicolon. From Linux kernel.
7944
5b60c59d
AB
79452013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
7946
7947 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
7948
b86835ca
YC
79492013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
7950
7951 [BZ #156]
7952 * manual/socket.texi: Added statement about buffer
7953 for gethostbyname2_r.
7954
e7044ea7
OB
79552013-10-08 Ondřej Bílka <neleai@seznam.cz>
7956
7957 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
7958 Use .p2align directive instead, throughout.
7959 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7960 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7961 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
7962 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7963 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7964 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
7965 * sysdeps/x86_64/strchr.S: Likewise.
7966 * sysdeps/x86_64/strrchr.S: Likewise.
7967
09544cbc
SP
79682013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7969
88576635
SP
7970 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
7971
e7b2d1dd
SP
7972 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
7973
09544cbc
SP
7974 * sysdeps/generic/math_private.h (__mpsin1): Remove
7975 declaration.
7976 (__mpcos1): Likewise.
7977 (__mpsin): New argument __range_reduce.
7978 (__mpcos): Likewise.
7979 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7980 (slow): Use __mpsin and __mpcos.
7981 (slow1): Likewise.
7982 (slow2): Likewise.
7983 (sloww): Likewise.
7984 (sloww1): Likewise.
7985 (sloww2): Likewise.
7986 (bsloww): Likewise.
7987 (bsloww1): Likewise.
7988 (bsloww2): Likewise.
7989 (cslow2): Likewise.
7990 (csloww): Likewise.
7991 (csloww1): Likewise.
7992 (csloww2): Likewise.
7993 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
7994 range_reduce. Merge in __mpsin1.
7995 (__mpcos): Likewise.
7996 (__mpsin1): Remove.
7997 (__mpcos1): Likewise.
7998
7602d070
JM
79992013-10-07 Joseph Myers <joseph@codesourcery.com>
8000
8001 * locale/loadlocale.c (_nl_intern_locale_data): Use
8002 LOCFILE_ALIGNED_P.
8003 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8004 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8005 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8006 obstack data is appropriately aligned.
8007 (obstack_int32_grow_fast): Likewise.
8008 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8009 * locale/programs/locfile.c (add_locale_uint32): Likewise.
8010 (add_locale_uint32_array): Likewise.
8011
a357259b
SP
80122013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8013
8014 * benchtests/Makefile: Remove ARGLIST and RET variables.
8015 ($(objpfx)bench-%.c): Pass only function name to the script.
8016 * benchtests/README: Update documentation.
8017 * benchtests/acos-inputs: Add new directives.
8018 * benchtests/acosh-inputs: Likewise.
8019 * benchtests/asin-inputs: Likewise.
8020 * benchtests/asinh-inputs: Likewise.
8021 * benchtests/atan-inputs: Likewise.
8022 * benchtests/atanh-inputs: Likewise.
8023 * benchtests/cos-inputs: Likewise.
8024 * benchtests/cosh-inputs: Likewise.
8025 * benchtests/exp-inputs: Likewise.
8026 * benchtests/log-inputs: Likewise.
8027 * benchtests/pow-inputs: Likewise.
8028 * benchtests/rint-inputs: Likewise.
8029 * benchtests/sin-inputs: Likewise.
8030 * benchtests/sinh-inputs: Likewise.
8031 * benchtests/tan-inputs: Likewise.
8032 * benchtests/tanh-inputs: Likewise.
8033 * scripts/bench.pl: Add support for new directives.
8034
9ec1b13d
AM
80352013-10-07 Alan Modra <amodra@gmail.com>
8036
8037 * README: Fix careless merge.
8038
8b7d57cd
AM
80392013-10-05 Alan Modra <amodra@gmail.com>
8040
8041 * NEWS: Mention powerpc64le support and bugs fixed.
8042 * README: Both big-endian and little-endian powerpc64 supported.
8043
7b7bab13
ST
80442013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8045
8046 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8047 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8048 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8049 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8050
d39baad1
RA
80512013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
8052
8053 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8054 match prototype.
8055
cd78f7e7
JM
80562013-10-04 Joseph Myers <joseph@codesourcery.com>
8057
29d73d86
JM
8058 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8059 Move -mhard-float appending from
8060 ports/sysdeps/powerpc/powerpc32/Makefile.
8061 [$(with-fp) = yes] (ASFLAGS): Likewise.
8062 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8063 * sysdeps/powerpc/nofpu: Move directory from
8064 ports/sysdeps/powerpc/nofpu.
8065 * sysdeps/powerpc/soft-fp: Move directory from
8066 ports/sysdeps/powerpc/soft-fp.
8067 * sysdeps/powerpc/powerpc32/405: Move directory from
8068 ports/sysdeps/powerpc/powerpc32/405.
8069 * sysdeps/powerpc/powerpc32/440: Move directory from
8070 ports/sysdeps/powerpc/powerpc32/440.
8071 * sysdeps/powerpc/powerpc32/464: Move directory from
8072 ports/sysdeps/powerpc/powerpc32/464.
8073 * sysdeps/powerpc/powerpc32/476: Move directory from
8074 ports/sysdeps/powerpc/powerpc32/476.
8075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8076 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8078 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8080 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8082 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8084 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8085 * README: Update for powerpc-*-linux-gnu software floating point
8086 support in libc.
8087
e246b347
JM
8088 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8089 case to powerpc/powerpc32*.
8090 * sysdeps/unix/sysv/linux/configure: Regenerated.
8091
89c2003e
JM
8092 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8093 (_FPU_MASK_OM): Define as 0x04.
8094 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8095 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8096 0x00c10080.
8097 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8098 0x0000003c.
8099 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8100
cd78f7e7
JM
8101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8102 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8103 getcontext_e500.
8104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8105 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8106 setcontext_e500.
8107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8108 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8109 and setcontext_e500.
8110
c755294d
CL
81112013-10-04 Chris Leonard <cjl@sugarlabs,.org>
8112
8113 * locale/iso-3166.def: Update iso-1366.def and related occurrences
8114
e16d221c
SP
81152013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8116
8117 * manual/threads.texi (Default Thread Attributes): Fix typo.
8118
215c7d43
WN
81192013-10-04 Will Newton <will.newton@linaro.org>
8120
8121 * malloc/Makefile: Add tst-memalign.
8122 * malloc/tst-memalign.c: New file.
8123
27d0461b
WN
8124 * malloc/tst-posix_memalign.c: Add comments.
8125 (do_test): Add comments and call free on all potentially
8126 allocated pointers. Add space after cast.
8127
1bc92709
WN
8128 * malloc/tst-pvalloc.c: Add comments.
8129 (do_test): Add comments and call free on all potentially
8130 allocated pointers. Remove duplicate check for NULL pointer.
8131 Add space after cast.
8132
66a9be9d
WN
8133 * malloc/tst-valloc.c: Add comments.
8134 (do_test): Add comments and call free on all potentially
8135 allocated pointers. Remove duplicate check for NULL pointer.
8136 Add space after cast.
8137
4cb81307
AM
81382013-10-04 Alan Modra <amodra@gmail.com>
8139
8140 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8141 Use stdint types in rather than __attribute__((mode())).
8142 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8143
f8e3e9f3
AM
81442013-10-04 Alan Modra <amodra@gmail.com>
8145
8146 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8147 Correct handling of unaligned relocs for little-endian.
8148 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8149
8f9ebb08
AM
81502013-10-04 Alan Modra <amodra@gmail.com>
8151
8152 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8153 * configure: Regenerate.
8154 * nptl/shlib-versions: Powerpc*le starts at 2.18.
8155 * shlib-versions: Likewise.
8156
0edf96c2
AM
81572013-10-04 Alan Modra <amodra@gmail.com>
8158
8159 * string/tester.c (test_memrchr): Increment reported test cycle.
8160
e0f7a380
AM
81612013-10-04 Alan Modra <amodra@gmail.com>
8162
8163 * string/test-memcpy.c (do_one_test): When reporting errors, print
8164 string address and don't overrun end of string.
8165
466b0393
AM
81662013-10-04 Alan Modra <amodra@gmail.com>
8167
8168 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8169 insrdi. Make better use of reg selection to speed exit slightly.
8170 Schedule entry path a little better. Remove useless "are we done"
8171 checks on entry to main loop. Handle wrapping around zero address.
8172 Correct main loop count. Handle single left-over word from main
8173 loop inline rather than by using loop_small. Remove extra word
8174 case in loop_small caused by wrong loop count. Add little-endian
8175 support.
8176 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8177 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
8178 cache hint.
8179 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8180 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8181 support. Avoid rlwimi.
8182 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8183
3be87c77
AM
81842013-10-04 Alan Modra <amodra@gmail.com>
8185
8186 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 8187 insrdi. Formatting.
3be87c77
AM
8188 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8189 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8190 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8191 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8192 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8193 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8194
759cfef3
AM
81952013-10-04 Alan Modra <amodra@gmail.com>
8196
8197 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8198 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8199 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8200 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8201 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8202 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8203 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8204 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8205 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
8206 use of regs. Use power7 mtocrf. Tidy function tails.
8207
fe6e95d7
AM
82082013-10-04 Alan Modra <amodra@gmail.com>
8209
8210 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8211 Formatting. Consistently use rXXX register defines or rN defines.
8212 Use early exit labels that avoid restoring unused non-volatile regs.
8213 Make cr field use more consistent with rWORDn compares. Rename
8214 regs used as shift registers for unaligned loop, using rN defines
8215 for short lifetime/multiple use regs.
8216 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8217 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
8218 addi 1,1,64 to pop stack frame. Simplify return value code.
8219 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8220
664318c3
AM
82212013-10-04 Alan Modra <amodra@gmail.com>
8222
8223 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8224 support. Correct typos, formatting. Optimize tail. Use insrdi
8225 rather than rlwimi.
8226 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8227 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8228 little-endian support. Correct typos.
8229 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
8230 rather than rlwimi.
8231 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
8232 in loop and entry code to keep "and." results.
8233 (strchr): Add little-endian support. Comment. Move cntlzd
8234 earlier in tail.
8235 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8236
43b84013
AM
82372013-10-04 Alan Modra <amodra@gmail.com>
8238
8239 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8240 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8241 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8242 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8243
8a7413f9
AM
82442013-10-04 Alan Modra <amodra@gmail.com>
8245
8246 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8247 (rTMP): Define as r11.
8248 (strcmp): Add little-endian support. Optimise tail.
8249 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8250 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8251 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8252 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8253 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8254 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8255 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8256
33ee81de
AM
82572013-10-04 Alan Modra <amodra@gmail.com>
8258
8259 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8260 little-endian support. Remove unnecessary "are we done" tests.
8261 Handle "s" wrapping around zero and extremely large "size".
8262 Correct main loop count. Handle single left-over word from main
8263 loop inline rather than by using small_loop. Correct comments.
8264 Delete "zero" tail, use "end_max" instead.
8265 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
8266
db9b4570
AM
82672013-10-04 Alan Modra <amodra@gmail.com>
8268
8269 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
8270 support. Don't branch over align.
8271 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
8272 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
8273 support. Rearrange tmp reg use to suit. Comment.
8274 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
8275
f7c399cf
AM
82762013-10-04 Alan Modra <amodra@gmail.com>
8277
8278 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
8279
0b2c2ace
AM
82802013-10-04 Alan Modra <amodra@gmail.com>
8281
8282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
8283 conditional form of branch and link when obtaining pc.
8284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8285
02f04a6c
AM
82862013-10-04 Alan Modra <amodra@gmail.com>
8287
8288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
8289 HIWORD/LOWORD.
8290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
8291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
8292
9b874b2f
AM
82932013-10-04 Alan Modra <amodra@gmail.com>
8294
8295 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
8296 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
8297 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8298 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
8299 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8300 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8301 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
8302 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8303 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8304 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
8305
be1e5d31
AB
83062013-10-04 Anton Blanchard <anton@au1.ibm.com>
8307 Alistair Popple <alistair@ozlabs.au.ibm.com>
8308 Alan Modra <amodra@gmail.com>
8309
8310 [BZ #15723]
8311 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
8312 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
8313 _dl_hwcap access for little-endian.
8314 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
8315 destroy vmx regs when saving unaligned.
8316 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
8317 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
8318 destroy vmx regs when saving unaligned.
8319
fef13a78
AM
83202013-10-04 Alan Modra <amodra@gmail.com>
8321
8322 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
8323 Don't use a union to pack hi/low value.
8324
76a66d51
AB
83252013-10-04 Anton Blanchard <anton@au1.ibm.com>
8326
8327 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
8328 for little-endian.
8329 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8330 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
8331 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8332 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8333 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8334
6a31fe7f
AM
83352013-10-04 Alan Modra <amodra@gmail.com>
8336
8337 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
8338 constants to usual value for .cst8 section, and remove redundant
8339 high address load.
8340 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
8341 constant for 0x1p52. Load little-endian words of double from
8342 correct stack offsets.
8343
7b88401f
AM
83442013-10-04 Alan Modra <amodra@gmail.com>
8345
8346 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
8347 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
8348 words of double from correct stack offsets.
8349 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8350 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
8351 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8352 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8353 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8354 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8355 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8356 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8357 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8358 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8359 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8360 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8361 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8362 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8363 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8364 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
8365 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8366
9c008155
AM
83672013-10-04 Alan Modra <amodra@gmail.com>
8368
8369 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
8370 64-bit int/double union.
8371 (_FPU_SETCW): Likewise.
8372 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
8373 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
8374
da13146d
AM
83752013-10-04 Alan Modra <amodra@gmail.com>
8376
8377 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
8378 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
8379
603e8410
AM
83802013-10-04 Alan Modra <amodra@gmail.com>
8381
8382 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
8383 use vector int constants.
8384 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
8385
4a28b3ca
AB
83862013-10-04 Anton Blanchard <anton@au1.ibm.com>
8387
8388 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
8389 array with long long.
8390 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
8391 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
8392 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
8393 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
8394 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
8395 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
8396 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
8397 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
8398 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
8399 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
8400 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
8401 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
8402 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
8403
2ca85d2b
AB
84042013-10-04 Anton Blanchard <anton@au1.ibm.com>
8405
8406 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
8407 (__signbit): Likewise. Correct for little-endian.
8408 (__signbitl): Call __signbit.
8409 (lrint): Correct for little-endian.
8410 (lrintf): Call lrint.
8411
62a728ae
AM
84122013-10-04 Alan Modra <amodra@gmail.com>
8413
8414 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
8415 union 32-bit int array member with 64-bit int array.
8416 (t515, tm256): Double rather than long double.
8417 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
8418
32c301df
AM
84192013-10-04 Alan Modra <amodra@gmail.com>
8420
8421 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
8422 Delete.
8423 (IEEE854_LONG_DOUBLE_BIAS): Delete.
8424 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
8425 version of math_ldbl.h.
8426
650ef4bd
AM
84272013-10-04 Alan Modra <amodra@gmail.com>
8428
8429 [BZ #15734], [BZ #15735]
8430 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
8431 all uses of ieee875 long double macros and unions. Simplify test
8432 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
8433 ldbl_extract_mantissa value for ix,iy exponents. Properly
8434 normalize after ldbl_extract_mantissa, and don't add hidden bit
8435 already handled. Don't treat low word of ieee854 mantissa like
8436 low word of IBM long double and mask off bit when testing for
8437 zero.
8438 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
8439 all uses of ieee875 long double macros and unions. Simplify tests
8440 for 0.0L and inf. Correct double adjustment of k. Delete dead code
8441 adjusting ha,hb. Simplify code setting kld. Delete two600 and
8442 two1022, instead use their values. Recognise that tests for large
8443 "a" and small "b" are mutually exclusive. Rename vars. Comment.
8444 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
8445 Rewrite all uses of ieee875 long double macros and unions. Simplify
8446 test for 0.0L and nan. Correct negation.
8447 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
8448 ieee875 long double macros and unions. Correct output for large
8449 magnitude x. Correct absolute value calculation.
8450 (__erfcl): Likewise.
8451 * math/libm-test.inc: Add tests for errors discovered in IBM long
8452 double versions of fmodl, remainderl, erfl and erfcl.
8453
765714ca
AM
84542013-10-04 Alan Modra <amodra@gmail.com>
8455
8456 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
8457 all uses of ieee854 long double macros and unions. Simplify tests
8458 for long doubles that are fully specified by the high double.
8459 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8460 Likewise.
8461 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
8462 Remove dead code too.
8463 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8464 (__ieee754_ynl): Likewise.
8465 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8466 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
8467 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8468 Remove dead code too.
8469 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
8470 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8471 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
8472 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
8473 Simplify.
8474 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
8475 Simplify.
8476 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
8477 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
8478 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
8479 Comment on variable precision.
8480 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
8481 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8482 Likewise.
8483 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8484 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8485 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8486 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
8487 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
8488
4ebd120c
AM
84892013-10-04 Alan Modra <amodra@gmail.com>
8490
8491 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
8492 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
8493 all uses of ieee854 long double macros and unions.
8494 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
8495 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8496 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
8497 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
8498 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8499 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8500 Likewise.
8501 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
8502 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8503 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
8504 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8505 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
8506 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
8507 Simplify sign and nan test too.
8508 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
8509 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
8510 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
8511 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
8512 Likewise.
8513 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8514 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
8515 Likewise.
8516 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8517 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
8518 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
8519 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
8520 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
8521 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
8522
1b6adf88
AM
85232013-10-04 Alan Modra <amodra@gmail.com>
8524
8525 * stdio-common/printf_size.c (__printf_size): Don't use
8526 union ieee854_long_double in fpnum union.
8527 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
8528 signbit macro to retrieve sign from long double.
8529 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
8530 retrieve sign from long double.
8531 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
8532 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
8533 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
8534 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8535 * math/test-misc.c (main): Don't use union ieee854_long_double.
8536
4cf69995
AM
85372013-10-04 Alan Modra <amodra@gmail.com>
8538
8539 [BZ #15680]
8540 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
8541 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
8542 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
8543 calculation. Remove unnecessary test for denormal exponent.
8544 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
8545 Correct handling of denormals. Avoid undefined shift behaviour.
8546 Correct normalisation of low mantissa when low double is denormal.
8547 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8548 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
8549 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
8550 Correct normalisation of low mantissa. Test for overflow of high
8551 mantissa and normalise.
8552 (ldbl_nearbyint): Use more readable constant for two52.
8553 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
8554 (__mpn_construct_long_double): Fix test for overflow of high
8555 mantissa and correct normalisation. Avoid undefined shift.
8556
9605ca6c
AM
85572013-10-04 Alan Modra <amodra@gmail.com>
8558
8559 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
8560 (union ibm_extended_long_double): Define as an array of ieee754_double.
8561 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
8562 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
8563 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
8564 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8565 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8566 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
8567 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8568 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8569 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8570 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
8571 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8572
975569d0
JM
85732013-10-03 Joseph Myers <joseph@codesourcery.com>
8574
d3d23756
JM
8575 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
8576 page size instead of calling getpagesize.
8577
975569d0
JM
8578 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
8579 (LOCFILE_ALIGN_MASK): Likewise.
8580 (LOCFILE_ALIGN_UP): Likewise.
8581 (LOCFILE_ALIGNED_P): Likewise.
8582 * locale/programs/ld-collate.c (collate_output): Use the new
8583 macros instead of __alignof__ (int32_t).
8584 * locale/weight.h (findidx): Likewise.
8585
b1fe1f2b
OB
85862013-10-03 Ondřej Bílka <neleai@seznam.cz>
8587
8588 [BZ #431]
8589 * manual/string.texi: Fix strncat and wcsncat.
8590
5f855e35
BM
85912013-10-03 Brooks Moses <bmoses@google.com>
8592
8593 [BZ #15915]
8594 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
8595 * Makerules: ...here, and adjust associated comments.
8596
3cef6009
WN
85972013-10-02 Will Newton <will.newton@linaro.org>
8598
8599 * malloc/Makefile: Add tst-pvalloc.
8600 * malloc/tst-pvalloc.c: New file.
8601
7815420b
WN
86022013-10-02 Will Newton <will.newton@linaro.org>
8603
8604 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
8605 improve test coverage.
8606
4868b204
WN
86072013-10-02 Will Newton <will.newton@linaro.org>
8608
8609 * malloc/Makefile: Add tst-posix_memalign.
8610 * malloc/tst-posix_memalign.c: New file.
8611
29c793b3
EB
86122013-10-01 Eric Blake <eblake@redhat.com>
8613
8614 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
8615 Use __THROWNL rather than __THROW on static functions.
8616
fd967522
PM
86172013-09-30 Petr Machata <pmachata@redhat.com>
8618
8619 * elf/elf.h (R_AARCH64_ABS16): New macro.
8620 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
8621 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
8622 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
8623 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
8624 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
8625 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
8626 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
8627 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
8628 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
8629 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
8630 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
8631 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
8632 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
8633 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
8634 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
8635 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
8636 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
8637 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
8638 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
8639 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
8640 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
8641 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
8642 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
8643 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
8644 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
8645 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
8646 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
8647 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
8648 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
8649 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
8650 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
8651 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
8652 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
8653 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
8654 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
8655 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
8656 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
8657 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
8658 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
8659 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
8660 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
8661 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
8662 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
8663 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
8664 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
8665 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
8666 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
8667 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
8668 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
8669 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
8670 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
8671 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
8672 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
8673 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
8674 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
8675 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
8676 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
8677 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
8678 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
8679 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
8680 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
8681 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
8682 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
8683 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
8684 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
8685 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
8686 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
8687 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
8688 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
8689 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
8690 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
8691 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
8692 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
8693 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
8694 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
8695 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
8696 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
8697 (R_AARCH64_TLSDESC_LDR): Likewise.
8698 (R_AARCH64_TLSDESC_ADD): Likewise.
8699 (R_AARCH64_TLSDESC_CALL): Likewise.
8700
b2179107
AS
87012013-09-30 Andreas Schwab <schwab@suse.de>
8702
8703 [BZ #15048]
8704 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
8705 the nss database lookup.
8706 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8707 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8708
47f28d0a
MF
87092013-09-28 Mike Frysinger <vapier@gentoo.org>
8710
8711 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
8712
87132013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
8714
8715 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
8716 ${Bash-specific parameter/pattern/string} parameter expansion.
8717 * sysdeps/unix/make-syscalls.sh: Likewise.
8718
f4518a17
KK
87192013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8720
8721 * sysdeps/sh/stackguard-macros.h: New file.
8722
dc1a95c7
OB
87232013-09-26 Ondřej Bílka <neleai@seznam.cz>
8724
8725 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8726 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
8727 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
8728 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
8729 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8730 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
8731
5ebbff8f
AZ
87322013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8733
8734 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
8735 Fix thread ID register.
8736
4fd2cf9f
JM
87372013-09-25 Joseph Myers <joseph@codesourcery.com>
8738
8739 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
8740 [POSIX || UNIX98]: Require rather than permitting all symbols from
8741 <time.h>.
8742 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
8743 element of struct sched_param.
8744 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
8745 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
8746 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
8747 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
8748 constant.
8749
12c22bc4
OL
87502013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
8751
8752 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
8753 argument calculation.
8754
a03d8ea7
JM
87552013-09-24 Joseph Myers <joseph@codesourcery.com>
8756
8757 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
8758 Expect macro.
8759 [POSIX] (pthread_attr_t): Do not require type.
8760 [POSIX] (pthread_cond_t): Likewise.
8761 [POSIX] (pthread_condattr_t): Likewise.
8762 [POSIX] (pthread_key_t): Likewise.
8763 [POSIX] (pthread_mutex_t): Likewise.
8764 [POSIX] (pthread_mutexattr_t): Likewise.
8765 [POSIX] (pthread_once_t): Likewise.
8766 [POSIX] (pthread_t): Likewise.
8767 [POSIX-based standards] (pthread_atfork): Expect function.
8768
6055173a
JM
87692013-09-24 Joseph Myers <joseph@codesourcery.com>
8770 Richard Sandiford <richard@codesourcery.com>
8771
8772 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
8773 (swap_endianness_p): New extern variable.
8774 (set_big_endian): New inline function.
8775 (maybe_swap_uint32): Likewise.
8776 (maybe_swap_uint32_array): Likewise.
8777 (maybe_swap_uint32_obstack): Likewise.
8778 * locale/programs/locfile.c: Include <stdbool.h>.
8779 (swap_endianness_p): New variable.
8780 (add_locale_uint32): Call maybe_swap_uint32.
8781 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
8782 (write_locale_data): Call maybe_swap_uint32_array.
8783 * locale/programs/ld-collate.c (obstack_int32_grow): Call
8784 maybe_swap_uint32.
8785 (obstack_int32_grow_fast): Likewise.
8786 (output_weightwc): Call maybe_swap_uint32_obstack.
8787 (collate_output): Likewise.
8788 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
8789 (OPT_LITTLE_ENDIAN): Likewise.
8790 (options): Add --little-endian and --big-endian options.
8791 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
8792 * locale/programs/locarchive.c: Include "locfile.h".
8793 (GET): New macro.
8794 (SET): Likewise.
8795 (INC): Likewise.
8796 (create_archive): Use the new macros to access fields of
8797 structures directly mapped from or written to locale archives.
8798 (oldlocrecentcmp): Likewise.
8799 (enlarge_archive): Likewise.
8800 (insert_name): Likewise.
8801 (add_alias): Likewise.
8802 (add_locale): Likewise.
8803 (delete_locales_from_archive): Likewise.
8804 (show_archive_content): Likewise.
8805 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
8806 locale data.
8807
39bf0bb4
RM
88082013-09-24 Roland McGrath <roland@hack.frob.com>
8809
8810 * manual/freemanuals.texi: Updated from (newly) canonical copy at
8811 http://www.gnu.org/doc/freemanuals.texi.
8812 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
8813
f02eed10
WN
88142013-09-24 Will Newton <will.newton@linaro.org>
8815
8816 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
8817 macro.
8818
a3a6c312
JM
88192013-09-23 Joseph Myers <joseph@codesourcery.com>
8820
8821 * locale/hashval.h (compute_hashval): Interpret bytes of key as
8822 unsigned char.
8823
107375ac
MR
88242013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
8825
8826 * manual/threads.texi (POSIX Threads): Fix a typo.
8827
141f3a77
SP
88282013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8829
303e567a
SP
8830 [BZ #14547]
8831 * string/tst-strcoll-overflow.c: New test case.
8832 * string/Makefile (xtests): Add tst-strcoll-overflow.
8833 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
8834 cache if string sizes may cause integer overflow.
8835
141f3a77
SP
8836 [BZ #14547]
8837 * string/strcoll_l.c (coll_seq): New members rule, idx,
8838 save_idx and back_us.
8839 (get_next_seq_nocache): New function.
8840 (do_compare_nocache): New function.
8841 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
8842 when malloc fails.
8843
c61b4d41
CD
88442013-09-23 Carlos O'Donell <carlos@redhat.com>
8845
0b1f8e35
CD
8846 [BZ #15754]
8847 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
8848 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
8849 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
8850
c61b4d41
CD
8851 [BZ #15754]
8852 * elf/Makefile (tests): Add tst-ptrguard1.
8853 (tests-static): Add tst-ptrguard1-static.
8854 (tst-ptrguard1-ARGS): Define.
8855 (tst-ptrguard1-static-ARGS): Define.
8856 * elf/tst-ptrguard1.c: New file.
8857 * elf/tst-ptrguard1-static.c: New file.
8858 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
8859 * sysdeps/i386/stackguard-macros.h: Likewise.
8860 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8861 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8862 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8863 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8864 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8865 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8866
88672013-09-23 Hector Marco <hecmargi@upv.es>
8868 Ismael Ripoll <iripoll@disca.upv.es>
8869 Carlos O'Donell <carlos@redhat.com>
8870
8871 [BZ #15754]
8872 * sysdeps/generic/stackguard-macros.h: Define
8873 __pointer_chk_guard_local and POINTER_CHK_GUARD.
8874 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
8875 Define __pointer_chk_guard_local.
8876 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
8877 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
8878
f5f4e7b4
VV
88792013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
8880
8881 [BZ #15859]
8882 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
8883
5bb43a43
AS
88842013-09-20 Andreas Schwab <schwab@linux-m68k.org>
8885
8886 * include/string.h (__ffs): Declare as hidden.
8887 * string/ffs.c (__ffs): Define as hidden.
8888 * sysdeps/i386/ffs.c (__ffs): Likewise.
8889 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
8890 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
8891 * sysdeps/s390/ffs.c (__ffs): Likewise.
8892 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
8893
3ea5be54
AO
88942013-09-20 Alexandre Oliva <aoliva@redhat.com>
8895
ffb89e53
AO
8896 * NEWS: Mention malloc probes.
8897
322dea08
AO
8898 * malloc/arena.c (new_heap): New memory_heap_new probe.
8899 (grow_heap): New memory_heap_more probe.
8900 (shrink_heap): New memory_heap_less probe.
8901 (heap_trim): New memory_heap_free probe.
8902 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
8903 (systrim): New memory_sbrk_less probe.
8904 * manual/probes.texi: Document them.
8905
655673f3
AO
8906 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
8907 * manual/probes.texi: Document it.
8908
35fed6f1
AO
8909 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
8910 (__libc_realloc): Add memory_realloc_retry probe.
8911 (__libc_memalign): Add memory_memalign_retry probe.
8912 (__libc_valloc): Add memory_valloc_retry probe.
8913 (__libc_pvalloc): Add memory_pvalloc_retry probe.
8914 (__libc_calloc): Add memory_calloc_retry probe.
8915 * manual/probes.texi: Document them.
8916
6999d38c
AO
8917 * malloc/arena.c (get_free_list): Add probe
8918 memory_arena_reuse_free_list.
8919 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
8920 and memory_arena_reuse.
8921 (arena_get2) [!PER_THREAD]: Likewise.
8922 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
8923 memory_arena_reuse_realloc.
8924 * manual/probes.texi: Document them.
8925
0653427f
AO
8926 * malloc/malloc.c (__libc_free): Add
8927 memory_mallopt_free_dyn_thresholds probe.
8928 (__libc_mallopt): Add multiple memory_mallopt probes.
8929 * manual/probes.texi: Document them.
8930
3ea5be54
AO
8931 * malloc/malloc.c: Include stap-probe.h.
8932 (__libc_mallopt): Add memory_mallopt probe.
8933 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
8934 * manual/probes.texi: New.
8935 * manual/Makefile (chapters): Add probes.
8936 * manual/threads.texi: Set next node.
8937
e35696c3 89382013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 8939
e35696c3
CL
8940 [BZ #15963, #13985]
8941 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
8942 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
8943 Add `Chinese' to `nan' entry name.
8944
4aafb73c
SP
89452013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8946
8947 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
8948 (POLYNOMIAL): Likewise.
8949 (TAYLOR_SINCOS): Likewise.
8950 (TAYLOR_SLOW): Likewise.
8951 (__sin): Use TAYLOR_SINCOS.
8952 (__cos): Likewise.
8953 (slow): Use TAYLOR_SLOW.
8954 (sloww): Likewise.
8955 (bsloww): Likewise.
8956 (csloww): Likewise.
8957
d84f25c7
LD
89582013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8959
8960 * stdlib/strtod_l.c: Fix buffer overrun.
8961
5eea0404
SP
89622013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8963
7849ff93
SP
8964 * benchtests/Makefile (bench): Add sincos.
8965 * benchtests/bench-sincos.c: New file.
8966
cfa3c886
SP
8967 * math/libm-test.inc (cos_test_data): New test inputs.
8968 (sin_test_data): Likewise.
8969
b348e1e3
SP
8970 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
8971 macro.
8972 (__sin): Use it.
8973 (__cos): Likewise.
8974 (slow1): Likewise.
8975 (slow2): Likewise.
8976 (sloww1): Likewise.
8977 (sloww2): Likewise.
8978 (bsloww1): Likewise.
8979 (bsloww2): Likewise.
8980 (cslow2): Likewise.
8981 (csloww1): Likewise.
8982 (csloww2): Likewise.
8983
6cce25f8
SP
8984 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
8985 function.
8986 (__sin): Use it.
8987 (__cos): Likewise.
8988
5eea0404
SP
8989 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
8990 gotos.
8991 (__cos): Likewise.
8992
9c21573c
MR
89932013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
8994
8995 * config.h.in (HAVE_MIPS_NAN2008): New macro.
8996 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
8997 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
8998 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
8999 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9000 * elf/cache.c (print_entry): Handle the new cache flags.
9001
24d22e65
JM
90022013-09-18 Joseph Myers <joseph@codesourcery.com>
9003 Aldy Hernandez <aldyh@redhat.com>
9004
9005 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9006 Change condition to [_SOFT_FLOAT].
9007 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9008 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9009 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9010 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9011 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9012 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9013 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9014 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9015 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9016 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9017 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9018 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9019 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9020 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9021 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9022 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9023 declaration.
9024
d13ef066
JM
90252013-09-18 Joseph Myers <joseph@codesourcery.com>
9026
2e071de0
JM
9027 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9028 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9029 (__longjmp): Use LOAD_GP to load saved GPRs.
9030 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9031 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9032 (__sigsetjmp): Use SAVE_GP to save GPRs.
9033
d13ef066
JM
9034 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9035 Do not append -msoft-float.
9036 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9037
97a0650b
SP
90382013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9039
9040 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9041
11ca09e9
JM
90422013-09-17 Joseph Myers <joseph@codesourcery.com>
9043
9044 [BZ #15966]
9045 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9046 (_FPU_GETCW): Use initial "__" on variable and field names but not
9047 on macro parameter name.
9048 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
9049 parentheses around reference to macro parameter.
9050
08ffcf34
RS
90512013-09-13 Richard Sandiford <richard@codesourcery.com>
9052
9053 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9054 prototype.
9055 (ctype_startup): Use uint32_t in cast and sizeof for
9056 ctype->charnames.
9057
ae7080d3
JL
90582013-09-11 Jia Liu <proljc@gmail.com>
9059
9060 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9061 __daddr_t_defined.
9062 [__FreeBSD__]: Likewise.
9063
5905e7b3
OB
90642013-09-11 Ondřej Bílka <neleai@seznam.cz>
9065
9066 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9067 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9068 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9069 (strchr): Remove __strchr_sse42 ifunc selection.
9070 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9071 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9072
b987c776
WN
90732013-09-11 Will Newton <will.newton@linaro.org>
9074
9075 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9076 parameter to RES. Remove hardcoded 1000 value.
9077 * benchtests/bench-skeleton.c (main): Pass RES parameter
9078 to TIMING_INIT and multiply result by 1000.
9079
ddf985af
AZ
90802013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9081
9082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9083
ffdd3181
AS
90842013-09-11 Andreas Schwab <schwab@suse.de>
9085
9086 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9087 if not defined.
9088 (O_TMPFILE) [__USE_GNU]: Define.
9089 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9090 Define.
9091
b73ed247
WN
90922013-09-11 Will Newton <will.newton@linaro.org>
9093
9094 [BZ #15857]
9095 * malloc/malloc.c (__libc_memalign): Check the value of bytes
9096 does not overflow.
9097
55e17aad
WN
90982013-09-11 Will Newton <will.newton@linaro.org>
9099
9100 [BZ #15856]
9101 * malloc/malloc.c (__libc_valloc): Check the value of bytes
9102 does not overflow.
9103
1159a193
WN
91042013-09-11 Will Newton <will.newton@linaro.org>
9105
9106 [BZ #15855]
9107 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9108 does not overflow.
9109
5905e7b3 91102013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
9111
9112 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9113 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9114 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9115 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9116 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9117
cdfc721b
AM
91182013-09-10 Allan McRae <allan@archlinux.org>
9119
aa04af00
AM
9120 [BZ #15748]
9121 * manual/arith.texi (Parsing of Floats): Clarify
9122 cross-reference.
9123
cdfc721b
AM
9124 [BZ #15849]
9125 * manual/install.texi (Running make install): Mention
9126 --enable-pt-chown.
9127 * INSTALL: Regenerated.
9128
95e7cf29
MR
91292013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9130
9131 * csu/init-first.c (_init): Remove the !SHARED condition around
9132 FPU control word initialization.
9133 * elf/dl-support.c (_dl_fpu_control): New variable.
9134 (_dl_aux_init) <AT_FPUCW>: Initialize it.
9135 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9136 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9137 * math/test-fpucw-static.c: New file.
9138 * math/test-fpucw-ieee.c: New file.
9139 * math/test-fpucw-ieee-static.c: New file.
9140 * math/Makefile (tests): Add `test-fpucw-ieee' and
9141 `$(tests-static)'.
9142 (tests-static): New variable.
9143 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9144 dependency to...
9145 [($(build-shared),yes)]
9146 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9147 ... this.
9148 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9149 New dependency.
9150
83e43bf0
AM
91512013-09-09 Allan McRae <allan@archlinux.org>
9152
a9f5ce09
AM
9153 [BZ #15939]
9154 * manual/string.texi (Collation Functions): Fix typo in
9155 strcoll example.
9156 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9157
34829bc2
AM
9158 [BZ #15893]
9159 * stdlib/isomac.c (get_null_defines): Fix memory leak.
9160
3932737d
AM
9161 [BZ #15892]
9162 * libio/memstream.c (open_memstream): Fix memory leak.
9163 * libio/wmemstream.c (open_wmemstream): Likewise.
9164
83e43bf0
AM
9165 [BZ #15895]
9166 * nscd/netgroupcache.c: Fix nesting of ifdefs.
9167
0c66b8e9
WN
91682013-09-09 Will Newton <will.newton@linaro.org>
9169
9170 * malloc/Makefile: Add tst-realloc to tests.
9171 * malloc/tst-realloc.c: New file.
9172
f6b00fd1
AM
91732013-09-09 Allan McRae <allan@archlinux.org>
9174
9175 [BZ #15844]
9176 * COPYING: Update from GNU website to fix FSF address.
9177 * COPYING.LIB: Likewise.
9178
eec55e16
DM
91792013-09-06 David S. Miller <davem@davemloft.net>
9180
9181 * po/zh_TW.po: Update Chinese (traditional) translation from
9182 translation project.
9183
1ecbb381
RS
91842013-09-06 Richard Sandiford <richard@codesourcery.com>
9185 Joseph Myers <joseph@codesourcery.com>
9186
9187 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9188 "localeinfo.h".
9189 (obstack_chunk_alloc): New macro.
9190 (obstack_chunk_free): Likewise.
9191 (record_offset): New function.
9192 (init_locale_data): Likewise.
9193 (align_locale_data): Likewise.
9194 (add_locale_empty): Likewise.
9195 (add_locale_raw_data): Likewise.
9196 (add_locale_raw_obstack): Likewise.
9197 (add_locale_string): Likewise.
9198 (add_locale_wstring): Likewise.
9199 (add_locale_uint32): Likewise.
9200 (add_locale_uint32_array): Likewise.
9201 (add_locale_char): Likewise.
9202 (start_locale_structure): Likewise.
9203 (end_locale_structure): Likewise.
9204 (start_locale_prelude): Likewise.
9205 (end_locale_prelude): Likewise.
9206 (write_locale_data): Take locale_file structure rather than an
9207 iovec.
9208 * locale/programs/locfile.h: Include "obstack.h".
9209 (struct locale_file): Change to store locale file contents instead
9210 of header.
9211 (init_locale_data): New prototype.
9212 (align_locale_data): Likewise.
9213 (add_locale_empty): Likewise.
9214 (add_locale_raw_data): Likewise.
9215 (add_locale_raw_obstack): Likewise.
9216 (add_locale_string): Likewise.
9217 (add_locale_wstring): Likewise.
9218 (add_locale_uint32): Likewise.
9219 (add_locale_uint32_array): Likewise.
9220 (add_locale_char): Likewise.
9221 (start_locale_structure): Likewise.
9222 (end_locale_structure): Likewise.
9223 (start_locale_prelude): Likewise.
9224 (end_locale_prelude): Likewise.
9225 (write_locale_data): Update prototype.
9226 * locale/programs/3level.h (struct TABLE): Remove result field.
9227 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9228 Use new locale_file interface.
9229 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9230 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9231 * locale/programs/ld-address.c (address_output): Use new
9232 locale_file interface.
9233 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9234 NO_ADD_LOCALE.
9235 (collate_finish): Don't call collseq_table_finalize.
9236 (collate_output): Use new locale_file interface.
9237 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9238 in file.
9239 (NO_FINALIZE): Change to NO_ADD_LOCALE.
9240 (TABLE): Move defines earlier in file.
9241 (ELEMENT): Likewise.
9242 (DEFAULT): Likewise.
9243 (wctrans_table_add): Move macro and inline function earlier in
9244 file.
9245 (struct wctype_table): Move type earlier in file.
9246 (add_locale_wctype_table): New static prototype.
9247 (struct locale_ctype_t): Use logical types instead of struct iovec
9248 pointers for members.
9249 (ctype_output): Use new locale_file interface.
9250 (wctype_table_finalize): Change to add_locale_wctype_table. Use
9251 new locale_file interface.
9252 (allocate_arrays): Update for use of new locale_file interface.
9253 * locale/programs/ld-identification.c (identification_output): Use
9254 new locale_file interface.
9255 * locale/programs/ld-measurement.c (measurement_output): Likewise.
9256 * locale/programs/ld-messages.c (messages_output): Likewise.
9257 * locale/programs/ld-monetary.c (monetary_output): Likewise.
9258 * locale/programs/ld-name.c (name_output): Likewise.
9259 * locale/programs/ld-numeric.c (numeric_output): Likewise.
9260 * locale/programs/ld-paper.c (paper_output): Likewise.
9261 * locale/programs/ld-telephone.c (telephone_output): Likewise.
9262 * locale/programs/ld-time.c (time_output): Likewise.
9263
e029e2e5
AZ
92642013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9265
9266 * benchtests/Makefile: Add memrchr benchmark.
9267 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
9268 benchmark as memrchr.
9269 * benchtests/bench-memrchr-ifunc.c: New file.
9270 * benchtests/bench-memrchr.c: New file.
9271
bbf6e8e4
WN
92722013-09-06 Will Newton <will.newton@linaro.org>
9273
9274 * benchtests/Makefile (string-bench): Add memcpy.
9275
6c82a2f8
CD
92762013-09-05 Carlos O'Donell <carlos@redhat.com>
9277 Cong Wang <amwang@redhat.com>
9278
e732c5f0 9279 [BZ #15850]
6c82a2f8
CD
9280 * sysdeps/unix/sysv/linux/bits/in.h
9281 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
9282 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
9283 before __USE_KERNEL_IPV6_DEFS uses.
9284 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
9285 IPPROTO_BEETPH.
9286 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
9287 sockaddr_in6, or ipv6_mreq.
9288
5430fc65
AZ
92892013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9290
9291 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
9292 memory access for final bytes in some large inputs.
9293 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
9294
4660856c
AZ
92952013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9296
9297 * string/test-memrchr.c: New file.
9298 * string/test-memrchr-ifunc.c: New file.
9299 * string/Makefile: Add new memrchr testcase.
9300
bb8ea713
MF
93012013-09-05 Mike Frysinger <vapier@gentoo.org>
9302
9303 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
9304 fanotify_init returns EPERM.
9305
b92a20b5
JM
93062013-09-04 Joseph Myers <joseph@codesourcery.com>
9307
9308 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
9309 errors.
9310 (top level): Treat second token from macro or constant entries for
9311 allowed headers as allowed.
9312 * include/complex.h: Condition internal declarations on
9313 [!_ISOMAC].
9314 * include/fenv.h: Condition include of <stdbool.h> and internal
9315 declarations on [!_ISOMAC].
7447ccd9
CL
9316
93172013-09-04 Chris Leonard <cjl@sugarlabs,.org>
9318
3e181dda 9319 [BZ #15923]
7447ccd9
CL
9320 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
9321
3f2e46a4
JM
93222013-09-04 Joseph Myers <joseph@codesourcery.com>
9323
9324 * configure.in (--enable-versioning): Remove configure option.
9325 (libc_cv_asm_symver_directive): Remove configure test.
9326 (libc_cv_ld_version_script_option): Likewise.
9327 (VERSIONING): Remove variable and AC_SUBST.
9328 (DO_VERSIONING): Remove AC_DEFINE.
9329 * configure: Regenerated.
9330 * config.h.in (DO_VERSIONING): Remove macro.
9331 * Makerules [$(versioning) = yes]: Change conditionals to
9332 [$(build-shared) = yes].
9333 * config.make.in (versioning): Remove variable.
9334 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
9335 [$(build-shared) = yes].
9336 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
9337 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
9338 * elf/Makefile [$(versioning) = yes]: Change conditionals to
9339 [$(build-shared) = yes].
9340 * extra-lib.mk [$(versioning) = yes]: Likewise.
9341 * hurd/Makefile [$(versioning) = yes]: Likewise.
9342 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
9343 [SHARED].
9344 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
9345 [SHARED].
9346 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9347 [SHARED && !NO_HIDDEN].
9348 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
9349 [SHARED].
9350 [SHARED && DO_VERSIONING]: Likewise..
9351 * libio/Makefile [$(versioning) = yes]: Change conditionals to
9352 [$(build-shared) = yes].
9353 * manual/install.texi (--disable-versioning): Remove
9354 documentation.
9355 * INSTALL: Regenerated.
9356 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
9357 to [SHARED].
9358 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
9359 [$(build-shared) = yes].
9360 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
9361 * sysdeps/i386/i686/multiarch/strstr-c.c
9362 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9363 [SHARED && !NO_HIDDEN].
9364 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
9365 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
9366 * sysdeps/powerpc/powerpc32/dl-machine.c
9367 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
9368 * sysdeps/powerpc/powerpc32/sysdep.h
9369 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
9370 to [SHARED && PIC && !NO_HIDDEN].
9371 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
9372 conditional to [SHARED].
9373
44558701
WN
93742013-09-04 Will Newton <will.newton@linaro.org>
9375
9376 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
9377 * benchtests/bench-string.h: Include bench-timing.h instead
9378 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
9379 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
9380 call to HP_TIMING_DIFF_INIT.
9381 * benchtests/bench-memccpy.c: Use bench-timing.h macros
9382 instead of hp-timing.h macros.
9383 * benchtests/bench-memchr.c: Likewise.
9384 * benchtests/bench-memcmp.c: Likewise.
9385 * benchtests/bench-memcpy.c: Likewise.
9386 * benchtests/bench-memmem.c: Likewise.
9387 * benchtests/bench-memmove.c: Likewise.
9388 * benchtests/bench-memset.c: Likewise.
9389 * benchtests/bench-rawmemchr.c: Likewise.
9390 * benchtests/bench-strcasecmp.c: Likewise.
9391 * benchtests/bench-strcasestr.c: Likewise.
9392 * benchtests/bench-strcat.c: Likewise.
9393 * benchtests/bench-strchr.c: Likewise.
9394 * benchtests/bench-strcmp.c: Likewise.
9395 * benchtests/bench-strcpy.c: Likewise.
9396 * benchtests/bench-strcpy_chk.c: Likewise.
9397 * benchtests/bench-strlen.c: Likewise.
9398 * benchtests/bench-strncasecmp.c: Likewise.
9399 * benchtests/bench-strncat.c: Likewise.
9400 * benchtests/bench-strncmp.c: Likewise.
9401 * benchtests/bench-strncpy.c: Likewise.
9402 * benchtests/bench-strnlen.c: Likewise.
9403 * benchtests/bench-strpbrk.c: Likewise.
9404 * benchtests/bench-strrchr.c: Likewise.
9405 * benchtests/bench-strspn.c: Likewise.
9406 * benchtests/bench-strstr.c: Likewise.
9407
cae16d66
WN
94082013-09-04 Will Newton <will.newton@linaro.org>
9409
9410 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
9411
ffa3cd7f
JM
94122013-09-03 Joseph Myers <joseph@codesourcery.com>
9413
9414 [BZ #15427]
9415 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
9416 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
9417 * math/libm-test.inc (lgamma_test_data): Add more tests.
9418 * sysdeps/i386/fpu/libm-test-ulps: Update.
9419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9420
8f02859f
OB
94212013-09-03 Ondřej Bílka <neleai@seznam.cz>
9422
9423 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
9424 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9425 Add ifunc.
9426 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9427 Add strcmp-sse2-unaligned
9428 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
9429
18d43716
MF
94302013-09-02 Mike Frysinger <vapier@gentoo.org>
9431
9432 * Versions.def (libc): Add GLIBC_2.19.
9433
ac444012
MF
94342013-09-02 Mike Frysinger <vapier@gentoo.org>
9435
9436 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
9437 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
9438
b7835e32
JM
94392013-09-02 Joseph Myers <joseph@codesourcery.com>
9440
9441 [BZ #14155]
9442 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
9443 intermediate calculations in recurrence.
9444 (__ieee754_ynf): Likewise.
9445 * math/libm-test.inc (jn_test_data): Do not allow spurious
9446 underflow exception. Add more tests.
9447 (yn_test_data): Add more tests.
9448 * sysdeps/i386/fpu/libm-test-ulps: Update.
9449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9450
8220f4f0
OB
94512013-09-02 Ondřej Bílka <neleai@seznam.cz>
9452
9453 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
9454
f24a6d08
OB
94552013-08-30 Ondřej Bílka <neleai@seznam.cz>
9456
9457 * csu/init-first.c: Fix then/than typos.
9458 * locale/programs/ld-collate.c: Likewise.
9459 * locale/programs/linereader.h: Likewise.
9460 * manual/charset.texi: Likewise.
9461 * manual/filesys.texi: Likewise.
9462 * manual/stdio.texi: Likewise.
9463 * manual/string.texi: Likewise.
9464 * stdlib/fmtmsg.c: Likewise.
9465 * sysdeps/i386/stpncpy.S: Likewise.
9466 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9467 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9468 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9469 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9470
382466e0
OB
94712013-08-30 Ondřej Bílka <neleai@seznam.cz>
9472
9473 * elf/dl-open.c: Fix typos.
9474 * iconvdata/gbbig5.c: Likewise.
9475 * iconvdata/iso-2022-jp.c: Likewise.
9476 * iconv/gconv_int.h: Likewise.
9477 * iconv/loop.c: Likewise.
9478 * nis/rpcsvc/nis.h: Likewise.
9479 * resolv/ns_name.c: Likewise.
9480 * stdio-common/vfscanf.c: Likewise.
9481 * streams/stropts.h: Likewise.
9482 * sunrpc/rpc_thread.c: Likewise.
9483 * sysdeps/i386/strpbrk.S: Likewise.
9484 * sysdeps/ieee754/k_standard.c: Likewise.
9485 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9486 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9487 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
9488 * sysdeps/mach/hurd/profil.c: Likewise.
9489 * sysdeps/s390/dl-procinfo.h: Likewise.
9490 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9491 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9492 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
9493 * sysdeps/x86_64/dl-trampoline.S: Likewise.
9494 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9495
0186c6e9
OB
94962013-08-30 Ondřej Bílka <neleai@seznam.cz>
9497
9498 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
9499 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
9500
d4e16af1
OB
95012013-08-29 Ondřej Bílka <neleai@seznam.cz>
9502
9503 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
9504 aix specific files.
9505 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
9506 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
9507 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
9508 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
9509 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
9510 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
9511 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
9512 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
9513
88335980
TS
95142013-08-29 Thomas Schwinge <thomas@codesourcery.com>
9515 Roland McGrath <roland@hack.frob.com>
9516
9517 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
9518 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
9519
ed479b02
ST
95202013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
9521
9522 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
9523 __executable_start symbol instead of _start.
9524
f1cc4c86
TS
95252013-08-29 Thomas Schwinge <thomas@codesourcery.com>
9526
d821f07c
TS
9527 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
9528 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
9529 Move macros to...
9530 * sysdeps/gnu/ldsodefs.h: ... this new file.
9531
c54290cf
TS
9532 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
9533 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
9534 instead of ELFOSABI_LINUX.
9535
0007fc9b 9536 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
9537 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
9538 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
9539 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
9540 Likewise.
9541 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
9542 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
9543 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
9544 Likewise.
9545 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9546 (ibm_extended_long_double): Add ieee_nan member.
9547 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
9548 (do_test): New function.
9549
f1cc4c86
TS
9550 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
9551 TEST_TRUNC.
9552 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
9553 functions, renamed from truncdfsf_test, trunctfsf_test,
9554 trunctfdf_test.
9555 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
9556 functions.
9557 (do_test): Run all these.
9558
6f65e668
OB
95592013-08-29 Ondřej Bílka <neleai@seznam.cz>
9560
9561 * argp/argp-help.c: Fix typos.
9562 * argp/argp-parse.c: Likewise.
9563 * debug/backtracesyms.c: Likewise.
9564 * elf/elf.h: Likewise.
9565 * malloc/malloc.c: Likewise.
9566 * nis/nis_print.c: Likewise.
9567 * resolv/res_comp.c: Likewise.
9568 * stdlib/stdlib.h: Likewise.
9569 * sunrpc/clnt_tcp.c: Likewise.
9570 * sunrpc/clnt_udp.c: Likewise.
9571 * sunrpc/clnt_unix.c: Likewise.
9572 * sysdeps/unix/bsd/ptsname.c: Likewise.
9573 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9574 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
9575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
9576 Likewise.
9577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
9578 Likewise.
9579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
9580 Likewise.
6f65e668
OB
9581 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9582
3a309239
SP
95832013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9584
9585 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
9586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9587
3b813b29
MF
95882013-08-27 Mike Frysinger <vapier@gentoo.org>
9589
9590 [BZ #15897]
9591 * dlfcn/Makefile (tests): Add bug-dl-leaf.
9592 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
9593 ($(objpfx)bug-dl-leaf): New rule.
9594 ($(objpfx)bug-dl-leaf.so): Likewise.
9595 ($(objpfx)bug-dl-leaf.out): Likewise.
9596 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
9597 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
9598 * dlfcn/bug-dl-leaf.c: New test.
9599 * dlfcn/bug-dl-leaf-lib.c: Likewise.
9600 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
9601 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
9602 (dlclose): Likewise.
9603 (dlmopen): Likewise.
9604
8cc3269f
RM
96052013-08-27 Roland McGrath <roland@hack.frob.com>
9606
7f9d0034
RM
9607 * include/netdb.h [!_ISOMAC]:
9608 Don't include <tls.h>.
9609 (h_errno, __libc_h_errno): Move declaration and macros out of
9610 [_LIBC_REENTRANT].
9611
fb431262
RM
9612 * include/resolv.h [_RESOLV_H_]:
9613 Don't include <tls.h>.
9614 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
9615 * resolv/res_libc.c: Don't include <tls.h>.
9616 (_res): Use __attribute__ ((nocommon)) in place of
9617 __attribute__ ((section (".bss"))).
9618
bd81123a
RM
9619 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
9620 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
9621
c4e42566
RM
9622 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
9623
f890a59b
RM
9624 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
9625 only under [SIOCGIFCONF && SIOCGIFNETMASK].
9626
9627 * resolv/res_mkquery.c: Include <sys/time.h>.
9628
5d1f0a09
RM
9629 * inet/ifreq.c: Moved to ...
9630 * sysdeps/unix/ifreq.c: ... here.
9631 * inet/ifreq.c: New file, true stub version.
9632
6fcf28b3
RM
9633 * socket/sa_len.c: New file.
9634 * socket/Makefile (aux): Add it.
9635 * sysdeps/unix/sysv/linux/Makefile
9636 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
9637 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
9638 and #include <socket/sa_len.c>.
9639 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
9640 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
9641
e041fb8b
RM
9642 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
9643 * bits/socket.h: ... here.
9644
8cc3269f
RM
9645 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
9646 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
9647 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
9648
5d228a43
AS
96492013-08-27 Andreas Schwab <schwab@suse.de>
9650
45b8accc
AS
9651 [BZ #15736]
9652 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
9653 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
9654 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
9655 * string/test-strcasecmp.c (test_main): Run tests in several
9656 locales.
9657 * string/test-strncasecmp.c (test_main): Likewise.
9658
5d228a43
AS
9659 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
9660 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
9661 to __strcasecmp_nonascii and __strncasecmp_nonascii.
9662 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
9663 (__strncasecmp_ssse3) [PIC]: Likewise.
9664
59d112a4
RM
96652013-08-26 Roland McGrath <roland@hack.frob.com>
9666
53234cc3
RM
9667 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
9668
59d112a4
RM
9669 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
9670 instead of explicitly declaring xdecrypt.
9671 * nis/nss_nis/nis-publickey.c: Likewise.
9672
595aba70
SP
96732013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9674
9675 [BZ #15890]
9676 * nscd/aicache.c: Include res_hconf.h.
9677 (addhstaiX): Initialize res_hconf.
9678
ffabd393
AS
96792013-08-26 Andreas Schwab <schwab@suse.de>
9680
9681 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
9682 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
9683
e0a69f5c
SP
96842013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9685
9686 * nscd/aicache.c (addhstaiX): Fix indentation.
9687
8c12f01d
MF
96882013-08-25 Mike Frysinger <vapier@gentoo.org>
9689
9690 * configure.ac: Quote $build_pt_chown test.
9691 * configure: Regenerated.
9692
8fe89494
JM
96932013-08-23 Joseph Myers <joseph@codesourcery.com>
9694
9695 [BZ #15532]
9696 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
9697 * math/s_cexpf.c (__cexpf): Likewise.
9698 * math/s_cexpl.c (__cexpl): Likewise.
9699 * math/libm-test.inc (cexp_test_data): Correct expected return
9700 value for NaN + i0. Add another test.
9701
75b181d6
DM
97022013-08-22 David S. Miller <davem@davemloft.net>
9703
9704 * po/ca.po: Update Catalan translation from translation project.
936241e4 9705 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 9706
acd06bb1
JM
97072013-08-21 Joseph Myers <joseph@codesourcery.com>
9708
9709 [BZ #15797]
9710 * math/s_fdim.c (__fdim): Check for infinite arguments if result
9711 is infinite, not alongside NaN test.
9712 * math/s_fdimf.c (__fdimf): Likewise.
9713 * math/s_fdiml.c (__fdiml): Likewise.
9714 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
9715 errno is unchanged.
9716
c0c3f78a
OB
97172013-08-21 Ondřej Bílka <neleai@seznam.cz>
9718
9719 * argp/argp-help.c: Fix typos.
9720 * crypt/speeds.c: Likewise.
9721 * csu/check_fds.c: Likewise.
9722 * elf/dl-load.c: Likewise.
9723 * elf/dl-open.c: Likewise.
9724 * elf/reldep3.c: Likewise.
9725 * elf/reldep.c: Likewise.
9726 * elf/sprof.c: Likewise.
9727 * iconv/iconv_charmap.c: Likewise.
9728 * iconv/skeleton.c: Likewise.
9729 * iconv/strtab.c: Likewise.
9730 * io/lockf64.c: Likewise.
9731 * libio/libioP.h: Likewise.
9732 * resolv/gai_notify.c: Likewise.
9733 * resolv/ns_name.c: Likewise.
9734 * resolv/ns_samedomain.c: Likewise.
9735 * resolv/res_send.c: Likewise.
9736 * stdlib/random.c: Likewise.
9737 * sunrpc/rpc/xdr.h: Likewise.
9738 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
9739 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9740 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9741 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9742 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9743 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9744 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9745 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9746 * sysdeps/mach/hurd/check_fds.c: Likewise.
9747 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9748 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9749 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9750 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9751 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9752 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9753 * sysdeps/pthread/aio_notify.c: Likewise.
9754 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
9755 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
9756 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
9757 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9758 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9759
46ed1038
LD
97602013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9761
9762 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
9763 version if bit_Slow_SSE4_2 is set.
9764 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9765 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9766
d400dcac
AZ
97672013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9768
9769 [BZ #15867]
9770 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
9771 trampoline stack frame information.
9772 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
9773 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
9774 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
9775 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
9776 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
9777 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9778 (_libc_vdso_platform_setup): Initialize the signal trampolines.
9779 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
9780 sa_flags value.
9781 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
9782 interrupting a syscall and set with option SA_SIGINFO.
9783
42c8fdd8
JM
97842013-08-20 Joseph Myers <joseph@codesourcery.com>
9785
c980f2f4
JM
9786 [BZ #15531]
9787 * math/s_cproj.c (__cproj): Only return an infinity if one part of
9788 argument is infinite.
9789 * math/s_cprojf.c (__cprojf): Likewise.
9790 * math/s_cprojl.c (__cprojl): Likewise.
9791 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
9792 * math/libm-test.inc (cproj_test_data): Add more tests.
9793
0716c4fc
JM
9794 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
9795
42c8fdd8
JM
9796 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
9797 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
9798 size. Use __ffs to determine corresponding shift.
9799
b31469d0
JM
98002013-08-20 Joseph Myers <joseph@codesourcery.com>
9801 Roland McGrath <roland@hack.frob.com>
9802
9803 * Makefile (INSTALL): Remove trailing blank lines from output of
9804 makeinfo.
9805
4e39af6e
AK
98062013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9807
9808 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
9809 Align 32 bit compat elf_greg to 8 bytes.
9810
f315524e
AA
98112013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
9812
9813 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
9814
1326ba1a
SP
98152013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9816
9817 * string/strcoll_l.c (coll_seq): New structure.
9818 (get_next_seq_cached): New function.
9819 (get_next_seq): New function.
9820 (do_compare): New function.
9821 (STRCOLL): Use GNU style definition. Simplify implementation
9822 by using get_next_seq, get_next_seq_cached and do_compare.
9823
91ce4085
FW
98242013-08-16 Florian Weimer <fweimer@redhat.com>
9825
9826 [BZ #14699]
9827 CVE-2013-4237
9828 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
9829 member.
9830 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
9831 member.
9832 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
9833 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
9834 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
9835 conditional.
9836 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
9837 GETDENTS_64BIT_ALIGNED.
9838 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9839 * manual/filesys.texi (Reading/Closing Directory): Document
9840 ENAMETOOLONG return value of readdir_r. Recommend readdir more
9841 strongly.
9842 * manual/conf.texi (Limits for Files): Add portability note to
9843 NAME_MAX, PATH_MAX.
9844 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
9845
ca0a6bc4
AS
98462013-08-13 Andreas Schwab <schwab@suse.de>
9847
9848 [BZ #15749]
9849 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
9850 of fabs.
9851 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
9852 LDBL_MAX_EXP >= 16384]: Add tests for it.
9853
6c1fd795
DM
98542013-08-12 David S. Miller <davem@davemloft.net>
9855
9856 * version.h (RELEASE): Set to "development".
9857 (VERSION): Set to "2.18.90".
9858 * NEWS: Add 2.19 section.
9859
31ad488d
DM
98602013-08-03 David S. Miller <davem@davemloft.net>
9861
9862 * po/ko.po: Update Korean translation from translation project.
9863
db24e684
DM
98642013-08-01 David S. Miller <davem@davemloft.net>
9865
9866 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
9867 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
9868 Bilka.
9869
f723285b
DM
98702013-07-30 David S. Miller <davem@davemloft.net>
9871
9872 * po/fr.po: Update French translation from translation project.
9873
3cbc52db
DM
98742013-07-28 David S. Miller <davem@davemloft.net>
9875
30bbc0cc
DM
9876 * po/cs.po: Update Czech translation from translation project.
9877
3cbc52db
DM
9878 * po/sv.po: Update Swedish translation from translation project.
9879
d492e6d0
DM
98802013-07-27 David S. Miller <davem@davemloft.net>
9881
f1a7f492
DM
9882 * po/eo.po: Update Esperanto translation from translation project.
9883
90e62a4a
DM
9884 * po/vi.po: Update Vietnamese translation from translation project.
9885
d492e6d0
DM
9886 * po/de.po: Update German translation from translation project.
9887
d4baa62d
DM
98882013-07-26 David S. Miller <davem@davemloft.net>
9889
641aa7b4
DM
9890 * po/bg.po: Update Bulgarian translation from translation project.
9891
d4baa62d
DM
9892 * po/nl.po: Update Dutch translation from translation project.
9893 * po/pl.po: Update Polish translation from translation project.
9894 * po/ru.po: Update Russian translation from translation project.
9895
61a9dcb9
DM
98962013-07-24 David S. Miller <davem@davemloft.net>
9897
9898 * po/libc.pot: Update.
9899
7b1f8b58
AZ
99002013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9901
9902 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
9903 variable page size.
9904 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
9905 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
9906 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
9907
a8fc7a03
AK
99082013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9909
9910 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
9911
e4608715
CD
99122013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9913 Andreas Schwab <schwab@suse.de>
9914 Roland McGrath <roland@hack.frob.com>
9915 Joseph Myers <joseph@codesourcery.com>
9916 Carlos O'Donell <carlos@redhat.com>
9917
9918 [BZ #15755]
9919 * config.h.in: Define HAVE_PT_CHOWN.
9920 * config.make.in (build-pt-chown): New variable.
9921 * configure.in (--enable-pt_chown): New configure option.
9922 * configure: Regenerate.
9923 * login/Makefile: Include Makeconfig. Build pt_chown only if
9924 build-pt-chown is enabled.
9925 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
9926 pt_chown to fix pty ownership.
9927 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
9928 CLOSE_ALL_FDS.
9929 * manual/install.texi (Configuring and compiling): Mention
9930 --enable-pt_chown. Add @findex for grantpt.
9931 * INSTALL: Regenerate.
9932
da2d62df
DM
99332013-07-20 David S. Miller <davem@davemloft.net>
9934
9935 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
9936 difference between 32-bit and 64-bit.
9937
d7e06450
CD
99382013-07-15 Carlos O'Donell <carlos@redhat.com>
9939
9940 [BZ #15711]
9941 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
9942 Avoid system header dependency with -ffreestanding.
9943 ($(objpfx)bits/syscall%d): Likewise.
9944
f959cfd7
DM
99452013-07-13 David S. Miller <davem@davemloft.net>
9946
9947 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
9948 underflows from atanl/atan2l due to bug 15319.
9949 (casinh_test_data): Likewise.
9950
c61f8513
DM
99512013-07-07 David S. Miller <davem@davemloft.net>
9952
9953 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
9954
72c90ed0
JA
99552013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
9956
9957 * sysdeps/i386/fpu/libm-test-ulps: Update.
9958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9959
52dfbe13
SP
99602013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9961
9962 * configure.in (--enable-lock-elision): Fix message text.
9963 * INSTALL: Regenerate.
9964 * configure: Regenerate.
9965
3f169543
AZ
99662013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9967
9968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9969
521c6785
AJ
99702013-07-03 Andreas Jaeger <aj@suse.de>
9971
9972 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
9973 define.
9974 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
9975 (ptrace_peeksiginfo_args): Add.
9976 (__ptrace_peeksiginfo_flags): Add.
9977 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9978 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9979 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9980
d2cc15cb
AM
99812013-07-03 Allan McRae <allan@archlinux.org>
9982
9983 * sysdeps/i386/fpu/libm-test-ulps: Update.
9984
3aaeeca7
DM
99852013-07-02 David S. Miller <davem@davemloft.net>
9986
9987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9988
5314ed1a
MT
99892013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
9990
9991 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9992
67338156
JM
99932013-07-02 Joseph Myers <joseph@codesourcery.com>
9994
9995 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9997
1717da59
AK
99982013-07-02 Andi Kleen <ak@linux.intel.com>
9999
10000 * config.h.in (ENABLE_LOCK_ELISION): Add.
10001 * configure.in (--enable-lock-elision): Add option.
10002 * manual/install.texi: Document --enable lock elision.
10003 * configure: Regenerate
10004 * INSTALL: Regenerate.
10005
1c81621c
L
100062013-07-02 H.J. Lu <hongjiu.lu@intel.com>
10007
10008 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10009 SSE4.2 strcasecmp for libc.a.
10010 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10011
77f01ab5
JM
100122013-07-02 Joseph Myers <joseph@codesourcery.com>
10013
10014 [BZ #13304]
10015 * soft-fp/op-common.h (_FP_FMA): New macro.
10016 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10017 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
10018 (_FP_MUL_MEAT_1_imm): ... here.
10019 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
10020 (_FP_MUL_MEAT_1_wide): ... here.
10021 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
10022 (_FP_MUL_MEAT_1_hard): ... here.
10023 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10024 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
10025 (_FP_MUL_MEAT_2_wide): ... here.
10026 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
10027 (_FP_MUL_MEAT_2_wide_3mul): ... here.
10028 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
10029 (_FP_MUL_MEAT_2_gmp): ... here.
10030 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10031 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
10032 (_FP_MUL_MEAT_4_wide): ... here.
10033 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
10034 (_FP_MUL_MEAT_4_gmp): ... here.
10035 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10036 (_FP_WFRACBITS_DW_S): Likewise.
10037 (_FP_WFRACXBITS_DW_S): Likewise.
10038 (_FP_HIGHBIT_DW_S): Likewise.
10039 (FP_FMA_S): Likewise.
10040 (_FP_FRAC_HIGH_DW_S): Likewise.
10041 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10042 (_FP_WFRACBITS_DW_D): Likewise.
10043 (_FP_WFRACXBITS_DW_D): Likewise.
10044 (_FP_HIGHBIT_DW_D): Likewise.
10045 (FP_FMA_D): Likewise.
10046 (_FP_FRAC_HIGH_DW_D): Likewise.
10047 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10048 (_FP_WFRACBITS_DW_E): Likewise.
10049 (_FP_WFRACXBITS_DW_E): Likewise.
10050 (_FP_HIGHBIT_DW_E): Likewise.
10051 (FP_FMA_E): Likewise.
10052 (_FP_FRAC_HIGH_DW_E): Likewise.
10053 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10054 (_FP_WFRACBITS_DW_Q): Likewise.
10055 (_FP_WFRACXBITS_DW_Q): Likewise.
10056 (_FP_HIGHBIT_DW_Q): Likewise.
10057 (FP_FMA_Q): Likewise.
10058 (_FP_FRAC_HIGH_DW_Q): Likewise.
10059 * soft-fp/fmasf4.c: New file.
10060 * soft-fp/fmadf4.c: Likewise.
10061 * soft-fp/fmatf4.c: Likewise.
10062
6308fd9a
LD
100632013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10064
10065 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10066 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10067 Silvermont.
10068 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10069 macro.
10070 (index_Slow_SSE4_2): Likewise.
10071 (index_Prefer_PMINUB_for_stringop): Likewise.
10072 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10073 bit_Slow_SSE4_2 is set.
10074 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10075 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10076
89cd9569
RA
100772013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10078
10079 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10080 rtld_global._dl_hwcap2.
10081 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10082 POWER8.
10083 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10084 POWER8 feature descriptions defined in _dl_hwcap2.
10085 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10086 string handling for POWER8 feature bits.
10087 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10088 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10089 _dl_powerpc_cap_flags.
10090 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10091 * sysdeps/powerpc/rtld-global-offsets.sym
10092 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10093 _dl_hwcap2 in the rtld_global_ro structure.
10094
1ae8bfe0
RA
100952013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10096
10097 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10098 hardware capabilities in support of AT_HWCAP2.
10099 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10100 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10101 GLRO(dl_hwcap2).
10102 (_dl_show_auxv): Add support for calling _dl_procinfo to display
10103 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
10104 explicitly the unknown a_type display mechanism is used.
10105 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10106 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10107 struct member.
10108 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10109 to macro prototype for AT_HWCAP2 support.
10110 * sysdeps/i386/dl-procinfo.h: Likewise.
10111 * sysdeps/s390/dl-procinfo.h: Likewise.
10112 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10113 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
10114 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
10115 return -1 for unknown a_type display fallback.
10116 * sysdeps/sparc/dl-procinfo.h: Likewise.
10117 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10118 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10119
8fbec010
JM
101202013-06-28 Joseph Myers <joseph@codesourcery.com>
10121
10122 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10123 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10124
0432680e
PY
101252013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
10126
10127 [BZ #12492]
10128 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10129 mprotect making __stack_prot writable.
10130
ce61a2ad
NF
101312013-06-28 Nathan Froyd <froydnj@codesourcery.com>
10132 Joseph Myers <joseph@codesourcery.com>
10133
10134 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10135 as being properly aligned.
10136
f91f1c0f
MR
101372013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
10138
3d0f5d0c
MR
10139 * dlfcn/modstatic5.c: New file.
10140 * dlfcn/tststatic5.c: New file.
10141 * dlfcn/Makefile (tests): Add tststatic5.
10142 (tests-static): Likewise.
10143 (modules-names): Add modstatic5.
10144 (tststatic5-ENV): New variable.
10145 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10146
f91f1c0f
MR
10147 [BZ #15022]
10148 * elf/dl-support.c (_dl_main_map): New variable.
10149 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10150 (_dl_nns, _dl_load_adds): Set to 1.
10151 (_dl_initial_searchlist): Refer to _dl_main_map.
10152 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10153 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10154 call to _dl_get_origin.
10155 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10156 around call_map.
10157 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10158 * dlfcn/modstatic3.c: New file.
10159 * dlfcn/tststatic3.c: New file.
10160 * dlfcn/tststatic4.c: New file.
10161 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10162 (tests-static): Likewise.
10163 (modules-names): Add modstatic3.
10164 (tststatic3-ENV, tststatic4-ENV): New variables.
10165 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10166 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10167
cbe7d24b
JM
101682013-06-26 Joseph Myers <joseph@codesourcery.com>
10169
10170 * configure.in (CC): Require GCC version 4.4 or later.
10171 * configure: Regenerated.
10172 * manual/install.texi (Tools for Compilation): Update GCC version
10173 requirement.
10174 * INSTALL: Regenerated.
10175
11b8a0e1
LD
101762013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10177
10178 [BZ #15674]
bb5bb87c
L
10179 * string/test-memcmp.c (check2): New.
10180 (main): Call check2.
10181
11b8a0e1
LD
10182 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10183
b0037103
MR
101842013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
10185
10186 [BZ #15022]
10187 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10188 over to...
10189 (dl_open_worker) [!SHARED]: ... here.
10190
c18c701d
RA
101912013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10192
10193 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10194
1d17fa5f
RH
101952013-06-25 Richard Henderson <rth@redhat.com>
10196
10197 * locale/programs/locarchive.c: Include <libc-internal.h>
10198
8fcb833a
JM
101992013-06-25 Joseph Myers <joseph@codesourcery.com>
10200
10201 * manual/texinfo.tex: Update to version 2013-06-21.17, with
10202 trailing whitespace removed.
10203
17db6e8d
MF
102042013-06-24 Mike Frysinger <vapier@gentoo.org>
10205
10206 [BZ #10283]
17db6e8d
MF
10207 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10208 * locale/programs/locarchive.c: Include libc-mmap.h.
10209 (prepare_address_space): Take two new outputs (the mmap base and len).
10210 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
10211 values.
10212 (create_archive): Declare new mmap base and len values for
10213 prepare_address_space, and store the result in ah.
10214 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10215 (enlarge_archive): If ah->mmap_base is not NULL, use that and
10216 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10217 Declare new mmap base and len values for
10218 prepare_address_space, and store the result in new_ah.
10219 (open_archive): Declare new mmap base and len values for
10220 prepare_address_space, and store the result in ah.
10221 (close_archive): If ah->mmap_base is not NULL, use that and
10222 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10223 * sysdeps/generic/libc-mmap.h: New file.
10224
d605071e
MF
102252013-06-24 Mike Frysinger <vapier@gentoo.org>
10226
10227 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10228 (ALIGN_UP): Likewise.
10229 (PTR_ALIGN_DOWN): Likewise.
10230 (PTR_ALIGN_UP): Likewise.
10231
2f063a6e
RA
102322013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10233
10234 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10235 entry mapped to PPC_PLATFORM_POWER8.
10236 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10237 POWER8.
10238 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10239 (_dl_string_platform): Add case for exporting platform position for
10240 POWER8.
10241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10242 search path to sysdeps/powerpc/powerpc32/power8 directory.
10243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10244 search path to sysdeps/powerpc/powerpc64/power8 directory.
10245 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10246 power7 directories.
10247 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10248 power7 directories.
10249
a31ee4b3
SP
102502013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10251
a74ca98f
SP
10252 * INSTALL: Regenerate.
10253
a31ee4b3
SP
10254 * nscd/connections.c (nscd_init): Fix comment.
10255
695c378f
JM
102562013-06-22 Joseph Myers <joseph@codesourcery.com>
10257
d8412221
JM
10258 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10259
695c378f
JM
10260 [BZ #15667]
10261 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
10262 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
10263
d1d54715
MR
102642013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10265
10266 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10267 DL_DST_REQ_STATIC.
10268 (DL_DST_REQ_STATIC): Remove macro.
10269
8fdda7af
JM
102702013-06-21 Joseph Myers <joseph@codesourcery.com>
10271
10272 [BZ #7006]
10273 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
10274 with a shift of 0 bits.
10275
f3bc5e5a
MR
102762013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10277
10278 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
10279 $(tststatic-ENV).
10280
be09e8c9
KK
102812013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10282
10283 [BZ #15655]
10284 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
10285
85c2e611
AZ
102862013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10287
10288 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
10289 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
10290 accepts -fno-tree-loop-distribute-patterns.
10291 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
10292 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
10293 recursive call.
10294 * string/memset.c (memset): Likewise.
10295 * string/test-memmove.c (simple_memmove): Disable loop transformation
10296 to library calls.
10297 * string/test-memset.c (simple_memset): Likewise.
10298 * benchtests/bench-memmove.c (simple_memmove): Likewise.
10299 * benchtests/bench-memset.c (simple_memset): Likewise.
10300 * configure: Regenerated.
10301
c91e0825
JM
103022013-06-20 Joseph Myers <joseph@codesourcery.com>
10303
b8c792af
JM
10304 * math/test-misc.c (main): Ignore fesetround failure when failures
10305 of subsequent rounding tests would be ignored.
10306
c91e0825
JM
10307 [BZ #15654]
10308 * math/fedisblxcpt.c (fedisableexcept): Return 0.
10309 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
10310 * math/fegetenv.c (__fegetenv): Return 0.
10311 * math/fegetexcept.c (fegetexcept): Return 0.
10312 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
10313 FE_TONEAREST.
10314 * math/feholdexcpt.c (feholdexcept): Return 0.
10315 * math/fesetenv.c (__fesetenv): Return 0.
10316 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
10317 argument FE_TONEAREST.
10318 * math/feupdateenv.c (__feupdateenv): Return 0.
10319 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
10320
bfcacbde
RM
103212013-06-18 Roland McGrath <roland@hack.frob.com>
10322
10323 * elf/rtld-Rules (rtld-compile-command.S): New variable.
10324 (rtld-compile-command.s, rtld-compile-command.c): New variables.
10325 ($(objpfx)rtld-%.os rules): Use them.
10326
e55a9b25
AZ
103272013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10328
10329 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
10330 fields.
10331
346d65b3
RM
103322013-06-17 Roland McGrath <roland@hack.frob.com>
10333
12086fb4
RM
10334 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
10335 length of target pattern, then descending length of dependency pattern.
10336 * configure.in (AWK): Require gawk 3.1.2 or newer.
10337 * manual/install.texi (Tools for Compilation): Say that we do.
10338 * configure: Regenerated.
10339
346d65b3
RM
10340 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
10341 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
10342 * scripts/sysd-rules.awk: ... this new script.
10343 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
10344 than a glob-style pattern.
10345
1a846317
JM
103462013-06-17 Joseph Myers <joseph@codesourcery.com>
10347
10348 * math/test-misc.c (main): Do not treat incorrectly rounded
10349 conversions as failure unless ROUNDING_TESTS passes.
10350
8fc75e6f
JM
103512013-06-15 Joseph Myers <joseph@codesourcery.com>
10352
3711a167
JM
10353 [BZ #15631]
10354 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
10355 restore exception state around main square root computation, then
10356 check for inexactness explicitly.
10357
8fc75e6f
JM
10358 * math/libm-test.inc (fma_test_data): Add another test.
10359
61dd6208
SP
103602013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10361
adf23d2c
SP
10362 * manual/threads.texi (Non-POSIX Extensions): New document
10363 node. Document pthread_getattr_default_np and
10364 pthread_setattr_default_np.
10365
61dd6208
SP
10366 * Versions.def (libpthread): Add GLIBC_2.18.
10367 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
10368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10369 Likewise.
10370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10371 Likewise.
10372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10373 Likewise.
10374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10375 Likewise.
10376 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
10377 Likewise.
10378 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10379 Likewise.
10380 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10381 Likewise.
10382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10383 Likewise.
10384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10385 Likewise.
10386
d086fc7b
LD
103872013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10388
10389 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10390 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
10391
747ef469
SP
103922013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10393 H.J. Lu <hjl.tools@gmail.com>
10394
10395 [BZ #15627]
10396 * sysdeps/x86_64/rtld-memset.c: Remove file.
10397 * sysdeps/x86_64/rtld-memset.S: New file.
10398
1b2feed2
JM
103992013-06-14 Joseph Myers <joseph@codesourcery.com>
10400
10401 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
10402 (test_in_one_mode): Take arguments for whether the rounding mode
10403 is supported for each floating-point type.
10404 (do_test): Pass new arguments to test_in_one_mode using
10405 ROUNDING_TESTS.
10406
a58ad3f8
RM
104072013-06-13 Roland McGrath <roland@hack.frob.com>
10408
10409 * posix/tst-waitid.c (do_test): Distinguish different instances of
10410 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
10411 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
10412 before entering the kernel for waitpid.
10413
c204ab28
SP
104142013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10415
10416 * NEWS: Fix note on clock function precision. Text by Roland
10417 McGrath.
10418
f4a29fba
RM
104192013-06-13 Roland McGrath <roland@hack.frob.com>
10420
10421 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
10422 it into place only when and if the sanity check passes.
10423
1f24b9ad
JM
104242013-06-13 Joseph Myers <joseph@codesourcery.com>
10425
10426 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
10427 output for whether conversion result is exact. Take argument
10428 indicating whether type is IBM long double.
10429 (round_for_all): Change need_exact field to ibm_ld.
10430 * stdlib/tst-strtod-round.c (struct exactness): New type.
10431 (struct test): Change bool ld_ok field to struct exactness exact.
10432 (TEST): Update all definitions for change to field.
10433 (tests): Regenerate array contents.
10434 (test_in_one_mode): Take pointer to new field instead of old ld_ok
10435 field value. Check for IBM long double here.
10436 (do_test): Update calls to test_in_one_mode.
10437
58206c68
SP
104382013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10439
10440 [BZ #12515]
10441 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
10442 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
10443
2d6f4c5b 104442013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
10445
10446 [BZ #15605]
10447 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
10448 generated by the compiler on loop optimizations.
10449 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
10450 general definitions.
10451
94f2c076
JM
104522013-06-12 Joseph Myers <joseph@codesourcery.com>
10453
10454 * math/bug-nextafter.c: Include <math-tests.h>.
10455 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10456 the relevant type.
10457 * math/bug-nexttoward.c: Include <math-tests.h>.
10458 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10459 the relevant type.
10460 * math/test-misc.c: Include <math-tests.h>.
10461 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10462 the relevant type.
10463
e0e50a0a
AJ
104642013-06-12 Andreas Jaeger <aj@suse.de>
10465
10466 * po/ia.po: Update Interlingua translation from translation
10467 project.
10468
25061094
SP
104692013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10470
10471 * include/fenv.h: Include stdbool.h.
10472 (struct rm_ctx): New structure.
10473 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
10474 Define macro.
10475 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
10476 (SET_RESTORE_ROUNDF): Likewise.
10477 (SET_RESTORE_ROUNDL): Likewise.
10478 (SET_RESTORE_ROUND_NOEX): Likewise.
10479 (SET_RESTORE_ROUND_NOEXF): Likewise.
10480 (SET_RESTORE_ROUND_NOEXL): Likewise.
10481 (SET_RESTORE_ROUND_53BIT): Likewise.
10482 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
10483 (libc_feresetround_noexf_ctx): Likewise.
10484 (libc_feresetround_noexl_ctx): Likewise.
10485 (libc_feholdsetround_53bit_ctx): Likewise.
10486 (libc_feresetround_53bit_ctx): Likewise.
10487 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
10488 (libc_feholdexcept_setround_sse_ctx): New function.
10489 (libc_fesetenv_sse_ctx): Likewise.
10490 (libc_feupdateenv_sse_ctx): Likewise.
10491 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
10492 (libc_feholdexcept_setround_387_ctx): Likewise.
10493 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
10494 (libc_feholdsetround_387_prec_ctx): Likewise.
10495 (libc_feholdsetround_387_ctx): Likewise.
10496 (libc_feholdsetround_387_53bit_ctx): Likewise.
10497 (libc_feholdsetround_sse_ctx): Likewise.
10498 (libc_feresetround_sse_ctx): Likewise.
10499 (libc_feresetround_387_ctx): Likewise.
10500 (libc_feupdateenv_387_ctx): Likewise.
10501 (libc_feholdexcept_setroundf_ctx): Define macro.
10502 (libc_fesetenvf_ctx): Likewise.
10503 (libc_feupdateenvf_ctx): Likewise.
10504 (libc_feholdsetroundf_ctx): Likewise.
10505 (libc_feresetroundf_ctx): Likewise.
10506 (libc_feholdexcept_setround_ctx): Likewise.
10507 (libc_fesetenv_ctx): Likewise.
10508 (libc_feupdateenv_ctx): Likewise.
10509 (libc_feholdsetround_ctx): Likewise.
10510 (libc_feresetround_ctx): Likewise.
10511 (libc_feholdexcept_setroundl_ctx): Likewise.
10512 (libc_feupdateenvl_ctx): Likewise.
10513 (libc_feholdsetroundl_ctx): Likewise.
10514 (libc_feresetroundl_ctx): Likewise.
10515 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
10516 (libc_feresetround_53bit_ctx): Likewise.
10517
59b30555
SP
105182013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10519
10520 * locale/iso-639.def: Convert to UTF-8.
10521
f1d73d30
JM
105222013-06-11 Joseph Myers <joseph@codesourcery.com>
10523
10524 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
10525 (EXCEPTION_TESTS_double): Likewise.
10526 (EXCEPTION_TESTS_long_double): Likewise.
10527 (EXCEPTION_TESTS): Likewise.
10528 * math/libm-test.inc (test_exceptions): Only test exceptions if
10529 EXCEPTION_TESTS (FLOAT).
10530
94aca5e7
SP
105312013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10532
10533 * benchtests/Makefile (string-bench): Add strcpy_chk and
10534 stpcpy_chk.
10535 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
10536 * benchtests/bench-stpcpy_chk.c: New file.
10537 * benchtests/bench-strcpy_chk-ifunc.c: New file.
10538 * benchtests/bench-strcpy_chk.c: New file.
10539 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
10540 code.
10541 (do_test): Likewise.
10542
fac0c5f2
RA
105432013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10544
10545 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
10546 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
10547 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
10548 with tabs where appropriate.
10549 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
10550 dl-procinfo.h.
10551 [PPC_PLATFORM_PPC440]: Likewise.
10552 [PPC_PLATFORM_PPC464]: Likewise.
10553 [PPC_PLATFORM_PPC476]: Likewise.
10554 (_dl_string_platform): Add support for detecting ppc405, ppc440,
10555 ppc464, and ppc476 platform strings merging from ports/
10556 dl-procinfo.h.
10557
f22bc486
AS
105582013-06-11 Andreas Schwab <schwab@suse.de>
10559
10560 [BZ #14991]
10561 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
10562 (from_ucs4_idx): Regenerate.
10563 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
10564 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
10565 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
10566 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
10567 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
10568 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
10569 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
10570 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
10571 from FROM_LOOP and TO_LOOP specific macros.
10572 (BODY): Handle combining characters.
10573 * iconvdata/BIG5HKSCS.irreversible: Update.
10574 * iconvdata/BIG5HKSCS.precomposed: New file.
10575 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
10576 characters.
10577 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
10578
c1f75dc3
SP
105792013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10580
4eacded2
SP
10581 * include/sys/time.h: Fix indentation and add copyright header.
10582
fec799f8
SP
10583 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
10584 (do_test): Likewise.
10585 * string/test-memchr.c (do_one_test): Likewise.
10586 (do_test): Likewise.
10587 * string/test-memcmp.c (do_one_test): Likewise.
10588 (do_test): Likewise.
10589 * string/test-memcpy.c (do_one_test): Likewise.
10590 (do_test): Likewise.
10591 * string/test-memmem.c (do_one_test): Likewise.
10592 (do_test): Likewise.
10593 (do_random_tests): Likewise.
10594 * string/test-memmove.c (do_one_test): Likewise.
10595 (do_test): Likewise.
10596 * string/test-memset.c (do_one_test): Likewise.
10597 (do_test): Likewise.
10598 * string/test-rawmemchr.c (do_one_test): Likewise.
10599 (do_test): Likewise.
10600 * string/test-strcasecmp.c (do_one_test): Likewise.
10601 (do_test): Likewise.
10602 * string/test-strcasestr.c (do_one_test): Likewise.
10603 (do_test): Likewise.
10604 * string/test-strcat.c (do_one_test): Likewise.
10605 (do_test): Likewise.
10606 * string/test-strchr.c (do_one_test): Likewise.
10607 (do_test): Likewise.
10608 * string/test-strcmp.c (do_one_test): Likewise.
10609 (do_test): Likewise.
10610 * string/test-strcpy.c (do_one_test): Likewise.
10611 (do_test): Likewise.
10612 * string/test-string.h: Likewise.
10613 (test_init): Likewise.
10614 * string/test-strlen.c (do_one_test): Likewise.
10615 (do_test): Likewise.
10616 * string/test-strncasecmp.c (do_one_test): Likewise.
10617 (do_test): Likewise.
10618 * string/test-strncat.c (do_one_test): Likewise.
10619 (do_test): Likewise.
10620 * string/test-strncmp.c (do_one_test): Likewise.
10621 (do_test_limit): Likewise.
10622 (do_test): Likewise.
10623 * string/test-strncpy.c (do_one_test): Likewise.
10624 (do_test): Likewise.
10625 * string/test-strnlen.c (do_one_test): Likewise.
10626 (do_test): Likewise.
10627 * string/test-strpbrk.c (do_one_test): Likewise.
10628 (do_test): Likewise.
10629 * string/test-strrchr.c (do_one_test): Likewise.
10630 (do_test): Likewise.
10631 * string/test-strspn.c (do_one_test): Likewise.
10632 (do_test): Likewise.
10633 * string/test-strstr.c (do_one_test): Likewise.
10634 (do_test): Likewise.
10635
97020474
SP
10636 * benchtests/Makefile (string-bench): Add string benchmarks.
10637 * benchtests/bench-bcopy-ifunc.c: New file.
10638 * benchtests/bench-bcopy.c: New file.
10639 * benchtests/bench-bzero-ifunc.c: New file.
10640 * benchtests/bench-bzero.c: New file.
10641 * benchtests/bench-memccpy-ifunc.c: New file.
10642 * benchtests/bench-memccpy.c: New file.
10643 * benchtests/bench-memchr-ifunc.c: New file.
10644 * benchtests/bench-memchr.c: New file.
10645 * benchtests/bench-memcmp-ifunc.c: New file.
10646 * benchtests/bench-memcmp.c: New file.
10647 * benchtests/bench-memmem-ifunc.c: New file.
10648 * benchtests/bench-memmem.c: New file.
10649 * benchtests/bench-memmove-ifunc.c: New file.
10650 * benchtests/bench-memmove.c: New file.
10651 * benchtests/bench-mempcpy-ifunc.c: New file.
10652 * benchtests/bench-mempcpy.c: New file.
10653 * benchtests/bench-memset-ifunc.c: New file.
10654 * benchtests/bench-memset.c: New file.
10655 * benchtests/bench-rawmemchr-ifunc.c: New file.
10656 * benchtests/bench-rawmemchr.c: New file.
10657 * benchtests/bench-stpcpy-ifunc.c: New file.
10658 * benchtests/bench-stpcpy.c: New file.
10659 * benchtests/bench-stpncpy-ifunc.c: New file.
10660 * benchtests/bench-stpncpy.c: New file.
10661 * benchtests/bench-strcasecmp-ifunc.c: New file.
10662 * benchtests/bench-strcasecmp.c: New file.
10663 * benchtests/bench-strcasestr-ifunc.c: New file.
10664 * benchtests/bench-strcasestr.c: New file.
10665 * benchtests/bench-strcat-ifunc.c: New file.
10666 * benchtests/bench-strcat.c: New file.
10667 * benchtests/bench-strchr-ifunc.c: New file.
10668 * benchtests/bench-strchr.c: New file.
10669 * benchtests/bench-strchrnul-ifunc.c: New file.
10670 * benchtests/bench-strchrnul.c: New file.
10671 * benchtests/bench-strcmp-ifunc.c: New file.
10672 * benchtests/bench-strcmp.c: New file.
10673 * benchtests/bench-strcpy-ifunc.c: New file.
10674 * benchtests/bench-strcpy.c: New file.
10675 * benchtests/bench-strcspn-ifunc.c: New file.
10676 * benchtests/bench-strcspn.c: New file.
10677 * benchtests/bench-strlen-ifunc.c: New file.
10678 * benchtests/bench-strlen.c: New file.
10679 * benchtests/bench-strncasecmp-ifunc.c: New file.
10680 * benchtests/bench-strncasecmp.c: New file.
10681 * benchtests/bench-strncat-ifunc.c: New file.
10682 * benchtests/bench-strncat.c: New file.
10683 * benchtests/bench-strncmp-ifunc.c: New file.
10684 * benchtests/bench-strncmp.c: New file.
10685 * benchtests/bench-strncpy-ifunc.c: New file.
10686 * benchtests/bench-strncpy.c: New file.
10687 * benchtests/bench-strnlen-ifunc.c: New file.
10688 * benchtests/bench-strnlen.c: New file.
10689 * benchtests/bench-strpbrk-ifunc.c: New file.
10690 * benchtests/bench-strpbrk.c: New file.
10691 * benchtests/bench-strrchr-ifunc.c: New file.
10692 * benchtests/bench-strrchr.c: New file.
10693 * benchtests/bench-strspn-ifunc.c: New file.
10694 * benchtests/bench-strspn.c: New file.
10695 * benchtests/bench-strstr-ifunc.c: New file.
10696 * benchtests/bench-strstr.c: New file.
10697
c1f75dc3
SP
10698 * benchtests/Makefile: Disable parallel execution of targets.
10699 (string-bench): Add memcpy.
10700 (benchset): New variable to store a list of benchmark sets.
10701 (bench-func): Renamed from bench.
10702 (bench-set): New target.
10703 (bench): Depend on bench-func and bench-set.
10704 * benchtests/README: Add section on benchmark sets.
10705 * benchtests/bench-memcpy-ifunc.c: New file.
10706 * benchtests/bench-memcpy.c: New file.
10707 * benchtests/bench-string.h: New file.
10708
50fd745b
AS
107092013-06-11 Andreas Schwab <schwab@suse.de>
10710
10711 [BZ #15577]
10712 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
10713 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
10714 values in the triple.
10715 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
10716 terminator in the group key.
10717
3ee7e9fe
AJ
107182013-06-11 Andreas Jaeger <aj@suse.de>
10719
10720 * po/zh_TW.po: Update Chinese (traditional) translation from
10721 translation project.
10722
89fb6835
SP
107232013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10724
10725 * include/time.h (__clock_gettime): Add libc_hidden_proto.
10726 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
10727 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
10728 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10729 (clock_getcpuclockid): Likewise.
10730 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
10731 Add weak_alias and libc_hidden_def.
10732 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
10733 * rt/clock_gettime.c (clock_gettime): Rename to
10734 __clock_gettime. Add weak_alias and libc_hidden_def.
10735 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
10736 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
10737 __clock_nanosleep. Add weak_alias and libc_hidden_def.
10738 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
10739 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
10740 Likewise.
10741 * rt/clock_settime.c (clock_settime): Rename to
10742 __clock_settime. Add weak_alias and libc_hidden_def.
10743 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
10744
0efa6f8b
JM
107452013-06-10 Joseph Myers <joseph@codesourcery.com>
10746
b8c61b4b
JM
10747 * mach/err_boot.sub: Remove trailing whitespace.
10748 * mach/err_ipc.sub: Likewise.
10749 * mach/err_mach.sub: Likewise.
10750
0efa6f8b
JM
10751 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
10752 (ROUNDING_TESTS_double): Likewise.
10753 (ROUNDING_TESTS_long_double): Likewise.
10754 (ROUNDING_TESTS): Likewise.
10755 * math/libm-test.inc: Include <math-tests.h>.
10756 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
10757 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10758 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10759 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10760
50b818bf
SP
107612013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10762
10763 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
10764 of assigning.
10765
60d2f8f3
JM
107662013-06-08 Joseph Myers <joseph@codesourcery.com>
10767
4902d2c3
JM
10768 * sysdeps/gnu/errlist.awk: Do not generate space at end of
10769 otherwise empty TRANS lines.
10770 * sysdeps/gnu/errlist.c: Regenerated.
10771
60d2f8f3
JM
10772 * catgets/gencat.c (error_print): Use (void) in function
10773 definition.
10774 * crypt/crypt_util.c (__init_des): Likewise.
10775 * crypt/speeds.c (Stop): Likewise.
10776 (main): Likewise.
10777 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
10778 * inet/ruserpass.c (token): Likewise.
10779 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
10780 * intl/localealias.c (extend_alias_table): Likewise.
10781 * intl/plural-exp.c (init_germanic_plural): Likewise.
10782 * libio/fcloseall.c (__fcloseall): Likewise.
10783 * libio/genops.c (_IO_flush_all): Likewise.
10784 (_IO_flush_all_linebuffered): Likewise.
10785 (_IO_cleanup): Likewise.
10786 (_IO_iter_begin): Likewise.
10787 (_IO_iter_end): Likewise.
10788 (_IO_list_lock): Likewise.
10789 (_IO_list_unlock): Likewise.
10790 (_IO_list_resetlock): Likewise.
10791 * libio/getchar.c (getchar): Likewise.
10792 * libio/getchar_u.c (getchar_unlocked): Likewise.
10793 * libio/getwchar.c (getwchar): Likewise.
10794 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
10795 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
10796 * login/getpt.c (__getpt): Likewise.
10797 * login/tst-utmp.c (main): Likewise.
10798 * malloc/hooks.c (__malloc_check_init): Likewise.
10799 * malloc/malloc.c (__malloc_stats): Likewise.
10800 * malloc/mtrace.c (tr_break): Likewise.
10801 (mtrace): Likewise.
10802 (muntrace): Likewise.
10803 * misc/fstab.c (endfsent): Likewise.
10804 * misc/getclktck.c (__getclktck): Likewise.
10805 * misc/getdtsz.c (__getdtablesize): Likewise.
10806 * misc/gethostid.c (gethostid): Likewise.
10807 * misc/getpagesize.c (__getpagesize): Likewise.
10808 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
10809 (__get_nprocs): Likewise.
10810 (__get_phys_pages): Likewise.
10811 (__get_avphys_pages): Likewise.
10812 * misc/getttyent.c (getttyent): Likewise.
10813 (setttyent): Likewise.
10814 (endttyent): Likewise.
10815 * misc/getusershell.c (getusershell): Likewise.
10816 (endusershell): Likewise.
10817 (setusershell): Likewise.
10818 (initshells): Likewise.
10819 * misc/hsearch.c (__hdestroy): Likewise.
10820 * misc/sync.c (sync): Likewise.
10821 * misc/syslog.c (closelog_internal): Likewise.
10822 (closelog): Likewise.
10823 * misc/ttyslot.c (ttyslot): Likewise.
10824 * misc/vhangup.c (vhangup): Likewise.
10825 * posix/fork.c (__fork): Likewise.
10826 * posix/getegid.c (__getegid): Likewise.
10827 * posix/geteuid.c (__geteuid): Likewise.
10828 * posix/getgid.c (__getgid): Likewise.
10829 * posix/getpid.c (__getpid): Likewise.
10830 * posix/getppid.c (__getppid): Likewise.
10831 * posix/getuid.c (__getuid): Likewise.
10832 * posix/pause.c (pause): Likewise.
10833 * posix/setpgrp.c (setpgrp): Likewise.
10834 * posix/setsid.c (__setsid): Likewise.
10835 * posix/test-vfork.c (noop): Likewise.
10836 * resolv/gethnamaddr.c (_endhtent): Likewise.
10837 (_gethtent): Likewise.
10838 (ht_endhostent): Likewise.
10839 (gethostent): Likewise.
10840 (dns_service): Likewise.
10841 * stdlib/drand48.c (drand48): Likewise.
10842 * stdlib/lrand48.c (lrand48): Likewise.
10843 * stdlib/mrand48.c (mrand48): Likewise.
10844 * stdlib/rand.c (rand): Likewise.
10845 * stdlib/random.c (__random): Likewise.
10846 * stdlib/setenv.c (clearenv): Likewise.
10847 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
10848 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
10849 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
10850 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
10851 (__get_nprocs): Likewise.
10852 (__get_phys_pages): Likewise.
10853 (__get_avphys_pages): Likewise.
10854 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
10855 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
10856 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
10857 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
10858 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
10859 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
10860 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
10861 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
10862 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
10863 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
10864 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
10865 * sysdeps/mach/hurd/sync.c (sync): Likewise.
10866 * sysdeps/posix/clock.c (clock): Likewise.
10867 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
10868 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
10869 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
10870 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
10871 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
10872 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
10873 (__get_nprocs_conf): Likewise.
10874 (__get_phys_pages): Likewise.
10875 (__get_avphys_pages): Likewise.
10876 * time/clock.c (clock): Likewise.
10877 * time/tzset.c (__tzname_max): Likewise.
10878
2e09a79a
JM
108792013-06-07 Joseph Myers <joseph@codesourcery.com>
10880
10881 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
10882 (__bswap_32): Do not use "register".
10883 * crypt/crypt.c (_ufc_doit_r): Likewise.
10884 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10885 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10886 * gmon/gmon.c (__monstartup): Likewise.
10887 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
10888 * hurd/hurdmalloc.c (more_memory): Likewise.
10889 (malloc): Likewise.
10890 (free): Likewise.
10891 (realloc): Likewise.
10892 (malloc_fork_prepare): Likewise.
10893 (malloc_fork_parent): Likewise.
10894 (malloc_fork_child): Likewise.
10895 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
10896 (_svcauth_des): Likewise.
10897 * inet/inet_lnaof.c (inet_lnaof): Likewise.
10898 * inet/inet_net.c (inet_network): Likewise.
10899 * inet/inet_netof.c (inet_netof): Likewise.
10900 * inet/rcmd.c (__validuser2_sa): Likewise.
10901 * io/fts.c (fts_open): Likewise.
10902 (fts_load): Likewise.
10903 (fts_close): Likewise.
10904 (fts_read): Likewise.
10905 (fts_children): Likewise.
10906 (fts_build): Likewise.
10907 (fts_stat): Likewise.
10908 (fts_sort): Likewise.
10909 (fts_alloc): Likewise.
10910 (fts_lfree): Likewise.
10911 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
10912 (_IO_file_xsgetn): Likewise.
10913 (_IO_file_xsgetn_mmap): Likewise.
10914 * libio/iofopncook.c (_IO_cookie_read): Likewise.
10915 (_IO_cookie_write): Likewise.
10916 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
10917 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
10918 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
10919 * malloc/obstack.c (_obstack_begin): Likewise.
10920 (_obstack_begin_1): Likewise.
10921 (_obstack_newchunk): Likewise.
10922 (_obstack_allocated_p): Likewise.
10923 (obstack_free): Likewise.
10924 (_obstack_memory_used): Likewise.
10925 * misc/getttyent.c (getttynam): Likewise.
10926 (getttyent): Likewise.
10927 (skip): Likewise.
10928 (value): Likewise.
10929 * misc/getusershell.c (initshells): Likewise.
10930 * misc/syslog.c (__vsyslog_chk): Likewise.
10931 * misc/ttyslot.c (ttyslot): Likewise.
10932 * nis/nis_hash.c (__nis_hash): Likewise.
10933 * posix/fnmatch_loop.c (FCT): Likewise.
10934 * posix/getconf.c (print_all): Likewise.
10935 (main): Likewise.
10936 * posix/getopt.c (exchange): Likewise.
10937 * posix/glob.c (globfree): Likewise.
10938 (prefix_array): Likewise.
10939 (__glob_pattern_type): Likewise.
10940 * resolv/arpa/nameser.h (NS_GET16): Likewise.
10941 (NS_GET32): Likewise.
10942 (NS_PUT16): Likewise.
10943 (NS_PUT32): Likewise.
10944 * resolv/gethnamaddr.c (getanswer): Likewise.
10945 (gethostbyname2): Likewise.
10946 (gethostbyaddr): Likewise.
10947 (_gethtent): Likewise.
10948 (_gethtbyname2): Likewise.
10949 (_gethtbyaddr): Likewise.
10950 * resolv/ns_print.c (dst_s_get_int16): Likewise.
10951 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
10952 * resolv/res_init.c (__res_vinit): Likewise.
10953 (net_mask): Likewise.
10954 * resolv/res_mkquery.c (outchar): Likewise.
10955 (PRINT): Likewise.
10956 * stdio-common/printf_fp.c (outchar): Likewise.
10957 (PRINT): Likewise.
10958 * stdio-common/printf_fphex.c (outchar): Likewise.
10959 (PRINT): Likewise.
10960 * stdio-common/printf_size.c (outchar): Likewise.
10961 (PRINT): Likewise.
10962 * stdio-common/test_rdwr.c (main): Likewise.
10963 * stdio-common/tfformat.c (matches): Likewise.
10964 * stdio-common/vfprintf.c (outchar): Likewise.
10965 (printf_unknown): Likewise.
10966 (buffered_vfprintf): Likewise.
10967 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10968 * stdio-common/xbug.c (AppendToBuffer): Likewise.
10969 (ReadFile): Likewise.
10970 * stdlib/qsort.c (SWAP): Likewise.
10971 (_quicksort): Likewise.
10972 * stdlib/setenv.c (__add_to_environ): Likewise.
10973 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10974 * stdlib/strtol_l.c (__strtol_l): Likewise.
10975 * stdlib/tst-strtod.c (main): Likewise.
10976 * stdlib/tst-strtol.c (main): Likewise.
10977 * stdlib/tst-strtoll.c (main): Likewise.
10978 * string/bits/string2.h (__strcmp_cc): Likewise.
10979 (__strcmp_cg): Likewise.
10980 (__strcspn_c1): Likewise.
10981 (__strcspn_c2): Likewise.
10982 (__strcspn_c3): Likewise.
10983 (__strspn_c1): Likewise.
10984 (__strspn_c2): Likewise.
10985 (__strspn_c3): Likewise.
10986 (__strsep_1c): Likewise.
10987 (__strsep_2c): Likewise.
10988 (__strsep_3c): Likewise.
10989 * string/memccpy.c (__memccpy): Likewise.
10990 * string/stpcpy.c (__stpcpy): Likewise.
10991 * string/strcmp.c (strcmp): Likewise.
10992 * string/strrchr.c (strrchr): Likewise.
10993 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
10994 Likewise.
10995 * sysdeps/mach/hurd/getcwd.c
10996 (_hurd_canonicalize_directory_name_internal): Likewise.
10997 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
10998 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
10999 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11000 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11001 Likewise, in both definitions.
11002 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11003 definitions.
11004 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11005 64] (__bswap_64): Likewise.
11006 * time/test_time.c (main): Likewise.
11007 * time/tzfile.c (__tzfile_read): Likewise.
11008 (__tzfile_compute): Likewise.
11009 * time/tzset.c (__tzset_parse_tz): Likewise.
11010 (tzset_internal): Likewise.
11011 (compute_change): Likewise.
11012 * wcsmbs/wcscat.c (__wcscat): Likewise.
11013 * wcsmbs/wcschr.c (wcschr): Likewise.
11014 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11015 * wcsmbs/wcscspn.c (wcscspn): Likewise.
11016 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11017 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11018 * wcsmbs/wcsspn.c (wcsspn): Likewise.
11019 * wcsmbs/wcsstr.c (wcsstr): Likewise.
11020 * wcsmbs/wmemchr.c (wmemchr): Likewise.
11021 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11022 * wcsmbs/wmemset.c (wmemset): Likewise.
11023
9e54314b
JM
110242013-06-06 Joseph Myers <joseph@codesourcery.com>
11025
11026 * scripts/config.guess: Update to version 2013-05-16.
11027 * scripts/config.sub: Update to version 2013-04-24.
11028 * scripts/install-sh: Update to version 2011-11-20.07.
11029 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11030 * scripts/move-if-change: Update to version 2012-01-06 07:23.
11031
350635a5
OB
110322013-06-06 Ondřej Bílka <neleai@seznam.cz>
11033
11034 * debug/fgetws_u_chk.c: Fix leading whitespaces.
11035 * elf/sln.c: Likewise.
11036 * hurd/hurd/ioctl.h: Likewise.
11037 * hurd/hurdmalloc.c: Likewise.
11038 * hurd/xattr.c: Likewise.
11039 * include/shlib-compat.h: Likewise.
11040 * inet/ruserpass.c: Likewise.
11041 * libio/iofgets_u.c: Likewise.
11042 * libio/iofgetws_u.c: Likewise.
11043 * locale/programs/ld-identification.c: Likewise.
11044 * locale/programs/ld-time.c: Likewise.
11045 * mach/msg-destroy.c: Likewise.
11046 * nss/nss_files/files-netgrp.c: Likewise.
11047 * resolv/res_data.c: Likewise.
11048 * soft-fp/op-1.h: Likewise.
11049 * soft-fp/op-2.h: Likewise.
11050 * soft-fp/op-4.h: Likewise.
11051 * soft-fp/op-common.h: Likewise.
11052 * stdio-common/printf_fphex.c: Likewise.
11053 * stdlib/strtod_l.c: Likewise.
11054 * sunrpc/rpc/clnt.h: Likewise.
11055 * sysdeps/generic/framestate.c: Likewise.
11056 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11057 * sysdeps/i386/bsd-setjmp.S: Likewise.
11058 * sysdeps/i386/__longjmp.S: Likewise.
11059 * sysdeps/i386/setjmp.S: Likewise.
11060 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11061 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11062 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11063 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11064 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11065 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11066 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11067 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11068 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11069 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11070 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11071 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11072 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11073 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11074 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11075 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11076 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11077 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11078 * sysdeps/ieee754/support.c: Likewise.
11079 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11080 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11081 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11082 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11083 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11084 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11085 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11086 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11087 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11088 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11089 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11090 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11091 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11092 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11093 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11094 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11095 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11097
44a988af
OB
110982013-06-05 Ondřej Bílka <neleai@seznam.cz>
11099
25506f09 11100 * posix/transbug.c: Remove executable mode.
44a988af 11101
9c84384c
JM
111022013-06-05 Joseph Myers <joseph@codesourcery.com>
11103
11104 * crypt/speeds.c: Remove trailing whitespace.
11105 * dlfcn/default.c: Likewise.
11106 * elf/ifuncdep2.c: Likewise.
11107 * elf/ifuncmain1.c: Likewise.
11108 * elf/ifuncmain1vis.c: Likewise.
11109 * elf/testobj.h: Likewise.
11110 * elf/tst-stackguard1.c: Likewise.
11111 * gmon/sys/gmon.h: Likewise.
11112 * hurd/hurdmsg.c: Likewise.
11113 * hurd/new-fd.c: Likewise.
11114 * hurd/ports-get.c: Likewise.
11115 * iconvdata/ibm1008_420.c: Likewise.
11116 * inet/tst-getni1.c: Likewise.
11117 * inet/tst-getni2.c: Likewise.
11118 * libio/ioungetc.c: Likewise.
11119 * libio/wfiledoalloc.c: Likewise.
11120 * manual/libm-err-tab.pl: Likewise.
11121 * math/w_dremf.c: Likewise.
11122 * misc/ftruncate.c: Likewise.
11123 * posix/bug-glob2.c: Likewise.
11124 * posix/tst-pcre.c: Likewise.
11125 * posix/wait4.c: Likewise.
11126 * resolv/README: Likewise.
11127 * resolv/res_debug.h: Likewise.
11128 * resolv/tst-inet_ntop.c: Likewise.
11129 * setjmp/bug269-setjmp.c: Likewise.
11130 * soft-fp/extended.h: Likewise.
11131 * soft-fp/op-1.h: Likewise.
11132 * soft-fp/op-2.h: Likewise.
11133 * soft-fp/op-4.h: Likewise.
11134 * soft-fp/op-8.h: Likewise.
11135 * soft-fp/testit.c: Likewise.
11136 * stdio-common/bug16.c: Likewise.
11137 * stdlib/random.c: Likewise.
11138 * sunrpc/rpcsvc/rquota.x: Likewise.
11139 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11140 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11141 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11142 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11143 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11144 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11145 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11146 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11147 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11148 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11149 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11150 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11151 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11152 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11153 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11154 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11155 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11156 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11157 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11158 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11159 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11160 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11161 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11162 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11163 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11164 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11165 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11166 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11167 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11168 * sysdeps/ieee754/s_lib_version.c: Likewise.
11169 * sysdeps/mach/hurd/check_fds.c: Likewise.
11170 * sysdeps/mach/hurd/getsockname.c: Likewise.
11171 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11172 * sysdeps/mach/hurd/recvfrom.c: Likewise.
11173 * sysdeps/powerpc/bits/link.h: Likewise.
11174 * sysdeps/powerpc/dl-procinfo.c: Likewise.
11175 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11176 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11177 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11178 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11179 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11180 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11181 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11182 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11183 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11184 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11185 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11186 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11187 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11188 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11189 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11190 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11191 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11192 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11193 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11194 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11195 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11196 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11197 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11198 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11199 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11200 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11201 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11202 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11203 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11204 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11205 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11206 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11207 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11208 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11209 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11210 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11211 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11212 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11213 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11214 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11215 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11216 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11217 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11218 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11219 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11220 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11221 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11222 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11223 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11224 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11225 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11226 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11227 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11228 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11229 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11230 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11231 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11232 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11233 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11234 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11235 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11236 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11237 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11238 * sysdeps/powerpc/sysdep.h: Likewise.
11239 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11240 * sysdeps/s390/s390-64/sub_n.S: Likewise.
11241 * sysdeps/sh/dl-trampoline.S: Likewise.
11242 * sysdeps/sh/memset.S: Likewise.
11243 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11244 * sysdeps/sh/strlen.S: Likewise.
11245 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11246 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11247 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11248 * sysdeps/sparc/sparc32/rem.S: Likewise.
11249 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11250 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11251 * sysdeps/sparc/sparc32/strchr.S: Likewise.
11252 * sysdeps/sparc/sparc32/udiv.S: Likewise.
11253 * sysdeps/sparc/sparc32/urem.S: Likewise.
11254 * sysdeps/sparc/sparc64/add_n.S: Likewise.
11255 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11256 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11257 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11258 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11259 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11260 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11261 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
11262 * sysdeps/unix/bsd/times.c: Likewise.
11263 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
11264 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
11265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11268 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11269 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11270 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11271 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
11272 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
11273 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
11274 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11275 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
11276 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11277 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11278 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11279 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11280 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
11281 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
11282 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
11283 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11284 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
11285 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11286 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
11287 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
11288 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11289 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
11290 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11291 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
11292 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
11293 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
11294 * sysdeps/x86_64/strcspn.S: Likewise.
11295
869378a5
RA
112962013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11297
11298 * locale/C-translit.h: Revert #include <stdint.h> because this is a
11299 generated file. Regenerate properly from gen-translit.pl.
11300 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
11301 locale/C-translit.h.
11302
840e2943
AS
113032013-06-05 Andreas Schwab <schwab@suse.de>
11304
11305 [BZ #15100]
11306 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
11307 week as 6 instead of -1.
11308 * time/tst-strptime.c (day_tests): Add test case.
11309
4c60cb0c
SP
113102013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11311
11312 * sysdeps/generic/math_private.h
11313 (libc_feholdexcept_setround_53bit): Replace with
11314 libc_feholdsetround_53bit.
11315 (libc_feupdateenv_53bit): Replace with
11316 libc_feresetround_53bit.
11317 (SET_RESTORE_ROUND_53BIT): Adjust.
11318
d180203e
SP
113192013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11320
96df079a
SP
11321 * string/test-strchrnul.c: Add copyright header.
11322
d180203e
SP
11323 * posix/tst-getaddrinfo4.c: Increase test timeout.
11324
8b0ccb2d
CD
113252013-06-03 Carlos O'Donell <carlos@redhat.com>
11326
11327 [BZ #15536]
11328 * math/libm-test.inc (MAX_EXP): Remove
11329 (MIN_EXP): Define.
11330 (ulp): Use MIN_EXP - MANT_DIG.
11331 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
11332
3b3c4d40
CD
113332013-05-31 Carlos O'Donell <carlos@redhat.com>
11334
11335 * po/be.po: Revert last change.
11336 * po/zh_CN.po: Likewise.
11337 * po/header.pot: Likewise.
11338
fab7ce3f
JM
113392013-05-31 Joseph Myers <joseph@codesourcery.com>
11340
11341 * Makefile ($(common-objpfx)linkobj/libc.so): Define
11342 link-libc-deps to empty as target-specific variable.
11343 * Makerules (link-libc-args): New variable.
11344 (libc-for-link): Likewise.
11345 (link-libc-deps): Likewise.
11346 (lib%.so): Depend on $(link-libc-deps). Link with
11347 $(link-libc-args).
11348 (build-module): Link with $(link-libc-args).
11349 (build-module-asneeded): Likewise.
11350 (build-module-helper-objlist): Filter out $(link-libc-deps) from
11351 list of objects.
11352 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
11353 target-specific variable.
11354 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
11355 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
11356 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
11357 libc.
11358 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
11359 libc and ld.so.
11360 ($(objpfx)libpcprofile.so): Likewise.
11361 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
11362 libc_nonshared.a.
11363 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
11364 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
11365 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
11366 $(link-libc-deps).
11367 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
11368 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
11369 * login/Makefile ($(objpfx)libutil.so): Likewise.
11370 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
11371 * math/Makefile ($(objpfx)libm.so): Likewise.
11372 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
11373 $(objpfx)libnsl.so): Define libc-for-link as target-specific
11374 variable instead of depending directly on libc.
11375 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
11376 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
11377 $(link-libc-deps).
11378 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
11379 libc.
11380 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
11381 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
11382 ($(objpfx)libanl.so): Likewise.
11383 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
11384 ld.so.
11385 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
11386 $(link-libc-deps).
11387 * sysdeps/i386/fpu/Makefile: Remove file.
11388 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
11389 ($(objpfx)libm.so): Remove dependency on ld.so.
11390
eca5920c
PF
113912013-05-30 Patsy Franklin <pfrankli@redhat.com>
11392
11393 [BZ # 15553]
11394 * nis/yp_xdr.c (XDRMAXNAME): Define.
11395 (XDRMAXRECORD): Define.
11396 (xdr_domainname): Use XDRMAXNAME.
11397 (xdr_mapname): Likewise.
11398 (xdr_peername): Likewise.
11399 (xdr_keydat): Use XDRMAXRECORD.
11400 (xdr_valdat): Likewise.
11401
114022013-05-30 Jeff Law <law@redhat.com>
96945714
JL
11403
11404 [BZ #14256]
11405 * manual/errno.texi (ESTALE): Update to account for more than
11406 just NFS file systems.
11407 * sysdeps/gnu/errlist.c: Regenerated.
11408
b9375348
SP
114092013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11410
11411 [BZ #15465]
11412 * elf/Makefile (tests): Add tst-null-argv.
11413 (modules-names): Add tst-null-argv-lib.
11414 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
11415 (tst-null-argv-ENV): Set environment for tst-null-argv.
11416 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
11417 (RTLD_PROGNAME): New macro.
11418 * elf/tst-null-argv.c: New test case.
11419 * elf/tst-null-argv-lib.c: Library for test case.
11420 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
11421 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
11422 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
11423 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
11424 * elf/dl-init.c (call_init): Likewise.
11425 (_dl_init): Likewise.
11426 * elf/dl-load.c (print_search_path): Likewise.
11427 (_dl_map_object): Likewise.
11428 * elf/dl-lookup.c (do_lookup_x): Likewise.
11429 (add_dependency): Likewise.
11430 (_dl_lookup_symbol_x): Likewise.
11431 (_dl_debug_bindings): Likewise.
11432 * elf/dl-open.c (_dl_show_scope): Likewise.
11433 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11434 * elf/dl-version.c (match_symbol): Likewise.
11435 (_dl_check_map_versions): Likewise.
11436 * elf/rtld.c (dl_main): Likewise.
11437 (print_unresolved): Use RTLD_PROGNAME.
11438 (print_missing_version): Likewise.
11439 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11440 (elf_machine_rela): Likewise.
11441 * sysdeps/powerpc/powerpc32/dl-machine.c
11442 (__process_machine_rela): Likewise.
11443 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11444 Likewise.
11445 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11446 Likewise.
11447 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11448 Likewise.
11449 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11450 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
11451 Likewise.
11452 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
11453 Likewise.
11454 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11455
8a9f20c8
CD
114562013-05-28 Carlos O'Donell <carlos@redhat.com>
11457
11458 * po/be.po: Add descriptive title.
11459 * po/zh_CN.po: Likewise.
11460 * po/header.pot: Likewise.
11461
0e60d68e
MF
114622013-05-28 Mike Frysinger <vapier@gentoo.org>
11463
11464 * locale/programs/locarchive.c (create_archive): Inlucde fname in
11465 error message.
11466 (enlarge_archive): Likewise.
11467
56b672e9
BN
114682013-05-28 Ben North <ben@redfrontdoor.org>
11469
11470 * manual/arith.texi (frexp): It is the magnitude of the return
11471 value which lies in [0.5, 1), not the return value itself.
11472
5e056687
AZ
114732013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11474
11475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11476
2b66ef5d
TS
114772013-05-26 Thomas Schwinge <thomas@codesourcery.com>
11478
528c2405
TS
11479 * stdio-common/bug26.c (main): Correct fscanf template.
11480
07b4c13d
TS
11481 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
11482 declare _dl_skip_args.
11483
ec9dd97c
TS
11484 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
11485 Don't declare.
11486
2b66ef5d
TS
11487 * manual/platform.texi: Add missing @end deftypefun.
11488
4f8dfe27
JM
114892013-05-24 Joseph Myers <joseph@codesourcery.com>
11490
0323d086
JM
11491 [BZ #15529]
11492 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
11493 bit of mantissa of 2^16382.
11494 * math/libm-test.inc (hypot_test_data): Add more tests.
11495
dd4259b9
JM
11496 * math/libm-test.inc: Add drem and pow10 to list of tested
11497 functions.
11498 (pow10_test): New function.
11499 (drem_test): Likewise.
11500 (drem_test_tonearest): Likewise.
11501 (drem_test_towardzero): Likewise.
11502 (drem_test_downward): Likewise.
11503 (drem_test_upward): Likewise.
11504 (main): Call the new functions.
11505
4f8dfe27
JM
11506 * math/libm-test.inc (finite_test_data): Remove.
11507 (finite_test): Run tests from isfinite_test_data.
11508 (gamma_test_data): Remove.
11509 (gamma_test): Run tests from lgamma_test_data.
11510 * sysdeps/i386/fpu/libm-test-ulps: Update.
11511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11512
d116b7c4
AZ
115132013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11514
11515 * manual/platform.texi: Add PowerPC PPR function set documentation.
11516 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
11517 implementation.
11518
e96e3767
CD
115192013-05-24 Carlos O'Donell <carlos@redhat.com>
11520
11521 * math/libm-test.inc (MAX_EXP): Define.
11522 (ULPDIFF): Define.
11523 (ulp): New function.
11524 (check_float_internal): Use ULPDIFF.
11525 (cpow_test): Disable failing test.
11526 (check_ulp): Test ulp() implemetnation.
11527 (main): Call check_ulp before starting tests.
11528
b679a606
JM
115292013-05-24 Joseph Myers <joseph@codesourcery.com>
11530
e8bdba36
JM
11531 * math/gen-libm-test.pl (generate_testfile): Do not handle
11532 START_DATA and END_DATA.
11533 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
11534 END_DATA.
11535 (acos_tonearest_test_data): Likewise.
11536 (acos_towardzero_test_data): Likewise.
11537 (acos_downward_test_data): Likewise.
11538 (acos_upward_test_data): Likewise.
11539 (acosh_test_data): Likewise.
11540 (asin_test_data): Likewise.
11541 (asin_tonearest_test_data): Likewise.
11542 (asin_towardzero_test_data): Likewise.
11543 (asin_downward_test_data): Likewise.
11544 (asin_upward_test_data): Likewise.
11545 (asinh_test_data): Likewise.
11546 (atan_test_data): Likewise.
11547 (atanh_test_data): Likewise.
11548 (atan2_test_data): Likewise.
11549 (cabs_test_data): Likewise.
11550 (cacos_test_data): Likewise.
11551 (cacosh_test_data): Likewise.
11552 (carg_test_data): Likewise.
11553 (casin_test_data): Likewise.
11554 (casinh_test_data): Likewise.
11555 (catan_test_data): Likewise.
11556 (catanh_test_data): Likewise.
11557 (cbrt_test_data): Likewise.
11558 (ccos_test_data): Likewise.
11559 (ccosh_test_data): Likewise.
11560 (ceil_test_data): Likewise.
11561 (cexp_test_data): Likewise.
11562 (cimag_test_data): Likewise.
11563 (clog_test_data): Likewise.
11564 (clog10_test_data): Likewise.
11565 (conj_test_data): Likewise.
11566 (copysign_test_data): Likewise.
11567 (cos_test_data): Likewise.
11568 (cos_tonearest_test_data): Likewise.
11569 (cos_towardzero_test_data): Likewise.
11570 (cos_downward_test_data): Likewise.
11571 (cos_upward_test_data): Likewise.
11572 (cosh_test_data): Likewise.
11573 (cosh_tonearest_test_data): Likewise.
11574 (cosh_towardzero_test_data): Likewise.
11575 (cosh_downward_test_data): Likewise.
11576 (cosh_upward_test_data): Likewise.
11577 (cpow_test_data): Likewise.
11578 (cproj_test_data): Likewise.
11579 (creal_test_data): Likewise.
11580 (csin_test_data): Likewise.
11581 (csinh_test_data): Likewise.
11582 (csqrt_test_data): Likewise.
11583 (ctan_test_data): Likewise.
11584 (ctan_tonearest_test_data): Likewise.
11585 (ctan_towardzero_test_data): Likewise.
11586 (ctan_downward_test_data): Likewise.
11587 (ctan_upward_test_data): Likewise.
11588 (ctanh_test_data): Likewise.
11589 (ctanh_tonearest_test_data): Likewise.
11590 (ctanh_towardzero_test_data): Likewise.
11591 (ctanh_downward_test_data): Likewise.
11592 (ctanh_upward_test_data): Likewise.
11593 (erf_test_data): Likewise.
11594 (erfc_test_data): Likewise.
11595 (exp_test_data): Likewise.
11596 (exp_tonearest_test_data): Likewise.
11597 (exp_towardzero_test_data): Likewise.
11598 (exp_downward_test_data): Likewise.
11599 (exp_upward_test_data): Likewise.
11600 (exp10_test_data): Likewise.
11601 (exp2_test_data): Likewise.
11602 (expm1_test_data): Likewise.
11603 (fabs_test_data): Likewise.
11604 (fdim_test_data): Likewise.
11605 (finite_test_data): Likewise.
11606 (floor_test_data): Likewise.
11607 (fma_test_data): Likewise.
11608 (fma_towardzero_test_data): Likewise.
11609 (fma_downward_test_data): Likewise.
11610 (fma_upward_test_data): Likewise.
11611 (fmax_test_data): Likewise.
11612 (fmin_test_data): Likewise.
11613 (fmod_test_data): Likewise.
11614 (fpclassify_test_data): Likewise.
11615 (frexp_test_data): Likewise.
11616 (gamma_test_data): Likewise.
11617 (hypot_test_data): Likewise.
11618 (ilogb_test_data): Likewise.
11619 (isfinite_test_data): Likewise.
11620 (isgreater_test_data): Likewise.
11621 (isgreaterequal_test_data): Likewise.
11622 (isinf_test_data): Likewise.
11623 (isless_test_data): Likewise.
11624 (islessequal_test_data): Likewise.
11625 (islessgreater_test_data): Likewise.
11626 (isnan_test_data): Likewise.
11627 (isnormal_test_data): Likewise.
11628 (issignaling_test_data): Likewise.
11629 (isunordered_test_data): Likewise.
11630 (j0_test_data): Likewise.
11631 (j1_test_data): Likewise.
11632 (jn_test_data): Likewise.
11633 (ldexp_test_data): Likewise.
11634 (lgamma_test_data): Likewise.
11635 (lrint_test_data): Likewise.
11636 (lrint_tonearest_test_data): Likewise.
11637 (lrint_towardzero_test_data): Likewise.
11638 (lrint_downward_test_data): Likewise.
11639 (lrint_upward_test_data): Likewise.
11640 (llrint_test_data): Likewise.
11641 (llrint_tonearest_test_data): Likewise.
11642 (llrint_towardzero_test_data): Likewise.
11643 (llrint_downward_test_data): Likewise.
11644 (llrint_upward_test_data): Likewise.
11645 (log_test_data): Likewise.
11646 (log10_test_data): Likewise.
11647 (log1p_test_data): Likewise.
11648 (log2_test_data): Likewise.
11649 (logb_test_data): Likewise.
11650 (logb_downward_test_data): Likewise.
11651 (lround_test_data): Likewise.
11652 (llround_test_data): Likewise.
11653 (modf_test_data): Likewise.
11654 (nearbyint_test_data): Likewise.
11655 (nextafter_test_data): Likewise.
11656 (nexttoward_test_data): Likewise.
11657 (pow_test_data): Likewise.
11658 (pow_tonearest_test_data): Likewise.
11659 (pow_towardzero_test_data): Likewise.
11660 (pow_downward_test_data): Likewise.
11661 (pow_upward_test_data): Likewise.
11662 (remainder_test_data): Likewise.
11663 (remainder_tonearest_test_data): Likewise.
11664 (remainder_towardzero_test_data): Likewise.
11665 (remainder_downward_test_data): Likewise.
11666 (remainder_upward_test_data): Likewise.
11667 (remquo_test_data): Likewise.
11668 (rint_test_data): Likewise.
11669 (rint_tonearest_test_data): Likewise.
11670 (rint_towardzero_test_data): Likewise.
11671 (rint_downward_test_data): Likewise.
11672 (rint_upward_test_data): Likewise.
11673 (round_test_data): Likewise.
11674 (scalb_test_data): Likewise.
11675 (scalbn_test_data): Likewise.
11676 (scalbln_test_data): Likewise.
11677 (signbit_test_data): Likewise.
11678 (sin_test_data): Likewise.
11679 (sin_tonearest_test_data): Likewise.
11680 (sin_towardzero_test_data): Likewise.
11681 (sin_downward_test_data): Likewise.
11682 (sin_upward_test_data): Likewise.
11683 (sincos_test_data): Likewise.
11684 (sinh_test_data): Likewise.
11685 (sinh_tonearest_test_data): Likewise.
11686 (sinh_towardzero_test_data): Likewise.
11687 (sinh_downward_test_data): Likewise.
11688 (sinh_upward_test_data): Likewise.
11689 (sqrt_test_data): Likewise.
11690 (tan_test_data): Likewise.
11691 (tan_tonearest_test_data): Likewise.
11692 (tan_towardzero_test_data): Likewise.
11693 (tan_downward_test_data): Likewise.
11694 (tan_upward_test_data): Likewise.
11695 (tanh_test_data): Likewise.
11696 (tgamma_test_data): Likewise.
11697 (trunc_test_data): Likewise.
11698 (y0_test_data): Likewise.
11699 (y1_test_data): Likewise.
11700 (yn_test_data): Likewise.
11701 (significand_test_data): Likewise.
11702
b679a606
JM
11703 * math/gen-libm-test.pl (@functions): Remove variable.
11704 (generate_testfile): Don't handle START and END lines.
11705 * math/libm-test.inc (START): New macro.
11706 (END): Likewise.
11707 (END_COMPLEX): Likewise.
11708 (acos_test): Use END macro without arguments.
11709 (acos_test_tonearest): Likewise.
11710 (acos_test_towardzero): Likewise.
11711 (acos_test_downward): Likewise.
11712 (acos_test_upward): Likewise.
11713 (acosh_test): Likewise.
11714 (asin_test): Likewise.
11715 (asin_test_tonearest): Likewise.
11716 (asin_test_towardzero): Likewise.
11717 (asin_test_downward): Likewise.
11718 (asin_test_upward): Likewise.
11719 (asinh_test): Likewise.
11720 (atan_test): Likewise.
11721 (atanh_test): Likewise.
11722 (atan2_test): Likewise.
11723 (cabs_test): Likewise.
11724 (cacos_test): Use END_COMPLEX macro without arguments.
11725 (cacosh_test): Likewise.
11726 (carg_test): Use END macro without arguments.
11727 (casin_test): Use END_COMPLEX macro without arguments.
11728 (casinh_test): Likewise.
11729 (catan_test): Likewise.
11730 (catanh_test): Likewise.
11731 (cbrt_test): Use END macro without arguments.
11732 (ccos_test): Use END_COMPLEX macro without arguments.
11733 (ccosh_test): Likewise.
11734 (ceil_test): Use END macro without arguments.
11735 (cexp_test): Use END_COMPLEX macro without arguments.
11736 (cimag_test): Use END macro without arguments.
11737 (clog_test): Use END_COMPLEX macro without arguments.
11738 (clog10_test): Likewise.
11739 (conj_test): Likewise.
11740 (copysign_test): Use END macro without arguments.
11741 (cos_test): Likewise.
11742 (cos_test_tonearest): Likewise.
11743 (cos_test_towardzero): Likewise.
11744 (cos_test_downward): Likewise.
11745 (cos_test_upward): Likewise.
11746 (cosh_test): Likewise.
11747 (cosh_test_tonearest): Likewise.
11748 (cosh_test_towardzero): Likewise.
11749 (cosh_test_downward): Likewise.
11750 (cosh_test_upward): Likewise.
11751 (cpow_test): Use END_COMPLEX macro without arguments.
11752 (cproj_test): Likewise.
11753 (creal_test): Use END macro without arguments.
11754 (csin_test): Use END_COMPLEX macro without arguments.
11755 (csinh_test): Likewise.
11756 (csqrt_test): Likewise.
11757 (ctan_test): Likewise.
11758 (ctan_test_tonearest): Likewise.
11759 (ctan_test_towardzero): Likewise.
11760 (ctan_test_downward): Likewise.
11761 (ctan_test_upward): Likewise.
11762 (ctanh_test): Likewise.
11763 (ctanh_test_tonearest): Likewise.
11764 (ctanh_test_towardzero): Likewise.
11765 (ctanh_test_downward): Likewise.
11766 (ctanh_test_upward): Likewise.
11767 (erf_test): Use END macro without arguments.
11768 (erfc_test): Likewise.
11769 (exp_test): Likewise.
11770 (exp_test_tonearest): Likewise.
11771 (exp_test_towardzero): Likewise.
11772 (exp_test_downward): Likewise.
11773 (exp_test_upward): Likewise.
11774 (exp10_test): Likewise.
11775 (exp2_test): Likewise.
11776 (expm1_test): Likewise.
11777 (fabs_test): Likewise.
11778 (fdim_test): Likewise.
11779 (finite_test): Likewise.
11780 (floor_test): Likewise.
11781 (fma_test): Likewise.
11782 (fma_test_towardzero): Likewise.
11783 (fma_test_downward): Likewise.
11784 (fma_test_upward): Likewise.
11785 (fmax_test): Likewise.
11786 (fmin_test): Likewise.
11787 (fmod_test): Likewise.
11788 (fpclassify_test): Likewise.
11789 (frexp_test): Likewise.
11790 (gamma_test): Likewise.
11791 (hypot_test): Likewise.
11792 (ilogb_test): Likewise.
11793 (isfinite_test): Likewise.
11794 (isgreater_test): Likewise.
11795 (isgreaterequal_test): Likewise.
11796 (isinf_test): Likewise.
11797 (isless_test): Likewise.
11798 (islessequal_test): Likewise.
11799 (islessgreater_test): Likewise.
11800 (isnan_test): Likewise.
11801 (isnormal_test): Likewise.
11802 (issignaling_test): Likewise.
11803 (isunordered_test): Likewise.
11804 (j0_test): Likewise.
11805 (j1_test): Likewise.
11806 (jn_test): Likewise.
11807 (ldexp_test): Likewise.
11808 (lgamma_test): Likewise.
11809 (lrint_test): Likewise.
11810 (lrint_test_tonearest): Likewise.
11811 (lrint_test_towardzero): Likewise.
11812 (lrint_test_downward): Likewise.
11813 (lrint_test_upward): Likewise.
11814 (llrint_test): Likewise.
11815 (llrint_test_tonearest): Likewise.
11816 (llrint_test_towardzero): Likewise.
11817 (llrint_test_downward): Likewise.
11818 (llrint_test_upward): Likewise.
11819 (log_test): Likewise.
11820 (log10_test): Likewise.
11821 (log1p_test): Likewise.
11822 (log2_test): Likewise.
11823 (logb_test): Likewise.
11824 (logb_test_downward): Likewise.
11825 (lround_test): Likewise.
11826 (llround_test): Likewise.
11827 (modf_test): Likewise.
11828 (nearbyint_test): Likewise.
11829 (nextafter_test): Likewise.
11830 (nexttoward_test): Likewise.
11831 (pow_test): Likewise.
11832 (pow_test_tonearest): Likewise.
11833 (pow_test_towardzero): Likewise.
11834 (pow_test_downward): Likewise.
11835 (pow_test_upward): Likewise.
11836 (remainder_test): Likewise.
11837 (remainder_test_tonearest): Likewise.
11838 (remainder_test_towardzero): Likewise.
11839 (remainder_test_downward): Likewise.
11840 (remainder_test_upward): Likewise.
11841 (remquo_test): Likewise.
11842 (rint_test): Likewise.
11843 (rint_test_tonearest): Likewise.
11844 (rint_test_towardzero): Likewise.
11845 (rint_test_downward): Likewise.
11846 (rint_test_upward): Likewise.
11847 (round_test): Likewise.
11848 (scalb_test): Likewise.
11849 (scalbn_test): Likewise.
11850 (scalbln_test): Likewise.
11851 (signbit_test): Likewise.
11852 (sin_test): Likewise.
11853 (sin_test_tonearest): Likewise.
11854 (sin_test_towardzero): Likewise.
11855 (sin_test_downward): Likewise.
11856 (sin_test_upward): Likewise.
11857 (sincos_test): Likewise.
11858 (sinh_test): Likewise.
11859 (sinh_test_tonearest): Likewise.
11860 (sinh_test_towardzero): Likewise.
11861 (sinh_test_downward): Likewise.
11862 (sinh_test_upward): Likewise.
11863 (sqrt_test): Likewise.
11864 (tan_test): Likewise.
11865 (tan_test_tonearest): Likewise.
11866 (tan_test_towardzero): Likewise.
11867 (tan_test_downward): Likewise.
11868 (tan_test_upward): Likewise.
11869 (tanh_test): Likewise.
11870 (tgamma_test): Likewise.
11871 (trunc_test): Likewise.
11872 (y0_test): Likewise.
11873 (y1_test): Likewise.
11874 (yn_test): Likewise.
11875 (significand_test): Likewise.
11876
bae143d2
OB
118772013-05-24 Ondřej Bílka <neleai@seznam.cz>
11878
11879 [BZ #15381]
11880 * libio/genops.c (_IO_no_init): Initialize wide struct info.
11881
9323d39b
EM
118822013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
11883
d4ea44a0 11884 [BZ #14894]
9323d39b
EM
11885 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
11886 __ppc_mdoio and __ppc_mdoom.
11887 * manual/platform.texi: Document new functions __ppc_yield,
11888 __ppc_mdoio and __ppc_mdoom.
11889
13e23af7
CD
118902013-05-22 Carlos O'Donell <carlos@redhat.com>
11891
11892 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
11893 (main): Mention "tls" pseudo-hwcap is legacy.
11894 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
11895
351fe550
JM
118962013-05-22 Joseph Myers <joseph@codesourcery.com>
11897
11898 * math/gen-libm-test.pl (parse_args): Output only string of
11899 arguments as text for test name, not full call or descriptions of
11900 tests for extra outputs.
11901 (generate_testfile): Do not pass function name to parse_args.
11902 Generate this_func variable from START.
11903 * math/libm-test.inc (struct test_f_f_data): Rename test_name
11904 field to arg_str.
11905 (struct test_ff_f_data): Likewise.
11906 (test_ff_f_data_nexttoward): Likewise.
11907 (struct test_fi_f_data): Likewise.
11908 (struct test_fl_f_data): Likewise.
11909 (struct test_if_f_data): Likewise.
11910 (struct test_fff_f_data): Likewise.
11911 (struct test_c_f_data): Likewise.
11912 (struct test_f_f1_data): Likewise. Remove field extra_name.
11913 (struct test_fF_f1_data): Likewise.
11914 (struct test_ffI_f1_data): Likewise.
11915 (struct test_c_c_data): Rename test_name field to arg_str.
11916 (struct test_cc_c_data): Likewise.
11917 (struct test_f_i_data): Likewise.
11918 (struct test_ff_i_data): Likewise.
11919 (struct test_f_l_data): Likewise.
11920 (struct test_f_L_data): Likewise.
11921 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
11922 and extra2_name.
11923 (COMMON_TEST_SETUP): New macro.
11924 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
11925 (COMMON_TEST_CLEANUP): Likewise.
11926 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
11927 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
11928 macros.
11929 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
11930 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
11931 macros.
11932 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
11933 (RUN_TEST_fff_f): Take argument string. Call new setup and
11934 cleanup macros.
11935 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
11936 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
11937 macros.
11938 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
11939 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
11940 macros.
11941 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
11942 (RUN_TEST_fF_f1): Take argument string. Call new setup and
11943 cleanup macros.
11944 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
11945 (RUN_TEST_fI_f1): Take argument string. Call new setup and
11946 cleanup macros.
11947 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
11948 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
11949 cleanup macros.
11950 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
11951 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
11952 macros.
11953 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
11954 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
11955 macros.
11956 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
11957 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
11958 macros.
11959 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
11960 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
11961 cleanup macros.
11962 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
11963 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
11964 cleanup macros.
11965 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
11966 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
11967 macros.
11968 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
11969 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
11970 cleanup macros.
11971 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
11972 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
11973 macros.
11974 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
11975 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
11976 macros.
11977 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
11978 (RUN_TEST_fFF_11): Take argument string. Call new setup and
11979 cleanup macros.
11980 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
11981
85118d4d
EBM
119822013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11983
11984 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
11985 to _sifields.sigfault.
11986 (si_addr_lsb): Define new macro.
11987 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
11988 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11989 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
11990
7a44c18f
CD
119912013-05-03 Carlos O'Donell <carlos at redhat.com>
11992
11993 [BZ #15441]
11994 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
11995 returns -1.
11996 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
11997 null return -1.
11998 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
11999 loading the domain.
12000
b50a7181
JM
120012013-05-22 Joseph Myers <joseph@codesourcery.com>
12002
12003 * math/gen-libm-test.pl (parse_args): Do not include expected
12004 result in test name.
12005 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12006 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12007 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12008 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12009 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12011
051063c8
SP
120122013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12013
3ce9e010
SP
12014 * benchtests/Makefile: Sort function entries.
12015
051063c8
SP
12016 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12017 tanh, asinh, acosh, atanh.
12018 * benchtests/acos-inputs: New file.
12019 * benchtests/acosh-inputs: New file.
12020 * benchtests/asin-inputs: New file.
12021 * benchtests/asinh-inputs: New file.
12022 * benchtests/atanh-inputs: New file.
12023 * benchtests/cosh-inputs: New file.
12024 * benchtests/log-inputs: New file.
12025 * benchtests/sinh-inputs: New file.
12026 * benchtests/tanh-inputs: New file.
12027
47c22455
DL
120282013-05-21 Dmitry V. Levin <ldv@altlinux.org>
12029
12030 [BZ #15339]
12031 * posix/tst-getaddrinfo4.c: New test.
12032 * posix/Makefile (tests): Add it.
12033
3d04f5db
SP
120342013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12035
12036 [BZ #15339]
12037 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12038 when no services were used.
12039 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12040 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12041
d5dd6189
AS
120422013-05-21 Andreas Schwab <schwab@suse.de>
12043
12044 [BZ #15014]
12045 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12046 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12047 successful.
12048 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12049 redundant variable declarations and reallocation of buffer when
12050 parsing as IPv6 address. Always set NSS status when called from
12051 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
12052 buffer too small. Correct computation of needed size.
12053 * nss/Makefile (tests): Add test-digits-dots.
12054 * nss/test-digits-dots.c: New test.
12055
fef94eab
SP
120562013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12057
12058 * benchtests/Makefile: Remove instructions for adding
12059 benchmark tests.
12060 * benchtests/README: New file to explain how to execute and
12061 enhance the benchmark tests.
12062
e39adf43
AS
120632013-05-21 Andreas Schwab <schwab@suse.de>
12064
12065 [BZ #15493]
12066 * setjmp/Makefile (tests): Add tst-sigsetjmp.
12067 * setjmp/tst-sigsetjmp.c: New test.
12068
b2b671b6
OB
120692013-05-20 Ondřej Bílka <neleai@seznam.cz>
12070
12071 * sysdeps/x86_64/memset.S (memset): New implementation.
12072 (__bzero): Likewise.
12073 (__memset_tail): New function.
12074
2d48b41c
OB
120752013-05-20 Ondřej Bílka <neleai@seznam.cz>
12076
12077 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12078 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12079 __memcpy_sse2_unaligned ifunc selection.
12080 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12081 Add memcpy-sse2-unaligned.S.
12082 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12083 Add: __memcpy_sse2_unaligned.
12084
f16cc3eb
JM
120852013-05-19 Joseph Myers <joseph@codesourcery.com>
12086
3e694268
JM
12087 [BZ #15490]
12088 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12089 math_force_eval before restoring floating-point envrionment.
12090 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12091 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12092 Likewise.
12093 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12094 <math_private.h>.
12095 (__nearbyintl): Use math_force_eval before restoring
12096 floating-point environment.
12097 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12098
db62a907
JM
12099 * math/gen-libm-test.pl (special_functions): Remove.
12100 (parse_args): Don't handle TEST_extra. Handle functions with no
12101 return value.
12102 * math/libm-test.inc (struct test_sincos_data): Replace with
12103 struct test_fFF_11_data.
12104 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12105 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12106 (sincos_test_data): Change element type to struct
12107 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
12108 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12109 RUN_TEST_LOOP_sincos.
12110 * math/README.libm-test: Don't mention special handling of
12111 individual functions.
12112 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12113 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12114 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12115 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12116 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12118
f16cc3eb
JM
12119 * math/gen-libm-test.pl (get_variable): Remove function.
12120 (parse_args): Don't show pointer parameters to call in test
12121 names. Use "extra output N" in test names for extra outputs
12122 rather than naming variables.
12123
3779b5b6
JM
121242013-05-18 Joseph Myers <joseph@codesourcery.com>
12125
2ee094ff
JM
12126 [BZ #15488]
12127 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12128 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12129 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12130 double tests.
12131 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12132 disable.
12133 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12134 check_long_double.
12135
3779b5b6
JM
12136 * math/gen-libm-test.pl (@tests): Remove variable.
12137 ($count): Likewise.
12138 (new_test): Remove function.
12139 (show_exceptions): New function.
12140 (special_functions): Use show_exceptions instead of new_test.
12141 (parse_args): Likewise.
12142 (generate_testfile): Pass only function name in generated call to
12143 print_max_error or print_complex_max_error.
12144 (get_ulps): Do not handle complex tests specially.
12145 (output_test): Rename to ...
12146 (get_all_ulps_for_test): ... this. Return a string rather than
12147 printing to a file. Require ulps to be present.
12148 (output_ulps): Generate arrays rather than #defines.
12149 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12150 (struct ulp_data): New type.
12151 (BUILD_COMPLEX_ULP): Remove macro.
12152 (compare_ulp_data): New function.
12153 (find_ulps): Likewise.
12154 (find_test_ulps): Likewise.
12155 (find_function_ulps): Likewise.
12156 (find_complex_function_ulps): Likewise.
12157 (print_max_error): Determine allowed ulps using
12158 find_function_ulps.
12159 (print_complex_max_error): Determine allowed ulps using
12160 find_complex_function_ulps.
12161 (check_float_internal): Determine max ulps using find_test_ulps.
12162 (check_float): Do not take max_ulp parameter. Update call to
12163 check_float_internal.
12164 (check_complex): Likewise.
12165 (check_int): Do not take max_ulp parameter.
12166 (check_long): Likewise.
12167 (check_bool): Likewise.
12168 (check_longlong): Likewise.
12169 (struct test_f_f_data): Remove max_ulp field.
12170 (struct test_ff_f_data): Likewise.
12171 (struct test_ff_f_data_nexttoward): Likewise.
12172 (struct test_fi_f_data): Likewise.
12173 (struct test_fl_f_data): Likewise.
12174 (struct test_if_f_data): Likewise.
12175 (struct test_fff_f_data): Likewise.
12176 (struct test_c_f_data): Likewise.
12177 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12178 (struct test_fF_f1_data): Likewise.
12179 (struct test_ffI_f1_data): Likewise.
12180 (struct test_c_c_data): Remove max_ulp field.
12181 (struct test_cc_c_data): Likewise.
12182 (struct test_f_i_data): Likewise.
12183 (struct test_ff_i_data): Likewise.
12184 (struct test_f_l_data): Likewise.
12185 (struct test_f_L_data): Likewise.
12186 (struct test_sincos_data): Likewise.
12187 (RUN_TEST_f_f): Do not handle ulps.
12188 (RUN_TEST_LOOP_f_f): Likewise.
12189 (RUN_TEST_2_f): Likewise.
12190 (RUN_TEST_LOOP_2_f): Likewise.
12191 (RUN_TEST_fff_f): Likewise.
12192 (RUN_TEST_LOOP_fff_f): Likewise.
12193 (RUN_TEST_c_f): Likewise.
12194 (RUN_TEST_LOOP_c_f): Likewise.
12195 (RUN_TEST_f_f1): Likewise.
12196 (RUN_TEST_LOOP_f_f1): Likewise.
12197 (RUN_TEST_fF_f1): Likewise.
12198 (RUN_TEST_LOOP_fF_f1): Likewise.
12199 (RUN_TEST_fI_f1): Likewise.
12200 (RUN_TEST_LOOP_fI_f1): Likewise.
12201 (RUN_TEST_ffI_f1): Likewise.
12202 (RUN_TEST_LOOP_ffI_f1): Likewise.
12203 (RUN_TEST_c_c): Likewise.
12204 (RUN_TEST_LOOP_c_c): Likewise.
12205 (RUN_TEST_cc_c): Likewise.
12206 (RUN_TEST_LOOP_cc_c): Likewise.
12207 (RUN_TEST_f_i): Likewise.
12208 (RUN_TEST_LOOP_f_i): Likewise.
12209 (RUN_TEST_f_i_tg): Likewise.
12210 (RUN_TEST_LOOP_f_i_tg): Likewise.
12211 (RUN_TEST_ff_i_tg): Likewise.
12212 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12213 (RUN_TEST_f_b): Likewise.
12214 (RUN_TEST_LOOP_f_b): Likewise.
12215 (RUN_TEST_f_b_tg): Likewise.
12216 (RUN_TEST_LOOP_f_b_tg): Likewise.
12217 (RUN_TEST_f_l): Likewise.
12218 (RUN_TEST_LOOP_f_l): Likewise.
12219 (RUN_TEST_f_L): Likewise.
12220 (RUN_TEST_LOOP_f_L): Likewise.
12221 (RUN_TEST_sincos): Likewise.
12222 (RUN_TEST_LOOP_sincos): Likewise.
12223
8269107f
JM
122242013-05-17 Joseph Myers <joseph@codesourcery.com>
12225
bb38759d
JM
12226 [BZ #15480]
12227 [BZ #15485]
12228 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12229 main case of finite arguments, set rounding mode to FE_TONEAREST
12230 and discard exceptions.
12231 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12232 exceptions.
12233 (remainder_tonearest_test_data): New variable.
12234 (remainder_test_tonearest): New function.
12235 (remainder_towardzero_test_data): New variable.
12236 (remainder_test_towardzero): New function.
12237 (remainder_downward_test_data): New variable.
12238 (remainder_test_downward): New function.
12239 (remainder_upward_test_data): New variable.
12240 (remainder_test_upward): New function.
12241 (main): Call the new test functions.
12242
a00bdcf0
JM
12243 * math/libm-test.inc (struct test_f_f1_data): Remove field
12244 extra_init.
12245 (struct test_fF_f1_data): Likewise.
12246 (struct test_ffI_f1_data): Likewise.
12247 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
12248 based on value of EXTRA_EXPECTED.
12249 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12250 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
12251 EXTRA_VAR based on value of EXTRA_EXPECTED.
12252 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12253 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
12254 EXTRA_VAR based on value of EXTRA_EXPECTED.
12255 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12256 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
12257 EXTRA_VAR based on value of EXTRA_EXPECTED.
12258 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12259 * math/gen-libm-test.pl (parse_args): Don't output initializers
12260 for extra output values.
12261
de407f79
JM
12262 * math/libm-test.inc (check_int): Expect result to be exactly
12263 equal to expected value and do not handle ulps.
12264 (check_long): Likewise.
12265 (check_longlong): Likewise.
12266
8269107f
JM
12267 * math/libm-test.inc (ceil_test_data): Test for "inexact"
12268 exceptions.
12269 (cimag_test_data): Likewise.
12270 (conj_test_data): Likewise.
12271 (copysign_test_data): Likewise.
12272 (cproj_test_data): Likewise.
12273 (creal_test_data): Likewise.
12274 (fabs_test_data): Likewise.
12275 (fdim_test_data): Likewise.
12276 (finite_test_data): Likewise.
12277 (floor_test_data): Likewise.
12278 (fmax_test_data): Likewise.
12279 (fmin_test_data): Likewise.
12280 (fmod_test_data): Likewise.
12281 (fpclassify_test_data): Likewise.
12282 (frexp_test_data): Likewise.
12283 (ilogb_test_data): Likewise.
12284 (isfinite_test_data): Likewise.
12285 (isgreater_test_data): Likewise.
12286 (isgreaterequal_test_data): Likewise.
12287 (isinf_test_data): Likewise.
12288 (isless_test_data): Likewise.
12289 (islessequal_test_data): Likewise.
12290 (islessgreater_test_data): Likewise.
12291 (isnan_test_data): Likewise.
12292 (isnormal_test_data): Likewise.
12293 (issignaling_test_data): Likewise.
12294 (isunordered_test_data): Likewise.
12295 (ldexp_test_data): Likewise.
12296 (lrint_test_data): Likewise.
12297 (lrint_test_data) [TEST_FLOAT]: Disable one test.
12298 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
12299 (lrint_tonearest_test_data): Test for "inexact" exceptions.
12300 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12301 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
12302 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12303 test input.
12304 (lrint_towardzero_test_data): Test for "inexact" exceptions.
12305 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12306 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
12307 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
12308 that test input.
12309 (lrint_downward_test_data): Test for "inexact" exceptions.
12310 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12311 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
12312 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12313 test input.
12314 (lrint_upward_test_data): Test for "inexact" exceptions.
12315 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
12316 test input.
12317 (llrint_test_data): Test for "inexact" exceptions.
12318 (llrint_test_data) [TEST_FLOAT]: Disable one test.
12319 (llrint_tonearest_test_data): Test for "inexact" exceptions.
12320 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12321 (llrint_towardzero_test_data): Test for "inexact" exceptions.
12322 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12323 (llrint_downward_test_data): Test for "inexact" exceptions.
12324 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12325 (llrint_upward_test_data): Test for "inexact" exceptions.
12326 (logb_test_data): Likewise.
12327 (logb_downward_test_data): Likewise.
12328 (nextafter_test_data): Likewise.
12329 (nexttoward_test_data): Likewise.
12330 (remainder_test_data): Likewise.
12331 (remquo_test_data): Likewise.
12332 (scalbn_test_data): Likewise.
12333 (scalbln_test_data): Likewise.
12334 (signbit_test_data): Likewise.
12335 (sqrt_test_data): Likewise.
12336 (significand_test_data): Likewise.
12337
48a18de1
SP
123382013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12339
12340 [BZ #15424]
12341 * benchtests/bench-modf.c (struct args): Mark arg0 as
12342 volatile.
12343 * scripts/bench.pl: Mark members of struct args as volatile.
12344
13d3b41a
AZ
123452013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12346
68191c1d 12347 [BZ # 15497]
13d3b41a
AZ
12348 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
12349 negative infinity on POWER6 or lower.
12350 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
12351
2848b105
MR
123522013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12353
12354 [BZ #15442]
12355 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
12356 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
12357 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
12358 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
12359 (_FP_SETQNAN): New macro.
12360 (_FP_SETQNAN_SEMIRAW): Likewise.
12361 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
12362 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
12363 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
12364 (FP_EXTEND): Use _FP_FRAC_SNANP.
12365 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
12366 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
12367 into account.
12368 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12369 New macro.
12370 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12371 Likewise.
12372
323e5cb7
JM
123732013-05-16 Joseph Myers <joseph@codesourcery.com>
12374
c58b274f
JM
12375 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
12376 with DIVIDE_BY_ZERO_EXCEPTION.
12377 (gamma_test_data): Likewise.
12378 (lgamma_test_data): Likewise.
12379 (log_test_data): Likewise.
12380 (log10_test_data): Likewise.
12381 (log2_test_data): Likewise.
12382 (tgamma_test_data): Likewise.
12383
0ab34904
JM
12384 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
12385 (acos_test_tonearest): Likewise.
12386 (acos_test_towardzero): Likewise.
12387 (acos_test_downward): Likewise.
12388 (acos_test_upward): Likewise.
12389 (acosh_test): Likewise.
12390 (asin_test): Likewise.
12391 (asin_test_tonearest): Likewise.
12392 (asin_test_towardzero): Likewise.
12393 (asin_test_downward): Likewise.
12394 (asin_test_upward): Likewise.
12395 (asinh_test): Likewise.
12396 (atan_test): Likewise.
12397 (atanh_test): Likewise.
12398 (atan2_test): Likewise.
12399 (cabs_test): Likewise.
12400 (cacos_test): Likewise.
12401 (cacosh_test): Likewise.
12402 (casin_test): Likewise.
12403 (casinh_test): Likewise.
12404 (catan_test): Likewise.
12405 (catanh_test): Likewise.
12406 (cbrt_test): Likewise.
12407 (ccos_test): Likewise.
12408 (ccosh_test): Likewise.
12409 (cexp_test): Likewise.
12410 (clog_test): Likewise.
12411 (clog10_test): Likewise.
12412 (cos_test): Likewise.
12413 (cos_test_tonearest): Likewise.
12414 (cos_test_towardzero): Likewise.
12415 (cos_test_downward): Likewise.
12416 (cos_test_upward): Likewise.
12417 (cosh_test): Likewise.
12418 (cosh_test_tonearest): Likewise.
12419 (cosh_test_towardzero): Likewise.
12420 (cosh_test_downward): Likewise.
12421 (cosh_test_upward): Likewise.
12422 (cpow_test): Likewise.
12423 (csin_test): Likewise.
12424 (csinh_test): Likewise.
12425 (csqrt_test): Likewise.
12426 (ctan_test): Likewise.
12427 (ctan_test_tonearest): Likewise.
12428 (ctan_test_towardzero): Likewise.
12429 (ctan_test_downward): Likewise.
12430 (ctan_test_upward): Likewise.
12431 (ctanh_test): Likewise.
12432 (ctanh_test_tonearest): Likewise.
12433 (ctanh_test_towardzero): Likewise.
12434 (ctanh_test_downward): Likewise.
12435 (ctanh_test_upward): Likewise.
12436 (erf_test): Likewise.
12437 (erfc_test): Likewise.
12438 (exp_test): Likewise.
12439 (exp_test_tonearest): Likewise.
12440 (exp_test_towardzero): Likewise.
12441 (exp_test_downward): Likewise.
12442 (exp_test_upward): Likewise.
12443 (exp10_test): Likewise.
12444 (exp2_test): Likewise.
12445 (expm1_test): Likewise.
12446 (fmod_test): Likewise.
12447 (gamma_test): Likewise.
12448 (hypot_test): Likewise.
12449 (j0_test): Likewise.
12450 (j1_test): Likewise.
12451 (jn_test): Likewise.
12452 (lgamma_test): Likewise.
12453 (log_test): Likewise.
12454 (log10_test): Likewise.
12455 (log1p_test): Likewise.
12456 (log2_test): Likewise.
12457 (logb_test_downward): Likewise.
12458 (pow_test): Likewise.
12459 (pow_test_tonearest): Likewise.
12460 (pow_test_towardzero): Likewise.
12461 (pow_test_downward): Likewise.
12462 (pow_test_upward): Likewise.
12463 (remainder_test): Likewise.
12464 (remquo_test): Likewise.
12465 (sin_test): Likewise.
12466 (sin_test_tonearest): Likewise.
12467 (sin_test_towardzero): Likewise.
12468 (sin_test_downward): Likewise.
12469 (sin_test_upward): Likewise.
12470 (sincos_test): Likewise.
12471 (sinh_test): Likewise.
12472 (sinh_test_tonearest): Likewise.
12473 (sinh_test_towardzero): Likewise.
12474 (sinh_test_downward): Likewise.
12475 (sinh_test_upward): Likewise.
12476 (sqrt_test): Likewise.
12477 (tan_test): Likewise.
12478 (tan_test_tonearest): Likewise.
12479 (tan_test_towardzero): Likewise.
12480 (tan_test_downward): Likewise.
12481 (tan_test_upward): Likewise.
12482 (tanh_test): Likewise.
12483 (tgamma_test): Likewise.
12484 (y0_test): Likewise.
12485 (y1_test): Likewise.
12486 (yn_test): Likewise.
12487
323e5cb7
JM
12488 * math/gen-libm-test.pl (adjust_arg): Remove function.
12489 (special_function): Remove argument $in_func. Only handle
12490 generating output for tables of tests, not inside functions.
12491 (parse_args): Likewise.
12492 (generate_testfile): Remove variable $in_func. Update call to
12493 parse_args.
12494 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
12495 (MINUS_ZERO_INIT): Rename macro to minus_zero.
12496 (PLUS_INFTY_INIT): Rename macro to plus_infty.
12497 (MINUS_INFTY_INIT): Rename macro to minus_infty.
12498 (QNAN_VALUE_INIT): Rename macro to qnan_value.
12499 (MAX_VALUE_INIT): Rename macro to max_value.
12500 (MIN_VALUE_INIT): Rename macro to min_value.
12501 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
12502 (plus_zero): Remove variable.
12503 (minus_zero): Likewise.
12504 (plus_infty): Likewise.
12505 (minus_infty): Likewise.
12506 (qnan_value): Likewise.
12507 (max_value): Likewise.
12508 (min_value): Likewise.
12509 (min_subnorm_value): Likewise.
12510
e054f494
RA
125112013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12512
12513 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
12514 uint64_t or uint32_t usage.
12515 * crypt/sha256-block.c: Likewise.
12516 * crypt/sha256-crypt.c: Likewise.
12517 * crypt/sha256.c: Likewise.
12518 * crypt/sha512-block.c: Likewise.
12519 * crypt/sha512-crypt.c: Likewise.
12520 * crypt/sha512.c: Likewise.
12521 * debug/backtrace-tst.c: Likewise.
12522 * debug/pcprofiledump.c: Likewise.
12523 * elf/cache.c: Likewise.
12524 * elf/dl-cache.c: Likewise.
12525 * elf/dl-misc.c: Likewise.
12526 * elf/dl-profile.c: Likewise.
12527 * elf/dl-support.c: Likewise.
12528 * elf/ldconfig.c: Likewise.
12529 * elf/sprof.c: Likewise.
12530 * iconv/dummy-repertoire.c: Likewise.
12531 * iconv/iconv_charmap.c: Likewise.
12532 * iconv/skeleton.c: Likewise.
12533 * iconvdata/8bit-generic.c: Likewise.
12534 * iconvdata/cp737.h: Likewise.
12535 * iconvdata/cp775.h: Likewise.
12536 * iconvdata/ibm1008.h: Likewise.
12537 * iconvdata/ibm1025.h: Likewise.
12538 * iconvdata/ibm1046.h: Likewise.
12539 * iconvdata/ibm1097.h: Likewise.
12540 * iconvdata/ibm1112.h: Likewise.
12541 * iconvdata/ibm1122.h: Likewise.
12542 * iconvdata/ibm1123.h: Likewise.
12543 * iconvdata/ibm1124.h: Likewise.
12544 * iconvdata/ibm1129.h: Likewise.
12545 * iconvdata/ibm1130.h: Likewise.
12546 * iconvdata/ibm1132.h: Likewise.
12547 * iconvdata/ibm1133.h: Likewise.
12548 * iconvdata/ibm1137.h: Likewise.
12549 * iconvdata/ibm1140.h: Likewise.
12550 * iconvdata/ibm1141.h: Likewise.
12551 * iconvdata/ibm1142.h: Likewise.
12552 * iconvdata/ibm1143.h: Likewise.
12553 * iconvdata/ibm1144.h: Likewise.
12554 * iconvdata/ibm1145.h: Likewise.
12555 * iconvdata/ibm1146.h: Likewise.
12556 * iconvdata/ibm1147.h: Likewise.
12557 * iconvdata/ibm1148.h: Likewise.
12558 * iconvdata/ibm1149.h: Likewise.
12559 * iconvdata/ibm1153.h: Likewise.
12560 * iconvdata/ibm1154.h: Likewise.
12561 * iconvdata/ibm1155.h: Likewise.
12562 * iconvdata/ibm1156.h: Likewise.
12563 * iconvdata/ibm1157.h: Likewise.
12564 * iconvdata/ibm1158.h: Likewise.
12565 * iconvdata/ibm1160.h: Likewise.
12566 * iconvdata/ibm1161.h: Likewise.
12567 * iconvdata/ibm1162.h: Likewise.
12568 * iconvdata/ibm1163.h: Likewise.
12569 * iconvdata/ibm1164.h: Likewise.
12570 * iconvdata/ibm1166.h: Likewise.
12571 * iconvdata/ibm1167.h: Likewise.
12572 * iconvdata/ibm12712.h: Likewise.
12573 * iconvdata/ibm1390.h: Likewise.
12574 * iconvdata/ibm1399.h: Likewise.
12575 * iconvdata/ibm16804.h: Likewise.
12576 * iconvdata/ibm4517.h: Likewise.
12577 * iconvdata/ibm4899.h: Likewise.
12578 * iconvdata/ibm4909.h: Likewise.
12579 * iconvdata/ibm4971.h: Likewise.
12580 * iconvdata/ibm5347.h: Likewise.
12581 * iconvdata/ibm803.h: Likewise.
12582 * iconvdata/ibm856.h: Likewise.
12583 * iconvdata/ibm901.h: Likewise.
12584 * iconvdata/ibm902.h: Likewise.
12585 * iconvdata/ibm9030.h: Likewise.
12586 * iconvdata/ibm9066.h: Likewise.
12587 * iconvdata/ibm921.h: Likewise.
12588 * iconvdata/ibm922.h: Likewise.
12589 * iconvdata/ibm9448.h: Likewise.
12590 * iconvdata/isiri-3342.h: Likewise.
12591 * iconvdata/jis0201.h: Likewise.
12592 * include/link.h: Likewise.
12593 * include/netdb.h: Likewise.
12594 * inet/check_native.c: Likewise.
12595 * inet/check_pf.c: Likewise.
12596 * inet/getipv4sourcefilter.c: Likewise.
12597 * inet/getnameinfo.c: Likewise.
12598 * inet/getsourcefilter.c: Likewise.
12599 * inet/htonl.c: Likewise.
12600 * inet/setipv4sourcefilter.c: Likewise.
12601 * inet/setsourcefilter.c: Likewise.
12602 * inet/test-inet6_opt.c: Likewise.
12603 * inet/tst-network.c: Likewise.
12604 * locale/C-collate.c: Likewise.
12605 * locale/C-ctype.c: Likewise.
12606 * locale/C-time.c: Likewise.
12607 * locale/C-translit.h: Likewise.
12608 * locale/loadarchive.c: Likewise.
12609 * locale/programs/3level.h: Likewise.
12610 * locale/programs/charmap.c: Likewise.
12611 * locale/programs/charmap.h: Likewise.
12612 * locale/programs/ld-address.c: Likewise.
12613 * locale/programs/ld-collate.c: Likewise.
12614 * locale/programs/ld-ctype.c: Likewise.
12615 * locale/programs/ld-identification.c: Likewise.
12616 * locale/programs/ld-measurement.c: Likewise.
12617 * locale/programs/ld-messages.c: Likewise.
12618 * locale/programs/ld-monetary.c: Likewise.
12619 * locale/programs/ld-name.c: Likewise.
12620 * locale/programs/ld-numeric.c: Likewise.
12621 * locale/programs/ld-paper.c: Likewise.
12622 * locale/programs/ld-telephone.c: Likewise.
12623 * locale/programs/ld-time.c: Likewise.
12624 * locale/programs/linereader.c: Likewise.
12625 * locale/programs/locale.c: Likewise.
12626 * locale/programs/locarchive.c: Likewise.
12627 * locale/programs/locfile.h: Likewise.
12628 * locale/programs/repertoire.c: Likewise.
12629 * locale/programs/simple-hash.c: Likewise.
12630 * locale/programs/simple-hash.h: Likewise.
12631 * malloc/memusage.c: Likewise.
12632 * malloc/memusagestat.c: Likewise.
12633 * nis/nis_defaults.c: Likewise.
12634 * nis/nis_hash.c: Likewise.
12635 * nis/nis_print.c: Likewise.
12636 * nis/nis_xdr.c: Likewise.
12637 * nscd/connections.c: Likewise.
12638 * nscd/hstcache.c: Likewise.
12639 * nscd/nscd_gethst_r.c: Likewise.
12640 * nscd/nscd_getserv_r.c: Likewise.
12641 * nscd/nscd_helper.c: Likewise.
12642 * nscd/servicescache.c: Likewise.
12643 * nss/makedb.c: Likewise.
12644 * nss/nss_db/db-XXX.c: Likewise.
12645 * nss/nss_db/db-initgroups.c: Likewise.
12646 * nss/nss_db/db-netgrp.c: Likewise.
12647 * nss/nss_files/files-network.c: Likewise.
12648 * nss/nss_files/files-parse.c: Likewise.
12649 * posix/bug-regex5.c: Likewise.
12650 * posix/fnmatch_loop.c: Likewise.
12651 * posix/regcomp.c: Likewise.
12652 * posix/regexec.c: Likewise.
12653 * posix/tst-rfc3484-2.c: Likewise.
12654 * posix/tst-rfc3484-3.c: Likewise.
12655 * posix/tst-rfc3484.c: Likewise.
12656 * resolv/nss_dns/dns-canon.c: Likewise.
12657 * resolv/nss_dns/dns-network.c: Likewise.
12658 * resolv/res_init.c: Likewise.
12659 * resolv/res_mkquery.c: Likewise.
12660 * resolv/tst-aton.c: Likewise.
12661 * stdlib/cxa_atexit.c: Likewise.
12662 * stdlib/cxa_finalize.c: Likewise.
12663 * stdlib/gen-fpioconst.c: Likewise.
12664 * stdlib/strtol_l.c: Likewise.
12665 * string/tst-endian.c: Likewise.
12666 * sunrpc/auth_des.c: Likewise.
12667 * sunrpc/clnt_udp.c: Likewise.
12668 * sunrpc/rtime.c: Likewise.
12669 * sunrpc/svcauth_des.c: Likewise.
12670 * sunrpc/xdr.c: Likewise.
12671 * sunrpc/xdr_intXX_t.c: Likewise.
12672 * sunrpc/xdr_rec.c: Likewise.
12673 * sysdeps/generic/ldconfig.h: Likewise.
12674 * sysdeps/generic/ldsodefs.h: Likewise.
12675 * sysdeps/generic/memusage.h: Likewise.
12676 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12677 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
12678 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
12679 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12680 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12681 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12682 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12683 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12684 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12685 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12686 * sysdeps/posix/getaddrinfo.c: Likewise.
12687 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12688 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12689 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12690 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12691 * sysdeps/powerpc/test-gettimebase.c: Likewise.
12692 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12693 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
12694 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
12695 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12696 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
12697 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12698 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12699 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
12700 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
12701 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
12702 * sysdeps/x86_64/dl-tls.h: Likewise.
12703 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
12704 * time/alt_digit.c: Likewise.
12705 * time/era.c: Likewise.
12706 * wcsmbs/tst-c16c32-1.c: Likewise.
12707
8c75f674
JM
127082013-05-16 Joseph Myers <joseph@codesourcery.com>
12709
12710 * math/libm-test.inc (struct test_sincos_data): New type.
12711 (RUN_TEST_LOOP_sincos): New macro.
12712 (sincos_test_data): New variable.
12713 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
12714
e6e49e59
RH
127152013-05-16 Richard Henderson <rth@redhat.com>
12716
12717 * math/atest-exp2.c (LIMB64): New macro.
12718 (CONSTSZ): New macro.
12719 (mp_exp1, mp_exp_m1, mp_log2): New variables.
12720 (hexdig): Move ...
12721 (print_mpn_fp): ... to function scope.
12722 (read_mpn_hex): Remove.
12723 (get_log2): Remove.
12724 (exp2_mpn): Use mp_log2.
12725 (main): Use mp_exp1.
12726
15c7c18d
JM
127272013-05-16 Joseph Myers <joseph@codesourcery.com>
12728
105a07df
JM
12729 * math/libm-test.inc: Remove comment about not testing "inexact"
12730 exceptions.
12731 (INEXACT_EXCEPTION): New macro.
12732 (NO_INEXACT_EXCEPTION): Likewise.
12733 (INVALID_EXCEPTION_OK): Update value.
12734 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12735 (OVERFLOW_EXCEPTION_OK): Likewise.
12736 (UNDERFLOW_EXCEPTION_OK): Likewise.
12737 (IGNORE_ZERO_INF_SIGN): Likewise.
12738 (ERRNO_UNCHANGED): Likewise.
12739 (ERRNO_EDOM): Likewise.
12740 (ERRNO_ERANGE): Likewise.
12741 (test_exceptions): Handle testing "inexact" exceptions.
12742 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
12743 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
12744 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
12745 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
12746 INEXACT_EXCEPTION.
12747 (rint_towardzero_test_data): Likewise.
12748 (rint_downward_test_data): Likewise.
12749 (rint_upward_test_data): Likewise.
12750
e9eee333
JM
12751 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
12752 with OVERFLOW_EXCEPTION.
12753 (exp10_test_data): Likewise.
12754 (exp2_test_data): Likewise.
12755 (expm1_test_data): Likewise.
12756 (lgamma_test_data): Likewise.
12757 (pow_test_data): Likewise.
12758 (tgamma_test_data): Likewise.
12759 (yn_test_data): Remove duplicate test of overflow.
12760
1c38ff73
JM
12761 * math/libm-test.inc (struct test_cc_c_data): New type.
12762 (RUN_TEST_LOOP_cc_c): New macro.
12763 (cpow_test_data): New variable.
12764 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
12765
15c7c18d
JM
12766 * math/libm-test.inc (struct test_f_L_data): New type.
12767 (RUN_TEST_LOOP_f_L): New macro.
12768 (llrint_test_data): New variable.
12769 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
12770 (llrint_tonearest_test_data): New variable.
12771 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
12772 (llrint_towardzero_test_data): New variable.
12773 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
12774 (llrint_downward_test_data): New variable.
12775 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
12776 (llrint_upward_test_data): New variable.
12777 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
12778 (llround_test_data): New variable.
12779 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
12780
f137ff13
PC
127812013-05-13 Peter Collingbourne <pcc@google.com>
12782
12783 * math/atest-exp2.c (get_log2): Remove const attribute.
12784
3608cb24
JM
127852013-05-15 Joseph Myers <joseph@codesourcery.com>
12786
12787 * math/libm-test.inc (struct test_f_l_data): New type.
12788 (RUN_TEST_LOOP_f_l): New macro.
12789 (lrint_test_data): New variable.
12790 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
12791 (lrint_tonearest_test_data): New variable.
12792 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
12793 (lrint_towardzero_test_data): New variable.
12794 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
12795 (lrint_downward_test_data): New variable.
12796 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
12797 (lrint_upward_test_data): New variable.
12798 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
12799 (lround_test_data): New variable.
12800 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
12801
39b1f617
PC
128022013-05-15 Peter Collingbourne <pcc@google.com>
12803
1deff3dc
PC
12804 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
12805 (EXTRACT_WORDS64) Use where appropriate.
12806 (INSERT_WORDS64) Likewise.
12807
791f3ba0
PC
12808 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
12809 constraints with x constraints.
12810 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
12811
39b1f617
PC
12812 * malloc/obstack.c (_obstack_compat): Add initializer.
12813
12fba011
EM
128142013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
12815
12816 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
12817 si_trapno and add si_addr_lsb to _sifields.sigfault.
12818 (si_trapno): Remove macro.
12819 (si_addr_lsb): Define new macro.
12820 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12821
d369f531
JM
128222013-05-15 Joseph Myers <joseph@codesourcery.com>
12823
b861c6c4
JM
12824 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
12825 instead of TEST_f_l.
12826 (llrint_test_tonearest): Likewise.
12827 (llrint_test_towardzero): Likewise.
12828 (llrint_test_downward): Likewise.
12829 (llrint_test_upward): Likewise.
12830 (llround_test): Likewise.
12831
7abeee12
JM
12832 * math/libm-test.inc (struct test_f_i_data): Add comment.
12833 (RUN_TEST_LOOP_f_b): New macro.
12834 (RUN_TEST_LOOP_f_b_tg): Likewise.
12835 (finite_test_data): New variable.
12836 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
12837 (isfinite_test_data): New variable.
12838 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12839 (isinf_test_data): New variable.
12840 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12841 (isnan_test_data): New variable.
12842 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12843 (isnormal_test_data): New variable.
12844 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12845 (issignaling_test_data): New variable.
12846 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12847 (signbit_test_data): New variable.
12848 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12849
cbe8c4d3
JM
12850 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
12851 with INVALID_EXCEPTION.
12852 (acosh_test_data): Likewise.
12853 (asin_test_data): Likewise.
12854 (atanh_test_data): Likewise.
12855 (fmod_test_data): Likewise.
12856 (log_test_data): Likewise.
12857 (log10_test_data): Likewise.
12858 (log2_test_data): Likewise.
12859 (pow_test_data): Likewise.
12860 (sqrt_test_data): Likewise.
12861 (y0_test_data): Likewise.
12862 (y1_test_data): Likewise.
12863 (yn_test_data): Likewise.
12864
5575c0e5
JM
12865 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
12866 function contents.
12867
d369f531
JM
12868 * math/libm-test.inc (struct test_ff_i_data): New type.
12869 (RUN_TEST_LOOP_ff_i_tg): New macro.
12870 (isgreater_test_data): New variable.
12871 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12872 (isgreaterequal_test_data): New variable.
12873 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12874 (isless_test_data): New variable.
12875 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12876 (islessequal_test_data): New variable.
12877 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12878 (islessgreater_test_data): New variable.
12879 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12880 (isunordered_test_data): New variable.
12881 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12882
781fd748
DM
128832013-05-14 David S. Miller <davem@davemloft.net>
12884
12885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12886
87aa21df
JM
128872013-05-14 Joseph Myers <joseph@codesourcery.com>
12888
5e908270
JM
12889 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
12890
f71172e5
JM
12891 * math/libm-test.inc (struct test_fF_f1_data): Change type of
12892 extra_test to int.
12893 (struct test_f_i_data): Change type of max_ulp to int.
12894
8cfa635a
JM
12895 * math/libm-test.inc (test_ffI_f1_data): New type.
12896 (RUN_TEST_LOOP_ffI_f1): New macro.
12897 (remquo_test_data): New variable.
12898 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
12899
2bcb36b2
JM
12900 * setjmp/tst-setjmp-fp.c: New file.
12901 * setjmp/Makefile (tests): Add tst-setjmp-fp.
12902 (link-libm): New variable.
12903 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
12904
acbd839a
JM
12905 * math/libm-test.inc (struct test_f_i_data): New type.
12906 (RUN_TEST_LOOP_f_i): New macro.
12907 (RUN_TEST_LOOP_f_i_tg): Likewise.
12908 (fpclassify_test_data): New variable.
12909 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
12910 (ilogb_test_data): New variable.
12911 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
12912
e414d745
JM
12913 * math/libm-test.inc (scalbln_test): Correct function name in END
12914 call.
12915
d9c2a0fd
JM
12916 * math/libm-test.inc (struct test_f_f1_data): Add comment.
12917 (RUN_TEST_LOOP_fI_f1): New macro.
12918 (frexp_test_data): New variable.
12919 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
12920
9dc9095d
JM
12921 * math/libm-test.inc (struct test_fF_f1_data): New type.
12922 (RUN_TEST_LOOP_fF_f1): New macro.
12923 (modf_test_data): New variable.
12924 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
12925
87aa21df
JM
12926 * math/libm-test.inc (struct test_f_f1_data): New type.
12927 (RUN_TEST_LOOP_f_f1): New macro.
12928 (gamma_test_data): New variable.
12929 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
12930 (lgamma_test_data): New variable.
12931 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
12932
141af660
CD
129332013-05-13 Carlos O'Donell <carlos@redhat.com>
12934
12935 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
12936 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
12937 (main): Comment "tls" pseudo-hwcap.
12938
6d33265c
JM
129392013-05-13 Joseph Myers <joseph@codesourcery.com>
12940
68fc074c
JM
12941 * math/libm-test.inc (struct test_fl_f_data): New type.
12942 (RUN_TEST_LOOP_fl_f): New variable.
12943 (scalbln_test_data): New variable.
12944 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
12945
243216e1
JM
12946 * math/libm-test.inc (struct test_fi_f_data): New type.
12947 (RUN_TEST_LOOP_fi_f): New macro.
12948 (ldexp_test_data): New variable.
12949 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
12950 (scalbn_test_data): New variable.
12951 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
12952
6a1992e2
JM
12953 * math/libm-test.inc (struct test_c_f_data): New type.
12954 (RUN_TEST_LOOP_c_f): New macro.
12955 (cabs_test_data): New variable.
12956 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
12957 (carg_test_data): New variable.
12958 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
12959 (cimag_test_data): New variable.
12960 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
12961 (creal_test_data): New variable.
12962 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
12963
0e400df5
JM
12964 * math/libm-test.inc (struct test_if_f_data): New type.
12965 (RUN_TEST_LOOP_if_f): New macro.
12966 (jn_test_data): New variable.
12967 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
12968 (yn_test_data): New variable.
12969 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
12970
6d33265c
JM
12971 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
12972
f98ece5f
AZ
129732013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12974
12975 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
12976 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
12977
0f7d347b
SP
129782013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12979
43fe811b
SP
12980 * benchtests/Makefile (CPPFLAGS-nonlib): Add
12981 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
12982 (bench-deps): Add bench-timing.h.
12983 * benchtests-bench-skeleton.c: Include bench-timing.h.
12984 (main): Use TIMING_* macros instead of clock_gettime.
12985 * benchtests/bench-timing.h: New file.
12986
0f7d347b
SP
12987 [BZ #14582]
12988 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
12989 Renamed from _LIB_VERSION.
12990 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
12991
601a3a5f
JM
129922013-05-12 Joseph Myers <joseph@codesourcery.com>
12993
4f184d30
JM
12994 * math/libm-test.inc (struct test_fff_f_data): New type.
12995 (RUN_TEST_LOOP_fff_f): New macro.
12996 (fma_test_data): New variable.
12997 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
12998 (fma_towardzero_test_data): New variable.
12999 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13000 (fma_downward_test_data): New variable.
13001 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13002 (fma_upward_test_data): New variable.
13003 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13004
08198877
JM
13005 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13006 (struct test_c_c_data): New type.
13007 (RUN_TEST_LOOP_c_c): New macro.
13008 (cacos_test_data): New variable.
13009 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13010 (cacosh_test_data): New variable.
13011 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13012 (casin_test_data): New variable.
13013 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13014 (casinh_test_data): New variable.
13015 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13016 (catan_test_data): New variable.
13017 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13018 (catanh_test_data): New variable.
13019 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13020 (ccos_test_data): New variable.
13021 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13022 (ccosh_test_data): New variable.
13023 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13024 (cexp_test_data): New variable.
13025 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13026 (clog_test_data): New variable.
13027 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13028 (clog10_test_data): New variable.
13029 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13030 (conj_test_data): New variable.
13031 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13032 (cproj_test_data): New variable.
13033 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13034 (csin_test_data): New variable.
13035 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13036 (csinh_test_data): New variable.
13037 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13038 (csqrt_test_data): New variable.
13039 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13040 (ctan_test_data): New variable.
13041 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13042 (ctan_tonearest_test_data): New variable.
13043 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13044 (ctan_towardzero_test_data): New variable.
13045 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13046 (ctan_downward_test_data): New variable.
13047 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13048 (ctan_upward_test_data): New variable.
13049 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13050 (ctanh_test_data): New variable.
13051 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13052 (ctanh_tonearest_test_data): New variable.
13053 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13054 (ctanh_towardzero_test_data): New variable.
13055 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13056 (ctanh_downward_test_data): New variable.
13057 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13058 (ctanh_upward_test_data): New variable.
13059 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13060 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13061 of BUILD_COMPLEX.
13062
601a3a5f
JM
13063 * math/libm-test.inc (struct test_ff_f_data): New type.
13064 (struct test_ff_f_data_nexttoward): Likewise.
13065 (RUN_TEST_LOOP_2_f): New macro.
13066 (RUN_TEST_LOOP_ff_f): Likewise.
13067 (atan2_test_data): New variable.
13068 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13069 (copysign_test_data): New variable.
13070 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13071 (fdim_test_data): New variable.
13072 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13073 (fmax_test_data): New variable.
13074 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13075 (fmin_test_data): New variable.
13076 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13077 (fmod_test_data): New variable.
13078 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13079 (hypot_test_data): New variable.
13080 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13081 (nextafter_test_data): New variable.
13082 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13083 (nexttoward_test_data): New variable.
13084 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13085 (pow_test_data): New variable.
13086 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13087 (pow_tonearest_test_data): New variable.
13088 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13089 (pow_towardzero_test_data): New variable.
13090 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13091 (pow_downward_test_data): New variable.
13092 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13093 (pow_upward_test_data): New variable.
13094 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13095 (remainder_test_data): New variable.
13096 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13097 (scalb_test_data): New variable.
13098 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13099 * sysdeps/i386/fpu/libm-test-ulps: Update.
13100
74c57478
JM
131012013-05-11 Joseph Myers <joseph@codesourcery.com>
13102
8329e4da
JM
13103 * math/libm-test.inc (fma_test): Use max_value instead of local
13104 variable fltmax.
13105 (nextafter_test): Likewise.
13106
74c57478
JM
13107 * math/libm-test.inc (acos_towardzero_test_data): New variable.
13108 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13109 (acos_downward_test_data): New variable.
13110 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13111 (acos_upward_test_data): New variable.
13112 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13113 (acosh_test_data): New variable.
13114 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13115 (asin_test_data): New variable.
13116 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13117 (asin_tonearest_test_data): New variable.
13118 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13119 (asin_towardzero_test_data): New variable.
13120 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13121 (asin_downward_test_data): New variable.
13122 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13123 (asin_upward_test_data): New variable.
13124 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13125 (asinh_test_data): New variable.
13126 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13127 (atan_test_data): New variable.
13128 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13129 (atanh_test_data): New variable.
13130 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13131 (cbrt_test_data): New variable.
13132 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13133 (ceil_test_data): New variable.
13134 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13135 (cos_test_data): New variable.
13136 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13137 (cos_tonearest_test_data): New variable.
13138 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13139 (cos_towardzero_test_data): New variable.
13140 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13141 (cos_downward_test_data): New variable.
13142 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13143 (cos_upward_test_data): New variable.
13144 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13145 (cosh_test_data): New variable.
13146 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13147 (cosh_tonearest_test_data): New variable.
13148 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13149 (cosh_towardzero_test_data): New variable.
13150 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13151 (cosh_downward_test_data): New variable.
13152 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13153 (cosh_upward_test_data): New variable.
13154 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13155 (erf_test_data): New variable.
13156 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13157 (erfc_test_data): New variable.
13158 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13159 (exp_test_data): New variable.
13160 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13161 (exp_tonearest_test_data): New variable.
13162 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13163 (exp_towardzero_test_data): New variable.
13164 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13165 (exp_downward_test_data): New variable.
13166 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13167 (exp_upward_test_data): New variable.
13168 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13169 (exp10_test_data): New variable.
13170 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13171 (exp2_test_data): New variable.
13172 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13173 (expm1_test_data): New variable.
13174 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13175 (fabs_test_data): New variable.
13176 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13177 (floor_test_data): New variable.
13178 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13179 (j0_test_data): New variable.
13180 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13181 (j1_test_data): New variable.
13182 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13183 (log_test_data): New variable.
13184 (log_test): Run tests with RUN_TEST_LOOP_f_f.
13185 (log10_test_data): New variable.
13186 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13187 (log1p_test_data): New variable.
13188 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13189 (log2_test_data): New variable.
13190 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13191 (logb_test_data): New variable.
13192 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13193 (logb_downward_test_data): New variable.
13194 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13195 (nearbyint_test_data): New variable.
13196 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13197 (rint_test_data): New variable.
13198 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13199 (rint_tonearest_test_data): New variable.
13200 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13201 (rint_towardzero_test_data): New variable.
13202 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13203 (rint_downward_test_data): New variable.
13204 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13205 (rint_upward_test_data): New variable.
13206 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13207 (round_test_data): New variable.
13208 (round_test): Run tests with RUN_TEST_LOOP_f_f.
13209 (sin_test_data): New variable.
13210 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13211 (sin_tonearest_test_data): New variable.
13212 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13213 (sin_towardzero_test_data): New variable.
13214 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13215 (sin_downward_test_data): New variable.
13216 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13217 (sin_upward_test_data): New variable.
13218 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13219 (sinh_test_data): New variable.
13220 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13221 (sinh_tonearest_test_data): New variable.
13222 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13223 (sinh_towardzero_test_data): New variable.
13224 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13225 (sinh_downward_test_data): New variable.
13226 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13227 (sinh_upward_test_data): New variable.
13228 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13229 (sqrt_test_data): New variable.
13230 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13231 (tan_test_data): New variable.
13232 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13233 (tan_tonearest_test_data): New variable.
13234 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13235 (tan_towardzero_test_data): New variable.
13236 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13237 (tan_downward_test_data): New variable.
13238 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13239 (tan_upward_test_data): New variable.
13240 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13241 (tanh_test_data): New variable.
13242 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13243 (tgamma_test_data): New variable.
13244 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13245 (trunc_test_data): New variable.
13246 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13247 (y0_test_data): New variable.
13248 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13249 (y1_test_data): New variable.
13250 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13251 (significand_test_data): New variable.
13252 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13253
7187d844
CG
132542013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
13255
13256 [BZ #12387]
13257 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13258
f63fae73
PT
132592013-05-10 Pino Toscano <toscano.pino@tiscali.it>
13260
13261 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
13262
8a67a4b3
AJ
132632013-05-10 Andreas Jaeger <aj@suse.de>
13264
13265 [BZ #15448]
13266 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
13267 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
13268
51df539d
JM
132692013-05-10 Joseph Myers <joseph@codesourcery.com>
13270
13271 * math/gen-libm-test.pl (adjust_arg): New function.
13272 (special_functions): Handle generating output in both functions
13273 and arrays.
13274 (parse_args): Likewise.
13275 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
13276 $in_func argument to parse_args.
13277 * math/libm-test.inc (struct test_f_f_data): New type.
13278 (IF_ROUND_INIT_): New macro.
13279 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
13280 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13281 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13282 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13283 (ROUND_RESTORE_): Likewise.
13284 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
13285 (ROUND_RESTORE_FE_TONEAREST): Likewise.
13286 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
13287 (ROUND_RESTORE_FE_UPWARD): Likewise.
13288 (RUN_TEST_LOOP_f_f): New macro.
13289 (acos_test_data): New variable.
13290 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
13291 (acos_tonearest_test_data): New variable.
13292 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13293
5c637fe5
SP
132942013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13295
13296 * benchtests/bench-skeleton.c (startup): Fix coding style.
13297
ab2b9461
JM
132982013-05-10 Joseph Myers <joseph@codesourcery.com>
13299
13300 [BZ #6809]
13301 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
13302 negative infinity argument.
13303 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
13304 negative infinity argument.
13305 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
13306 negative infinity argument.
13307 * math/libm-test.inc (tgamma_test): Expect errno to be set for
13308 domain errors.
13309
4c0fe6fe
FW
133102013-05-10 Florian Weimer <fweimer@redhat.com>
13311
13312 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
13313 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
13314 * iconv/iconv_prog.c (main): Likewise.
13315 * locale/programs/charmap-dir.c (charmap_readdir)
13316 (fopen_uncompressed): Likewise.
13317 * locale/programs/locfile.c (siblings_uncached)
13318 (write_locale_data): Use lstat64 instead of lstat.
13319 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
13320 stat.
13321
a3375d29
AJ
133222013-05-10 Andreas Jaeger <aj@suse.de>
13323
13324 [BZ #15395]
13325 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
13326 localization.
13327 Include <locale.h>.
13328
36129722
CD
133292013-05-09 Carlos O'Donell <carlos@redhat.com>
13330
13331 * elf/dl-close.c (_dl_close_worker): Add comments.
13332
faa7f811
JM
133332013-05-09 Joseph Myers <joseph@codesourcery.com>
13334
ed41ffef
JM
13335 [BZ #15359]
13336 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
13337 high part of pi/2.
13338 (__ieee754_rem_pio2l): Update comments.
13339
d0213cd0
JM
13340 [BZ #15429]
13341 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
13342 high part of pi/2.
13343 (__ieee754_rem_pio2l): Update comments.
13344
0d3e777a
JM
13345 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
13346 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
13347
24f56066
JM
13348 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
13349 M_PI_4l.
13350
faa7f811
JM
13351 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
13352 (M_PI_34_LOG10El): Likewise.
13353 (M_PI2_LOG10El): Likewise.
13354 (M_PI4_LOG10El): Likewise.
13355 (M_PI_LOG10El): Likewise.
13356
e9a5e0fd
AZ
133572013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13358
13359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13360
d8cd06db
JM
133612013-05-08 Joseph Myers <joseph@codesourcery.com>
13362
a0d9f9d7
JM
13363 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
13364 (MINUS_ZERO_INIT): Likewise.
13365 (PLUS_INFTY_INIT): Likewise.
13366 (MINUS_INFTY_INIT): Likewise.
13367 (QNAN_VALUE_INIT): Likewise.
13368 (MAX_VALUE_INIT): Likewise.
13369 (MIN_VALUE_INIT): Likewise.
13370 (MIN_SUBNORM_VALUE_INIT): Likewise.
13371 (plus_zero): Initialize with PLUS_ZERO_INIT.
13372 (minus_zero): Initialize with MINUS_ZERO_INIT.
13373 (plus_infty): Initialize with PLUS_INFTY_INIT.
13374 (minus_infty): Initialize with MINUS_INFTY_INIT.
13375 (qnan_value): Initialize with QNAN_VALUE_INIT.
13376 (max_value): Initialize with MAX_VALUE_INIT.
13377 (min_value): Initialize with MIN_VALUE_INIT.
13378 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
13379
ae08db3b
JM
13380 * math/libm-test.inc (RUN_TEST_if_f): New macro.
13381 (jn_test): Use TEST_if_f instead of TEST_ff_f.
13382 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
13383 (yn_test): Use TEST_if_f instead of TEST_ff_f.
13384
f44bf14a
JM
13385 * math/libm-test.inc (RUN_TEST_f_f): New macro.
13386 (RUN_TEST_2_f): Likewise.
13387 (RUN_TEST_ff_f): Likewise.
13388 (RUN_TEST_fi_f): Likewise.
13389 (RUN_TEST_fl_f): Likewise.
13390 (RUN_TEST_fff_f): Likewise.
13391 (RUN_TEST_c_f): Likewise.
13392 (RUN_TEST_f_f1): Likewise.
13393 (RUN_TEST_fF_f1): Likewise.
13394 (RUN_TEST_fI_f1): Likewise.
13395 (RUN_TEST_ffI_f1): Likewise.
13396 (RUN_TEST_c_c): Likewise.
13397 (RUN_TEST_cc_c): Likewise.
13398 (RUN_TEST_f_i): Likewise.
13399 (RUN_TEST_f_i_tg): Likewise.
13400 (RUN_TEST_ff_i_tg): Likewise.
13401 (RUN_TEST_f_b): Likewise.
13402 (RUN_TEST_f_b_tg): Likewise.
13403 (RUN_TEST_f_l): Likewise.
13404 (RUN_TEST_f_L): Likewise.
13405 (RUN_TEST_sincos): Likewise.
13406 * math/gen-libm-test.pl (new_test): Take new argument to indicate
13407 whether to show exceptions. Do not include ");\n" in return
13408 value.
13409 (special_functions): Output call to RUN_TEST_sincos instead of
13410 check_float calls. Update calls to new_test.
13411 (parse_args): Output call to single RUN_TEST_* macro instead of
13412 check_* calls and other assignments. Update calls to new_test.
13413
d8cd06db
JM
13414 [BZ #2546]
13415 [BZ #2560]
13416 [BZ #5159]
13417 [BZ #15426]
13418 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
13419 input to result for tgamma overflow.
13420 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
13421 (gamma_coeff): New variable.
13422 (NCOEFF): New macro.
13423 (gamma_positive): New function.
13424 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
13425 underflow here. Use gamma_positive instead of exp (lgamma) for
13426 other arguments.
13427 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
13428 (gamma_coeff): New variable.
13429 (NCOEFF): New macro.
13430 (gammaf_positive): New function.
13431 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
13432 underflow here. Use gamma_positive instead of exp (lgamma) for
13433 other arguments.
13434 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
13435 (gamma_coeff): New variable.
13436 (NCOEFF): New macro.
13437 (gammal_positive): New function.
13438 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
13439 underflow here. Use gamma_positive instead of exp (lgamma) for
13440 other arguments.
13441 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
13442 (gamma_coeff): New variable.
13443 (NCOEFF): New macro.
13444 (gammal_positive): New function.
13445 (__ieee754_gammal_r): Handle positive infinity, overflow and
13446 underflow here. Handle NaN the same as positive infinity. Remove
13447 check x < 0xffffffff for negative integers. Use gamma_positive
13448 instead of exp (lgamma) for other arguments.
13449 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
13450 (gamma_coeff): New variable.
13451 (NCOEFF): New macro.
13452 (gammal_positive): New function.
13453 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
13454 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13455 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13456 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
13457 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13458 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13459 * sysdeps/generic/math_private.h (__gamma_productf): New
13460 prototype.
13461 (__gamma_product): Likewise.
13462 (__gamma_productl): Likewise.
13463 * math/Makefile (libm-calls): Add gamma_product.
13464 * math/libm-test.inc (tgamma_test): Add more tests.
13465 * sysdeps/i386/fpu/libm-test-ulps: Update.
13466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13467
bb7cf681
OB
134682013-05-08 Ondřej Bílka <neleai@seznam.cz>
13469
13470 * benchtests/bench-skeleton.c (main): Preheat CPU.
13471
ba853947
AJ
134722013-05-07 Aurelien Jarno <aurelien@aurel32.net>
13473
13474 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
13475
8347c74c
RM
134762013-05-07 Roland McGrath <roland@hack.frob.com>
13477
13478 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
13479 and _dl_skip_args_internal.
13480
e8dd4791
CD
134812013-05-07 Carlos O'Donell <carlos@redhat.com>
13482
13483 * manual/message.texi (Message Translation): Talk about users.
13484 Message to key mapping impacts design.
13485
c7405830
RM
134862013-05-06 Roland McGrath <roland@hack.frob.com>
13487
a9173057
RM
13488 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
13489
976e2f03
RM
13490 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
13491
9723ffc5
RM
13492 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
13493 * sysdeps/wordsize-64/glob64.c: ... here.
13494
962e6658
RM
13495 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
13496 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
13497 New macros.
13498
ee586a6d
RM
13499 * debug/getlogin_r_chk.c: Moved to ...
13500 * login/getlogin_r_chk.c: ... here.
13501 * debug/Makefile (routines): Move getlogin_r_chk to ...
13502 * login/Makefile (routines): ... here.
13503 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
13504 * login/Versions (libc: GLIBC_2.4): ... here.
13505
355f9165
RM
13506 * io/poll.c (__poll): Renamed from poll.
13507 Add libc_hidden_def.
13508 (poll): Define as weak alias.
13509
bd9ffde6
RM
13510 * debug/ptsname_r_chk.c: Moved to ...
13511 * login/ptsname_r_chk.c: ... here.
13512 * debug/Makefile (routines): Move ptsname_r_chk to ...
13513 * login/Makefile (routines): ... here.
13514 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
13515 * login/Versions (libc: GLIBC_2.4): ... here.
13516
8fb16a04
RM
13517 * posix/getlogin.c: Moved to ...
13518 * login/getlogin.c: ... here.
13519 * posix/getlogin_r.c: Moved to ...
13520 * login/getlogin_r.c: ... here.
13521 * posix/getlogin_r.c: Moved to ...
13522 * login/getlogin_r.c: ... here.
13523 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
13524 * login/Makefile (routines): ... here.
13525 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
13526 * login/Versions (libc: GLIBC_2.0): ... here.
13527
b99b892f
RM
13528 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
13529 (setrlimit): Define as weak alias.
13530
c7405830
RM
13531 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
13532 Call __ names for open, ftruncate, and close.
13533 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
13534 (truncate): Define as weak alias.
13535
5bf96de5
JM
135362013-05-06 Joseph Myers <joseph@codesourcery.com>
13537
9ea3513c
JM
13538 * math/gen-libm-test.pl (parse_args): Initialize x before each
13539 test of frexp, modf and remquo.
13540
5bf96de5
JM
13541 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
13542 test signgam value.
13543
16e616a7
AZ
135442013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13545
13546 [BZ #15418]
13547 [BZ #15419]
13548 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
13549 internal tests.
13550 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13551
d5e82754
RM
135522013-05-06 Roland McGrath <roland@hack.frob.com>
13553
13554 * elf/dl-writev.h: New file.
13555 * elf/dl-misc.c: Include it.
13556 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
13557 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
13558
a7548d41
JM
135592013-05-04 Joseph Myers <joseph@codesourcery.com>
13560
b7dab1e4
JM
13561 * math/libm-test.inc (noXFails): Remove variable.
13562 (noXPasses): Likewise.
13563 (BUILD_COMPLEX_INT): Remove macro.
13564 (print_screen): Remove xfail argument.
13565 (print_screen_max_error): Likewise.
13566 (update_stats): Likewise.
13567 (print_max_error): Likewise. Update calls to other affected
13568 functions.
13569 (print_complex_max_error): Likewise.
13570 (test_single_exception): Update calls to print_screen.
13571 (test_single_errno): Likewise.
13572 (check_float_internal): Remove xfail argument. Update calls to
13573 other affected functions.
13574 (check_float): Likewise.
13575 (check_complex): Likewise.
13576 (check_int): Likewise.
13577 (check_long): Likewise.
13578 (check_bool): Likewise.
13579 (check_longlong): Likewise.
13580 (main): Don't print noXFails and noXPasses.
13581 * math/gen-libm-test.pl (top level): Don't mention expected
13582 failure handling in comment.
13583 (new_test): Don't handle expected failures.
13584 (parse_args): Don't mention expected failure handling in comment.
13585 (generate_testfile): Don't handle expected failures.
13586 (parse_ulps): Likewise.
13587 (print_ulps_file): Likewise.
13588 (get_failure): Remove function.
13589 (output_test): Don't handle expected failures.
13590 * make/README.libm-test: Don't mention expected failure handling.
13591
a7548d41
JM
13592 * math/libm-test.inc (plus_zero): Make const. Add initializer.
13593 (minus_zero): Likewise.
13594 (plus_infty): Likewise.
13595 (minus_infty): Likewise.
13596 (qnan_value): Likewise.
13597 (max_value): Likewise.
13598 (min_value): Likewise.
13599 (min_subnorm_value): Likewise.
13600 (initialize): Do not initialize those variables dynamically.
13601
60bfd54c
RM
136022013-05-03 Roland McGrath <roland@hack.frob.com>
13603
cc0e6ed8
RM
13604 * io/open.c (__open_2): Moved to ...
13605 * io/open_2.c: ... this new file.
13606 * io/open64.c (__open64_2): Moved to ...
13607 * io/open64_2.c: ... this new file.
13608 * io/openat.c (__openat_2): Moved to ...
13609 * io/openat_2.c: ... this new file.
13610 * io/openat64.c (__openat64_2): Moved to ...
13611 * io/openat64_2.c: ... this new file.
13612 * io/Makefile (routines): Add them.
13613 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
13614 * sysdeps/unix/sysv/linux/open_2.c: File removed.
13615 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
13616 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
13617 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
13618 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
13619 (__openat64): Add hidden_ver.
13620 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
13621 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
13622
60bfd54c
RM
13623 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
13624 Separately conditionalize setting of GLRO(dl_sysinfo) so
13625 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
13626 as well, but the actual setting is only under [NEED_DL_SYSINFO].
13627
83e7640f
AZ
136282013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13629
13630 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
13631 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
13632 definition.
13633 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
13634 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13635 (_libc_vdso_platform_setup): Add __vdso_time initialization.
13636 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
13637 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
13638
d5dc2af3
JM
136392013-05-03 Joseph Myers <joseph@codesourcery.com>
13640
c31a5b1e
JM
13641 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
13642 test signgam value.
13643
d5dc2af3
JM
13644 * math/libm-test.inc (hypot_test): Do not use
13645 IGNORE_ZERO_INF_SIGN.
13646
164fd39d
AJ
136472013-05-03 Andreas Jaeger <aj@suse.de>
13648
13649 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
13650 Linux 3.9.
13651 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
13652 (PF_MAX): Adjust for VSOCK change.
13653
8237f48c
AZ
136542013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13655
13656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13657
9df02941
CD
136582013-05-02 Carlos O'Donell <carlos@redhat.com>
13659
13660 [BZ #15264]
13661 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
13662 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
13663 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
13664
d422395e
DM
136652013-05-02 David S. Miller <davem@davemloft.net>
13666
13667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13668
a07c5731
OB
136692013-05-01 Ondřej Bílka <neleai@seznam.cz>
13670
13671 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
13672
1324e37f
RM
136732013-05-01 Roland McGrath <roland@hack.frob.com>
13674
13675 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
13676
0695940b
RS
136772013-05-01 Richard Smith <richard@metafoo.co.uk>
13678
bb5f27ad 13679 [BZ #14952]
0695940b
RS
13680 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
13681 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13682 Use __attribute__ ((__gnu_inline__)).
13683 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13684 Don't use __attribute__ ((__gnu_inline__)).
13685
10de07f5
JM
136862013-05-01 Joseph Myers <joseph@codesourcery.com>
13687
13688 [BZ #15423]
13689 * math/s_catan.c (__catan): Handle small real or imaginary part of
13690 input specially to avoid spurious underflow.
13691 * math/s_catanf.c (__catanf): Likewise.
13692 * math/s_catanh.c (__catanh): Likewise.
13693 * math/s_catanhf.c (__catanhf): Likewise.
13694 * math/s_catanhl.c (__catanhl): Likewise.
13695 * math/s_catanl.c (__catanl): Likewise.
13696 * math/libm-test.inc (catan_test): Add more tests.
13697 (catanh_test): Likewise.
13698 * sysdeps/i386/fpu/libm-test-ulps: Update.
13699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13700
cb4d5414
AZ
137012013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13702
13703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13704
caf84319
JM
137052013-04-30 Joseph Myers <joseph@codesourcery.com>
13706
13707 [BZ #15416]
13708 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
13709 accurately for denominator in atan2.
13710 * math/s_catanf.c (__catanf): Likewise.
13711 * math/s_catanh.c (__catanh): Likewise.
13712 * math/s_catanhf.c (__catanhf): Likewise.
13713 * math/s_catanhl.c (__catanhl): Likewise.
13714 * math/s_catanl.c (__catanl): Likewise.
13715 * math/libm-test.inc (catan_test): Add more tests.
13716 (catanh_test): Likewise.
13717 * sysdeps/i386/fpu/libm-test-ulps: Update.
13718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13719
d569c6ee
SP
137202013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13721
6dbe713d
SP
13722 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
13723
f0ee064b
SP
13724 * benchtests/Makefile (bench): Remove slow benchmarks.
13725 * benchtests/atan-inputs: Add slow benchmark inputs.
13726 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
13727 (BENCH_FUNC): Accept variant offset.
13728 (VARIANT): Define.
13729 * benchtests/bench-skeleton.c (main): Run benchmark for each
13730 variant.
13731 * benchtests/cos-inputs: Add slow benchmark inputs.
13732 * benchtests/exp-inputs: Likewise.
13733 * benchtests/pow-inputs: Likewise.
13734 * benchtests/sin-inputs: Likewise.
13735 * benchtests/slowatan-inputs: Remove.
13736 * benchtests/slowatan.c: Remove.
13737 * benchtests/slowcos-inputs: Remove.
13738 * benchtests/slowcos.c: Remove.
13739 * benchtests/slowexp-inputs: Remove.
13740 * benchtests/slowexp.c: Remove.
13741 * benchtests/slowpow-inputs: Remove.
13742 * benchtests/slowpow.c: Remove.
13743 * benchtests/slowsin-inputs: Remove.
13744 * benchtests/slowsin.c: Remove.
13745 * benchtests/slowtan-inputs: Remove.
13746 * benchtests/slowtan.c: Remove.
13747 * benchtests/tan-inputs: Add slow benchmark inputs.
13748 * scripts/bench.pl: Parse comments and directives.
13749
d569c6ee
SP
13750 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
13751 in CPPFLAGS.
13752 ($(objpfx)bench-%.c): Remove *-ITER.
13753 * benchtests/bench-modf.c: Remove definition of ITER.
13754 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
13755 (main): Loop for DURATION seconds instead of fixed number of
13756 iterations.
13757 * scripts/bench.pl: Don't expect iterations in parameters.
13758
a6a242fe
RM
137592013-04-29 Roland McGrath <roland@hack.frob.com>
13760
13761 * io/fchdir.c (__fchdir): Renamed from fchdir.
13762 (fchdir): Define as weak alias.
13763
f2da7793
JM
137642013-04-29 Joseph Myers <joseph@codesourcery.com>
13765
13766 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
13767 (ERRNO_EDOM): Likewise.
13768 (ERRNO_ERANGE): Likewise.
13769 (noErrnoTests): New variable.
13770 (init_max_error): Set errno to 0.
13771 (test_single_errno): New function.
13772 (test_errno): Likewise.
13773 (check_float_internal): Call test_errno. Set errno to 0.
13774 (check_complex): Refer to errno tests in comment.
13775 (check_int): Call test_errno. Set errno to 0.
13776 (check_long): Likewise.
13777 (check_bool): Likewise.
13778 (check_longlong): Likewise.
13779 (cos_test): Use ERRNO_* flags for errno tests instead of
13780 check_int.
13781 (expm1_test): Likewise.
13782 (fmod_test): Likewise.
13783 (ilogb_test): Likewise.
13784 (lgamma_test): Likewise.
13785 (pow_test): Likewise.
13786 (remainder_test): Likewise.
13787 (sin_test): Likewise.
13788 (tan_test): Likewise.
13789 (yn_test): Likewise.
13790 (initialize): Set errno to 0.
13791 (main): Print number of errno tests.
13792 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
13793
b1a36ceb
AJ
137942013-04-29 Andreas Jaeger <aj@suse.de>
13795
c3ed8088
AJ
13796 [BZ #15084]
13797 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
13798 and RES_USEVC.
13799
f1a24198
AJ
13800 [BZ #15085]
13801 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
13802 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
13803 unimplemented.
13804
9ce3b2cb
AJ
13805 [BZ #15380]
13806 * stdlib/random.c (__initstate): Return NULL if
13807 __initstate fails.
13808
f1a24198 13809 [BZ #15086]
b1a36ceb
AJ
13810 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
13811 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
13812 RES_SNGLKUPREOP.
13813
7e7b6f36
AZ
138142013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13815
13816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13817
4d14f449
JM
138182013-04-29 Joseph Myers <joseph@codesourcery.com>
13819
13820 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
13821 of individual tests.
13822 (casin_test): Likewise.
13823 (casinh_test): Likewise.
13824
5b4217d7
JM
138252013-04-27 Joseph Myers <joseph@codesourcery.com>
13826
13827 [BZ #15409]
13828 * math/s_catan.c (__catan): Handle arguments with large real or
13829 imaginary part separately without squaring.
13830 * math/s_catanf.c (__catanf): Likewise.
13831 * math/s_catanh.c (__catanh): Likewise.
13832 * math/s_catanhf.c (__catanhf): Likewise.
13833 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13834 and redefine.
13835 (__catanhl): Handle arguments with large real or imaginary part
13836 separately without squaring.
13837 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13838 and redefine.
13839 (__catanl): Handle arguments with large real or imaginary part
13840 separately without squaring.
13841 * math/libm-test.inc (catan_test): Add more tests.
13842 (catanh_test): Likewise.
13843 * sysdeps/i386/fpu/libm-test-ulps: Update.
13844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13845
4220c3ef
AJ
138462013-04-27 Andreas Jaeger <aj@suse.de>
13847
13848 [BZ #15007]
13849 * stdlib/stdlib.h: Update guards for qecvt.
13850 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
13851 <stdlib.h>.
13852
4721b2d1
AM
138532013-04-27 Allan McRae <allan@archlinux.org>
13854
13855 * sysdeps/i386/fpu/libm-test-ulps: Update.
13856
f0302940
JM
138572013-04-26 Joseph Myers <joseph@codesourcery.com>
13858
9457fd95
JM
13859 [BZ #15406]
13860 * math/s_catan.c: Include <float.h>.
13861 (__catan): Ensure underflow exception occurs for underflowed
13862 result.
13863 * math/s_catanf.c: Include <float.h>.
13864 (__catanf): Ensure underflow exception occurs for underflowed
13865 result.
13866 * math/s_catanh.c: Include <float.h>.
13867 (__catanh): Ensure underflow exception occurs for underflowed
13868 result.
13869 * math/s_catanhf.c: Include <float.h>.
13870 (__catanhf): Ensure underflow exception occurs for underflowed
13871 result.
13872 * math/s_catanhl.c: Include <float.h>.
13873 (__catanhl): Ensure underflow exception occurs for underflowed
13874 result.
13875 * math/s_catanl.c: Include <float.h>.
13876 (__catanl): Ensure underflow exception occurs for underflowed
13877 result.
13878 * math/libm-test.inc (catan_test): Add more tests.
13879 (catanh_test): Likewise.
13880
f0302940
JM
13881 [BZ #15405]
13882 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
13883 underflowed result.
13884 * math/s_ccoshf.c (__ccoshf): Likewise.
13885 * math/s_ccoshl.c (__ccoshl): Likewise.
13886 * math/s_csin.c (__csin): Likewise.
13887 * math/s_csinf.c (__csinf): Likewise.
13888 * math/s_csinh.c (__csinh): Likewise.
13889 * math/s_csinhf.c (__csinhf): Likewise.
13890 * math/s_csinhl.c (__csinhl): Likewise.
13891 * math/s_csinl.c (__csinl): Likewise.
13892 * math/libm-test.inc (ccos_test): Add more tests.
13893 (ccosh_test): Likewise.
13894 (csin_test): Likewise.
13895 (csinh_test): Likewise.
13896
aa630f59
AZ
138972013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13898
13899 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
13900 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
13901 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
13902 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
13903 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
13904 powerpc/power5+/fpu folders.
13905 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13906
13907
1b835983
MT
139082013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13909
13910 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13911
73709b26
JM
139122013-04-25 Joseph Myers <joseph@codesourcery.com>
13913
13914 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
13915 additions to variable.
13916 [$(config-machine) = x86_64] (modules-names): Likewise.
13917 ($(objpfx)tst-audit3): Remove dependency.
13918 ($(objpfx)tst-audit3.out): Likewise.
13919 ($(objpfx)tst-audit4): Likewise.
13920 ($(objpfx)tst-audit4.out): Likewise.
13921 ($(objpfx)tst-audit5): Likewise.
13922 ($(objpfx)tst-audit5.out): Likewise.
13923 ($(objpfx)tst-audit6): Likewise.
13924 ($(objpfx)tst-audit6.out): Likewise.
13925 ($(objpfx)tst-audit7): Likewise.
13926 ($(objpfx)tst-audit7.out): Likewise.
13927 (tst-audit3-ENV): Remove variable.
13928 (tst-audit4-ENV): Likewise.
13929 (tst-audit5-ENV): Likewise.
13930 (tst-audit6-ENV): Likewise.
13931 (tst-audit7-ENV): Likewise.
13932 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
13933 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
13934 addition to variable.
13935 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
13936 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
13937 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
13938 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
13939 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
13940 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
13941 tst-audit3, tst-audit4 and tst-audit5.
13942 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
13943 tst-audit6 and tst-audit7.
13944 [$(subdir) = elf] (modules-names): Add audit modules for those
13945 tests.
13946 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
13947 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
13948 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
13949 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
13950 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
13951 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
13952 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
13953 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
13954 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
13955 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
13956 [$(subdir) = elf] (tst-audit3-ENV): New variable.
13957 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
13958 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
13959 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
13960 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
13961 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
13962 Likewise.
13963 [$(subdir) = elf && $(config-cflags-avx) = yes]
13964 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
13965 [$(subdir) = elf && $(config-cflags-avx) = yes]
13966 (CFLAGS-tst-auditmod4a.c): Likewise.
13967 [$(subdir) = elf && $(config-cflags-avx) = yes]
13968 (CFLAGS-tst-auditmod4b.c): Likewise.
13969 [$(subdir) = elf && $(config-cflags-avx) = yes]
13970 (CFLAGS-tst-auditmod6b.c): Likewise.
13971 [$(subdir) = elf && $(config-cflags-avx) = yes]
13972 (CFLAGS-tst-auditmod6c.c): Likewise.
13973 [$(subdir) = elf && $(config-cflags-avx) = yes]
13974 (CFLAGS-tst-auditmod7b.c): Likewise.
13975 * elf/tst-audit3.c: Move to ...
13976 * sysdeps/x86_64/tst-audit3.c: ... here.
13977 * elf/tst-audit4.c: Move to ...
13978 * sysdeps/x86_64/tst-audit4.c: ... here.
13979 * elf/tst-audit5.c: Move to ...
13980 * sysdeps/x86_64/tst-audit5.c: ... here.
13981 * elf/tst-audit6.c: Move to ...
13982 * sysdeps/x86_64/tst-audit6.c: ... here.
13983 * elf/tst-audit7.c: Move to ...
13984 * sysdeps/x86_64/tst-audit7.c: ... here.
13985 * elf/tst-auditmod3a.c: Move to ...
13986 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
13987 * elf/tst-auditmod3b.c: Move to ...
13988 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
13989 * elf/tst-auditmod4a.c: Move to ...
13990 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
13991 * elf/tst-auditmod4b.c: Move to ...
13992 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
13993 * elf/tst-auditmod5a.c: Move to ...
13994 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
13995 * elf/tst-auditmod5b.c: Move to ...
13996 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
13997 * elf/tst-auditmod6a.c: Move to ...
13998 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
13999 * elf/tst-auditmod6b.c: Move to ...
14000 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14001 * elf/tst-auditmod6c.c: Move to ...
14002 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14003 * elf/tst-auditmod7a.c: Move to ...
14004 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14005 * elf/tst-auditmod7b.c: Move to ...
14006 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14007
1ef74943
PP
140082013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
14009
14010 [BZ #15366]
14011 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14012 define unconditionally.
14013 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14014 define unconditionally.
14015 (INT8_C, INT16_C, etc.): Likewise.
14016
93fd48c5
MR
140172013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
14018
ae9552cf
MR
14019 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14020 __ehdr_start with hidden visibility.
14021
93fd48c5
MR
14022 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14023
418601aa
CD
140242013-04-24 Carlos O'Donell <carlos@redhat.com>
14025
14026 * math/libm-test.inc (cos_test): Use accurate hex constants.
14027 (sincost_test): Likewise.
14028
2f38fbfe
JM
140292013-04-24 Joseph Myers <joseph@codesourcery.com>
14030
5e221800
JM
14031 * math/libm-test.inc (catan_test): Add more tests.
14032 (catanh_test): Likewise.
14033
77f143fd
JM
14034 * math/s_catanf.c (__catanf): Use suffixed floating-point
14035 constants.
14036 * math/s_catanhf.c (__catanhf): Likewise.
14037 * math/s_catanhl.c (__catanhl): Likewise.
14038 * math/s_catanl.c (__catanl): Likewise.
14039
2f38fbfe
JM
14040 [BZ #15394]
14041 * math/s_catan.c (__catan): Calculate imaginary part of result
14042 with log1p not log unless computing log of number close to 0.
14043 * math/s_catanf.c (__catanf): Likewise.
14044 * math/s_catanl.c (__catanl): Likewise.
14045 * math/s_catanh.c (__catanh): Calculate real part of result with
14046 log1p not log unless computing log of number close to 0.
14047 * math/s_catanhf.c (__catanhf): Likewise.
14048 * math/s_catanhl.c (__catanhl): Likewise.
14049 * math/libm-test.inc (catan_test): Add more tests.
14050 (catanh_test): Likewise.
14051 * sysdeps/i386/fpu/libm-test-ulps: Update.
14052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14053
45d69176
SP
140542013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14055
14056 * benchtests/Makefile: Mention files in which fast and slow
14057 paths of math functions are implemented.
14058
87f51853
RM
140592013-04-23 Roland McGrath <roland@hack.frob.com>
14060
14061 * sysdeps/posix/timespec_get.c: New file.
14062
3c026539
AZ
140632013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14064
14065 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14066 POWER.
14067 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14068 for POWER.
14069 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14070 powerpc/power5/fpu folders.
14071 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14072 * benchtests/Makefile: Add modf testcase.
14073 * benchtests/bench-modf.c: New file: Benchmark test for mo
14074
ff491d14
SP
140752013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14076
14077 [BZ #14888]
14078 * time/Makefile (tests): Add tst-strptime-whitespace.
14079 * time/strptime_l.c (get_number): Use ISSPACE.
14080 (__strptime_internal): Likewise.
14081 * time/tst-strptime-whitespace.c: New test case.
14082
7ed3f4e8
AS
140832013-04-23 Andreas Schwab <schwab@linux-m68k.org>
14084
14085 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14086 member.
14087 (_nss_files_init): Set it here.
14088
5c95f7b6
HC
140892013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
14090
14091 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14092 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14093 unsigned.
14094
d34c9158
JBG
140952013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
14096
14097 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14098
2169712d
SP
140992013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14100
14101 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14102 size just once.
14103
29c5de99
DM
141042013-04-21 David S. Miller <davem@davemloft.net>
14105
14106 * po/ru.po: Update Russion translation from translation project.
14107
ccdad15d
AC
141082013-04-17 Adam Conrad <adconrad@0c3.net>
14109
14110 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14111 and setfsgid.
14112
0f122b8d
CD
141132013-04-17 Carlos O'Donell <carlos@redhat.com>
14114
5c5b07da 14115 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 14116 * configure: Regenerate.
5c5b07da 14117 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
14118 Add example to error message.
14119 * sysdeps/i386/configure: Regenerate.
14120
037714dd
SP
141212013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14122
14123 * benchtests/Makefile (bench): Add cos, tan, slowcos and
14124 slowtan.
14125 * benchtests/cos-inputs: New file.
14126 * benchtests/slowcos-inputs: New file.
14127 * benchtests/slowcos.c: New file.
14128 * benchtests/slowtan-inputs: New file.
14129 * benchtests/slowtan.c: New file.
14130 * benchtests/tan-inputs: New file.
14131
e913141d
RM
141322013-04-16 Roland McGrath <roland@hack.frob.com>
14133
14134 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14135 considered kosher.
14136
a2964074
SP
141372013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14138
4856bcd2
SP
14139 * benchtests/Makefile: Include cppflags-iterator.mk to add
14140 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14141
a2964074
SP
14142 * Makefile.in (bench-clean): New target.
14143 * benchtests/Makefile (bench-clean): Likewise.
14144
9fbf9aca
DH
141452013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
14146
14147 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14148
207d1e2a
TS
141492013-04-15 Thomas Schwinge <thomas@codesourcery.com>
14150
14151 * stdio-common/tstdiomisc.c: Fix coding-style violation.
14152
306dfba9
AS
141532013-04-15 Andreas Schwab <schwab@suse.de>
14154
14155 * nscd/grpcache.c (cache_addgr): Properly check for short write.
14156 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14157 * nscd/pwdcache.c (cache_addpw): Likewise.
14158 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
14159 more than recsize.
14160
206a6699
SP
141612013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14162
14163 * benchtests/Makefile (bench): Write all output to
14164 bench-out.tmp together.
14165
0582f6b3
AS
141662013-04-15 Andreas Schwab <schwab@suse.de>
14167
14168 * nscd/nscd.c (main): Don't fork again after closing files.
14169
acb4325f
SP
141702013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14171
5cb26d0a
SP
14172 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14173
acb4325f
SP
14174 * benchtests/Rules (bench-deps): Collect dependencies into a
14175 single variable. Add Makefile to dependencies.
14176 ($(objpfx)bench-%.c): Depend on bench-deps.
14177
47792506
RM
141782013-04-12 Roland McGrath <roland@hack.frob.com>
14179 Xavier Roche <roche+kml2@exalead.com>
14180
14181 [BZ #15361]
14182 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14183 just that it's a file descriptor.
14184 * manual/llio.texi (Synchronizing AIO Operations): Update description
14185 for EBADF error from aio_fsync.
14186
8fc1bee5
SP
141872013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14188
14189 * Rules (bench): Move target definition...
14190 * benchtests/Makefile: ... here.
14191
aba5e333
CD
141922013-04-11 Carlos O'Donell <carlos@redhat.com>
14193
14194 * math/libm-test.inc (cos_test): Fix PI/2 test.
14195 (sincos_test): Likewise.
14196 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14197 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14198
273cdee8
AS
141992013-04-11 Andreas Schwab <schwab@suse.de>
14200
6ecec3b6
AS
14201 [BZ #13988]
14202 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14203 accept exponent character only when digits were seen.
14204 * stdio-common/Makefile (tests): Add bug26.
14205 * stdio-common/bug26.c: New file.
14206
273cdee8
AS
14207 [BZ #14293]
14208 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14209 non-freeable.
14210
8da491f5
SP
142112013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14212
01dc6df9
SP
14213 * Makeconfig (rtld-prefix): Define built linker prefix.
14214 * Rules (run-bench): Use it.
14215 * math/Makefile (run-regen-ulps): Likewise.
14216
8da491f5
SP
14217 * Rules (bench): Remove eval.
14218
abe7f530
SP
142192013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14220 Roland McGrath <roland@hack.frob.com>
14221 Ondrej Bilka <neleai@seznam.cz>
14222
14223 [BZ #15346]
14224 * time/getdate.c: Include ctype.h and alloca.h.
14225 (__getdate_r): Trim leading and trailing spaces of input.
14226 * time/tst-getdate.c (tests): Add tests with leading and
14227 trailing spaces.
14228
61c23e62
RM
142292013-04-08 Roland McGrath <roland@hack.frob.com>
14230
14231 [BZ #14280]
14232 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14233 when computing value.
14234
7208a313
CD
142352013-04-06 Carlos O'Donell <carlos@redhat.com>
14236
085b2d41
CD
14237 * math/README.libm-test (How can I generate "libm-test-ulps"?):
14238 Use testrun.sh to run libm tests.
14239
7208a313
CD
14240 [BZ #15309]
14241 * elf/dl-open.c (dl_open_worker): memset all of seen array.
14242
872c0acd
MM
142432013-04-06 Marko Myllynen <myllynen@redhat.com>
14244
14245 [BZ #15264]
14246 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14247
26510bdd
CD
142482013-04-06 Carlos O'Donell <carlos@redhat.com>
14249
14250 * Makefile.in (regen-ulps): New target.
14251 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14252 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14253 [ifneq (no,$(PERL)] (regen-ulps): New target.
14254 [ifeq (no,$(PERL)] (regen-ulps): New target.
14255 * math/libm-test.inc (ulps_file_name): Define.
14256 (output_dir): New variable.
14257 (options): Add "output-dir" option.
14258 (parse_opt): Handle 'o' case.
14259 (main): If output_dir is non-NULL use it as a prefix
14260 otherwise use "".
14261 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
14262
a01f19c8
CD
142632013-04-06 Carlos O'Donell <carlos@redhat.com>
14264
14265 [BZ #10060, #10062]
14266 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
14267 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
14268 fail configure if __sync_val_compare_and_swap is not inlined.
14269 * sysdeps/i386/configure: Regenerate.
14270 * configure.in: Build for i686 when configured for i386.
14271 * configure: Regenerate.
14272 * README: Remove i386 reference.
14273
b7a329a5
CD
142742013-04-06 Carlos O'Donell <carlos@redhat.com>
14275
14276 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
14277 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14278
bf0f50df
TS
142792013-04-05 Thomas Schwinge <thomas@codesourcery.com>
14280
ee091edf
TS
14281 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
14282 (lmsnanval): New variables.
14283 (F): Add conversion tests.
14284 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
14285 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
14286
a8b792d6
TS
14287 * stdio-common/tstdiomisc.c (F): Properly collect individual
14288 tests' results.
14289
a1cbf437
TS
14290 [BZ #14686, #15336]
14291 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
14292 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14293 Instead, use input NaN values or generate a qNaN by arithmetic
14294 operation. Also fix bugs to comply with the standard.
14295 * math/libm-test.inc (remainder_test): Add more tests.
14296
8b43a0c9
TS
14297 [BZ #15335, #15342]
14298 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
14299 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
14300 input NaN values or generate a qNaN by arithmetic operation.
14301
d91da4ce
TS
14302 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
14303 unreachable code.
14304
bf0f50df
TS
14305 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
14306 definitions.
14307
05e166c8
JM
143082013-04-03 Joseph Myers <joseph@codesourcery.com>
14309
14310 [BZ #14478]
14311 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
14312 underflowed result.
14313 * math/s_cexpf.c (__cexpf): Likewise.
14314 * math/s_cexpl.c (__cexpl): Likewise.
14315 * math/libm-test.inc (cexp_test): Add more tests.
14316
1cef1b19
AS
143172013-04-03 Andreas Schwab <schwab@suse.de>
14318
14319 [BZ #15330]
14320 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
14321 order arrays from heap if bigger than alloca cutoff.
14322
74d87055
TS
143232013-04-03 Thomas Schwinge <thomas@codesourcery.com>
14324
14325 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
14326 (SNAN_TESTS_double): Refer to GCC PR56831.
14327 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
14328 GCC PR56828.
14329
d755bba4
SP
143302013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14331
90d5d5bb
SP
14332 * Rules (bench): Move bench.out after the run is complete.
14333
73e0cd5d
SP
14334 * Rules (bench): Echo currently running benchmark.
14335
64aabd4b
SP
14336 * benchtests/Makefile (bench): Add atan and slowatan.
14337 * benchtests/atan-inputs: New file.
14338 * benchtests/slowatan-inputs: New file.
14339 * benchtests/slowatan.c: New file.
14340
c871eccd
SP
14341 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
14342 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
14343 its value.
14344
d755bba4
SP
14345 [BZ #15305]
14346 * sysdeps/unix/sysv/linux/kernel-features.h
14347 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
14348 __ASSUME_XFS_RESTRICTED_CHOWN.
14349 * sysdeps/unix/sysv/linux/pathconf.c
14350 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14351 Save and restore errno.
14352
52ce4860
JM
143532013-04-02 Joseph Myers <joseph@codesourcery.com>
14354
14355 [BZ #15327]
14356 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
14357 arguments using __kernel_casinh.
14358 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
14359 arguments using __kernel_casinhf.
14360 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
14361 arguments using __kernel_casinhl.
14362 * math/libm-test.inc (cacosh_test): Add more tests.
14363 * sysdeps/i386/fpu/libm-test-ulps: Update.
14364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14365
81f311c2
SP
143662013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14367
e7906a47
SP
14368 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
14369 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
14370
92e3664b
SP
14371 * bench/Makefile (bench): Add sin and slowsin.
14372 * benchtests/sin-inputs: New file.
14373 * benchtests/slowsin-inputs: New file.
14374 * benchtests/slowsin.c: New file.
14375
81f311c2
SP
14376 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
14377 (bench): Add slowexp and slowpow.
14378 (exp-ITER): Increase iterations.
14379 (pow-ITER): Likewise.
14380 * benchtests/exp-inputs: Change input.
14381 * benchtests/pow-inputs: Likewise.
14382 * benchtests/slowexp-inputs: New file.
14383 * benchtests/slowexp.c: New file.
14384 * benchtests/slowpow-inputs: New file.
14385 * benchtests/slowpow.c: New file.
14386
ab0f1aa9
AZ
143872013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14388
14389 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
14390 instructions.
14391 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14392 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
14393 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14394 * benchtests/Makefile: Add rint benchtest.
14395 * benchtests/rint-inputs: Input for rint benchtest.
14396
57267616
TS
143972013-04-02 Thomas Schwinge <thomas@codesourcery.com>
14398
14399 * Versions.def (libm): Add GLIBC_2.18.
14400 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
14401 hidden libm prototypes.
14402 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
14403 * math/Makefile (libm-calls): Add s_issignaling.
14404 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
14405 __issignalingf, __issignalingl. Adjust all libm.abilist files.
14406 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
14407 declaration.
14408 * math/math.h [__USE_GNU] (issignaling): New macro.
14409 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
14410 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
14411 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
14412 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
14413 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
14414 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
14415 * manual/arith.texi (issignaling): New section.
14416 * manual/libm-err-tab.pl (@all_functions): Update comment.
14417 * math/gen-libm-test.pl (parse_args): Apply special handling for
14418 issignaling.
14419 * math/libm-test.inc (print_float, issignaling_test): New
14420 functions.
14421 (check_float_internal): Add issignaling checks.
14422 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
14423 default definition.
14424 * sysdeps/powerpc/math-tests.h: New file.
14425 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
14426 tests.
14427 * math/test-snan.c (TEST_FUNC): Likewise.
14428
6142896d
DM
144292013-03-30 David S. Miller <davem@davemloft.net>
14430
14431 * po/de.po: Update from translation team.
14432
ccc8cadf
JM
144332013-03-30 Joseph Myers <joseph@codesourcery.com>
14434
14435 [BZ #10357]
14436 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14437 imaginary part less than 1.0 and real part less than 0.5
14438 specially.
14439 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14440 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14441 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
14442 (cacos_test): Add more tests.
14443 (casin_test): Likewise.
14444 (casinh_test): Likewise.
14445 * sysdeps/i386/fpu/libm-test-ulps: Update.
14446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14447
0f6a8d4b
SP
144482013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14449
0d1029de
SP
14450 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
14451 ONE with its value.
14452
c2d94018
SP
14453 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
14454 (__pow_mp): Replace ONE and MONE with their values.
14455 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14456 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
14457 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14458 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
14459 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14460 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14461
27ec37f1
SP
14462 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
14463
a64d7e0e
SP
14464 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
14465 (__pow_mp): Replace ZERO and MZERO with their values.
14466 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14467 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14468 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14469 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14470 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14471 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
14472 (__sqr): Likewise.
14473
d26dd3eb
SP
14474 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
14475
0f6a8d4b
SP
14476 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
14477
e57b0c61
RM
144782013-03-28 Roland McGrath <roland@hack.frob.com>
14479
14480 * include/stdlib.h [!SHARED] (__call_tls_dtors):
14481 Declare with __attribute__ ((weak)).
14482 * stdlib/exit.c (__libc_atexit) [!SHARED]:
14483 Call __call_tls_dtors only if it's not NULL.
14484
356b3480
RM
144852013-03-28 Roland McGrath <roland@hack.frob.com>
14486
288f7d79
RM
14487 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
14488 didn't do it already, then set _dl_phdr and _dl_phnum based on the
14489 magic __ehdr_start linker symbol if it's defined.
14490 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
14491 them up here if it was already done.
14492
dc0a0263
RM
14493 * elf/dl-support.c (_dl_phdr): Make pointer to const.
14494 (_dl_aux_init): Use const in cast when setting it.
14495 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
14496 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
14497 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
14498
3d3436ae
RM
14499 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
14500 Declare them here.
14501 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
14502 * csu/libc-tls.c: Nor here.
14503 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
14504
356b3480
RM
14505 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
14506 (__libc_message): Never call vsyslog.
14507
b0f1246a
AM
145082013-03-28 Alan Modra <amodra@gmail.com>
14509
14510 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
14511 Define as empty.
14512 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
14513 Likewise.
14514
fbbe2b9a
AZ
145152013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14516
14517 [BZ #15214]
14518 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
14519 underflow.
14520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14521
1728ab37
SP
145222013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14523
7a86be6e
SP
14524 [BZ #15304]
14525 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14526 Don't add gid passed as argument.
14527
1728ab37
SP
14528 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
14529
3a7182a1
JM
145302013-03-27 Joseph Myers <joseph@codesourcery.com>
14531
14532 [BZ #15307]
14533 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14534 imaginary part between 1.0 and 1.5 and real part less than 0.5
14535 specially.
14536 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14537 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14538 * math/libm-test.inc (cacos_test): Add more tests.
14539 (casin_test): Likewise.
14540 (casinh_test): Likewise.
14541 * sysdeps/i386/fpu/libm-test-ulps: Update.
14542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14543
6f2e90e7
SP
145442013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14545
5739f705
SP
14546 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
14547 constants.
14548 (norm): Likewise.
14549 (denorm): Likewise.
14550 (__dbl_mp): Likewise.
14551 (add_magnitudes): Likewise.
14552 (sub_magnitudes): Likewise.
14553 (__add): Likewise.
14554 (__sub): Likewise.
14555 (__mul): Likewise.
14556 (__sqr): Likewise.
14557 (__inv): Likewise.
14558 (__dvd): Likewise.
14559
e375e83d
SP
14560 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
14561 commented code.
14562 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
14563 (__dubcos): Likewise.
14564 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
14565 (__ieee754_acos): Likewise.
14566 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14567 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
14568 (__exp1): Likewise.
14569 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14570 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14571 (log1): Likewise.
14572 (my_log2): Likewise.
14573 (checkint): Likewise.
14574 * sysdeps/ieee754/dbl-64/e_remainder.c
14575 (__ieee754_remainder): Likewise.
14576 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14577 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14578 (bsloww): Likewise.
14579 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14580
6f2e90e7
SP
14581 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
14582 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
14583 MANTISSA_STORE_T to store computations on mantissa. Use
14584 macros for rounding and division.
14585 (denorm): Likewise.
14586 (__dbl_mp): Likewise.
14587 (add_magnitudes): Likewise.
14588 (sub_magnitudes): Likewise.
14589 (__mul): Likewise.
14590 (__sqr): Likewise.
14591 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
14592 powers of two in terms of TWOPOW macro.
14593 (mp_no): Make type of mantissa as MANTISSA_T.
14594 [!RADIXI]: Define RADIXI.
14595 [!TWO52]: Define TWO52.
14596 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
14597
fce14d4e
AZ
145982013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14599
14600 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
14601 llroundl symbol when building for PPC32.
14602
9ad027fb
MW
146032013-03-24 Mark H Weaver <mhw@netris.org>
14604
14605 * manual/arith.texi (Normalization Functions): Fix prototypes for
14606 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
14607
e42a38dd
AZ
146082013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14609
14610 [BZ #13889]
14611 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
14612 high value to check if expl overflow.
14613 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
14614 to check for underflow and overflow.
14615 * math/libm-test.inc: Add exp test.
14616
2e0fb521
DL
146172013-03-21 Dmitry V. Levin <ldv@altlinux.org>
14618
14619 [BZ #11120]
14620 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
14621 with NOT_IN_libc.
14622
b5784d95
AZ
146232013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14624
14625 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
14626 symbol.
14627
5aa4a1a1
TS
146282013-03-21 Thomas Schwinge <thomas@codesourcery.com>
14629
bdef0be7
TS
14630 * math/gen-libm-test.pl (parse_args, special_functions): Properly
14631 wrap blocks consisting of several statements.
14632
5aa4a1a1
TS
14633 * sysdeps/generic/math-tests.h: New file.
14634 * sysdeps/i386/fpu/math-tests.h: Likewise.
14635 * math/test-snan.c: Include it.
14636 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
14637
98c48fe5
JM
146382013-03-21 Joseph Myers <joseph@codesourcery.com>
14639
14640 [BZ #15285]
14641 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
14642 (__ieee754_j0l): Do not improve calculations using cos of twice
14643 input for inputs above LDBL_MAX / 2.0L.
14644 (__ieee754_y0l): Likewise.
14645 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
14646 (__ieee754_j1l): Do not improve calculations using cos of twice
14647 input for inputs above LDBL_MAX / 2.0L.
14648 (__ieee754_y1l): Likewise.
14649 * math/libm-test.inc (j0_test): Add another test.
14650 (j1_test): Likewise.
14651 (y0_test): Likewise.
14652 (y1_test): Likewise.
14653 * sysdeps/i386/fpu/libm-test-ulps: Update.
14654
3775a8bc
SP
146552013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14656
14657 * Rules ($(objpfx)bench-%.c): Include code from a C source
14658 file.
14659
0a1b2ae6
JM
146602013-03-21 Joseph Myers <joseph@codesourcery.com>
14661
14662 [BZ #15287]
14663 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14664 imaginary part 1.0 and real part less than 0.5 specially.
14665 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14666 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14667 * math/libm-test.inc (cacos_test): Add more tests.
14668 (casin_test): Likewise.
14669 (casinh_test): Likewise.
14670 * sysdeps/i386/fpu/libm-test-ulps: Update.
14671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14672
b33d4ce4
SP
146732013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14674
14675 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
14676 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
14677
bef0b507
JM
146782013-03-20 Joseph Myers <joseph@codesourcery.com>
14679
14680 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
14681 * config.make.in (config-cflags-sse4): Remove variable.
14682 (config-cflags-avx): Likewise.
14683 (config-cflags-sse2avx): Likewise.
14684 (config-cflags-novzeroupper): Likewise.
14685 (config-asflags-i686): Likewise.
14686 (have-mfma4): Likewise.
14687 (have-as-vis3): Likewise.
14688 (MIG): Likewise.
14689 * configure.in (MIG): Do not AC_SUBST.
14690 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
14691 (libc_cv_cc_sse4): Do not AC_SUBST.
14692 (libc_cv_cc_avx): Likewise.
14693 (libc_cv_cc_sse2avx): Likewise.
14694 (libc_cv_cc_novzeroupper): Likewise.
14695 (libc_cv_cc_fma4): Likewise.
14696 (libc_cv_as_i686): Likewise.
14697 (libc_cv_sparc_as_vis3): Likewise.
14698 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
14699 LIBC_CONFIG_VAR.
14700 (config-asflags-i686): Likewise.
14701 (config-cflags-avx): Likewise.
14702 (config-cflags-sse2avx): Likewise.
14703 (have-mfma4): Likewise.
14704 (config-cflags-novzeroupper): Likewise.
14705 * sysdeps/mach/configure.in (MIG): Likewise.
14706 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
14707 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
14708 LIBC_CONFIG_VAR.
14709 (config-cflags-avx): Likewise.
14710 (config-cflags-sse2avx): Likewise.
14711 (have-mfma4): Likewise.
14712 (config-cflags-novzeroupper): Likewise.
14713 * configure: Regenerated.
14714 * sysdeps/i386/configure: Likewise.
14715 * sysdeps/mach/configure: Likewise.
14716 * sysdeps/sparc/configure: Likewise.
14717 * sysdeps/x86_64/configure: Likewise.
14718
912cc4b3
RM
147192013-03-20 Roland McGrath <roland@hack.frob.com>
14720
14721 [BZ #14812]
14722 * locale/programs/localedef.c (options): Put N_ translation marker
14723 on argument names, not just descriptions.
14724
04eed2b0
MS
147252013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14726
14727 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
14728
a065ceff
OB
147292013-03-20 Ondřej Bílka <neleai@seznam.cz>
14730
9bb2a810 14731 [BZ #14176]
a065ceff
OB
14732 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
14733
a600e5ce
RM
147342013-03-19 Roland McGrath <roland@hack.frob.com>
14735
14736 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
14737 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
14738 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
14739 [!BEFORE_ABORT] (before_abort): New function.
14740 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
14741 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
14742 (writev_for_fatal): New function.
14743 (WRITEV_FOR_FATAL): New macro; call that.
14744 (backtrace_and_maps): New function.
14745 (BEFORE_ABORT): New macro; call that.
14746 (struct str_list): Type removed.
14747 (__libc_message, __libc_fatal): Functions removed.
14748 Include <sysdeps/posix/libc_fatal.c> instead.
14749
6b18bea6
JM
147502013-03-19 Joseph Myers <joseph@codesourcery.com>
14751
14752 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
14753 constants.
14754 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
14755 double constants.
14756
aaa8cb4b
AS
147572013-03-19 Andreas Schwab <schwab@suse.de>
14758
44673770
AS
14759 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
14760 * sysdeps/gnu/configure: Regenerate.
14761
aaa8cb4b
AS
14762 * configure.in: Substitute libc_cv_rtlddir.
14763 * configure: Regenerate.
14764 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
14765 * Makeconfig (rtlddir, inst_rtlddir): New variables.
14766 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
14767 * elf/Makefile (install-others, CFLAGS-interp.c)
14768 (ldso_install, common-ldd-rewrite): Likewise.
14769 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
14770 $(inst_slibdir)/$(rtld-installed-name).
14771 * scripts/rellns-sh: Add -p option.
14772 * Makerules (make-shlib-link): Use rellns-sh to get relative name
14773 for source.
14774
d3cfc668
SP
147752013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14776
14777 * manual/nptl.texi: Renamed to ...
14778 * manual/threads.texi: ... this.
14779 * manual/Makefile (chapters): Update.
14780
0e2b9cdd
RM
147812013-03-18 Roland McGrath <roland@hack.frob.com>
14782
14783 [BZ #14812]
14784 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
14785 on argument names, not just descriptions.
0e2b9cdd
RM
14786 * malloc/memusagestat.c (options): Likewise.
14787 * nss/getent.c (options): Likewise.
63270c24
RM
14788
147892013-03-18 Benno Schulenberg <bensberg@justemail.net>
14790
14791 [BZ #14812]
14792 * iconv/iconv_prog.c (options): Put N_ translation marker
14793 on argument names, not just descriptions.
14794 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 14795
b2e1393c
OB
147962013-03-18 Ondrej Bilka <neleai@seznam.cz>
14797
14798 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
14799 implementation which is faster on all x86_64 architectures.
14800 Tested on AMD, Intel Nehalem, SNB, IVB.
14801 * sysdeps/x86_64/strnlen.S: Likewise.
14802
14803 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14804 Remove all multiarch strlen and strnlen versions.
14805 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14806 Remove strlen and strnlen related parts.
14807
14808 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
14809 Inline strlen part.
14810 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
14811
14812 * sysdeps/x86_64/multiarch/strlen.S: Remove.
14813 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
14814 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
14815 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
14816 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14817 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
14818
ec4ff04d
CD
148192013-03-17 Carlos O'Donell <carlos@redhat.com>
14820
14821 * manual/memory.texi (Malloc Tunable Parameters):
14822 Sort parameters alphabetically. Add comments for missing entries.
14823
cd18e90a
DM
148242013-03-17 David S. Miller <davem@davemloft.net>
14825
14826 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14827
2a185d32
JM
148282013-03-16 Joseph Myers <joseph@codesourcery.com>
14829
d2f9799e
JM
14830 [BZ #15283]
14831 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
14832 for arguments at most half maximum finite value.
14833 * math/libm-test.inc (j0_test): Add more tests.
14834 (j1_test): Likewise.
14835 (y0_test): Likewise.
14836 (y1_test): Likewise.
14837 * sysdeps/i386/fpu/libm-test-ulps: Update.
14838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14839
2a185d32
JM
14840 [BZ #14155]
14841 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
14842 1 / x and functions P and Q for arguments above 0x1p256L.
14843 (__ieee754_y0l): Likewise.
14844 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14845 (__ieee754_y1l): Likewise.
14846 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
14847 (j1_test): Likewise.
14848 (y0_test): Likewise.
14849 (y1_test): Likewise.
14850
6cbec759
TS
148512013-03-16 Thomas Schwinge <thomas@codesourcery.com>
14852
14853 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
14854 variable.
14855
bc16e260
RM
148562013-03-15 Roland McGrath <roland@hack.frob.com>
14857
aefc9b8c
RM
14858 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
14859 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
14860 zero since it's initialized to EXEC_PAGESIZE.
14861
bc16e260
RM
14862 * sysdeps/unix/sysv/linux/ldsodefs.h
14863 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
14864 * sysdeps/generic/ldsodefs.h: ... here.
14865
a57da955
TS
148662013-03-15 Thomas Schwinge <thomas@codesourcery.com>
14867
af00a34d
TS
14868 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
14869
495ded2c
TS
14870 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
14871 math/test-snan.c.
14872 * math/test-snan.c: Renamed from
14873 sysdeps/powerpc/fpu/test-powerpc-snan.c.
14874 * math/Makefile (tests): Add test-snan.
14875 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
14876 test-powerpc-snan.
14877
777b0332
TS
14878 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
14879 SUFFIX. Initialize qNaN_var with __builtin_nan family of
14880 functions.
14881 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
14882 __builtin_nan family of functions.
14883 * math/libm-test.inc (initialize): Initialize qnan_value with
14884 __builtin_nan family of functions.
14885 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
14886 Remove variables.
14887 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
14888 Remove functions.
14889 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
14890 storage class. Initialize qNaN_var and sNaN_var with
14891 __builtin_nan and __builtin_nans families of functions,
14892 respectively.
14893
64d063b8
TS
14894 * math/libm-test.inc (acosh_test): Also test with qNaN input.
14895 (sqrt_test): Remove duplicate test with qNaN input.
14896 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
14897 (round_test, signbit_test, significand_test): Note missing +/-Inf
14898 as well as qNaN tests.
14899
67e971f1
TS
14900 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
14901 qNaN_var. Fix a few strings, too.
14902 * math/libm-test.inc (nan_value): Rename to qnan_value.
14903 * math/gen-libm-test.pl (%beautify): Adjust to that.
14904 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
14905 * math/test-misc.c (main): Likewise.
14906 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
14907 to __qnan_bytes, and __qnan_union, respectively.
14908 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
14909 Likewise.
14910 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
14911 and lqnanval, respectively.
14912 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
14913 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
14914 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
14915 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
14916
64487e12
TS
14917 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
14918 * math/test-misc.c (main) [__x86_64__]: Enable test for long
14919 doubles.
14920
e015e27b
TS
14921 * math/test-misc.c (main): Fix copy'n'pastos.
14922 * misc/tst-efgcvt.c (special): Likewise.
14923
a57da955
TS
14924 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
14925 Remove declarations.
14926
1e380345
SP
149272013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14928
14929 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
14930 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
14931 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
14932 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
14933
ef26eece
AZ
149342013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14935
14936 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
14937 macro to return vdso values correctly in IFUNC implementations.
14938 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14939 Optimization by using IFUNC.
14940
8cfdb7e0
SP
149412013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14942 Richard Henderson <rth@redhat.com>
14943 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14944
14945 * Makefile.in (bench): New target.
14946 * NEWS: Mention the benchmark framework.
14947 * Rules (bench): Likewise.
14948 (binaries-bench): Generate binaries for functions to
14949 benchmark.
14950 * benchtests/Makefile: New makefile for benchmark tests.
14951 * benchtests/bench-skeleton.c: New skeleton file for benchmark
14952 programs.
14953 * benchtests/exp-inputs: New input file for EXP function.
14954 * benchtests/pow-inputs: New input file for POW function.
14955 * scripts/bench.pl: New script to generate source files for
14956 benchmark programs.
14957
bcda9880
SP
149582013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14959
d22ca8cd
SP
14960 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
14961 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
14962 computations on mantissa. Use macros for rounding and
14963 division.
14964 (denorm): Likewise.
14965 (__dbl_mp): Likewise.
14966 (add_magnitudes): Likewise.
14967 (sub_magnitudes): Likewise.
14968 (__mul): Likewise.
14969 (__sqr): Likewise.
14970 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
14971 powers of two in terms of TWOPOW macro.
14972 (mp_no): Make type of mantissa as MANTISSA_T.
14973 [!RADIXI]: Define RADIXI.
14974 [!TWO52]: Define TWO52.
14975 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
14976
bcda9880
SP
14977 * manual/nptl.texi (cindex): Modify threads to pthreads.
14978
06d5adfb
JM
149792013-03-15 Joseph Myers <joseph@codesourcery.com>
14980
14981 * sysdeps/x86_64/preconfigure: Regenerated.
14982
41c7328e
JM
149832013-03-14 Joseph Myers <joseph@codesourcery.com>
14984
14985 [BZ #14155]
14986 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
14987 0x1p28 and above.
14988 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
14989 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
14990 0x1p28 and above.
14991 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
14992 * math/libm-test.inc (j0_test): Do not allow one spurious
14993 underflow exception.
14994 (y1_test): Likewise.
14995
e25cfa60
SP
149962013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14997
0409959c
SP
14998 * manual/Makefile (chapters): Add nptl.
14999 * manual/debug.texi (Debugging Support): Add link to Threads
15000 chapter.
15001 * manual/nptl.texi: New file.
15002
e25cfa60
SP
15003 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15004
58a1335e
PB
150052013-03-14 Petr Baudis <pasky@ucw.cz>
15006
15007 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15008 for non-NULL pointer before the memory validity test. Pointed
15009 out by Holger Brunck <holger.brunck@keymile.com>.
15010
9dc7c64f
AS
150112013-03-13 Andreas Schwab <schwab@suse.de>
15012
15013 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15014 instead of .os.
15015
54206aa6
JM
150162013-03-13 Joseph Myers <joseph@codesourcery.com>
15017
15018 * timezone/zic.c: Update from tzcode 2013b.
15019
e98cdb38
CD
150202013-03-12 Carlos O'Donell <carlos@redhat.com>
15021
15022 * manual/install.texi (Configuring and compiling):
15023 Mention i686 and i586.
15024 * INSTALL: Regenerate.
15025
9967e003
RM
150262013-03-12 Roland McGrath <roland@hack.frob.com>
15027
15028 * sysdeps/init_array/elf-init.c: New file.
15029 * csu/elf-init.c
15030 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15031 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15032
15033 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15034 __gmon_start__ as global, but as static with a .preinit_array pointer.
15035 * sysdeps/init_array/gmon-start.c: New file. Use that.
15036 * sysdeps/init_array/crti.S: New file, empty except for comments.
15037 * sysdeps/init_array/crtn.S: Likewise.
15038
e6b5a293 150392013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
15040
15041 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15042 definining bcopy.
80f844c9
OB
15043 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15044 Remove Prefer_SSE_for_memop.
15045 * sysdeps/x86_64/multiarch/init-arch.h: Remove
15046 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15047 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
15048 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15049 memset-x86-64.
80f844c9 15050 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 15051 Remove bzero, memset ifunc support.
80f844c9
OB
15052 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15053 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15054 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15055 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15056
fb6b0fcb
AS
150572013-03-11 Andreas Schwab <schwab@suse.de>
15058
15059 [BZ #15234]
15060 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15061 by SHLIB_COMPAT.
15062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15063 (GLIBC_2.16): Remove pthread_atfork.
15064
3e6bd4b1
PP
150652013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15066
15067 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15068 (ptestcases.h): Likewise.
15069
222d7f00
RM
150702013-03-08 Roland McGrath <roland@hack.frob.com>
15071
15072 * Makeconfig ($(common-objpfx)config.status): Depend on
15073 sysdeps/*/preconfigure{,.in} too.
15074
1ba4f030
JM
150752013-03-08 Joseph Myers <joseph@codesourcery.com>
15076
a222d91a
JM
15077 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15078 (__free_hook): Use void * instead of __malloc_ptr_t.
15079 (__malloc_hook): Likewise.
15080 (__realloc_hook): Likewise.
15081 (__memalign_hook): Likewise.
15082 (__after_morecore_hook): Likewise.
15083 * malloc/arena.c (save_malloc_hook): Likewise.
15084 (save_free_hook): Likewise.
15085 * malloc/hooks.c (malloc_hook_ini): Likewise.
15086 (realloc_hook_ini): Likewise.
15087 (memalign_hook_ini): Likewise.
15088 * malloc/malloc.c (malloc_hook_ini): Likewise.
15089 (realloc_hook_ini): Likewise.
15090 (memalign_hook_ini): Likewise.
15091 (__free_hook): Likewise.
15092 (__malloc_hook): Likewise.
15093 (__realloc_hook): Likewise.
15094 (__memalign_hook): Likewise.
15095 (__libc_malloc): Likewise.
15096 (__libc_free): Likewise.
15097 (__libc_realloc): Likewise.
15098 (__libc_memalign): Likewise.
15099 (__libc_valloc): Likewise.
15100 (__libc_pvalloc): Likewise.
15101 (__libc_calloc): Likewise.
15102 (__posix_memalign): Likewise.
15103 * malloc/morecore.c (__sbrk): Likewise.
15104 (__default_morecore): Likewise.
15105
5cc45e10
JM
15106 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15107
dd54b864
JM
15108 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15109 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15110 __malloc_ptrdiff_t.
15111
1ba4f030
JM
15112 * malloc/malloc.h (__malloc_size_t): Remove macro.
15113 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15114 __malloc_size_t.
15115 (old_memalign_hook): Likewise.
15116 (old_realloc_hook): Likewise.
15117 (struct hdr): Likewise.
15118 (flood): Likewise.
15119 (mallochook): Likewise.
15120 (memalignhook): Likewise.
15121 (reallochook): Likewise.
15122 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15123 (tr_old_realloc_hook): Likewise.
15124 (tr_old_memalign_hook): Likewise.
15125 (tr_mallochook): Likewise.
15126 (tr_reallochook): Likewise.
15127 (tr_memalignhook): Likewise.
15128
edf66e57
AZ
151292013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15130
15131 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15132 default_ldbl_pack and using as default implementation.
15133 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15134 implementation.
15135 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15136 redundant definition.
15137 (ldbl_insert_mantissa): Likewise.
15138 (ldbl_canonicalize): Likewise.
15139 (ldbl_nearbyint): Likewise.
15140 (ldbl_pack): Rename to ldbl_pack_ppc.
15141 (ldbl_unpack): Rename to ldbl_unpack_ppc.
15142 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15143 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15144
6d9145d8
SP
151452013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15146
15147 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15148 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15149 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15150 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15151 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15152 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15153 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15154 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15155
4dd4e157
AJ
151562013-03-07 Andreas Jaeger <aj@suse.de>
15157
15158 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15159 bits/mman-linux.h.
15160
adbb8027
SP
151612013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15162
ce544b5b
SP
15163 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15164 Include mpa.h and declare __MPEXP.
15165 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15166 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15167 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15168 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15169 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15170 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15171 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15172
4cc149fd
SP
15173 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15174 (__slowpow): Use long double EXPL and LOGL functions to
15175 compute POW.
15176 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15177 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15178 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15179 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15180 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15181 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15182
e6ebd4a7
SP
15183 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15184 intermediate variable to calculate exponent.
15185 (__sqr): Likewise.
15186 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15187 Likewise.
15188 (__sqr): Likewise.
15189
82a9811d
SP
15190 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15191 [!NO__SQR]: Define __sqr.
15192 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15193 and NO__SQR. Remove all code except __mul and __sqr. Include
15194 sysdeps/ieee754/dbl-64/mpa.c.
15195 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15196
adbb8027
SP
15197 [BZ #12723]
15198 * posix/Makefile (tests): Add tst-pathconf.
15199 * posix/tst-pathconf.c: New test case.
15200 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15201 _PC_PIPE_BUF.
15202 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15203
39120df9
PF
152042013-03-06 Patsy Franklin <pfrankli@redhat.com>
15205
15206 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15207
67525cb8
AJ
152082013-03-06 Andreas Jaeger <aj@suse.de>
15209
664a9ce4
AJ
15210 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15211 definition via __MAP_ANONYMOUS.
15212
8e39047d
AJ
15213 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15214 it's not part of Linux headers.
15215
67525cb8
AJ
15216 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15217 (MAP_HUGE_MASK): Define.
15218
15219 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15220 Define.
15221 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15222 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15223 Define.
15224 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15225 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15226 Define.
15227 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15228 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15229 Define.
15230 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15231
15232 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15233 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15234 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15235 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15236 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15237 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15238
15239 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15240 Handle f2fs.
15241
15242 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15243 Handle f2fs and efivarfs.
15244
15245 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15246 f2fs.
15247
15248 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15249 (EFIVARFS_MAGIC): Add.
15250 (F2FS_LINK_MAX): Add.
15251
e1b42695
PP
152522013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15253
15254 * stdio-common/vfprintf.c: Replace __builtin_expect with
15255 __glibc_unlikely.
15256
2d67d91a
JM
152572013-03-06 Joseph Myers <joseph@codesourcery.com>
15258
15259 [BZ #13550]
15260 * sysdeps/generic/bp-sym.h: Remove file.
15261 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
15262 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
15263 <bp-sym.h> and <bp-asm.h>.
15264 (__longjmp): Don't use BP_SYM.
15265 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
15266 and <bp-asm.h>.
15267 (memcpy): Don't use BP_SYM.
15268 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
15269 <bp-sym.h> and <bp-asm.h>.
15270 (memcpy): Don't use BP_SYM.
15271 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
15272 <bp-asm.h>.
15273 (memcpy): Don't use BP_SYM.
15274 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
15275 <bp-asm.h>.
15276 (memset): Don't use BP_SYM.
15277 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15278 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15279 (__bzero): Don't use BP_SYM.
15280 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15281 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15282 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
15283 <bp-sym.h> and <bp-asm.h>.
15284 (memcmp): Don't use BP_SYM. Remove comment about bounded
15285 pointers.
15286 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
15287 <bp-sym.h> and <bp-asm.h>.
15288 (memcpy): Don't use BP_SYM.
15289 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
15290 <bp-sym.h> and <bp-asm.h>.
15291 (memset): Don't use BP_SYM.
15292 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15293 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15294 (__bzero): Don't use BP_SYM.
15295 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15296 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15297 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
15298 <bp-sym.h> and <bp-asm.h>.
15299 (strncmp): Don't use BP_SYM. Remove comment about bounded
15300 pointers.
15301 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
15302 <bp-sym.h> and <bp-asm.h>.
15303 (memcpy): Don't use BP_SYM.
15304 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
15305 <bp-sym.h> and <bp-asm.h>.
15306 (memset): Don't use BP_SYM.
15307 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15308 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15309 (__bzero): Don't use BP_SYM.
15310 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15311 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15312 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
15313 <bp-sym.h> and <bp-asm.h>.
15314 (__memchr): Don't use BP_SYM.
15315 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
15316 <bp-sym.h> and <bp-asm.h>.
15317 (memcmp): Don't use BP_SYM. Remove comment about bounded
15318 pointers.
15319 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
15320 <bp-sym.h> and <bp-asm.h>.
15321 (memcpy): Don't use BP_SYM.
15322 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
15323 <bp-sym.h> and <bp-asm.h>.
15324 (__mempcpy): Don't use BP_SYM.
15325 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
15326 <bp-sym.h> and <bp-asm.h>.
15327 (__memrchr): Don't use BP_SYM.
15328 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
15329 <bp-sym.h> and <bp-asm.h>.
15330 (memset): Don't use BP_SYM.
15331 (__bzero): Likewise.
15332 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
15333 <bp-sym.h> and <bp-asm.h>.
15334 (__rawmemchr): Don't use BP_SYM.
15335 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
15336 <bp-sym.h> and <bp-asm.h>.
15337 (__STRCMP): Don't use BP_SYM.
15338 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
15339 <bp-sym.h> and <bp-asm.h>.
15340 (strchr): Don't use BP_SYM.
15341 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
15342 <bp-sym.h> and <bp-asm.h>.
15343 (__strchrnul): Don't use BP_SYM.
15344 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
15345 <bp-sym.h> and <bp-asm.h>.
15346 (strlen): Don't use BP_SYM.
15347 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
15348 <bp-sym.h> and <bp-asm.h>.
15349 (strncmp): Don't use BP_SYM. Remove comment about bounded
15350 pointers.
15351 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
15352 <bp-sym.h> and <bp-asm.h>.
15353 (__strnlen): Don't use BP_SYM.
15354 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
15355 <bp-sym.h> and <bp-asm.h>.
15356 (__GI__setjmp): Don't use BP_SYM.
15357 (_setjmp): Likewise.
15358 (__sigsetjmp): Likewise.
15359 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
15360 (L(start_addresses)): Don't use BP_SYM.
15361 (_start): Likewise.
15362 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
15363 <bp-asm.h>.
15364 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
15365 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
15366 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15367 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15368 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
15369 <bp-asm.h>.
15370 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
15371 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
15372 about bounded pointers.
15373 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15374 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15375 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
15376 <bp-asm.h>.
15377 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
15378 about bounded pointers. Remove GKM FIXME comments.
15379 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15380 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
15381 <bp-asm.h>.
15382 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
15383 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
15384 Remove GKM FIXME comments.
15385 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15386 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15387 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
15388 <bp-asm.h>.
15389 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
15390 about bounded pointers. Remove GKM FIXME comment.
15391 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
15392 and <bp-asm.h>.
15393 (strncmp): Don't use BP_SYM. Remove comment about bounded
15394 pointers.
15395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
15396 <bp-sym.h> and <bp-asm.h>.
15397 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
15399 <bp-sym.h> and <bp-asm.h>.
15400 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
15401 comment.
15402
cdcf361f
PP
154032013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15404
15405 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
15406 call free(NULL).
15407
3c4a2b15
DM
154082013-03-05 David S. Miller <davem@davemloft.net>
15409
15410 * po/es.po: Update from translation team.
15411
cdcf361f 154122013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
15413
15414 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
15415 <bits/mman-linux.h>.
15416 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15417 is fine.
15418 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
15419 <bits/mman-linux.h> to end of file.
15420 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15421 is fine.
15422 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
15423 <bits/mman-linux.h> to end of file.
15424 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15425 is fine.
15426 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
15427 <bits/mman-linux.h> to end of file.
15428
15429 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
15430 (MCL_CURRENT, MCL_FUTURE): Define here.
15431
5f67c04f
AK
154322013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15433
8a4473cc 15434 [BZ #15232]
5f67c04f
AK
15435 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
15436 attribute_hidden.
15437 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15438
c3e94a95
AK
154392013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15440
15441 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
15442 fourth parameter needed for rt_sigprocmask syscall.
15443 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15444 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15445 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15446 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15447 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15448 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
15449
cfb6382a
JM
154502013-03-04 Joseph Myers <joseph@codesourcery.com>
15451
15452 [BZ #13550]
15453 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
15454 comment about bounded pointers.
15455 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
15456 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
15457
539d8e01
AJ
154582013-03-04 Andreas Jaeger <aj@suse.de>
15459
15460 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
15461 common definitions.
15462
15463 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
15464 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
15465 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
15466 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15467 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
15468 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15469
2e167a70 154702013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
15471
15472 [BZ #15055]
15473 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
15474 __ieee754_sqrl instead of __sqrl.
15475
68508633
JM
154762013-03-01 Joseph Myers <joseph@codesourcery.com>
15477
15478 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
15479 * sysdeps/powerpc/fpu_control.h: ... here.
15480 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
15481 * sysdeps/powerpc/bits/fenvinline.h: ... here.
15482 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
15483 * sysdeps/powerpc/bits/mathinline.h: ... here.
15484
7775448e
RM
154852013-03-01 Roland McGrath <roland@hack.frob.com>
15486
15487 * elf/dl-hwcaps.c (_dl_important_hwcaps):
15488 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
15489 to just [NEED_DL_SYSINFO_DSO].
15490 * elf/dl-support.c: Likewise.
15491 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
15492 * elf/rtld.c (dl_main): Likewise.
15493 * elf/setup-vdso.h (setup_vdso): Likewise.
15494 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
15495 * sysdeps/unix/sysv/linux/dl-sysdep.c
15496 (_dl_discover_osversion): Likewise.
15497
4e9b5995
CD
154982013-03-01 Carlos O'Donell <carlos@redhat.com>
15499
15500 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
15501 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15502
e23872c8
SP
155032013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
15504
e5c74c63
SP
15505 * NEWS: Mention libm performance improvements and non-x86 PI
15506 futex support.
15507
e23872c8
SP
15508 * csu/libc-start.c (__pthread_initialize_minimal): Change
15509 function arguments.
15510 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15511
b5510883
JM
155122013-02-28 Joseph Myers <joseph@codesourcery.com>
15513
15514 [BZ #13550]
15515 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
15516 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
15517 <bp-sym.h> and <bp-asm.h>.
15518 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15519 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
15520 and <bp-asm.h>.
15521 (memcpy): Don't use BP_SYM.
15522 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
15523 <bp-asm.h>.
15524 (__mpn_add_n): Don't use BP_SYM.
15525 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
15526 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
15527 and <bp-asm.h>.
15528 (__mpn_addmul_1): Don't use BP_SYM.
15529 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15530 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
15531 <bp-sym.h>.
15532 (_setjmp): Don't use BP_SYM.
15533 (__novmx_setjmp): Likewise.
15534 (__GI__setjmp): Likewise.
15535 (__vmx_setjmp): Likewise.
15536 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
15537 <bp-sym.h>.
15538 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
15539 (__bzero): Don't use BP_SYM.
15540 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15541 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15542 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
15543 <bp-sym.h> and <bp-asm.h>.
15544 (memcpy): Don't use BP_SYM.
15545 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
15546 <bp-sym.h> and <bp-asm.h>.
15547 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15548 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
15549 <bp-sym.h> and <bp-asm.h>.
15550 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15551 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
15552 <bp-asm.h>.
15553 (__mpn_lshift): Don't use BP_SYM.
15554 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15555 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
15556 <bp-asm.h>.
15557 (memset): Don't use BP_SYM.
15558 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15559 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15560 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
15561 <bp-asm.h>.
15562 (__mpn_mul_1): Don't use BP_SYM.
15563 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15564 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
15565 <bp-sym.h> and <bp-asm.h>.
15566 (memcmp): Don't use BP_SYM.
15567 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
15568 <bp-sym.h> and <bp-asm.h>.
15569 (memcpy): Don't use BP_SYM.
15570 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
15571 <bp-sym.h> and <bp-asm.h>.
15572 (memset): Don't use BP_SYM.
15573 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
15574 <bp-sym.h> and <bp-asm.h>.
15575 (strncmp): Don't use BP_SYM.
15576 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
15577 <bp-sym.h> and <bp-asm.h>.
15578 (memcpy): Don't use BP_SYM.
15579 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
15580 <bp-sym.h> and <bp-asm.h>.
15581 (memset): Don't use BP_SYM.
15582 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
15583 <bp-sym.h> and <bp-asm.h>.
15584 (__memchr): Don't use BP_SYM.
15585 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
15586 <bp-sym.h> and <bp-asm.h>.
15587 (memcmp): Don't use BP_SYM.
15588 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
15589 <bp-sym.h> and <bp-asm.h>.
15590 (memcpy): Don't use BP_SYM.
15591 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
15592 <bp-sym.h> and <bp-asm.h>.
15593 (__mempcpy): Don't use BP_SYM.
15594 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
15595 <bp-sym.h> and <bp-asm.h>.
15596 (__memrchr): Don't use BP_SYM.
15597 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
15598 <bp-sym.h> and <bp-asm.h>.
15599 (memset): Don't use BP_SYM.
15600 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
15601 <bp-sym.h> and <bp-asm.h>.
15602 (__rawmemchr): Don't use BP_SYM.
15603 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
15604 <bp-sym.h> and <bp-asm.h>.
15605 (__STRCMP): Don't use BP_SYM.
15606 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
15607 <bp-sym.h> and <bp-asm.h>.
15608 (strchr): Don't use BP_SYM.
15609 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
15610 <bp-sym.h> and <bp-asm.h>.
15611 (__strchrnul): Don't use BP_SYM.
15612 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
15613 <bp-sym.h> and <bp-asm.h>.
15614 (strlen): Don't use BP_SYM.
15615 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
15616 <bp-sym.h> and <bp-asm.h>.
15617 (strncmp): Don't use BP_SYM.
15618 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
15619 <bp-sym.h> and <bp-asm.h>.
15620 (__strnlen): Don't use BP_SYM.
15621 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
15622 <bp-asm.h>.
15623 (__mpn_rshift): Don't use BP_SYM.
15624 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15625 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
15626 <bp-sym.h> and <bp-asm.h>.
15627 (__sigsetjmp): Don't use BP_SYM.
15628 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
15629 (L(start_addresses)): Don't use BP_SYM.
15630 (_start): Likewise.
15631 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
15632 <bp-asm.h>.
15633 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
15634 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15635 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15636 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
15637 <bp-asm.h>.
15638 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
15639 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15640 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15641 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
15642 <bp-asm.h>.
15643 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
15644 comments.
15645 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15646 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
15647 <bp-asm.h>.
15648 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
15649 FIXME comments.
15650 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15651 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15652 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
15653 <bp-asm.h>.
15654 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
15655 comment.
15656 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
15657 and <bp-asm.h>.
15658 (strncmp): Don't use BP_SYM,
15659 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
15660 <bp-asm.h>.
15661 (__mpn_sub_n): Don't use BP_SYM.
15662 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15663 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
15664 and <bp-asm.h>.
15665 (__mpn_submul_1): Don't use BP_SYM.
15666 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
15668 <bp-sym.h> and <bp-asm.h>.
15669 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
15671 <bp-sym.h> and <bp-asm.h>.
15672 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
15673 comment.
15674
8d19fe64
SP
156752013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15676
15677 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
15678 Use ZK to minimize writes to Z.
15679 (sub_magnitudes): Simplify code a bit.
15680 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
15681 Use ZK to minimize writes to Z.
15682 (sub_magnitudes): Simplify code a bit.
15683
85bd816a
RM
156842013-02-27 Roland McGrath <roland@hack.frob.com>
15685
15686 * csu/gmon-start.c: Add special exception to license text.
15687
b5977bf2
RH
156882013-02-27 Richard Henderson <rth@redhat.com>
15689
15690 * scripts/config.guess: Update from config.git.
15691 * scripts/config.sub: Likewise.
15692
11d6e2f2
SP
156932013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15694
09c14ed2
SP
15695 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
15696
a688864e
SP
15697 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
15698
6295157a
SP
15699 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
15700
b8de2202
SP
15701 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
15702
11d6e2f2
SP
15703 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
15704
7e80ddb8
RM
157052013-02-26 Roland McGrath <roland@hack.frob.com>
15706
15707 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
15708 [$(build-shared = yes].
7e80ddb8 15709
7da6d9ed
SP
157102013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15711
45f05884
SP
15712 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
15713 (__mul): Reduce iterations for calculating mantissa.
15714
2236d359
SP
15715 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
15716 MPTWO.
15717 (__mpranred): Likewise.
15718
7da6d9ed
SP
15719 [BZ #15160]
15720 * malloc/memusagestat.c (main): Draw graphs for heap and stack
15721 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
15722
b7688c42
PE
157232013-02-26 Paul Eggert <eggert@cs.ucla.edu>
15724
15725 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
15726 Define __attribute__.
15727
53a5c423
SP
157282013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15729
15730 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
15731 unused.
15732 * posix/regex_internal.h (__attribute): Remove.
15733 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
15734 (re_string_context_at): Likewise.
15735 (bitset_not): Use __attribute__ and mark function as possibly
15736 unused.
15737 (bitset_merge): Likewise.
15738 (bitset_mask): Likewise.
15739 (re_string_char_size_at): Likewise.
15740 (re_string_wchar_at): Likewise.
15741 (re_string_elem_size_at): Likewise.
15742
60f5a8b5
SP
157432013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15744
2a983a2e
SP
15745 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
15746 code.
15747 (cc32): Likewise.
15748
e69804d1
SP
15749 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
15750 (__acr): Likewise.
15751 (__cpy): Likewise.
15752 (norm): Likewise.
15753 (denorm): Likewise.
15754 (__dbl_mp): Likewise.
15755 (add_magnitudes): Likewise.
15756 (sub_magnitudes): Likewise.
15757 (__mul): Likewise.
15758 (__inv): Likewise.
15759
2f22a1e8
SP
15760 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
15761 style.
15762
8930ddc7
SP
15763 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
15764 style.
15765
dc60cb11
SP
15766 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
15767 code.
15768
60f5a8b5
SP
15769 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
15770 up changes with default code.
15771 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
15772 Likewise.
15773
b4d1fd33
AM
157742013-02-24 Allan McRae <allan@archlinux.org>
15775
faf6f8bc
AM
15776 * manual/socket.texi (The Internet Namespace): Order menu items
15777 to match that in the file.
15778
b4d1fd33
AM
15779 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
15780 node listing of the info page menu.
15781
2366713d
JM
157822013-02-21 Joseph Myers <joseph@codesourcery.com>
15783
15784 [BZ #13550]
15785 * sysdeps/i386/bp-asm.h: Remove file.
15786 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
15787 (PARMS): Do not use macros from bp-asm.h.
15788 (S1): Likewise.
15789 (S2): Likewise.
15790 (SIZE): Likewise.
15791 (__mpn_add_n): Do not use BP_SYM
15792 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
15793 "bp-asm.h".
15794 (PARMS): Do not use macros from bp-asm.h.
15795 (S1): Likewise.
15796 (SIZE): Likewise.
15797 (__mpn_addmul_1): Do not use BP_SYM
15798 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
15799 "bp-asm.h".
15800 (PARMS): Do not use macros from bp-asm.h.
15801 (SIGMSK): Likewise.
15802 (_setjmp): Likewise. Do not use BP_SYM.
15803 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
15804 "bp-asm.h".
15805 (PARMS): Do not use macros from bp-asm.h.
15806 (SIGMSK): Likewise.
15807 (setjmp): Likewise. Do not use BP_SYM.
15808 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
15809 "bp-asm.h".
15810 (PARMS): Do not use macros from bp-asm.h.
15811 (__frexp): Do not use BP_SYM.
15812 (frexp): Likewise.
15813 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
15814 "bp-asm.h".
15815 (PARMS): Do not use macros from bp-asm.h.
15816 (__frexpf): Do not use BP_SYM.
15817 (frexpf): Likewise.
15818 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
15819 "bp-asm.h".
15820 (PARMS): Do not use macros from bp-asm.h.
15821 (__frexpl): Do not use BP_SYM.
15822 (frexpl): Likewise.
15823 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
15824 "bp-asm.h".
15825 (PARMS): Do not use macros from bp-asm.h.
15826 (__remquo): Do not use BP_SYM.
15827 (remquo): Likewise.
15828 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
15829 "bp-asm.h".
15830 (PARMS): Do not use macros from bp-asm.h.
15831 (__remquof): Do not use BP_SYM.
15832 (remquof): Likewise.
15833 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
15834 "bp-asm.h".
15835 (PARMS): Do not use macros from bp-asm.h.
15836 (__remquol): Do not use BP_SYM.
15837 (remquol): Likewise.
15838 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
15839 "bp-asm.h".
15840 (PARMS): Do not use macros from bp-asm.h.
15841 (DEST): Likewise.
15842 (SRC): Likewise.
15843 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
15844 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
15845 "bp-asm.h".
15846 (PARMS): Do not use macros from bp-asm.h.
15847 (strlen): Do not use BP_SYM.
15848 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
15849 "bp-asm.h".
15850 (PARMS): Do not use macros from bp-asm.h.
15851 (S1): Likewise.
15852 (S2): Likewise.
15853 (SIZE): Likewise.
15854 (__mpn_add_n): Do not use BP_SYM.
15855 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
15856 "bp-asm.h".
15857 (PARMS): Do not use macros from bp-asm.h.
15858 (S1): Likewise.
15859 (SIZE): Likewise.
15860 (__mpn_addmul_1): Do not use BP_SYM.
15861 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
15862 weak_alias.
15863 (bzero): Likewise.
15864 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
15865 "bp-asm.h".
15866 (PARMS): Do not use macros from bp-asm.h.
15867 (S): Likewise.
15868 (SIZE): Likewise.
15869 (__mpn_lshift): Do not use BP_SYM.
15870 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
15871 "bp-asm.h".
15872 (PARMS): Do not use macros from bp-asm.h.
15873 (DEST): Likewise.
15874 (SRC): Likewise.
15875 (LEN): Likewise.
15876 (memcpy): Likewise. Do not use BP_SYM.
15877 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
15878 libc_hidden_def and weak_alias.
15879 (mempcpy): Do not use BP_SYM in weak_alias.
15880 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
15881 "bp-asm.h".
15882 (PARMS): Do not use macros from bp-asm.h.
15883 (DEST): Likewise.
15884 (LEN): Likewise.
15885 [!BZERO_P] (CHR): Likewise.
15886 (memset): Likewise. Do not use BP_SYM.
15887 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
15888 "bp-asm.h".
15889 (PARMS): Do not use macros from bp-asm.h.
15890 (S1): Likewise.
15891 (SIZE): Likewise.
15892 (__mpn_mul_1): Do not use BP_SYM.
15893 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
15894 "bp-asm.h".
15895 (PARMS): Do not use macros from bp-asm.h.
15896 (S): Likewise.
15897 (SIZE): Likewise.
15898 (__mpn_rshift): Do not use BP_SYM.
15899 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
15900 "bp-asm.h".
15901 (PARMS): Do not use macros from bp-asm.h.
15902 (STR): Likewise.
15903 (CHR): Likewise.
15904 (strchr): Likewise. Do not use BP_SYM.
15905 (index): Do not use BP_SYM in weak_alias.
15906 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
15907 "bp-asm.h".
15908 (PARMS): Do not use macros from bp-asm.h.
15909 (DEST): Likewise.
15910 (SRC): Likewise.
15911 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
15912 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
15913 "bp-asm.h".
15914 (PARMS): Do not use macros from bp-asm.h.
15915 (strlen): Do not use BP_SYM.
15916 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
15917 "bp-asm.h".
15918 (PARMS): Do not use macros from bp-asm.h.
15919 (S1): Likewise.
15920 (S2): Likewise.
15921 (SIZE): Likewise.
15922 (__mpn_sub_n): Do not use BP_SYM.
15923 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
15924 "bp-asm.h".
15925 (PARMS): Do not use macros from bp-asm.h.
15926 (S1): Likewise.
15927 (SIZE): Likewise.
15928 (__mpn_submul_1): Do not use BP_SYM.
15929 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
15930 "bp-asm.h".
15931 (PARMS): Do not use macros from bp-asm.h.
15932 (S1): Likewise.
15933 (S2): Likewise.
15934 (SIZE): Likewise.
15935 (__mpn_add_n): Do not use BP_SYM.
15936 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
15937 weak_alias.
15938 (bzero): Likewise.
15939 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
15940 "bp-asm.h".
15941 (PARMS): Do not use macros from bp-asm.h.
15942 (BLK2): Likewise.
15943 (LEN): Likewise.
15944 (memcmp): Do not use BP_SYM.
15945 (bcmp): Do not use BP_SYM in weak_alias.
15946 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
15947 "bp-asm.h".
15948 (PARMS): Do not use macros from bp-asm.h.
15949 (DEST): Likewise.
15950 (SRC): Likewise.
15951 (LEN): Likewise.
15952 (memcpy): Likewise. Do not use BP_SYM.
15953 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
15954 "bp-asm.h".
15955 (PARMS): Do not use macros from bp-asm.h.
15956 (DEST): Likewise.
15957 (SRC): Likewise.
15958 (LEN): Likewise.
15959 (memmove): Likewise. Do not use BP_SYM.
15960 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
15961 "bp-asm.h".
15962 (PARMS): Do not use macros from bp-asm.h.
15963 (DEST): Likewise.
15964 (SRC): Likewise.
15965 (LEN): Likewise.
15966 (__mempcpy): Likewise. Do not use BP_SYM.
15967 (mempcpy): Do not use BP_SYM in weak_alias.
15968 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
15969 "bp-asm.h".
15970 (PARMS): Do not use macros from bp-asm.h.
15971 (DEST): Likewise.
15972 (LEN): Likewise.
15973 [!BZERO_P] (CHR): Likewise.
15974 (memset): Likewise. Do not use BP_SYM.
15975 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
15976 "bp-asm.h".
15977 (PARMS): Do not use macros from bp-asm.h.
15978 (STR2): Likewise.
15979 (strcmp): Do not use BP_SYM.
15980 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
15981 "bp-asm.h".
15982 (PARMS): Do not use macros from bp-asm.h.
15983 (STR): Likewise.
15984 (DELIM): Likewise.
15985 [USE_AS_STRTOK_R] (SAVE): Likewise.
15986 (FUNCTION): Likewise. Do not use BP_SYM.
15987 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
15988 aliases.
15989 (strtok_r): Likewise.
15990 (__GI___strtok_r): Likewise.
15991 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
15992 (PARMS): Do not use macros from bp-asm.h.
15993 (S): Likewise.
15994 (SIZE): Likewise.
15995 (__mpn_lshift): Do not use BP_SYM.
15996 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
15997 (PARMS): Do not use macros from bp-asm.h.
15998 (STR): Likewise.
15999 (CHR): Likewise.
16000 (__memchr): Do not use BP_SYM.
16001 (memchr): Do not use BP_SYM in weak_alias.
16002 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16003 (PARMS): Do not use macros from bp-asm.h.
16004 (BLK2): Likewise.
16005 (LEN): Likewise.
16006 (memcmp): Do not use BP_SYM.
16007 (bcmp): Do not use BP_SYM in weak_alias.
16008 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16009 (PARMS): Do not use macros from bp-asm.h.
16010 (S1): Likewise.
16011 (SIZE): Likewise.
16012 (__mpn_mul_1): Do not use BP_SYM.
16013 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16014 "bp-asm.h".
16015 (PARMS): Do not use macros from bp-asm.h.
16016 (STR): Likewise.
16017 (CHR): Likewise.
16018 (__rawmemchr): Do not use BP_SYM.
16019 (rawmemchr): Do not use BP_SYM in weak_alias.
16020 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16021 (PARMS): Do not use macros from bp-asm.h.
16022 (S): Likewise.
16023 (SIZE): Likewise.
16024 (__mpn_rshift): Do not use BP_SYM.
16025 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16026 (PARMS): Do not use macros from bp-asm.h.
16027 (SIGMSK): Likewise.
16028 (__sigsetjmp): Likewise. Do not use BP_SYM.
16029 * sysdeps/i386/start.S: Do not include "bp-sym.h".
16030 (_start): Do not use BP_SYM.
16031 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16032 (PARMS): Do not use macros from bp-asm.h.
16033 (DEST): Likewise.
16034 (SRC): Likewise.
16035 (__stpcpy): Likewise. Do not use BP_SYM.
16036 (stpcpy): Do not use BP_SYM in weak_alias.
16037 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16038 "bp-asm.h".
16039 (PARMS): Do not use macros from bp-asm.h.
16040 (DEST): Likewise.
16041 (SRC): Likewise.
16042 (LEN): Likewise.
16043 (__stpncpy): Likewise. Do not use BP_SYM.
16044 (stpncpy): Do not use BP_SYM in weak_alias.
16045 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16046 (PARMS): Do not use macros from bp-asm.h.
16047 (STR): Likewise.
16048 (CHR): Likewise.
16049 (strchr): Likewise. Do not use BP_SYM.
16050 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16051 "bp-asm.h".
16052 (PARMS): Do not use macros from bp-asm.h.
16053 (STR): Likewise.
16054 (CHR): Likewise.
16055 (__strchrnul): Likewise. Do not use BP_SYM.
16056 (strchrnul): Do not use BP_SYM in weak_alias.
16057 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16058 "bp-asm.h".
16059 (PARMS): Do not use macros from bp-asm.h.
16060 (STOP): Likewise.
16061 (strcspn): Do not use BP_SYM.
16062 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16063 "bp-asm.h".
16064 (PARMS): Do not use macros from bp-asm.h.
16065 (STR): Likewise.
16066 (STOP): Likewise.
16067 (strpbrk): Likewise. Do not use BP_SYM.
16068 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16069 "bp-asm.h".
16070 (PARMS): Do not use macros from bp-asm.h.
16071 (STR): Likewise.
16072 (CHR): Likewise.
16073 (strrchr): Likewise. Do not use BP_SYM.
16074 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16075 (PARMS): Do not use macros from bp-asm.h.
16076 (SKIP): Likewise.
16077 (strspn): Do not use BP_SYM.
16078 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16079 (PARMS): Do not use macros from bp-asm.h.
16080 (STR): Likewise.
16081 (DELIM): Likewise.
16082 (SAVE): Likewise.
16083 (FUNCTION): Likewise. Do not use BP_SYM.
16084 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16085 aliases.
16086 (strtok_r): Likewise.
16087 (__GI___strtok_r): Likewise.
16088 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16089 (PARMS): Do not use macros from bp-asm.h.
16090 (S1): Likewise.
16091 (S2): Likewise.
16092 (SIZE): Likewise.
16093 (__mpn_sub_n): Do not use BP_SYM.
16094 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16095 "bp-asm.h".
16096 (PARMS): Do not use macros from bp-asm.h.
16097 (S1): Likewise.
16098 (SIZE): Likewise.
16099 (__mpn_submul_1): Do not use BP_SYM.
16100 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16101 <bp-sym.h>.
16102 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16103 and <bp-asm.h>.
16104 (PARMS): Do not use macros from bp-asm.h.
16105 (FLAGS): Likewise.
16106 (PTID): Likewise.
16107 (TLS): Likewise.
16108 (CTID): Likewise.
16109 (__clone): Do not use BP_SYM.
16110 (clone): Do not use BP_SYM in weak_alias.
16111 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16112 and <bp-asm.h>.
16113 (PARMS): Do not use macros from bp-asm.h.
16114 (LEN): Likewise.
16115 (__mmap64): Do not use BP_SYM.
16116 (mmap64): Do not use BP_SYM in weak_alias.
16117 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16118 <bp-sym.h> and <bp-asm.h>.
16119 (PARMS): Do not use macros from bp-asm.h.
16120 (__posix_fadvise64_l64): Do not use BP_SYM.
16121 * sysdeps/unix/sysv/linux/i386/semtimedop.S
16122 (PARMS): Do not use macros from bp-asm.h.
16123 (NSOPS): Likewise.
16124 (semtimedop): Do not use BP_SYM.
16125 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16126 and <bp-asm.h>.
16127
582a3cff
AM
161282013-02-21 Allan McRae <allan@archlinux.org>
16129
16130 * manual/message.texi (Charset conversion in gettext):
16131 Move @end statement to beginning of line.
16132
bab8a695
SP
161332013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16134
80945231
SP
16135 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16136 static.
16137 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16138 Likewise.
16139
bab8a695
SP
16140 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16141 (denorm): Likewise.
16142 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16143 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16144
e21d7aa7
AK
161452013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16146
16147 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16148 tail-call to the resolved function if pltexit isn't needed.
16149
4c7a4263
SP
161502013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16151
16152 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16153 or Y being zero as being unlikely.
16154 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16155 Likewise.
16156
41f49342
CD
161572013-02-20 Carlos O'Donell <carlos@redhat.com>
16158
16159 * manual/nss.texi (System Databases and Name Service Switch):
16160 Remove frobnicate @pxref.
16161
50022a93
TS
161622013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16163
16164 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16165 __attribute__ ((unused)) to __attribute__ ((__unused__)).
16166
08cbd996
PM
161672013-02-20 Petr Machata <pmachata@redhat.com>
16168
16169 * elf/elf.h (R_ARM_TARGET1): New macro.
16170 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16171 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16172 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16173 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16174 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16175 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16176 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16177 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16178 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16179 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16180 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16181 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16182 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16183 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16184 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16185 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16186 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16187 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16188 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16189 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16190 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16191 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16192 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16193 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16194 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16195 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16196 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16197 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16198 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16199 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16200 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16201 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16202 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16203 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16204 (R_ARM_THM_GOT_BREL12): Likewise.
16205 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16206 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16207 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16208 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16209 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16210 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16211 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16212 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16213 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16214
c7b275d6
TS
162152013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16216
16217 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16218 __attribute_used__ to __attribute__ ((unused)).
16219
20cd7fb3
SP
162202013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16221
16222 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16223 powerpc mpa.c.
16224 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16225 comment formatting.
16226 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16227
92945b52
JM
162282013-02-19 Joseph Myers <joseph@codesourcery.com>
16229
16230 [BZ #13550]
16231 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16232 Remove macro.
16233 (ENTER): Remove both macro definitions.
16234 (LEAVE): Likewise.
16235 (CHECK_BOUNDS_LOW): Likewise.
16236 (CHECK_BOUNDS_HIGH): Likewise.
16237 (CHECK_BOUNDS_BOTH): Likewise.
16238 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16239 (RETURN_BOUNDED_POINTER): Likewise.
16240 (RETURN_NULL_BOUNDED_POINTER): Likewise.
16241 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16242 (POP_ERRNO_LOCATION_RETURN): Likewise.
16243 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16244 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16245 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16246 macros.
16247 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16248 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16249 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16250 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16251 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16252 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16253 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16254 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16255 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16256 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16257 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16258 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16259 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16260 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16261 removed macros.
16262 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16263 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
16264 macros.
16265 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16266 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
16267 * sysdeps/i386/i586/memset.S (memset): Likewise.
16268 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
16269 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16270 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
16271 macros.
16272 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16273 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
16274 Change uses of L(2) to L(out).
16275 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
16276 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
16277 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
16278 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16279 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
16280 removed macros.
16281 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16282 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
16283 macros.
16284 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16285 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
16286 (RETURN): Do not use macro LEAVE.
16287 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
16288 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
16289 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
16290 * sysdeps/i386/i686/memset.S (memset): Likewise.
16291 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
16292 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
16293 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16294 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
16295 Likewise.
16296 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16297 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
16298 L(1_2) and L(1_3) into L(1).
16299 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16300 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
16301 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16302 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
16303 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16304 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
16305 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
16306 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16307 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
16308 macros.
16309 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
16310 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16311 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
16312 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
16313 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
16314 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16315 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
16316 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
16317 * sysdeps/i386/strcspn.S (strcspn): Likewise.
16318 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
16319 * sysdeps/i386/strrchr.S (strrchr): Likewise.
16320 * sysdeps/i386/strspn.S (strspn): Likewise.
16321 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
16322 conditional code.
16323 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16324 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
16325 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16326 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
16327 L(1_3) into L(1_1).
16328 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
16329 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16330 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
16331 macros.
16332 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16333
2389741a
JJ
163342013-02-19 Jakub Jelinek <jakub@redhat.com>
16335
16336 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
16337 macro.
16338
2016b3cd
SP
163392013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16340
e4f22324
SP
16341 * math/atest-exp.c (exp_mpn): Remove ROUND.
16342 * math/atest-exp2.c (exp_mpn): Likewise.
16343 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
16344
2016b3cd
SP
16345 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
16346 * stdlib/tst-tls-atexit-lib.c: Likewise.
16347 * stdlib/tst-tls-atexit.c: Likewise.
16348
4be9b544
MF
163492013-02-18 Mike Frysinger <vapier@gentoo.org>
16350
16351 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
16352 and __attribute_alloc_size__.
16353
2f62b9ee
MF
163542013-02-18 Mike Frysinger <vapier@gentoo.org>
16355
16356 * include/programs/xmalloc.h: Change __attribute_alloc_size to
16357 __attribute_alloc_size__.
16358 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
16359 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
16360
6ff444c4
MF
163612013-02-18 Mike Frysinger <vapier@gentoo.org>
16362
16363 * include/programs/xmalloc.h: New file.
16364 * catgets/gencat.c: Include it.
16365 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
16366 * elf/pldd.c: Likewise.
16367 * iconv/iconv_charmap.c: Likewise.
16368 * iconv/iconvconfig.c: Likewise.
16369 * iconv/strtab.c: Likewise.
16370 * locale/programs/locale.c: Likewise.
16371 * locale/programs/localedef.h: Likewise.
16372 * locale/programs/simple-hash.c: Likewise.
16373 * nscd/nscd.h: Likewise.
16374 * nss/makedb.c: Likewise.
16375 * sysdeps/generic/ldconfig.h: Likewise.
16376
be179c8a
SP
163772013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16378
ba384f6e
SP
16379 * Versions.def: Add GLIBC_2.18.
16380 * include/link.h (struct link_map): New member l_tls_dtor_count.
16381 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
16382 (__call_tls_dtors): Likewise.
16383 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
16384 __cxa_thread_atexit_impl.
16385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16386 Likewise.
16387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16388 Likewise.
16389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16390 Likewise.
16391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16392 Likewise.
16393 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16394 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
16395 Likewise.
16396 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
16397 Likewise.
16398 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16399 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16400 Likewise.
16401 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
16402 (tests): Add test case tst-tls-atexit.
16403 (modules-names): Add shared library for tst-tls-atexit.
85891aca 16404 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
16405 (GLIBC_PRIVATE): Add __call_tls_dtors.
16406 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
16407 for libstdc++.
16408 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
16409 * stdlib/tst-tls-atexit.c: New test case.
16410 * stdlib/tst-tls-atexit-lib.c: New test case.
16411
ffaa74cf 16412 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 16413
be179c8a
SP
16414 * elf/Versions (ld): Add _dl_find_dso_for_object.
16415 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
16416 * elf/dl-open.c (_dl_find_dso_for_object): New function.
16417 (dl_open_worker): Use _dl_find_dso_for_object.
16418 * elf/dl-sym.c (do_sym): Likewise.
16419 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
16420
f78b5caa
AK
164212013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16422
16423 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
16424 Syntactic changes only.
16425 (_dl_runtime_profile): Do a tail-call to the resolved function.
16426
29691210
JM
164272013-02-17 Joseph Myers <joseph@codesourcery.com>
16428
16429 [BZ #13550]
16430 * sysdeps/x86_64/bp-asm.h: Remove file.
16431 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
16432 <bp-sym.h> and <bp-asm.h>.
16433 (__clone): Do not use BP_SYM.
16434 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
16435 <bp-sym.h> and <bp-asm.h>.
16436 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16437 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
16438 "bp-asm.h".
16439 (_setjmp): Do not use BP_SYM.
16440 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
16441 "bp-asm.h".
16442 (setjmp): Do not use BP_SYM.
16443 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
16444 libc_hidden_def.
16445 (mempcpy): Do not use BP_SYM in weak_alias.
16446 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
16447 "bp-asm.h".
16448 (strchr): Do not use BP_SYM.
16449 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
16450 "bp-asm.h".
16451 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
16452 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
16453 (_start): Do not use BP_SYM.
16454 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
16455 "bp-asm.h".
16456 (strcat): Do not use BP_SYM.
16457 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
16458 "bp-asm.h".
16459 (STRCMP): Do not use BP_SYM.
16460 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
16461 "bp-asm.h".
16462 (STRCPY): Do not use BP_SYM.
16463 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
16464 "bp-asm.h".
16465 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
16466 "bp-asm.h".
16467 (FUNCTION): Do not use BP_SYM.
16468 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
16469 weak_alias.
16470 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
16471
f238fd19
AJ
164722013-02-17 Andreas Jaeger <aj@suse.de>
16473
16474 * time/Versions: Sort entries.
16475 * string/Versions: Likewise.
16476 * resolv/Versions: Likewise.
16477 * posix/Versions: Likewise.
16478 * iconv/Versions: Likewise.
16479 * elf/Versions: Likewise.
16480 * wcsmbs/Versions: Likewise.
16481
bd07f23c 164822013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 16483
22af19f9
SP
16484 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
16485 loop termination condition.
16486
4709fe76
SP
16487 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
16488 variable to calculate EZ.
16489 (__sqr): Likewise.
2d0e0f29
SP
16490
16491 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
16492 the lower precision input.
16493
daaa7713
JM
164942013-02-15 Joseph Myers <joseph@codesourcery.com>
16495
16496 [BZ #13550]
16497 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
16498 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
16499 (run-via-rtld-prefix): Do not handle %-bp tests.
16500 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
16501 (all-object-suffixes): Remove .ob.
16502 (bppfx): Remove variable.
16503 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
16504 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
16505 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
16506 [$(build-bounded) = yes] (libtype.ob): Likewise.
16507 * Makerules (elide-routines.ob): Remove variable.
16508 (do-tests-clean): Do not handle *-bp.out.
16509 (common-mostlyclean): Do not handle *-bp and *-bp.out.
16510 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
16511 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
16512 (tests): Do not include $(tests-bp.out).
16513 (xtests): Do not include $(xtests-bp.out).
16514 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
16515 [$(build-bounded) = yes] ($(addprefix
16516 $(objpfx),$(binaries-bounded))): Remove rule.
16517 ($(objpfx)%-bp.out): Remove rule.
16518 * config.make.in (build-bounded): Remove variable.
16519 * crypt/Makefile [$(build-bounded) = yes]
16520 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
16521 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
16522 append to variable.
16523 [$(build-bounded) = yes] (install-lib): Likewise.
16524 [$(build-bounded) = yes] (generated): Likewise.
16525 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
16526 Remove rule.
16527 * intl/Makefile [$(build-bounded) = yes]
16528 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
16529 * math/Makefile [$(build-bounded) = yes]
16530 ($(tests:%=$(objpfx)%-bp): Likewise.
16531 * misc/Makefile [$(build-bounded) = yes]
16532 ($(objpfx)tst-tsearch-bp): Likewise.
16533 * nptl/Makeconfig (bounded-thread-library): Remove variable.
16534 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
16535 Remove dependency.
16536 * string/Makefile (o-objects.ob): Remove variable.
16537 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
16538 (CFLAGS-.ob): Remove variable.
16539 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
16540 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
16541 both definitions of variable.
16542 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
16543 (ASFLAGS-.ob): Remove variable.
16544
e97ed6dd
JM
165452013-02-14 Joseph Myers <joseph@codesourcery.com>
16546
2bdd4ca6
JM
16547 [BZ #13550]
16548 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
16549 Remove __BOUNDED_POINTERS__ from condition.
16550 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
16551 * string/bits/string2.h [!__NO_STRING_INLINES &&
16552 !__BOUNDED_POINTERS__]: Likewise.
16553 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
16554 Likewise.
16555 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
16556 Remove conditional code.
16557 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
16558 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
16559 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
16560 condition.
16561
e97ed6dd
JM
16562 [BZ #13550]
16563 * csu/libc-start.c: Do not include <bp-sym.h>.
16564 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
16565 * elf/dl-open.c: Do not include <bp-sym.h>.
16566 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
16567 * math/fegetenv.c: Do not include <bp-sym.h>.
16568 (fegetenv): Do not use BP_SYM in versioned symbols.
16569 * nptl/sysdeps/pthread/bits/libc-lockP.h
16570 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
16571 <bp-sym.h>.
16572 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16573 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
16574 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16575 (__pthread_mutex_destroy): Likewise.
16576 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16577 (__pthread_mutex_lock): Likewise.
16578 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16579 (__pthread_mutex_trylock): Likewise.
16580 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16581 (__pthread_mutex_unlock): Likewise.
16582 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16583 (__pthread_mutexattr_init): Likewise.
16584 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16585 (__pthread_mutexattr_destroy): Likewise.
16586 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16587 (__pthread_mutexattr_settype): Likewise.
16588 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16589 (__pthread_rwlock_init): Likewise.
16590 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16591 (__pthread_rwlock_destroy): Likewise.
16592 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16593 (__pthread_rwlock_rdlock): Likewise.
16594 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16595 (__pthread_rwlock_tryrdlock): Likewise.
16596 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16597 (__pthread_rwlock_wrlock): Likewise.
16598 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16599 (__pthread_rwlock_trywrlock): Likewise.
16600 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16601 (__pthread_rwlock_unlock): Likewise.
16602 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16603 (__pthread_key_create): Likewise.
16604 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16605 (__pthread_setspecific): Likewise.
16606 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16607 (__pthread_getspecific): Likewise.
16608 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
16609 Likewise.
16610 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16611 (_pthread_cleanup_push_defer): Likewise.
16612 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16613 (_pthread_cleanup_pop_restore): Likewise.
16614 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16615 (pthread_setcancelstate): Likewise.
16616 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
16617 <bp-sym.h>.
16618 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
16619 (memchr): Do not use BP_SYM in weak_alias.
16620 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
16621 (fegetenv): Do not use BP_SYM in versioned symbols.
16622 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
16623 (fesetenv): Do not use BP_SYM in versioned symbols.
16624 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16625 (feupdateenv): Do not use BP_SYM in versioned symbols.
16626 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16627 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16628 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
16629 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
16630 (open64): Do not use BP_SYM in weak_alias.
16631 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
16632 (fegetenv): Do not use BP_SYM in versioned symbols.
16633 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
16634 (fesetenv): Do not use BP_SYM in versioned symbols.
16635 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16636 (feupdateenv): Do not use BP_SYM in versioned symbols.
16637 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
16638 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
16639 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
16640 (feraiseexcept): Do not use BP_SYM in versioned symbols.
16641 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16642 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16643 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
16644 <bp-sym.h>.
16645 (__libc_start_main): Do not use BP_SYM.
16646
d6752ccd
SP
166472013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16648
cb57ce60
SP
16649 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
16650 redundant return line.
16651 (norm): Likewise.
16652 (denorm): Likewise.
16653 (dbl_mp): Likewise.
16654 (sub_magnitudes): Likewise.
16655 (__add): Likewise.
16656 (__sub): Likewise.
16657 (__mul): Likewise.
16658 (__inv): Likewise.
16659 (__dvd): Likewise.
16660 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
16661 (norm): Likewise.
16662 (denorm): Likewise.
16663 (dbl_mp): Likewise.
16664 (sub_magnitudes): Likewise.
16665 (__add): Likewise.
16666 (__sub): Likewise.
16667 (__mul): Likewise.
16668 (__inv): Likewise.
16669 (__dvd): Likewise.
16670
f414520d
SP
16671 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
16672 instead of __mul.
16673 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16674 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
16675 (cc32): Likewise.
16676
d6752ccd
SP
16677 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
16678 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
16679 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
16680 of __mul for squares.
16681 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
16682 function
16683 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
16684 Likewise.
16685 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
16686 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16687
70d9946a
JM
166882013-02-13 Joseph Myers <joseph@codesourcery.com>
16689
16690 [BZ #13550]
16691 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
16692 code.
16693 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
16694 prototype or function definition. Rename ubp_* variables and
16695 parameters. Remove argv definitions conditional on
16696 [__BOUNDED_POINTERS__].
16697 * debug/backtrace.c (__backtrace): Do not use __unbounded.
16698 * elf/dl-runtime.c (_dl_fixup): Likewise.
16699 * include/set-hooks.h (RUN_HOOK): Likewise.
16700 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
16701 definition.
16702 * string/strcpy.c (strcpy): Do not use __unbounded.
16703 * sysdeps/generic/frame.h (struct layout): Likewise.
16704 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
16705 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
16706 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
16707 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
16708 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
16709 (__backtrace): Likewise.
16710 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
16711 use __ptrvalue.
16712 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16713 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16714 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16715 Likewise.
16716 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
16717 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
16718 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16719 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16720 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
16721 Do not use __unbounded.
16722 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
16723 Rename __unboundedrlimits parameter to rlimits in prototype.
16724 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
16725 Do not use __unbounded.
16726 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
16727 not use __ptrvalue.
16728 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16729 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
16730 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16731 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
16732 __ptrvalue or __unbounded.
16733 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
16734 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
16735 use __unbounded.
16736 (__new_msgctl): Do not use __ptrvalue.
16737 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
16738 __unbounded.
16739 (__libc_msgrcv): Do not use __ptrvalue.
16740 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
16741 startup_info): Do not use __unbounded.
16742 (__libc_start_main): Likewise. Rename ubp_* variables and
16743 parameters. Remove argv definitions conditional on
16744 [__BOUNDED_POINTERS__].
16745 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
16746 __ptrvalue.
16747 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
16748 use __unbounded.
16749 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
16750 or __ptrvalue.
16751 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
16752 use __unbounded.
16753 (__new_shmctl): Do not use __ptrvalue.
16754 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
16755 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
16756 Likewise.
16757 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
16758 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
16759 (__libc_sigaction): Likewise.
16760 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
16761 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
16762 Likewise.
16763 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16764
cc7834d6
OB
167652013-02-13 Ondřej Bílka <neleai@seznam.cz>
16766
ffb1ec7b 16767 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
16768
16769 * string/mempcpy.c: Implement by calling memcpy.
16770
bdf02814
SP
167712013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16772
c2af38aa
SP
16773 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
16774
4e92d59e
SP
16775 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
16776 evaluation.
16777
909279a5
SP
16778 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
16779 values in the mantissa.
16780
bdf02814
SP
16781 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
16782 minimize writes to Z.
16783 (sub_magnitudes): Simplify code a bit.
16784
cd525923
RM
167852013-02-12 Roland McGrath <roland@hack.frob.com>
16786
16787 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
16788 from the message. The linker prefixes all warnings with that already.
16789
7e2f0d2d
AS
167902013-02-12 Andreas Schwab <schwab@suse.de>
16791
a445af0b
AS
16792 [BZ #15078]
16793 * posix/regexec.c (extend_buffers): Add parameter min_len.
16794 (check_matching): Pass minimum needed length.
16795 (clean_state_log_if_needed): Likewise.
16796 (get_subexp): Likewise.
16797 * posix/Makefile (tests): Add bug-regex34.
16798 (bug-regex34-ENV): Define.
16799 * posix/bug-regex34.c: New file.
16800
7e2f0d2d
AS
16801 [BZ #11561]
16802 * posix/regcomp.c (parse_bracket_exp): When looking up collating
16803 elements compare against the byte sequence of it, not its name.
16804 * posix/Makefile (tests): Add bug-regex35.
16805 (bug-regex35-ENV): Define.
16806 * posix/bug-regex35.c: New file.
16807
a175b684
TV
168082013-02-11 Tom de Vries <tom@codesourcery.com>
16809
16810 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
16811 comment.
16812 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
16813 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
16814 (CHECK_EOL): Add undef.
16815
310998fe 168162013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
16817
16818 * bits/stdlib-bsearch.h: New file.
16819 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 16820 * stdlib/stdlib.h: Likewise.
41eda41d 16821
8ded91fb
RM
168222013-02-11 Roland McGrath <roland@hack.frob.com>
16823
16824 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
16825 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
16826 declaration.
16827 * manual/search.texi (Array Search Function): Add missing const in
16828 lfind prototype.
16829 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
16830 declaration to use rlim_t.
16831 (Basic Scheduling Functions): Remove erroneous const from
16832 sched_getparam prototype. Remove erroneous * from
16833 sched_get_priority_max and sched_get_priority_min prototypes.
16834 (Resource Usage): Fix summary @comment on vtimes to refer to
16835 sys/vtimes.h rather than vtimes.h.
16836 Add missing *s in vtimes prototype.
16837 (Limits on Resources): Fix ulimit prototype to return long int.
16838 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
16839 prototypes to use long int rather than double.
16840 (BSD Random): Fix initstate and setstate to use char *, not void *.
16841 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
16842 prototype to make second argument 'struct aiocb64 *const[]'.
16843 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
16844 (Status of AIO Operations): Remove erroneous const in aio_return and
16845 aio_return64 prototypes.
16846 (Synchronizing I/O): Fix sync prototype to return void.
16847 * manual/startup.texi (Suboptions): Remove an erroneous const in
16848 getsubopt prototype.
16849 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
16850 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
16851 use size_t rather than int.
16852 (Scanning All Users): Likewise for getpwent_r.
16853 (Setting Groups): Add missing const to setgroups prototype.
16854 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
16855 * manual/socket.texi (Host Names): Fix gethostbyaddr and
16856 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
16857 'const void *' rather than 'const char *'.
16858 (Host Address Functions): Likewise for inet_ntop.
16859 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
16860 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
16861 ssize_t for return value.
16862 (Sending Data): Likewise for send, sendto, sendmsg.
16863 (Socket Option Functions): Add a missing const in setsockopt prototype.
16864 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
16865 use wchar_t for the argument.
16866 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
16867 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
16868 take no arguments.
16869 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
16870 double/float/long double for second argument.
16871 Fix return types of significand, significandf, significandl.
16872 * manual/filesys.texi (Setting Permissions): Use mode_t for second
16873 argument in fchmod prototype.
16874 (File Owner): Use uid_t and gid_t in fchown prototype.
16875 (File Times): Add const to utimes, futimes, and lutimes prototypes.
16876 (Making Special Files): Use mode_t and dev_t in mknod prototype.
16877 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
16878 use 'const struct dirent **' as argument types to CMP function pointer
16879 argument.
16880 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
16881 (File Times): Fix summary magic @comment for struct utimbuf and utime
16882 to refer to utime.h, not time.h.
16883 * manual/string.texi (Argz Functions): Add missing const in
16884 argz_extract and argz_next prototypes.
16885 (Finding Tokens in a String): Likewise for basename.
16886 (String/Array Comparison): Fix typo in wcscasecmp prototype.
16887 (Copying and Concatenation): Fix typo in wmemmove prototype.
16888 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
16889 (Signal Stack): Remove erroneous const in sigstack prototype.
16890 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
16891 prototype.
16892 (Simple Calendar Time): Likewise for stime.
16893 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
16894 prototype.
16895 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
16896 say sys/sysctl.h instead.
16897 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
16898 and vsyslog prototypes.
16899
fe77fe6d
TV
169002013-02-11 Tom de Vries <tom@codesourcery.com>
16901
16902 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
16903 Remove.
16904
3a09b620
RM
169052013-02-11 Roland McGrath <roland@hack.frob.com>
16906
16907 * misc/sys/mman.h: Fix typo in mremap comment.
16908
550a0b89
RM
169092013-02-08 Roland McGrath <roland@hack.frob.com>
16910
16911 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
16912 the '\0' terminator.
16913
a2da1673
JM
169142013-02-08 Joseph Myers <joseph@codesourcery.com>
16915
16916 [BZ #13550]
16917 * debug/segfault.c: Don't include <bp-checks.h>.
16918 * sysdeps/generic/bp-checks.h: Remove file.
16919 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
16920 (__GETDENTS): Don't use CHECK_N.
16921 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
16922 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
16923 (__getgroups): Don't use CHECK_N.
16924 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
16925 (setgroups): Don't use CHECK_N.
16926 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
16927 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
16928 (__libc_msgrcv): Don't use CHECK_N.
16929 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
16930 (__libc_msgsnd): Don't use CHECK_N.
16931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
16932 <bp-checks.h>.
16933 (__libc_pread): Don't use CHECK_N.
16934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
16935 include <bp-checks.h>.
16936 (__libc_pread64): Don't use CHECK_N.
16937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
16938 include <bp-checks.h>.
16939 (__libc_pwrite): Don't use CHECK_N.
16940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
16941 include <bp-checks.h>.
16942 (__libc_pwrite64): Don't use CHECK_N.
16943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
16944 <bp-checks.h>.
16945 (__libc_pread): Don't use CHECK_N.
16946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
16947 include <bp-checks.h>.
16948 (__libc_pread64): Don't use CHECK_N.
16949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
16950 include <bp-checks.h>.
16951 (__libc_pwrite): Don't use CHECK_N.
16952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
16953 include <bp-checks.h>.
16954 (__libc_pwrite64): Don't use CHECK_N.
16955 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
16956 (do_pread): Don't use CHECK_N.
16957 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
16958 (do_pread64): Don't use CHECK_N.
16959 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
16960 (do_pwrite): Don't use CHECK_N.
16961 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
16962 (do_pwrite64): Don't use CHECK_N.
16963 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
16964 (__libc_readv): Don't use CHECK_N.
16965 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
16966 (semop): Don't use CHECK_N.
16967 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
16968 <bp-checks.h>.
16969 (semtimedop): Don't use CHECK_N.
16970 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
16971 (__libc_pread): Don't use CHECK_N.
16972 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
16973 <bp-checks.h>.
16974 (__libc_pread64): Don't use CHECK_N.
16975 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
16976 <bp-checks.h>.
16977 (__libc_pwrite): Don't use CHECK_N.
16978 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
16979 <bp-checks.h>.
16980 (__libc_pwrite64): Don't use CHECK_N.
16981 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
16982 <bp-checks.h>.
16983 (__libc_msgrcv): Don't use CHECK_N.
16984 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
16985 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
16986 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
16987 (__libc_writev): Don't use CHECK_N.
16988
b84660a8
RM
169892013-02-08 Roland McGrath <roland@hack.frob.com>
16990
7f3e75f8
RM
16991 * string/strcpy.c: Removed unused variable.
16992
b84660a8
RM
16993 * Makeconfig (+sysdep-includes): Define with := rather than =.
16994 Use an existing include/ subdir of each sysdeps dir before it.
16995
471514d3
CD
169962013-02-08 Carlos O'Donell <carlos@redhat.com>
16997
16998 * nscd/connection.c (register_traced_file): Comment function.
16999 [HAVE_INOTIFY] (union __inev): Define.
17000 [HAVE_INOTIFY] (inotify_check_files): New function.
17001 [HAVE_INOTIFY] (clear_db_cache): Likewise.
17002 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17003 clear_db_cache.
17004 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17005
b2d3c3be
CD
170062013-02-08 Carlos O'Donell <carlos@redhat.com>
17007
17008 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17009 loaded if not already and that a failure is permanent.
17010
b39949d2
CD
170112013-02-08 Carlos O'Donell <carlos@redhat.com>
17012
ddacd1db 17013 [BZ #15006]
b39949d2
CD
17014 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17015 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17016
b2c9eff4
JM
170172013-02-08 Joseph Myers <joseph@codesourcery.com>
17018
f3aae3f3
JM
17019 [BZ #13550]
17020 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17021 (CHECK_1_NULL_OK): Likewise.
17022 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17023 (__fxstat): Do not use CHECK_1.
17024 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17025 <bp-checks.h>.
17026 (___fxstat64): Do not use CHECK_1.
17027 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17028 <bp-checks.h>.
17029 (__fxstatat): Do not use CHECK_1.
17030 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17031 <bp-checks.h>.
17032 (__fxstatat64): Do not use CHECK_1.
17033 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17034 <bp-checks.h>.
17035 (__fxstat): Do not use CHECK_1.
17036 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17037 <bp-checks.h>.
17038 (__fxstatat): Do not use CHECK_1.
17039 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17040 <bp-checks.h>.
17041 (__getresgid): Do not use CHECK_1.
17042 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17043 <bp-checks.h>.
17044 (__getresuid): Do not use CHECK_1.
17045 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17046 <bp-checks.h>.
17047 (__lxstat): Do not use CHECK_1.
17048 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17049 <bp-checks.h>.
17050 (__old_msgctl): Do not use CHECK_1.
17051 (__new_msgctl): Likewise.
17052 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17053 <bp-checks.h>.
17054 (__new_setrlimit): Do not use CHECK_1.
17055 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17056 <bp-checks.h>.
17057 (__old_shmctl): Do not use CHECK_1.
17058 (__new_shmctl): Likewise.
17059 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17060 <bp-checks.h>.
17061 (__xstat): Do not use CHECK_1.
17062 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17063 (__lxstat): Do not use CHECK_1.
17064 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17065 <bp-checks.h>.
17066 (___lxstat64): Do not use CHECK_1.
17067 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17068 (__old_msgctl): Do not use CHECK_1.
17069 (__new_msgctl): Likewise.
17070 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17071 <bp-checks.h>.
17072 (__gettimeofday): Do not use CHECK_1.
17073 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17074 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17075 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17076 <bp-checks.h>.
17077 (__gettimeofday): Do not use CHECK_1.
17078 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17079 (__old_shmctl): Do not use CHECK_1_NULL_OK.
17080 (__new_shmctl): Do not use CHECK_1.
17081 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17082 <bp-checks.h>.
17083 (do_sigtimedwait): Do not use CHECK_1.
17084 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17085 <bp-checks.h>.
17086 (do_sigwaitinfo): Do not use CHECK_1.
17087 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17088 <bp-checks.h>.
17089 (msgctl): Do not use CHECK_1.
17090 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17091 <bp-checks.h>.
17092 (shmctl): Do not use CHECK_1.
17093 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17094 (ustat): Do not use CHECK_1.
17095 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17096 <bp-checks.h>.
17097 (__fxstat): Do not use CHECK_1.
17098 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17099 <bp-checks.h>.
17100 (__fxstatat): Do not use CHECK_1.
17101 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17102 <bp-checks.h>.
17103 (__lxstat): Do not use CHECK_1.
17104 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17105 <bp-checks.h>.
17106 (__xstat): Do not use CHECK_1.
17107 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17108 (__xstat): Do not use CHECK_1.
17109 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17110 (___xstat64): Do not use CHECK_1.
17111
b2c9eff4
JM
17112 [BZ #13550]
17113 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17114 definitions.
17115 (CHECK_BOUNDS_HIGH): Likewise.
17116 * string/strcpy.c: Do not include <bp-checks.h>.
17117 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17118
f1d70dad
RM
171192013-02-07 Roland McGrath <roland@hack.frob.com>
17120
17121 * nscd/nscd-client.h (__nscd_drop_map_ref):
17122 Add __attribute__ ((unused)).
17123 * nis/nss-nisplus.h (niserr2nss): Likewise.
17124
17125 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17126 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17127
17128 * csu/libc-tls.c (init_static_tls, init_slotinfo):
17129 Remove inline keyword.
17130 * include/rounding-mode.h (round_away): Likewise.
17131 * libio/wfileops.c (adjust_wide_data): Likewise.
17132 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17133 (__m128i_strloadu_tolower): Likewise.
17134 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17135 (__m128i_strloadu_tolower): Likewise.
17136 * time/mktime.c (ydhms_diff): Likewise.
17137 * locale/elem-hash.h (elem_hash): Likewise.
17138 * locale/setlocale.c (setdata): Likewise.
17139 * posix/regex_internal.h (re_string_char_size_at): Likewise.
17140 (re_string_wchar_at): Likewise.
17141 (bitset_not, bitset_merge, bitset_mask): Likewise.
17142 [!(__GNUC__ > 3)] (inline): Remove macro.
17143 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17144 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17145 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17146 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17147 * string/memcmp.c (memcmp_bytes): Likewise.
17148 * locale/programs/locarchive.c (compute_hashval): Likewise.
17149 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17150 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17151 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17152 * nss/getent.c (print_rpc, print_protocols): Likewise.
17153 (print_passwd, print_group, print_aliases): Likewise.
17154 * nis/nss-nisplus.h (niserr2nss): Likewise.
17155 * nscd/connections.c (restart_p): Likewise.
17156 Change return type to bool.
17157
eab55bfb
RM
171582013-02-05 Roland McGrath <roland@hack.frob.com>
17159
7bd642f5
RM
17160 * Makeconfig (all-Depend-files): Add existing
17161 $(sorted-subdirs:=/Depend) files.
17162 (all-subdirs): Remove nss.
17163 * sysdeps/unix/inet/Subdirs: Add it here instead.
17164 * hesiod/Depend: New file.
17165
573c29b2
RM
17166 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17167 instead of calling alloca.
17168
b2e25af0
RM
17169 * io/lseek.c (__lseek): Rename to __libc_lseek.
17170 Define __lseek as an alias.
17171
eab55bfb
RM
17172 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17173
9a0d1941
CD
171742013-02-04 Carlos O'Donell <carlos@redhat.com>
17175
17176 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17177 else clause and remove check for non-standard endianness.
17178
b83bbec4
DM
171792013-02-04 David S. Miller <davem@davemloft.net>
17180
17181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17182
6277fdab
JM
171832013-02-04 Joseph Myers <joseph@codesourcery.com>
17184
17185 [BZ #13550]
17186 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17187 (__ubp_memchr): Remove prototype.
17188 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17189 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17190 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17191 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17192 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17193 Remove alias.
17194 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17195 (__ubp_memchr): Likewise.
17196 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17197 (__ubp_memchr): Likewise.
17198 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17199 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17200 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17201 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17202 CHECK_STRING.
17203 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17204 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17205 (__getcwd): Do not use CHECK_STRING.
17206 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17207 <bp-checks.h>.
17208 (__real_chown): Do not use CHECK_STRING.
17209 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17210 <bp-checks.h>.
17211 (fchownat): Do not use CHECK_STRING.
17212 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17213 CHECK_STRING.
17214 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17215 <bp-checks.h>.
17216 (__lchown): Do not use CHECK_STRING.
17217 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17218 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17219 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17220 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17222 include <bp-checks.h>.
17223 (truncate64): Do not use CHECK_STRING.
17224 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17225 <bp-checks.h>.
17226 (__real_chown): Do not use CHECK_STRING.
17227 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17228 <bp-checks.h>.
17229 (__lchown): Do not use CHECK_STRING.
17230 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17231 <bp-checks.h>.
17232 (__chown): Do not use CHECK_STRING.
17233 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17234 <bp-checks.h>.
17235 (truncate64): Do not use CHECK_STRING.
17236 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17237 Likewise.
17238 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17239 (__xmknod): Do not use CHECK_STRING.
17240 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17241 <bp-checks.h>.
17242 (__xmknodat): Do not use CHECK_STRING.
17243 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17244 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17245
903ae060
AS
172462013-02-04 Andreas Schwab <schwab@suse.de>
17247
17248 [BZ #14142]
17249 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17250 * include/netdb.h: Likewise for h_errno.
17251 * elf/tst-stackguard1.c: Include <tls.h>.
17252
542f9466
JK
172532013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17254
17255 * elf/link.h (struct link_map): Extend the l_addr comment.
17256 * include/link.h (struct link_map): Likewise.
17257
e782a927
JM
172582013-02-01 Joseph Myers <joseph@codesourcery.com>
17259
17260 [BZ #13550]
17261 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
17262 (BOUNDED_1): Remove macro.
17263 * debug/backtrace.c: Don't include <bp-checks.h>.
17264 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
17265 (__backtrace): Likewise.
17266 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
17267 <bp-checks.h>.
17268 (__backtrace): Don't use BOUNDED_1.
17269 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
17270 <bp-checks.h>.
17271 (__backtrace): Don't use BOUNDED_1.
17272 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
17273 (__backtrace): Don't use BOUNDED_1.
17274 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
17275 (shmat): Don't use BOUNDED_N.
17276
8cf28c5e
JM
172772013-01-31 Joseph Myers <joseph@codesourcery.com>
17278
3a7ac8a0
JM
17279 [BZ #13550]
17280 * sysdeps/generic/bp-start.h: Remove file.
17281 * csu/libc-start.c: Don't include <bp-start.h>.
17282 (LIBC_START_MAIN): Set up __environ directly instead of using
17283 INIT_ARGV_and_ENVIRON.
17284 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
17285 <bp-start.h>.
17286
f3499f95
JM
17287 [BZ #13550]
17288 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
17289 definitions.
17290 (CHECK_FCNTL): Likewise.
17291 (CHECK_N_PAGES): Likewise.
17292
32a45bea
JM
17293 [BZ #13550]
17294 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
17295 definitions.
17296 (CHECK_SIGSET_NULL_OK): Likewise.
17297 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
17298 <bp-checks.h>.
17299 (sigpending): Don't use CHECK_SIGSET.
17300 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
17301 <bp-checks.h>.
17302 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17303 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
17304 <bp-checks.h>.
17305 (do_sigsuspend): Don't use CHECK_SIGSET.
17306 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
17307 use CHECK_SIGSET.
17308 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
17309 (do_sigwait): Don't use CHECK_SIGSET.
17310 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
17311 use CHECK_SIGSET.
17312 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
17313 include <bp-checks.h>.
17314 (sigpending): Don't use CHECK_SIGSET.
17315 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
17316 include <bp-checks.h>.
17317 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17318 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
17319 <bp-checks.h>.
17320 (sigpending): Don't use CHECK_SIGSET.
17321 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
17322 <bp-checks.h>.
17323 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17324
2e8a5c8c
JM
17325 [BZ #13550]
17326 * sysdeps/generic/bp-semctl.h: Remove file.
17327 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
17328 <bp-checks.h> and <bp-semctl.h>.
17329 (__old_semctl): Don't use CHECK_SEMCTL.
17330 (__new_semctl): Likewise.
17331 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
17332 and <bp-semctl.h>.
17333 (__old_semctl): Don't use CHECK_SEMCTL.
17334 (__new_semctl): Likewise.
17335 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
17336 <bp-checks.h> and <bp-semctl.h>.
17337 (__old_semctl): Don't use CHECK_SEMCTL.
17338 (__new_semctl): Likewise.
17339 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
17340 <bp-checks.h> and <bp-semctl.h>.
17341 (semctl): Don't use CHECK_SEMCTL.
17342
c2d54929
JM
17343 [BZ #13550]
17344 * Makerules (elide-bp-thunks): Remove variable.
17345 (elide-routines.oS): Don't use $(elide-bp-thunks).
17346 (elide-routines.os): Likewise.
17347 (elide-routines.o): Likewise.
17348 (elide-routines.op): Likewise.
17349 (elide-routines.og): Likewise.
17350 (objects): Don't use $(bp-thunks).
17351 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
17352 include.
17353 (common-generated): Do not add s-proto-bp.d.
17354 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
17355 (int): Likewise.
17356 (typ): Likewise.
17357 Do not generate makefile rules for bounded-pointer thunks.
17358 * sysdeps/generic/bp-thunks.h: Remove file.
17359 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
17360 * sysdeps/unix/s-proto-bp.S: Likewise.
17361
8cf28c5e
JM
17362 [BZ #15062]
17363 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
17364 parts of result separately when argument is not close to line from
17365 -i to i and one part of argument is small.
17366 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17367 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17368 * math/libm-test.inc (cacos_test): Add more tests.
17369 (casin_test): Likewise.
17370 (casinh_test): Likewise.
17371 * sysdeps/i386/fpu/libm-test-ulps: Update.
17372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17373
c4e33b8d
DM
173742013-01-31 David S. Miller <davem@davemloft.net>
17375
17376 * po/de.po: Update from translation team.
17377
3b60b421
MK
173782013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
17379
17380 * time/tzfile.c: Include stdint.h for SIZE_MAX.
17381
bb931195
TS
173822013-01-25 Thomas Schwinge <thomas@codesourcery.com>
17383
b5a5da23
TS
17384 * configure.in (_AC_PROG_CC_C89): New definition.
17385 * configure: Regenerate.
17386
bb931195
TS
17387 * configure.in (AC_PROG_CPP): New definition.
17388 * configure: Regenerate.
17389
8c53a12c
JM
173902013-01-23 Joseph Myers <joseph@codesourcery.com>
17391
17392 * debug/tst-backtrace.h: New file.
17393 * debug/tst-backtrace2.c: Include tst-backtrace.h.
17394 (ret): Remove variable.
17395 (x): Likewise.
17396 (FAIL): Remove macro.
17397 (NO_INLINE): Likewise.
17398 (fn1): Use match function instead of strstr.
17399 * debug/tst-backtrace3.c: Include tst-backtrace.h.
17400 (ret): Remove variable.
17401 (x): Likewise.
17402 (FAIL): Remove macro.
17403 (NO_INLINE): Likewise.
17404 (fn): Use match function instead of strstr.
17405 * debug/tst-backtrace4.c: Include tst-backtrace.h.
17406 (ret): Remove variable.
17407 (x): Likewise.
17408 (FAIL): Remove macro.
17409 (NO_INLINE): Likewise.
17410 (handle_signal): Use match function instead of strstr.
17411 * debug/tst-backtrace5.c: Include tst-backtrace.h.
17412 (ret): Remove variable.
17413 (x): Likewise.
17414 (FAIL): Remove macro.
17415 (NO_INLINE): Likewise.
17416 (handle_signal): Use match function instead of strstr.
17417
4858fa2a
RM
174182013-01-23 Roland McGrath <roland@hack.frob.com>
17419
17420 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
17421
bae8e7f5
DM
174222013-01-23 David S. Miller <davem@davemloft.net>
17423
17424 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
17425 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
17426 argument of CAS if possible.
17427 * sysdeps/sparc/sparc64/bits/atomic.h
17428 (__arch_compare_and_exchange_val_32_acq): Likewise.
17429 (__arch_compare_and_exchange_val_64_acq): Likewise.
17430
9cbbc4ae
PT
174312013-01-23 Pino Toscano <toscano.pino@tiscali.it>
17432
17433 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
17434 * sysdeps/posix/ulimit.c: ... this.
92a601b8 17435 Include <limits.h>.
67b3f58c 17436 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 17437
5655a0b5
AC
174382013-01-23 Adam Conrad <adconrad@0c3.net>
17439
17440 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
17441 (LDFLAGS-tst-array5): Likewise.
17442
052aff95
JM
174432013-01-23 Joseph Myers <joseph@codesourcery.com>
17444
17445 [BZ #15036]
17446 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
17447 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
17448 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
17449 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
17450
7c1e01aa
DM
174512013-01-21 David S. Miller <davem@davemloft.net>
17452
17453 * sysdeps/sparc/backtrace.c: New file.
17454 * sysdeps/sparc/sparc32/backtrace.h: New file.
17455 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
17456 * sysdeps/sparc/sparc64/backtrace.h: New file.
17457 * sysdeps/sparc/sparc64/backtrace.c: Delete.
17458 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
17459 -funwind-tables.
17460
ab087e0a
AS
174612013-01-21 Andreas Schwab <schwab@suse.de>
17462
17463 [BZ #15020]
17464 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
17465 closed its stdout.
17466
ed689c2f
AS
174672013-01-20 Andreas Schwab <schwab@linux-m68k.org>
17468
17469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
17470 "mpa2.h".
17471 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17472
31d470ac
JM
174732013-01-18 Joseph Myers <joseph@codesourcery.com>
17474 Mark Mitchell <mark@codesourcery.com>
17475 Tom de Vries <tom@codesourcery.com>
17476 Paul Pluzhnikov <ppluzhnikov@google.com>
17477
17478 * debug/tst-backtrace2.c: New file.
17479 * debug/tst-backtrace3.c: Likewise.
17480 * debug/tst-backtrace4.c: Likewise.
17481 * debug/tst-backtrace5.c: Likewise.
17482 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
17483 (CFLAGS-tst-backtrace3.c): Likewise.
17484 (CFLAGS-tst-backtrace4.c): Likewise.
17485 (CFLAGS-tst-backtrace5.c): Likewise.
17486 (LDFLAGS-tst-backtrace2): Likewise.
17487 (LDFLAGS-tst-backtrace3): Likewise.
17488 (LDFLAGS-tst-backtrace4): Likewise.
17489 (LDFLAGS-tst-backtrace5): Likewise.
17490 (tests): Add new tests tst-backtrace2, tst-backtrace3,
17491 tst-backtrace4 and tst-backtrace5.
17492
90567f30 174932013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
17494 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17495
17496 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
17497 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
17498 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
17499 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
17500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17501 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
17502 "+r" and remove output regs list as redundant. Add explicit inline
17503 asm to specify register of return val to work around compiler codegen
17504 bug. Remove (int) cast on return value. Add return type parameter to
17505 use in macro so that this macro does not truncate return value for
17506 64-bit values.
17507 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
17508 pass to INTERNAL_VSYSCALL_NCS.
17509 (INLINE_VSYSCALL): Add 'long int' as return type to
17510 INTERNAL_VSYSCALL_NCS macro invocation.
17511 (INTERNAL_VSYSCALL): Add 'long int' as return type to
17512 INTERNAL_VSYSCALL_NCS macro invocation.
17513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17514
d3b9ea61
SP
175152013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17516
0b57daeb
SP
17517 [BZ #14496]
17518 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
17519 Fix application of SIMD FP exception mask.
17520
caa99d06
SP
17521 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
17522 mp_no from a power of two.
17523 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
17524 __mpexp_twomm1. Use __pow_mp.
17525
d3b9ea61
SP
17526 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
17527 multiplication.
17528
1dbaee3c
DM
175292013-01-17 David S. Miller <davem@davemloft.net>
17530
17531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17532
728d7b43
JM
175332013-01-17 Joseph Myers <joseph@codesourcery.com>
17534
17535 [BZ #15023]
17536 * include/complex.h: Condition contents on [!_COMPLEX_H].
17537 (__kernel_casinhf): New prototype.
17538 (__kernel_casinh): Likewise.
17539 (__kernel_casinhl): Likewise.
17540 * math/Makefile (libm_calls): Add k_casinh.
17541 * math/k_casinh.c: New file.
17542 * math/k_casinhf.c: Likewise.
17543 * math/k_casinhl.c: Likewise.
17544 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
17545 finite nonzero arguments.
17546 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
17547 finite nonzero arguments.
17548 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
17549 finite nonzero arguments.
17550 * math/s_casinh.c: Do not include <float.h>.
17551 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
17552 * math/s_casinhf.c: Do not include <float.h>.
17553 (__casinhf): Move code for finite nonzero arguments to
17554 k_casinhf.c.
17555 * math/s_casinhl.c: Do not include <float.h>.
17556 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
17557 redefine.
17558 (__casinhl): Move code for finite nonzero arguments to
17559 k_casinhl.c.
17560 * math/libm-test.inc (cacos_test): Add more tests.
17561 * sysdeps/i386/fpu/libm-test-ulps: Update.
17562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17563
2a26ef3a
PT
175642013-01-17 Pino Toscano <toscano.pino@tiscali.it>
17565
17566 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
17567 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
17568 [!HAVE_MREMAP]: Remove [defined linux] case.
17569 * malloc/arena.c: Do not include <malloc-sysdep.h>.
17570
a897655d
SP
175712013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17572
17573 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
17574
881ebe89 175752013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
17576
17577 * elf/elf.h (R_386_SIZE32): New relocation.
17578 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
17579 R_386_SIZE32.
17580 (elf_machine_rela): Likewise.
17581 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17582 R_X86_64_SIZE64 and R_X86_64_SIZE32.
17583
59981e9b
JM
175842013-01-17 Joseph Myers <joseph@codesourcery.com>
17585
17586 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
17587 (FP_FAST_FMA): Do not define.
17588 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
17589 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
17590 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
17591 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
17592 !_SOFT_FLOAT]: Likewise.
17593 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
17594 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
17595 value.
17596 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
17597 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
17598 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
17599 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
17600 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
17601 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
17602 file.
17603
cfa8054f
AS
176042013-01-16 Andreas Schwab <schwab@suse.de>
17605
17606 [BZ #14327]
17607 * include/stdlib.h (__mktemp): Add declaration.
17608 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
17609 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
17610
dd930cc5
SP
176112013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17612
881ebe89
SP
17613 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
17614 definitions.
17615 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17616 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
17617 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
17618 definitions here.
17619 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
17620 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
17621 definitions.
17622 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
17623 and ONE.
17624 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
17625 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
17626 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
17627 definitions.
17628 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
17629 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
17630 definitions.
17631 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 17632
dd930cc5
SP
17633 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
17634
c19a9f89
DM
176352013-01-15 David S. Miller <davem@davemloft.net>
17636
1aa61767
DM
17637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17638 trunc{,f} to libm-sysdep_routes.
17639 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
17641 file.
17642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
17643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
17644 file.
17645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
17646 file.
17647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
17648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
17649 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
17650 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
17651 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
17652 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
17653 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
17654 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
17655
c42d5e98
DM
17656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17657 nearbyint{,f} to libm-sysdep_routes.
17658 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
17660 New file.
17661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
17662 file.
17663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
17664 New file.
17665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
17666 file.
17667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
17668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
17669 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
17670 file.
17671 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
17672 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
17673 file.
17674 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
17675 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
17676 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
17677
c19a9f89
DM
17678 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17679 libc_feholdexcept and libc_fesetenv.
17680
357679d2
MF
176812013-01-15 Mike Frysinger <vapier@gentoo.org>
17682
17683 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
17684
65a82e3d
DM
176852013-01-14 David S. Miller <davem@davemloft.net>
17686
8b954ab9
DM
17687 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
17688 (SPARC_ASM_VIS2_IFUNC): Likewise.
17689 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
17690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
17691 use of 'siam' instruction.
17692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
17693 Likewise.
17694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
17695 Likewise.
17696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
17697 Likewise.
17698 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
17699 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17700 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
17701 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
17702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
17703 file.
17704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
17705 file.
17706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
17707 file.
17708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
17709 file.
17710 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
17711 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
17712 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
17713 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
17714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
17715 new VIS2 routines.
17716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17719 Likewise.
17720 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17721 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17722 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17723 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
17725 routines to libm-sysdep_routines.
17726 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17727
65a82e3d
DM
17728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17729 fdim/fdimf to libm-sysdep_routines.
17730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
17731 file.
17732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
17733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
17734 file.
17735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
17736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
17737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
17738 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
17739 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
17740 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
17741 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
17742
e34ab705
SP
177432013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17744
2a91b573
SP
17745 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
17746 to optimize copies.
17747
1066a534
SP
17748 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
17749 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17750 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17751
e34ab705
SP
17752 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
17753 local variable MPTWO.
17754 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17755 Likewise.
17756
aba5e596
MF
177572013-01-13 Mike Frysinger <vapier@gentoo.org>
17758
17759 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
17760 GLOB_NOESCAPE.
17761
e557e9e5
MF
177622013-01-13 Mike Frysinger <vapier@gentoo.org>
17763
17764 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
17765
0428cec9
MF
177662013-01-13 Mike Frysinger <vapier@gentoo.org>
17767
17768 * manual/pattern.texi (glob_t): Document gl_flags.
17769 (glob64_t): Likewise.
17770
8794a964
DM
177712013-01-11 David S. Miller <davem@davemloft.net>
17772
66438c3f
RM
17773 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
17774 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
17775 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
17776 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
17777 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
17778 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
17779 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
17780 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
17781 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
17782 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
17783 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
17784 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
17785 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
17786
4ae4244d
DM
17787 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
17788 sparc V9 rather than using V8 code.
17789 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17790 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17791
8794a964
DM
17792 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17793 Move to...
17794 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
17795 Here.
17796
6270516e
RM
177972013-01-11 Roland McGrath <roland@hack.frob.com>
17798
17799 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
17800 not in the main loop.
17801 * configure: Regenerated.
17802
6a57d931
JM
178032013-01-11 Joseph Myers <joseph@codesourcery.com>
17804
17805 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
17806 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
17807 to just #else.
17808 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
17809 [!__GLIBC_HAVE_LONG_LONG] case.
17810 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
17811 condition to just #else.
17812 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
17813 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
17814 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
17815 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
17816 unconditional.
17817 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
17818 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
17819 #elif condition to just #else.
17820 * sysdeps/unix/sysv/linux/sys/sysmacros.h
17821 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
17822 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
17823 #elif condition to just #else.
17824
0e8529e9
SE
178252013-01-11 Steve Ellcey <sellcey@mips.com>
17826
17827 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
17828 (EF_MIPS_ARCH_64): Fix value.
17829 (EF_MIPS_ARCH_32R2): New.
17830 (EF_MIPS_ARCH_64R2): New.
17831
740b3dbe
L
178322013-01-11 H.J. Lu <hongjiu.lu@intel.com>
17833
17834 * Makeconfig (+link-pie-before-libc): New.
17835 (+link-pie-after-libc): Likewise.
17836 (+link-pie-tests): Likewise.
17837 (+link-pie): Rewritten.
17838 (link-before-libc): Remove $(config-LDFLAGS).
17839 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
17840 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
17841 (config-LDFLAGS): Renamed to ...
17842 (rtld-LDFLAGS): This.
17843 (rtld-tests-LDFLAGS): New macro.
17844 (link-libc-rpath-link): Likewise.
17845 (link-libc-tests-rpath-link): Likewise.
17846 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
17847 (link-libc): Prepand $(link-libc-rpath-link).
17848 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
17849 (test-program-prefix): New macro.
17850 (test-via-rtld-prefix): Likewise.
17851 (test-program-cmd): Likewise.
17852 (host-test-program-cmd): Likewise.
17853 * Makefile ($(common-objpfx)testrun.sh): Replace
17854 $(run-program-prefix) with $(test-program-prefix).
17855 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
17856 $(rtld-LDFLAGS).
17857 ($(common-objpfx)shlib.lds): Likewise.
17858 (build-module-helper): Likewise.
17859 ($(common-objpfx)format.lds): Likewise.
17860 * Rules (binaries-pie-tests): New.
17861 (binaries-pie-notests): Likewise.
17862 (binaries-pie): Rewritten.
17863 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
17864 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
17865 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
17866 (make-test-out): Replace $(host-built-program-cmd) with
17867 $(host-test-program-cmd).
17868 * config.make.in (build-hardcoded-path-in-tests): New variable.
17869 * configure.in (--enable-hardcoded-path-in-tests): New configure
17870 option.
17871 (hardcoded_path_in_tests): New AC_SUBST.
17872 * configure: Regenerated.
17873 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
17874 $(built-program-cmd) with $(test-program-cmd).
17875 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
17876 (test_program_cmd): This.
17877 * elf/Makefile ($(objpfx)order.out): Run test with
17878 $(test-program-prefix).
17879 ($(objpfx)order2.out): Likewise.
17880 ($(objpfx)tst-initorder.out): Likewise.
17881 ($(objpfx)tst-initorder2.out): Likewise.
17882 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
17883 $(test-program-cmd).
17884 ($(objpfx)tst-array1-static.out): Likewise.
17885 ($(objpfx)tst-array2.out): Likewise.
17886 ($(objpfx)tst-array3.out): Likewise.
17887 ($(objpfx)tst-array4.out): Likewise.
17888 ($(objpfx)tst-array5.out): Likewise.
17889 ($(objpfx)tst-array5-static.out): Likewise.
17890 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
17891 $(test-program-cmd).
17892 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
17893 $(run-program-prefix) with $(test-program-prefix).
17894 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
17895 (test_program_prefix): This.
17896 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
17897 $(run-program-prefix) with $(test-program-prefix).
17898 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
17899 (test_program_prefix): This.
17900 * iconvdata/tst-tables.sh: Likewise.
17901 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
17902 $(run-program-prefix) with $(test-program-prefix).
17903 ($(objpfx)tst-translit.out): Likewise.
17904 ($(objpfx)tst-gettext2.out): Likewise.
17905 ($(objpfx)tst-gettext4.out): Likewise.
17906 ($(objpfx)tst-gettext6.out): Likewise.
17907 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
17908 (test_program_prefix): This.
17909 * intl/tst-gettext2.sh: Likewise.
17910 * intl/tst-gettext4.sh Likewise.
17911 * intl/tst-gettext6.sh: Likewise.
17912 * intl/tst-translit.sh: Likewise.
17913 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
17914 with $(test-program-cmd).
17915 * libio/Makefile ($(objpfx)test-freopen.out): Replace
17916 $(run-program-prefix) with $(test-program-prefix).
17917 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
17918 (test_program_prefix): This.
17919 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
17920 $(run-program-prefix) with $(test-program-prefix).
17921 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
17922 (test_program_prefix): This.
17923 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
17924 * posix/Makefile ($(objpfx)globtest.out): Replace
17925 $(run-via-rtld-prefix) and $(test-wrapper) with
17926 $(test-program-prefix) and $(test-via-rtld-prefix).
17927 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
17928 $(test-program-prefix).
17929 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
17930 $(host-test-program-cmd).
17931 (tst-spawn-ARGS): Likewise.
17932 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
17933 $(test-program-prefix).
17934 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
17935 (test_via_rtld_prefix): This.
17936 (test_wrapper): Renamed to ...
17937 (test_program_prefix): This.
17938 (run_program_prefix): Replaced by test_program_prefix.
17939 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
17940 (test_program_prefix): This.
17941 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
17942 with $(host-test-program-cmd).
17943 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
17944 $(run-program-prefix) with $(test-program-prefix).
17945 ($(objpfx)tst-printf.out): Likewise.
17946 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
17947 $(test-program-cmd).
17948 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
17949 (test_program_prefix): This.
17950 * stdio-common/tst-unbputc.sh: Likewise.
17951 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
17952 $(run-program-prefix) with $(test-program-prefix).
17953 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
17954 (test_program_prefix): This.
17955 * string/Makefile ($(objpfx)tst-svc.out): Replace
17956 $(built-program-cmd) with $(test-program-cmd).
17957
c6fe55cf
AJ
179582013-01-11 Andreas Jaeger <aj@suse.de>
17959
17960 [BZ #15003]
17961 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
17962 value. Sync with Linux 3.7.
17963
9e6919c8
DM
179642013-01-10 David S. Miller <davem@davemloft.net>
17965
17966 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
17967 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17968 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17969
1c9f1a02
RM
179702013-01-10 Roland McGrath <roland@hack.frob.com>
17971
17972 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
17973 never set.
17974 * configure: Regenerated.
17975
b9de2dde
DM
179762013-01-10 David S. Miller <davem@davemloft.net>
17977
17978 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
17979 sparc V9 rather than using V8 code.
17980 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17981 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17982
e7f68ef4
RM
179832013-01-10 Roland McGrath <roland@hack.frob.com>
17984
17985 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
17986 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
17987 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
17988 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
17989 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
17990 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
17991 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
17992 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
17993 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
17994 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
17995 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
17996 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
17997 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
17998 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
17999 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18000 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18001 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18002 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18003 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18004 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18005 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18006 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18007 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18008 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18009 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18010 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18011 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18012
5a47cc9c
DM
180132013-01-10 David S. Miller <davem@davemloft.net>
18014
18015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18016
4cf8f209
L
180172013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18018
18019 * posix/Makefile (tests-static): New variable.
18020 (tests): Add $(tests-static).
18021 (tst-exec-static-ARGS): New variable.
18022 (tst-spawn-static-ARGS): Likewise.
18023 * posix/tst-exec-static.c: New file.
18024 * posix/tst-spawn-static.c: Likewise.
18025 * posix/tst-exec.c: Support run directly.
18026 * posix/tst-spawn.c: Likewise.
18027
fed0faa1
JM
180282013-01-10 Joseph Myers <joseph@codesourcery.com>
18029
828beb13
JM
18030 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18031 long.
18032 * math/bits/mathcalls.h (llrint): Likewise.
18033 (llround): Likewise.
18034 * stdlib/stdlib.h (struct drand48_data): Likewise.
18035 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18036 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18037 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18038 Likewise.
18039 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18040 Likewise.
18041 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18042 (elf_greg_t): Likewise.
18043 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18044 (__jmp_buf): Likewise.
18045 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18046 definitions.
18047 (llrint): Likewise, for all definitions.
18048 (llrintl): Likewise.
18049
fed0faa1
JM
18050 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18051 Remove [__GNUC__] condition.
18052 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18053 condition to just [__USE_ISOC99].
18054 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18055
1a20cb20
L
180562013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18057
18058 [BZ #14200]
18059 * sysdeps/unix/sysv/linux/x86/bits/environments.h
18060 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18061 defined.
18062 (_POSIX_V6_ILP32_OFF32): Likewise.
18063 (_XBS5_ILP32_OFF32): Likewise.
18064 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18065 (__ILP32_OFFBIG_LDFLAGS): Likewise.
18066
751b85f7
SP
180672013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18068
7490eb81
SP
18069 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18070
751b85f7
SP
18071 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18072 doubles __mpexp_twomm1. Adjust usage.
18073 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18074 Remove.
18075
988197f0
AS
180762013-01-10 Andreas Schwab <schwab@suse.de>
18077
18078 [BZ #14964]
18079 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18080 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18081
e83d7298
DM
180822013-01-09 David S. Miller <davem@davemloft.net>
18083
034ed64b 18084 [BZ #15003]
e83d7298
DM
18085 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18086 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18087 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18088 TCP_FASTOPEN): Define.
18089 (tcp_repair_opt): New structure.
18090 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18091 enum values.
18092 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18093 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18094 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18095 (tcp_cookie_transactions): New structure.
18096
d5e0b9bd
AB
180972013-01-09 Anton Blanchard <anton@samba.org>
18098
18099 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18100 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18101 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18102 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18103
0c07e3ea
JM
181042013-01-09 Joseph Myers <joseph@codesourcery.com>
18105
18106 * include/features.h (__USE_ANSI): Remove.
18107
232f7002
RM
181082013-01-09 Roland McGrath <roland@hack.frob.com>
18109
ad98e30c
RM
18110 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18111
232f7002
RM
18112 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18113
950c99ca
SP
181142013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
18115
b5792741
SP
18116 * sysdeps/s390/fpu/libm-test-ulps: Update.
18117
47cf2278
SP
18118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18119
950c99ca
SP
18120 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18121 (__acr): Likewise.
18122 (__cpy): Likewise.
18123 (norm): Likewise.
18124 (denorm): Likewise.
18125 (__mp_dbl): Likewise.
18126 (__dbl_mp): Likewise.
18127 (add_magnitudes): Likewise.
18128 (sub_magnitudes): Likewise.
18129 (__add): Likewise.
18130 (__sub): Likewise.
18131 (__mul): Likewise.
18132 (__inv): Likewise.
18133 (__dvd): Likewise.
18134 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18135 (__acr): Likewise.
18136 (__cpy): Likewise.
18137 (norm): Likewise.
18138 (denorm): Likewise.
18139 (__mp_dbl): Likewise.
18140 (__dbl_mp): Likewise.
18141 (add_magnitudes): Likewise.
18142 (sub_magnitudes): Likewise.
18143 (__add): Likewise.
18144 (__sub): Likewise.
18145 (__mul): Likewise.
18146 (__inv): Likewise.
18147 (__dvd): Likewise.
18148 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18149 (__acr): Likewise.
18150 (__cpy): Likewise.
18151 (norm): Likewise.
18152 (denorm): Likewise.
18153 (__mp_dbl): Likewise.
18154 (__dbl_mp): Likewise.
18155 (add_magnitudes): Likewise.
18156 (sub_magnitudes): Likewise.
18157 (__add): Likewise.
18158 (__sub): Likewise.
18159 (__mul): Likewise.
18160 (__inv): Likewise.
18161 (__dvd): Likewise.
18162
eede9df9
JM
181632013-01-08 Joseph Myers <joseph@codesourcery.com>
18164
18165 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18166 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18167 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18168 2 && __USE_EXTERN_INLINES]: Likewise.
18169
c40ea3d9
AJ
181702013-01-08 Andreas Jaeger <aj@suse.de>
18171
18172 [BZ# 14985]
18173 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18174 Remove.
18175 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18176 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18177
2ccdea26
AB
181782013-01-07 Anton Blanchard <anton@samba.org>
18179
18180 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18181 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18182 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18183 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18184 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18185 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18186 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18187 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18188 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18189 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18190 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18191 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18192 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18193 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18194 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18195 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18196 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18197 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18198 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18199 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18200 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18201 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18202 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18203 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18204 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18205 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18206 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18207 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18208 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18209 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18210 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18211 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18212 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18213 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18214 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18215 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18216 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18217 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18218 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18219 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18220 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18221 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18222 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18223
a9708fed
JM
182242013-01-07 Joseph Myers <joseph@codesourcery.com>
18225
375607b9
JM
18226 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18227 (__MALLOC_PMT): Likewise.
18228 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18229 [__GNUC__], only on [_LIBC].
18230 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18231 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18232 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18233 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18234 forward declaration.
18235 (realloc_hook_ini): Likewise.
18236 (memalign_hook_ini): Likewise.
18237 (__libc_memalign): Do not use __MALLOC_PMT in variable
18238 declaration.
18239 (__libc_valloc): Likewise.
18240 (__libc_pvalloc): Likewise.
18241 (__libc_calloc): Likewise.
18242 (__posix_memalign): Likewise.
18243
a9708fed
JM
18244 [BZ #14996]
18245 * math/s_casinh.c: Include <float.h>.
18246 (__casinh): Do not do computation with squaring and square root
18247 for large arguments.
18248 * math/s_casinhf.c: Include <float.h>.
18249 (__casinhf): Do not do computation with squaring and square root
18250 for large arguments.
18251 * math/s_casinhl.c: Include <float.h>.
18252 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18253 (__casinhl): Do not do computation with squaring and square root
18254 for large arguments.
18255 * math/libm-test.inc (casin_test): Add more tests.
18256 (casinh_test): Likewise.
18257 * sysdeps/i386/fpu/libm-test-ulps: Update.
18258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18259
afec409a
L
182602013-01-04 H.J. Lu <hongjiu.lu@intel.com>
18261
18262 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
18263 (__x86_64_raw_data_cache_size): Likewise.
18264 (__x86_64_data_cache_size_half): Likewise.
18265 (__x86_64_raw_data_cache_size_half): Likewise.
18266 (__x86_64_shared_cache_size): Likewise.
18267 (__x86_64_raw_shared_cache_size): Likewise.
18268 (__x86_64_shared_cache_size_half): Likewise.
18269 (__x86_64_raw_shared_cache_size_half): Likewise.
18270 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
18271 to ...
18272 (__x86_data_cache_size): This.
18273 (__x86_64_raw_data_cache_size): Renamed to ...
18274 (__x86_raw_data_cache_size): This.
18275 (__x86_64_data_cache_size_half): Renamed to ...
18276 (__x86_data_cache_size_half): This.
18277 (__x86_64_raw_data_cache_size_half): Renamed to ...
18278 (__x86_raw_data_cache_size_half): This.
18279 (__x86_64_shared_cache_size): Renamed to ...
18280 (__x86_shared_cache_size): This.
18281 (__x86_64_raw_shared_cache_size): Renamed to ...
18282 (__x86_raw_shared_cache_size): This.
18283 (__x86_64_shared_cache_size_half): Renamed to ...
18284 (__x86_shared_cache_size_half): This.
18285 (__x86_64_raw_shared_cache_size_half): Renamed to ...
18286 (__x86_raw_shared_cache_size_half): This.
18287 * sysdeps/x86_64/memcpy.S: Updated.
18288 * sysdeps/x86_64/memset.S: Likewise.
18289 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18290 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18291 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18292
0b3986d0
DM
182932013-01-04 David S. Miller <davem@davemloft.net>
18294
18295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18296
e47686e9
AS
182972013-01-04 Andreas Schwab <schwab@linux-m68k.org>
18298
d643bac1
AS
18299 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
18300 1 to avoid redefinition warning.
18301 (__USE_GNU): Don't define.
18302 (init_signaling_nan): Protoize.
18303
e47686e9
AS
18304 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18305
b18decba
SP
183062013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18307
fffb407f
SP
18308 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
18309 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
18310 (__cpymn): Likewise.
18311 (norm): Remove commented code.
18312 (denorm): Likewise.
18313 (__mp_dbl): Likewise.
18314 (__inv): Likewise.
18315 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
18316 (__cpymn): Likewise.
18317 (norm): Remove commented code.
18318 (denorm): Likewise.
18319 (__mp_dbl): Likewise.
18320 (__inv): Likewise.
18321
b18decba
SP
18322 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
18323 mp_no value for 1.0 and 2.0.
18324 (norm): Use RADIXI instead of radixi.d.
18325 (denorm): Likewise.
18326 (__mul): Use 0.0 instead of zero.d.
18327 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
18328 mp_no value for 1.0 and 2.0.
18329 (norm): Use RADIXI instead of radixi.d.
18330 (denorm): Likewise.
18331 (__mul): Use 0.0 instead of zero.d.
18332
cdc1c96f
JM
183332013-01-04 Joseph Myers <joseph@codesourcery.com>
18334
18335 [BZ #14994]
18336 * math/s_casinh.c (__casinh): Reduce finite argument to first
18337 quadrant then set signs of results at the end.
18338 * math/s_casinhf.c (__casinhf): Likewise.
18339 * math/s_casinhl.c (__casinhl): Likewise.
18340 * math/libm-test.inc (casin_test): Add more tests.
18341 (casinh_test): Likewise.
18342 * sysdeps/i386/fpu/libm-test-ulps: Update.
18343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18344
302913e1
SP
183452013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18346
6420d207
SP
18347 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
18348
a9e48ab4
SP
18349 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
18350
b7837264
SP
18351 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
18352 declarations.
18353 (denorm): Likewise.
18354 (__mp_dbl): Likewise.
18355 (__inv): Likewise.
18356
f8af25d2
SP
18357 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
18358 and adjust the header comment.
18359
302913e1
SP
18360 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
18361 variable name from declaration.
18362
5d7dd1ca
L
183632013-01-03 H.J. Lu <hongjiu.lu@intel.com>
18364
18365 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18366 Initialize COMMON_CPUID_INDEX_7 element.
18367 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
18368 (CPUID_RTM): Likewise.
18369 (HAS_RTM): Likewise.
18370 (COMMON_CPUID_INDEX_7): New enum.
18371
2f5f40f4
AS
183722013-01-03 Andreas Schwab <schwab@linux-m68k.org>
18373
18374 [BZ #14981]
18375 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
18376 size is zero, record memory as freed.
18377
4056f4a0
AJ
183782013-01-03 Andreas Jaeger <aj@suse.de>
18379
18380 * po/ia.po: Add new Interlingua translation.
18381
ab15736f 183822012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
18383
18384 * locale/programs/localedef.c: Fix description of '--posix' flag.
18385
568035b7
JM
183862013-01-02 Joseph Myers <joseph@codesourcery.com>
18387
e6898b8d
JM
18388 * NEWS: Update dates in second copyright notice.
18389 * README: Update copyright dates in example.
18390 * manual/libc.texinfo: Update copyright dates.
18391 * scripts/test-installation.pl: Update copyright date in --version
18392 output.
18393
0e2f9562
JM
18394 * hurd/ctty-input.c: Fix copyright notice formatting.
18395 * hurd/ctty-output.c: Likewise.
18396 * hurd/dtable.c: Likewise.
18397 * hurd/hurd-raise.c: Likewise.
18398 * hurd/hurdprio.c: Likewise.
18399 * hurd/msgportdemux.c: Likewise.
18400 * misc/sys/file.h: Likewise.
18401 * misc/sys/ioctl.h: Likewise.
18402 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18403 * sysdeps/mach/hurd/chdir.c: Likewise.
18404 * sysdeps/mach/hurd/fchdir.c: Likewise.
18405 * sysdeps/mach/hurd/rename.c: Likewise.
18406 * sysdeps/mach/hurd/rmdir.c: Likewise.
18407 * sysdeps/mach/hurd/seekdir.c: Likewise.
18408 * sysdeps/mach/hurd/setsid.c: Likewise.
18409 * sysdeps/posix/wait3.c: Likewise.
18410
568035b7
JM
18411 * All files with FSF copyright notices: Update copyright dates
18412 using scripts/update-copyrights.
18413 * intl/plural.c: Regenerated.
18414 * locale/programs/charmap-kw.h: Likewise.
18415 * locale/programs/locfile-kw.h: Likewise.
18416
da08f647
SP
184172013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18418
0f5477af
SP
18419 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
18420 four values.
18421
44e0d4c2
SP
18422 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
18423 calculation loop and add branch prediction.
18424
4d55b4e5
SP
18425 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
18426 check access beyond bounds of m1np.
18427
da08f647
SP
18428 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18429 MPTWO.
18430 (__inv): Remove local variable MPTWO to use the global
18431 constant.
18432 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
18433 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18434 variable MPTWO.
18435 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
18436 MP3HALFS static const.
18437
8e051029
DM
184382013-01-01 David S. Miller <davem@davemloft.net>
18439
18440 * po/ca.po: Update from translation team.
18441
f4cf5f2d
JM
184422013-01-01 Joseph Myers <joseph@codesourcery.com>
18443
18444 * scripts/update-copyrights: New file.
18445 * Makeconfig: Reformat copyright notice.
18446 * ctype/ctype.h: Likewise.
18447 * debug/swprintf_chk.c: Likewise.
18448 * elf/dl-cache.c: Likewise.
18449 * elf/dl-debug.c: Likewise.
18450 * elf/dl-object.c: Likewise.
18451 * grp/initgroups.c: Likewise.
18452 * hurd/Makefile: Likewise.
18453 * hurd/hurd/signal.h: Likewise.
18454 * hurd/hurdfault.c: Likewise.
18455 * hurd/hurdioctl.c: Likewise.
18456 * hurd/hurdlookup.c: Likewise.
18457 * hurd/intr-msg.c: Likewise.
18458 * iconv/gconv_open.c: Likewise.
18459 * libio/swprintf.c: Likewise.
18460 * locale/lc-ctype.c: Likewise.
18461 * locale/nl_langinfo.c: Likewise.
18462 * mach/Machrules: Likewise.
18463 * mach/Makefile: Likewise.
18464 * malloc/obstack.h: Likewise.
18465 * manual/Makefile: Likewise.
18466 * manual/tsort.awk: Likewise.
18467 * misc/bits/stab.def: Likewise.
18468 * nis/nis_print_group_entry.c: Likewise.
18469 * nis/nis_table.c: Likewise.
18470 * nis/nss_compat/compat-pwd.c: Likewise.
18471 * nis/nss_compat/compat-spwd.c: Likewise.
18472 * po/Makefile: Likewise.
18473 * posix/fnmatch.c: Likewise.
18474 * posix/regex.h: Likewise.
18475 * resolv/Makefile: Likewise.
18476 * resolv/nss_dns/dns-network.c: Likewise.
18477 * resolv/res_hconf.c: Likewise.
18478 * scripts/gen-sorted.awk: Likewise.
18479 * soft-fp/soft-fp.h: Likewise.
18480 * stdio-common/printf.h: Likewise.
18481 * stdlib/monetary.h: Likewise.
18482 * stdlib/random.c: Likewise.
18483 * stdlib/random_r.c: Likewise.
18484 * sysdeps/generic/Makefile: Likewise.
18485 * sysdeps/gnu/Makefile: Likewise.
18486 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18487 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18488 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18489 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18490 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18491 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18492 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18493 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18494 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18495 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18496 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18497 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18498 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18499 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18500 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18501 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18502 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18503 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18504 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18505 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18506 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18507 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18508 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18509 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18510 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
18511 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18512 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18513 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
18514 * sysdeps/mach/hurd/errnos.awk: Likewise.
18515 * sysdeps/mach/hurd/fork.c: Likewise.
18516 * sysdeps/mach/hurd/getcwd.c: Likewise.
18517 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
18518 * sysdeps/mach/hurd/mmap.c: Likewise.
18519 * sysdeps/mach/hurd/utimes.c: Likewise.
18520 * sysdeps/mach/hurd/xmknod.c: Likewise.
18521 * sysdeps/posix/profil.c: Likewise.
18522 * sysdeps/posix/readdir_r.c: Likewise.
18523 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18524 * sysdeps/powerpc/bits/setjmp.h: Likewise.
18525 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
18526 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18527 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18528 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18529 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18530 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18531 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18532 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18533 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18534 * sysdeps/pthread/lio_listio.c: Likewise.
18535 * sysdeps/sparc/dl-procinfo.h: Likewise.
18536 * sysdeps/unix/i386/sysdep.S: Likewise.
18537 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
18538 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
18539 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
18540 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
18541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18542 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
18543 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
18544 * sysdeps/unix/sysv/linux/speed.c: Likewise.
18545 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
18546 * sysdeps/wordsize-32/divdi3.c: Likewise.
18547 * time/sys/time.h: Likewise.
18548 * wcsmbs/Makefile: Likewise.
18549
0549fbba
DM
185502013-01-01 David S. Miller <davem@davemloft.net>
18551
a141f1a7
DM
18552 * po/fr.po: Update from translation team.
18553
0549fbba
DM
18554 * catgets/gencat.c: Update copyright year.
18555 * csu/version.c: Likewise.
18556 * debug/catchsegv.sh: Likewise.
18557 * debug/pcprofiledump.c: Likewise.
18558 * debug/xtrace.sh: Likewise.
18559 * elf/ldconfig.c: Likewise.
18560 * elf/ldd.bash.in: Likewise.
18561 * elf/pldd.c: Likewise.
18562 * elf/sotruss.ksh: Likewise.
18563 * elf/sprof.c: Likewise.
18564 * iconv/iconv_prog.c: Likewise.
18565 * iconv/iconvconfig.c: Likewise.
18566 * locale/programs/locale.c: Likewise.
18567 * locale/programs/localedef.c: Likewise.
18568 * login/programs/pt_chown.c: Likewise.
18569 * malloc/memusage.sh: Likewise.
18570 * malloc/memusagestat.c: Likewise.
18571 * malloc/mtrace.pl: Likewise.
18572 * nscd/nscd.c: Likewise.
18573 * nss/getent.c: Likewise.
18574 * nss/makedb.c: Likewise.
18575 * posix/getconf.c: Likewise.
18576
18ea052c
SP
185772012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18578
18579 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
18580 numbers.
18581
9c89fca6
MF
185822012-12-30 Mike Frysinger <vapier@gentoo.org>
18583
18584 * math/bits/mathcalls.h (modf): Use __nonnull.
18585
085ec079
SP
185862012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18587
18588 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
18589 (split): Use macro CN instead of the bare value.
18590 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
18591 could be used.
18592 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
18593 instead of the bare value.
18594 (power1): Likewise.
18595
6d9f97e1
SP
185962012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18597
d63f73be
SP
18598 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
18599 __ATAN_TWOM.
18600 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18601
6d9f97e1
SP
18602 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
18603 their values.
18604 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18605 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18606 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
18607 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18608
4c4febf5
AJ
186092012-12-28 Andreas Jaeger <aj@suse.de>
18610
af5843ef
AJ
18611 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
18612 values are from Linux 3.7.
18613
4c4febf5
AJ
18614 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
18615 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
18616
99136f82
SP
186172012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18618
2f216c3c 18619 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
18620 TRUE case.
18621
99136f82
SP
18622 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
18623 (norm): Likewise.
18624 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
18625 variables with preprocessor constants.
18626 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18627 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18628 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18629
7fffbdff
BH
186302012-12-27 Bruno Haible <bruno@clisp.org>
18631
18632 [BZ #14317]
18633 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
18634 only if needed.
18635
b76eb5f0
SP
186362012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18637
31a7fe5c
SP
18638 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
18639 and use variable directly.
18640 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
18641
b76eb5f0
SP
18642 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18643 MPONE.
18644 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
18645 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18646 variable MPONE.
18647 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18648 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18649 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
18650 include directive. Remove local variable MPONE.
18651 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
18652 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
18653 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18654
2c8bfe7d
DM
186552012-12-25 David S. Miller <davem@davemloft.net>
18656
18657 * version.h (RELEASE): Set to "development".
18658 (VERSION): Set to "2.17.90".
18659 * NEWS: Add 2.18 section.
18660
147d03b0
DM
186612012-12-21 David S. Miller <davem@davemloft.net>
18662
18663 * po/hr.po: Update from translation team.
18664
a8ebb2b9
AK
186652012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18666
18667 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
18668
95b4f1b6
SE
186692012-12-19 Steve Ellcey <sellcey@mips.com>
18670
b2d94007 18671 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 18672
cedb2a90
MS
186732012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18674
18675 * manual/contrib.texi (Contributors): Spelling correction.
18676
bbf527d6
DM
186772012-12-15 David S. Miller <davem@davemloft.net>
18678
18679 * po/ru.po: Update from translation team.
18680
bc38c906
DM
186812012-12-13 David S. Miller <davem@davemloft.net>
18682
85429b1a
DM
18683 * NEWS: Mention IFUNC testsuite enhancements.
18684
d283e353
DM
18685 * po/pl.po: Update from translation team.
18686 * po/bg.po: Likewise.
18687
bc38c906
DM
18688 * manual/contrib.texi (Contributors): Update entries for Hongjiu
18689 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
18690
a181b0d7
DM
186912012-12-11 David S. Miller <davem@davemloft.net>
18692
4641d57e
DM
18693 * po/sv.po: Update from translation team.
18694
f7bc6495
DM
18695 * po/vi.po: Update from translation team.
18696
6fc9048f
DM
18697 * po/cs.po: Update from translation team.
18698
a181b0d7
DM
18699 * po/de.po: Update from translation team.
18700 * po/eo.po: Likewise.
18701 * po/nl.po: Likewise.
18702
f70bfe80
SP
187032012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18704
3c8b4190
SP
18705 [BZ #14246]
18706 * manual/argp.texi (Argp Helper Functions): Move node to follow
18707 Argp Parsing State.
18708
f70bfe80
SP
18709 [BZ #14872]
18710 * manual/conf.texi (Limits on File System Capacity): Mention if
18711 terminating null is included in the max size.
18712
188f0adf
AJ
187132012-12-10 Andreas Jaeger <aj@suse.de>
18714
18715 * po/cs.po: Update from translation team.
18716
56e7d3ad
SP
187172012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18718
18719 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
18720 void pointer and cast to uintptr_t.
18721 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
18722 path.
18723 * sysdeps/s390/s390-64/memcpy.S: Likewise.
18724 * sysdeps/s390/s390-64/memset.S: Likewise.
18725
76f2d2ea 187262012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
18727
18728 [BZ #14833]
18729 * menual/message.texi (Message Translation): Fix typos.
18730 (Helper programs for gettext): Likewise.
18731
67cbf9a2
AS
187322012-12-07 Andreas Schwab <schwab@linux-m68k.org>
18733
18734 [BZ #14898]
18735 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
18736 Change to -1.
18737
682d0e9a
DM
187382012-12-07 David S. Miller <davem@davemloft.net>
18739
18740 * po/libc.pot: Update.
18741
573cd484
RH
187422012-12-07 Richard Henderson <rth@redhat.com>
18743
7e9da188 18744 [BZ #10114]
573cd484
RH
18745 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
18746 normal/normal case to before the switch.
18747 (_FP_DIV): Likewise.
18748
e933a943
MF
187492012-12-06 Carlos O'Donell <carlos@systemhalted.org>
18750 Mike Frysinger <vapier@gentoo.org>
18751
18752 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
18753 check for __NR_fadvise64_64.
18754
82123268
CM
187552012-12-06 Chris Metcalf <cmetcalf@tilera.com>
18756
18757 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
18758 0, not just to plain "0" as a statement.
18759 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
18760 with cw.
18761
d9814526
JM
187622012-12-06 Joseph Myers <joseph@codesourcery.com>
18763
18764 * NEWS: Use sourceware.org in Bugzilla URL.
18765
7728c574
SP
187662012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18767
f16946dd
SP
18768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18769 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
18770
5704bbcb
SP
18771 * stdio-common/tst-put-error.c (do_test): Add newline to the
18772 padded test to ensure flush.
18773
17aa0516
JL
187742012-12-05 Jeff Law <law@redhat.com>
18775
18776 * sunrpc/etc.rpc (fedfs_admin): Add entry.
18777
363313b5
JM
187782012-12-05 Joseph Myers <joseph@codesourcery.com>
18779
effbd42a
JM
18780 * README: Don't refer to ports add-on as distributed separately.
18781 Mention AArch64 in list of systems supported in the ports add-on.
18782
87600365
JM
18783 * LICENSES: Add more non-FSF copyright and license notices.
18784
a0d7066a
JM
18785 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
18786 ((unused)).
18787
66ca5a5b
JM
18788 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
18789
363313b5
JM
18790 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
18791 10000 as width of padded output.
18792
b37984ad
JM
187932012-12-04 Joseph Myers <joseph@codesourcery.com>
18794
9003570a
JM
18795 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
18796
b37984ad
JM
18797 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
18798 variable LX with __attribute__ ((unused)).
18799 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18800 Likewise.
18801 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18802 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18803 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
18804 with __attribute__ ((unused)).
18805
c8df52ec
DM
188062012-12-04 David S. Miller <davem@abraco.davemloft.net>
18807
18808 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
18809
b3b099af
JM
188102012-12-04 Joseph Myers <joseph@codesourcery.com>
18811
c33aa6e3
JM
18812 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
18813 (CFLAGS-nldbl-acos.c): New variable.
18814 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
18815 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
18816 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
18817 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
18818 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
18819 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
18820 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
18821 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
18822 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
18823 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
18824 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
18825 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
18826 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
18827 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
18828 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
18829 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
18830 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
18831 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
18832 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
18833 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
18834 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
18835 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
18836 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
18837 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
18838 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
18839 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
18840 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
18841 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
18842 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
18843 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
18844 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
18845 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
18846 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
18847 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
18848 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
18849 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
18850 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
18851 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
18852 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
18853 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
18854 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
18855 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
18856 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
18857 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
18858 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
18859 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
18860 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
18861 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
18862 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
18863 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
18864 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
18865 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
18866 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
18867 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
18868 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
18869 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
18870 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
18871 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
18872 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
18873 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
18874 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
18875 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
18876 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
18877 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
18878 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
18879 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
18880 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
18881 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
18882 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
18883 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
18884 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
18885 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
18886 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
18887 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
18888 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
18889 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
18890 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
18891 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
18892 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
18893 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
18894 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
18895 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
18896 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
18897 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
18898 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
18899 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
18900 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
18901 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
18902 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
18903 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
18904 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
18905 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
18906 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
18907 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
18908 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
18909 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
18910 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
18911
20f0018d
JM
18912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18913 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
18914
b3b099af
JM
18915 [BZ #14914]
18916 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
18917 whole low double instead of just low 47 bits when splitting values
18918 into two parts.
18919
029264d1
AM
189202012-12-03 Allan McRae <allan@archlinux.org>
18921
18922 * manual/stdio.texi (Predefined Printf Handlers): Remove
18923 @hsep and @vsep usage.
18924
c9d6789e
MF
189252012-12-03 Mike Frysinger <vapier@gentoo.org>
18926
18927 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
18928 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
18929
4b7634a5
JL
189302012-12-03 Jeff Law <law@redhat.com>
18931
18932 * time/sys/time.h (settimeofday): Do not mark TV argument
18933 as __nonnull.
18934
eb6cbd24
MF
189352012-12-01 Mike Frysinger <vapier@gentoo.org>
18936
18937 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
18938 when currently writing and seek to current position when not.
18939 * libio/Makefile (tests): Remove bug-fclose1.
18940 * libio/bug-fclose1.c: Delete.
18941
f638872a
JM
189422012-12-01 Joseph Myers <joseph@codesourcery.com>
18943
18944 * manual/arith.texi (feenableexcept): Fix typo.
18945 (fedisableexcept): Likewise.
18946
48085d14
RM
189472012-11-30 Roland McGrath <roland@hack.frob.com>
18948
18949 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
18950 second, differently-typed declaration, rather than a cast.
18951
1a538b9f
SP
189522012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18953
18954 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
18955 * include/rpc/svc.h: ... here.
18956
d07f2ff1 189572012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
18958
18959 [BZ #13013]
18960 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
18961 depending n and resplen2 to catch cases where answer
18962 equals answerp2.
18963
c93ec1f0
CD
189642012-11-29 Carlos O'Donell <carlos@systemhalted.org>
18965
18966 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
18967 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
18968
37db69de
MF
189692012-11-29 Mike Frysinger <vapier@gentoo.org>
18970
18971 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
18972
e10c4e4f
RM
189732012-11-29 Roland McGrath <roland@hack.frob.com>
18974
18975 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
18976
2af1b328
JL
189772012-11-28 Jeff Law <law@redhat.com>
18978
18979 [BZ #13761]
18980 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
18981 dataset_temporary. Track alloca usage into alloca_used.
18982 If dataset is large allocate and release it via malloc/free.
18983
111db5b1
FW
189842012-06-04 Florian Weimer <fweimer@redhat.com>
18985
f06cc227 18986 [BZ #14197]
111db5b1
FW
18987 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
18988
dd694abd
DM
189892012-11-28 David S. Miller <davem@davemloft.net>
18990
18991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18992
9984dd01
JM
189932012-11-28 Joseph Myers <joseph@codesourcery.com>
18994
18995 [BZ #14803]
18996 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
18997 of pi/2 rounded to nearest to 64 bits.
18998 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
18999 nearest to 64 bits.
19000 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19001 bits.
19002
14bc93a9
JL
190032012-11-28 Jeff Law <law@redhat.com>
19004 Martin Osvald <mosvald@redhat.com>
19005
19006 [BZ #14889]
19007 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19008 * sunrpc/svc.c: Include time.h.
19009 (__svc_accept_failed): New function.
19010 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19011 any reason other than EINTR, call __svc_accept_failed.
19012 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19013 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19014
e3c6aa3a
AS
190152012-11-28 Andreas Schwab <schwab@suse.de>
19016
19017 * scripts/abilist.awk: Also handle indirect functions in .opd
19018 section.
19019
1bead169
JM
190202012-11-28 Joseph Myers <joseph@codesourcery.com>
19021
19022 [BZ #13881]
19023 * sysdeps/x86/fpu/powl_helper.c: New file.
19024 * sysdeps/x86/fpu/Makefile: Likewise.
19025 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19026 (p3): New object.
19027 (__ieee754_powl): Use __powl_helper for finite arguments except
19028 integer exponents below 8.
19029 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19030 (p3): New object.
19031 (__ieee754_powl): Use __powl_helper for finite arguments except
19032 integer exponents below 8.
19033 * math/libm-test.inc (pow_test): Add more tests and enable some
19034 previously disabled tests.
19035 * sysdeps/i386/fpu/libm-test-ulps: Update.
19036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19037
0817d63d
SP
190382012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19039 Carlos O'Donell <carlos_odonell@mentor.com>
19040
19041 * nss/makedb.c (is_prime): Assert that input is odd and greater
19042 than 4. Note that fact in a comment too.
19043 (next_prime): Add 4 to input.
19044
de2fd463
SP
190452012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19046
19047 [BZ #11741]
19048 * libio/Makefile (tests): Add test case tst-fwrite-error.
19049 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19050 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19051 * libio/tst-fwrite-error.c: New test case.
19052
c515fb51
L
190532012-11-26 H.J. Lu <hongjiu.lu@intel.com>
19054
19055 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19056 before casting to void *.
19057 * include/libc-internal.h (__pointer_type): New macro.
19058 (__integer_if_pointer_type_sub): Likewise.
19059 (__integer_if_pointer_type): Likewise.
19060 (cast_to_integer): Likewise.
19061 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19062 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19063 before casting to atomic64_t.
19064 (atomic_exchange_acq): Likewise.
19065 (__arch_exchange_and_add_body): Likewise.
19066 (__arch_add_body): Likewise.
19067 (atomic_add_negative): Likewise.
19068 (atomic_add_zero): Likewise.
19069
4cf77aa9
JM
190702012-11-26 Joseph Myers <joseph@codesourcery.com>
19071
19072 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19073 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19074 (add_fdes): Likewise.
19075 (linear_search_fdes): Likewise.
19076 (binary_search_unencoded_fdes): Likewise.
19077
d260b3b4
AS
190782012-11-26 Andreas Schwab <schwab@linux-m68k.org>
19079
19080 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19081
67060746
AC
190822012-11-24 Adam Conrad <adconrad@0c3.net>
19083
19084 * configure.in: Autodetect C++ header directories.
19085 * configure: Regenerated.
19086
800938a1
MF
190872012-11-23 Mike Frysinger <vapier@gentoo.org>
19088
19089 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19090
4e6e34e6
AS
190912012-11-23 Andreas Schwab <schwab@linux-m68k.org>
19092
19093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19094
7c7feb47
JM
190952012-11-22 Joseph Myers <joseph@codesourcery.com>
19096
7184dcdf
JM
19097 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19098 LDBL_MANT_DIG == 106]: Disable some tests.
19099 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19100 Likewise.
19101 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19102 Likewise.
19103
0a42601f
JM
19104 [BZ #14871]
19105 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19106 input for small inputs. Return +/- pi/2 for large inputs.
19107 * math/libm-test.inc (atan_test): Add more tests.
19108
79c9b9fe
JM
19109 * sysdeps/generic/unwind-dw2-fde-glibc.c
19110 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19111 __attribute__ ((unused)).
19112
c60d3bf2
JM
19113 [BZ #14645]
19114 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19115 x * y if x and y are nonzero and z is zero.
19116
ef1e0867
JM
19117 [BZ #14811]
19118 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19119 nonzero exponents with absolute value below 0x1p-117 to +/-
19120 0x1p-117.
19121
1468ded3
JM
19122 [BZ #14869]
19123 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19124 up arguments below 2**-450, not just those below 2**-500.
19125 * math/libm-test.inc (hypot_test): Add another test.
19126
8e27e3cc
JM
19127 [BZ #14868]
19128 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19129 Return a+b for ratio over 2**120, not 2**60.
19130 * math/libm-test.inc (hypot_test): Add another test.
19131
c9c0279b
JM
19132 * math/libm-test.inc (clog_test): Use
19133 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19134 (clog10_test): Likewise.
19135
7c7feb47
JM
19136 [BZ #6778]
19137 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19138
fff1530e
AS
191392012-11-22 Andreas Schwab <schwab@suse.de>
19140
19141 * sysdeps/i386/fpu/libm-test-ulps: Update.
19142
94558d30
PT
191432012-11-22 Pino Toscano <toscano.pino@tiscali.it>
19144
19145 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19146 printf output with newline.
19147
7e1be741
L
191482012-11-21 H.J. Lu <hongjiu.lu@intel.com>
19149
6bfea974
L
19150 [BZ #14865]
19151 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19152 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19153 -z nodlopen, -z initfirst and -z execstack support.
19154 * configure: Regenerated.
19155
7e1be741
L
19156 * elf/elf.h (DF_1_NODIRECT): New macro.
19157 (DF_1_IGNMULDEF): Likewise.
19158 (DF_1_NOKSYMS): Likewise.
19159 (DF_1_NOHDR): Likewise.
19160 (DF_1_EDITED): Likewise.
19161 (DF_1_NORELOC): Likewise.
19162 (DF_1_SYMINTPOSE): Likewise.
19163 (DF_1_GLOBAUDIT): Likewise.
19164 (DF_1_SINGLETON): Likewise.
19165 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19166 DT_1_SUPPORTED_MASK bits.
19167 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19168
105ce2ce
CD
191692012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
19170
19171 * sysdeps/unix/make-syscalls.sh: Document prefixes.
19172
123be9de
TS
191732012-11-20 Thomas Schwinge <thomas@codesourcery.com>
19174
d072f3f7
TS
19175 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19176 macro.
19177
123be9de
TS
19178 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19179 (sendmmsg): Move declarations...
19180 * socket/sys/socket.h: ... here.
19181 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19182 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19183 include it from...
19184 * socket/recvmmsg.c: ... this new file.
19185 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19186 (sendmmsg): Rename to __sendmmsg, create weak alias and make
19187 definition of __sendmmsg hidden.
19188 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19189 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19190 Move ENOSYS stub into and include it from...
19191 * socket/sendmmsg.c: ... this new file.
19192 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19193 (sysdep_routines): Move recvmmsg and sendmmsg...
19194 * socket/Makefile (routines): ... here.
19195 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19196 (GLIBC_PRIVATE): Add __sendmmsg.
19197 * include/sys/socket.h (__sendmmsg): Add declarations.
19198 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19199 sendmmsg.
19200
cf9a5d18
JM
192012012-11-20 Joseph Myers <joseph@codesourcery.com>
19202
19203 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19204 variable I1 with __attribute__ ((unused)).
19205 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19206
ecd4caf9
JM
192072012-11-19 Joseph Myers <joseph@codesourcery.com>
19208
be14d48f
JM
19209 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19210 DUMMY variables with __attribute__ ((unused)).
19211
ecd4caf9
JM
19212 * bits/byteswap.h: Include <bits/types.h>.
19213 (__bswap_64): Use __uint64_t instead of unsigned long long int.
19214
986cab95
PT
192152012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19216
19217 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19218 string_t. Do not manually set errno.
19219 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19220 length with __strnlen. Make sure to both set errno and return it on
19221 failure.
19222
6d33cc9d
DM
192232012-11-19 David S. Miller <davem@davemloft.net>
19224
19225 With help from Joseph Myers.
19226 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19227 very large arguments properly.
19228 * math/libm-test.inc (atan_test): New tests.
19229 (atan2_test): New tests.
19230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19231 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19232
ee663277
JM
192332012-11-19 Joseph Myers <joseph@codesourcery.com>
19234
877f2d8e
JM
19235 [BZ #14856]
19236 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19237 Define to 3.
19238
116fc08a
JM
19239 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19240 [POSIX] (EADDRNOTAVAIL): Likewise.
19241 [POSIX] (EAFNOSUPPORT): Likewise.
19242 [POSIX] (EALREADY): Likewise.
19243 [POSIX] (ECONNABORTED): Likewise.
19244 [POSIX] (ECONNREFUSED): Likewise.
19245 [POSIX] (ECONNRESET): Likewise.
19246 [POSIX] (EDESTADDRREQ): Likewise.
19247 [POSIX] (EDQUOT): Likewise.
19248 [POSIX] (EHOSTUNREACH): Likewise.
19249 [POSIX] (EIDRM): Likewise.
19250 [POSIX] (EISCONN): Likewise.
19251 [POSIX] (ELOOP): Likewise.
19252 [POSIX] (EMULTIHOP): Likewise.
19253 [POSIX] (ENETDOWN): Likewise.
19254 [POSIX] (ENETUNREACH): Likewise.
19255 [POSIX] (ENOBUFS): Likewise.
19256 [POSIX] (ENODATA): Likewise.
19257 [POSIX] (ENOLINK): Likewise.
19258 [POSIX] (ENOMSG): Likewise.
19259 [POSIX] (ENOPROTOOPT): Likewise.
19260 [POSIX] (ENOSR): Likewise.
19261 [POSIX] (ENOSTR): Likewise.
19262 [POSIX] (ENOTCONN): Likewise.
19263 [POSIX] (ENOTSOCK): Likewise.
19264 [POSIX] (EOPNOTSUPP): Likewise.
19265 [POSIX] (EOVERFLOW): Likewise.
19266 [POSIX] (EPROTO): Likewise.
19267 [POSIX] (EPROTONOSUPPORT): Likewise.
19268 [POSIX] (EPROTOTYPE): Likewise.
19269 [POSIX] (ESTALE): Likewise.
19270 [POSIX] (ETIME): Likewise.
19271 [POSIX] (ETXTBSY): Likewise.
19272 [POSIX] (EWOULDBLOCK): Likewise.
19273 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
19274 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
19275 [POSIX] (SEEK_CUR): Likewise.
19276 [POSIX] (SEEK_END): Likewise.
19277 [POSIX || UNIX98] (mode_t): Do not require.
19278 [POSIX] (off_t): Likewise.
19279 [POSIX] (pid_t): Likewise.
19280 [POSIX] (sys/stat.h): Do not allow header.
19281 [POSIX] (unistd.h): Likewise.
19282 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
19283 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
19284 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
19285 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
19286 require.
19287 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
19288 sigevent): Specify elements.
19289 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
19290 entry.
19291 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
19292 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
19293
a483863f
JM
19294 * conform/data/cpio.h-data [POSIX]: Disable whole file.
19295 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
19296 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
19297 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
19298 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
19299 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
19300 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
19301 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
19302 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
19303 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
19304 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
19305 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
19306 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
19307 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
19308 Likewise.
19309 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
19310 Likewise.
19311 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
19312 Likewise.
19313 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
19314 Likewise.
19315 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
19316 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
19317 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
19318 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
19319 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
19320 Specify lower bound on value.
19321 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
19322 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
19323 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
19324 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
19325 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
19326 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
19327 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
19328 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
19329 value.
19330 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
19331 as optional.
19332 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
19333 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
19334 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
19335 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
19336 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
19337 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
19338 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
19339 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
19340 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
19341 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
19342 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
19343 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
19344 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
19345 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
19346 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
19347 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
19348 entry.
19349 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
19350 optional.
19351 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
19352 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
19353 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
19354 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
19355 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
19356 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
19357 Likewise.
19358 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
19359 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
19360 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
19361 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
19362 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
19363 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
19364 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
19365 as optional.
19366 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
19367 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
19368 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
19369 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
19370 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
19371 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
19372 specify as optional.
19373 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
19374 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
19375 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
19376 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
19377 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
19378 [XPG3] (NL_LANGMAX): Likewise.
19379 [POSIX || XPG3] (NL_MSGMAX): Likewise.
19380 [POSIX || XPG3] (NL_NMAX): Likewise.
19381 [POSIX || XPG3] (NL_SETMAX): Likewise.
19382 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
19383 [XPG3] (NZERO): Likewise.
19384 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
19385 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
19386 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
19387 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
19388 (REG_ERANGE): Expect.
19389 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
19390 optional-constant.
19391 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
19392 Use (void) in prototype.
19393 [POSIX] (*_t): Allow.
19394 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
19395 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
19396 (WRDE_BADVAL): Expect.
19397
5ba924e3
JM
19398 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
19399 expect.
19400 [XPG3 || XPG4] (O_RSYNC): Likewise.
19401 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
19402 Likewise.
19403 [XPG3 || XPG4] (pthread_sigmask): Likewise.
19404 [XPG3 || XPG4] (sigqueue): Likewise.
19405 [XPG3 || XPG4] (sigtimedwait): Likewise.
19406 [XPG3 || XPG4] (sigwaitinfo): Likewise.
19407 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
19408 [XPG3 || XPG4] (vsnprintf): Likewise.
19409 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
19410 Likewise.
19411 [XPG3 || XPG4] (blksize_t): Likewise.
19412 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
19413 Likewise.
19414 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
19415 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19416 [XPG3 || XPG4] (struct itimerspec): Likewise.
19417 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
19418 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
19419 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
19420 [XPG3 || XPG4] (clockid_t): Likewise.
19421 [XPG3 || XPG4] (timer_t): Likewise.
19422 [XPG3 || XPG4] (clock_getres): Likewise.
19423 [XPG3 || XPG4] (clock_gettime): Likewise.
19424 [XPG3 || XPG4] (clock_settime): Likewise.
19425 [XPG3 || XPG4] (nanosleep): Likewise.
19426 [XPG3 || XPG4] (timer_create): Likewise.
19427 [XPG3 || XPG4] (timer_delete): Likewise.
19428 [XPG3 || XPG4] (timer_gettime): Likewise.
19429 [XPG3 || XPG4] (timer_getoverrun): Likewise.
19430 [XPG3 || XPG4] (timer_settime): Likewise.
19431 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
19432 [XPG3 || XPG4] (getlogin_r): Likewise.
19433 [XPG3 || XPG4] (pread): Likewise.
19434 [XPG3 || XPG4] (pthread_atfork): Likewise.
19435 [XPG3 || XPG4] (pwrite): Likewise.
19436
ee663277
JM
19437 [BZ #14835]
19438 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
19439 <bits/siginfo.h>.
19440
942caa16
PT
194412012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19442
e19af380
PT
19443 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
19444 finalizing MALLSTREAM.
19445
942caa16
PT
19446 * sysdeps/mach/hurd/syncfs.c: New file.
19447
cfde9b46
SP
194482012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19449
19450 [BZ #14719]
19451 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
19452 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
19453 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
19454 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
19455 (_nss_dns_gethostbyname4_r): Likewise.
19456 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
19457 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
19458
f6da27e5
PH
194592012-11-19 Peng Haitao <penght@cn.fujitsu.com>
19460
19461 [BZ #13763]
19462 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
19463
6665d4a2
SM
194642012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
19465
1f51ee92
SM
19466 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
19467 * elf/cache.c (print_entry): Print ",AArch64" for
19468 FLAG_AARCH64_LIB64
19469
6665d4a2
SM
19470 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
19471 * elf/cache.c (print_entry): Print ",hard-float" for
19472 FLAG_ARM_LIBHF.
19473
05b227bd
DM
194742012-11-18 David S. Miller <davem@davemloft.net>
19475
19476 With help from Joseph Myers.
19477 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
19478 cutoff to 2**-13.
19479 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
19480 cutoff to 2**-25.
19481 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
19482 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
19483 small.
19484 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
19485 * math/libm-test.inc (y0_test): New tests.
19486 (y1_test): New tests.
19487 * sysdeps/i386/fpu/libm-test-ulps: Update.
19488 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19490
786b0b67
AS
194912012-11-18 Andreas Schwab <schwab@linux-m68k.org>
19492
19493 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
19494 64-bit targets.
19495 * configure: Regenerated.
19496
8e18b86d
DM
194972012-11-17 David S. Miller <davem@davemloft.net>
19498
19499 [BZ #14811]
19500 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
19501 nonzero exponents with absolute value below 0x1p-128 to +/-
19502 0x1p-128.
19503
531f1ae0
JM
195042012-11-17 Joseph Myers <joseph@codesourcery.com>
19505
12df29e2
JM
19506 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
19507
150dc1a0
JM
19508 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
19509
531f1ae0
JM
19510 * posix/getconf-speclist.c: New file.
19511 * posix/posix-envs.def: Likewise.
19512 * posix/confstr.c (START_ENV_GROUP): New macro.
19513 (END_ENV_GROUP): Likewise.
19514 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19515 (KNOWN_PRESENT_ENV_STRING): Likewise.
19516 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19517 (UNKNOWN_ENVIRONMENT): Likewise.
19518 (confstr): Include posix-envs.def instead of handling
19519 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
19520 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
19521 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
19522 (END_ENV_GROUP): Likewise.
19523 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19524 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19525 (UNKNOWN_ENVIRONMENT): Likewise.
19526 (__sysconf): Include posix-envs.def instead of handling associated
19527 cases directly here.
19528 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
19529 preprocessing getconf-speclist.c rather than running getconf or
19530 generating empty file.
19531
a93f9cbc
PT
195322012-11-16 Pino Toscano <toscano.pino@tiscali.it>
19533
19534 * scripts/check-local-headers.sh: Ignore 'mach' headers.
19535
d64d9f87
AL
195362012-11-16 Andrej Lajovic <natrij@gmail.com>
19537
19538 [BZ #14672]
19539 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
19540
447885eb
DM
195412012-11-16 David S. Miller <davem@davemloft.net>
19542
19543 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
19544 smaller than LDBL_EPSILON/2.0L, just return xm1.
19545
bcbf9830
L
195462012-11-16 H.J. Lu <hongjiu.lu@intel.com>
19547
19548 * elf/tst-array1.c (init): Set constructor priority to 1000.
19549 (fini): Set destructor priority to 1000.
19550 * elf/tst-array2dep.c: Likewise.
19551
2b766585
SP
195522012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19553
19554 [BZ #11741]
19555 * libio/fileops.c (_IO_new_file_write): Correctly return error.
19556 (_IO_new_file_xsputn): Also return EOF if none of the input
19557 data was written when overflow failed.
19558 * libio/iopadn.c (_IO_padn): Likewise.
19559 * libio/iowpadn.c (_IO_wpadn): Likewise.
19560 * stdio-common/tst-put-error.c: Add copyright notice.
19561 (do_test): Add case for printing padded string.
19562 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
19563 _IO_padn returned error.
19564 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
19565 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
19566 return EOF.
19567
b1848fde
SP
195682012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19569
19570 * libio/libioP.h: Add comment note that the references to C++
19571 bits are now obsolete.
19572
2fd89785
MS
195732012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19574
19575 * math/libm-test.inc (check_complex): Use asprintf.
19576
e3ea5409
JM
195772012-11-14 Joseph Myers <joseph@codesourcery.com>
19578
19579 * debug/pcprofiledump.c (print_version): Update copyright year.
19580 * malloc/memusagestat.c (print_version): Likewise.
19581
2e64d265
L
195822012-11-14 H.J. Lu <hongjiu.lu@intel.com>
19583
19584 [BZ #14831]
19585 * elf/Makefile (tests): Add tst-audit8.
19586 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
19587 ($(objpfx)tst-audit8.out): New target.
19588 (tst-audit8-ENV): New variable.
19589 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
19590 audit if l_reloc_result is NULL.
19591 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
19592 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
19593 * elf/tst-audit8.c: New file.
19594
c485e4d2
MS
195952012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19596
19597 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
19598 * misc/Makefile (CFLAGS-select.c): Define.
19599 * posix/Makefile (CFLAGS-pause.c): Define.
19600
3a0d900a
DM
196012012-11-13 David S. Miller <davem@davemloft.net>
19602
19603 * crypt/Makefile: Move test targets after toplevel Rules
19604 inclusion. Grab any necessary sysdep routines when linking.
19605 * crypt/md5.c (md5_process_block): Remove define, we will always
19606 name it __md5_process_block.
19607 (md5_finish_ctx): Update md5_process_block call.
19608 (md5_stream): Likewise.
19609 (md5_process_bytes): Likewise.
19610 (md5_process_block): Rename to __md5_process_block and move to ...
19611 * crypt/md5-block.c: ... here.
19612 * crypt/sha256.c (sha256_process_block): Move to ...
19613 * crypt/sha256-block.c: ... here.
19614 * crypt/sha512.c (sha512_process_block): Move to ...
19615 * crypt/sha512-block.c: ... here.
19616 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
19617 path.
19618 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
19619 * sysdeps/sparc/sparc64/multiarch/Makefile
19620 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
19621 crypt subdir.
19622 (localedef-aux): Add md5 crypto assembler when in locale subdir.
19623 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
19624 multiarch changes.
19625 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
19626 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
19627 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
19628 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
19629 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
19630 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
19631 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
19632 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
19633 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
19634 file.
19635 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
19636 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
19637 file.
19638 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
19639
8ca89318
JM
196402012-11-13 Joseph Myers <joseph@codesourcery.com>
19641
e27d476a
JM
19642 * timezone/tzselect.ksh: Update from tzcode git revision
19643 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
19644 * timezone/zdump.c: Likewise.
19645 * timezone/zic.c: Likewise.
19646 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
19647 in TZVERSION setting, not $(PKGVERSION).
19648 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
19649 REPORT_BUGS_TO settings.
19650
8ca89318
JM
19651 [BZ #14838]
19652 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
19653 macro.
19654
47594329
MS
196552012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19656
19657 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
19658 detection to immediately after _FP_ROUND().
19659 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
19660 bits are 0.
19661
640ac3f1
DM
196622012-11-11 David S. Miller <davem@davemloft.net>
19663
19664 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
19665 inttypes.h
19666 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
19667 __close rather than their public counterparts.
19668
3d2577bb
JM
196692012-11-10 Joseph Myers <joseph@codesourcery.com>
19670
19671 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
19672 file.
19673 [UNIX98] (sem_timedwait): Do not expect.
19674 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
19675 [XPG4 || UNIX98] (sockatmark): Do not expect.
19676 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
19677 (clock_getcpuclockid): Do not expect.
19678 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
19679 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
19680 Do not expect.
19681 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
19682 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
19683 [UNIX98] (vwscanf): Likewise.
19684 [UNIX98] (vswscanf): Likewise.
19685
fb1ae1ee
JM
196862012-11-09 Joseph Myers <joseph@codesourcery.com>
19687
9ec6f8bd
JM
19688 * timezone/version.h: Remove file.
19689 * timezone/README: Do not refer to version.h.
19690 * timezone/Makefile ($(objpfx)zic.o): New dependency on
19691 $(objpfx)version.h.
19692 ($(objpfx)zdump.o): Likewise.
c3f81911 19693 ($(objpfx)version.h): New target.
9ec6f8bd 19694
0aa8f8a1
JM
19695 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
19696 2012i.
19697 * timezone/README: Don't mention modification to tzselect.ksh.
19698 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
19699 work on unmodified tzselect.ksh. Substitute version numbers in
19700 tzselect.ksh.
19701
4e87147f
JM
19702 * Makefile (format-me): Remove.
19703 (INSTALL): Adjust indentation. Use commands directly instead of
19704 using $(format-me).
19705
8b748aed
JM
19706 * aclocal.m4 (ACX_PKGVERSION): New macro.
19707 (ACX_BUGURL): Likewise.
19708 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
19709 (PKGVERSION): New AC_DEFINE_UNQUOTED.
19710 (REPORT_BUGS_TO): Likewise.
19711 * configure: Regenerated.
19712 * config.h.in (PKGVERSION): New macro.
19713 (REPORT_BUGS_TO): Likewise.
19714 * config.make.in (PKGVERSION): New variable.
19715 (PKGVERSION_TEXI): Likewise.
19716 (REPORT_BUGS_TO): Likewise.
19717 (REPORT_BUGS_TEXI): Likewise.
19718 * Makefile (format-me): Use -I$(common-objpfx)manual.
19719 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
19720 ($(common-objpfx)manual/%): New target.
19721 (manual/%): Remove target.
19722 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
19723 (print_version): Use PKGVERSION.
19724 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
19725 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
19726 and REPORT_BUGS_TO.
19727 ($(objpfx)xtrace): Likewise.
19728 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
19729 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
19730 (print_version): Use PKGVERSION.
19731 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
19732 (do_version): Use PKGVERSION.
19733 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
19734 REPORT_BUGS_TO.
19735 (common-ldd-rewrite): Likewise.
19736 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
19737 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
19738 (print_version): Use PKGVERSION.
19739 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
19740 * elf/pldd.c (argp_program_bug_address): Remove variable.
19741 (more_help): New function.
19742 (argp): Use more_help.
19743 (print_version): Use PKGVERSION.
19744 * elf/sln.c (main): Use PKGVERSION.
19745 (usage): Use REPORT_BUGS_TO.
19746 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
19747 (top level): Use PKGVERSION.
19748 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
19749 (print_version): Use PKGVERSION.
19750 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
19751 (print_version): Use PKGVERSION.
19752 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
19753 (print_version): Use PKGVERSION.
19754 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
19755 (print_version): Use PKGVERSION.
19756 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
19757 (print_version): Use PKGVERSION.
19758 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
19759 (print_version): Use PKGVERSION.
19760 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
19761 and BUGURL.
19762 ($(objpfx)memusage): Likewise.
19763 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
19764 (do_version): Use PKGVERSION.
19765 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
19766 (print_version): Use PKGVERSION.
19767 * malloc/mtrace.pl ($PACKAGE): Remove variable.
19768 ($PKGVERSION): New variable.
19769 ($REPORT_BUGS_TO): Likewise.
19770 (usage): Use $REPORT_BUGS_TO.
19771 (top level): Use $PKGVERSION.
19772 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
19773 ($(objpfx)pkgvers.texi): New rule.
19774 ($(objpfx)stamp-pkgvers): Likewise.
19775 * manual/install.texi: Include pkgvers.texi.
19776 (--with-pkgversion): Document new configure option.
19777 (--with-bugurl): Likewise.
19778 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
19779 than necessarily for this particular distribution. Use
19780 REPORT_BUGS_TO for where to report bugs.
19781 * INSTALL: Regenerated.
19782 * manual/libc.texinfo: Include pkgvers.texi.
19783 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
19784 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
19785 (print_version): Use PKGVERSION.
19786 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
19787 (print_version): Use PKGVERSION.
19788 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
19789 (print_version): Use PKGVERSION.
19790 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
19791 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
19792 macro.
19793 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
19794 (print_version): Use PKGVERSION.
19795 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
19796 (print_version): Use PKGVERSION.
19797 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
19798 and PKGVERSION.
19799
92e4b6a9
JM
19800 * timezone/checktab.awk: Update from tzcode 2012i.
19801 * timezone/ialloc.c: Likewise.
19802 * timezone/private.h: Likewise.
19803 * timezone/scheck.c: Likewise.
19804 * timezone/tzfile.h: Likewise.
19805 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
19806 (TZVERSION): Hardcode tzcode version number.
19807 * timezone/zdump.c: Update from tzcode 2012i.
19808 * timezone/zic.c: Likewise.
19809 * timezone/version.h: New file.
19810 * timezone/README: Describe version.h. Update upstream location.
19811
9bde902c
JM
19812 [BZ #14824]
19813 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
19814 (mktemp): Enable declaration.
19815 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
19816 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
19817 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
19818 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
19819 Likewise.
19820 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
19821 Likewise.
19822 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
19823 Likewise.
19824 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
19825 Likewise.
19826 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
19827 Likewise.
19828 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
19829 Likewise.
19830
fb1ae1ee
JM
19831 [BZ #14821]
19832 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
19833 offset in buffer as u_int32_t not u_long. Consistently use memcpy
19834 for copies of such integer values.
19835 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19836 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19837
2c1adbcb
AJ
198382012-11-09 Andreas Jaeger <aj@suse.de>
19839
19840 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
19841 definitions and declarations that are provided by
19842 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19843
d0f8457e
AK
198442012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19845
3a235abb 19846 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
19847 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
19848 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
19849 definition.
19850
57241e26
MS
198512012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19852
19853 * elf/elf.h: Update comment before AArch64 relocations.
19854
60e8270d
DM
198552012-11-07 David S. Miller <davem@davemloft.net>
19856
19857 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
19858 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19859 (__start_context): Declare.
19860 (__makecontext_ret): Delete.
19861 (__makecontext): Hook up __start_context instead of
19862 __makecontext_ret.
19863 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
19864 (sysdep_routines): Add __start_context when in stdlib.
19865
0fbb0fbc
JM
198662012-11-07 Joseph Myers <joseph@codesourcery.com>
19867
19868 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
19869 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
19870 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
19871 hardcoded "nm".
19872 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
19873 (READELF): New variable. Use it instead of hardcoded "readelf".
19874
eb48db7e
L
198752012-11-07 H.J. Lu <hongjiu.lu@intel.com>
19876
19877 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
19878 * sysdeps/x86/Makefile: Here.
19879 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
19880 * sysdeps/x86/tst-xmmymm.sh: This.
19881
05bcf62a
JM
198822012-11-07 Joseph Myers <joseph@codesourcery.com>
19883
c4b6cf53
JM
19884 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
19885 expectations.
19886 [UNIX98] (pthread_barrier_t): Do not expect.
19887 [UNIX98] (pthread_barrierattr_t): Likewise.
19888 [UNIX98] (pthread_spinlock_t): Likewise.
19889 [UNIX98] (pthread_barrier_destroy): Likewise.
19890 [UNIX98] (pthread_barrier_init): Likewise.
19891 [UNIX98] (pthread_barrier_wait): Likewise.
19892 [UNIX98] (pthread_barrierattr_destroy): Likewise.
19893 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
19894 [UNIX98] (pthread_barrierattr_init): Likewise.
19895 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
19896 [UNIX98] (pthread_getcpuclockid): Likewise.
19897 [UNIX98] (pthread_mutex_timedlock): Likewise.
19898 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
19899 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
19900 [UNIX98] (pthread_sigmask): Likewise.
19901 [UNIX98] (pthread_spin_destroy): Likewise.
19902 [UNIX98] (pthread_spin_init): Likewise.
19903 [UNIX98] (pthread_spin_lock): Likewise.
19904 [UNIX98] (pthread_spin_trylock): Likewise.
19905 [UNIX98] (pthread_spin_unlock): Likewise.
19906 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
19907 Do not expect.
19908 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
19909 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
19910 [XPG3 || XPG4] (pthread_cond_t): Likewise.
19911 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
19912 [XPG3 || XPG4] (pthread_key_t): Likewise.
19913 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
19914 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
19915 [XPG3 || XPG4] (pthread_once_t): Likewise.
19916 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
19917 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
19918 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
19919 [XPG3 || XPG4] (pthread_t): Likewise.
19920
cbe6e120
JM
19921 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
19922 not expect.
19923 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
19924
1b126443
JM
19925 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
19926 Change function return type to int.
19927
b961a573
JM
19928 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
19929 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
19930 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
19931 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
19932 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
19933 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
19934 [!POSIX] (posix_madvise): Likewise.
19935 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
19936 && !UNIX98].
19937 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
19938 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
19939 (mode_t): Likewise.
19940 (posix_mem_offset): Likewise.
19941 (posix_typed_mem_get_info): Likewise.
19942 (posix_typed_mem_open): Likewise.
19943
9e188909
JM
19944 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
19945 Change condition to [XOPEN2K8].
19946
05bcf62a
JM
19947 * conform/conformtest.pl: Preprocess allow-header data with -x c
19948 instead of from stdin.
19949 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
19950 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
19951 [C99-based standards] (cerfc): Likewise.
19952 [C99-based standards] (cexp2): Likewise.
19953 [C99-based standards] (cexpm1): Likewise.
19954 [C99-based standards] (clog10): Likewise.
19955 [C99-based standards] (clog1p): Likewise.
19956 [C99-based standards] (clog2): Likewise.
19957 [C99-based standards] (clgamma): Likewise.
19958 [C99-based standards] (ctgamma): Likewise.
19959 [C99-based standards] (cerff): Likewise.
19960 [C99-based standards] (cerfcf): Likewise.
19961 [C99-based standards] (cexp2f): Likewise.
19962 [C99-based standards] (cexpm1f): Likewise.
19963 [C99-based standards] (clog10f): Likewise.
19964 [C99-based standards] (clog1pf): Likewise.
19965 [C99-based standards] (clog2f): Likewise.
19966 [C99-based standards] (clgammaf): Likewise.
19967 [C99-based standards] (ctgammaf): Likewise.
19968 [C99-based standards] (cerfl): Likewise.
19969 [C99-based standards] (cerfcl): Likewise.
19970 [C99-based standards] (cexp2l): Likewise.
19971 [C99-based standards] (cexpm1l): Likewise.
19972 [C99-based standards] (clog10l): Likewise.
19973 [C99-based standards] (clog1pl): Likewise.
19974 [C99-based standards] (clog2l): Likewise.
19975 [C99-based standards] (clgammal): Likewise.
19976 [C99-based standards] (ctgammal): Likewise.
19977 * conform/data/inttypes.h-data [C99-based standards]: Include
19978 stdint.h-data. Remove all expectations for stdint.h contents.
19979 [C99-based standards] (PRI*): Do not allow.
19980 [C99-based standards] (SCN*): Likewise.
19981 [C99-based standards] (*_t): Likewise.
19982 [C99-based-standards] (PRId8): Expect macro.
19983 [C99-based-standards] (PRIi8): Likewise.
19984 [C99-based-standards] (PRIo8): Likewise.
19985 [C99-based-standards] (PRIu8): Likewise.
19986 [C99-based-standards] (PRIx8): Likewise.
19987 [C99-based-standards] (PRIX8): Likewise.
19988 [C99-based-standards] (SCNd8): Likewise.
19989 [C99-based-standards] (SCNi8): Likewise.
19990 [C99-based-standards] (SCNo8): Likewise.
19991 [C99-based-standards] (SCNu8): Likewise.
19992 [C99-based-standards] (SCNx8): Likewise.
19993 [C99-based-standards] (PRIdLEAST8): Likewise.
19994 [C99-based-standards] (PRIiLEAST8): Likewise.
19995 [C99-based-standards] (PRIoLEAST8): Likewise.
19996 [C99-based-standards] (PRIuLEAST8): Likewise.
19997 [C99-based-standards] (PRIxLEAST8): Likewise.
19998 [C99-based-standards] (PRIXLEAST8): Likewise.
19999 [C99-based-standards] (SCNdLEAST8): Likewise.
20000 [C99-based-standards] (SCNiLEAST8): Likewise.
20001 [C99-based-standards] (SCNoLEAST8): Likewise.
20002 [C99-based-standards] (SCNuLEAST8): Likewise.
20003 [C99-based-standards] (SCNxLEAST8): Likewise.
20004 [C99-based-standards] (PRIdFAST8): Likewise.
20005 [C99-based-standards] (PRIiFAST8): Likewise.
20006 [C99-based-standards] (PRIoFAST8): Likewise.
20007 [C99-based-standards] (PRIuFAST8): Likewise.
20008 [C99-based-standards] (PRIxFAST8): Likewise.
20009 [C99-based-standards] (PRIXFAST8): Likewise.
20010 [C99-based-standards] (SCNdFAST8): Likewise.
20011 [C99-based-standards] (SCNiFAST8): Likewise.
20012 [C99-based-standards] (SCNoFAST8): Likewise.
20013 [C99-based-standards] (SCNuFAST8): Likewise.
20014 [C99-based-standards] (SCNxFAST8): Likewise.
20015 [C99-based-standards] (PRId16): Likewise.
20016 [C99-based-standards] (PRIi16): Likewise.
20017 [C99-based-standards] (PRIo16): Likewise.
20018 [C99-based-standards] (PRIu16): Likewise.
20019 [C99-based-standards] (PRIx16): Likewise.
20020 [C99-based-standards] (PRIX16): Likewise.
20021 [C99-based-standards] (SCNd16): Likewise.
20022 [C99-based-standards] (SCNi16): Likewise.
20023 [C99-based-standards] (SCNo16): Likewise.
20024 [C99-based-standards] (SCNu16): Likewise.
20025 [C99-based-standards] (SCNx16): Likewise.
20026 [C99-based-standards] (PRIdLEAST16): Likewise.
20027 [C99-based-standards] (PRIiLEAST16): Likewise.
20028 [C99-based-standards] (PRIoLEAST16): Likewise.
20029 [C99-based-standards] (PRIuLEAST16): Likewise.
20030 [C99-based-standards] (PRIxLEAST16): Likewise.
20031 [C99-based-standards] (PRIXLEAST16): Likewise.
20032 [C99-based-standards] (SCNdLEAST16): Likewise.
20033 [C99-based-standards] (SCNiLEAST16): Likewise.
20034 [C99-based-standards] (SCNoLEAST16): Likewise.
20035 [C99-based-standards] (SCNuLEAST16): Likewise.
20036 [C99-based-standards] (SCNxLEAST16): Likewise.
20037 [C99-based-standards] (PRIdFAST16): Likewise.
20038 [C99-based-standards] (PRIiFAST16): Likewise.
20039 [C99-based-standards] (PRIoFAST16): Likewise.
20040 [C99-based-standards] (PRIuFAST16): Likewise.
20041 [C99-based-standards] (PRIxFAST16): Likewise.
20042 [C99-based-standards] (PRIXFAST16): Likewise.
20043 [C99-based-standards] (SCNdFAST16): Likewise.
20044 [C99-based-standards] (SCNiFAST16): Likewise.
20045 [C99-based-standards] (SCNoFAST16): Likewise.
20046 [C99-based-standards] (SCNuFAST16): Likewise.
20047 [C99-based-standards] (SCNxFAST16): Likewise.
20048 [C99-based-standards] (PRId32): Likewise.
20049 [C99-based-standards] (PRIi32): Likewise.
20050 [C99-based-standards] (PRIo32): Likewise.
20051 [C99-based-standards] (PRIu32): Likewise.
20052 [C99-based-standards] (PRIx32): Likewise.
20053 [C99-based-standards] (PRIX32): Likewise.
20054 [C99-based-standards] (SCNd32): Likewise.
20055 [C99-based-standards] (SCNi32): Likewise.
20056 [C99-based-standards] (SCNo32): Likewise.
20057 [C99-based-standards] (SCNu32): Likewise.
20058 [C99-based-standards] (SCNx32): Likewise.
20059 [C99-based-standards] (PRIdLEAST32): Likewise.
20060 [C99-based-standards] (PRIiLEAST32): Likewise.
20061 [C99-based-standards] (PRIoLEAST32): Likewise.
20062 [C99-based-standards] (PRIuLEAST32): Likewise.
20063 [C99-based-standards] (PRIxLEAST32): Likewise.
20064 [C99-based-standards] (PRIXLEAST32): Likewise.
20065 [C99-based-standards] (SCNdLEAST32): Likewise.
20066 [C99-based-standards] (SCNiLEAST32): Likewise.
20067 [C99-based-standards] (SCNoLEAST32): Likewise.
20068 [C99-based-standards] (SCNuLEAST32): Likewise.
20069 [C99-based-standards] (SCNxLEAST32): Likewise.
20070 [C99-based-standards] (PRIdFAST32): Likewise.
20071 [C99-based-standards] (PRIiFAST32): Likewise.
20072 [C99-based-standards] (PRIoFAST32): Likewise.
20073 [C99-based-standards] (PRIuFAST32): Likewise.
20074 [C99-based-standards] (PRIxFAST32): Likewise.
20075 [C99-based-standards] (PRIXFAST32): Likewise.
20076 [C99-based-standards] (SCNdFAST32): Likewise.
20077 [C99-based-standards] (SCNiFAST32): Likewise.
20078 [C99-based-standards] (SCNoFAST32): Likewise.
20079 [C99-based-standards] (SCNuFAST32): Likewise.
20080 [C99-based-standards] (SCNxFAST32): Likewise.
20081 [C99-based-standards] (PRId64): Likewise.
20082 [C99-based-standards] (PRIi64): Likewise.
20083 [C99-based-standards] (PRIo64): Likewise.
20084 [C99-based-standards] (PRIu64): Likewise.
20085 [C99-based-standards] (PRIx64): Likewise.
20086 [C99-based-standards] (PRIX64): Likewise.
20087 [C99-based-standards] (SCNd64): Likewise.
20088 [C99-based-standards] (SCNi64): Likewise.
20089 [C99-based-standards] (SCNo64): Likewise.
20090 [C99-based-standards] (SCNu64): Likewise.
20091 [C99-based-standards] (SCNx64): Likewise.
20092 [C99-based-standards] (PRIdLEAST64): Likewise.
20093 [C99-based-standards] (PRIiLEAST64): Likewise.
20094 [C99-based-standards] (PRIoLEAST64): Likewise.
20095 [C99-based-standards] (PRIuLEAST64): Likewise.
20096 [C99-based-standards] (PRIxLEAST64): Likewise.
20097 [C99-based-standards] (PRIXLEAST64): Likewise.
20098 [C99-based-standards] (SCNdLEAST64): Likewise.
20099 [C99-based-standards] (SCNiLEAST64): Likewise.
20100 [C99-based-standards] (SCNoLEAST64): Likewise.
20101 [C99-based-standards] (SCNuLEAST64): Likewise.
20102 [C99-based-standards] (SCNxLEAST64): Likewise.
20103 [C99-based-standards] (PRIdFAST64): Likewise.
20104 [C99-based-standards] (PRIiFAST64): Likewise.
20105 [C99-based-standards] (PRIoFAST64): Likewise.
20106 [C99-based-standards] (PRIuFAST64): Likewise.
20107 [C99-based-standards] (PRIxFAST64): Likewise.
20108 [C99-based-standards] (PRIXFAST64): Likewise.
20109 [C99-based-standards] (SCNdFAST64): Likewise.
20110 [C99-based-standards] (SCNiFAST64): Likewise.
20111 [C99-based-standards] (SCNoFAST64): Likewise.
20112 [C99-based-standards] (SCNuFAST64): Likewise.
20113 [C99-based-standards] (SCNxFAST64): Likewise.
20114 [C99-based-standards] (PRIdMAX): Likewise.
20115 [C99-based-standards] (PRIiMAX): Likewise.
20116 [C99-based-standards] (PRIoMAX): Likewise.
20117 [C99-based-standards] (PRIuMAX): Likewise.
20118 [C99-based-standards] (PRIxMAX): Likewise.
20119 [C99-based-standards] (PRIXMAX): Likewise.
20120 [C99-based-standards] (SCNdMAX): Likewise.
20121 [C99-based-standards] (SCNiMAX): Likewise.
20122 [C99-based-standards] (SCNoMAX): Likewise.
20123 [C99-based-standards] (SCNuMAX): Likewise.
20124 [C99-based-standards] (SCNxMAX): Likewise.
20125 [C99-based-standards] (PRIdPTR): Likewise.
20126 [C99-based-standards] (PRIiPTR): Likewise.
20127 [C99-based-standards] (PRIoPTR): Likewise.
20128 [C99-based-standards] (PRIuPTR): Likewise.
20129 [C99-based-standards] (PRIxPTR): Likewise.
20130 [C99-based-standards] (PRIXPTR): Likewise.
20131 [C99-based-standards] (SCNdPTR): Likewise.
20132 [C99-based-standards] (SCNiPTR): Likewise.
20133 [C99-based-standards] (SCNoPTR): Likewise.
20134 [C99-based-standards] (SCNuPTR): Likewise.
20135 [C99-based-standards] (SCNxPTR): Likewise.
20136 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20137 allow.
20138 * conform/data/stdint.h-data: Update comments to clarify
20139 requirements.
20140 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
20141 type.
20142 [C99-based standards] (INT8_MAX): Likewise.
20143 [C99-based standards] (INT16_MIN): Likewise.
20144 [C99-based standards] (INT16_MAX): Likewise.
20145 [C99-based standards] (INT32_MIN): Likewise.
20146 [C99-based standards] (INT32_MAX): Likewise.
20147 [C99-based standards] (INT64_MIN): Likewise.
20148 [C99-based standards] (INT64_MAX): Likewise.
20149 [C99-based standards] (UINT8_MAX): Likewise.
20150 [C99-based standards] (UINT16_MAX): Likewise.
20151 [C99-based standards] (UINT32_MAX): Likewise.
20152 [C99-based standards] (UINT64_MAX): Likewise.
20153 [C99-based standards] (INT_LEAST8_MIN): Likewise.
20154 [C99-based standards] (INT_LEAST8_MAX): Likewise.
20155 [C99-based standards] (INT_LEAST16_MIN): Likewise.
20156 [C99-based standards] (INT_LEAST16_MAX): Likewise.
20157 [C99-based standards] (INT_LEAST32_MIN): Likewise.
20158 [C99-based standards] (INT_LEAST32_MAX): Likewise.
20159 [C99-based standards] (INT_LEAST64_MIN): Likewise.
20160 [C99-based standards] (INT_LEAST64_MAX): Likewise.
20161 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20162 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20163 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20164 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20165 [C99-based standards] (INT_FAST8_MIN): Likewise.
20166 [C99-based standards] (INT_FAST8_MAX): Likewise.
20167 [C99-based standards] (INT_FAST16_MIN): Likewise.
20168 [C99-based standards] (INT_FAST16_MAX): Likewise.
20169 [C99-based standards] (INT_FAST32_MIN): Likewise.
20170 [C99-based standards] (INT_FAST32_MAX): Likewise.
20171 [C99-based standards] (INT_FAST64_MIN): Likewise.
20172 [C99-based standards] (INT_FAST64_MAX): Likewise.
20173 [C99-based standards] (UINT_FAST8_MAX): Likewise.
20174 [C99-based standards] (UINT_FAST16_MAX): Likewise.
20175 [C99-based standards] (UINT_FAST32_MAX): Likewise.
20176 [C99-based standards] (UINT_FAST64_MAX): Likewise.
20177 [C99-based standards] (INTPTR_MIN): Likewise.
20178 [C99-based standards] (INTPTR_MAX): Likewise.
20179 [C99-based standards] (UINTPTR_MAX): Likewise.
20180 [C99-based standards] (INTMAX_MIN): Likewise.
20181 [C99-based standards] (INTMAX_MAX): Likewise.
20182 [C99-based standards] (UINTMAX_MAX): Likewise.
20183 [C99-based standards] (PTRDIFF_MIN): Likewise.
20184 [C99-based standards] (PTRDIFF_MAX): Likewise.
20185 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20186 [C99-based standards] (SIZE_MAX): Likewise.
20187 [C99-based standards] (WCHAR_MAX): Likewise.
20188 [C99-based standards] (WINT_MAX): Likewise.
20189 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
20190 constraint on value.
20191 [C99-based standards] (WCHAR_MIN): Likewise.
20192 [C99-based standards] (WINT_MIN): Likewise.
20193 [C99-based standards] (*_t): Allow.
20194 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20195 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20196 Include math.h-data and complex.h-data. Remove all expectations
20197 of math.h and complex.h contents.
20198 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20199 at end of line.
20200 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20201 (struct tm): Expect tag.
20202 [C99-based-standards] (wcstof): Expect function.
20203 [C99-based-standards] (wcstold): Likewise.
20204 [C99-based-standards] (wcstoll): Likewise.
20205 [C99-based-standards] (wcstoull): Likewise.
20206 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20207 macro-int-constant. Specify type.
20208 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
20209 constraint on value.
20210 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20211 Specify type.
20212 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20213 Specify value.
20214 [ISO C standards]: Do not allow headers.
20215 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20216 wcs[abcdefghijklmnopqrstuvwxyz]*.
20217 [ISO C standards] (*_t): Do not allow.
20218 * conform/data/wctype.h-data [C99-based standards] (iswblank):
20219 Expect function.
20220 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20221 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20222 Specify type.
20223 [ISO C standards]: Do not allow headers.
20224 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20225 is[abcdefghijklmnopqrstuvwxyz]*.
20226 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20227 to[abcdefghijklmnopqrstuvwxyz]*.
20228 [ISO C standards] (*_t): Do not allow.
20229 * conform/data/stdalign.h-data: New file.
20230 * conform/data/stdbool.h-data: Likewise.
20231 * conform/data/stdnoreturn.h-data: Likewise.
20232
7514feb8
RM
202332012-11-07 Roland McGrath <roland@hack.frob.com>
20234
20235 [BZ #14815]
20236 * manual/filesys.texi (Directory Entries): Typo fix.
20237 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20238
19b2ecfc
MS
202392012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20240
20241 * elf/elf.h (EM_AARCH64): New macro.
20242 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20243 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20244 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20245 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20246 (R_AARCH64_TLSDESC): Likewise.
20247 (NT_ARM_TLS): Likewise.
20248 (NT_ARM_HW_BREAK): Likewise.
20249 (NT_ARM_HW_WATCH): Likewise.
20250
60e235ee
JM
202512012-11-07 Joseph Myers <joseph@codesourcery.com>
20252
20253 [BZ #14811]
20254 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20255 (__ieee754_powl): Saturate nonzero exponents with absolute value
20256 below 0x1p-79 to +/- 0x1p-79.
20257 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20258 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20259 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20260 nonzero exponents with absolute value below 0x1p-32 to +/-
20261 0x1p-32.
20262 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
20263 (__ieee754_powl): Saturate nonzero exponents with absolute value
20264 below 0x1p-79 to +/- 0x1p-79.
20265 * math/libm-test.inc (pow_test): Add more tests.
20266
0ab234b7
AK
202672012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20268
20269 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20270 _dl_s390_cap_flags with kernel. Increase string length.
20271 (_dl_s390_platforms): Add z196 and zEC12.
20272
45832f74
JM
202732012-11-07 Joseph Myers <joseph@codesourcery.com>
20274
20275 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
20276 Change XOPEN21K to XOPEN2K.
20277
19218757
MK
202782012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
20279
20280 * string/memmove.c: Use memcpy when possible.
20281
c5f45721
AJ
202822012-11-06 Andreas Jaeger <aj@suse.de>
20283
20284 * po/eo.po: Update from translation team.
20285
82477c28
JM
202862012-11-06 Joseph Myers <joseph@codesourcery.com>
20287
20288 [BZ #14793]
20289 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
20290 exponent and small x and y exponents, scale x or y up. Increase
20291 by 2 the exponent used in scaling up.
20292 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20293 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20294 * math/libm-test.inc (fma_test): Add more tests.
20295 (fma_test_towardzero): Likewise.
20296 (fma_test_downward): Likewise.
20297 (fma_test_upward): Likewise.
20298
99252c8c
JM
202992012-11-05 Joseph Myers <joseph@codesourcery.com>
20300
acfa885f
JM
20301 [BZ #14805]
20302 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
20303 fenv_t *.
20304
99252c8c
JM
20305 [BZ #14801]
20306 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
20307 namespace for names of struct fields.
20308 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
20309 fenv_t fields.
20310 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20311 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
20312
d6d98dea
ST
203132012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20314
20315 [BZ #3665]
20316 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
20317
e10bb107
TS
203182012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20319
20320 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
20321 PTR_DEMANGLE.
20322
20323 [BZ #5246]
20324 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
20325 PTR_DEMANGLE.
20326
a0c2940d
JM
203272012-11-04 Joseph Myers <joseph@codesourcery.com>
20328
20329 [BZ #14797]
20330 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
20331 definitely overflow as x * y not x * y + z.
20332 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20333 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20334 * math/libm-test.inc (fma_test): Add more tests.
20335 (fma_test_towardzero): Likewise.
20336 (fma_test_downward): Likewise.
20337 (fma_test_upward): Likewise.
20338
b830319d
TS
203392012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20340
20341 [BZ #157]
20342
20343 * include/stub-tag.h: Remove file.
20344 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
20345 '#include' of it.
20346 * manual/maint.texi (Porting): Don't reference it.
20347 * Makerules ($(objpfx)stubs): Likewise.
20348 * dirent/closedir.c: Don't include <stub-tag.h>.
20349 * dirent/dirfd.c: Likewise.
20350 * dirent/fdopendir.c: Likewise.
20351 * dirent/getdents.c: Likewise.
20352 * dirent/getdents64.c: Likewise.
20353 * dirent/opendir.c: Likewise.
20354 * dirent/readdir.c: Likewise.
20355 * dirent/readdir64.c: Likewise.
20356 * dirent/readdir64_r.c: Likewise.
20357 * dirent/readdir_r.c: Likewise.
20358 * dirent/rewinddir.c: Likewise.
20359 * dirent/seekdir.c: Likewise.
20360 * dirent/telldir.c: Likewise.
20361 * gmon/profil.c: Likewise.
20362 * grp/setgroups.c: Likewise.
20363 * inet/if_index.c: Likewise.
20364 * io/access.c: Likewise.
20365 * io/chdir.c: Likewise.
20366 * io/chmod.c: Likewise.
20367 * io/chown.c: Likewise.
20368 * io/close.c: Likewise.
20369 * io/dup.c: Likewise.
20370 * io/dup2.c: Likewise.
20371 * io/dup3.c: Likewise.
20372 * io/euidaccess.c: Likewise.
20373 * io/faccessat.c: Likewise.
20374 * io/fchdir.c: Likewise.
20375 * io/fchmod.c: Likewise.
20376 * io/fchmodat.c: Likewise.
20377 * io/fchown.c: Likewise.
20378 * io/fchownat.c: Likewise.
20379 * io/fcntl.c: Likewise.
20380 * io/flock.c: Likewise.
20381 * io/fstatfs.c: Likewise.
20382 * io/fstatfs64.c: Likewise.
20383 * io/fstatvfs.c: Likewise.
20384 * io/fstatvfs64.c: Likewise.
20385 * io/futimens.c: Likewise.
20386 * io/fxstat.c: Likewise.
20387 * io/fxstat64.c: Likewise.
20388 * io/fxstatat.c: Likewise.
20389 * io/fxstatat64.c: Likewise.
20390 * io/getcwd.c: Likewise.
20391 * io/isatty.c: Likewise.
20392 * io/lchmod.c: Likewise.
20393 * io/lchown.c: Likewise.
20394 * io/link.c: Likewise.
20395 * io/linkat.c: Likewise.
20396 * io/lseek.c: Likewise.
20397 * io/lseek64.c: Likewise.
20398 * io/lxstat64.c: Likewise.
20399 * io/mkdir.c: Likewise.
20400 * io/mkdirat.c: Likewise.
20401 * io/mkfifo.c: Likewise.
20402 * io/mkfifoat.c: Likewise.
20403 * io/open.c: Likewise.
20404 * io/open64.c: Likewise.
20405 * io/openat.c: Likewise.
20406 * io/openat64.c: Likewise.
20407 * io/pipe.c: Likewise.
20408 * io/pipe2.c: Likewise.
20409 * io/poll.c: Likewise.
20410 * io/posix_fadvise.c: Likewise.
20411 * io/posix_fadvise64.c: Likewise.
20412 * io/posix_fallocate.c: Likewise.
20413 * io/posix_fallocate64.c: Likewise.
20414 * io/read.c: Likewise.
20415 * io/readlink.c: Likewise.
20416 * io/readlinkat.c: Likewise.
20417 * io/rmdir.c: Likewise.
20418 * io/sendfile.c: Likewise.
20419 * io/sendfile64.c: Likewise.
20420 * io/statfs.c: Likewise.
20421 * io/statfs64.c: Likewise.
20422 * io/statvfs.c: Likewise.
20423 * io/statvfs64.c: Likewise.
20424 * io/symlink.c: Likewise.
20425 * io/symlinkat.c: Likewise.
20426 * io/ttyname.c: Likewise.
20427 * io/ttyname_r.c: Likewise.
20428 * io/umask.c: Likewise.
20429 * io/unlink.c: Likewise.
20430 * io/unlinkat.c: Likewise.
20431 * io/utime.c: Likewise.
20432 * io/utimensat.c: Likewise.
20433 * io/write.c: Likewise.
20434 * io/xmknod.c: Likewise.
20435 * io/xmknodat.c: Likewise.
20436 * io/xstat.c: Likewise.
20437 * io/xstat64.c: Likewise.
20438 * login/getpt.c: Likewise.
20439 * login/grantpt.c: Likewise.
20440 * login/unlockpt.c: Likewise.
20441 * math/e_acoshl.c: Likewise.
20442 * math/e_acosl.c: Likewise.
20443 * math/e_asinl.c: Likewise.
20444 * math/e_atan2l.c: Likewise.
20445 * math/e_atanhl.c: Likewise.
20446 * math/e_coshl.c: Likewise.
20447 * math/e_expl.c: Likewise.
20448 * math/e_fmodl.c: Likewise.
20449 * math/e_gammal_r.c: Likewise.
20450 * math/e_hypotl.c: Likewise.
20451 * math/e_j0l.c: Likewise.
20452 * math/e_j1l.c: Likewise.
20453 * math/e_jnl.c: Likewise.
20454 * math/e_lgammal_r.c: Likewise.
20455 * math/e_log10l.c: Likewise.
20456 * math/e_log2l.c: Likewise.
20457 * math/e_logl.c: Likewise.
20458 * math/e_powl.c: Likewise.
20459 * math/e_rem_pio2l.c: Likewise.
20460 * math/e_sinhl.c: Likewise.
20461 * math/e_sqrtl.c: Likewise.
20462 * math/fclrexcpt.c: Likewise.
20463 * math/fedisblxcpt.c: Likewise.
20464 * math/feenablxcpt.c: Likewise.
20465 * math/fegetenv.c: Likewise.
20466 * math/fegetexcept.c: Likewise.
20467 * math/fegetround.c: Likewise.
20468 * math/feholdexcpt.c: Likewise.
20469 * math/fesetenv.c: Likewise.
20470 * math/fesetround.c: Likewise.
20471 * math/feupdateenv.c: Likewise.
20472 * math/fgetexcptflg.c: Likewise.
20473 * math/fraiseexcpt.c: Likewise.
20474 * math/fsetexcptflg.c: Likewise.
20475 * math/ftestexcept.c: Likewise.
20476 * math/k_cosl.c: Likewise.
20477 * math/k_rem_pio2l.c: Likewise.
20478 * math/k_sinl.c: Likewise.
20479 * math/k_tanl.c: Likewise.
20480 * math/s_asinhl.c: Likewise.
20481 * math/s_atanl.c: Likewise.
20482 * math/s_cbrtl.c: Likewise.
20483 * math/s_erfl.c: Likewise.
20484 * math/s_expm1l.c: Likewise.
20485 * math/s_log1pl.c: Likewise.
20486 * math/s_tanhl.c: Likewise.
20487 * misc/acct.c: Likewise.
20488 * misc/brk.c: Likewise.
20489 * misc/chflags.c: Likewise.
20490 * misc/chroot.c: Likewise.
20491 * misc/fchflags.c: Likewise.
20492 * misc/fgetxattr.c: Likewise.
20493 * misc/flistxattr.c: Likewise.
20494 * misc/fremovexattr.c: Likewise.
20495 * misc/fsetxattr.c: Likewise.
20496 * misc/fsync.c: Likewise.
20497 * misc/ftruncate.c: Likewise.
20498 * misc/futimes.c: Likewise.
20499 * misc/futimesat.c: Likewise.
20500 * misc/getdomain.c: Likewise.
20501 * misc/getdtsz.c: Likewise.
20502 * misc/gethostid.c: Likewise.
20503 * misc/gethostname.c: Likewise.
20504 * misc/getloadavg.c: Likewise.
20505 * misc/getpagesize.c: Likewise.
20506 * misc/getsysstats.c: Likewise.
20507 * misc/getxattr.c: Likewise.
20508 * misc/gtty.c: Likewise.
20509 * misc/ioctl.c: Likewise.
20510 * misc/lgetxattr.c: Likewise.
20511 * misc/listxattr.c: Likewise.
20512 * misc/llistxattr.c: Likewise.
20513 * misc/lremovexattr.c: Likewise.
20514 * misc/lsetxattr.c: Likewise.
20515 * misc/lutimes.c: Likewise.
20516 * misc/madvise.c: Likewise.
20517 * misc/mincore.c: Likewise.
20518 * misc/mlock.c: Likewise.
20519 * misc/mlockall.c: Likewise.
20520 * misc/mmap.c: Likewise.
20521 * misc/mprotect.c: Likewise.
20522 * misc/msync.c: Likewise.
20523 * misc/munlock.c: Likewise.
20524 * misc/munlockall.c: Likewise.
20525 * misc/munmap.c: Likewise.
20526 * misc/preadv.c: Likewise.
20527 * misc/preadv64.c: Likewise.
20528 * misc/ptrace.c: Likewise.
20529 * misc/pwritev.c: Likewise.
20530 * misc/pwritev64.c: Likewise.
20531 * misc/readv.c: Likewise.
20532 * misc/reboot.c: Likewise.
20533 * misc/remap_file_pages.c: Likewise.
20534 * misc/removexattr.c: Likewise.
20535 * misc/revoke.c: Likewise.
20536 * misc/select.c: Likewise.
20537 * misc/setdomain.c: Likewise.
20538 * misc/setegid.c: Likewise.
20539 * misc/seteuid.c: Likewise.
20540 * misc/sethostid.c: Likewise.
20541 * misc/sethostname.c: Likewise.
20542 * misc/setregid.c: Likewise.
20543 * misc/setreuid.c: Likewise.
20544 * misc/setxattr.c: Likewise.
20545 * misc/sstk.c: Likewise.
20546 * misc/stty.c: Likewise.
20547 * misc/swapoff.c: Likewise.
20548 * misc/swapon.c: Likewise.
20549 * misc/sync.c: Likewise.
20550 * misc/syncfs.c: Likewise.
20551 * misc/syscall.c: Likewise.
20552 * misc/truncate.c: Likewise.
20553 * misc/ualarm.c: Likewise.
20554 * misc/usleep.c: Likewise.
20555 * misc/ustat.c: Likewise.
20556 * misc/utimes.c: Likewise.
20557 * misc/vhangup.c: Likewise.
20558 * misc/writev.c: Likewise.
20559 * posix/_exit.c: Likewise.
20560 * posix/alarm.c: Likewise.
20561 * posix/execve.c: Likewise.
20562 * posix/fexecve.c: Likewise.
20563 * posix/fork.c: Likewise.
20564 * posix/fpathconf.c: Likewise.
20565 * posix/getaddrinfo.c: Likewise.
20566 * posix/getegid.c: Likewise.
20567 * posix/geteuid.c: Likewise.
20568 * posix/getgid.c: Likewise.
20569 * posix/getgroups.c: Likewise.
20570 * posix/getlogin.c: Likewise.
20571 * posix/getlogin_r.c: Likewise.
20572 * posix/getpgid.c: Likewise.
20573 * posix/getpid.c: Likewise.
20574 * posix/getppid.c: Likewise.
20575 * posix/getresgid.c: Likewise.
20576 * posix/getresuid.c: Likewise.
20577 * posix/getsid.c: Likewise.
20578 * posix/getuid.c: Likewise.
20579 * posix/glob64.c: Likewise.
20580 * posix/nanosleep.c: Likewise.
20581 * posix/pathconf.c: Likewise.
20582 * posix/pause.c: Likewise.
20583 * posix/posix_madvise.c: Likewise.
20584 * posix/pread.c: Likewise.
20585 * posix/pread64.c: Likewise.
20586 * posix/pwrite.c: Likewise.
20587 * posix/pwrite64.c: Likewise.
20588 * posix/sched_getaffinity.c: Likewise.
20589 * posix/sched_getp.c: Likewise.
20590 * posix/sched_gets.c: Likewise.
20591 * posix/sched_primax.c: Likewise.
20592 * posix/sched_primin.c: Likewise.
20593 * posix/sched_rr_gi.c: Likewise.
20594 * posix/sched_setaffinity.c: Likewise.
20595 * posix/sched_setp.c: Likewise.
20596 * posix/sched_sets.c: Likewise.
20597 * posix/sched_yield.c: Likewise.
20598 * posix/setgid.c: Likewise.
20599 * posix/setlogin.c: Likewise.
20600 * posix/setpgid.c: Likewise.
20601 * posix/setresgid.c: Likewise.
20602 * posix/setresuid.c: Likewise.
20603 * posix/setsid.c: Likewise.
20604 * posix/setuid.c: Likewise.
20605 * posix/sleep.c: Likewise.
20606 * posix/spawni.c: Likewise.
20607 * posix/sysconf.c: Likewise.
20608 * posix/times.c: Likewise.
20609 * posix/wait.c: Likewise.
20610 * posix/wait3.c: Likewise.
20611 * posix/wait4.c: Likewise.
20612 * posix/waitpid.c: Likewise.
20613 * resolv/gai_sigqueue.c: Likewise.
20614 * resource/getpriority.c: Likewise.
20615 * resource/getrlimit.c: Likewise.
20616 * resource/getrusage.c: Likewise.
20617 * resource/nice.c: Likewise.
20618 * resource/setpriority.c: Likewise.
20619 * resource/setrlimit.c: Likewise.
20620 * resource/ulimit.c: Likewise.
20621 * rt/aio_cancel.c: Likewise.
20622 * rt/aio_fsync.c: Likewise.
20623 * rt/aio_read.c: Likewise.
20624 * rt/aio_sigqueue.c: Likewise.
20625 * rt/aio_suspend.c: Likewise.
20626 * rt/aio_write.c: Likewise.
20627 * rt/clock_getres.c: Likewise.
20628 * rt/clock_gettime.c: Likewise.
20629 * rt/clock_nanosleep.c: Likewise.
20630 * rt/clock_settime.c: Likewise.
20631 * rt/lio_listio.c: Likewise.
20632 * rt/mq_close.c: Likewise.
20633 * rt/mq_getattr.c: Likewise.
20634 * rt/mq_notify.c: Likewise.
20635 * rt/mq_open.c: Likewise.
20636 * rt/mq_receive.c: Likewise.
20637 * rt/mq_send.c: Likewise.
20638 * rt/mq_setattr.c: Likewise.
20639 * rt/mq_timedreceive.c: Likewise.
20640 * rt/mq_timedsend.c: Likewise.
20641 * rt/mq_unlink.c: Likewise.
20642 * rt/shm_open.c: Likewise.
20643 * rt/shm_unlink.c: Likewise.
20644 * rt/timer_create.c: Likewise.
20645 * rt/timer_delete.c: Likewise.
20646 * rt/timer_getoverr.c: Likewise.
20647 * rt/timer_gettime.c: Likewise.
20648 * rt/timer_settime.c: Likewise.
20649 * setjmp/__longjmp.c: Likewise.
20650 * setjmp/setjmp.c: Likewise.
20651 * signal/kill.c: Likewise.
20652 * signal/killpg.c: Likewise.
20653 * signal/raise.c: Likewise.
20654 * signal/sigaction.c: Likewise.
20655 * signal/sigaltstack.c: Likewise.
20656 * signal/sigblock.c: Likewise.
20657 * signal/sigignore.c: Likewise.
20658 * signal/sigintr.c: Likewise.
20659 * signal/signal.c: Likewise.
20660 * signal/sigpause.c: Likewise.
20661 * signal/sigpending.c: Likewise.
20662 * signal/sigqueue.c: Likewise.
20663 * signal/sigreturn.c: Likewise.
20664 * signal/sigset.c: Likewise.
20665 * signal/sigsetmask.c: Likewise.
20666 * signal/sigstack.c: Likewise.
20667 * signal/sigsuspend.c: Likewise.
20668 * signal/sigtimedwait.c: Likewise.
20669 * signal/sigvec.c: Likewise.
20670 * signal/sigwait.c: Likewise.
20671 * signal/sigwaitinfo.c: Likewise.
20672 * signal/sysv_signal.c: Likewise.
20673 * socket/accept.c: Likewise.
20674 * socket/accept4.c: Likewise.
20675 * socket/bind.c: Likewise.
20676 * socket/connect.c: Likewise.
20677 * socket/getpeername.c: Likewise.
20678 * socket/getsockname.c: Likewise.
20679 * socket/getsockopt.c: Likewise.
20680 * socket/isfdtype.c: Likewise.
20681 * socket/listen.c: Likewise.
20682 * socket/recv.c: Likewise.
20683 * socket/recvfrom.c: Likewise.
20684 * socket/recvmsg.c: Likewise.
20685 * socket/send.c: Likewise.
20686 * socket/sendmsg.c: Likewise.
20687 * socket/sendto.c: Likewise.
20688 * socket/setsockopt.c: Likewise.
20689 * socket/shutdown.c: Likewise.
20690 * socket/sockatmark.c: Likewise.
20691 * socket/socket.c: Likewise.
20692 * socket/socketpair.c: Likewise.
20693 * stdio-common/ctermid.c: Likewise.
20694 * stdio-common/cuserid.c: Likewise.
20695 * stdio-common/remove.c: Likewise.
20696 * stdio-common/rename.c: Likewise.
20697 * stdio-common/renameat.c: Likewise.
20698 * stdio-common/tempname.c: Likewise.
20699 * stdlib/getcontext.c: Likewise.
20700 * stdlib/makecontext.c: Likewise.
20701 * stdlib/setcontext.c: Likewise.
20702 * stdlib/swapcontext.c: Likewise.
20703 * stdlib/system.c: Likewise.
20704 * streams/fattach.c: Likewise.
20705 * streams/fdetach.c: Likewise.
20706 * streams/getmsg.c: Likewise.
20707 * streams/getpmsg.c: Likewise.
20708 * streams/putmsg.c: Likewise.
20709 * streams/putpmsg.c: Likewise.
20710 * sysdeps/unix/bsd/getpt.c: Likewise.
20711 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
20712 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
20713 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20715 Likewise.
20716 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
20717 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20718 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
20719 * sysvipc/msgctl.c: Likewise.
20720 * sysvipc/msgget.c: Likewise.
20721 * sysvipc/msgrcv.c: Likewise.
20722 * sysvipc/msgsnd.c: Likewise.
20723 * sysvipc/semctl.c: Likewise.
20724 * sysvipc/semget.c: Likewise.
20725 * sysvipc/semop.c: Likewise.
20726 * sysvipc/semtimedop.c: Likewise.
20727 * sysvipc/shmat.c: Likewise.
20728 * sysvipc/shmctl.c: Likewise.
20729 * sysvipc/shmdt.c: Likewise.
20730 * sysvipc/shmget.c: Likewise.
20731 * termios/tcdrain.c: Likewise.
20732 * termios/tcflow.c: Likewise.
20733 * termios/tcflush.c: Likewise.
20734 * termios/tcgetattr.c: Likewise.
20735 * termios/tcgetpgrp.c: Likewise.
20736 * termios/tcsendbrk.c: Likewise.
20737 * termios/tcsetattr.c: Likewise.
20738 * termios/tcsetpgrp.c: Likewise.
20739 * time/adjtime.c: Likewise.
20740 * time/clock.c: Likewise.
20741 * time/getitimer.c: Likewise.
20742 * time/gettimeofday.c: Likewise.
20743 * time/setitimer.c: Likewise.
20744 * time/settimeofday.c: Likewise.
20745 * time/stime.c: Likewise.
20746 * time/time.c: Likewise.
20747
207482012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 20749
a20492cf
PT
20750 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
20751 /usr/old/bin.
20752
72e182e3
PT
20753 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
20754 instead of spaces.
20755 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
20756
fbeafede
JM
207572012-11-03 Joseph Myers <joseph@codesourcery.com>
20758
5b5b04d6
JM
20759 [BZ #14796]
20760 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
20761 FE_TONEAREST before applying Dekker multiplication and Knuth
20762 addition. Clear inexact exceptions and check for exact zero
20763 results afterwards.
20764 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20765 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20766 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20767 * math/libm-test.inc (fma_test): Add more tests.
20768 (fma_test_towardzero): Likewise.
20769 (fma_test_downward): Likewise.
20770 (fma_test_upward): Likewise.
20771 * sysdeps/generic/math_private.h (default_libc_fesetround): New
20772 function.
20773 (libc_fesetround): New macro.
20774 (libc_fesetroundf): Likewise.
20775 (libc_fesetroundl): Likewise.
20776 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
20777 function.
20778 (libc_fesetround_387): Likewise.
20779 (libc_fesetroundf): New macro.
20780 (libc_fesetround): Likewise.
20781 (libc_fesetroundl): Likewise.
20782 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
20783 function.
20784 (libc_fesetroundf): New macro.
20785 (libc_fesetround): Likewise.
20786 (libc_fesetroundl): Likewise.
20787 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
20788 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
20789 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
20790 libm_hidden_ver.
20791 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
20792 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
20793 libm_hidden_def.
20794 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
20795 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
20796 libm_hidden_ver.
20797 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
20798 libm_hidden_def.
20799
fbeafede
JM
20800 [BZ #3439]
20801 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
20802 integer constant usable in #if and use that to give value to enum
20803 constant.
20804 (FE_DIVBYZERO): Likewise.
20805 (FE_UNDERFLOW): Likewise.
20806 (FE_OVERFLOW): Likewise.
20807 (FE_INVALID): Likewise.
20808 (FE_INVALID_SNAN): Likewise.
20809 (FE_INVALID_ISI): Likewise.
20810 (FE_INVALID_IDI): Likewise.
20811 (FE_INVALID_ZDZ): Likewise.
20812 (FE_INVALID_IMZ): Likewise.
20813 (FE_INVALID_COMPARE): Likewise.
20814 (FE_INVALID_SOFTWARE): Likewise.
20815 (FE_INVALID_SQRT): Likewise.
20816 (FE_INVALID_INTEGER_CONVERSION): Likewise.
20817 (FE_TONEAREST): Likewise.
20818 (FE_TOWARDZERO): Likewise.
20819 (FE_UPWARD): Likewise.
20820 (FE_DOWNWARD): Likewise.
20821 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
20822 (FE_DIVBYZERO): Likewise.
20823 (FE_OVERFLOW): Likewise.
20824 (FE_UNDERFLOW): Likewise.
20825 (FE_INEXACT): Likewise.
20826 (FE_TONEAREST): Likewise.
20827 (FE_DOWNWARD): Likewise.
20828 (FE_UPWARD): Likewise.
20829 (FE_TOWARDZERO): Likewise.
20830 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
20831 (FE_UNDERFLOW): Likewise.
20832 (FE_OVERFLOW): Likewise.
20833 (FE_DIVBYZERO): Likewise.
20834 (FE_INVALID): Likewise.
20835 (FE_TONEAREST): Likewise.
20836 (FE_TOWARDZERO): Likewise.
20837 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
20838 (FE_OVERFLOW): Likewise.
20839 (FE_UNDERFLOW): Likewise.
20840 (FE_DIVBYZERO): Likewise.
20841 (FE_INEXACT): Likewise.
20842 (FE_TONEAREST): Likewise.
20843 (FE_TOWARDZERO): Likewise.
20844 (FE_UPWARD): Likewise.
20845 (FE_DOWNWARD): Likewise.
20846 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
20847 (FE_DIVBYZERO): Likewise.
20848 (FE_OVERFLOW): Likewise.
20849 (FE_UNDERFLOW): Likewise.
20850 (FE_INEXACT): Likewise.
20851 (FE_TONEAREST): Likewise.
20852 (FE_DOWNWARD): Likewise.
20853 (FE_UPWARD): Likewise.
20854 (FE_TOWARDZERO): Likewise.
20855
105ca950
CM
208562012-11-02 Chris Metcalf <cmetcalf@tilera.com>
20857
20858 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
20859
a542b389
AS
208602012-11-03 Andreas Schwab <schwab@linux-m68k.org>
20861
20862 * scripts/cross-test-ssh.sh (command): Use newlines to separate
20863 commands. Quote $PWD.
20864 (blacklist_exports): Don't use remove_newlines. Replace "declare
20865 -x" by "export".
20866 (remove_newlines): Remove.
20867
f62c8abc
L
208682012-11-02 H.J. Lu <hongjiu.lu@intel.com>
20869
20870 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
20871 * stdlib/stdlib.h (atof): Moved to ...
20872 * include/bits/stdlib-float.h: Here. New file.
20873 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
20874 * stdlib/bits/stdlib-float.h: New file.
20875 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
20876 -mno-sse -mno-mmx.
20877 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
20878 <xmmintrin.h>.
20879
0155d5b2
JM
208802012-11-02 Joseph Myers <joseph@codesourcery.com>
20881
a68d0680
JM
20882 * conform/conformtest.pl (@headers): Add fenv.h.
20883 * conform/data/fenv.h-data: New file.
20884 * include/fenv.h [_ISOMAC]: Disable all contents of file except
20885 include of <math/fenv.h>.
20886
caf7f573
JM
20887 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
20888 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
20889 && !UNIX98]. Enables tests for XOPEN2K8.
20890 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
20891 POSIX2008]: Likewise.
20892
6c073ad6
JM
20893 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
20894 (struct rusage): Do not expect type or its members.
20895
0155d5b2
JM
20896 [BZ #3439]
20897 * math/math.h (FP_NAN): Define macro to integer constant usable in
20898 #if and use that to give value to enum constant.
20899 (FP_INFINITE): Likewise.
20900 (FP_ZERO): Likewise.
20901 (FP_SUBNORMAL): Likewise.
20902 (FP_NORMAL): Likewise.
20903
b5dcacb4
AS
209042012-11-02 Andreas Schwab <schwab@linux-m68k.org>
20905
20906 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
20907 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
20908 arguments.
20909
f7934be8
RM
209102012-11-02 Roland McGrath <roland@hack.frob.com>
20911
20912 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
20913 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
20914 autoconf-time if not.
20915 * configure.in: Remove AC_PREREQ.
20916
d7d08bde
TMQMF
209172012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20918
20919 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
20920 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
20921 of the internal implementation.
20922
dcdae19a
JM
209232012-11-02 Joseph Myers <joseph@codesourcery.com>
20924
20925 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
20926 except include of <misc/sys/syslog.h>.
20927
d6cffd3e
AS
209282012-11-01 Andreas Schwab <schwab@linux-m68k.org>
20929
20930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
20931 function returns with a NULL context exit with zero.
20932
b3563932
TMQMF
209332012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20934
20935 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
20936
b288a93d
L
209372012-11-01 H.J. Lu <hongjiu.lu@intel.com>
20938
20939 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
20940 (run_program_cmd): This.
20941 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
20942 (tst_langinfo): New variable. Use it.
20943
a2421a68
SAS
209442012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
20945
20946 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
20947 floating point opcodes.
20948
6f796e1b
TS
209492012-11-01 Thomas Schwinge <thomas@codesourcery.com>
20950
7402596b
TS
20951 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
20952 variable.
20953
d0d4f868
TS
20954 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
20955
6f796e1b
TS
20956 * sysdeps/mach/hurd/powerpc: Remove directory.
20957 * sysdeps/mach/powerpc: Likewise.
20958
4da224a2
AS
209592012-11-01 Andreas Schwab <schwab@linux-m68k.org>
20960
20961 * scripts/check-local-headers.sh: Ignore c++ headers.
20962
341dd673
TS
209632012-11-01 Thomas Schwinge <thomas@codesourcery.com>
20964
20965 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
20966 __libc_cleanup_region_start argument.
20967
473611b2
JM
209682012-11-01 Joseph Myers <joseph@codesourcery.com>
20969
20970 [BZ #14784]
20971 [BZ #14785]
20972 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
20973 x * y using scaling, not as x * y + z.
20974 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20975 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20976 * math/libm-test.inc (fma_test): Add more tests.
20977 (fma_test_towardzero): Likewise.
20978 (fma_test_downward): Likewise.
20979 (fma_test_upward): Likewise.
20980
4078da3d
TS
209812012-11-01 Thomas Schwinge <thomas@codesourcery.com>
20982
20983 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
20984
903252aa
JM
209852012-10-31 Joseph Myers <joseph@codesourcery.com>
20986
20987 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
20988 New variable.
20989
cbc818d0
TS
209902012-10-31 Thomas Schwinge <thomas@codesourcery.com>
20991
20992 * rt/tst-shm.c (worker): Correct checking for mmap failure.
20993
5a03cb1e
AS
209942012-10-31 Andreas Schwab <schwab@linux-m68k.org>
20995
20996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20997 Fix sort order.
20998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20999 Likewise.
21000
90aff2ff
TMQMF
210012012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21002
21003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21004 Fix the order of the list for glibc 2.17.
21005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21006 Likewise.
21007
1818fcb7
AS
210082012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21009
21010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21011
ef82f4da
JM
210122012-10-31 Joseph Myers <joseph@codesourcery.com>
21013
16a0e2ec
JM
21014 [BZ #14610]
21015 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21016 for low part of x being zero before using __atanl (y).
21017 * math/libm-test.inc (atan2_test): Add another test.
21018
0eb69512
JM
21019 * manual/install.texi (Configuring and compiling): Document
21020 general use of test-wrapper and test-wrapper-env.
21021 * INSTALL: Regenerated.
21022
ef82f4da
JM
21023 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21024 (__fma): Do not extract and scale down low bits on after-rounding
21025 systems when result rounded to normal precision would have normal
21026 exponent.
21027 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21028 (__fmal): Do not extract and scale down low bits on after-rounding
21029 systems when result rounded to normal precision would have normal
21030 exponent.
21031 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21032 (__fmal): Do not extract and scale down low bits on after-rounding
21033 systems when result rounded to normal precision would have normal
21034 exponent.
21035 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21036 macro.
21037 (fma_test): Add more tests.
21038 (fma_test_towardzero): Likewise.
21039 (fma_test_downward): Likewise.
21040 (fma_test_upward): Likewise.
21041
954ef0d9
L
210422012-10-30 H.J. Lu <hongjiu.lu@intel.com>
21043
21044 * sysdeps/i386/tininess.h: Renamed to ...
21045 * sysdeps/x86/tininess.h: This.
21046 * sysdeps/x86_64/tininess.h: Removed.
21047
df61ffb2
JM
210482012-10-30 Joseph Myers <joseph@codesourcery.com>
21049
21050 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21051 input. Use $(build-program-cmd).
21052 ($(objpfx)tst-array1-static.out): Likewise.
21053 ($(objpfx)tst-array2.out): Likewise.
21054 ($(objpfx)tst-array3.out): Likewise.
21055 ($(objpfx)tst-array4.out): Likewise.
21056 ($(objpfx)tst-array5.out): Likewise.
21057 ($(objpfx)tst-array5-static.out): Likewise.
21058
01767843
CM
210592012-10-30 Chris Metcalf <cmetcalf@tilera.com>
21060
47cc1490
CM
21061 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21062 if defined.
21063
01767843
CM
21064 * nss/nsswitch.h (nss_interface_function): Provide new
21065 macro for use with NSS functions.
21066 * grp/initgroups.c: Use new macro.
21067 * nss/getXXbyYY.c: Likewise.
21068 * nss/getXXbyYY_r.c: Likewise.
21069 * nss/getXXent.c: Likewise.
21070 * nss/getXXent_r.c: Likewise.
21071 * sysdeps/posix/getaddrinfo.c: Likewise.
21072
8321aa97
AJ
210732012-10-30 Andreas Jaeger <aj@suse.de>
21074
21075 * po/ru.po: Update Russion translation from translation project.
21076
2a27fd6d
JM
210772012-10-30 Joseph Myers <joseph@codesourcery.com>
21078
8627a232
JM
21079 [BZ #14152]
21080 [BZ #14783]
21081 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21082 result and shift together with sticky bit instead of replicating
21083 round-to-nearest rounding.
21084 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21085 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21086 * math/libm-test.inc (fma_test): Add more tests. Do not permit
21087 missing underflow exceptions.
21088 (fma_test_towardzero): Add more tests.
21089 (fma_test_downward): Likewise.
21090 (fma_test_upward): Likewise.
21091
2a27fd6d
JM
21092 [BZ #14047]
21093 * sysdeps/generic/tininess.h: New file.
21094 * sysdeps/i386/tininess.h: Likewise.
21095 * sysdeps/sh/tininess.h: Likewise.
21096 * sysdeps/x86_64/tininess.h: Likewise.
21097 * stdlib/tst-strtod-underflow.c: Likewise.
21098 * stdlib/tst-tininess.c: Likewise.
21099 * stdlib/strtod_l.c: Include <tininess.h>.
21100 (round_and_return): Do not set errno for exact underflow cases.
21101 Force an underflow exception when setting errno for underflow.
21102 Determine underflow based on rounding to normal precision if
21103 TININESS_AFTER_ROUNDING.
21104 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21105 ERANGE for exact underflow cases.
21106 * stdlib/Makefile (tests): Add tst-tininess and
21107 tst-strtod-underflow.
21108 ($(objpfx)tst-tininess): Use $(link-libm).
21109 ($(objpfx)tst-strtod-underflow): Likewise.
21110
e7170363
AJ
211112012-10-30 Andreas Jaeger <aj@suse.de>
21112
e5088dc6
AJ
21113 [BZ#14767]
21114 * elf/Makefile (tests): Remove conditional for have-initfini-array
21115 since this is now always required and the variable does not exist
21116 anymore.
21117 (tests-static): Likewise.
21118 (modules-names): Likewise.
21119
e7170363 21120 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
21121
21122 * elf/tst-array1.c (fini_array): Make writeable so that it can be
21123 merged with constructor/destructor.
21124 (init_array): Likewise.
21125 * elf/tst-array2dep.c (fini_array): Likewise.
21126 (init_array): Likewise.
21127
60457d8a
MF
211282012-10-29 Mike Frysinger <vapier@gentoo.org>
21129
21130 * manual/message.texi: Delete @cartouche tags.
21131
8bece752
PT
211322012-10-29 Pino Toscano <toscano.pino@tiscali.it>
21133
94ce799f
PT
21134 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21135 EOPNOTSUPP.
21136 * sysdeps/mach/hurd/fsync.c: Likewise.
21137
8bece752
PT
21138 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21139 [_POSIX_REALTIME_SIGNALS]: Change condition to
21140 [_POSIX_REALTIME_SIGNALS > 0].
21141
86ebe6b1
AJ
211422012-10-27 Andreas Jaeger <aj@suse.de>
21143
21144 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21145 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21146 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21147 [__WORDSIZE != 64]: Likewise.
21148
54399c08
L
211492012-10-26 H.J. Lu <hongjiu.lu@intel.com>
21150
21151 * iconvdata/tst-table.sh: Remove ${SHELL}.
21152 * iconvdata/tst-tables.sh: Likewise.
21153
e2211bed
DM
211542012-10-25 David S. Miller <davem@davemloft.net>
21155
21156 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21157 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21158 of strtoull.
21159
f303f97c
DM
21160 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21161 ifunc-impl-list.c
21162 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21163 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21164 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21165 file.
21166
1e9d84cd
RM
211672012-10-25 Roland McGrath <roland@hack.frob.com>
21168
21169 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21170 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21171 __getdirentries.
21172
df381762
JM
211732012-10-25 Joseph Myers <joseph@codesourcery.com>
21174 Jim Blandy <jimb@codesourcery.com>
21175
21176 * scripts/cross-test-ssh.sh: New file.
21177 * manual/install.texi (Configuring and compiling): Document use of
21178 cross-test-ssh.sh.
21179 * INSTALL: Regenerated.
21180
bff64913
PT
211812012-10-25 Pino Toscano <toscano.pino@tiscali.it>
21182
21183 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21184 EOPNOTSUPP.
21185
25fe8932
JM
211862012-10-25 Joseph Myers <joseph@codesourcery.com>
21187
21188 * Makeconfig (run-program-prefix): Fix comment.
21189
cc1290d0
JM
211902012-10-24 Joseph Myers <joseph@codesourcery.com>
21191 Jim Blandy <jimb@codesourcery.com>
21192
21193 * Makeconfig (test-wrapper): New variable,
21194 (test-wrapper-env): Likewise.
21195 [$(cross-compiling) = yes && $(test-wrapper) != ""]
21196 (run-built-tests): Define to yes.
21197 (run-program-prefix): Use $(test-wrapper).
21198 (built-program-cmd): Likewise.
21199 * Rules (make-test-out): Use $(test-wrapper-env) and
21200 $(host-built-program-cmd).
21201 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21202 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21203 tst-pathopt.sh.
21204 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21205 $(test-wrapper-env) to tst-rtld-load-self.sh.
21206 ($(objpfx)order2.out): Use $(test-wrapper).
21207 ($(objpfx)tst-initorder.out): Likewise.
21208 ($(objpfx)tst-initorder2.out): Likewise.
21209 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21210 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21211 (test_wrapper_env): New variable. Use it to run ld.so.
21212 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21213 Use it to run ld.so.
21214 (test_wrapper_env): Likewise.
21215 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21216 $(test-wrapper) to run-iconv-test.sh.
21217 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21218 (ICONV): Use $test_wrapper.
21219 * posix/Makefile ($(objpfx)globtest.out): Pass
21220 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21221 globtest.sh, not $(run-program-prefix).
21222 * posix/globtest.sh (run_via_rtld_prefix): New variable.
21223 (test_wrapper): Likewise.
21224 (test_wrapper_env): Likewise. Use it to run globtest with HOME
21225 set together with run_via_rtld_prefix.
21226 (run_program_prefix): Define in terms of test_wrapper and
21227 run_via_rtld_prefix.
21228
6e6249d0
RM
212292012-10-24 Roland McGrath <roland@hack.frob.com>
21230
21231 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21232 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21233 Targets removed.
21234
21235 [BZ #14743]
21236 * include/time.h: Remove librt_hidden_proto (clock_gettime).
21237 Declare __clock_getres, __clock_gettime, __clock_settime,
21238 __clock_nanosleep, and __clock_getcpuclockid.
21239 * rt/clock_gettime.c: Define __clock_gettime as an alias.
21240 Remove librt_hidden_def (clock_gettime).
21241 * sysdeps/unix/clock_gettime.c: Likewise.
21242 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21243 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21244 * rt/clock_getres.c: Define __clock_getres as an alias.
21245 * sysdeps/posix/clock_getres.c: Likewise.
21246 * rt/clock_settime.c: Define __clock_settime as an alias.
21247 * sysdeps/unix/clock_settime.c: Likewise.
21248 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21249 * sysdeps/unix/clock_nanosleep.c: Likewise.
21250 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21251 * rt/clock-compat.c: New file.
21252 * rt/Makefile (librt-routines): Add clock-compat and move
21253 $(clock-routines) to ...
21254 (routines): ... here, new variable.
21255 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21256 Don't add get_clockfreq here.
21257 * rt/Versions (libc: GLIBC_2.17): New version set.
21258 Add clock_* symbols here.
21259 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
21260 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21261 (GLIBC_2.17): Add clock_* symbols.
21262 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21264 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21266 Likewise.
21267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21268 Likewise.
21269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21273 * NEWS: Mention the move.
21274
21275 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21276 Use __open, __read, __close rather than their public counterparts.
21277 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21278 (__get_clockfreq_via_cpuinfo): Likewise.
21279 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
21280 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
21281
21282 * config.h.in (HAVE_IFUNC): New #undef.
21283 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
21284 was successful.
21285 * configure: Regenerated.
21286
0cae3f4b
MF
212872012-10-24 Mike Frysinger <vapier@gentoo.org>
21288
21289 * configure.in: Move READELF check to start of file.
21290 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
21291 libc_cv_asm_gnu_indirect_function in the process.
21292 * configure: Regenerated.
21293
8175a253
MF
212942012-10-24 Mike Frysinger <vapier@gentoo.org>
21295
21296 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
21297 send the output to /dev/null.
21298 (libc_cv_cc_with_libunwind): Likewise.
21299 (libc_cv_as_noexecstack): Likewise.
21300 * configure: Regenerate.
21301
0708a7d1
JM
213022012-10-24 Joseph Myers <joseph@codesourcery.com>
21303
10b40d85
JM
21304 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
21305
0708a7d1
JM
21306 * posix/globtest.sh (TMPDIR): Do not set.
21307 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
21308 (testout): Likewise.
21309
9fddec1a
AJ
213102012-10-24 Andreas Jaeger <aj@suse.de>
21311
3a8db22f
AJ
21312 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
21313 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
21314 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
21315 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
21316 posix_fadvise64, posix_fallocate64.
21317
9fddec1a
AJ
21318 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
21319 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
21320 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
21321 Likewise.
21322 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
21323 Likewise.
21324 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
21325
21326 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
21327 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
21328 <bits/fcntl-linux.h>.
21329 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
21330
21331 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
21332 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
21333 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
21334 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
21335 [__WORDSIZE != 64]: Likewise.
21336
ebfd1bbd
JM
213372012-10-23 Joseph Myers <joseph@codesourcery.com>
21338
03ac099f
JM
21339 * Makeconfig (run-built-tests): New variable.
21340 * Rules [$(cross-compiling) = yes]: Change condition to
21341 [$(run-built-tests) = no].
21342 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
21343 to [$(run-built-tests) = yes].
21344 * elf/Makefile [$(cross-compiling) = no]: Likewise
21345 * grp/Makefile [$(cross-compiling) = no]: Likewise.
21346 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
21347 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
21348 * intl/Makefile [$(cross-compiling) = no]: Likewise.
21349 * io/Makefile [$(cross-compiling) = no]: Likewise.
21350 * libio/Makefile [$(cross-compiling) = no]: Likewise.
21351 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
21352 * misc/Makefile [$(cross-compiling) = no]: Likewise.
21353 * posix/Makefile [$(cross-compiling) = no]: Likewise.
21354 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
21355 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
21356 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
21357 * string/Makefile [$(cross-compiling) = no]: Likewise.
21358
ebfd1bbd
JM
21359 * posix/Makefile ($(objpfx)globtest.out): Pass
21360 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
21361 $(rtld-installed-name).
21362 * posix/globtest.sh (elf_objpfx): Remove variable.
21363 (rtld_installed_name): Likewise.
21364 (library_path): Likewise.
21365 (run_program_prefix): New variable. Use for running globtest
21366 binary.
21367
166bca24
JB
213682012-10-23 Jim Blandy <jimb@codesourcery.com>
21369 Joseph Myers <joseph@codesourcery.com>
21370
21371 * Makeconfig (host-built-program-cmd): New variable.
21372 * elf/Makefile (tst-stackguard1-ARGS): Use
21373 $(host-built-program-cmd).
21374 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
21375 (tst-spawn-ARGS): Likewise.
21376 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
21377
88866099
JM
213782012-10-23 Joseph Myers <joseph@codesourcery.com>
21379 Jim Blandy <jimb@codesourcery.com>
21380
21381 * Makeconfig (run-via-rtld-prefix): New variable.
21382 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
21383 (built-program-cmd): Likewise.
21384
b4b4c296
AJ
213852012-10-22 Andreas Jaeger <aj@suse.de>
21386
21387 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
21388 __O_RSYNC if it exists, otherwise to O_SYNC.
21389
6fb54a22
JB
213902012-10-22 Jim Blandy <jimb@codesourcery.com>
21391 Joseph Myers <joseph@codesourcery.com>
21392
21393 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
21394 /dev/null.
21395 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
21396 from /dev/null
21397 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
21398 /dev/null.
21399
481b90b9
AJ
214002012-10-22 Andreas Jaeger <aj@suse.de>
21401
2a0e2669
AJ
21402 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
21403 Define always.
21404 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
21405
76e38f9a
AJ
21406 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21407 bits/fcntl-linux.h.
21408
7cd37b43
AJ
21409 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
21410 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
21411
481b90b9
AJ
21412 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
21413 to __O_LARGEFILE.
21414 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
21415 to __O_LARGEFILE.
21416
aba75984
JB
214172012-10-21 Jim Blandy <jimb@codesourcery.com>
21418 Joseph Myers <joseph@codesourcery.com>
21419
21420 * config.make.in (NM): New variable.
21421
88d4247f
AJ
214222012-10-21 Andreas Jaeger <aj@suse.de>
21423
21424 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
21425 definitions and declarations that are provided by
21426 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21427
f2eed205
L
214282012-10-20 H.J. Lu <hongjiu.lu@intel.com>
21429
21430 [BZ #14683]
21431 * elf/Makefile (tests-static): Add tst-leaks1-static.
21432 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
21433 ($(objpfx)tst-leaks1-static): New rule.
21434 ($(objpfx)tst-leaks1-static-mem): Likewise.
21435 (tst-leaks1-static-ENV): New macro.
21436 * elf/dl-open.c (dl_open_worker): Check the main application
21437 only if SHARED is defined.
21438 * elf/tst-leaks1-static.c: New file.
21439
335e6931
AJ
214402012-10-20 Andreas Jaeger <aj@suse.de>
21441
21442 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
21443 generic values for Linux.
21444 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
21445 and declarations that are provided by <bits/fcntl-linux.h> and
21446 include <bits/fcntl-linux.h>.
21447 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21448 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21449
ac5c94d3
RM
214502012-10-20 Roland McGrath <roland@hack.frob.com>
21451
21452 * io/fcntl.h: Move include of <bits/types.h> to the top and
21453 include it unconditionally.
21454
de54b33a
L
214552012-10-20 H.J. Lu <hongjiu.lu@intel.com>
21456
228cfb01
L
21457 * wcsmbs/Makefile (tests-ifunc): New variable.
21458 (tests): Add $(tests-ifunc).
21459 * wcsmbs/test-wcschr-ifunc.c: New file.
21460 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
21461 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
21462 * wcsmbs/test-wcslen-ifunc.c: Likewise.
21463 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
21464 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
21465
69f07e5f
L
21466 * string/Makefile (tests-ifunc): New variable.
21467 (tests): Add $(tests-ifunc).
21468 * string/test-memccpy.c (TEST_NAME): New macro.
21469 * string/test-memchr.c (TEST_NAME): Likewise.
21470 * string/test-memcmp.c (TEST_NAME): Likewise.
21471 * string/test-memcpy.c (TEST_NAME): Likewise.
21472 * string/test-memmem.c (TEST_NAME): Likewise.
21473 * string/test-memmove.c (TEST_NAME): Likewise.
21474 * string/test-memset.c (TEST_NAME): Likewise.
21475 * string/test-rawmemchr.c (TEST_NAME): Likewise.
21476 * string/test-stpcpy.c (TEST_NAME): Likewise.
21477 * string/test-stpncpy.c (TEST_NAME): Likewise.
21478 * string/test-strcasecmp.c (TEST_NAME): Likewise.
21479 * string/test-strcasestr.c (TEST_NAME): Likewise.
21480 * string/test-strcat.c (TEST_NAME): Likewise.
21481 * string/test-strchr.c (TEST_NAME): Likewise.
21482 * string/test-strcmp.c(TEST_NAME): Likewise.
21483 * string/test-strcpy.c (TEST_NAME): Likewise.
21484 * string/test-strcspn.c (TEST_NAME): Likewise.
21485 * string/test-strlen.c (TEST_NAME): Likewise.
21486 * string/test-strncasecmp.c (TEST_NAME): Likewise.
21487 * string/test-strncmp.c (TEST_NAME): Likewise.
21488 * string/test-strncpy.c (TEST_NAME): Likewise.
21489 * string/test-strnlen.c (TEST_NAME): Likewise.
21490 * string/test-strpbrk.c (TEST_NAME): Likewise.
21491 * string/test-strrchr.c (TEST_NAME): Likewise.
21492 * string/test-strspn.c (TEST_NAME): Likewise.
21493 * string/test-strstr.c (TEST_NAME): Likewise.
21494 * string/test-bcopy-ifunc.c: New file.
21495 * string/test-bzero-ifunc.c: Likewise.
21496 * string/test-memccpy-ifunc.c: Likewise.
21497 * string/test-memchr-ifunc.c: Likewise.
21498 * string/test-memcmp-ifunc.c: Likewise.
21499 * string/test-memcpy-ifunc.c: Likewise.
21500 * string/test-memmem-ifunc.c: Likewise.
21501 * string/test-memmove-ifunc.c: Likewise.
21502 * string/test-mempcpy-ifunc.c: Likewise.
21503 * string/test-memset-ifunc.c: Likewise.
21504 * string/test-rawmemchr-ifunc.c: Likewise.
21505 * string/test-stpcpy-ifunc.c: Likewise.
21506 * string/test-stpncpy-ifunc.c: Likewise.
21507 * string/test-strcasecmp-ifunc.c: Likewise.
21508 * string/test-strcasestr-ifunc.c: Likewise.
21509 * string/test-strcat-ifunc.c: Likewise.
21510 * string/test-strchr-ifunc.c: Likewise.
21511 * string/test-strchrnul-ifunc.c: Likewise.
21512 * string/test-strcmp-ifunc.c: Likewise.
21513 * string/test-strcpy-ifunc.c: Likewise.
21514 * string/test-strcspn-ifunc.c: Likewise.
21515 * string/test-strlen-ifunc.c: Likewise.
21516 * string/test-strncasecmp-ifunc.c: Likewise.
21517 * string/test-strncat-ifunc.c: Likewise.
21518 * string/test-strncmp-ifunc.c: Likewise.
21519 * string/test-strncpy-ifunc.c: Likewise.
21520 * string/test-strnlen-ifunc.c: Likewise.
21521 * string/test-strpbrk-ifunc.c: Likewise.
21522 * string/test-strrchr-ifunc.c: Likewise.
21523 * string/test-strspn-ifunc.c: Likewise.
21524 * string/test-strstr-ifunc.c: Likewise.
21525
de54b33a
L
21526 * debug/Makefile (tests-ifunc): New variable.
21527 (tests): Add $(tests-ifunc).
21528 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
21529 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
21530 * debug/test-stpcpy_chk-ifunc.c: New file.
21531 * debug/test-strcpy_chk-ifunc.c: Likewise.
21532
88481c16
SP
215332012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21534
21535 [BZ #13601]
21536 * elf/dl-load.c (open_verify): Retry read if the entire ELF
21537 header is not read in.
21538
135948bd
JM
215392012-10-19 Joseph Myers <joseph@codesourcery.com>
21540
89f1c388
JM
21541 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
21542 script to $(SHELL) as $<. Pass $(common-objpfx) to script
21543 directly. Pass built executable to script as
21544 $(built-program-cmd).
21545 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
21546 $testprogram without using LD_LIBRARY_PATH and $ldso.
21547
e40a0d21
JM
21548 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
21549 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
21550 $(rtld-installed-name).
21551 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
21552 (rtld_installed_name): Likewise.
21553 (library_path): Likewise.
21554 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
21555 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
21556 $(run-program-prefix) to tst-tables.sh.
21557 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
21558 it to run tst-table-from and tst-table-to.
21559 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
21560 Pass it to tst-table.sh.
21561 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
21562 $(run-program-prefix) to tst-gettext.sh.
21563 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
21564 tst-translit.sh.
21565 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
21566 tst-gettext2.sh.
21567 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
21568 to run tst-gettext.
21569 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
21570 to run tst-gettext2.
21571 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
21572 to run tst-translit.
21573 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
21574 $(run-program-prefix) to tst-mtrace.sh.
21575 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
21576 to run tst-mtrace.
21577 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
21578 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
21579 $(rtld-installed-name).
21580 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
21581 (rtld_installed_name): Likewise.
21582 (run_program_prefix): New variable. Use it to run wordexp-test.
21583
728e272a
JM
21584 * Makeconfig (ARCH): Remove all definitions.
21585 (machine): Likewise.
21586 [ARCH]: Remove conditional code.
21587 [!objdir]: Give error.
21588 [!objdir] (objpfx): Remove.
21589 [!objdir] (common-objpfx): Likewise.
21590 [!objdir] (common-objdir): Likewise.
21591 * configure.in (config_makefile): Remove. Hardcode Makefile in
21592 AC_CONFIG_FILES call.
21593 * configure: Regenerated.
21594
d528cdcf
JM
21595 [BZ #13888]
21596 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
21597 or TMPDIR.
21598 (testout): Likewise.
21599
135948bd
JM
21600 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
21601 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
21602 $(rtld-installed-name).
21603 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
21604 (rtld_installed_name): Likwise.
21605 (runit): Remove function.
21606 (run_getconf): New variable, Use it for running getconf binary.
21607
38c78296
L
216082012-10-18 H.J. Lu <hongjiu.lu@intel.com>
21609
21610 [BZ #14716]
21611 * string/test-memmem.c (check_result): New function.
21612 (do_one_test): Use it.
21613 (check1): New function.
21614 (test_main): Use it.
21615
d077f65f
MT
216162012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
21617
21618 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
21619
ced52c71
JM
216202012-10-18 Joseph Myers <joseph@codesourcery.com>
21621
21622 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
21623 (_G_LSEEK64): Likewise.
21624 (_G_MMAP64): Likewise.
21625 (_G_FSTAT64): Likewise.
21626 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
21627 (_G_LSEEK64): Likewise.
21628 (_G_MMAP64): Likewise.
21629 (_G_FSTAT64): Likewise.
21630 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
21631 unconditional. Call __mmap64 directly.
21632 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
21633 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
21634 __lseek64 directly.
21635 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
21636 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
21637 __mmap64 directly.
21638 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
21639 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
21640 __lseek64 directly.
21641 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
21642 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
21643 __lseek64 directly.
21644 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
21645 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
21646 __lseek64 directly.
21647 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
21648 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
21649 __fxstat64 directly.
21650 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
21651 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
21652 unconditional.
21653 (freopen64) [!_G_OPEN64]: Remove conditional code.
21654 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
21655 unconditional.
21656 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
21657 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
21658 unconditional.
21659 (ftello64) [!_G_LSEEK64]: Remove conditional code.
21660 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
21661 unconditional.
21662 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21663 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
21664 unconditional.
21665 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
21666 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
21667 unconditional.
21668 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21669 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
21670 unconditional.
21671 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21672 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
21673 unconditional.
21674 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21675
b741de23
SP
216762012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21677
21678 [BZ #12140]
21679 * manual/memory.texi (Malloc Tunable Parameters): Add note
21680 about free list pointers overwriting some perturb bytes.
21681 Wording suggested by Roland McGrath.
21682
f9b9d9c9
JM
216832012-10-17 Joseph Myers <joseph@codesourcery.com>
21684
21685 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
21686 (lgamma_test): Likewise.
21687 (tgamma_test): Likewise.
21688
172a631a
FW
216892012-10-16 Florian Weimer <fweimer@redhat.com>
21690
21691 [BZ #14700]
21692 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
21693 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
21694
e9f37252
MK
216952012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
21696
21697 * NEWS: Mention BZ #14716.
21698 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
21699 when removing AVAILABLE1_USES_J macro.
21700
d394eb74
L
217012012-10-12 H.J. Lu <hongjiu.lu@intel.com>
21702
21703 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
21704 (__bswap_64): __uint64_t for unsigned 64-bit int.
21705
ca38dc17
AS
217062012-10-12 Andreas Schwab <schwab@linux-m68k.org>
21707
21708 * include/string.h (memmem): Declare libc hidden alias.
21709 * string/memmem.c (memmem): Define libc hidden alias.
21710 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
21711 __read, __close instead of open, read, close.
21712
9a387d1f
L
217132012-10-11 H.J. Lu <hongjiu.lu@intel.com>
21714
ac49ecaf
L
21715 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
21716 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
21717 global and hidden.
21718 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
21719 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
21720 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
21721 Likewise.
21722 (__rawmemchr_sse2): Likewise.
21723 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
21724 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
21725 (__strchr_sse2): Likewise.
21726 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
21727 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
21728 (__strcasecmp_sse2): Likewise.
21729 (__strncasecmp_sse2): Likewise.
21730 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
21731 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
21732 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
21733 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
21734 (__strrchr_sse2): Likewise.
21735 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
21736 ifunc-impl-list.c.
21737 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21738 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21739 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21740 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21741 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21742 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21743 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21744 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21745 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
21746 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
21747 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
21748 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
21749 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
21750 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21751 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21752 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21753 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21754 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21755 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
21756 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
21757 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
21758 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
21759 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
21760 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21761 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
21762 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21763 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21764 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21765 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21766 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21767
b090e8ea
L
21768 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
21769 global and hidden.
21770 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
21771 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
21772 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
21773 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
21774 Likewise.
21775 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
21776 Likewise.
21777 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
21778 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
21779 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
21780 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
21781 ifunc-impl-list.c.
21782 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21783 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21784 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21785 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21786 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21787 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21788 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21789 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21790 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21791 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21792 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21793 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21794 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21795 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
21796 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
21797 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21798 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
21799 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
21800 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21801 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21802 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21803 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21804 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21805 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21806 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21807 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
21808 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
21809 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
21810 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
21811 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21812 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
21813 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21814 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21815 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
21816 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21817 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21818 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21819 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21820 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21821 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21822 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
21823
11dd4af6
L
21824 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
21825 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
21826 * include/ifunc-impl-list.h: New file.
21827 * misc/ifunc-impl-list.c: Likewise.
21828 * misc/Makefile (routines): Add ifunc-impl-list.
21829 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
21830 * string/test-string.h: Include <ifunc-impl-list.h>.
21831 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
21832 impl_array): New variables.
21833 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
21834 are defined.
21835 (test_init): Call __libc_ifunc_impl_list to initialize
21836 func_list if TEST_IFUNC and TEST_NAME are defined.
21837
9a387d1f
L
21838 * string/Makefile (strop-tests): Add bcopy and bzero.
21839 * string/test-bcopy.c: New file.
21840 * string/test-bzero.c: Likewise.
21841 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
21842 defined.
21843 * string/test-memset.c: Support bzero test if TEST_BZERO is
21844 defined.
21845 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
21846 __libc_memmove.
21847 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
21848 __libc_memset.
21849 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
21850 of memset.
21851
472371b9
JM
218522012-10-10 Joseph Myers <joseph@codesourcery.com>
21853
1e4a9536
JM
21854 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
21855 * configure: Regenerated.
21856
d173d12e
JM
21857 * Makeconfig (+link-static-before-libc): Don't include
21858 $(link-static-libc).
21859
472371b9
JM
21860 * libio/libio.h (_IO_pos_t): Remove.
21861
89a3ad0b
AO
218622012-10-10 Alexandre Oliva <aoliva@redhat.com>
21863
21864 * NEWS: Add note about FIPS mode. Wording suggested by Roland
21865 McGrath.
21866
e7451425
AO
218672012-10-10 Alexandre Oliva <aoliva@redhat.com>
21868
21869 * crypt/crypt-entry.c: Include fips-private.h.
21870 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
21871 * crypt/md5c-test.c (main): Tolerate disabled MD5.
21872 * sysdeps/unix/sysv/linux/fips-private.h: New file.
21873 * sysdeps/generic/fips-private.h: New file, dummy fallback.
21874
4ba74a35
AO
218752012-10-10 Alexandre Oliva <aoliva@redhat.com>
21876
21877 * crypt/crypt-private.h: Include stdbool.h.
21878 (_ufc_setup_salt_r): Return bool.
21879 * crypt/crypt-entry.c: Include errno.h.
21880 (__crypt_r): Return NULL with EINVAL for bad salt.
21881 * crypt/crypt_util.c (bad_for_salt): New.
21882 (_ufc_setup_salt_r): Check that salt is long enough and within
21883 the specified alphabet.
21884 * crypt/badsalttest.c: New file.
21885 * crypt/Makefile (tests): Add it.
21886 ($(objpfx)badsalttest): New.
21887
f96f1242
MK
218882012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
21889
21890 * NEWS: Add entry for BZ #14602.
21891
0e8e0c1c
JM
218922012-10-09 Joseph Myers <joseph@codesourcery.com>
21893
21894 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
21895 type-generic.
21896 * math/libm-test.inc: Update comment listing what functions and
21897 macros are tested.
21898 (isgreater_test): New function.
21899 (isgreaterequal_test): Likewise.
21900 (isless_test): Likewise.
21901 (islessequal_test): Likewise.
21902 (islessgreater_test): Likewise.
21903 (isunordered_test): Likewise.
21904 (main): Call the new functions.
21905
273edc5e
RM
219062012-10-09 Roland McGrath <roland@hack.frob.com>
21907
b8493de0
RM
21908 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
21909 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
21910 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
21911 * sysdeps/i386/configure: Regenerated.
21912 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
21913 * sysdeps/mach/configure: Regenerated.
21914 * sysdeps/mach/hurd/configure: Regenerated.
21915 * sysdeps/powerpc/configure: Regenerated.
21916 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21917 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21918 * sysdeps/s390/s390-32/configure: Regenerated.
21919 * sysdeps/s390/s390-64/configure: Regenerated.
21920 * sysdeps/sh/configure: Regenerated.
21921 * sysdeps/sparc/configure: Regenerated.
21922 * sysdeps/unix/sysv/linux/configure: Regenerated.
21923 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
21924 * sysdeps/x86_64/configure: Regenerated.
21925
273edc5e
RM
21926 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
21927 defined. Don't check if MAP is NULL.
21928
c8450f70
JM
219292012-10-09 Joseph Myers <joseph@codesourcery.com>
21930
21931 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
21932 (_G_stat64): Likewise.
21933 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
21934 (_G_stat64): Likewise.
21935 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
21936 instead of struct _G_stat64.
21937 * libio/fileops.c (mmap_remap_check): Likewise.
21938 (decide_maybe_mmap): Likewise.
21939 (_IO_new_file_seekoff): Likewise.
21940 (_IO_file_stat): Likewise.
21941 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
21942 _G_off64_t.
21943 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
21944 instead of struct _G_stat64.
21945 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21946
57e605ba
MK
219472012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
21948
21949 [BZ #14602]
21950 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21951 Replace with ...
21952 (CHECK_EOL): New macro.
21953 (two_way_short_needle): Check beginning of haystack for EOL. Use
21954 CHECK_EOL.
21955 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21956 Replace with CHECK_EOL.
21957 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21958 Replace with CHECK_EOL.
21959
ef1bb361
JM
219602012-10-08 Joseph Myers <joseph@codesourcery.com>
21961
21962 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
21963 type-generic.
21964 * math/libm-test.inc: Update comment listing what functions and
21965 macros are tested.
21966 (finite_test): New function.
21967 (isinf_test): Likewise.
21968 (isnan_test): Likewise.
21969 (fpclassify_test): Test subnormal input.
21970 (isfinite_test): Likewise.
21971 (isnormal_test): Likewise.
21972 (main): Call the new functions.
21973
55f11534
JN
219742012-10-08 Jonathan Nieder <jrnieder@gmail.com>
21975
21976 [BZ #14660]
21977 * Makerules (%.dynsym): Force C locale when running
21978 $(OBJDUMP) --dynamic-syms.
21979
1ab29350
AS
219802012-10-08 Andreas Schwab <schwab@linux-m68k.org>
21981
21982 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
21983 <stdint.h>.
21984
f1ecb7ef
DM
219852012-10-06 David S. Miller <davem@davemloft.net>
21986
21987 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
21988 upper 32-bits of the length value in %o2 since we use branch-on-register
21989 tests which consider the entire 64-bit register.
21990
5d41d91a
L
219912012-10-06 H.J. Lu <hongjiu.lu@intel.com>
21992
21993 * string/test-strstr.c (check2): Add a test for page boundary.
21994
3baddb72
DM
219952012-10-05 David S. Miller <davem@davemloft.net>
21996
21997 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
21998 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
21999 file.
22000 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22001 sysdep_routines.
22002 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22003 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22004 and bzero when HWCAP_SPARC_CRYPTO is present.
22005
9cee5585
L
220062012-10-05 H.J. Lu <hongjiu.lu@intel.com>
22007
d7e0dab9
L
22008 [BZ #14602]
22009 * string/test-strstr.c (check2): New function.
22010 (test_main): Call check2.
22011
03759f47
L
22012 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22013 and bug-strchr1.
22014 * string/bug-strcasestr1.c (do_test): Moved to ...
22015 * string/test-strcasestr.c (check1): Here. New function.
22016 (do_one_test): Break out result checking code into ...
22017 (check_result): This. New function.
22018 (do_one_test): Call check_result.
22019 (test_main): Call check1.
22020 * string/bug-strchr1.c (do_test): Moved to ...
22021 * string/test-strchr.c (check1): Here. New function.
22022 (do_one_test): Break out result checking code into ...
22023 (check_result): This. New function.
22024 (do_one_test): Call check_result.
22025 (test_main): Call check1.
22026 * string/bug-strstr1.c (main): Moved to ...
046f153e 22027 * string/test-strstr.c (check1): Here. New function.
03759f47
L
22028 (do_one_test): Break out result checking code into ...
22029 (check_result): This. New function.
22030 (do_one_test): Call check_result.
22031 (test_main): Call check1.
22032 * string/bug-strcasestr1.c: Removed.
22033 * string/bug-strchr1.c: Likewise.
22034 * string/bug-strstr1.c: Likewise.
22035
53cea63e
L
22036 * elf/Makefile (dl-routines): Add hwcaps.
22037 * elf/dl-support.c (_dl_important_hwcaps): Removed.
22038 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22039 (_dl_important_hwcaps): Moved to ...
22040 * elf/dl-hwcaps.c: Here. New file.
22041 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22042
9cee5585 22043 [BZ #14557]
bb859b06
L
22044 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22045 if IS_IN_rtld isn't defined.
22046
9cee5585
L
22047 * elf/dl-support.c (_dl_sysinfo_map): New.
22048 Include "get-dynamic-info.h" and "setup-vdso.h".
22049 (_dl_non_dynamic_init): Call setup_vdso.
22050 * elf/dynamic-link.h: Don't include <assert.h>.
22051 (elf_get_dynamic_info): Moved to ...
22052 * elf/get-dynamic-info.h: Here. New file.
22053 * elf/dynamic-link.h: Include "get-dynamic-info.h".
22054 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22055 * elf/setup-vdso.h: Here. New file.
22056 * elf/rtld.c: Include "setup-vdso.h".
22057 (dl_main): Call setup_vdso.
22058
23c31b76
JM
220592012-10-05 Joseph Myers <joseph@codesourcery.com>
22060
28234b07
JM
22061 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22062 creal in comment listing functions tested. List finite, isinf,
22063 isnan, isless, islessequal, isgreater, isgreaterequal,
22064 islessgreater, isunordered, lgamma_r and pow10 as functions and
22065 macros not tested. Mention which functions not tested are aliases
22066 for other functions. Fix typo. Note that signs of NaNs are not
22067 tested.
22068
23c31b76
JM
22069 * scripts/config.guess: Update from config.git.
22070 * scripts/config.sub: Likewise.
22071
9043e228
RM
220722012-10-04 Roland McGrath <roland@hack.frob.com>
22073
22074 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22075 * misc/madvise.c (madvise): Renamed to __madvise.
22076 Make madvise a weak alias.
22077 * include/sys/mman.h: Declare __madvise.
22078 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22079 * sysdeps/unix/syscalls.list
22080 (madvise): Make __madvise the strong name, and madvise a weak alias.
22081 * sysdeps/unix/sysv/linux/syscalls.list
22082 (madvise, mmap): Remove redundant entries.
22083 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22084 * malloc/malloc.c (mtrim): Likewise.
22085 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22086
f57f8055
RM
220872012-10-03 Roland McGrath <roland@hack.frob.com>
22088
22089 * sysdeps/mach/hurd/dl-cache.c: File removed.
22090 * config.h.in (USE_LDCONFIG): New #undef.
22091 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22092 * configure: Regenerated.
22093 * elf/Makefile (dl-routines): Add dl-cache only under
22094 [$(use-ldconfig) = yes].
22095 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22096 cache on [USE_LDCONFIG].
22097 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22098 [USE_LDCONFIG].
22099 * elf/rtld.c (dl_main): Likewise.
22100
5bb0c10a
PT
221012012-10-03 Pino Toscano <toscano.pino@tiscali.it>
22102
22103 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22104 _SC_LEVEL4_CACHE_LINESIZE.
22105
010188c6
RM
221062012-10-03 Roland McGrath <roland@hack.frob.com>
22107
22108 * sysdeps/unix/bsd/confstr.h: File removed.
22109
b6c5ec07
AO
221102012-10-02 Alexandre Oliva <aoliva@redhat.com>
22111
22112 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22113 sys/sdt-config.h.
22114
408223d4
RM
221152012-10-02 Roland McGrath <roland@hack.frob.com>
22116
22117 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22118 Make 'mapoff' field ElfW(Off) rather than off_t.
22119
bb9510dc
DL
221202012-10-02 Dmitry V. Levin <ldv@altlinux.org>
22121
fc997c6e
DL
22122 * nscd/Makefile: Remove nscd-cflags and all its users.
22123 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22124 (CFLAGS-nonlib): Add compiler flags for nscd modules.
22125
bb9510dc
DL
22126 [BZ #10631]
22127 * malloc.c (malloc_printerr): Clarify error message.
22128
05699367
L
221292012-10-02 H.J. Lu <hongjiu.lu@intel.com>
22130
22131 [BZ #14648]
22132 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22133 Set bit_FMA_Usable if FMA is supported.
22134 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22135 macro.
22136 (bit_FMA4_Usable): Updated.
22137 (index_FMA_Usable): New macro.
22138 (CPUID_FMA): Likewise
22139 (HAS_FMA): Defined with bit_FMA_Usable.
22140
51367701
RM
221412012-10-01 Roland McGrath <roland@hack.frob.com>
22142
22143 * bits/types.h (__swblk_t): Type removed.
22144 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22145 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22146 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22147 (__SWBLK_T_TYPE): Likewise.
22148 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22149 (__SWBLK_T_TYPE): Likewise.
22150 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22151 (__SWBLK_T_TYPE): Likewise.
22152 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22153 (__SWBLK_T_TYPE): Likewise.
22154
4d57bf63 221552012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 22156 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
22157
22158 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22159 (xdr_mapname): Use YPMAXMAP as maxsize.
22160 (xdr_peername): Use YPMAXPEER as maxsize.
22161 (xdr_keydat): Use YPAXRECORD as maxsize.
22162 (xdr_valdat): Use YPMAXRECORD as maxsize.
22163
93c65d43
RM
221642012-10-01 Roland McGrath <roland@hack.frob.com>
22165
497a03d6
RM
22166 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22167
93c65d43
RM
22168 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22169 * csu/init-first.c: ... here.
22170 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22171 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22172 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22173 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22174 * sysdeps/i386/init-first.c: File removed.
22175 * sysdeps/sh/init-first.c: File removed.
22176
bec749fd
JM
221772012-10-01 Joseph Myers <joseph@codesourcery.com>
22178
22179 [BZ #14645]
22180 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22181 if x * y might underflow to zero and z is zero.
22182 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22183 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22184 * math/libm-test.inc (min_subnorm_value): New variable.
22185 (fma_test): Add more tests.
22186 (fma_test_towardzero): Likewise.
22187 (fma_test_downward): Likewise
22188 (fma_test_upward): Likewise.
22189 (initialize): Set min_subnorm_value.
22190
8ec5b013
JM
221912012-09-29 Joseph Myers <joseph@codesourcery.com>
22192
22193 [BZ #14638]
22194 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22195 0 + 0.
22196 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22197 mode for addition resulting in exact zero.
22198 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22199 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22200 exact 0 + 0.
22201 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22202 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22203 * math/libm-test.inc (fma_test): Add more tests.
22204 (fma_test_towardzero): New function.
22205 (fma_test_downward): Likewise.
22206 (fma_test_upward): Likewise.
22207 (main): Call the new functions.
22208
b1fa802e
DM
222092012-09-28 David S. Miller <davem@davemloft.net>
22210
22211 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22212
d3b9fd9e
RM
222132012-09-28 Roland McGrath <roland@hack.frob.com>
22214
ea4d37b3
RM
22215 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22216 instead of SIGALRM.
22217
ac51c949
RM
22218 * sysdeps/gnu/_G_config.h: Moved to ...
22219 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22220 * sysdeps/mach/hurd/_G_config.h: Moved to ...
22221 * sysdeps/generic/_G_config.h: ... here.
22222
28c195f7
RM
22223 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
22224
848917f9
RM
22225 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22226
6bacf05b
RM
22227 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22228 Conditionalize target on [libnss_test1.so-version].
22229
91363dbb
RM
22230 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22231
cc87f7d8
RM
22232 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22233 (elfobjdir): Move out of conditionals.
22234
b1c608fe
RM
22235 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22236 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22237 (__nss_lookup_function): Conditionalize label remove_from_tree on
22238 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 22239
1d9a6d96
DM
222402012-09-28 David S. Miller <davem@davemloft.net>
22241
22242 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22243 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22244 file.
22245 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22246 sysdep_routines.
22247 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22248 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22249 when HWCAP_SPARC_CRYPTO is present.
22250
72581615
PT
222512012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22252
22253 * io/tst-mknodat.c: Create a FIFO instead of a socket.
22254
715a900c
JL
222552012-09-28 Andreas Schwab <schwab@linux-m68k.org>
22256
22257 [BZ #6530]
22258 * stdio-common/vfprintf.c (process_string_arg): Revert
22259 2000-07-22 change.
22260
222612011-09-28 Jonathan Nieder <jrnieder@gmail.com>
22262
22263 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
22264 for testcase.
22265 * stdio-common/tst-sprintf.c: Include <locale.h>
22266 (main): Test sprintf's handling of incomplete multibyte
22267 characters.
22268
9bac1d86
L
222692012-09-28 H.J. Lu <hongjiu.lu@intel.com>
22270
22271 * elf/dl-runtime.c (VERSYMIDX): Removed.
22272 * elf/dl-version.c (VERSYMIDX): Likewise.
22273 * elf/do-rel.h (VERSYMIDX): Likewise.
22274 (VALIDX): Likewise.
22275 * elf/dynamic-link.h (VERSYMIDX): Likewise.
22276 * elf/rtld.c (VALIDX): Likewise.
22277 (ADDRIDX): Likewise.
9bac1d86
L
22278 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
22279 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
22280 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
22281 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
22282 (VALIDX): Likewise.
22283 (ADDRIDX): Likewise.
9bac1d86 22284
b31606c0
PT
222852012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22286
22287 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
22288
11541177
JL
222892012-09-28 Dmitry V. Levin <ldv@altlinux.org>
22290
22291 [BZ #11438]
22292 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
22293 to global scope.
22294 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
22295 addresses are in the same scope as 192.0.2/24.
22296 * posix/gai.conf: Document new scope table defaults.
22297
adb26fae
SP
222982012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22299
22300 [BZ #5298]
22301 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
22302 for ftell. Compute offsets from write pointers instead.
22303 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22304
4573c6b0
SP
223052012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22306
22307 [BZ #14543]
22308 * libio/Makefile (tests): New test case tst-fseek.
22309 * libio/tst-fseek.c: New test case to verify that fseek/ftell
22310 combination works in wide mode.
22311 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
22312 state when the external buffer state changes.
22313
aa9bbfe6
DM
223142012-09-27 David S. Miller <davem@davemloft.net>
22315
22316 [BZ #14376]
22317 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
22318 pass reloc->r_addend in as the 'high' argument to
22319 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
22320
784421e7
DM
22321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22322
c39bc8b8
PT
223232012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22324
22325 * rt/tst-aio2.c: Include <pthread.h>.
22326 * rt/tst-aio3.c: Likewise.
22327
1ccc2399
SE
223282012-09-27 Steve Ellcey <sellcey@mips.com>
22329
22330 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
22331
31ed4153
L
223322012-09-27 H.J. Lu <hongjiu.lu@intel.com>
22333
25f5f885
L
22334 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
22335 contents on [SHARED].
31ed4153 22336
b7bfe116
MP
223372012-09-26 Marek Polacek <polacek@redhat.com>
22338
22339 [BZ #14530]
22340 [BZ #13741]
22341 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
22342 for C++ and GCC <4.3 as well as for non GCC compilers.
22343
43c4edba
MT
223442012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22345
22346 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22347
6a1bf82f
RM
223482012-09-25 Roland McGrath <roland@hack.frob.com>
22349
22350 * Makefile.in (all, install): Declare with .PHONY.
22351 Reported by Michael Hope <michael.hope@linaro.org>.
22352
8ad11b9a
TMQMF
223532012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22354
22355 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
22356 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
22357 system header.
22358 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
22359 Likewise.
22360 (sydep_routines): Add the new and the internal functions.
22361 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
22362 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
22363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
22364 (GLIBC_2.17): Add the new function.
22365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22366 (GLIBC_2.17): Likewise.
22367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
22368 (GLIBC_2.17): Likewise.
22369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
22370 (GLIBC_2.17): Likewise.
22371 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
22372
7e2fca8d
AM
223732012-09-25 Alan Modra <amodra@gmail.com>
22374
22375 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
22376 Add release barrier before setting once_control to say
22377 initialisation is done. Add hints on lwarx. Use macro in
22378 place of isync.
22379 (clear_once_control): Add release barrier.
22380
b87c4b24
JM
223812012-09-25 Joseph Myers <joseph@codesourcery.com>
22382
d032e0d2
JM
22383 [BZ #13629]
22384 * math/s_clog.c (__clog): Handle more values close to |z| = 1
22385 specially.
22386 * math/s_clog10.c (__clog10): Likewise.
22387 * math/s_clog10f.c (__clog10f): Likewise.
22388 * math/s_clog10l.c (__clog10l): Likewise.
22389 * math/s_clogf.c (__clogf): Likewise.
22390 * math/s_clogl.c (__clogl): Likewise.
22391 * math/Makefile (libm-calls): Add x2y2m1.
22392 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
22393 (__x2y2m1): Likewise.
22394 (__x2y2m1l): Likewise.
22395 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
22396 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
22397 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
22398 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22399 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
22400 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
22401 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
22402 * sysdeps/i386/fpu/libm-test-ulps: Update.
22403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22404
b87c4b24
JM
22405 [BZ #14621]
22406 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
22407 int as type of variable DEPTH.
22408 (glob): Use size_t instead of int as type of variables NEWCOUNT
22409 and OLD_PATHC.
22410
6d3bf199
LD
224112012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22412
22bf5c17
LD
22413 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
22414 Add s_sincosf-sse2.
22415 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
22416 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
22417 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
22418 macros for using routine as __sincosf_ia32.
22419 Use macro for function declaration and weak_alias.
22420 * sysdeps/i386/fpu/libm-test-ulps: Update.
22421
22422 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
22423 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22424
22425 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
22426 subnormal argument.
22427 * math/s_cexpf.c (__cexpf): Likewise.
22428 * math/s_csinf.c (__csinf): Likewise.
22429 * math/s_csinhf.c (__csinhf): Likewise.
22430 * math/s_ctanf.c (__ctanf): Likewise.
22431 * math/s_ctanhf.c (__ctanhf): Likewise.
22432 * math/s_ccosh.c (__ccoshf): Likewise.
22433 * math/s_cexp.c (__cexpl): Likewise.
22434 * math/s_csin.c (__csin): Likewise.
22435 * math/s_csinh.c (__csinh): Likewise.
22436 * math/s_ctan.c (__ctan): Likewise.
22437 * math/s_ctanh.c (ctanh): Likewise.
22438 * math/s_ccoshl.c (__ccoshl): Likewise.
22439 * math/s_cexpl.c (__cexpl): Likewise.
22440 * math/s_csinl.c (__csinl): Likewise.
22441 * math/s_csinhl.c (__csinhl): Likewise.
22442 * math/s_ctanl.c (__ctanl): Likewise.
22443 * math/s_ctanhl.c (__ctanhl): Likewise.
22444
203e5603
JM
224452012-09-25 Joseph Myers <joseph@codesourcery.com>
22446
22447 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
22448 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
22449 (_IO_off_t): Define to __off_t, not _G_off_t.
22450 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
22451 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
22452 (_IO_wint_t): Define to wint_t, not _G_wint_t.
22453 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
22454 type of __dummy and __dummy2 fields.
22455 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
22456 (_G_ssize_t): Likewise.
22457 (_G_off_t): Likewise.
22458 (_G_pid_t): Likewise.
22459 (_G_uid_t): Likewise.
22460 (_G_wchar_t): Likewise.
22461 (_G_wint_t): Likewise.
22462 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
22463 (_G_ssize_t): Likewise.
22464 (_G_off_t): Likewise.
22465 (_G_pid_t): Likewise.
22466 (_G_uid_t): Likewise.
22467 (_G_wchar_t): Likewise.
22468 (_G_wint_t): Likewise.
22469 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
22470 (_G_ssize_t): Likewise.
22471 (_G_off_t): Likewise.
22472 (_G_pid_t): Likewise.
22473 (_G_uid_t): Likewise.
22474 (_G_wchar_t): Likewise.
22475 (_G_wint_t): Likewise.
22476
9fab36eb
SP
224772012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22478
22479 * malloc/arena.c: Include malloc-sysdep.h.
22480 (shrink_heap): Use check_may_shrink_heap to decide if madvise
22481 is sufficient to shrink the heap or an unmap is needed.
22482 * sysdeps/generic/malloc-sysdep.h: New file. Define
22483 new function check_may_shrink_heap.
22484 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
22485 new function check_may_shrink_heap.
22486
2b4f00d1
SP
224872012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22488
22489 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
22490 comments.
22491
9a9028b1
DL
224922012-09-24 Dmitry V. Levin <ldv@altlinux.org>
22493
57c69bef
DL
22494 * catgets/test-gencat.sh: Add "set -e".
22495 * elf/tst-pathopt.sh: Likewise.
22496 * grp/tst_fgetgrent.sh: Likewise.
22497 * iconvdata/run-iconv-test.sh: Likewise.
22498 * intl/tst-gettext.sh: Likewise.
22499 * intl/tst-gettext2.sh: Likewise.
22500 * intl/tst-gettext4.sh: Likewise.
22501 * intl/tst-gettext6.sh: Likewise.
22502 * intl/tst-translit.sh: Likewise.
22503 * io/ftwtest-sh: Likewise.
22504 * libio/test-freopen.sh: Likewise.
22505 * malloc/tst-mtrace.sh: Likewise.
22506 * posix/globtest.sh: Likewise.
22507 * posix/tst-getconf.sh: Likewise.
22508 * posix/wordexp-tst.sh: Likewise.
22509 * stdio-common/tst-printf.sh: Likewise.
22510 * stdio-common/tst-unbputc.sh: Likewise.
22511 * stdlib/tst-fmtmsg.sh: Likewise.
22512 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22513 * catgets/Makefile: Do not specify -e option when running
22514 testsuite shell scripts.
22515 * elf/Makefile: Likewise.
22516 * grp/Makefile: Likewise.
22517 * iconvdata/Makefile: Likewise.
22518 * intl/Makefile: Likewise.
22519 * io/Makefile: Likewise.
22520 * libio/Makefile: Likewise.
22521 * malloc/Makefile: Likewise.
22522 * posix/Makefile: Likewise.
22523 * stdio-common/Makefile: Likewise.
22524 * stdlib/Makefile: Likewise.
22525 * sysdeps/x86_64/Makefile: Likewise.
22526
9a9028b1
DL
22527 * io/ftwtest-sh: Add copyright header.
22528 * posix/globtest.sh: Likewise.
22529 * posix/tst-getconf.sh: Likewise.
22530 * posix/wordexp-tst.sh: Likewise.
22531 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22532
ced6f16e
L
225332012-09-24 H.J. Lu <hongjiu.lu@intel.com>
22534
94b32c39
L
22535 [BZ #13679]
22536 * Makeconfig (+link): Defined as $(+link-static) if
22537 $(build-shared) isn't yes.
22538 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
22539 isn't yes.
22540 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
22541
189e935b
L
22542 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
22543
ced6f16e
L
22544 [BZ #14562]
22545 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
22546 new chunk size with MALLOC_ALIGN_MASK.
22547
a9f8e53a
JM
225482012-09-24 Joseph Myers <joseph@codesourcery.com>
22549
22550 [BZ #5044]
22551 * stdio-common/printf_fphex.c: Include <stdbool.h> and
22552 <rounding-mode.h>.
22553 (__printf_fphex): Determine rounding using get_rounding_mode and
22554 round_away.
22555 * stdio-common/tst-printf-round.c (struct hex_test): New
22556 structure.
22557 (hex_tests): New variable.
22558 (test_hex_in_one_mode): New function.
22559 (do_test): Also run tests for hex float output.
22560
43153109
JM
225612012-09-21 Joseph Myers <joseph@codesourcery.com>
22562
22563 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22564 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22565 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
22566 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22567 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22568 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
22569 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22570 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22571
8a26625d
JM
225722012-09-20 Joseph Myers <joseph@codesourcery.com>
22573
22574 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
22575 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
22576 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
22577 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
22578
f3fd569c
DL
225792012-09-19 Dmitry V. Levin <ldv@altlinux.org>
22580
22581 [BZ #14579]
22582 * elf/rtld.c (dl_main): Limit the check for self loading to normal
22583 mode only.
22584 * elf/tst-rtld-load-self.sh: New test.
22585 * elf/Makefile: Run it.
22586
63bbedd4
JM
225872012-09-18 Joseph Myers <joseph@codesourcery.com>
22588
22589 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
22590 (tst-writev-ENV): Remove.
22591 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
22592
626f8b6a
CM
225932012-09-17 Chris Metcalf <cmetcalf@tilera.com>
22594
22595 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
22596
b7aaa4d6
JM
225972012-09-17 Joseph Myers <joseph@codesourcery.com>
22598
22599 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
22600 unconditional.
22601 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
22602 Likewise.
22603 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
22604 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
22605 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
22606 Likewise.
22607
65513990
L
226082012-09-14 H.J. Lu <hongjiu.lu@intel.com>
22609
22610 [BZ #14587]
22611 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
22612 * config.make.in (have-cpp-asm-debuginfo): Removed.
22613 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
22614 * configure: Regenerated.
22615
784761be
JM
226162012-09-14 Joseph Myers <joseph@codesourcery.com>
22617
22618 [BZ #5044]
22619 * stdio-common/printf_fp.c: Include <stdbool.h> and
22620 <rounding-mode.h>.
22621 (___printf_fp): Determine rounding using get_rounding_mode and
22622 round_away.
22623 * stdio-common/tst-printf-round.c: New file.
22624 * stdio-common/Makefile (tests): Add tst-printf-round.
22625 (link-libm): New variable.
22626 ($(objpfx)tst-printf-round): Depend in $(link-libm).
22627
9503345f
L
226282012-09-13 H.J. Lu <hongjiu.lu@intel.com>
22629
22630 [BZ #14576]
22631 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
22632 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
22633 Likewise.
22634 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
22635 Likewise.
22636
ad35fc00
JM
226372012-09-13 Joseph Myers <joseph@codesourcery.com>
22638
22639 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
22640 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22641 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22642 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22643
6c9b0f68
JM
226442012-09-12 Joseph Myers <joseph@codesourcery.com>
22645
22646 [BZ #14518]
22647 * include/rounding-mode.h: New file.
22648 * sysdeps/generic/get-rounding-mode.h: Likewise.
22649 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
22650 * stdlib/strtod_l.c: Include <rounding-mode.h>.
22651 (MAX_VALUE): New macro.
22652 (MIN_VALUE): Likewise.
22653 (overflow_value): New function.
22654 (underflow_value): Likewise.
22655 (round_and_return): Use overflow_value and underflow_value to
22656 determine return values in overflow and underflow cases. Use
22657 round_away to determine rounding depending on rounding mode.
22658 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
22659 determine return values in overflow and underflow cases.
22660 * stdlib/tst-strtod-round.c: Include <fenv.h>.
22661 (struct test_results): New structure.
22662 (struct test): Use struct test_results to store expected results
22663 for all rounding modes.
22664 (TEST): Include expected results for all rounding modes.
22665 (test_in_one_mode): New function.
22666 (do_test): Use test_in_one_mode to compute and check results.
22667 Check results for all rounding modes.
22668 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
22669 $(link-libm).
22670
19fcedd5
AM
226712012-12-09 Allan McRae <allan@archlinux.org>
22672
1e9d84cd 22673 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 22674
8bbfd2f1
JM
226752012-09-11 Joseph Myers <joseph@codesourcery.com>
22676
22677 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
22678 (_G_int32_t): Likewise.
22679 (_G_uint16_t): Likewise.
22680 (_G_uint32_t): Likewise.
22681 (_G_HAVE_BOOL): Likewise.
22682 (_G_HAVE_ATEXIT): Likewise.
22683 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22684 (_G_HAVE_IO_FILE_OPEN): Likewise.
22685 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
22686 (_G_int32_t): Likewise.
22687 (_G_uint16_t): Likewise.
22688 (_G_uint32_t): Likewise.
22689 (_G_HAVE_BOOL): Likewise.
22690 (_G_HAVE_ATEXIT): Likewise.
22691 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22692 (_G_HAVE_IO_FILE_OPEN): Likewise.
22693 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
22694 (_G_int32_t): Likewise.
22695 (_G_uint16_t): Likewise.
22696 (_G_uint32_t): Likewise.
22697 (_G_HAVE_BOOL): Likewise.
22698 (_G_HAVE_ATEXIT): Likewise.
22699 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22700 (_G_HAVE_IO_FILE_OPEN): Likewise.
22701
b1dc5912
L
227022012-09-11 H.J. Lu <hongjiu.lu@intel.com>
22703
22704 * csu/libc-tls.c: Update copyright years.
22705
0e886ef9
JM
227062012-09-10 Joseph Myers <joseph@codesourcery.com>
22707
28361c5e
JM
22708 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
22709 [!_G_USING_THUNKS]: Remove conditional code.
22710 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
22711 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
22712
0e886ef9
JM
22713 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
22714 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
22715 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22716 (_G_VTABLE_LABEL_PREFIX): Likewise.
22717 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22718 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22719 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22720 (_G_VTABLE_LABEL_PREFIX): Likewise.
22721 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22722 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22723 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22724 (_G_VTABLE_LABEL_PREFIX): Likewise.
22725 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22726
bcba7aa2
L
227272012-09-10 H.J. Lu <hongjiu.lu@intel.com>
22728
22729 * libio/Makefile: Include ../Makeconfig before tests.
22730 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
22731 only if $(build-shared) is yes.
22732
06585ee8
L
22733 * iconv/gconv_db.c: Update copyright years.
22734
80ccd52c
LD
227352012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22736
22737 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
22738 unwind info if defined PIC. Fix special cases description.
22739 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
22740
22741 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
22742 DP_HI_MASK entry.
22743 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
22744
691bc9c1
L
227452012-09-07 H.J. Lu <hongjiu.lu@intel.com>
22746
3d9b46b3
L
22747 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
22748
de2139a9
L
22749 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
22750 is NULL.
22751
5ca78dd0
L
22752 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
22753 (LDLIBS-tst-chk4): This.
22754 (LDFLAGS-tst-chk5): Renamed to ...
22755 (LDLIBS-tst-chk5): This.
22756 (LDFLAGS-tst-chk6): Renamed to ...
22757 (LDLIBS-tst-chk6): This.
22758 (LDFLAGS-tst-lfschk4): Renamed to ...
22759 (LDLIBS-tst-lfschk4): This.
22760 (LDFLAGS-tst-lfschk5): Renamed to ...
22761 (LDLIBS-tst-lfschk5): This.
22762 (LDFLAGS-tst-lfschk6): Renamed to ...
22763 (LDLIBS-tst-lfschk6): This.
22764
691bc9c1
L
22765 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
22766 on $(common-objpfx)soversions.mk.
22767
65cafb1c
JM
227682012-09-07 Joseph Myers <joseph@codesourcery.com>
22769
22770 [BZ #10014]
22771 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
22772 example host name.
22773
c78ab094
SP
227742012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22775
22776 * malloc/arena.c (arena_get_retry): New function that gets
22777 another arena for the caller to try its request on.
22778 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
22779 current arena cannot fulfill the request.
22780 (__libc_memalign): Likewise.
22781 (__libc_memalign): Likewise.
22782 (__libc_pvalloc): Likewise.
22783 (__libc_calloc): Likewise.
22784
01f49f59
JT
227852012-09-05 John Tobey <john.tobey@gmail.com>
22786
22787 [BZ #13542]
22788 * manual/arith.texi (Operations on Complex): Fix description
22789 of carg branch cut.
22790
4c23fed5
JM
227912012-09-06 Joseph Myers <joseph@codesourcery.com>
22792
1d3c8572
JM
22793 [BZ #10014]
22794 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
22795 host name.
22796
4c23fed5
JM
22797 [BZ #10038]
22798 * manual/memory.texi (Memory): Make order of menu items match
22799 order of sections.
22800
04570aaa
L
228012012-09-06 H.J. Lu <hongjiu.lu@intel.com>
22802
22803 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
22804 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
22805 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
22806
b80af2f4
L
228072012-09-06 H.J. Lu <hongjiu.lu@intel.com>
22808
22809 * csu/libc-tls.c (static_dtv): Renamed to ...
22810 (_dl_static_dtv): This. Make it global.
22811 (_dl_initial_dtv): Removed.
22812 (__libc_setup_tls): Updated.
22813 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
22814 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
22815 DL_INITIAL_DTV.
22816
2abe9f15
PM
228172012-09-06 Petr Machata <pmachata@redhat.com>
22818
22819 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
22820 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
22821 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
22822 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
22823
0948c3af
L
228242012-09-06 H.J. Lu <hongjiu.lu@intel.com>
22825
22826 [BZ #14545]
22827 * csu/libc-tls.c (_dl_initial_dtv): New variable.
22828 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
22829 freeing dtv[-1].
22830
a5055ad1
L
228312012-09-06 H.J. Lu <hongjiu.lu@intel.com>
22832
22833 [BZ #14544]
22834 * Makeconfig (link-static-before-libc): Replace $(+prector)
22835 with $(+prectorT).
22836 (link-static-after-libc): Replace $(+postctor) with
22837 $(+postctorT).
22838 (link-bounded): Replace $(+prector)/$(+postctor) with
22839 $(+prectorT)/$(+postctorT).
22840 (+prectorT): New macro.
22841 (+postctorT): Likewise.
22842
ed8c2ecd
JM
228432012-09-06 Joseph Myers <joseph@codesourcery.com>
22844
22845 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
22846 (round_str): Handle values above the maximum for IBM long double
22847 as inexact.
22848 * stdlib/tst-strtod-round.c (tests): Regenerated.
22849
14c996c8
AK
228502012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22851
22852 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
22853 assembler flag.
22854 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
22855 zarch_nohighgprs around the zarch optimized routines.
22856 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
22857 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
22858 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
22859 for zarch.
22860
430d6ce6
DM
228612012-09-05 David S. Miller <davem@davemloft.net>
22862
22863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22864
ff04dda4
DM
22865 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
22866 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
22867 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
22868 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22869 entries.
22870
24d4e01b
AO
228712012-09-05 Alexandre Oliva <aoliva@redhat.com>
22872
22873 * malloc/arena.c: Fold copyright years.
22874 * malloc/mcheck.c, malloc/memusage.c: Likewise.
22875
61d58174
AO
228762012-09-05 Alexandre Oliva <aoliva@redhat.com>
22877
22878 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
22879
20196a5e
AO
228802012-09-05 Alexandre Oliva <aoliva@redhat.com>
22881
22882 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
22883
5c447383
AO
228842012-09-05 Alexandre Oliva <aoliva@redhat.com>
22885
22886 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
22887 change internal state upon failure.
22888
fad64255
AO
228892012-09-05 Alexandre Oliva <aoliva@redhat.com>
22890
22891 * malloc/mcheck.c (mcheck_check_all): Fix typo.
22892 * malloc/memusage.c (mmap): Likewise.
22893 (mmap64, mremap): Likewise. Adjust name in comment.
22894
1ffb8c90
SP
228952012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22896
22897 * libio/fileops.c: Fix typos in comments.
22898 * libio/oldfileops.c: Likewise.
22899 * libio/wfileops.c: Likewise.
22900
6ef9cc37
SP
229012012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22902
22903 [BZ #1349]
22904 * malloc/Makefile (tests): Add tst-malloc-usable test case.
22905 (tst-malloc-usable-ENV): Set environment for test case.
22906 * malloc/hooks.c (malloc_check_get_size): New function to get
22907 requested size.
22908 * malloc/malloc.c (musable): Use malloc_check_get_size.
22909 * malloc/tst-malloc-usable.c: New test case.
22910
4d038ae3
AS
229112012-09-05 Andreas Schwab <schwab@linux-m68k.org>
22912
22913 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
22914
c4e85184
AM
229152012-09-05 Allan McRae <allan@archlinux.org>
22916
b9dafc56 22917 [BZ #13966]
c4e85184
AM
22918 * configure.in (CXX_SYSINCLUDES): Use compiler output to
22919 determine header location.
22920 * configure: Regenerated.
22921
e1343020
AS
229222012-09-05 Andreas Schwab <schwab@linux-m68k.org>
22923
22924 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
22925 float format.
22926 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
22927 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
22928 format.
e1343020
AS
22929 (test): Regenerate.
22930
0a9f1987
DM
229312012-09-04 David S. Miller <davem@davemloft.net>
22932
22933 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
22934 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
22935 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
22936
29237804
FW
229372012-09-04 Florian Weimer <fweimer@redhat.com>
22938
22939 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
22940 failures.
22941
edb3cb88
FW
22942 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
22943
60160d83
JM
229442012-09-04 Joseph Myers <joseph@codesourcery.com>
22945
22946 [BZ #9914]
22947 * libio/iogetdelim.c: Include <limits.h>.
22948 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
22949 + len + 1 would overflow.
22950
bcd6c8dc
AJ
229512012-09-03 Andreas Jaeger <aj@suse.de>
22952
22953 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22954 * sysdeps/i386/fpu/libm-test-ulps: Update.
22955
4ffffbd2
LD
229562012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22957
22958 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
22959 Add s_sinf-sse2, s_conf-sse2.
22960
22961 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
22962 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
22963 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
22964 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
22965
22966 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
22967 for using routine as __sinf_ia32.
22968 Use macro for function declaration and weak_alias.
22969 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
22970 for using routine as __cosf_ia32.
22971 Use macro for function declaration and weak_alias.
22972
22973 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
22974 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
22975
22976 * sysdeps/x86_64/fpu/s_sinf.S: New file.
22977 * sysdeps/x86_64/fpu/s_cosf.S: New file.
22978 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22979
22980 * math/libm-test.inc (cos_test): Add more test cases.
22981 (sin_test): Likewise.
22982 (sincos_test): Likewise.
22983
511fa286
AK
229842012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22985
22986 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
22987 (IFUNC_RESOLVE): Make pointers to the specialized implementations
22988 hidden.
22989 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22990
5f30cfec
L
229912012-09-02 H.J. Lu <hongjiu.lu@intel.com>
22992
22993 [BZ #14538]
22994 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
22995 first element of the GOT.
22996 (elf_machine_load_address): Return the difference between
22997 the runtime address of _DYNAMIC and elf_machine_dynamic ().
22998
0786794f
AM
229992012-09-01 Allan McRae <allan@archlinux.org>
23000
5f30cfec
L
23001 [BZ #13412]
23002 * configure.in (AWK): Require gawk version 3.0 or later.
23003 * configure: Regenerated.
0786794f 23004
26889eac
JM
230052012-09-01 Joseph Myers <joseph@codesourcery.com>
23006
23007 * sysdeps/unix/sysv/linux/kernel-features.h
23008 (__ASSUME_POSIX_CPU_TIMERS): Remove.
23009 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23010 [__NR_clock_getres]: Make code unconditional.
23011 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23012 (clock_getcpuclockid): Remove code left unreachable by removal of
23013 conditionals.
23014 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23015 code unconditional.
23016 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23017 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23018 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23019 Make code unconditional.
23020 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23021 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23022 * sysdeps/unix/sysv/linux/clock_settime.c
23023 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23024 conditional code.
23025 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23026 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23027
d22e28b0
L
230282012-08-29 H.J. Lu <hongjiu.lu@intel.com>
23029
23030 [BZ #14476]
23031 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23032 scripts/test-installation.pl.
23033
23034 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23035 and $ld_so_version if it is set.
23036
050af9c4
SP
230372012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23038
23039 [BZ #14516]
23040 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23041 failure if reading from procfs failed.
23042 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23043
ad845c0b
JM
230442012-08-27 Joseph Myers <joseph@codesourcery.com>
23045
23046 * sysdeps/unix/sysv/linux/kernel-features.h
23047 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23048 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23049 Remove conditional code.
23050 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23051 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23052 Remove conditional code.
23053 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23054 * sysdeps/unix/sysv/linux/i386/fxstat.c
23055 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23056 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23057 * sysdeps/unix/sysv/linux/i386/fxstatat.c
23058 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23059 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23060 * sysdeps/unix/sysv/linux/i386/lxstat.c
23061 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23062 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23063 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23064 Remove conditional code.
23065 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23066 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23067 Remove conditional code.
23068 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23069 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23070 <kernel-features.h>.
23071 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23072 Remove.
23073 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23074 Remove conditional code.
23075 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23076 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23077 Remove conditional.
23078
5dbf56af
MF
230792012-08-27 Mike Frysinger <vapier@gentoo.org>
23080
23081 [BZ #5400]
23082 * NEWS: Add fixed bug number.
23083
d6e70f43
JM
230842012-08-27 Joseph Myers <joseph@codesourcery.com>
23085
7efb4737
JM
23086 [BZ #14519]
23087 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23088 underflowing exponent in case of negative sign.
23089 * stdlib/tst-strtod-round-data: Add more tests.
23090 * stdlib/tst-strtod-round.c (tests): Regenerated.
23091
af92131a
JM
23092 [BZ #3479]
23093 * stdlib/strtod_l.c (NDIG): Remove.
23094 (HEXNDIG): Likewise.
23095 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23096 smallest representable value.
23097 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23098 lie within an exact representation of 1/2 ulp of the result.
23099 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23100 unconditionally.
23101 (TENS_P9_IDX): Define unconditionally.
23102 (TENS_P9_SIZE): Likewise.
23103 (TENS_P10_IDX): Likewise.
23104 (TENS_P10_SIZE): Likewise.
23105 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23106 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23107 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23108 entries for 10^2^13 and 10^2^14.
23109 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23110 (TENS_P13_IDX): Define.
23111 (TENS_P13_SIZE): Likewise.
23112 (TENS_P14_IDX): Likewise.
23113 (TENS_P14_SIZE): Likewise.
23114 (_fpioconst_pow10): Change array size to
23115 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
23116 unconditional.
23117 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23118 1024]: Add entries for 10^2^13 and 10^2^14.
23119 [LAST_POW10 > _LAST_POW10]: Remove #error.
23120 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23121 (_fpioconst_pow10): Change array size to
23122 FPIOCONST_POW10_ARRAY_SIZE.
23123 * stdlib/gen-fpioconst.c: New file.
23124 * stdlib/gen-tst-strtod-round.c: Likewise.
23125 * stdlib/tst-strtod-round-data: Likewise.
23126 * stdlib/tst-strtod-round.c: Likewise.
23127 * stdlib/Makefile (tests): Add tst-strtod-round.
23128
d6e70f43
JM
23129 [BZ #14459]
23130 * stdlib/strtod_l.c: Include <stdint.h>.
23131 (NDEBUG): Do not define.
23132 (round_and_return): Change EXPONENT parameter to type intmax_t.
23133 Rearrange calculations to avoid internal overflow possibilities.
23134 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23135 Rearrange calculations to avoid internal overflow possibilities.
23136 Assert that number fits inside MPNSIZE limbs.
23137 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23138 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
23139 calculations and add assertions to avoid internal overflow
23140 possibilities. Add casts to avoid signed/unsigned operations.
23141 * stdlib/tst-strtod-overflow.c: New file.
23142 * stdlib/Makefile (tests): Add tst-strtod-overflow.
23143
1f529f7d
MP
231442012-08-25 Marek Polacek <polacek@redhat.com>
23145
23146 * time/time.h: Fix some typos in comments.
23147
59a629f1
RM
231482012-08-23 Roland McGrath <roland@hack.frob.com>
23149
23150 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23151 * posix/tst-rfc3484-2.c: Likewise.
23152 * posix/tst-rfc3484-3.c: Likewise.
23153
d3bafbc9
SM
231542012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
23155
23156 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23157 (EF_ARM_ABI_FLOAT_HARD): Likewise.
23158
4efcc022
JM
231592012-08-23 Joseph Myers <joseph@codesourcery.com>
23160
23161 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23162 #include of fxstatat64.c.
23163
3cc3ef96
RM
231642012-08-22 Roland McGrath <roland@hack.frob.com>
23165
f04e2132
RM
23166 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23167 * shadow/getspent_r.c: Likewise.
23168 * shadow/getspnam.c: Likewise.
23169 * shadow/getspnam_r.c: Likewise.
23170 * gshadow/getsgent.c: Likewise.
23171 * gshadow/getsgent_r.c: Likewise.
23172 * gshadow/getsgnam.c: Likewise.
23173 * gshadow/getsgnam_r.c: Likewise.
23174 * inet/getnetbyad.c: Likewise.
23175 * inet/getnetbyad_r.c: Likewise.
23176 * inet/getnetbynm.c: Likewise.
23177 * inet/getnetbynm_r.c: Likewise.
23178 * inet/getnetent.c: Likewise.
23179 * inet/getnetent_r.c: Likewise.
23180 * inet/getproto.c: Likewise.
23181 * inet/getproto_r.c: Likewise.
23182 * inet/getprtent.c: Likewise.
23183 * inet/getprtent_r.c: Likewise.
23184 * inet/getprtname.c: Likewise.
23185 * inet/getprtname_r.c: Likewise.
23186 * inet/getrpcbyname.c: Likewise.
23187 * inet/getrpcbyname_r.c: Likewise.
23188 * inet/getrpcbynumber.c: Likewise.
23189 * inet/getrpcbynumber_r.c: Likewise.
23190 * inet/getrpcent.c: Likewise.
23191 * inet/getrpcent_r.c: Likewise.
23192 * inet/getaliasent.c: Likewise.
23193 * inet/getaliasent_r.c: Likewise.
23194 * inet/getaliasname.c: Likewise.
23195 * inet/getaliasname_r.c: Likewise.
23196 * nscd/getgrgid_r.c: Likewise.
23197 * nscd/getgrnam_r.c: Likewise.
23198 * nscd/gethstbyad_r.c: Likewise.
23199 * nscd/gethstbynm3_r.c: Likewise.
23200 * nscd/getpwnam_r.c: Likewise.
23201 * nscd/getpwuid_r.c: Likewise.
23202 * nscd/getsrvbynm_r.c: Likewise.
23203 * nscd/getsrvbypt_r.c: Likewise.
23204 * nscd/gai.c: Likewise.
23205
c53d909c
RM
23206 * configure.in (build_nscd): New substituted variable, set
23207 by --disable-build-nscd and defaults to $use_nscd.
23208 * configure: Regenerated.
23209 * config.make.in (build-nscd): New substituted variable.
23210 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23211 Change conditional to require [$(build-nscd) = yes] as well.
23212 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23213
3cc3ef96
RM
23214 [BZ# 13696]
23215 * configure.in (use_nscd): New substituted variable, set by
23216 --disable-nscd. If enabled, define USE_NSCD.
23217 * configure: Regenerated.
23218 * config.h.in: Add USE_NSCD.
23219 * config.make.in (use-nscd): New substituted variable.
23220 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23221 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23222 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23223 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23224 (CFLAGS-getgrnam_r.c): Likewise.
23225 (CFLAGS-initgroups.c): Likewise.
23226 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23227 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23228 Variables removed.
23229 * inet/getnetgrent_r.c
23230 (nscd_setnetgrent): New function, broken out of ...
23231 (setnetgrent): ... here. Call it.
23232 (innetgr): Conditionalize nscd bits on [USE_NSCD].
23233 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23234 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23235 * nscd/Makefile (routines, aux): Move definitions after include of
23236 Makeconfig. Conditionalize on [$(use-nscd) != no].
23237 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23238 Conditionalize on [USE_NSCD].
23239 (is_nscd, nscd_init_cb): Likewise.
23240 (nss_load_library): Conditionalize init callback on [USE_NSCD].
23241 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23242 * nss/nss_db/db-init.c: Likewise.
23243 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23244 [USE_NSCD].
23245 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23246 (make_request): Use it.
23247 (cache_valid_p): New function.
23248 (__check_pf): Use it.
23249 * NEWS: Add item for --disable-nscd.
23250
07e51550
DL
232512012-08-22 Dmitry V. Levin <ldv@altlinux.org>
23252
23253 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23254 to support sed >= 4.2.1-20-ga9bf076.
23255 * configure: Regenerated.
23256
35a5b08b
RM
232572012-08-22 Roland McGrath <roland@hack.frob.com>
23258
23259 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23260 Conditionalize whole body on [IREL].
23261
8479f23a
JL
232622012-08-22 Jeff Law <law@redhat.com>
23263
23264 [BZ #14505]
23265 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
23266 if the family is PF_UNSPEC.
23267
48da0b21
MF
232682012-08-22 Mike Frysinger <vapier@gentoo.org>
23269
23270 * Makerules (lib-version): Rename from V.
23271 (install-lib-nosubdir): Change V to lib-version.
23272
15d0da8c
WS
232732012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
23274
23275 [BZ #14252]
23276 * powerpc32/power6/wcschr.c: New file.
23277 * powerpc32/power6/wcscpy.c: New file.
23278 * powerpc32/power6/wcsrchr.c: New file.
23279 * powerpc64/power6/wcschr.c: New file.
23280 * powerpc64/power6/wcscpy.c: New file.
23281 * powerpc64/power6/wcsrchr.c: New file.
23282
bcca0895
MK
232832012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23284
23285 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
23286 (two_way_short_needle): Use it.
5a4aaa33
RM
23287 * string/strstr.c (AVAILABLE1_USES_J): Define.
23288 * string/strcasestr.c: Likewise.
99677e57
MK
23289
23290 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
23291 array references.
23292 * string/strcasestr.c (TOLOWER): Make side-effect safe.
23293
400726de
MK
23294 [BZ #11607]
23295 * NEWS: Add an entry.
23296 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
23297 define their defaults.
23298 (two_way_short_needle): Detect end-of-string on-the-fly.
23299 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
23300 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
23301 * string/bug-strcasestr1.c: New test.
23302 * string/Makefile: Run it.
23303
20a71f2c
MK
233042012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23305
23306 [BZ #11607]
23307 * string/str-two-way.h (two_way_short_needle): Optimize matching of
23308 the first character.
23309
21ad0558
RM
233102012-08-21 Roland McGrath <roland@hack.frob.com>
23311
23312 * csu/elf-init.c (__libc_csu_irel): Function removed.
23313 * csu/libc-start.c (apply_irel): New function.
23314 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
23315
0e1d9911
JM
233162012-08-21 Joseph Myers <joseph@codesourcery.com>
23317
23318 * sysdeps/unix/sysv/linux/kernel-features.h
23319 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
23320 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23321 <kernel-features.h>.
23322 [__NR_fadvise64_64]: Make code unconditional.
23323 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
23324 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23325 !__NR_fadvise64_64)]: Likewise.
23326 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23327 !__NR_fadvise64_64))]: Likewise.
23328 [__NR_fadvise64]: Make code unconditional.
23329 [!__NR_fadvise64]: Remove conditional code.
23330 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
23331 <kernel-features.h>.
23332 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23333 unconditional.
23334 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23335 conditional code.
23336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
23337 not include <kernel-features.h>.
23338 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23339 unconditional.
23340 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23341 conditional code.
23342 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
23343 include <kernel-features.h>.
23344 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23345 unconditional.
23346 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23347 conditional code.
23348
14a50c9d
WS
233492012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
23350
23351 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
23352 slight instruction rearrangements per scrollpipe analysis.
23353 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23354
c0f4faf0
RM
233552012-08-20 Roland McGrath <roland@hack.frob.com>
23356
696da859
RM
23357 * manual/syslog.texi (syslog; vsyslog, closelog):
23358 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
23359 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
23360
c0f4faf0
RM
23361 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
23362 DSOCAPS to match condition on defining it.
23363
348363b2
JM
233642012-08-20 Joseph Myers <joseph@codesourcery.com>
23365
a35cbf28
JM
23366 * sysdeps/unix/sysv/linux/kernel-features.h
23367 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
23368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
23369 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23370 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
23372 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23373 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
23375 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23376 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23377
445f7ecd
JM
23378 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
23379 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
23380
348363b2
JM
23381 * sysdeps/unix/sysv/linux/kernel-features.h
23382 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
23383 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
23384 unconditional.
23385 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23386 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
23387 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23388 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23389 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
23390 Make code unconditional.
23391 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23392 (__mmap64) [!__NR_mmap2]: Likewise.
23393 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
23394 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23395 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23396 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
23397 [__NR_mmap2]: Make code unconditional.
23398 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23399 (__mmap64) [!__NR_mmap2]: Likewise.
23400
bc5bc0e5
AK
234012012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23402
23403 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
23404
88d506de
AJ
234052012-08-18 Andreas Jaeger <aj@suse.de>
23406
23407 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
23408
493387d2
MF
234092012-08-18 Mike Frysinger <vapier@gentoo.org>
23410
23411 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
23412 * include/unistd.h (__have_sock_cloexec): Likewise.
23413 (__have_pipe2): Likewise.
23414 (__have_dup3): Likewise.
23415
a277af22
MF
234162012-08-18 Mike Frysinger <vapier@gentoo.org>
23417
23418 [BZ #9685]
23419 * include/unistd.h (__have_pipe2): Change define into an extern int.
23420 (__have_dup3): Likewise.
23421 * socket/have_sock_cloexec.c: Include fcntl.h.
23422 (__have_pipe2): New variable.
23423 (__have_dup3): Likewise.
23424
fdab8fd3
MF
234252012-08-17 Mike Frysinger <vapier@gentoo.org>
23426
23427 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
23428
31035e80
MP
234292012-08-17 Marek Polacek <polacek@redhat.com>
23430
23431 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
23432 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
23433
3bd9e993
RM
234342012-08-17 Roland McGrath <roland@hack.frob.com>
23435
c91c505f
RM
23436 * configure.in: Add AC_SUBST for sysheaders.
23437 * configure: Regenerated.
23438 * config.make.in (sysheaders): New substituted variable.
23439
7c6f9d53
RM
23440 * sysdeps/unix/mkfifo.c: Moved ...
23441 * sysdeps/posix/mkfifo.c: ... here.
23442 * sysdeps/unix/mkfifoat.c: Moved ...
23443 * sysdeps/posix/mkfifoat.c: ... here.
23444
23445 * sysdeps/unix/utime.c: Moved ...
23446 * sysdeps/posix/utime.c: ... here.
23447
23448 * sysdeps/unix/time.c: Moved ...
23449 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
23450 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
23451 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
23452
23453 * sysdeps/unix/nice.c: Moved ...
23454 * sysdeps/posix/nice.c: ... here.
23455
23456 * sysdeps/unix/alarm.c: Moved ...
23457 * sysdeps/posix/alarm.c: ... here.
23458
3bd9e993
RM
23459 * intl/Makefile ($(codeset_mo)): Depend on the input file.
23460
d1f09384
JL
234612012-08-17 Jeff Law <law@redhat.com>
23462
23463 * intl/Makefile (codeset_mo): New variable.
23464 ($(codeset_mo)): New target.
23465 (tst-codeset.out): Depend on that. Remove explicit rule.
23466 (tst-gettext3.out, tst-gettext5.out): Likewise.
23467 (LOCPATH-ENV, tst-codeset-ENV): New variables.
23468 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
23469 * intl/tst-codeset.sh: Remove.
23470 * intl/tst-gettext3.sh: Likewise.
23471 * intl/tst-gettext5.sh: Likewise.
23472
2ae1ae5c
RM
234732012-08-17 Roland McGrath <roland@hack.frob.com>
23474
c31fdb83
RM
23475 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
23476 * sysdeps/unix/syscalls.list: ... here.
23477
a0844057
RM
23478 * sysdeps/posix/getaddrinfo.c
23479 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
23480 (gaiconf_init, gaiconf_reload): Use them.
23481 [!_STATBUF_ST_NSEC]
23482 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
23483 Define using time_t rather than struct timespec.
23484
750c1f2a
RM
23485 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
23486 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
23487 Macros removed.
23488 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
23489 [!NO_THREADS].
23490 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
23491 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
23492 Likewise.
23493
2ae1ae5c
RM
23494 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
23495 __libc_cleanup_push argument.
23496
e66a42f5
RM
23497 * bits/param.h: New file.
23498 * misc/sys/param.h: New file.
23499 * include/sys/param.h: New file.
23500 * misc/Makefile (headers): Add bits/param.h.
23501 * sysdeps/generic/sys/param.h: File removed.
23502 * sysdeps/unix/sysv/linux/bits/param.h: New file.
23503 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
23504 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 23505 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 23506
b7c08a66
RM
23507 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
23508 last change.
23509
b2e1c562
RM
23510 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
23511 [_IO_MTSAFE_IO].
23512 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
23513 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
23514 New macros.
23515
c75ccd4c
RM
23516 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
23517 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
23518 rather than -D_IO_MTSAFE_IO conditionally.
23519 * stdio-common/Makefile (CPPFLAGS): Likewise.
23520 * wcsmbs/Makefile (CPPFLAGS): Likewise.
23521 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
23522 Use $(libio-mtsafe).
23523 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
23524 of -D_IO_MTSAFE_IO.
23525 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
23526 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
23527 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
23528 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
23529 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
23530 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
23531 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
23532 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
23533 (CFLAGS-fread_u_chk.c): Likewise.
23534 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
23535 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
23536 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
23537 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
23538 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
23539 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
23540 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
23541 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
23542 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
23543
23544 * libio/Makefile: Test [$(libc-reentrant) = yes]
23545 instead of [$(filter %REENTRANT, $(defines)) nonempty].
23546
23547 * Makeconfig
23548 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
23549 * sysdeps/pthread/configure: File removed.
23550 * sysdeps/pthread/Makeconfig: New file.
23551 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
23552 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
23553
d9195db8
GB
235542012-08-16 Gary Benson <gbenson@redhat.com>
23555
23556 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
23557 unmapping the first object in a namespace.
23558
86466cd9
RM
235592012-08-16 Roland McGrath <roland@hack.frob.com>
23560
23561 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
23562 (__internal_setnetgrent): ... this. Add internal_function to
23563 definition. Add libc_hidden_def.
23564 (setnetgrent): Update caller.
23565 (internal_endnetgrent): Renamed to ...
23566 (__internal_endnetgrent): ... this. Add internal_function to
23567 definition. Add libc_hidden_def.
23568 (endnetgrent): Update caller.
23569 (internal_getnetgrent_r): Renamed to ...
23570 (__internal_getnetgrent_r): ... this. Add internal_function to
23571 definition. Add libc_hidden_def.
23572 (__getnetgrent_r): Update caller.
23573 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
23574
c3c8283c
JM
235752012-08-16 Joseph Myers <joseph@codesourcery.com>
23576
23577 * stdlib/longlong.h: Update from GCC.
23578
db1ee0a8
RM
235792012-08-16 Roland McGrath <roland@hack.frob.com>
23580
23581 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
23582 on _QL, which is set by umul_ppmm but never used.
23583 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
23584 variables, which are set by GMP macros but never used.
23585 * stdio-common/_itowa.c (_itowa): Likewise.
23586 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
23587 * stdlib/mod_1.c (mpn_mod_1): Likewise.
23588
30f69637
CD
235892012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
23590
23591 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
23592 struct La_sh_regs is not constant.
23593 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
23594 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
23595 and struct La_sparc64_regs are not constant.
23596
93a78ac4
JM
235972012-08-16 Joseph Myers <joseph@codesourcery.com>
23598
23599 * sysdeps/unix/sysv/linux/kernel-features.h
23600 (__ASSUME_POSIX_TIMERS): Remove.
23601 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23602 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23603 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
23604 Make code unconditional.
23605 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23606 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
23607 Make code unconditional.
23608 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23609 * sysdeps/unix/sysv/linux/clock_nanosleep.c
23610 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
23611 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23612 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
23613 Make code unconditional.
23614 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23615 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
23616 (__libc_missing_posix_timers): Remove.
23617
dd924cd7
RM
236182012-08-15 Roland McGrath <roland@hack.frob.com>
23619
4b4f2771
RM
23620 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
23621 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
23622
601c888b
RM
23623 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
23624
176790a7
RM
23625 * elf/dl-sym.c: Include <stdlib.h>.
23626
329bc018
RM
23627 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
23628 constants, which avoids warnings in 32-bit builds.
23629
e04e272d
RM
23630 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
23631 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
23632
952bf94a
RM
23633 * misc/lseek.c: File moved to ...
23634 * io/lseek.c: ... here.
23635
7c99b50a
RM
23636 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
23637
dd924cd7
RM
23638 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
23639 shifting LEN more than 31 bits at once.
23640
b3f479a8
LD
236412012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23642
23643 [BZ #14195]
8c4ae0d4
RM
23644 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
23645 segmentation fault for a case of two empty input strings.
b3f479a8
LD
23646 * string/test-strncasecmp.c (check1): Renamed to...
23647 (bz12205): ...this.
23648 (bz14195): Add new testcase for two empty input strings and N > 0.
23649 (test_main): Call new testcase, adapt for renamed function.
23650
9c55864e
AJ
236512012-08-15 Andreas Jaeger <aj@suse.de>
23652
23653 [BZ #14090]
23654 * crypt/md5test2.c: New test, based on test supplied by Serge
23655 Belyshev <belyshev@depni.sinp.msu.ru>.
23656 * crypt/Makefile (xtests): Add md5test-giant..
23657 * crypt/Makefile ($(objpfx)md5test-giant): Add.
23658
02dcb6c5
PE
236592012-08-15 Paul Eggert <eggert@cs.ucla.edu>
23660
23661 [BZ #14090]
23662 * crypt/md5.c (md5_process_block): Don't assume the buffer
23663 length is less than 2**32.
23664 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
23665 length is less than 2**64.
23666
a3f95dcc
RM
236672012-08-15 Roland McGrath <roland@hack.frob.com>
23668
be75d758
RM
23669 * string/str-two-way.h: Include <sys/param.h>.
23670 (MAX): Macro removed.
23671
7312ca90
RM
23672 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
23673 Move #define and #undef of memmove to just before and after
23674 including <string.h>.
23675
9a0a5486
RM
23676 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
23677 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
23678 and after including <string.h>. Move declarations of
23679 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
23680 to before #include "string/memmove.c".
23681
67cc348d
RM
23682 * include/dirent.h: Declare __getdirentries.
23683
a3f95dcc
RM
23684 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
23685 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
23686
ca98e171
MF
236872012-08-14 Mike Frysinger <vapier@gentoo.org>
23688
23689 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
23690 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
23691 * sysdeps/i386/configure: Regenerated.
23692 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
23693 STABS_CURRENT_FILE, and STABS_FUN.
23694 (END): Remove call to STABS_FUN_END.
23695 (STABS_CURRENT_FILE1): Delete.
23696 (STABS_CURRENT_FILE): Likewise.
23697 (STABS_FUN): Likewise.
23698 (STABS_FUN_END): Likewise.
23699 (STABS_FUN2): Likewise.
23700 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
23701 * sysdeps/x86_64/configure: Regenerated.
23702
5908bf46
RM
237032012-08-14 Roland McGrath <roland@hack.frob.com>
23704
23705 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 23706 * elf/dl-lookup.c: Likewise.
5908bf46 23707
f2c05b9e
JM
237082012-08-14 Joseph Myers <joseph@codesourcery.com>
23709
23710 * sysdeps/unix/sysv/linux/kernel-features.h
23711 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
23712 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
23713 unconditionally.
23714 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
23715 unconditionally.
23716 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
23717 condition on __ASSUME_CLONE_THREAD_FLAGS.
23718
e11f5155
AJ
237192012-08-14 Andreas Jaeger <aj@suse.de>
23720
23721 * sysdeps/i386/fpu/libm-test-ulps: Update.
23722
51a9ba86
MK
237232012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
23724
2fdd4f78
AJ
23725 * include/atomic.h (atomic_exchange_and_add): Split into ...
23726 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
23727 New atomic macros.
51a9ba86 23728
ba6cba9e
MT
237292012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
23730
23731 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23732
42443a47
JL
237332012-08-13 Jeff Law <law@redhat.com>
23734
23735 * manual/stdio.texi (snprintf): Clarify handling of the trailing
23736 null byte in the output string.
23737
121dce05
JM
237382012-08-10 Joseph Myers <joseph@codesourcery.com>
23739
23740 * sysdeps/unix/sysv/linux/kernel-features.h
23741 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
23742 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
23743 (__ASSUME_ARG_MAX_STACK_BASED): Define.
23744 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
23745 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
23746 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
23747 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
23748
bf51f568
JL
237492012-08-09 Jeff Law <law@redhat.com>
23750
23751 [BZ #13939]
23752 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
23753 When avoid_arena is set, don't retry in the that arena. Pick the
23754 next one, whatever it might be.
23755 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
23756 (arena_lock): Pass in new parameter to arena_get2.
23757 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
23758 arena_get2.
23759 (__libc_malloc): Unify retrying after main arena failure with
23760 __libc_memalign version.
23761 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
23762
f85fa270
L
237632012-08-09 H.J. Lu <hongjiu.lu@intel.com>
23764
23765 [BZ #14166]
23766 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
23767 to __redirect_strstr.
23768 (__strstr_sse42): Use typeof __redirect_strstr.
23769 (__strstr_ia32): Likewise.
23770 (__libc_strstr): New prototype.
23771 (strstr): Renamed to ...
23772 (__libc_strstr): This.
23773 (strstr): New strong alias of __libc_strstr.
23774 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23775 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
23776 __redirect_time.
23777 Include <time.h>.
23778 (__libc_time): New prototype.
23779 (time_ifunc): Replace time with __libc_time.
23780 (time): New strong alias and hidden definition of __libc_time.
23781 (__GI_time): Remove strong alias.
23782 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
23783 Include <stddef.h>.
23784 (memmove): Redefined to __redirect_memmove.
23785 (__memmove_sse2): Use typeof __redirect_memmove.
23786 (__memmove_ssse3): Likewise.
23787 (__memmove_ssse3_back): Likewise.
23788 (__libc_memmove): New prototype.
23789 (memmove): Renamed to ...
23790 (__libc_memmove): This.
23791 (memmove): New strong alias of __libc_memmove.
23792
33b4a91e
MS
237932012-08-08 Mark Salter <msalter@redhat.com>
23794
23795 * elf/elf.h
23796 (R_MN10300_TLS_GD): Define.
23797 (R_MN10300_TLS_LD): Likewise.
23798 (R_MN10300_TLS_LDO): Likewise.
23799 (R_MN10300_TLS_GOTIE): Likewise.
23800 (R_MN10300_TLS_IE): Likewise.
23801 (R_MN10300_TLS_LE): Likewise.
23802 (R_MN10300_TLS_DTPMOD): Likewise.
23803 (R_MN10300_TLS_DTPOFF): Likewise.
23804 (R_MN10300_TLS_TPOFF): Likewise.
23805 (R_MN10300_SYM_DIFF): Likewise.
23806 (R_MN10300_ALIGN): Likewise.
23807 (R_MN10300_NUM): Update.
23808
b36137f1
JM
238092012-08-08 Joseph Myers <joseph@codesourcery.com>
23810
23811 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
23812 Remove.
23813
cdd915fd
RM
238142012-08-08 Roland McGrath <roland@hack.frob.com>
23815
a2433aac
RM
23816 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
23817
cdd915fd
RM
23818 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
23819 sysdeps/unix -> sysdeps/posix move.
23820 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23821
bf9b740a
AM
238222012-08-07 Allan McRae <allan@archlinux.org>
23823
23824 [BZ #14303]
23825 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
23826 (SUNOS_CPP): Likewise.
23827 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
23828 not found.
23829 (open_input): Call CPP using execvp.
23830
93df14ee
JM
238312012-08-07 Joseph Myers <joseph@codesourcery.com>
23832
23833 * sysdeps/unix/sysv/linux/kernel-features.h
23834 (__ASSUME_PROT_GROWSUPDOWN): Remove.
23835 (__ASSUME_NO_CLONE_DETACHED): Likewise.
23836 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
23837 (__ASSUME_WAITID_SYSCALL): Likewise.
23838 * sysdeps/unix/sysv/linux/dl-execstack.c
23839 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
23840 code unconditional.
23841 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
23842 conditional code.
23843 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
23844 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
23845 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
23846 code.
23847 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
23848 unconditional.
23849 [__ASSUME_WAITID_SYSCALL]: Likewise.
23850 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
23851
d34689de
RM
238522012-08-07 Roland McGrath <roland@hack.frob.com>
23853
a281decc
RM
23854 * sysdeps/unix/closedir.c: Renamed to ...
23855 * sysdeps/posix/closedir.c: ... here.
23856 * sysdeps/unix/dirfd.c: Renamed to ...
23857 * sysdeps/posix/dirfd.c: ... here.
23858 * sysdeps/unix/dirstream.h: Renamed to ...
23859 * sysdeps/posix/dirstream.h: ... here.
23860 * sysdeps/unix/fdopendir.c: Renamed to ...
23861 * sysdeps/posix/fdopendir.c: ... here.
23862 * sysdeps/unix/opendir.c: Renamed to ...
23863 * sysdeps/posix/opendir.c: ... here.
23864 * sysdeps/unix/readdir.c: Renamed to ...
23865 * sysdeps/posix/readdir.c: ... here.
23866 * sysdeps/unix/readdir_r.c: Renamed to ...
23867 * sysdeps/posix/readdir_r.c: ... here.
23868 * sysdeps/unix/rewinddir.c: Renamed to ...
23869 * sysdeps/posix/rewinddir.c: ... here.
23870 * sysdeps/unix/seekdir.c: Renamed to ...
23871 * sysdeps/posix/seekdir.c: ... here.
23872 * sysdeps/unix/telldir.c: Renamed to ...
23873 * sysdeps/posix/telldir.c: ... here.
23874 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
23875 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
23876 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
23877 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
23878
22895b47
RM
23879 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
23880 * bits/fcntl.h: ... here.
23881
707a53b6
RM
23882 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
23883 not 0.
23884 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
23885 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
23886 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
23887 (struct flock): Move l_start, l_len to the beginning.
23888 Use __pid_t for l_pid.
23889 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
23890 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
23891 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
23892 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
23893 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
23894 [__USE_LARGEFILE64] (struct flock64): New type.
23895 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
23896
f0bd3e25
RM
23897 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
23898 * bits/dirent.h: ... here.
23899
d34689de
RM
23900 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
23901 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
23902
6dad2c06
JM
239032012-08-07 Joseph Myers <joseph@codesourcery.com>
23904
23905 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23906 Change from 2.6.0 to 2.6.16.
23907 * sysdeps/unix/sysv/linux/configure: Regenerated.
23908 * sysdeps/unix/sysv/linux/kernel-features.h
23909 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
23910 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
23911 version.
23912 (__ASSUME_UTIMES): Likewise.
23913 (__ASSUME_CLONE_STOPPED): Remove.
23914 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
23915 architectures, not kernel version.
23916 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
23917 (__ASSUME_NO_CLONE_DETACHED): Likewise.
23918 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
23919 (__ASSUME_WAITID_SYSCALL): Likewise.
23920 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
23921 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
23922 * README: State 2.6.16 as minimum Linux kernel version. Do not
23923 refer to older versions.
23924
03af9520
RM
239252012-08-06 Roland McGrath <roland@hack.frob.com>
23926
8e49df1d
RM
23927 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
23928 Define alphasort64 as an alias.
23929 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
23930 Define versionsort64 as an alias.
23931 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
23932 Define scandir64 as an alias.
23933 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
23934 Define scandirat64 as an alias.
23935 * dirent/alphasort64.c (alphasort64):
23936 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
23937 * dirent/versionsort64.c: Likewise.
23938 * dirent/scandir64.c: Likewise.
23939 * dirent/scandirat64.c: Likewise.
23940 * sysdeps/wordsize-64/alphasort.c: File removed.
23941 * sysdeps/wordsize-64/alphasort64.c: File removed.
23942 * sysdeps/wordsize-64/scandir.c: File removed.
23943 * sysdeps/wordsize-64/scandir64.c: File removed.
23944 * sysdeps/wordsize-64/scandirat.c: File removed.
23945 * sysdeps/wordsize-64/scandirat64.c: File removed.
23946 * sysdeps/wordsize-64/versionsort.c: File removed.
23947 * sysdeps/wordsize-64/versionsort64.c: File removed.
23948 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
23949 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
23950 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
23951 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
23952 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
23953 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
23954 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
23955 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
23956
23957 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
23958 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
23959 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
23960 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23961 [defined __arch64__ || defined __sparcv9]
23962 (__INO_T_MATCHES_INO64_T): New macro.
23963 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23964 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
23965 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
23966 * sysdeps/unix/sysv/linux/bits/dirent.h
23967 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
23968 (_DIRENT_MATCHES_DIRENT64): New macro.
23969
03af9520
RM
23970 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
23971 Define lockf64 as an alias.
23972 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
23973 Define fseeko64 as an alias.
23974 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
23975 Define ftello64 as an alias.
23976 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
23977 Define _IO_fgetpos64 and fgetpos64 as aliases.
23978 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
23979 Define _IO_fsetpos64 and fsetpos64 as aliases.
23980 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
23981 Conditionalize body on this.
23982 * libio/fseeko64.c: Likewise.
23983 * libio/ftello64.c: Likewise.
23984 * libio/iofgetpos64.c: Likewise.
23985 * libio/iofsetpos64.c: Likewise.
23986 * sysdeps/wordsize-64/lockf.c: File removed.
23987 * sysdeps/wordsize-64/lockf64.c: File removed.
23988 * sysdeps/wordsize-64/fseeko.c: File removed.
23989 * sysdeps/wordsize-64/fseeko64.c: File removed.
23990 * sysdeps/wordsize-64/ftello.c: File removed.
23991 * sysdeps/wordsize-64/ftello64.c: File removed.
23992 * sysdeps/wordsize-64/iofgetpos.c: File removed.
23993 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
23994 * sysdeps/wordsize-64/iofsetpos.c: File removed.
23995 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
23996 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
23997 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
23998 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
23999 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24000 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24001 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24002 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24003 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24004 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24005 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24006
24007 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24008 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24009 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24010 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24011 [defined __arch64__ || defined __sparcv9]
24012 (__OFF_T_MATCHES_OFF64_T): New macro.
24013 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24014 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24015 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24016 (__OFF_T_MATCHES_OFF64_T): New macro.
24017
c5757acd
L
240182012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24019
24020 * stdlib/secure-getenv.c (__secure_getenv): Replace
24021 GLIBC_2_16 with GLIBC_2_17.
24022
3a31811e
L
240232012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24024
24025 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24026 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24027
faa2bccb
DM
240282012-08-03 David S. Miller <davem@davemloft.net>
24029
24030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24031
85fe1997
JM
240322012-08-03 Joseph Myers <joseph@codesourcery.com>
24033
24034 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24035 Remove.
24036 (__ASSUME_CORRECT_SI_PID): Likewise.
24037 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24038 (__ASSUME_TMPFS_NAME): Likewise.
24039 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24040 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24041 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24042 (HAVE_AUX_SECURE): Make definition unconditional.
24043 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24044 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24045
4f75b7a0
RM
240462012-08-03 Roland McGrath <roland@hack.frob.com>
24047
24048 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24049 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24050 * sysdeps/mach/hurd/eloop-threshold.h: New file.
24051 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24052 __eloop_threshold instead of SYMLOOP_MAX.
24053
24054 * sysdeps/generic/eloop-threshold.h: New file.
24055 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24056 of MAXSYMLINKS.
24057 * elf/chroot_canon.c (chroot_canon): Likewise.
24058
7aab07e4
JM
240592012-08-03 Joseph Myers <joseph@codesourcery.com>
24060
24061 [BZ #13717]
24062 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24063 Change to 2.6.0 everywhere.
24064 * sysdeps/unix/sysv/linux/configure: Regenerated.
24065 * sysdeps/unix/sysv/linux/kernel-features.h
24066 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24067 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24068 kernel versions.
24069 (__ASSUME_POSIX_TIMERS): Define unconditionally.
24070 (__ASSUME_FUTEX_REQUEUE): Remove.
24071 (__ASSUME_STATFS64): Define unconditionally.
24072 (__ASSUME_AT_SECURE): Likewise.
24073 (__ASSUME_CORRECT_SI_PID): Likewise.
24074 (__ASSUME_TGKILL): Define without depending on kernel version for
24075 i386.
24076 (__ASSUME_UTIMES): Likewise.
24077 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24078 kernel version.
24079 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24080 (__ASSUME_TMPFS_NAME): Likewise.
24081 * README: Update reference to Linux kernel versions.
24082
b67e9372
MP
240832012-08-02 Marek Polacek <polacek@redhat.com>
24084
1f529f7d 24085 [BZ# 14150]
b67e9372
MP
24086 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
24087 libc_cv_asm_type_prefix with %.
24088 * configure: Regenerated.
d2441631
RM
24089 * include/libc-symbols.h: Remove comment about
24090 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
24091 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24092 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24093 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24094 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24095 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24096 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24097 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24098 * elf/tst-unique2mod1.c: Likewise.
24099 * elf/tst-unique1mod2.c: Likewise.
24100 * elf/tst-unique1mod1.c: Likewise.
24101 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24102 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24103 Replace ASM_TYPE_DIRECTIVE with .type.
24104 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24105 * sysdeps/i386/sysdep.h: Likewise.
24106 * sysdeps/x86_64/sysdep.h: Likewise.
24107 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
24108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24109 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 24110 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
24111 * sysdeps/powerpc/powerpc32/sysdep.h:
24112 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
24113 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24114 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24115 * sysdeps/i386/fpu/e_powf.S: Likewise.
24116 * sysdeps/i386/fpu/e_expl.S: Likewise.
24117 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24118 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24119 * sysdeps/i386/fpu/e_pow.S: Likewise.
24120 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24121 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24122 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24123 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24124 * sysdeps/i386/fpu/e_log2.S: Likewise.
24125 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24126 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24127 * sysdeps/i386/fpu/e_powl.S: Likewise.
24128 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24129 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24130 * sysdeps/i386/fpu/e_logl.S: Likewise.
24131 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24132 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24133 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24134 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24135 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24136 * sysdeps/i386/fpu/e_log.S: Likewise.
24137 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24138 * sysdeps/i386/fpu/e_logf.S: Likewise.
24139 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24140 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24141 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24142 * sysdeps/i386/fpu/e_log10.S: Likewise.
24143 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24144 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24145 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24146 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24147 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24148 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24149 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24150 * sysdeps/i386/i686/strtok.S: Likewise.
24151 * sysdeps/i386/i386-mcount.S: Likewise.
24152 * sysdeps/i386/strtok.S: Likewise.
24153 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24154 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24155 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24156 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24157 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24158 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24159 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24160 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24161 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24162 * sysdeps/x86_64/_mcount.S: Likewise.
24163 * sysdeps/x86_64/strtok.S: Likewise.
24164 * sysdeps/sh/_mcount.S: Likewise.
24165
2747bf9a
RM
241662012-08-01 Roland McGrath <roland@hack.frob.com>
24167
24168 * libio/iofopen.c: Include <fcntl.h>.
24169 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24170 (_IO_fopen64, fopen64): Define as aliases.
24171 * libio/iofopen64.c: Include <fcntl.h>.
24172 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24173 Conditionalize body on this.
24174 * sysdeps/wordsize-64/iofopen.c: File removed.
24175 * sysdeps/wordsize-64/iofopen64.c: File removed.
24176
3fb791b8
MP
241772012-08-01 Marek Polacek <polacek@redhat.com>
24178
24179 * libc/Makeconfig: Use elf in place of binfmt-subdir.
24180 Use dlfcn directly instead of a variable.
24181 (binfmt-subdir): Do not define.
24182 (dlfcn): Likewise.
24183
a9f1039f
JM
241842012-08-01 Joseph Myers <joseph@codesourcery.com>
24185
23bddc06
JM
24186 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24187 Remove all definitions.
24188 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24189 <kernel-features.h>.
24190 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24191 (miss_F_GETOWN_EX): Remove all definitions.
24192 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24193 macro definition.
24194 [!__ASSUME_FCNTL64]: Remove conditional code.
24195 [__ASSUME_FCNTL64]: Make code unconditional.
24196 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24197 <kernel-features.h>.
24198 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24199 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24200 (lockf64) [__NR_fcntl64]: Make code unconditional.
24201 (lockf64) [__ASSUME_FCNTL64]: Likewise.
24202
a9f1039f
JM
24203 * sysdeps/unix/sysv/linux/kernel-features.h
24204 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24205 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24206 Make code unconditional.
24207 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24208 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24210 [__NR_vfork]: Make code unconditional.
24211 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24212 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24214 [__NR_vfork]: Make code unconditional.
24215 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24216 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24217
09c0ee5f
RM
242182012-08-01 Roland McGrath <roland@hack.frob.com>
24219
48aec5b9
RM
24220 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24221 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24222
cd97c966
RM
24223 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24224 Define mkstemp64 as an alias.
3f55550c
RM
24225 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24226 Define mkstemps64 as an alias.
cd97c966
RM
24227 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24228 Define mkostemp64 as an alias.
b8625cfc
RM
24229 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24230 Define mkostemps64 as an alias.
cd97c966
RM
24231 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24232 Conditionalize body on this.
24233 * misc/mkostemp64.c: Likewise.
b8625cfc 24234 * misc/mkostemps64.c: Likewise.
3f55550c 24235 * misc/mkstemps64.c: Likewise.
cd97c966
RM
24236 * sysdeps/wordsize-64/mkstemp64.c: File removed.
24237 * sysdeps/wordsize-64/mkostemp64.c: File removed.
24238 * sysdeps/wordsize-64/mkostemp.c: File removed.
24239 * sysdeps/wordsize-64/mkstemp.c: File removed.
24240 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24241 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24242 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24243 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24244
09c0ee5f
RM
24245 [BZ #14138]
24246 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24247 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24248 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24249 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24250
24251 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24252 compat_symbol macros from <shlib-compat.h> rather than the underlying
24253 default_symbol_version and symbol_version macros, so that DEFAULT
24254 lines in shlib-versions are respected.
24255 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24256
7e66ee51
FW
242572012-08-01 Florian Weimer <fweimer@redhat.com>
24258
24259 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24260 Declare with warn_unused_result.
24261 (setgid, setregid, setegid, setresgid): Likewise.
24262 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
24263 Likewise.
24264 * WUR-REPORT: Remove set*id functions.
24265
d2a54255
PT
242662012-07-31 Pino Toscano <toscano.pino@tiscali.it>
24267
24268 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
24269
7ecdb005
RM
242702012-07-31 Roland McGrath <roland@hack.frob.com>
24271
b4180a5e 24272 [BZ #10191]
789bd351
RM
24273 * include/sys/socket.h (__libc_accept, __libc_accept4):
24274 Add attribute_hidden.
24275 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
24276
40ce302d
RM
24277 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
24278 use of PTR_MANGLE.
24279 * inet/getnetgrent_r.c (setup): Likewise.
24280
7ecdb005
RM
24281 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
24282
e2eabb2c
DM
242832012-07-31 David S. Miller <davem@davemloft.net>
24284
24285 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24286
d0419dbf
JM
242872012-07-31 Joseph Myers <joseph@codesourcery.com>
24288
24289 [BZ #13629]
24290 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
24291 value between 1.0 and 2.0 and smaller part has absolute value less
24292 than 1.0.
24293 * math/s_clog10.c (__clog10): Likewise.
24294 * math/s_clog10f.c (__clog10f): Likewise.
24295 * math/s_clog10l.c (__clog10l): Likewise.
24296 * math/s_clogf.c (__clogf): Likewise.
24297 * math/s_clogl.c (__clogl): Likewise.
24298 * math/libm-test.inc (clog_test): Add more tests.
24299 (clog10_test): Likewise.
24300 * sysdeps/i386/fpu/libm-test-ulps: Update.
24301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24302
2bc13872
FW
243032012-07-31 Florian Weimer <fweimer@redhat.com>
24304
24305 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
24306 Exit with zero in case no suitable GID is found, and write a
24307 message to standard error.
24308
bea9b193
RM
243092012-07-30 Roland McGrath <roland@hack.frob.com>
24310
24311 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
24312 rather than to 1.
24313 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
24314 (MAXPATHLEN): Removed.
24315 (NOGROUP, NODEV): New macros.
24316 (setbit, clrbit, isset, isclr): New macros.
24317 (howmany, roundup, powerof2): New macros.
24318 (DEV_BSIZE): New macro.
24319
24320 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
24321 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
24322
24323 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
24324 definition on [!__NO_LONG_DOUBLE_MATH].
24325
24326 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
24327 PTR_MANGLE and PTR_DEMANGLE.
24328
24329 * socket/accept4.c (accept4): Rename to __libc_accept4.
24330 Define accept4 as a weak alias.
24331
24332 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
24333 on [_DIRENT_HAVE_D_TYPE].
24334 * io/ftw.c (ftw_dir): Likewise.
24335
24336 * io/xmknod.c (__xmknod): Don't check PATH for being null.
24337
24338 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
24339
24340 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
24341 Use the BSD numbers rather than the arbitrary ones we had.
24342 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
24343 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
24344 (SIGXCPU, SIGXFSZ): New macros.
24345 (_NSIG): Now 32.
24346
24347 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
24348 initializer on [_LIBC_REENTRANT].
24349
24350 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
24351 definitions inside [_POSIX_MAPPED_FILES].
24352
24353 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
24354
24355 * dirent/opendir.c: Include <fcntl.h>.
24356
24357 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
24358 (__libc_getspecific): Likewise.
24359 (__libc_key_create): Likewise.
24360
24361 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
24362 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
24363 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
24364 (tmpfile64): Define as alias.
24365 * sysdeps/wordsize-64/tmpfile.c: File removed.
24366 * sysdeps/wordsize-64/tmpfile64.c: File removed.
24367 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
24368 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
24369
24370 * stdio-common/vfscanf.c: Include <stdbool.h>.
24371 * nss/makedb.c: Likewise.
24372 * stdio-common/_i18n_number.h: Likewise.
24373 * argp/argp-help.c: Likewise.
24374 * posix/wordexp.c: Likewise.
24375 * sysdeps/posix/spawni.c: Likewise.
24376 * nss/nss_files/files-initgroups.c: Likewise.
24377 * stdio-common/reg-modifier.c: Include <stdlib.h>.
24378 * nss/nss_files/files-initgroups.c: Likewise.
24379 * nss/nss_db/db-netgrp.c: Likewise.
24380 * nss/nss_db/db-initgroups.c: Likewise.
24381 * io/fchmodat.c: Include <sys/stat.h>.
24382
24383 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
24384 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
24385
24386 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
24387 [HAVE_MMAP].
24388
24389 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
24390 Add multiple inclusion protection.
24391
e5abc686
DM
243922012-07-27 David S. Miller <davem@davemloft.net>
24393
24394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24395
815e6fa3
GB
243962012-07-27 Gary Benson <gbenson@redhat.com>
24397
24398 [BZ #14298]
24399 * elf/rtld.c: Include <stap-probe.h>.
24400 (dl_main): Added static probes "init_start" and "init_complete".
24401 * elf/dl-load.c: Include <stap-probe.h>.
24402 (lose): Take new parameter "nsid".
24403 Added static probe "map_failed".
24404 (_dl_map_object_from_fd): Pass namespace id to lose.
24405 Added static probe "map_start".
24406 (open_verify): Pass namespace id to lose.
24407 * elf/dl-open.c: Include <stap-probe.h>.
24408 (dl_open_worker) Added static probes "map_complete", "reloc_start"
24409 and "reloc_complete".
24410 * elf/dl-close.c: Include <stap-probe.h>.
24411 (_dl_close_worker): Added static probes "unmap_start" and
24412 "unmap_complete".
24413 * elf/rtld-debugger-interface.txt: New file documenting the above.
24414
9f98c16c
RM
244152012-07-26 Roland McGrath <roland@hack.frob.com>
24416
24417 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
24418 rather than a string variable.
24419 * sunrpc/rpc_main.c (h_output): Likewise.
24420 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
24421
f3c22df3
PT
244222012-07-26 Pino Toscano <toscano.pino@tiscali.it>
24423
24424 * inet/check_native.c: New file.
24425
3129cfc6
JM
244262012-07-26 Joseph Myers <joseph@codesourcery.com>
24427
da865e95
JM
24428 [BZ #13629]
24429 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
24430 if larger part has absolute value 1.0.
24431 * math/s_clog10.c (__clog10): Likewise.
24432 * math/s_clog10f.c (__clog10f): Likewise.
24433 * math/s_clog10l.c (__clog10l): Likewise.
24434 * math/s_clogf.c (__clogf): Likewise.
24435 * math/s_clogl.c (__clogl): Likewise.
24436 * math/libm-test.inc (clog_test): Add more tests.
24437 (clog10_test): Likewise.
24438 * sysdeps/i386/fpu/libm-test-ulps: Update.
24439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24440
3129cfc6
JM
24441 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
24442 (pltexit): Likewise.
24443 (La_regs): Likewise.
24444 (La_retval): Likewise.
24445 (int_retval): Likewise.
24446 Update #error for removed macros to refer only to definitions in
24447 tst-audit.h.
24448 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
24449 macro.
24450 (pltexit): Likewise.
24451 (La_regs): Likewise.
24452 (La_retval): Likewise.
24453 (int_retval): Likewise.
24454 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
24455 macro.
24456 (pltexit): Likewise.
24457 (La_regs): Likewise.
24458 (La_retval): Likewise.
24459 (int_retval): Likewise.
24460 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
24461 macro.
24462 (pltexit): Likewise.
24463 (La_regs): Likewise.
24464 (La_retval): Likewise.
24465 (int_retval): Likewise.
24466 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
24467 macro.
24468 (pltexit): Likewise.
24469 (La_regs): Likewise.
24470 (La_retval): Likewise.
24471 (int_retval): Likewise.
24472 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
24473 macro.
24474 (pltexit): Likewise.
24475 (La_regs): Likewise.
24476 (La_retval): Likewise.
24477 (int_retval): Likewise.
24478 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
24479 macro.
24480 (pltexit): Likewise.
24481 (La_regs): Likewise.
24482 (La_retval): Likewise.
24483 (int_retval): Likewise.
24484 * sysdeps/generic/tst-audit.h: Update comment to refer only to
24485 macro definitions in tst-audit.h.
24486 * sysdeps/i386/tst-audit.h: New file.
24487 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
24488 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
24489 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
24490 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
24491 * sysdeps/sh/tst-audit.h: Likewise.
24492 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
24493 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
24494 * sysdeps/x86_64/tst-audit.h: Likewise.
24495
bfc07087
AJ
244962012-07-26 Andreas Jaeger <aj@suse.de>
24497
b1b2aaf8
AJ
24498 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
24499 ptrace.
24500
24501 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
24502 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
24503 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
24504 PTRACE_O_MASK.
24505 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
24506 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
24507 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
24508
bfc07087
AJ
24509 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
24510 value.
24511
24512 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
24513 _sigsys.
24514 (si_call_addr, si_syscall, si_arch): Define new macro.
24515 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
24516 _sigsys.
24517 (si_call_addr, si_syscall, si_arch): Define new marcro.
24518 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
24519 _sigsys.
24520 (si_call_addr, si_syscall, si_arch): Define new macro.
24521 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
24522 _sigsys.
24523 (si_call_addr, si_syscall, si_arch): Define new macro.
24524
89b4b02f
JM
245252012-07-25 Joseph Myers <joseph@codesourcery.com>
24526
24527 [BZ #13717]
24528 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24529 Change to 2.4.21 where previously 2.4.1.
24530 * sysdeps/unix/sysv/linux/configure: Regenerated.
24531 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
24532 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
24533 Linux kernel version.
24534 (__ASSUME_STD_AUXV): Remove.
24535 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
24536 kernel version.
24537 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
24538 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
24539 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
24540 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
24541 (__ASSUME_NETLINK_SUPPORT): Likewise.
24542 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
24543 (__no_netlink_support): Remove conditional definition.
24544 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
24545 Remove.
24546 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24547 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
24548 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
24549 (if_nameindex_ioctl): Remove.
24550 (if_nameindex_netlink): Do not handle __no_netlink_support.
24551 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24552 code.
24553 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
24554 Remove conditional code.
24555 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24556 code.
24557 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
24558 unconditional.
24559 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24560 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
24561 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
24562 Remove.
24563 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
24564 [!__ASSUME_STD_AUXV]: Remove conditional code.
24565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
24566 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
24567 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
24568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
24569 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
24570 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24571 code.
24572 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24574 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
24575 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24576 conditional code.
24577 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
24579 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24580 code.
24581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24582 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24583 conditional code.
24584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
24585 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24586 code unconditional.
24587 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24588 conditional code.
24589 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24590 unconditional.
24591 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24592 conditional code.
24593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24594 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24595 unconditional.
24596 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24597 conditional code.
24598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
24599 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24600 code unconditional.
24601 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24602 conditional code.
24603 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24604 unconditional.
24605 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24606 conditional code.
24607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
24608 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24609 code unconditional.
24610 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24611 conditional code.
24612 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24613 unconditional.
24614 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24615 conditional code.
24616
842a39cd
AS
246172012-07-25 Andreas Schwab <schwab@linux-m68k.org>
24618
24619 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
24620 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
24621 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
24622 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
24623 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
24624 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
24625 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24626 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
24627 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
24628 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
24629 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
24630 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
24631 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
24632 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
24633 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
24634 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
24635 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
24636 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
24637 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
24638 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
24639 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
24640 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
24641 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24642
84b3fd84
FW
246432012-07-25 Florian Weimer <fweimer@redhat.com>
24644
24645 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
24646 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
24647 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
24648 Introduce __libc_secure_getenv.
0c7936d5
FW
24649 * stdlib/Versions (2.17): Add secure_getenv
24650 (GLIBC_PRIVATE): Add __libc_secure_getenv.
24651 * stdlib/secure-getenv.c: Rename __secure_getenv to
24652 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
24653 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
24654 * stdlib/tst-secure-getenv.c: New.
24655 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
24656 * manual/startup.texi (Environment Access): Document
24657 secure_getenv.
84b3fd84
FW
24658 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
24659 __libc_secure_getenv.
24660 * inet/ruserpass.c (ruserpass): Likewise.
24661 * malloc/mtrace.c (mtrace): Likewise.
24662 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 24663 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
24664 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
24665 * sysdeps/posix/tempname.c: Likewise. Evaluate
24666 HAVE_SECURE_GETENV.
24667 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 24668 __secure_getenv to __libc_secure_getenv.
84b3fd84 24669 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
24670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24671 Likewise.
24672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24673 Likewise.
24674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24676 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24678 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24680 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 24681
56e49b71
JM
246822012-07-25 Joseph Myers <joseph@codesourcery.com>
24683
24684 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
24685 (struct La_i86_retval): Likewise.
24686 (struct La_x86_64_regs): Likewise.
24687 (struct La_x86_64_retval): Likewise.
24688 (struct La_x32_regs): Likewise.
24689 (struct La_x32_retval): Likewise.
24690 (struct La_ppc32_regs): Likewise.
24691 (struct La_ppc32_retval): Likewise.
24692 (struct La_ppc64_regs): Likewise.
24693 (struct La_ppc64_retval): Likewise.
24694 (struct La_sh_regs): Likewise.
24695 (struct La_sh_retval): Likewise.
24696 (struct La_s390_32_regs): Likewise.
24697 (struct La_s390_32_retval): Likewise.
24698 (struct La_s390_64_regs): Likewise.
24699 (struct La_s390_64_retval): Likewise.
24700 (struct La_sparc32_regs): Likewise.
24701 (struct La_sparc32_retval): Likewise.
24702 (struct La_sparc64_regs): Likewise.
24703 (struct La_sparc64_retval): Likewise.
24704 (struct audit_ifaces): Remove architecture-specific pltenter and
24705 pltexit members.
24706 * sysdeps/i386/ldsodefs.h: New file.
24707 * sysdeps/powerpc/ldsodefs.h: Likewise.
24708 * sysdeps/s390/ldsodefs.h: Likewise.
24709 * sysdeps/sh/ldsodefs.h: Likewise.
24710 * sysdeps/sparc/ldsodefs.h: Likewise.
24711 * sysdeps/x86_64/ldsodefs.h: Likewise.
24712
354691b7
MP
247132012-07-25 Marek Polacek <polacek@redhat.com>
24714
24715 [BZ #6808]
24716 * math/libm-test.inc (yn_test): Add another test.
24717 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
24718 to ERANGE when the result is +-Inf.
24719 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24720 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24721 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
24722 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
24723
bf9e2071
JM
247242012-07-24 Joseph Myers <joseph@codesourcery.com>
24725
24726 * conform/data/time.h-data (NULL): Use macro-constant. Require
24727 equal to 0.
24728 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
24729 clock_t.
24730 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
24731
57633811
TS
247322012-07-23 Thomas Schwinge <thomas@codesourcery.com>
24733
24734 * configure.in <sysdeps resolving>: Correct printing
24735 Implies_before.
24736 * configure: Regenerate.
24737
c23c33b0
TS
247382012-07-22 Thomas Schwinge <thomas@codesourcery.com>
24739
24740 * math/w_ilogb.c: Include <limits.h>.
24741 * math/w_ilogbl.c: Likewise.
24742
b5982523
JM
247432012-07-20 Joseph Myers <joseph@codesourcery.com>
24744
24745 * manual/lang.texi (__va_copy): Document primarily as ISO C99
24746 va_copy. Document allowing for unavailable va_copy only as
24747 pre-C99 compatibility.
24748 * manual/string.texi (Copying and Concatenation): Use va_copy
24749 instead of __va_copy in concat example.
24750
ac4ea442
PT
247512012-07-20 Pino Toscano <toscano.pino@tiscali.it>
24752
24753 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
24754 (__sendto): Use create_address_port. Initialize APORT and deallocate
24755 it if not null.
24756
f98eafbd
PT
24757 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
24758 with O_NOLINK passed to __file_name_lookup.
24759
898c7aab
PT
24760 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
24761 with O_NOLINK passed to __file_name_lookup.
24762
0ced335a
PT
24763 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
24764 negative N or less than NGIDS.
24765
b3404dbd
PT
24766 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
24767 type to string_t. Set ERANGE as errno and return it if NAME is not big
24768 enough. Use memcpy instead of strncpy.
24769
0f48659e
JM
247702012-07-20 Joseph Myers <joseph@codesourcery.com>
24771
24772 * elf/Makefile (check-data): Remove.
24773 (localplt.data): New vpath directive.
24774 ($(objpfx)check-localplt.out): Use localplt.data from vpath
24775 instead of $(check-data).
24776 * scripts/data/localplt-generic.data: Move to ...
24777 * sysdeps/generic/localplt.data: ... here.
24778 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
24779 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
24780 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
24781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
24782 ... here.
24783 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
24784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
24785 ... here.
24786 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
24787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
24788 ... here.
24789 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
24790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
24791 ... here.
24792 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
24793 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
24794 ... here.
24795 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
24796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
24797 ... here.
24798
d37cbdaa
AZ
247992012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24800
24801 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
24802 PPC32 and PPC64 files.
24803 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
24804 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
24805
46f85fc2
AK
248062012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24807
24808 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
24809 __makecontext_ret to ...
24810 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
24811 ... here and call exit if uc_link is NULL. New file.
24812 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
24813 __makecontext_ret.S.
24814 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
24815 __makecontext_ret to ...
24816 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
24817 ... here and call exit if uc_link is NULL. New file.
24818 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
24819 __makecontext_ret.S.
24820
08f43f9b
AK
248212012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24822
24823 * elf/elf.h (R_390_IRELATIVE): New definition.
24824 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
24825 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
24826 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
24827 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24828 (elf_machine_lazy_rel): Likewise.
24829 * sysdeps/s390/dl-irel.h: New file.
24830 * sysdeps/s390/s390-64/memcpy.S: New asm code.
24831 * sysdeps/s390/s390-64/memset.S: New asm code.
24832 * sysdeps/s390/s390-64/memcmp.S: New asm code.
24833 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
24834 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
24835 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
24836 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
24837 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
24838 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
24839 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
24840 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
24841 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
24842 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
24843 * sysdeps/s390/s390-32/memcpy.S: New asm code.
24844 * sysdeps/s390/s390-32/memset.S: New asm code.
24845 * sysdeps/s390/s390-32/memcmp.S: New asm code.
24846
3b05db33
MP
248472012-07-17 Marek Polacek <polacek@redhat.com>
24848
24849 [BZ #14349]
24850 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
24851 * sysdeps/s390/s390-64/configure.in: Likewise.
24852 * sysdeps/sparc/configure.in: Likewise.
24853 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
24854 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
24855 * sysdeps/i386/configure.in: Likewise.
24856 * sysdeps/x86_64/configure.in: Likewise.
24857 * sysdeps/sh/configure.in: Likewise.
24858 * sysdeps/s390/s390-32/configure: Regenerated.
24859 * sysdeps/s390/s390-64/configure: Likewise.
24860 * sysdeps/x86_64/configure: Likewise.
24861 * sysdeps/sh/configure: Likewise.
24862 * sysdeps/powerpc/powerpc64/configure: Likewise.
24863 * sysdeps/powerpc/powerpc32/configure: Likewise.
24864 * sysdeps/sparc/configure: Likwise.
24865 * sysdeps/i386/configure: Likewise.
24866
a66877c6
MP
24867 * elf/dl-open.c: Comment fixes.
24868
cfc82fd8
JM
248692012-07-17 Joseph Myers <joseph@codesourcery.com>
24870
bd29910a
JM
24871 * Makefile [CXX] (check-data): Remove.
24872 [CXX] (c++-types.data): New vpath directive.
24873 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
24874 vpath. Do not allow for C++ type data being missing.
24875 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
24876 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
24877 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
24878 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
24879 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
24880 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
24881 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
24882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
24883 ... here.
24884 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
24885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
24886 ... here.
24887 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
24888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
24889 ... here.
24890 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
24891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
24892 ... here.
24893 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
24894 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
24895 ... here.
24896 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
24897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
24898 ... here.
24899 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
24900 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
24901 ... here.
24902 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
24903 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
24904
cfc82fd8
JM
24905 * elf/tls-macros.h (TLS_LE): Move architecture-specific
24906 definitions to architecture-specific files.
24907 (TLS_IE): Likewise.
24908 (TLS_LD): Likewise.
24909 (TLS_GD): Likewise.
24910 * sysdeps/i386/tls-macros.h: New file.
24911 * sysdeps/powerpc/tls-macros.h: Likewise.
24912 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
24913 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
24914 * sysdeps/sh/tls-macros.h: Likewise.
24915 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
24916 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
24917 * sysdeps/x86_64/tls-macros.h: Likewise.
24918
f7db3170
TS
249192012-07-17 Thomas Schwinge <thomas@codesourcery.com>
24920
07cbfc23
TS
24921 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
24922 zero value for regular exit case.
24923
f7db3170
TS
24924 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24925 (__start_context): Preserve zero value for regular exit case.
24926
dc97c227
TS
249272012-07-17 Thomas Schwinge <thomas@codesourcery.com>
24928 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24929
24930 * manual/setjmp.texi (setcontext): Clarify normal process
24931 termination when uc_link is the null pointer.
24932 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
24933 exit call.
24934
d0cd7d02
AS
249352012-07-16 Andreas Schwab <schwab@linux-m68k.org>
24936
24937 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
24938 preprocessor. Test for each exception mask separately.
24939
dd318934
AJ
249402012-07-16 Andreas Jaeger <aj@suse.de>
24941
24942 * po/ru.po: Update from translation team.
24943
8048311a
JM
249442012-07-15 Joseph Myers <joseph@codesourcery.com>
24945
24946 * conform/data/string.h-data (NULL): Use macro-constant. Require
24947 equal to 0.
24948 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24949 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24950 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
24951 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
24952 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24953
b637d46e
AJ
249542012-07-13 Andreas Jaeger <aj@suse.de>
24955
24956 * po/fr.po: Update from translation team.
24957
541428fe
MP
249582012-07-12 Marek Polacek <polacek@redhat.com>
24959
24960 [BZ #14173]
24961 * math/libm-test.inc (yn_test): Add test for BZ #14173.
24962 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
24963 loop condition.
24964
ec332e94
JM
249652012-07-12 Joseph Myers <joseph@codesourcery.com>
24966
24967 [BZ #13717]
24968 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24969 Change to 2.4.1 where previously 2.4.0.
24970 * sysdeps/unix/sysv/linux/configure: Regenerated.
24971 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
24972 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
24973 version.
24974 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
24975 (__ASSUME_AT_CLKTCK): Remove.
24976 (__ASSUME_AT_PAGESIZE): Likewise.
24977 (__ASSUME_AT_XID): Likewise.
24978 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
24979 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
24980 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
24981 unconditionally.
24982 (HAVE_AUX_PAGESIZE): Likewise.
24983 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
24984 [__ASSUME_AT_CLKTCK]: Make code unconditional.
24985 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
24986
7b6e99be
JB
249872012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
24988
24989 [BZ #14307]
24990 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
24991 the temporary buffer used to invoke __gethostbyname2_r,
24992 __gethostbyaddr_r and gethostbyname4_r to make room for struct
24993 host_data / struct gaih_addrtuple.
24994 * resolv/nss_dns/dns-host.c (global scope): Move definition of
24995 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
24996 header file nss/nsswitch.h.
24997 * nss/nsswitch.h (global scope): Add definition of implementation
24998 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
24999 resolv/nss_dns/dns-host.c).
25000
608404eb
AJ
250012012-07-11 Andreas Jaeger <aj@suse.de>
25002
25003 * po/fr.po: Update from translation team.
25004
71220aca
AJ
25005 * po/sv.po: Update from translation team
25006 * po/fr.po: Another update from translation team.
25007
28cfe843
AZ
250082012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25009
25010 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25011 for subnormals or multiply small sinh result by itself.
25012 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25014
6b90f981
DM
250152012-07-11 David S. Miller <davem@davemloft.net>
25016
25017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25018
c6825772
AS
250192012-07-10 Andreas Schwab <schwab@linux-m68k.org>
25020
25021 [BZ #14347]
25022 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25023 (INTERNAL_MARK): Shift it here.
25024
7b8e0d49
MP
250252012-07-10 Marek Polacek <polacek@redhat.com>
25026
25027 [BZ #14151]
25028 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
25029 libc_cv_asm_global_directive with .globl.
25030 * configure: Regenerated.
25031 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25032 with .globl.
25033 * sysdeps/i386/configure: Regenerated.
25034 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25035 with .globl.
25036 * sysdeps/x86_64/configure: Regenerated.
25037 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25038 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25039 * elf/tst-unique2mod2.c: Likewise.
25040 * elf/tst-unique2mod1.c: Likewise.
25041 * elf/tst-unique1mod2.c: Likewise.
25042 * elf/tst-unique1mod1.c: Likewise.
25043 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25044 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25045 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25046 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25047 * sysdeps/mach/sysdep.h: Likewise.
25048 * sysdeps/i386/sysdep.h: Likewise.
25049 * sysdeps/i386/i386-mcount.S: Likewise.
25050 * sysdeps/x86_64/_mcount.S: Likewise.
25051 * sysdeps/x86_64/sysdep.h: Likewise.
25052 * sysdeps/sh/_mcount.S: Likewise.
25053 * sysdeps/sh/sysdep.h: Likewise.
25054 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25055 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25056 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25057 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25058 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25059 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25060 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25061 * locale/localeinfo.h: Likewise.
25062 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25063 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25064
6c55cda3
RM
250652012-07-09 Roland McGrath <roland@hack.frob.com>
25066
25067 [BZ #14336]
25068 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25069 system".
25070 * manual/message.texi (The Uniforum approach): Likewise.
25071 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25072 (glibc iconv Implementation): Likewise.
25073
638a572e
JM
250742012-07-09 Joseph Myers <joseph@codesourcery.com>
25075
25076 [BZ #14337]
25077 * math/s_clog.c (__clog): Avoid scaling a value down where that
25078 could result in underflow.
25079 * math/s_clog10.c (__clog10): Likewise.
25080 * math/s_clog10f.c (__clog10f): Likewise.
25081 * math/s_clog10l.c (__clog10l): Likewise.
25082 * math/s_clogf.c (__clogf): Likewise.
25083 * math/s_clogl.c (__clogl): Likewise.
25084 * math/libm-test.inc (clog_test): Add more tests.
25085 (clog10_test): Likewise.
25086 * sysdeps/i386/fpu/libm-test-ulps: Update.
25087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25088
261f4859
AS
250892012-07-06 Andreas Schwab <schwab@linux-m68k.org>
25090
0abaf3e4
AS
25091 [BZ #14283]
25092 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25093 by 7 not 8 to examine high bit of fractional part.
25094
261f4859
AS
25095 [BZ #14042]
25096 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25097 for call to __mcount_internal.
25098 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25099 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25100 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25101
f17ac40d
JM
251022012-07-06 Joseph Myers <joseph@codesourcery.com>
25103
9ad63c23
JM
25104 [BZ #14154]
25105 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25106 approximation for values within 0x1p-13f of an odd multiple of
25107 pi/4.
25108 * math/libm-test.inc (tan_test): Do not allow spurious underflow
25109 exception. Add more tests.
25110 * sysdeps/i386/fpu/libm-test-ulps: Update.
25111
f17ac40d
JM
25112 [BZ #6778]
25113 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25114 inputs and return -1 for them. Do not check for +Inf in case not
25115 reachable for +Inf.
25116 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25117 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25118 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25119 and return -1 for them. Do not check for +Inf in case not
25120 reachable for +Inf.
25121 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25122 define.
25123 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25124 and return -1 for them. Do not check for +Inf in case not
25125 reachable for +Inf.
25126 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
25127 spurious underflow.
25128 * sysdeps/i386/fpu/libm-test-ulps: Update.
25129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25130
fb21f89b
MF
251312012-07-06 Mike Frysinger <vapier@gentoo.org>
25132
25133 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25134
cdfe2c5e
JM
251352012-07-05 Joseph Myers <joseph@codesourcery.com>
25136
25137 [BZ #14157]
25138 [BZ #14331]
25139 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25140 could result in spurious underflow. Scale down values above
25141 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25142 * math/s_csqrtf.c (__csqrtf): Likewise.
25143 * math/s_csqrtl.c (__csqrtl): Likewise.
25144 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
25145 spurious underflow.
25146 * sysdeps/i386/fpu/libm-test-ulps: Update.
25147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25148
70d35b67
AS
251492012-07-04 Andreas Schwab <schwab@linux-m68k.org>
25150
704bc459
AS
25151 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25152 xopen-msg.sed.
25153 * catgets/xopen-msg.awk: New file.
25154 * catgets/xopen-msg.sed: Removed.
25155
70d35b67
AS
25156 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25157 po2text.sed.
25158 * intl/po2test.awk: New file.
25159 * intl/po2test.sed: Removed.
25160
ca61cf32
JM
251612012-07-04 Joseph Myers <joseph@codesourcery.com>
25162
25163 [BZ #14328]
25164 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25165 or multiply small sinh result by itself.
25166 * math/s_ctanf.c (__ctanf): Likewise.
25167 * math/s_ctanh.c (__ctanh): Likewise.
25168 * math/s_ctanhf.c (__ctanhf): Likewise.
25169 * math/s_ctanhl.c (__ctanhl): Likewise.
25170 * math/s_ctanl.c (__ctanl): Likewise.
25171 * math/libm-test.inc (ctan_test_tonearest): New function.
25172 (ctan_test_towardzero): Likewise.
25173 (ctan_test_downward): Likewise.
25174 (ctan_test_upward): Likewise.
25175 (ctanh_test_tonearest): Likewise.
25176 (ctanh_test_towardzero): Likewise.
25177 (ctanh_test_downward): Likewise.
25178 (ctanh_test_upward): Likewise.
25179 (main): Call these new functions.
25180 * sysdeps/i386/fpu/libm-test-ulps: Update.
25181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25182
ca48a46a
MF
251832012-07-03 Mike Frysinger <vapier@gentoo.org>
25184
25185 * .gitignore: Delete /ports entry.
25186
9d63d37d
AJ
251872012-07-03 Andreas Jaeger <aj@suse.de>
25188
25189 * po/bg.po: Update from translation team.
25190 * po/cs.po: Likewise.
25191 * po/de.po: Likewise.
25192 * po/hr.po: Likewise.
25193 * po/nl.pl: Likewise.
25194 * po/pl.po: Likewise.
25195 * po/vi.po: Likewise.
25196
370ca3d2
JM
251972012-07-03 Joseph Myers <joseph@codesourcery.com>
25198
95f5a9a8
JM
25199 * Makeconfig [!+link] (+link-before-libc): New variable.
25200 [!+link] (+link-after-libc): Likewise.
25201 [!+link] (+link-tests): Likewise.
25202 [!+link] (+link): Define in terms of $(+link-before-libc) and
25203 $(+link-after-libc).
25204 [!+link-static] (+link-static-before-libc): New variable.
25205 [!+link-static] (+link-static-after-libc): Likewise.
25206 [!+link-static] (+link-static-tests): Likewise.
25207 [!+link-static] (+link-static): Define in terms of
25208 $(+link-static-before-libc) and $(+link-static-after-libc).
25209 [build-shared] (link-libc-before-gnulib): New variable.
25210 [build-shared] (link-libc-tests): Likewise.
25211 [build-shared] (link-libc): Define in terms of
25212 $(link-libc-before-gnulib).
25213 [!build-shared] (link-libc-tests): New variable.
25214 (link-libc-static-tests): New variable.
25215 [!gnulib] (gnulib-arch): New variable.
25216 [!gnulib] (gnulib-tests): Likewise.
25217 [!gnulib] (static-gnulib-arch): Likewise.
25218 [!gnulib] (static-gnulib-tests): Likewise.
25219 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
25220 Define with "=" instead of ":=".
25221 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
25222 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
25223 * Rules (binaries-all-notests): New variable.
25224 (binaries-all-tests): Likewise.
25225 (binaries-static-notests): Likewise.
25226 (binaries-static-tests): Likewise.
25227 (binaries-all): Define using $(binaries-all-notests) and
25228 $(binaries-all-tests).
25229 (binaries-static): Define using $(binaries-static-notests) and
25230 $(binaries-static-tests).
25231 (binaries-shared-tests): New variable.
25232 (binaries-shared-notests): Likewise.
25233 (binaries-shared): Remove variable.
25234 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25235 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25236 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25237 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25238 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25239 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25240 * elf/Makefile (sln-modules): New variable.
25241 (extra-objs): Add $(sln-modules:=.o).
25242 (ldconfig-modules): Add static-stubs.
25243 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25244 * elf/static-stubs.c: New file.
25245
7a845b2c
JM
25246 [BZ #14283]
25247 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25248 by 7 not 8 to examine high bit of fractional part. Use volatile
25249 variables when splitting into final array of floats if
25250 __FLT_EVAL_METHOD__ != 0.
25251 * math/libm-test.inc (cos_test): Add another test.
25252 (sin_test): Likewise.
25253 * sysdeps/i386/fpu/libm-test-ulps: Update.
25254
e2283f38
JM
25255 [BZ #14273]
25256 * math/libm-test.inc (cosh_test): Add more tests.
25257
370ca3d2
JM
25258 * version.h (RELEASE): Set to "development".
25259 (VERSION): Set to "2.16.90".
25260
ee9247c3
CD
252612012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
25262
25263 * NEWS: Update copyright. Remove last-updated date.
25264 Mention math library bug fixes and timezone data changes.
25265 * README: Mention GNU/Hurd, x32, and HPPA support status.
25266
4648c381
TS
252672012-06-28 Thomas Schwinge <thomas@codesourcery.com>
25268
25269 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
25270
aac78a43
AJ
252712012-06-27 Andreas Jaeger <aj@suse.de>
25272
25273 * manual/contrib.texi (Contributors): Add Samuel Thibault.
25274
ed3dbfad
AJ
252752012-06-25 Andreas Jaeger <aj@suse.de>
25276
25277 * sysdeps/s390/fpu/libm-test-ulps: Update.
25278
4d0ee855
AS
252792012-06-23 Andreas Schwab <schwab@linux-m68k.org>
25280 Thomas Schwinge <thomas@codesourcery.com>
25281
25282 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
25283 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
25284 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
25285 fanotify_mark.
25286
af1bce34
TS
252872012-06-23 Thomas Schwinge <thomas@codesourcery.com>
25288
a9fa33ba
TS
25289 * sysdeps/mach/start.c: Remove file.
25290 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
25291 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
25292 * sysdeps/sh/init-first.c: Likewise.
25293
58f902b8
TS
25294 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
25295 registers for frame unwinding purposes, add CFI directives.
25296 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25297 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
25298 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
25299 Likewise.
25300
1518f58b
TS
25301 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
25302 __fortify_fail returning.
25303 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25304
db9b5059
TS
25305 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
25306 sysdeps/sh/____longjmp_chk.S.
25307 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
25308 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
25309 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
25310 (gen-as-const-headers): Append sigaltstack-offsets.sym.
25311
967705fe
TS
25312 * sysdeps/sh/abort-instr.h: New file.
25313 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
25314 process in case exit returns.
25315
a9def8c4
TS
25316 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
25317 initialize the GOT register before use.
25318
2a649725
TS
25319 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
25320 calculation of ARGC > 4.
25321
af1bce34
TS
25322 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
25323 meaningful names to some local labels.
25324
d230f50a
KK
253252012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25326 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25327
25328 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
25329 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
25330 (__arch_compare_and_exchange_val_16_acq): Likewise.
25331 (__arch_compare_and_exchange_val_32_acq): Likewise.
25332 (atomic_exchange_and_add): Fix gUSA sequence.
25333 (atomic_add): Likewise.
25334 (atomic_add_negative): Likewise.
25335 (atomic_add_zero): Likewise.
25336 (atomic_bit_test_set): Likewise.
25337
0479b305
AS
253382012-06-22 Andreas Schwab <schwab@redhat.com>
25339
25340 [BZ #13579]
25341 * include/link.h (struct link_map): Add l_free_initfini.
25342 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
25343 l_initfini.
25344 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
25345 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
25346 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
25347 set.
25348
0e3933b9
CD
253492012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
25350
25351 * configure.in: Use AC_LANG_SOURCE.
25352 * configure: Regenerate.
25353
4248b1b1
RM
253542012-06-22 Roland McGrath <roland@hack.frob.com>
25355
25356 * configure.in (libc_cv_localstatedir): New substituted variable.
25357 * configure: Regenerated.
25358 * config.make.in (localstatedir): New variable, substituted from
25359 libc_cv_localstatedir.
25360 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
25361 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
25362 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
25363 * sysdeps/gnu/configure: Regenerated.
25364
006dd861
JL
253652012-06-21 Jeff Law <law@redhat.com>
25366
25367 [BZ #14277]
25368 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
25369 free. Simplify list management for _LIBC case.
25370
79662d42
JM
253712012-06-21 Joseph Myers <joseph@codesourcery.com>
25372
b7abb4bf
JM
25373 [BZ #14273]
25374 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
25375 Clear sign bit of 64-bit integer value before comparing against
25376 overflow value.
25377
79662d42
JM
25378 * sysdeps/mach/configure: Regenerated.
25379
1f150908
L
253802012-06-21 H.J. Lu <hongjiu.lu@intel.com>
25381
25382 [BZ #14278]
25383 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
25384
28363bbf
JL
253852012-06-21 Jeff Law <law@redhat.com>
25386
25387 [BZ #13882]
25388 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
25389 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 25390 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
25391 * elf/dl-open.c (dl_open_worker): Likewise.
25392
09615db4
CD
253932012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
25394
25395 * scripts/list-sources.sh: Scan PORTS for translations.
25396 * po/libc.pot: Regenerated.
25397
2174c6dd
AJ
253982012-06-21 Andreas Jaeger <aj@suse.de>
25399
25400 [BZ #12194]
25401 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
25402 warning.
25403 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
25404 * bits/byteswap-16.h (__bswap_16): Likewise.
25405 * bits/byteswap.h (__bswap_constant_16): Likewise.
25406
3ee947b1
L
254072012-06-18 H.J. Lu <hongjiu.lu@intel.com>
25408
25409 [BZ #14117]
a2f34833
L
25410 * sysdeps/i386/fpu_control.h: Removed.
25411 * sysdeps/x86_64/fpu_control.h: Moved to ...
25412 * sysdeps/x86/fpu_control.h: Here.
25413
3ee947b1
L
25414 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
25415 (_FPU_SETCW): Likewise.
25416
ed1825f8
L
254172012-06-15 H.J. Lu <hongjiu.lu@intel.com>
25418
25f1282a
L
25419 [BZ #14117]
25420 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
25421 * sysdeps/x86/fpu/bits/mathinline.h: This.
25422 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
25423
ed1825f8
L
25424 [BZ #14050]
25425 [BZ #14117]
25426 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
25427 functions if __x86_64__ is defined.
25428
36d54b74
CLT
254292012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
25430
25431 * string/endian.h: Add !__ASSEMBLER__ condition for including
25432 conversion interfaces.
25433
10285c21
JM
254342012-06-15 Joseph Myers <joseph@codesourcery.com>
25435
25436 [BZ #14241]
25437 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
25438 of ABS(x) in calculating zero to negative powers other than odd
25439 integers.
25440 * math/libm-test.inc (pow_test): Add more tests.
25441
06c5abbd
AJ
254422012-06-15 Andreas Jaeger <aj@suse.de>
25443
25444 * manual/contrib.texi (Contributors): Update entry of Liubov
25445 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
25446 Machado Filho.
25447
a3aeac40
CH
254482012-06-15 Cyril Hrubis <metan@ucw.cz>
25449
25450 * string/string.h: Add __wur to GNU version of strerror_r.
25451
49bdf4c1
L
254522012-06-14 H.J. Lu <hongjiu.lu@intel.com>
25453
25454 [BZ #14229]
25455 * string/Makefile (tests): Add tst-strtok_r.
25456 * string/tst-strtok_r.c: New file.
25457 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
25458 RAX_LP/RDX_LP on SAVE_PTR.
25459
834f9b8d
RM
254602012-06-14 Roland McGrath <roland@hack.frob.com>
25461
25462 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
25463
75fa1921
JM
254642012-06-14 Joseph Myers <joseph@codesourcery.com>
25465
25466 * libm_test.inc (csqrt_test): Allow more spurious underflow
25467 exceptions.
25468 (j0_test): Likewise.
25469 (j1_test): Likewise.
25470 (y0_test): Likewise.
25471 (y1_test): Likewise.
25472
771766df
CD
254732012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
25474
25475 * po/Makefile (libc.pot): Use UTF-8 charset.
25476
ceb9e56b
PP
254772012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
25478
25479 [BZ #14210]
25480 Suppress sign-conversion warning from FD_SET.
25481 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
25482 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
25483 not unsigned long int.
25484 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
25485
ddb28975
L
254862012-06-12 H.J. Lu <hongjiu.lu@intel.com>
25487
25488 [BZ #14050]
25489 [BZ #14117]
25490 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
25491 __extern_always_inline instead of __extern_inline.
25492 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
25493 (__signbit): Likewise.
25494 (__signbitl): Support C++ namespace.
25495 (lrintf): New inline function.
25496 (lrint): Likewise.
25497 (llrintf): Likewise.
25498 (llrint): Likewise.
25499 (fmaxf): Likewise.
25500 (fmax): Likewise.
25501 (fminf): Likewise.
25502 (fmin): Likewise.
25503 (rint): Likewise.
25504 (rintf): Likewise.
25505 (ceil): Likewise.
25506 (ceilf): Likewise.
25507 (floor): Likewise.
25508 (floorf): Likewise.
25509 (nearbyint): Likewise.
25510 (nearbyintf): Likewise.
25511
d7b4fb26
TS
255122012-06-12 Thomas Schwinge <thomas@codesourcery.com>
25513
25514 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
25515 non-default versions.
25516
eb55f5c2
RM
255172012-06-11 Roland McGrath <roland@hack.frob.com>
25518
25519 [BZ #14218]
25520 * manual/argp.texi (Argp): Reword argp_parse description slightly.
25521
366af02c
TS
255222012-06-09 Thomas Schwinge <thomas@codesourcery.com>
25523
99ff6e5c
TS
25524 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
25525 (FE_UPWARD, FE_DOWNWARD): Don't define.
25526 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
25527 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25528
366af02c
TS
25529 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
25530 reading it.
25531 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
25532 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25533
793ea851
KK
255342012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25535
25536 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25537 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
25538 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
25539 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
25540
a728a38f
L
255412012-06-06 H.J. Lu <hongjiu.lu@intel.com>
25542
25543 [BZ #14117]
c08010c7
L
25544 * sysdeps/i386/fpu/bits/fenv.h: Removed.
25545 * sysdeps/i386/fpu/Implies: New file.
25546 * sysdeps/x86_64/fpu/Implies: Likewise.
25547 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
25548 * sysdeps/x86/fpu/bits/fenv.h: This.
25549
a728a38f
L
25550 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
25551 __SSE_MATH__.
25552
6e230d11
SP
255532012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25554
25555 [BZ #14134]
25556 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
25557 character 0xffff that matches the last element of the
25558 conversion table.
25559
1b671feb
AZ
255602012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25561
25562 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
25563 fmodl commit.
25564
6043738b
AZ
255652012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25566
25567 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
25568 values higher than 25.6283.
25569
34ae0b32
AZ
255702012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25571
25572 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
25573 subnormal exponent extraction and add some __builtin_expect.
25574 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
25575 Fix for subnormal mantissa calculation.
25576
1214ec8f
MF
255772012-06-04 Mike Frysinger <vapier@gentoo.org>
25578
25579 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
25580 cpu2 is -1 and errno is not ENOSYS.
25581
f3d1f93c
L
255822012-06-04 H.J. Lu <hongjiu.lu@intel.com>
25583
25584 [BZ #14117]
0e4a3cd7
L
25585 * sysdeps/i386/i486/bits/string.h: Renamed to ...
25586 * sysdeps/x86/bits/string.h: This.
25587 * sysdeps/x86_64/bits/string.h: Removed.
25588
6704c645
L
25589 * sysdeps/i386/i486/bits/string.h: Define inline functions only
25590 if not compiling for x86-64, but compiling for >= i486.
25591
48495318
L
25592 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
25593 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
25594
14adcbfc
L
25595 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
25596 New macro from Linux kernel 3.4.0.
25597 (FP_XSTATE_MAGIC2): Likewise.
25598 (FP_XSTATE_MAGIC2_SIZE): Likewise.
25599 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
25600 (struct _fpx_sw_bytes): New struct.
25601 (struct _xsave_hdr): Likewise.
25602 (struct _ymmh_state): Likewise.
25603 (struct _xstate): Likewise.
25604
68e408ab
L
25605 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
25606 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
25607 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
25608 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
25609 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
25610 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
25611
f3d1f93c
L
25612 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
25613 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
25614 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
25615 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
25616 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
25617 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
25618
d9dc34cd
TMQMF
256192012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25620
25621 [BZ #13743]
25622 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
25623 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
25624 (sysdep_headers): Include sys/platform/ppc.h.
25625 * sysdeps/powerpc/test-gettimebase.c: Test for
25626 __ppc_get_timebase() to catch future ISA opcode/insn changes.
25627 * manual/Makefile (appendices): Include platform.texi.
25628 * manual/contrib.texi (Contributors): Update @node pointers.
25629 * manual/maint.texi (Maintenance): Likewise.
25630 (Platform): New node.
25631 * manual/platform.texi: New file. Document the new features.
25632
4af3879c
SP
256332012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25634 Jakub Jelinek <jakub@redhat.com>
25635
25636 [BZ #14188]
25637 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
25638 where __builtin_expect is unavailable.
25639
2fd6ff13
DM
256402012-06-03 David S. Miller <davem@davemloft.net>
25641
25642 * stdlib/longlong.h: Updated from GCC.
25643
173f7220
AS
256442012-06-02 Andreas Schwab <schwab@linux-m68k.org>
25645
25646 [BZ #14042]
25647 * sysdeps/powerpc/powerpc32/mcount.c: New file.
25648 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
25649 __mcount_internal.
25650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25651 (GLIBC_2.16): Likewise.
25652
f34a1c6f
L
256532012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25654
25655 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
25656
88a4576f
JM
256572012-06-01 Joseph Myers <joseph@codesourcery.com>
25658
ea32bcdd
JM
25659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
25660 (default-abi): New variable.
25661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
25662 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
25663 variable.
25664 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
25665 Likewise.
25666 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
25667 Likewise.
25668 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
25669 Likewise.
25670
88a4576f
JM
25671 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
25672 definition. Document in comment.
25673
402fe938
DM
256742012-06-01 David S. Miller <davem@davemloft.net>
25675
25676 * stdlib/longlong.h: Updated from GCC.
25677
3553723f
L
256782012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25679
25680 [BZ #14117]
3bd872c4
L
25681 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
25682 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
25683 sys/debugreg.h sys/io.h here.
25684 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
25685 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
25686 sys/io.h.
25687 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
25688 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
25689 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
25690 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
25691 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
25692 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
25693
3553723f
L
25694 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
25695 Define only if __x86_64__ is defined.
25696
4842e4fe
JM
256972012-06-01 Joseph Myers <joseph@codesourcery.com>
25698
c5bfe3d5
JM
25699 [BZ #14048]
25700 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
25701 Use int64_t for variable i.
25702 * math/libm-test.inc (fmod_test): Add more tests.
25703
4842e4fe
JM
25704 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
25705 z computation is not scheduled after fetestexcept.
25706 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
25707 Use math_force_eval instead of asm to ensure calculation scheduled
25708 before exception test.
25709 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
25710 Ensure a1 + u.d computation is not scheduled after fetestexcept.
25711
efb73488
AJ
257122012-06-01 Aurelien Jarno <aurelien@aurel32.net>
25713
25714 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
25715 computation is not scheduled after fetestexcept.
25716
29bcce7c
L
257172012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25718
25719 [BZ #14117]
25720 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
25721 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
25722
73a68f94
AZ
257232012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25724
25725 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
25726 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25727
67b6df78
L
257282012-05-31 H.J. Lu <hongjiu.lu@intel.com>
25729
edf2933a 25730 [BZ #14117]
ebc64a18
L
25731 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
25732 <bits/wordsize.h>.
25733 (__WCHAR_MIN): Support __WORDSIZE == 64.
25734 (__WCHAR_MAX): Likewise.
25735
edf2933a
L
25736 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
25737 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
25738
57c6cf40
L
25739 [BZ #14183]
25740 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
25741 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
25742
67b6df78 25743 [BZ #14117]
8eb6281e
L
25744 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
25745 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
25746
aac639f4
L
25747 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
25748 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
25749
67b6df78
L
25750 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
25751 Defined to 1 if __x86_64__ isn't defined.
25752 (_STAT_VER_LINUX_OLD): New.
25753 (st_atime): Remove duplicate.
25754 (st_mtime): Likewise.
25755 (st_ctime): Likewise.
25756
1c2cfe81
DM
257572012-05-31 David S. Miller <davem@davemloft.net>
25758
25759 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
25760 entries.
25761
5be8418c
AS
257622012-06-01 Andreas Schwab <schwab@linux-m68k.org>
25763
e7725326
AS
25764 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
25765 gen-libm-test.pl.
25766
5be8418c
AS
25767 [BZ #14132]
25768 * elf/dl-reloc.c: Include <_itoa.h>.
25769 (_dl_reloc_bad_type): Remove use of INTUSE.
25770 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
25771 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
25772 * stdio-common/psiginfo.c (psiginfo): Likewise.
25773 * stdio-common/psignal.c (psignal): Likewise.
25774 * string/strsignal.c (strsignal): Likewise.
25775 * include/signal.h (_sys_siglist): Declare hidden proto.
25776 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
25777 INTVARDEF with libc_hidden_data_def.
25778 * stdio-common/itoa-udigits.c: Likewise.
25779 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
25780 (_itoa_lower_digits_internal): Remove declaration.
25781 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
25782 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
25783 (_sys_sigabbrev_internal): Remove aliases.
25784 (_sys_siglist): Define hidden alias.
25785
507352f1
MT
257862012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
25787
25788 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25789 bits/sysctl.h.
25790
42bbb1c3
L
257912012-05-31 H.J. Lu <hongjiu.lu@intel.com>
25792
25793 [BZ #14117]
6bd784b6
L
25794 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
25795 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
25796
8bca20f0
L
25797 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
25798 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
25799 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
25800 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
25801 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
25802 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
25803
f9e890a9
L
25804 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
25805 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
25806 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
25807
471101a1
L
25808 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
25809 with __addr.
25810 (insw): Likewise.
25811 (insl): Likewise.
25812 (outsb): Likewise.
25813 (outsw): Likewise.
25814 (outsl): Likewise.
25815
6451c862
L
25816 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
25817 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
25818 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
25819
a254b8c9
L
25820 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
25821 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
25822 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
25823 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
25824 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
25825 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
25826
b8dfdd92
L
25827 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
25828 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
25829
578cd270
L
25830 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
25831 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
25832
de662f5f
L
25833 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
25834 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
25835 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
25836
25653439
L
25837 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
25838 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
25839 to ...
25840 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
25841
6bad24a0
L
25842 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
25843 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
25844 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
25845
42bbb1c3
L
25846 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
25847 for x86-64.
25848 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
25849
2d10d547
JM
258502012-05-31 Joseph Myers <joseph@codesourcery.com>
25851
25852 * math/math.h (M_El): Use two more decimal places.
25853 (M_LOG2El): Likewise.
25854 (M_LOG10El): Likewise.
25855 (M_LN2l): Likewise.
25856 (M_LN10l): Likewise.
25857 (M_PIl): Likewise.
25858 (M_PI_2l): Likewise.
25859 (M_PI_4l): Likewise.
25860 (M_1_PIl): Likewise.
25861 (M_2_PIl): Likewise.
25862 (M_2_SQRTPIl): Likewise.
25863 (M_SQRT2l): Likewise.
25864 (M_SQRT1_2l): Likewise.
25865
f230c29b
DM
258662012-05-31 David S. Miller <davem@davemloft.net>
25867
25868 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
25869 values between float registers.
25870 * sysdeps/sparc/sparc64/memset.S: Likewise.
25871 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25872
fed806c3
MF
258732012-05-31 Mike Frysinger <vapier@gentoo.org>
25874
25875 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
25876 -D_FORTIFY_SOURCE=1.
25877 (CPPFLAGS-tst-longjmp_chk.c): Define.
25878 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
25879 (CPPFLAGS-tst-longjmp_chk2.c): Define.
25880 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
25881 CFLAGS-tst-wchar-h.c.
25882
30917259
MP
258832012-05-31 Marek Polacek <polacek@redhat.com>
25884
25885 [BZ #14132]
25886 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
25887 __endmntent_internal): Remove declaration.
25888 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
25889 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
25890 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
25891
1c58d5dc
DM
258922012-05-30 David S. Miller <davem@davemloft.net>
25893
25894 * sysdeps/sparc/sparc32/soft-fp/q_util.c
25895 (___Q_simulate_exceptions): Use real FP ops rather than writing
25896 into the %fsr.
25897 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
25898 Likewise.
25899
7dc00e0d
L
259002012-05-30 H.J. Lu <hongjiu.lu@intel.com>
25901
25902 [BZ #14117]
0bd53985
L
25903 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
25904 * sysdeps/x86/bits/xtitypes.h: This.
25905
3a257e66
L
25906 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
25907 * sysdeps/x86/bits/wordsize.h: This.
25908
62f62904
L
25909 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
25910 * sysdeps/x86/bits/huge_vall.h: This.
25911
404fe9d9
L
25912 * sysdeps/i386/bits/select.h: Removed.
25913 * sysdeps/x86_64/bits/select.h: Renamed to ...
25914 * sysdeps/x86/bits/select.h: This.
25915
d48d0446
L
25916 * sysdeps/i386/bits/setjmp.h: Removed.
25917 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
25918 * sysdeps/x86/bits/setjmp.h: This.
25919
7dc00e0d
L
25920 * sysdeps/i386/bits/mathdef.h: Removed.
25921 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
25922 * sysdeps/x86/bits/mathdef.h: This.
25923
03277f8f
AS
259242012-05-30 Andreas Schwab <schwab@linux-m68k.org>
25925
25926 [BZ #14132]
25927 * include/sys/socket.h (__connect_internal)
25928 (__libc_sa_len_internal): Remove declaration.
25929 (__connect, __libc_sa_len): Declare hidden_proto.
25930 (SA_LEN): Remove use of INTUSE.
25931 * socket/connect.c: Add libc_hidden_def.
25932 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
25933 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
25934 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
25935 alias.
25936 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
25937 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
25938 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
25939 of adding _internal alias.
25940
13764867
L
259412012-05-30 H.J. Lu <hongjiu.lu@intel.com>
25942
25943 [BZ #14117]
6bd97696
L
25944 * sysdeps/i386/bits/link.h: Removed.
25945 * sysdeps/i386/bits/linkmap.h: Likewise.
25946 * sysdeps/x86_64/bits/link.h: Renamed to ...
25947 * sysdeps/x86/bits/link.h: This.
25948 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
25949 * sysdeps/x86/bits/linkmap.h: This.
25950
f726f0bb
L
25951 * sysdeps/i386/bits/endian.h: Removed.
25952 * sysdeps/x86_64/bits/endian.h: Renamed to ...
25953 * sysdeps/x86/bits/endian.h: This.
25954
13764867
L
25955 * sysdeps/i386/bits/byteswap.h: Removed.
25956 * sysdeps/i386/bits/byteswap-16.h: Likewise.
25957 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
25958 * sysdeps/x86/bits/byteswap.h: This.
25959 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
25960 * sysdeps/x86/bits/byteswap-16.h: This.
25961 * sysdeps/i386/Implies: Add x86.
25962 * sysdeps/x86_64/Implies: Likewise.
25963
ae251b0b
DM
259642012-05-30 David S. Miller <davem@davemloft.net>
25965
25966 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
25967 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
25968 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
25969 (FP_TRAPPING_EXCEPTIONS): Define.
25970 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
25971 (FP_TRAPPING_EXCEPTIONS): Define.
25972 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
25973 subnormals only when inexact has been signalled or underflow
25974 exceptions are enabled.
25975 (_FP_PACK_CANONICAL): Likewise.
25976
d5c90867
L
259772012-05-30 H.J. Lu <hongjiu.lu@intel.com>
25978
25979 [BZ #14183]
25980 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
25981 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
25982
63f1549e
RH
259832012-05-30 Richard Henderson <rth@twiddle.net>
25984
8d8f2279
RH
25985 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
25986 with #ifndef NOT_IN_libc.
25987
63f1549e
RH
25988 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
25989 marked to avoid plt entry.
25990
0ab0291b
L
259912012-05-30 H.J. Lu <hongjiu.lu@intel.com>
25992
25993 [BZ #14112]
25994 * Makeconfig (default-abi): New macro.
25995 (abi-includes): Likewise.
25996 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
25997 $(abi-$(default-abi)-lib-soname) for soname if defined.
25998 ($(common-objpfx)gnu/lib-names.stmp): Generate from
25999 abi-variants.
26000 * Makefile (installed-stubs): Likewise.
26001 * include/stubs-biarch.h: Removed.
26002 * scripts/lib-names.awk: Only handle one library at a time.
26003 * scripts/soversions.awk: Remove WORDSIZE support.
26004 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26005 entries.
26006 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26007 Removed.
26008 (syscall-list-default-condition): Likewise.
26009 (syscall-list-default-condition): Likewise.
26010 (syscall-list-includes): Likewise.
26011 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26012 syscall-list-* with abi-*. Handle undefined abi-variants.
26013 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26014 * sysdeps/unix/sysv/linux/i386/Implies: New file.
26015 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26016 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26017 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26018 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26019 Removed.
26020 (syscall-list-32-options): Likewise.
26021 (syscall-list-32-condition): Likewise.
26022 (syscall-list-64-options): Likewise.
26023 (syscall-list-64-condition): Likewise.
26024 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26025 macro.
26026 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26027 Renamed to ...
26028 (abi-*): This.
26029 (abi-64-ld-soname): New macro.
26030 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26031 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26032 Renamed to ...
26033 (abi-*): This.
26034 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26035 * sysdeps/x86_64/x32/shlib-versions: Likewise.
26036
4da0431d
JM
260372012-05-30 Joseph Myers <joseph@codesourcery.com>
26038
3a85279c
JM
26039 * sysdeps/unix/sysv/linux/kernel-features.h
26040 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26041 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26042 include <kernel-features.h>.
26043 [!__NR_ftruncate64]: Remove conditional code.
26044 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26045 [__NR_ftruncate64]: Make code unconditional.
26046 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26047 * sysdeps/unix/sysv/linux/truncate64.c: Do not
26048 include <kernel-features.h>.
26049 [!__NR_ftruncate64]: Remove conditional code.
26050 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26051 [__NR_ftruncate64]: Make code unconditional.
26052 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26054 include <kernel-features.h>.
26055 [!__NR_ftruncate64]: Remove conditional code.
26056 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26057 [__NR_ftruncate64]: Make code unconditional.
26058 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26060 include <kernel-features.h>.
26061 [!__NR_ftruncate64]: Remove conditional code.
26062 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26063 [__NR_ftruncate64]: Make code unconditional.
26064 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26065
4da0431d
JM
26066 * configure.in (libc_cv_fpie): Weaken to a compile test using
26067 LIBC_TRY_CC_OPTION.
26068 * configure: Regenerated.
26069
11ef492c
AK
260702012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26071
26072 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26074 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26076 Refreshed.
26077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26083 Refreshed.
26084
d66ef399
DM
260852012-05-27 David S. Miller <davem@davemloft.net>
26086
26087 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26088 (___Q_zero): New.
26089 (__Q_simulate_exceptions): Return void. Change to simulate
26090 exceptions by writing into the %fsr.
26091 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26092 (__Qp_handle_exceptions): Likewise.
26093 (numbers): Delete.
26094 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26095 __Qp_handle_exceptions.
26096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26097 __Qp_handle_exceptions.
26098 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26099 as unused and give dummy FP_RND_NEAREST initializer.
26100 (FP_INHIBIT_RESULTS): Define.
26101 (___Q_simulate_exceptions): Update declaration.
26102 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26103 formatting.
26104 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26105 as unused and give dummy FP_RND_NEAREST initializer.
26106 (__Qp_handle_exceptions): Update declaration.
26107 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26108 formatting.
26109
04fb54b5
TS
261102012-05-27 Thomas Schwinge <thomas@codesourcery.com>
26111
26112 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26113 the temporary FPU control word.
26114 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26115 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26116 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26117 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26118 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26119 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26120 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26121 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26122 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26123 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26124 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26125
3f99608f
KK
261262012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26127
26128 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26129 fields.
26130
65a4de4e
CLT
261312012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
26132
26133 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26134 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26135 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26136 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26137 Likewise.
26138 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26139 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26140 Likewise.
26141
15749d40
UD
261422012-05-27 Ulrich Drepper <drepper@gmail.com>
26143
26144 * po/h.po: Update from translation team.
26145
25dbcb27
AS
261462012-05-26 Andreas Schwab <schwab@linux-m68k.org>
26147
3d3f8e55
AS
26148 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26149
25dbcb27
AS
26150 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26151 handling of denormals.
26152 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26153 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26154 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26155 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26156 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26157 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26158 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26159 Likewise.
26160
7ad47a80 261612012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
26162
26163 [BZ #14152]
26164 * math/libm-test.inc (fma_test): Don't always expect underflow
26165 exception.
26166
9c6ea9fa
SP
261672012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26168
26169 [BZ #12416]
26170 * elf/tst-execstack.c: Include stackinfo.h.
26171 (do_test): Adjust test case to ensure that pthread_getattr_np
26172 behaviour remains the same after marking stack executable.
26173
a8239222
JM
261742012-05-25 Joseph Myers <joseph@codesourcery.com>
26175
26176 * sysdeps/unix/sysv/linux/kernel-features.h
26177 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26178 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26179 kernel-features.h.
26180 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26181 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26182 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26183 kernel-features.h.
26184 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26185 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26186
918b5606
L
261872012-05-25 H.J. Lu <hongjiu.lu@intel.com>
26188
26189 * configure.in: Define the default includes to being none.
26190 * configure: Regenerated.
26191
3a097cc7
RM
261922012-05-25 Roland McGrath <roland@hack.frob.com>
26193
8422c9a5
RM
26194 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26195 * sysdeps/x86_64/setjmp.S: Likewise.
26196 * sysdeps/i386/bsd-setjmp.S: Likewise.
26197 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26198 * sysdeps/i386/setjmp.S: Likewise.
26199 * sysdeps/i386/__longjmp.S: Likewise.
26200 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26201 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26202
3a097cc7
RM
26203 * include/stap-probe.h: New file.
26204 * configure.in: Handle --enable-systemtap.
26205 * configure: Regenerated.
26206 * config.h.in (USE_STAP_PROBE): New #undef.
26207 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26208 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26209 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26210
21708942
JM
262112012-05-25 Joseph Myers <joseph@codesourcery.com>
26212
26213 [BZ #13717]
26214 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26215 to 2.4.0 where earlier.
26216 * sysdeps/unix/sysv/linux/configure: Regenerated.
26217 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26218 <kernel-features.h>.
26219 [__ASSUME_32BITUIDS]: Make code unconditional.
26220 [!__ASSUME_32BITUIDS]: Remove conditional code.
26221 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
26222 <kernel-features.h>.
26223 [__ASSUME_32BITUIDS]: Make code unconditional.
26224 [!__ASSUME_32BITUIDS]: Remove conditional code.
26225 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
26226 [__ASSUME_32BITUIDS]: Make code unconditional.
26227 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26228 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
26229 <kernel-features.h>.
26230 [__ASSUME_32BITUIDS]: Make code unconditional.
26231 [!__ASSUME_32BITUIDS]: Remove conditional code.
26232 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
26233 <kernel-features.h>.
26234 [__ASSUME_32BITUIDS]: Make code unconditional.
26235 [!__ASSUME_32BITUIDS]: Remove conditional code.
26236 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
26237 <kernel-features.h>.
26238 [__ASSUME_32BITUIDS]: Make code unconditional.
26239 [!__ASSUME_32BITUIDS]: Remove conditional code.
26240 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
26241 <kernel-features.h>.
26242 [__ASSUME_32BITUIDS]: Make code unconditional.
26243 [!__ASSUME_32BITUIDS]: Remove conditional code.
26244 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26245 <kernel-features.h>.
26246 [__ASSUME_32BITUIDS]: Make code unconditional.
26247 [!__ASSUME_32BITUIDS]: Remove conditional code.
26248 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26249 <kernel-features.h>.
26250 [__ASSUME_32BITUIDS]: Make code unconditional.
26251 [!__ASSUME_32BITUIDS]: Remove conditional code.
26252 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
26253 <kernel-features.h>.
26254 [__ASSUME_32BITUIDS]: Make code unconditional.
26255 [!__ASSUME_32BITUIDS]: Remove conditional code.
26256 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26257 <kernel-features.h>.
26258 [__ASSUME_32BITUIDS]: Make code unconditional.
26259 [!__ASSUME_32BITUIDS]: Remove conditional code.
26260 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26261 <kernel-features.h>.
26262 [__ASSUME_32BITUIDS]: Make code unconditional.
26263 [!__ASSUME_32BITUIDS]: Remove conditional code.
26264 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
26265 <kernel-features.h>.
26266 [__ASSUME_32BITUIDS]: Make code unconditional.
26267 [!__ASSUME_32BITUIDS]: Remove conditional code.
26268 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
26269 <kernel-features.h>.
26270 [__NR_setresgid] (__setresgid): Do not declare.
26271 [__ASSUME_32BITUIDS]: Make code unconditional.
26272 [!__ASSUME_32BITUIDS]: Remove conditional code.
26273 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
26274 <kernel-features.h>.
26275 [__NR_setresuid] (__setresuid): Do not declare.
26276 [__ASSUME_32BITUIDS]: Make code unconditional.
26277 [!__ASSUME_32BITUIDS]: Remove conditional code.
26278 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
26279 <kernel-features.h>.
26280 [__ASSUME_32BITUIDS]: Make code unconditional.
26281 [!__ASSUME_32BITUIDS]: Remove conditional code.
26282 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
26283 <kernel-features.h>.
26284 [__ASSUME_32BITUIDS]: Make code unconditional.
26285 [!__ASSUME_32BITUIDS]: Remove conditional code.
26286 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
26287 <kernel-features.h>.
26288 [__ASSUME_32BITUIDS]: Make code unconditional.
26289 [!__ASSUME_32BITUIDS]: Remove conditional code.
26290 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
26291 <kernel-features.h>.
26292 [__ASSUME_32BITUIDS]: Make code unconditional.
26293 [!__ASSUME_32BITUIDS]: Remove conditional code.
26294 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
26295 <kernel-features.h>.
26296 [__ASSUME_32BITUIDS]: Make code unconditional.
26297 [!__ASSUME_32BITUIDS]: Remove conditional code.
26298 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
26299 <kernel-features.h>.
26300 [__ASSUME_32BITUIDS]: Make code unconditional.
26301 [!__ASSUME_32BITUIDS]: Remove conditional code.
26302 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
26303 <kernel-features.h>.
26304 [__ASSUME_32BITUIDS]: Make code unconditional.
26305 [!__ASSUME_32BITUIDS]: Remove conditional code.
26306 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
26307 <kernel-features.h>.
26308 [__ASSUME_32BITUIDS]: Make code unconditional.
26309 [!__ASSUME_32BITUIDS]: Remove conditional code.
26310 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
26311 <kernel-features.h>.
26312 [__ASSUME_32BITUIDS]: Make code unconditional.
26313 [!__ASSUME_32BITUIDS]: Remove conditional code.
26314 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26315 <kernel-features.h>.
26316 [__ASSUME_32BITUIDS]: Make code unconditional.
26317 [!__ASSUME_32BITUIDS]: Remove conditional code.
26318 * sysdeps/unix/sysv/linux/kernel-features.h
26319 (__ASSUME_SETRESUID_SYSCALL): Remove.
26320 (__ASSUME_SETRESGID_SYSCALL): Likewise.
26321 (__ASSUME_32BITUIDS): Likewise.
26322 (__ASSUME_LDT_WORKS): Likewise.
26323 (__ASSUME_O_DIRECTORY): Likewise.
26324 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
26325 architecture but not kernel version.
26326 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26327 (__ASSUME_MMAP2_SYSCALL): Likewise.
26328 (__ASSUME_STAT64_SYSCALL): Likewise.
26329 (__ASSUME_IPC64): Likewise.
26330 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
26331 <kernel-features.h>.
26332 [__ASSUME_32BITUIDS]: Make code unconditional.
26333 [!__ASSUME_32BITUIDS]: Remove conditional code.
26334 * sysdeps/unix/sysv/linux/opendir.c: Do not include
26335 <kernel-features.h>.
26336 [__ASSUME_O_DIRECTORY]: Make code unconditional.
26337 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
26338 132096]: Remove conditional code.
26339 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
26340 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26341 <kernel-features.h>.
26342 [__ASSUME_32BITUIDS]: Make code unconditional.
26343 [!__ASSUME_32BITUIDS]: Remove conditional code.
26344 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26345 <kernel-features.h>.
26346 [__ASSUME_32BITUIDS]: Make code unconditional.
26347 [!__ASSUME_32BITUIDS]: Remove conditional code.
26348 * sysdeps/unix/sysv/linux/setegid.c: Do not include
26349 <kernel-features.h>.
26350 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
26351 unconditional.
26352 (__setresgid): Do not declare.
26353 [__ASSUME_32BITUIDS]: Make code unconditional.
26354 [!__ASSUME_32BITUIDS]: Remove conditional code.
26355 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
26356 <kernel-features.h>.
26357 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
26358 unconditional.
26359 (__setresuid): Do not declare.
26360 [__ASSUME_32BITUIDS]: Make code unconditional.
26361 [!__ASSUME_32BITUIDS]: Remove conditional code.
26362 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
26367 <kernel-features.h>.
26368 [__ASSUME_32BITUIDS]: Make code unconditional.
26369 [!__ASSUME_32BITUIDS]: Remove conditional code.
26370
a386f1cc
RH
263712012-05-25 Richard Henderson <rth@twiddle.net>
26372
26373 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
26374 dl_hwcap to ifunc resolver.
26375 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
26376 elf_ifunc_invoke.
26377 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
26378 dl_hwcap to ifunc resolver.
26379 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
26380
b6550497
JM
263812012-05-24 Joseph Myers <joseph@codesourcery.com>
26382
26383 [BZ #14153]
26384 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
26385 for |x| <= 2**-26, not 2**-57.
26386 * math/libm-test.inc (acos_test): Do not allow spurious underflow
26387 exception.
26388
b0bc23a1
JL
263892012-05-24 Jeff Law <law@redhat.com>
26390
26391 * stdio-common/Makefile (tests): Add bug25.
26392 * stdio-common/bug25.c: New test.
26393
347c92e9
L
263942012-05-24 H.J. Lu <hongjiu.lu@intel.com>
26395
26396 [BZ #13576]
26397 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
26398 multiple of MALLOC_ALIGNMENT in size.
26399 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
26400
6bcc8b3f
JM
264012012-05-24 Joseph Myers <joseph@codesourcery.com>
26402
26403 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
26404 Require >= 256.
26405 (FILENAME_MAX): Use macro-int-constant.
26406 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
26407 (_IOFBF): Use macro-int-constant.
26408 (_IOLBF): Likewise.
26409 (_IONBF): Likewise.
26410 (SEEK_CUR): Likewise.
26411 (SEEK_END): Likewise.
26412 (SEEK_SET): Likewise.
26413 (TMP_MAX): Likewise.
26414 (EOF): Use macro-int-constant. Require < 0.
26415 (NULL): Use macro-constant. Require == 0.
26416 (stdin): Require type to be FILE *.
26417 (stdout): Likewise.
26418 (stderr): Likewise.
26419 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
26420 macro-int-constant.
26421 (EXIT_SUCCESS): Likewise.
26422 (NULL): Use macro-constant. Require == 0.
26423 (RAND_MAX): Use macro-int-constant.
26424 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
26425 [C99-based standards] (strtof): Require function.
26426 [C99-based standards] (strtold): Likewise.
26427 [C99-based standards] (strtoll): Likewise.
26428 [C99-based standards] (strtoull): Likewise.
26429 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26430 [ISO || ISO99 || ISO11] (limits.h): Likewise.
26431 [ISO || ISO99 || ISO11] (math.h): Likewise.
26432 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
26433 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26434 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26435
d18ea0c5
AS
264362012-05-24 Andreas Schwab <schwab@linux-m68k.org>
26437
26438 [BZ #14132]
56d25bb8
AS
26439 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
26440 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
26441 * intl/dgettext.c (DCGETTEXT): Likewise.
26442 * intl/gettext.c (DCGETTEXT): Likewise.
26443 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
26444 * posix/regex_internal.h (gettext): Likewise.
26445 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
26446 Remove declaration.
26447 * include/argz.h (__argz_count_internal)
26448 (__argz_stringify_internal): Remove declaration.
26449 (__argz_count, __argz_stringify): Declare hidden proto.
26450 * intl/dcgettext.c: Remove use of INTDEF.
26451 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
26452 * string/argz-stringify.c: Likewise.
26453 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26454 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26455 Declare hidden proto.
d18ea0c5
AS
26456 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26457 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26458 Declare hidden proto.
26459 * include/stdio.h (__asprintf_internal): Don't declare.
26460 (__asprintf): Don't define as macro. Declare hidden proto.
26461 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
26462 (__fsetlocking): Declare hidden proto.
26463 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
26464 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
26465 hidden proto.
26466 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
26467 (_IO_setlinebuf): Remove use of INTUSE.
26468 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
26469 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
26470 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
26471 Remove declaration.
26472 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
26473 (_IO_do_flush): Remove use of INTUSE.
26474 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
26475 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
26476 (_IO_adjust_column, _IO_least_wmarker)
26477 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
26478 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
26479 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
26480 (_IO_default_doallocate, _IO_wdefault_doallocate)
26481 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
26482 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
26483 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
26484 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
26485 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
26486 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
26487 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
26488 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
26489 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
26490 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
26491 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
26492 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
26493 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
26494 proto.
26495 (_IO_flush_all_internal, _IO_adjust_column_internal)
26496 (_IO_default_uflow_internal, _IO_default_finish_internal)
26497 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
26498 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
26499 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
26500 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
26501 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
26502 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
26503 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
26504 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
26505 (_IO_file_close_internal, _IO_file_close_it_internal)
26506 (_IO_file_underflow_internal, _IO_file_overflow_internal)
26507 (_IO_file_init_internal, _IO_file_attach_internal)
26508 (_IO_file_fopen_internal, _IO_file_read_internal)
26509 (_IO_file_sync_internal, _IO_file_seek_internal)
26510 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
26511 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
26512 (_IO_str_underflow_internal, _IO_str_overflow_internal)
26513 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
26514 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
26515 (_IO_list_all_internal, _IO_link_in_internal)
26516 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
26517 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
26518 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
26519 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
26520 (_IO_do_write_internal, _IO_padn_internal)
26521 (_IO_getline_info_internal, _IO_getline_internal)
26522 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
26523 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
26524 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
26525 (_IO_vfscanf_internal, _IO_vfprintf_internal)
26526 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
26527 (_IO_init_internal, _IO_un_link_internal): Don't declare.
26528 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
26529 with libc_hidden_ver, remove use of INTUSE.
26530 * libio/genops.c: Likewise.
26531 * libio/freopen.c: Likewise.
26532 * libio/freopen64.c: Likewise.
26533 * libio/iofclose.c: Likewise.
26534 * libio/iofdopen.c: Likewise.
26535 * libio/iofflush.c: Likewise.
26536 * libio/iofflush_u.c: Likewise.
26537 * libio/iofgets.c: Likewise.
26538 * libio/iofgets_u.c: Likewise.
26539 * libio/iofopen.c: Likewise.
26540 * libio/iofopncook.c: Likewise.
26541 * libio/iofread.c: Likewise.
26542 * libio/iofread_u.c: Likewise.
26543 * libio/ioftell.c: Likewise.
26544 * libio/iofwrite.c: Likewise.
26545 * libio/iogetline.c: Likewise.
26546 * libio/iogets.c: Likewise.
26547 * libio/iogetwline.c: Likewise.
26548 * libio/iopadn.c: Likewise.
26549 * libio/iopopen.c: Likewise.
26550 * libio/ioseekoff.c: Likewise.
26551 * libio/ioseekpos.c: Likewise.
26552 * libio/iosetbuffer.c: Likewise.
26553 * libio/iosetvbuf.c: Likewise.
26554 * libio/ioungetc.c: Likewise.
26555 * libio/ioungetwc.c: Likewise.
26556 * libio/iovdprintf.c: Likewise.
26557 * libio/iovsprintf.c: Likewise.
26558 * libio/iovsscanf.c: Likewise.
26559 * libio/memstream.c: Likewise.
26560 * libio/obprintf.c: Likewise.
26561 * libio/oldfileops.c: Likewise.
26562 * libio/oldiofclose.c: Likewise.
26563 * libio/oldiofdopen.c: Likewise.
26564 * libio/oldiofopen.c: Likewise.
26565 * libio/oldiopopen.c: Likewise.
26566 * libio/oldstdfiles.c: Likewise.
26567 * libio/putc.c: Likewise.
26568 * libio/setbuf.c: Likewise.
26569 * libio/setlinebuf.c: Likewise.
26570 * libio/stdfiles.c: Likewise.
26571 * libio/strops.c: Likewise.
26572 * libio/vasprintf.c: Likewise.
26573 * libio/vscanf.c: Likewise.
26574 * libio/vsnprintf.c: Likewise.
26575 * libio/vswprintf.c: Likewise.
26576 * libio/wfiledoalloc.c: Likewise.
26577 * libio/wfileops.c: Likewise.
26578 * libio/wgenops.c: Likewise.
26579 * libio/wmemstream.c: Likewise.
26580 * libio/wstrops.c: Likewise.
26581 * libio/__fpurge.c: Likewise.
26582 * libio/__fsetlocking.c: Likewise.
26583 * assert/assert.c: Likewise.
26584 * debug/fgets_chk.c: Likewise.
26585 * debug/fgets_u_chk.c: Likewise.
26586 * debug/fread_chk.c: Likewise.
26587 * debug/fread_u_chk.c: Likewise.
26588 * debug/gets_chk.c: Likewise.
26589 * debug/obprintf_chk.c: Likewise.
26590 * debug/vasprintf_chk.c: Likewise.
26591 * debug/vdprintf_chk.c: Likewise.
26592 * debug/vsnprintf_chk.c: Likewise.
26593 * debug/vsprintf_chk.c: Likewise.
26594 * malloc/mtrace.c: Likewise.
26595 * misc/error.c: Likewise.
26596 * misc/syslog.c: Likewise.
26597 * stdio-common/asprintf.c: Likewise.
26598 * stdio-common/fxprintf.c: Likewise.
26599 * stdio-common/getw.c: Likewise.
26600 * stdio-common/isoc99_fscanf.c: Likewise.
26601 * stdio-common/isoc99_scanf.c: Likewise.
26602 * stdio-common/isoc99_vfscanf.c: Likewise.
26603 * stdio-common/isoc99_vscanf.c: Likewise.
26604 * stdio-common/isoc99_vsscanf.c: Likewise.
26605 * stdio-common/printf-prs.c: Likewise.
26606 * stdio-common/printf_fp.c: Likewise.
26607 * stdio-common/printf_fphex.c: Likewise.
26608 * stdio-common/printf_size.c: Likewise.
26609 * stdio-common/putw.c: Likewise.
26610 * stdio-common/scanf.c: Likewise.
26611 * stdio-common/sprintf.c: Likewise.
26612 * stdio-common/tmpfile.c: Likewise.
26613 * stdio-common/vfprintf.c: Likewise.
26614 * stdio-common/vfscanf.c: Likewise.
26615 * stdlib/strfmon_l.c: Likewise.
26616 * sunrpc/openchild.c: Likewise.
26617 * sunrpc/xdr_stdio.c: Likewise.
26618 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
26619 * sysdeps/mach/hurd/tmpfile.c: Likewise.
26620
d6c33fda
RM
266212012-05-24 Roland McGrath <roland@hack.frob.com>
26622
c1487492
RM
26623 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
26624
26625 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
26626 in the third column, to generate for the shared library an IFUNC
26627 that uses _dl_vdso_vsym.
26628 * Makerules (COMPILE.c, compile-stdin.c): New variables.
26629 * Makeconfig (object-suffixes-noshared): New variable.
26630
26631 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
26632 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
26633 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
26634 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
26635
d6c33fda
RM
26636 [BZ #14132]
26637 * include/sys/time.h (__gettimeofday): Remove macro.
26638 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
26639 * time/gettimeofday.c (__gettimeofday): Remove #undef.
26640 Remove INTDEF.
26641 (__gettimeofday): Add libc_hidden_def.
26642 (gettimeofday): Add libc_hidden_weak.
26643 * sysdeps/mach/gettimeofday.c: Likewise.
26644 * sysdeps/posix/gettimeofday.c: Likewise.
26645 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26646 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26647 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
26648 (__gettimeofday_internal): Remove strong_alias.
26649 (__gettimeofday): Add libc_hidden_def.
26650 (gettimeofday): Add libc_hidden_weak.
26651 * sysdeps/unix/syscalls.list (gettimeofday):
26652 Remove __gettimeofday_internal alias.
26653
b5a2bbe6
L
266542012-05-24 Daniel Jacobowitz <drow@false.org>
26655 H.J. Lu <hongjiu.lu@intel.com>
26656
26657 [BZ #12495]
26658 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
26659 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
26660 (largebin_index_32_big): New.
26661 (largebin_index): Use it for 16-byte alignment.
26662 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
26663 correction with front_misalign.
26664
cfba4fda
L
266652012-05-24 H.J. Lu <hongjiu.lu@intel.com>
26666
7f907421
L
26667 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
26668 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26669 Likewise.
26670 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
26671 Likewise.
26672 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26673 Likewise.
26674 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
26675 Likewise.
26676 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
26677 Likewise.
26678 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
26679 Likewise.
26680 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
26681 Likewise.
26682 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26683 Likewise.
26684 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
26685 Likewise.
26686 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
26687 Likewise.
26688 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26689 Likewise.
26690 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
26691 Likewise.
26692
cfba4fda
L
26693 * scripts/data/c++-types-x32-linux-gnu.data: New file.
26694 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
26695
80bad0cc
JM
266962012-05-24 Joseph Myers <joseph@codesourcery.com>
26697
7a25eb06
JM
26698 [BZ #10846]
26699 [BZ #14036]
26700 * math/libm-test.inc (exp_test): Add test from bug 14036.
26701 (pow_test): Add test from bug 10846.
26702
795405f9
JM
26703 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
26704 and other flags.
26705 (special_function): Do not include flags in test name.
26706 (parse_args): Likewise.
26707 * sysdeps/i386/fpu/libm-test-ulps: Update.
26708 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26709 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26710 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26712
80bad0cc
JM
26713 * math/gen-libm-test.pl (%beautify): Add entries for underflow
26714 exceptions.
26715 * math/libm-test.inc ("Philosophy"): Update comment about
26716 exception testing.
26717 (UNDERFLOW_EXCEPTION): New macro.
26718 (UNDERFLOW_EXCEPTION_OK): Likewise.
26719 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
26720 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
26721 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
26722 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
26723 (INVALID_EXCEPTION_OK): Update value.
26724 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26725 (OVERFLOW_EXCEPTION_OK): Likewise.
26726 (IGNORE_ZERO_INF_SIGN): Likewise.
26727 (test_exceptions): Handle underflow exceptions.
26728 (acos_test): Update for underflow exception expectations.
26729 (cexp_test): Likewise.
26730 (clog_test): Likewise.
26731 (clog10_test): Likewise.
26732 (csqrt_test): Likewise.
26733 (ctan_test): Likewise.
26734 (ctanh_test): Likewise.
26735 (exp_test): Likewise.
26736 (exp10_test): Likewise.
26737 (exp2_test): Likewise.
26738 (expm1_test): Likewise.
26739 (fma_test): Likewise.
26740 (j0_test): Likewise.
26741 (jn_test): Likewise.
26742 (nexttoward_test): Likewise.
26743 (pow_test): Likewise.
26744 (scalbn_test): Likewise.
26745 (scalbln_test): Likewise.
26746 (tan_test): Likewise.
26747 (y1_test): Likewise.
26748 * sysdeps/i386/fpu/libm-test-ulps: Update.
26749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26750
9e0e3d0b
DM
267512012-05-23 David S. Miller <davem@davemloft.net>
26752
26753 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26754 (__libc_sigaction): Remove unused local variables.
26755
ccd0a08f
L
267562012-05-23 H.J. Lu <hongjiu.lu@intel.com>
26757
26758 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
26759
62bdf9a6
PE
267602012-05-23 Paul Eggert <eggert@cs.ucla.edu>
26761
f8591f80
PE
26762 mktime: avoid signed integer overflow
26763 * time/mktime.c (__mktime_internal): Do not mishandle the case
26764 where diff == INT_MIN.
26765
94c7d826
PE
26766 mktime: simplify computation of average
26767 * time/mktime.c (ranged_convert): Use new time_t_avg function
26768 instead of rolling our own (probably-slower) code.
26769
ce73d683
PE
26770 mktime: do not assume signed right shift propagates sign bit
26771 * time/mktime.c (isdst_differ): New static function.
26772 (__mktime_internal): No need to normalize tm_isdst now.
26773 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
26774 tm_isdst values.
26775
72a22e59
PE
26776 mktime: merge another wrapv change from gnulib
26777 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
26778 from some compilers.
26779
68605433
PE
26780 mktime: remove incorrect attempt at unusual arithmetics
26781 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
26782 The code didn't really work on such machines anyway.
26783 (TYPE_MINIMUM): Assume two's complement.
26784 (twos_complement_arithmetic): Verify that long_int and time_t
26785 are two's complement (or unsigned, in the latter case).
26786
03cf7fe3
PE
26787 mktime: check signed shifts on long_int and time_t, too
26788 * time/mktime.c (SHR): Check that shifts work as desired
26789 on the types long_int and time_t too, as SHR is used on
26790 such types.
26791
f04dfbc2
PE
26792 mktime: do not assume 'long' is wide enough
26793 * time/mktime.c (verify): Move decl up.
26794 (long_int): New type.
26795 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
26796 to remove assumption in the code that 'long' is wide enough to
26797 store year values. This assumption is not true on x32 and on
26798 some non-glibc platforms.
26799
62bdf9a6
PE
26800 mktime: merge wrapv change from gnulib
26801 * time/mktime.c (WRAPV): New macro.
26802 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
26803 (guess_time_tm, __mktime_internal): Do not assume that signed
26804 integer overflow wraps around; modern compilers generate code
26805 where this assumption is no longer valid.
26806
5e292e4f
L
268072012-05-23 H.J. Lu <hongjiu.lu@intel.com>
26808
26809 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
26810 Replace "jmp L(pseudo_end)" with "ret".
26811 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
26812 Likewise.
26813
8caf8c87
AJ
268142012-05-23 Andreas Jaeger <aj@suse.de>
26815
26816 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
26817 * sysdeps/unix/sysv/linux/poll.c: Remove file.
26818
1a09dc56
AJ
268192012-05-23 Andreas Jaeger <aj@suse.de>
26820 Maximilian Attems <max@stro.at>
26821
26822 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
26823 New macros.
26824
1c87aba0
L
268252012-05-23 H.J. Lu <hongjiu.lu@intel.com>
26826
26827 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
26828 code so that pseudo_end is just ret and the stack pointer is
26829 correct also for static library in error case.
26830
40e45bd5
JM
268312012-05-23 Joseph Myers <joseph@codesourcery.com>
26832
c2670533
JM
26833 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
26834 move to syscalls.list.
26835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
26836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26839
40e45bd5
JM
26840 * manual/install.texi (Running make install): Do not mention Linux
26841 kernel version for which pt_chown is not needed.
26842 (Linux): Do not mention problems with nscd with 2.0 kernels.
26843 * INSTALL: Regenerated.
26844
be08eda5
AJ
268452012-05-23 Andreas Jaeger <aj@suse.de>
26846
26847 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
26848 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
26849 macro.
26850 * sysdeps/unix/sysv/linux/s390/bits/mman.h
26851 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26852 * sysdeps/unix/sysv/linux/sh/bits/mman.h
26853 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26854 * sysdeps/unix/sysv/linux/i386/bits/mman.h
26855 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26856 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
26857 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26858 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
26859 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26860 * sysdeps/unix/sysv/linux/bits/in.h
26861 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
26862
a6a056bb
RM
268632012-05-22 Roland McGrath <roland@hack.frob.com>
26864
26865 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
26866 (PREPARE_VERSION): Just use assert instead, it will be elided
26867 under [NDEBUG] anyway.
26868
c9009328
L
268692012-05-22 H.J. Lu <hongjiu.lu@intel.com>
26870
26871 * sysdeps/unix/sysv/linux/Makefile: Include
26872 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 26873 (sysdep_routines): Remove sysctl.
c9009328
L
26874 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
26875 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
26876 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
26877 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
26878 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
26879
73338355
AJ
268802012-05-22 Andreas Jaeger <aj@suse.de>
26881
26882 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
26883 that pseudo_end is just ret and the stack pointer is correct also
26884 for static library in error case.
26885
d44638b0
PP
268862012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
26887
26888 [BZ #14122]
26889 * nss/nsswitch.c (defconfig_entries): New variable.
26890 (__nss_database_lookup): Don't leak defconfig entries.
26891 (nss_parse_service_list): Don't leak on error paths.
26892 (free_database_entries): New function.
26893 (free_defconfig): New function.
26894 (free_mem): Move common code to free_database_entries.
26895
31a39bd8
L
268962012-05-22 H.J. Lu <hongjiu.lu@intel.com>
26897
da0331a8
L
26898 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
26899 Add arch_prctl.
26900 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
26901
31a39bd8
L
26902 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26903 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
26904 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
26905 New macro.
26906 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
26907 (INTERNAL_SYSCALL_TYPES): Likewise.
26908 (LOAD_ARGS_TYPES_[1-6]): Likewise.
26909 (LOAD_REGS_TYPES_[1-6]): Likewise.
26910 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
26911 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
26912
45470df3
AZ
269132012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26914
26915 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
26916 copysignl for GLIBC_2_0.
26917 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
26918 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
26919 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
26920 logbl for GLIBC_2_0.
26921 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
26922 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
26923
98a61bcb
L
269242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
26925
a4f6e481
L
26926 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
26927 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
26928
f63d5db6
L
26929 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
26930 Use "neg %eax".
26931
98a61bcb
L
26932 * time/mktime.c: Update copyright years.
26933
95770f14
PE
269342012-05-22 Paul Eggert <eggert@cs.ucla.edu>
26935
6226efbd
PE
26936 mktime: merge comment-quoting-style change from gnulib
26937 * time/mktime.c: Quote 'like this' in comments.
26938 The GNU coding standards suggest that we no longer quote `like this',
26939 as "`" and "'" are typically rendered asymmetrically nowadays.
26940 The typical gnulib style is to quote 'like this' when quoting
26941 code, and "like this" when quoting English.
26942
b99e4f78
PE
26943 * time/mktime.c (compile-command): Add "-I.".
26944
643e01e6
PE
26945 mktime: merge mktime-internal.h change from gnulib
26946 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
26947
2554247d
PE
26948 mktime: merge time_r change from gnulib
26949 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
26950
826dd0ab
PE
26951 mktime: merge DEBUG change from gnulib
26952 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
26953 case system <time.h> has a #define.
26954
bd83aabe
PE
26955 mktime: merge <sys/types.h> change from gnulib
26956 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
26957 since <time.t> is now guaranteed to define time_t.
26958
95770f14
PE
26959 mktime: merge HAVE_CONFIG_H change from gnulib
26960 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
26961
5e1a27a9
L
269622012-05-22 H.J. Lu <hongjiu.lu@intel.com>
26963
0e44a77e
L
26964 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
26965 Use "neg %eax".
26966
5e1a27a9
L
26967 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
26968 __rlim_t cast.
26969 (struct rusage): Use anonymous union to pad each field to
26970 __syscall_slong_t.
26971
46259bec
DM
269722012-05-21 David S. Miller <davem@davemloft.net>
26973
26974 * Makefules (o-iterator): Remove .s cases.
26975 (compile-command.s): Delete.
26976 (COMPILE.s): Delete.
26977 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
26978
59f0c22e
JM
269792012-05-21 Joseph Myers <joseph@codesourcery.com>
26980
26981 * configure.in (libc_cv_predef_stack_protector): Only consider
26982 "foobar" and "__stack_chk_fail" lines in libc_undefs.
26983 * configure: Regenerated.
26984
20c07380
L
269852012-05-21 H.J. Lu <hongjiu.lu@intel.com>
26986
bbb3154b
L
26987 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
26988 New macro. Use R*LP on int and pointer.
26989 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
26990 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
26991 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
26992 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
26993
20c07380
L
26994 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
26995 [__WORDSIZE_TIME64_COMPAT32] instead of
26996 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
26997 (struct utmp): Likewise.
26998 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
26999 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27000 Renamed to ...
27001 (__WORDSIZE_TIME64_COMPAT32): This.
27002 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27003 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27004 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27005 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27006 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27007 (__WORDSIZE_TIME64_COMPAT32): New macro.
27008
d8d1017e
AJ
270092012-05-21 Andreas Jaeger <aj@suse.de>
27010
27011 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27012 only if [SHARED]. Add prototype for __wcschr_ia32.
27013
6c7fb145
RM
270142012-05-21 Roland McGrath <roland@hack.frob.com>
27015
27016 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27017 of %rbp unmolested in the jmp_buf while mangling the low bits.
27018 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27019 unmolested high bits of %rbp while demangling the low bits.
27020 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27021
66274218
AJ
270222012-05-21 Andreas Jaeger <aj@suse.de>
27023
07c58f8f
AJ
27024 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27025 * sunrpc/svc_simple.c: Use it for registerrpc.
27026 * sunrpc/xcrypt.c: Use it for passwd2des.
27027
66274218
AJ
27028 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27029
61f65140
L
270302012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27031
27032 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27033 Don't define if [__SYSCALL_WORDSIZE != 32].
27034 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27035 New macro.
27036
5fefb436
AJ
270372012-05-21 Bruno Haible <bruno@clisp.org>
27038 Andreas Jaeger <aj@suse.de>
27039
27040 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27041 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27042 inptr and inend for must_buffer_ch.
27043 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27044 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27045 * stdio-common/Makefile (tests): Remove bug15.
27046 (bug15-ENV): Remove macro.
27047 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27048 anymore.
27049
d8e272ab
AJ
270502012-05-19 Andreas Jaeger <aj@suse.de>
27051 Roland McGrath <roland@hack.frob.com>
27052
27053 * manual/contrib.texi: Completely rewritten. It contains now an
27054 alphabetical list of contributors and their contributions.
27055
4a56a162
RH
270562012-05-21 Richard Henderson <rth@twiddle.net>
27057
27058 * misc/getauxval.c (__getauxval): Use unsigned long int.
27059 * misc/sys/auxv.h: Include <sys/cdefs.h>.
27060 (getauxval): Use unsigned long int.
27061
d024d23c
L
270622012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27063
27064 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27065
cbc00a03
RM
270662012-05-21 Roland McGrath <roland@hack.frob.com>
27067
27068 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27069 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27070 __alignof__ (long double).
27071
478143fa
AZ
270722012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27073
27074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27075
c7683a6d
RH
270762012-05-20 Richard Henderson <rth@twiddle.net>
27077
27078 * misc/getauxval.c: New file.
27079 * misc/sys/auxv.h: New file.
27080 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27081 (routines): Add getauxval.
27082 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27083 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27084 * elf/dl-sysdep.c (_dl_auxv): Remove.
27085 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27086 * elf/dl-support.c (_dl_auxv): New variable.
27087 (_dl_aux_init): Initialize it.
27088 * manual/startup.texi (Auxiliary Vector): New node.
27089 * sysdeps/generic/bits/hwcap.h: New file.
27090 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27091 * sysdeps/powerpc/sysdep.h: ... here. Include it.
27092 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27093 * sysdeps/sparc/sysdep.h: ... here. Include it.
27094 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27095 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
27096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27097 Update.
c7683a6d
RH
27098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27101 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27106
a6f1845d
AZ
271072012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27108
27109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27110
cbcbe830
DM
271112012-05-19 David S. Miller <davem@davemloft.net>
27112
27113 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27114
e0b16cc2
JM
271152012-05-19 Joseph Myers <joseph@codesourcery.com>
27116
27117 [BZ #14123]
27118 * math/s_ccosh.c: Include <float.h>
27119 (__ccosh): Avoid internal overflow calculating sinh and cosh
27120 values before multiplying by sin and cos values.
27121 * math/s_ccoshf.c: Likewise.
27122 * math/s_ccoshl.c: Likewise.
27123 * math/s_csin.c: Likewise.
27124 * math/s_csinf.c: Likewise.
27125 * math/s_csinl.c: Likewise.
27126 * math/s_csinh.c: Likewise.
27127 * math/s_csinhf.c: Likewise.
27128 * math/s_csinhl.c: Likewise.
27129 * math/libm-test.inc (ccos_test): Add more tests.
27130 (ccosh_test): Likewise.
27131 (csin_test): Likewise.
27132 (csinh_test): Likewise.
27133 * sysdeps/i386/fpu/libm-test-ulps: Update.
27134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27135
6ad13e08
L
271362012-05-19 H.J. Lu <hongjiu.lu@intel.com>
27137
f66f0ce8
L
27138 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27139 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27140
6ad13e08
L
27141 * sysdeps/x86_64/x32/_itoa.h: Add comment.
27142
b1d072a7
JM
271432012-05-19 Joseph Myers <joseph@codesourcery.com>
27144
27145 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27146 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27147 * sysdeps/powerpc/soft-fp/Versions: Likewise.
27148 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27149 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27150 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27151 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27152 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27153 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27154 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27155 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27156 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27157 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27158 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27159 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27160 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27161 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27162 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27163 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27164 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27165 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27166 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27167 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27168 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27169 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27170 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27171 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27172 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27173 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27174 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27175 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27176
9eae47cb
AJ
271772012-05-18 Andreas Jaeger <aj@suse.de>
27178
27179 * csu/.gitignore: Delete.
27180
bb07f69f
L
271812012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27182
27183 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27184 (timex): Use __syscall_slong_t.
27185
e6bdb741
AJ
271862012-05-18 Andreas Jaeger <aj@suse.de>
27187 Carlos O'Donell <carlos_odonell@mentor.com>
27188
27189 * manual/install.texi (Configuring and compiling): Update
27190 description about files modified in the source directory.
d6c33fda 27191 * INSTALL: Regenerated.
e6bdb741 27192
1b74487e
L
271932012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27194
27195 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27196 value. Use "or" to set return value to -1.
27197 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27198 negate return value.
27199
a88b64b9
TMQMF
272002012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27201
27202 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27203 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27204 failure if the compiler has Graphite support disabled.
27205 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27206 Likewise.
27207 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27208 CFLAGS-memmove.c): Likewise.
27209 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27210 Likewise.
27211
3707636e
L
272122012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27213
610b8622
L
27214 * sysdeps/x86_64/x32/_itoa.h: New file.
27215
7cd195df
L
27216 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27217 getdents system call only if kernel and user dirents have the
27218 same d_ino and d_off.
27219
94b07d20
L
27220 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27221 LLONG_MAX != LONG_MAX.
27222 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27223 (_fitoa_word): Likewise.
27224
18298070
L
27225 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27226 years.
27227 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27228 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27229 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27230
553c7ea4
L
27231 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27232 include <bits/wordsize.h>. Check __x86_64__ instead of
27233 __WORDSIZE.
27234 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27235 if __x86_64__ is defined. Use anonymous union on fpstate.
27236
3707636e
L
27237 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27238 anonymous union.
27239
b53ef01a
AS
272402012-05-18 Andreas Schwab <schwab@linux-m68k.org>
27241
37fb1dc0
AS
27242 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27243 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27244 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27245 Refer to _rtld_local_ro instead of _rtld_global_ro.
27246 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27247 Likewise.
27248 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27249 Likewise.
27250 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27251 Likewise.
27252 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27253 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27254 of _rtld_global, and rtld_progname instead of _dl_argv[0].
27255
b53ef01a
AS
27256 * sysdeps/powerpc/powerpc32/dl-machine.c
27257 (__elf_machine_runtime_setup) [PROF]: Don't reference
27258 _dl_prof_resolve.
27259
7a185db2
AJ
272602012-05-18 Andreas Jaeger <aj@suse.de>
27261
27262 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
27263 function only available for GCCs before 3.4 since GCC 3.4
27264 introduced a builtin.
27265 (lrint): Likewise.
27266 (llrintf): Likewise.
27267 (llrint): Likewise.
27268 (fmaxf): Likewise.
27269 (fmax): Likewise.
27270 (fminf): Likewise.
27271 (fmin): Likewise.
27272 (rint): Likewise.
27273 (rintf): Likewise.
27274 (nearbyint): Likewise.
27275 (nearbyintf): Likewise.
27276 (ceil): Likewise.
27277 (ceilf): Likewise.
27278 (floor): Likewise.
27279 (floorf): Likewise.
27280
3e5aef87
L
272812012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27282
428bd707
L
27283 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
27284 on both fields and cast pointer to __syscall_ulong_t.
27285
3e5aef87
L
27286 * bits/types.h (__fsword_t): New type.
27287 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
27288 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
27289 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27290 (__FSWORD_T_TYPE): Likewise.
27291 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27292 (__FSWORD_T_TYPE): Likewise.
27293 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27294 (__FSWORD_T_TYPE): Likewise.
27295 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
27296 (__FSWORD_T_TYPE): Likewise.
27297 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
27298 __SWORD_TYPE with __fsword_t.
27299 (statfs64): Likewise.
27300
1ba7c3dc
DM
273012012-05-17 David S. Miller <davem@davemloft.net>
27302
27303 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
27304
59910343
AJ
273052012-05-17 Andreas Jaeger <aj@suse.de>
27306
27307 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
27308 warning.
27309
2e4c1e9e
L
273102012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27311
27312 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
27313
de7f5ce7
AJ
273142012-05-17 Andreas Jaeger <aj@suse.de>
27315
27316 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
27317 when it is used.
27318
286abc3d
CM
273192012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27320
27321 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
27322
477cc68e
L
273232012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27324
27325 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
27326 * sysdeps/x86_64/tst-mallocalign1.c: New file.
27327
1a0994f5
CD
273282012-05-17 Andreas Jaeger <aj@suse.de>
27329 Carlos O'Donell <carlos_odonell@mentor.com>
27330
27331 [BZ #14059]
27332 * sysdeps/x86_64/multiarch/init-arch.h
27333 (bit_YMM_Usable): Rename to...
27334 (bit_AVX_Usable): ... this.
27335 (bit_FMA4_Usable): New macro.
27336 (bit_XMM_state): New macro.
27337 (bit_YMM_state): New macro.
27338 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
27339 [__ASSEMBLER__] (index_AVX_Usable): ... this.
27340 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
27341 (CPUID_OSXSAVE): New macro.
27342 (CPUID_AVX): New macro.
27343 (CPUID_FMA4): New macro.
27344 (index_YMM_Usable): Rename to...
27345 (index_AVX_Usable): ... this.
27346 (HAS_AVX): Use HAS_ARCH_FEATURE.
27347 (HAS_FMA4): Likewise.
27348 (HAS_YMM_USABLE): Remove.
27349 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27350 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
27351 are present.
27352 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
27353 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
27354 * sysdeps/x86_64/multiarch/Makefile: Likewise.
27355 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
27356 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
27357
0af797de
CM
273582012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27359
27360 * math/libm-test.c: Support platforms without multiple rounding modes.
27361 * math/bug-nextafter.c: Support platforms without FP exceptions.
27362 * math/bug-nexttoward.c: Likewise.
27363 * math/test-fenv.c: Likewise.
27364 * math/test-misc.c: Likewise.
27365 * stdlib/bug-getcontext.c: Likewise.
27366
e39745ff
AJ
273672012-05-17 Andreas Jaeger <aj@suse.de>
27368
27369 * manual/examples/search.c (critter_cmp): Change signature to
27370 avoid warnings.
27371 * manual/string.texi (Collation Functions): Likewise.
27372
48970aba
L
273732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27374
27375 * bits/types.h: Fold copyright years.
27376 * bits/typesizes.h: Likewise.
27377 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
27378 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27379 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
27380 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
27381 * time/time.h: Likewise.
27382
bedee953
PP
273832012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
27384
27385 [BZ #208]
27386 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
27387 in instead of returning them. Return void.
27388 (__libc_mallinfo): Accumulate over all arenas.
27389 (__malloc_stats): Adjust for change in int_mallinfo interface.
27390
61653dfb
RM
273912012-05-16 Roland McGrath <roland@hack.frob.com>
27392
30b99d79
RM
27393 [BZ #10375]
27394 * configure.in (NM): Add AC_CHECK_TOOL for it.
27395 (libc_extra_cflags): New substituted variable.
27396 Check for -fstack-protector being used implicitly.
27397 * configure: Regenerated.
27398 * config.make.in (config-extra-cflags): New variable,
27399 gets @libc_extra_cflags@.
27400 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
27401
61653dfb
RM
27402 [BZ #10375]
27403 * configure.in: Check for _FORTIFY_SOURCE being predefined.
27404 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
27405 * configure: Regenerated.
27406 * config.make.in (CPPUNDEFS): New substituted variable.
27407 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
27408 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
27409 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
27410
661768bb
L
274112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27412
27413 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
27414 (mq_attr): Use __syscall_slong_t.
27415
d4261567
L
274162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27417
27418 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
27419 Check __x86_64__ instead of __WORDSIZE.
27420 (_STAT_VER_LINUX): Likewise.
27421 (stat): Check __x86_64__ instead of __WORDSIZE. Use
27422 __syscall_ulong_t and __syscall_slong_t.
27423 (stat64): Likewise.
27424
cf3ff365
L
274252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27426
27427 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
27428
76cf3e4d
L
274292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27430
27431 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
27432
a637753a
L
274332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27434
27435 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
27436 __syscall_ulong_t.
27437
d5e05119
L
27438 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
27439 include <bits/wordsize.h>. Check __x86_64__ instead of
27440 __WORDSIZE.
27441 (greg_t): Use "__extension__ long long int" if __x86_64__ is
27442 defined.
27443 (mcontext_t): Replace "unsigned long" with "unsigned long long".
27444
f62ee380
L
27445 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
27446 include <bits/wordsize.h>. Check __x86_64__ instead of
27447 __WORDSIZE.
27448 (user_regs_struct): Use "__extension__ unsigned long long"
27449 instead of "unsigned long" if __x86_64__ is defined.
27450 (user): Likewise. Pad after pointer field if __ILP32__ is
27451 defined.
27452
4e124ced
JM
274532012-05-16 Joseph Myers <joseph@codesourcery.com>
27454
6a3951a0
JM
27455 * configure.in (makeinfo): Require version 4.5 or later. Allow
27456 versions 5 to 9.
27457 * configure: Regenerated.
27458 * manual/install.texi (texinfo): Increase version requirement to
27459 4.5 or later.
27460 * INSTALL: Regenerated.
27461
4e124ced
JM
27462 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
27463
953ca31a
L
274642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27465
27466 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
27467
617aca05
L
27468 * sysdeps/x86_64/x32/ffs.c: New file.
27469
5762f7ae
L
27470 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
27471 __syscall_ulong_t.
27472 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
27473 defined. Use __syscall_ulong_t.
27474 (shminfo): Use __syscall_ulong_t.
27475 (shm_info): Likewise.
27476
a26b6856
L
27477 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
27478 __syscall_ulong_t.
27479
cb2b9ef7
L
27480 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
27481 <bits/wordsize.h>.
27482 (msgqnum_t): Use __syscall_ulong_t.
27483 (msglen_t): Likewise.
27484 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
27485 __syscall_ulong_t.
27486
34683bb0
L
27487 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
27488 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27489
84a68786
L
27490 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
27491
48baa5f1
L
27492 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
27493 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
27494
180be88b
L
27495 * sysvipc/sys/msg.h (msgbuf): Replace long int with
27496 __syscall_slong_t.
27497
5e90c8ad
L
27498 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
27499 include <bits/wordsize.h>. Check __x86_64__ instead of
27500 __WORDSIZE.
27501
23dfb58b
L
27502 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
27503 "unsigned long long int" if __x86_64__ is defined.
27504 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
27505
ce5d54b0
L
27506 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
27507 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27508 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
27509
13dc9eac
L
27510 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
27511 <stdint.h>.
27512 (GET_PC): Cast to uintptr_t first.
27513 (GET_FRAME): Likewise.
27514 (GET_STACK): Likewise.
27515
a7895d15
L
27516 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
27517 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
27518 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
27519 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
27520 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
27521 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
27522 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
27523 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
27524 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27525 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
27526 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
27527 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
27528 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27529 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
27530 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
27531 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
27532 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
27533 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
27534 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
27535 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
27536 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
27537 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
27538 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
27539 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
27540 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
27541 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
27542 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
27543 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
27544 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
27545
656416c9
AS
275462012-05-16 Andreas Schwab <schwab@linux-m68k.org>
27547
5bd66283
AS
27548 * Makerules (+depfiles): Also collect depfiles from .oS in
27549 $(extra-objs).
27550 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
27551 .oS, $(libnldbl-routines)).
27552
656416c9
AS
27553 * Makerules (native-compile-mkdep-flags): Define.
27554 * sunrpc/Makefile (extra-objs): Add $(addprefix
27555 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
27556 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
27557 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
27558 calling $(make-target-directory).
27559
a46f2169
L
275602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27561
27562 * bits/types.h (__snseconds_t): Removed.
27563 * time/time.h (struct timespec): Replace __snseconds_t with
27564 __syscall_slong_t.
27565 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
27566 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
27567 Likewise.
27568 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27569 (__SNSECONDS_T_TYPE): Likewise.
27570 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27571 (__SNSECONDS_T_TYPE): Likewise.
27572 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27573 (__SNSECONDS_T_TYPE): Likewise.
27574
6af6528b
L
275752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27576
27577 * sysdeps/mach/hurd/bits/typesizes.h
27578 (__SYSCALL_SLONG_TYPE): New macro.
27579 (__SYSCALL_ULONG_TYPE): Likewise.
27580
de986b56
L
275812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27582
27583 * bits/types.h (__syscall_slong_t): New type.
27584 (__syscall_ulong_t): Likewise.
27585
27586 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
27587 (__SYSCALL_ULONG_TYPE): Likewise.
27588 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27589 (__SYSCALL_SLONG_TYPE): Likewise.
27590 (__SYSCALL_ULONG_TYPE): Likewise.
27591 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27592 (__SYSCALL_SLONG_TYPE): Likewise.
27593 (__SYSCALL_ULONG_TYPE): Likewise.
27594 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27595 (__SYSCALL_SLONG_TYPE): Likewise.
27596 (__SYSCALL_ULONG_TYPE): Likewise.
27597
85736dc7
L
275982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27599
27600 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
27601 Add sigaltstack-offsets.sym.
27602 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
27603 <sigaltstack-offsets.h>.
27604 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
27605 longjmp_msg pointer.
27606 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
27607 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
27608 signal stack.
27609 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
27610
cc03b296
JM
276112012-05-15 Joseph Myers <joseph@codesourcery.com>
27612
a9538892
JM
27613 * elf/stackguard-macros.h: Remove file.
27614 * sysdeps/generic/stackguard-macros.h: New file.
27615 * sysdeps/i386/stackguard-macros.h: Likewise.
27616 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27617 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27618 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27619 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27620 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27621 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27622 * sysdeps/x86_64/stackguard-macros.h: Likewise.
27623 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
27624 <elf/stackguard-macros.h>.
27625
cc03b296
JM
27626 [BZ #14109]
27627 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
27628 __aligned__ in attribute.
27629 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
27630 (gregset_t): Likewise.
27631
93171016
L
276322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27633
27634 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
27635 * sysdeps/x86_64/64/Implies-after: Here. New file.
27636 * sysdeps/x86_64/x32/Implies-after: New file.
27637
d86813a0
L
276382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27639
27640 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
27641 and access return value for _dl_profile_fixup. Use R10_LP to
27642 load frame size.
27643
2953ec75
L
276442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27645
27646 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
27647
3b550e9e
L
276482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27649
27650 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
27651 * sysdeps/x86_64/x32/sysdep.h: New file.
27652
eda41706
L
276532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27654
27655 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
27656 * sysdeps/x86_64/setjmp.S: Likewise.
27657
9ea01d93
AZ
276582012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27659
27660 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
27661 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
27662 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
27663 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
27664 remove unused global constant.
27665
02a91938
CM
276662012-05-15 Chris Metcalf <cmetcalf@tilera.com>
27667
27668 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
27669 include of <not-cancel.h>.
27670
6540185f
RM
276712012-05-15 Roland McGrath <roland@hack.frob.com>
27672
27673 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
27674
509072a0
AJ
276752012-05-15 Jeff Law <law@redhat.com>
27676 Andreas Jaeger <aj@suse.de>
27677
27678 [BZ #13594]
27679 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
27680 out from...
27681 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
27682 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
27683 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
27684 code changing __hst_map_handle.map.
27685
ba75122d
RM
276862012-05-15 Roland McGrath <roland@hack.frob.com>
27687
27688 * configure.in (sysnames): Look for Implies-before and Implies-after
27689 files.
27690 * configure: Regenerated.
27691
890d8bd8
L
276922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27693
27694 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
27695 8-byte data alignment with LP_SIZE alignment.
27696
f6ee6623
L
276972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27698
27699 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
27700 into R10_LP.
27701
ea2626f6
L
277022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27703
27704 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
27705
085f715e
L
277062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27707
27708 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
27709 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
27710 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
27711 Likewise.
27712 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27713
be8498fc
L
277142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27715
27716 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
27717 (stackinfo_sub_sp): Likewise.
27718
70bc83b9
L
277192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27720
27721 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
27722 RAX_LP.
27723
9bc0b730
L
277242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27725
27726 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
27727 into R*_LP.
27728
6d2850e7
L
277292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27730
27731 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
27732 sizes into R*_LP.
27733
3cb84561
L
277342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27735
27736 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
27737
54e2ed81
L
277382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27739
27740 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
27741 into R11_LP and load __x86_64_shared_cache_size_half into
27742 R8_LP.
27743
8a17f349
L
277442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27745
27746 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
27747 R8_LP.
27748
777b1eea
AZ
277492012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27750
27751 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
27752 logb for POWER7.
27753 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
27754 logbf for POWER7.
27755 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
27756 logbl for POWER7.
27757 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
27758 powerpc32/power7/fpu/s_logb.c via #include.
27759 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
27760 powerpc32/power7/fpu/s_logbf.c via #include.
27761 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
27762 powerpc32/power7/fpu/s_logbl.c via #include.
27763
d20d4ac2
JM
277642012-05-15 Joseph Myers <joseph@codesourcery.com>
27765
27766 * README.libm: Remove file.
27767
6cdef1ab
L
277682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27769
27770 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
27771 count for x32. Use R*_LP and omit operand-size suffix.
27772
0b254d8f
L
277732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27774
27775 * shlib-versions: Move x86_64-.*-linux.* entries to ...
27776 * sysdeps/x86_64/64/shlib-versions: Here. New file.
27777 * sysdeps/x86_64/x32/shlib-versions: New file.
27778
ceb809dc
RM
277792012-05-14 Roland McGrath <roland@hack.frob.com>
27780
27781 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
27782 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
27783 Use _dl_fatal_printf instead.
27784
37f1abd4
JM
277852012-05-14 Joseph Myers <joseph@codesourcery.com>
27786
27787 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
27788 set if not set by the user. Do not allow for being unset.
27789 * sysdeps/unix/sysv/linux/configure: Regenerated.
27790
11de3a33
L
277912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27792
27793 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
27794 the `q' suffix from lea and replace .quad with ASM_ADDR.
27795
e02f153a
L
277962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27797
27798 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
27799 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
27800 instead of $17.
27801 (PTR_DEMANGLE): Likewise.
27802
520ae0fd
L
278032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27804
27805 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
27806 (LP_OP): Likewise.
27807 (ASM_ADDR): Likewise.
27808 (RAX_LP): Likewise.
27809 (RBP_LP): Likewise.
27810 (RBX_LP): Likewise.
27811 (RCX_LP): Likewise.
27812 (RDI_LP): Likewise.
27813 (RSI_LP): Likewise.
27814 (RSP_LP): Likewise.
27815 (R8_LP): Likewise.
27816 (R9_LP): Likewise.
27817 (R10_LP): Likewise.
27818 (R10_LP): Likewise.
27819 (R11_LP): Likewise.
27820 (R12_LP): Likewise.
27821 (R13_LP): Likewise.
27822 (R14_LP): Likewise.
27823 (R15_LP): Likewise.
27824
b985be81
L
278252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27826
27827 * sysdeps/x86_64/x32/dl-machine.h: New file.
27828
6a4888ff
AJ
278292012-05-14 Andreas Jaeger <aj@suse.de>
27830
27831 * manual/Makefile (subdir): Remove export of subdir.
27832 (all): Remove target.
27833 (.PHONY): Remove all from list.
27834 (mkinstalldirs): Remove.
27835 (.PHONY): Remove installdirs from list.
27836 ($(inst_infodir)/libc.info): Use make-target-directory.
27837 (installdirs): Remove.
27838 (subdir_%): Remove.
27839 (glibc-targets): Remove.
27840 (lib): Remove.
27841 (stubs): Remove.
27842 ($(objpfx)stubs ../po/manual.pot): Remove.
27843 ($(objpfx)stamp%): Remove.
27844 (make-target-directory): Remove.
27845 (subdir_install): Remove.
27846 (routines): Remove.
27847 (aux): Remove.
27848 (sources): Remove.
27849 (objects): Remove.
27850 (headers): Remove.
27851
27852 [BZ #13750]
27853 * manual/.gitignore: Remove, it's not needed anymore.
27854 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
27855 all files in it.
27856 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
27857 directory.
27858 (texis): Renamed to $(objpfx)texis.
27859 (texis-path): New, contains path to generated files.
27860 (chapters.%): Use texis-path for complete path, add extra argument
27861 libc-texinfo.sh.
27862 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
27863 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
27864 (summary,texi, stamp-summary): Use complete path of
27865 files. Generate files in build dir.
27866 (dir-add.texi): Build in build dir.
27867 (libm-err.texi,stamp-libm-err): Likewise.
27868 (version.texi, stamp-version): Likewise.
27869 (.%c.texi): Likewise.
27870 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
27871 (mostlyclean): Remove target.
27872 (realclean): Remove target.
27873 (generated): Add new variable with contents from mostlyclean and
27874 realclean, remove entries duplicated in common-mostlyclean, add
27875 stamp-libm-err and stamp-version.
27876 (generated-dirs): Add libc directory.
27877 ($(inst_infodir)/libc.info): Install files from build dir.
27878
27879 * manual/install.texi (Configuring and compiling): Adjust since
27880 the info files are not part of the tar ball anymore.
27881
7ac77294
AJ
278822012-05-14 Andreas Jaeger <aj@suse.de>
27883
27884 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
27885 variable.
27886
ffb7875d
JM
278872012-05-14 Joseph Myers <joseph@codesourcery.com>
27888
27889 [BZ #13717]
27890 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27891 to 2.2.0 where earlier.
27892 * sysdeps/unix/sysv/linux/configure: Regenerated.
27893 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
27894 Remove conditional code.
27895 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
27896 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
27897 Remove conditional code.
27898 [!__NR_lchown]: Likewise.
27899 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27900 [__NR_lchown]: Likewise.
27901 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
27902 comment referencing __ASSUME_LCHOWN_SYSCALL.
27903 * sysdeps/unix/sysv/linux/i386/sigaction.c
27904 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27905 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27906 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
27907 Remove conditional code.
27908 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
27909 (__protocol_available): Remove #if 0 code.
27910 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
27911 conditional code.
27912 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
27913 * sysdeps/unix/sysv/linux/kernel-features.h
27914 (__ASSUME_GETCWD_SYSCALL): Don't define.
27915 (__ASSUME_REALTIME_SIGNALS): Likewise.
27916 (__ASSUME_PREAD_SYSCALL): Likewise.
27917 (__ASSUME_PWRITE_SYSCALL): Likewise.
27918 (__ASSUME_POLL_SYSCALL): Likewise.
27919 (__ASSUME_LCHOWN_SYSCALL): Likewise.
27920 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
27921 non-SPARC.
27922 (__ASSUME_SIOCGIFNAME): Don't define.
27923 (__ASSUME_MSG_NOSIGNAL): Likewise.
27924 (__ASSUME_SENDFILE): Define unconditionally.
27925 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
27926 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
27927 conditional code.
27928 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
27929 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
27930 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
27931 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27932 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
27933 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
27934 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
27936 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27937 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
27939 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27940 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
27942 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27943 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
27945 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27946 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
27948 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27949 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
27951 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27952 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
27954 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27955 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
27957 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27958 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27959 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
27960 Remove conditional code.
27961 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27962 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
27963 Remove conditional code.
27964 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27965 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
27966 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
27967 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
27968 Remove conditional code.
27969 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27970 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
27971 Remove conditional code.
27972 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27973 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
27974 Remove conditional code.
27975 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27976 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
27977 Remove conditional code.
27978 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27979 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
27980 Remove conditional code.
27981 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27982 * sysdeps/unix/sysv/linux/sh/pwrite64.c
27983 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27984 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27985 * sysdeps/unix/sysv/linux/sigaction.c
27986 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27987 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27988 * sysdeps/unix/sysv/linux/sigpending.c
27989 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27990 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27991 * sysdeps/unix/sysv/linux/sigprocmask.c
27992 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27993 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27994 * sysdeps/unix/sysv/linux/sigsuspend.c
27995 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27996 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27997 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27998 (__libc_missing_rt_sigs): Remove.
27999 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28000 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28001 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28002 Remove conditional code.
28003 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28004 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28005 return 1.
28006 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28007 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28008 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28009 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28010
1bfb7291
AJ
280112012-05-14 Andreas Jaeger <aj@suse.de>
28012
caae5a81
AJ
28013 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28014 it's not used in glibc.
28015 (__coshm1): Likewise.
28016 (__acosh1p): Likewise.
28017 (__sgn): Likewise.
28018
1bfb7291
AJ
28019 * manual/string.texi (Copying and Concatenation): Add missing
28020 variable in concat example.
28021 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28022
c044d724
L
280232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28024
144c5467 28025 [BZ #14103]
c044d724
L
28026 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28027 __builtin_clzl with __builtin_clzll.
28028
2523c62b
L
280292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28030
28031 [BZ #14104]
28032 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28033 libc_freeres_ptr.
28034
d7bb4c42
LD
280352012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28036
28037 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28038 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28039 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28040 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28041
9dc4e1fb
MF
280422012-05-14 Mike Frysinger <vapier@gentoo.org>
28043
28044 * NEWS: Update ia64 info.
28045
c7df0112
AS
280462012-05-12 Andreas Schwab <schwab@linux-m68k.org>
28047
28048 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28049 used as bcopy.
28050
dc70356c
TS
280512012-05-12 Thomas Schwinge <thomas@codesourcery.com>
28052
28053 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28054 * sysdeps/unix/syscalls.list (dup3): Likewise.
28055 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28056 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28057
9fb1a21f
L
280582012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28059
28060 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28061 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28062
4822a2a5
L
280632012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28064
28065 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28066 thread pointer.
28067 (TLS_IE): Use mov/add instead of movq/addq to load thread
28068 pointer.
28069 (TLS_GD_PREFIX): New.
28070 (TLS_GD): Use it.
28071
842b81d6
DM
280722012-05-11 David S. Miller <davem@davemloft.net>
28073
28074 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28075 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28076 (_FPU_SETCW): Likewise.
28077
1cf463cd
L
280782012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28079
28080 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28081 is 32-byte aligned.
28082
60cc4a18
AS
280832012-05-11 Andreas Schwab <schwab@linux-m68k.org>
28084
28085 [BZ #11837]
28086 * iconvdata/gb18030.c: Update tables.
28087 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
28088 characters specially.
28089 (BODY for TO_LOOP): Add encoding of missing ranges.
28090
febb44a4
TS
280912012-05-11 Thomas Schwinge <thomas@codesourcery.com>
28092
28093 [BZ #13673]
28094 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28095 * sysdeps/mach/hurd/dup3.c: Likewise.
28096 * sysdeps/mach/hurd/readlinkat.c: Likewise.
28097 * sysdeps/powerpc/memmove.c:: Likewise.
28098
0a10fb9e
L
280992012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28100
28101 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28102 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28103
df8a552f
L
281042012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28105
28106 * elf/elf.h (R_X86_64_RELATIVE64): New.
28107 (R_X86_64_NUM): Updated.
28108 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28109 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
28110 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28111 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28112 tst-quad1pie tst-quad2pie
28113 (modules-names): Add tst-quadmod1 tst-quadmod2.
28114 ($(objpfx)tst-quad1): New dependency.
28115 ($(objpfx)tst-quad2): Likewise.
28116 ($(objpfx)tst-quad1pie): Likewise.
28117 ($(objpfx)tst-quad2pie): Likewise.
28118 * sysdeps/x86_64/tst-quad1.c: New file.
28119 * sysdeps/x86_64/tst-quad1pie.c: New file.
28120 * sysdeps/x86_64/tst-quad2.c: Likewise.
28121 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28122 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28123 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28124 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28125 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28126
f34d6f84
ST
281272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28128
f42d41d1
ST
28129 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28130 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28131 * streams/stropts.h (t_scalar_t): Define type.
28132
3c3571fc
ST
28133 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28134 (_PATH_PRESERVE): Set to "/var/lib".
28135 (_PATH_RWHODIR): Set to "/var/spool/rwho".
28136
61f06bd3
ST
28137 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28138 instead of int.
28139
918d4d71
ST
28140 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28141 if __dir_mkfile succeeded.
28142
f34d6f84
ST
28143 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28144 checking for _hurd_dtablesize. Unlock it right after having
28145 finished _hurd_dtable allocation.
28146
10589b4a
TS
281472012-05-10 Thomas Schwinge <thomas@schwinge.name>
28148
674cdbc7
TS
28149 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28150 * sysdeps/mach/hurd/configure: Regenerated.
28151 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28152 special-casing to...
28153 * sysdeps/gnu/configure.in: ... this new file.
28154 * sysdeps/unix/sysv/linux/configure: Regenerated.
28155 * sysdeps/gnu/configure: New generated file.
28156
8e41b99f
TS
28157 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28158 for Linux: use nsec instead of usec, as well as:
28159 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28160 members of type struct timespec.
28161 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28162 New macros.
28163 (struct stat64): Likewise.
28164 (_STATBUF_ST_NSEC): New macro.
28165 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28166
10589b4a
TS
28167 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28168 __strtoul_internal rather than strtoul.
28169
63643c85
PT
281702012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28171
28172 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28173 and reject them.
28174
3faebe6a
ST
281752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28176
28177 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28178 which preserves existing values.
28179 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28180
c6474b07
PT
281812012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28182
28183 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28184 TIMEOUT values. Return EINVAL for NFDS values either negative or
28185 greater than FD_SETSIZE.
28186
1043890b
ST
281872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28188
28189 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28190 allocated, call __vm_protect to finish enabling the existing space, and
28191 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28192 allocate the remainder.
28193
37ed8b9b
PT
281942012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28195
28196 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28197 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
28198
db653660
ST
281992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28200
37ed8b9b
PT
28201 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28202 sysdeps/mach/hurd/readlink.c.
b29d4053 28203
db653660
ST
28204 * posix/tst-sysconf.c (posix_options): Only use
28205 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28206 _POSIX_SYNCHRONIZED_IO when they are defined
28207 * sysdeps/mach/hurd/bits/posix_opt.h:
28208 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28209 (_XOPEN_REALTIME): Undefine macro.
28210 (_XOPEN_REALTIME_THREADS): Undefine macro.
28211 (_XOPEN_SHM): Undefine macro.
28212 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28213 macro to -1.
28214 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28215 macro to -1.
28216 (_POSIX_ASYNC_IO): Undefine macro.
28217 (_POSIX_PRIORITIZED_IO): Undefine macro.
28218 (_POSIX_SPIN_LOCKS): Define macro to -1.
28219
ee16e894
ST
28220 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28221 SA_NODEFER, SA_RESETHAND.
28222 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28223 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28224 F_DUPFD_CLOEXEC.
28225
6103ae3b
TS
282262012-05-10 Thomas Schwinge <thomas@schwinge.name>
28227
28228 * elf/Makefile (pldd-modules): Define unconditionally.
28229
80b4e5f3
TS
282302012-05-10 Thomas Schwinge <thomas@schwinge.name>
28231
28232 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28233
edadcbd6
ST
282342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28235
28236 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28237 Return ENOENT when name is empty.
28238 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28239
80694780
TS
282402012-05-10 Thomas Schwinge <thomas@schwinge.name>
28241
1792c087
TS
28242 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28243
80694780
TS
28244 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28245
6b645f0d
ST
282462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28247
80694780
TS
28248 Fix mlock in all cases except non-readable pages.
28249 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28250 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 28251
6b645f0d
ST
28252 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28253 (__mkdir): When path is `/', just fail with EEXIST.
28254 * sysdeps/mach/hurd/mkdirat.c: Likewise.
28255
e468f8a3
TS
282562012-05-10 Thomas Schwinge <thomas@schwinge.name>
28257
28258 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28259 <sys/uio.h> (for writev).
28260 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28261 and <sys/param.h> (for MIN).
28262
a4186cff
PT
282632012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28264
28265 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
28266 REQUESTED_TIME. Properly set the remaining time and return EINTR
28267 if interrupted.
28268
510bbf14
TS
282692012-05-10 Thomas Schwinge <thomas@schwinge.name>
28270
28271 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
28272 Depend on against $(link-rpcuserlibs).
28273
5d5722e8
ST
282742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28275
a4186cff
PT
28276 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
28277 (__libc_stack_end): Do not use attribute_relro.
28278 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
28279 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 28280 to libthread-provided value.
a4186cff
PT
28281 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
28282 attribute_relro.
5d5722e8 28283
37233df9
TS
282842012-05-10 Thomas Schwinge <thomas@schwinge.name>
28285
be971a2b
TS
28286 [BZ #3748]
28287 * bits/libc-lock.h (__libc_once_get): New macro.
28288 * sysdeps/mach/bits/libc-lock.h: Likewise.
28289 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
28290 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
28291 instead of using implementation details.
28292
37233df9
TS
28293 * libio/fileops.c: Unconditionally include <kernel-features.h>.
28294 * libio/freopen.c: Likewise.
28295 * libio/freopen64.c: Likewise.
28296 * misc/syslog.c: Likewise.
28297 * nscd/connections.c: Likewise.
28298 * nscd/netgroupcache.c: Likewise.
28299 * sysdeps/posix/getcwd.c: Likewise.
28300
38de94a5
RM
283012012-05-10 Roland McGrath <roland@hack.frob.com>
28302
28303 * math/w_ilogbf.c: Add #include <limits.h>.
28304
67530489
ST
283052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28306
a4186cff 28307 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
28308 path instead of returning without unlocking.
28309
67530489
ST
28310 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
28311 immediate-write ioctls.
28312 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
28313
5aa3a74a
TS
283142012-05-10 Thomas Schwinge <thomas@schwinge.name>
28315
18bad2ae
TS
28316 * sysdeps/mach/hurd/i386/init-first.c (init): Use
28317 __builtin_frame_address instead of making assumptions about the
28318 location of the return address relative to DATA. Force early load of
28319 the return address.
28320 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
28321 __builtin_frame_address.
28322
5aa3a74a
TS
28323 dup3 for GNU Hurd.
28324 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
28325 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
28326 implement dup3 and do some further code clean-ups.
28327 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
28328 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
28329
ecd0de9a
ST
283302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28331
cd9fa985
ST
28332 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
28333
a4186cff
PT
28334 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
28335 HURD_CRITICAL_END around holding _hurd_dtable_lock.
28336 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
28337 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
28338 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
28339 d->port.lock.
802ca5a5 28340
a4186cff
PT
28341 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
28342 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
28343 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 28344
bcf55240
TS
283452012-05-10 Thomas Schwinge <thomas@schwinge.name>
28346
6960eb42
TS
28347 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
28348 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
28349 definitions.
28350
eb43375f
TS
28351 accept4 for GNU Hurd.
28352 * include/sys/socket.h (__libc_accept4): New prototype.
28353 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
28354 to implement __libc_accept4.
28355 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
28356 __libc_accept4.
28357 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
28358
bcf55240
TS
28359 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
28360 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
28361 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
28362 signal-defines.sym.
28363
6178c55b
ST
283642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28365
a4186cff 28366 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 28367
6f080c2f
TS
283682012-05-10 Thomas Schwinge <thomas@schwinge.name>
28369
28370 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
28371 assertion on O_CLOEXEC flag.
28372 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
28373 * hurd/intern-fd.c: Likewise.
28374 * hurd/port2fd.c: Likewise.
28375
bcfe3a54
ST
283762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28377
28378 [BZ #3906]
28379 * bits/in.h (IPV6_PKTINFO): Define new macro.
28380 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
28381
89c9aa49
AZ
283822012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28383
28384 [BZ #13954]
28385 [BZ #13955]
28386 [BZ #13956]
28387 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
28388 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28389 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
28390 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28391 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28392 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28393 * math/libm-test.inc (logb_test) : Additional logb tests.
28394
021db4be
AJ
283952012-05-09 Andreas Schwab <schwab@linux-m68k.org>
28396 Andreas Jaeger <aj@suse.de>
28397
28398 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
28399 * configure: Regenerated.
28400 * config.h.in (LINK_OBSOLETE_RPC): New macro.
28401 * config.make.in (link-obsolete-rpc): New substituted variable.
28402 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
28403 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
28404 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28405 (shared-only-routines): Don't set it under [link-obsolete-rpc],
28406 so that libc.a contains the symbols.
28407 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28408 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
28409 * sunrpc/auth_none.c: Likewise.
28410 * sunrpc/auth_unix.c: Likewise.
28411 * sunrpc/authdes_prot.c: Likewise.
28412 * sunrpc/authuxprot.c: Likewise.
28413 * sunrpc/clnt_gen.c: Likewise.
28414 * sunrpc/clnt_perr.c: Likewise.
28415 * sunrpc/clnt_raw.c: Likewise.
28416 * sunrpc/clnt_simp.c: Likewise.
28417 * sunrpc/clnt_tcp.c: Likewise.
28418 * sunrpc/clnt_udp.c: Likewise.
28419 * sunrpc/clnt_unix.c: Likewise.
28420 * sunrpc/des_crypt.c: Likewise.
28421 * sunrpc/des_soft.c: Likewise.
28422 * sunrpc/get_myaddr.c: Likewise.
28423 * sunrpc/key_call.c: Likewise.
28424 * sunrpc/key_prot.c: Likewise.
28425 * sunrpc/netname.c: Likewise.
28426 * sunrpc/pm_getmaps.c: Likewise.
28427 * sunrpc/pm_getport.c: Likewise.
28428 * sunrpc/pmap_clnt.c: Likewise.
28429 * sunrpc/pmap_prot.c: Likewise.
28430 * sunrpc/pmap_prot2.c: Likewise.
28431 * sunrpc/pmap_rmt.c: Likewise.
28432 * sunrpc/publickey.c: Likewise.
28433 * sunrpc/rpc_cmsg.c: Likewise.
28434 * sunrpc/rpc_common.c: Likewise.
28435 * sunrpc/rpc_dtable.c: Likewise.
28436 * sunrpc/rpc_prot.c: Likewise.
28437 * sunrpc/rpc_thread.c: Likewise.
28438 * sunrpc/rtime.c: Likewise.
28439 * sunrpc/svc.c: Likewise.
28440 * sunrpc/svc_auth.c: Likewise.
28441 * sunrpc/svc_raw.c: Likewise.
28442 * sunrpc/svc_run.c: Likewise.
28443 * sunrpc/svc_tcp.c: Likewise.
28444 * sunrpc/svc_udp.c: Likewise.
28445 * sunrpc/svc_unix.c: Likewise.
28446 * sunrpc/svcauth_des.c: Likewise.
28447 * sunrpc/xcrypt.c: Likewise.
28448 * sunrpc/xdr.c: Likewise.
28449 * sunrpc/xdr_array.c: Likewise.
28450 * sunrpc/xdr_float.c: Likewise.
28451 * sunrpc/xdr_intXX_t.c: Likewise.
28452 * sunrpc/xdr_mem.c: Likewise.
28453 * sunrpc/xdr_rec.c: Likewise.
28454 * sunrpc/xdr_ref.c: Likewise.
28455 * sunrpc/xdr_sizeof.c: Likewise.
28456 * sunrpc/xdr_stdio.c: Likewise.
28457
b5c086a2
RM
284582012-05-10 Roland McGrath <roland@hack.frob.com>
28459
28460 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
28461 change. Update copyright years.
28462
6d74dd09
JM
284632012-05-10 Joseph Myers <joseph@codesourcery.com>
28464
28465 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
28466
28e72501
MK
284672012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
28468 Joseph Myers <joseph@codesourcery.com>
28469 Paul Pluzhnikov <ppluzhnikov@google.com>
28470
28471 [BZ #14012]
28472 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
28473 requiring rpcgen.
28474 [cross-compiling] (extra-libs): Likewise.
28475 [cross-compiling] (extra-libs-others): Likewise.
28476 [cross-compiling] (librpcsvc-routines): Likewise.
28477 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
28478 [cross-compiling] (omit-deps): Likewise.
28479 (sunrpc-CPPFLAGS): New variable.
28480 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
28481 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
28482 (cross-rpcgen-objs): New variable.
28483 (extra-objs): Append $(cross-rpcgen-objs).
28484 ($(cross-rpcgen-objs)): New rule.
28485 ($(objpfx)cross-rpcgen): Likewise.
28486 (rpcgen-cmd): Define to use $(built-program-file). Expand
28487 comment.
28488 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
28489 ($(objpfx)x%.stmp): Likewise.
28490 * sunrpc/proto.h [IS_IN_build] (_): Define.
28491 [IS_IN_build] (_libc_intl_domainname): Likewise.
28492
c8c59454
L
284932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28494
28495 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
28496 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
28497 and R_X86_64_TPOFF64.
28498
6f27cd16
JM
284992012-05-10 Joseph Myers <joseph@codesourcery.com>
28500
28501 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
28502 sysdeps/unix/sysv/syscalls.list.
28503 (stime): Likewise.
28504 (utime): Likewise.
28505 * sysdeps/unix/sysv/syscalls.list: Remove file.
28506
02467e1c
PE
285072012-05-10 Paul Eggert <eggert@cs.ucla.edu>
28508
28509 [BZ #3440]
28510 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
28511 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
28512 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
28513 (__LC_IDENTIFICATION): Make these macros useful in #if
28514 expressions, as required by C99.
28515
da392631
AS
285162012-05-10 Andreas Schwab <schwab@linux-m68k.org>
28517
28518 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
28519 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
28520 after this.
28521
8115f29b
L
285222012-05-09 H.J. Lu <hongjiu.lu@intel.com>
28523
28524 * stdlib/longlong.h: Updated from GCC.
28525
bdd74070
AJ
285262012-05-09 Andreas Jaeger <aj@suse.de>
28527
edfe0dbe
AJ
28528 * nscd/nscd.c (run_modes): Make named enum, reorder so that
28529 default is first entry.
28530 (run_mode): Set type.
28531 (main): Remove informal message about syslog.
28532 (options): Fix typo.
28533
bcfe3a54
ST
28534 [BZ #14053]
28535 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 28536 to asm.
bcfe3a54
ST
28537 (lrint): Likewise.
28538 (llrintf): Likewise.
28539 (llrint): Likewise.
28540 (rint): Likewise.
28541 (rintf): Likewise.
28542 (nearbyint): Likewise.
28543 (nearbyintf): Likewise.
bdd74070 28544
91d8d69e
AJ
285452012-05-09 Andreas Jaeger <aj@suse.de>
28546 Pedro Alves <palves@redhat.com>
28547
28548 * nscd/nscd.c (run_mode): Use enum.
28549 (main): Cleanup coding style issue.
28550
bb90b80b
AJ
285512012-05-09 Alexandre Oliva <aoliva@redhat.com>
28552 Andreas Jaeger <aj@suse.de>
28553
bcfe3a54
ST
28554 * nscd/nscd.c (go_background): Replaced with...
28555 (run_mode): ... this.
bb90b80b 28556 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
28557 (options): Add -F --foreground.
28558 (main): Implement it.
28559 (parse_opt): Parse it.
bb90b80b 28560
1a4b75a1
AJ
285612012-05-09 Andreas Jaeger <aj@suse.de>
28562
28563 [BZ #14083]
28564 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
28565 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
28566 -Wconversion warning.
28567 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
28568 Likewise.
28569
b1cc2472
JM
285702012-05-09 Joseph Myers <joseph@codesourcery.com>
28571
28572 * conform/data/locale.h-data (NULL): Use macro-constant. Require
28573 == 0.
28574 (LC_ALL): Use macro-int-constant.
28575 (LC_COLLATE): Likewise.
28576 (LC_CTYPE): Likewise.
28577 (LC_MESSAGES): Likewise.
28578 (LC_MONETARY): Likewise.
28579 (LC_NUMERIC): Likewise.
28580 (LC_TIME): Likewise.
28581 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
28582 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28583 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28584 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
28585 Specify type.
28586 [C99-based standards] (float_t): Expect type.
28587 [C99-based standards] (double_t): Expect type.
28588 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
28589 type.
28590 [C99-based standards] (HUGE_VALL): Likewise.
28591 [C99-based standards] (INFINITY): Likewise.
28592 [C99-based standards] (NAN): Likewise.
28593 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
28594 [C99-based standards] (FP_NAN): Likewise.
28595 [C99-based standards] (FP_NORMAL): Likewise.
28596 [C99-based standards] (FP_SUBNORMAL): Likewise.
28597 [C99-based standards] (FP_ZERO): Likewise.
28598 [C99-based standards] (FP_FAST_FMA): Use
28599 optional-macro-int-constant. Specify type. Require == 1.
28600 [C99-based standards] (FP_FAST_FMAF): Likewise.
28601 [C99-based standards] (FP_FAST_FMAL): Likewise.
28602 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
28603 [C99-based standards] (FP_ILOGBNAN): Likewise.
28604 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
28605 Specify type.
28606 [C99-based standards] (MATH_ERREXCEPT): Likewise.
28607 [C99-based standards] (math_errhandling): Specify type.
28608 [ISO99 || ISO11] (signgam): Do not allow.
28609 [non-C99-based standards] (copysignf): Do not allow.
28610 [non-C99-based standards] (exp2f): Likewise.
28611 [non-C99-based standards] (log2f): Likewise.
28612 [non-C99-based standards] (modff): Allow.
28613 [non-C99-based standards] (erff): Do not allow.
28614 [non-C99-based standards] (erfcf): Likewise.
28615 [non-C99-based standards] (gammaf): Likewise.
28616 [non-C99-based standards] (hypotf): Likewise.
28617 [non-C99-based standards] (j0f): Likewise.
28618 [non-C99-based standards] (j1f): Likewise.
28619 [non-C99-based standards] (jnf): Likewise.
28620 [non-C99-based standards] (lgammaf): Likewise.
28621 [non-C99-based standards] (tgammaf): Likewise.
28622 [non-C99-based standards] (y0f): Likewise.
28623 [non-C99-based standards] (y1f): Likewise.
28624 [non-C99-based standards] (ynf): Likewise.
28625 [non-C99-based standards] (isnanf): Likewise.
28626 [non-C99-based standards] (acoshf): Likewise.
28627 [non-C99-based standards] (asinhf): Likewise.
28628 [non-C99-based standards] (atanhf): Likewise.
28629 [non-C99-based standards] (cbrtf): Likewise.
28630 [non-C99-based standards] (expm1f): Likewise.
28631 [non-C99-based standards] (ilogbf): Likewise.
28632 [non-C99-based standards] (log1pf): Likewise.
28633 [non-C99-based standards] (logbf): Likewise.
28634 [non-C99-based standards] (nextafterf): Likewise.
28635 [non-C99-based standards] (remainderf): Likewise.
28636 [non-C99-based standards] (rintf): Likewise.
28637 [non-C99-based standards] (scalbf): Likewise.
28638 [non-C99-based standards] (copysignl): Likewise.
28639 [non-C99-based standards] (exp2l): Likewise.
28640 [non-C99-based standards] (log2l): Likewise.
28641 [non-C99-based standards] (modfl): Allow.
28642 [non-C99-based standards] (erfl): Do not allow.
28643 [non-C99-based standards] (erfcl): Likewise.
28644 [non-C99-based standards] (gammal): Likewise.
28645 [non-C99-based standards] (hypotl): Likewise.
28646 [non-C99-based standards] (j0l): Likewise.
28647 [non-C99-based standards] (j1l): Likewise.
28648 [non-C99-based standards] (jnl): Likewise.
28649 [non-C99-based standards] (lgammal): Likewise.
28650 [non-C99-based standards] (tgammal): Likewise.
28651 [non-C99-based standards] (y0l): Likewise.
28652 [non-C99-based standards] (y1l): Likewise.
28653 [non-C99-based standards] (ynl): Likewise.
28654 [non-C99-based standards] (isnanl): Likewise.
28655 [non-C99-based standards] (acoshl): Likewise.
28656 [non-C99-based standards] (asinhl): Likewise.
28657 [non-C99-based standards] (atanhl): Likewise.
28658 [non-C99-based standards] (cbrtl): Likewise.
28659 [non-C99-based standards] (expm1l): Likewise.
28660 [non-C99-based standards] (ilogbl): Likewise.
28661 [non-C99-based standards] (log1pl): Likewise.
28662 [non-C99-based standards] (logbl): Likewise.
28663 [non-C99-based standards] (nextafterl): Likewise.
28664 [non-C99-based standards] (remainderl): Likewise.
28665 [non-C99-based standards] (rintl): Likewise.
28666 [non-C99-based standards] (scalbl): Likewise.
28667 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28668 [non-C99-based standards] (FP_*): Do not allow.
28669 [C99-based standards] (FP_*): Change to
28670 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28671 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28672 allow.
28673 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
28674 (SIG_ERR): Likewise.
28675 [X/Open-based standards] (SIG_HOLD): Likewise.
28676 (SIG_IGN): Likewise.
28677 (SIGABRT): Use macro-int-constant. Specify type. Require
28678 positive value.
28679 (SIGFPE): Likewise.
28680 (SIGILL): Likewise.
28681 (SIGINT): Likewise.
28682 (SIGSEGV): Likewise.
28683 (SIGTER): Likewise.
28684 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
28685 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
28686 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
28687 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
28688 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
28689 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
28690 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
28691 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
28692 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
28693 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
28694 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
28695 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
28696 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
28697 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
28698 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
28699 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
28700 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
28701 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
28702 [X/Open-based standards] (SIGTRAP): Likewise.
28703 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
28704 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
28705 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
28706 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
28707 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28708 allow.
28709
b9f1922d
IW
287102012-05-08 Ian Wienand <ianw@vmware.com>
28711
28712 [BZ #14080]
28713 * time/tzset.c (__tzset_parse_tz): Update default rules for
28714 daylight time changes in the Energy Policy Act of 2005.
28715
1db86e88
AJ
287162012-05-09 Andreas Jaeger <aj@suse.de>
28717
28718 [BZ #13983]
28719 * elf/ldconfig.c (parse_conf): Change string to make clear that
28720 ldconfig only issued a warning if ld.so.conf does not exist.
28721
dee4a4e3
DM
287222012-05-08 David S. Miller <davem@davemloft.net>
28723
ee0db190
DM
28724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
28725 movxtod instead of popping the value on the stack.
28726
dee4a4e3
DM
28727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28728
6a43ec98
CD
287292012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
28730
28731 * config.h.in: Add HAVE_ARM_PCS_VFP.
28732
05c2c961
RMG
287332012-05-08 Roland Mc Grath <roland@hack.frob.com>
28734
bcfe3a54
ST
28735 [BZ #13979]
28736 * include/features.h: Warn if user requests __FORTIFY_SOURCE
28737 checking but the checks are disabled for any reason.
05c2c961 28738
4b30f61a
L
287392012-05-08 H.J. Lu <hongjiu.lu@intel.com>
28740
28741 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
28742 and ELF64_R_TYPE with ELFW(R_TYPE).
28743
eee2bc67
JM
287442012-05-08 Joseph Myers <joseph@codesourcery.com>
28745
7ea5391a
JM
28746 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
28747 (ulimit): Likewise.
28748
eee2bc67
JM
28749 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
28750 (settimeofday): Likewise.
28751
abb66a67
MF
287522012-05-08 Mike Frysinger <vapier@gentoo.org>
28753
28754 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
28755 a struct th_u2 inside the union, and move tu_block/tu_code into
28756 a new th_u3 union of tu_block/tu_code inside of that. Move
28757 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
28758 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
28759 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
28760 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
28761 (th_stuff): Change to th_u1.tu_stuff.
28762 (th_data): Define.
28763 (th_msg): Change to th_u1.th_u2.tu_data.
28764
7f18b530
DM
287652012-05-07 David S. Miller <davem@davemloft.net>
28766
05760585
DM
28767 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28768
7f18b530
DM
28769 [BZ #14074]
28770 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
28771 (SETUP_PIC_REG): Use it.
28772 (SETUP_PIC_REG_LEAF): Use it.
28773
495fd99f
JM
287742012-05-07 Joseph Myers <joseph@codesourcery.com>
28775
28776 [BZ #13885]
28777 [BZ #13923]
28778 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28779 USE_AS_EXPM1L.
28780 (EXPL_FINITE): Likewise.
28781 (FLDLOG): Likewise.
28782 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28783 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28784 e_expl.S.
28785 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28786 USE_AS_EXPM1L.
28787 (EXPL_FINITE): Likewise.
28788 (FLDLOG): Likewise.
28789 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28790 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28791 e_expl.S.
28792 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
28793 test of -max_value argument for long double.
28794 * sysdeps/i386/fpu/libm-test-ulps: Update.
28795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28796
6693d694
DM
287972012-05-06 David S. Miller <davem@davemloft.net>
28798
28799 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
28800 quad soft-float symbols whose references which are compiler
28801 generated.
28802 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28803
6c23e11c
JM
288042012-05-06 Joseph Myers <joseph@codesourcery.com>
28805
d8b82cad
JM
28806 [BZ #13884]
28807 [BZ #13914]
28808 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28809 USE_AS_EXP10L.
28810 (EXPL_FINITE): Likewise.
28811 (FLDLOG): Likewise.
28812 (c0): Likewise.
28813 (c1): Likewise.
28814 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
28815 Adjust comments for base varying.
28816 (__expl_finite): Change alias to EXPL_FINITE.
28817 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
28818 e_expl.S.
28819 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
28820 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
28821 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28822 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
28823 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28824 USE_AS_EXP10L.
28825 (EXPL_FINITE): Likewise.
28826 (FLDLOG): Likewise.
28827 (c0): Likewise.
28828 (c1): Likewise.
28829 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
28830 Adjust comments for base varying.
28831 (__expl_finite): Change alias to EXPL_FINITE.
28832 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
28833 tests for bugs.
28834 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28835
6c23e11c
JM
28836 [BZ #14064]
28837 * math/libm-test.inc (check_float_internal): Correct ulp
28838 calculation for subnormal expected results.
28839
29ba805c
AJ
288402012-05-06 Andreas Jaeger <aj@suse.de>
28841
28842 * Makeconfig (+math-flags): New, set to -frounding-math.
28843 (+cflags): Add +math-flags so that all of glibc gets compiled with
28844 it.
28845
28846 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
28847
7b17aeda
JM
288482012-05-05 Joseph Myers <joseph@codesourcery.com>
28849
5779f134
JM
28850 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
28851 Disable one test.
28852
41498f4d
JM
28853 [BZ #13787]
28854 [BZ #13922]
28855 [BZ #14036]
28856 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
28857 (__ieee754_expl): Allow for and saturate large arguments.
28858 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
28859 (u_threshold): Likewise.
28860 (__exp): Call __ieee754_exp before checking for overflow and
28861 underflow.
28862 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
28863 (u_threshold): Likewise.
28864 (__expf): Call __ieee754_expf before checking for overflow and
28865 underflow.
28866 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
28867 (u_threshold): Likewise.
28868 (__expl): Call __ieee754_expl before checking for overflow and
28869 underflow.
28870 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
28871 (__ieee754_expl): Allow for and saturate large arguments.
28872 * math/libm-test.inc (exp_test): Add another test. Do not allow
28873 missing overflow exception on overflow.
28874 (expm1_test): Do not allow missing overflow exception on overflow.
28875
6698b8bf
JM
28876 * sysdeps/i386/fpu/e_expl.c: Move to ...
28877 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
28878 rather than using inline asm.
28879 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
28880 * sysdeps/x86_64/fpu/e_expl.S: Copy from
28881 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
28882
7b17aeda
JM
28883 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
28884 (nice): Likewise.
28885 (poll): Likewise.
28886 (signal): Likewise.
28887 (time): Likewise.
28888 (times): Likewise.
28889
f7c85819
JM
288902012-05-04 Joseph Myers <joseph@codesourcery.com>
28891
28892 * sysdeps/unix/syscalls.list (adjtime): Add entry from
28893 sysdeps/unix/common/syscalls.list.
28894 (fchmod): Likewise.
28895 (fchown): Likewise.
28896 (ftruncate): Likewise.
28897 (getrusage): Likewise.
28898 (gettimeofday): Likewise.
28899 (setpgid): Likewise.
28900 (setregid): Likewise.
28901 (setreuid): Likewise.
28902 (sigaction): Likewise.
28903 (truncate): Likewise.
28904 (vhangup): Likewise.
28905 * sysdeps/unix/common/syscalls.list: Remove file.
28906 * sysdeps/unix/bsd/Implies: Don't include unix/common.
28907 * sysdeps/unix/sysv/linux/Implies: Likewise.
28908
336270d0
L
289092012-05-04 H.J. Lu <hongjiu.lu@intel.com>
28910
28911 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
28912 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
28913 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
28914 Moved to ...
28915 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
28916 Here.
28917 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
28918 to ...
28919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
28920 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
28921 to ...
28922 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
28923 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
28924 to ...
28925 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
28926 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
28927 to ...
28928 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
28929 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
28930 to ...
28931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
28932 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
28933 to ...
28934 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
28935 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
28936 to ...
28937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28938 Here.
28939 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
28940 to ...
28941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
28942 Here.
28943 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
28944 to ...
28945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
28946 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
28947 Moved to ...
28948 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
28949 Here.
28950 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
28951 to ...
28952 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
28953
d128e450
JM
289542012-05-04 Joseph Myers <joseph@codesourcery.com>
28955
fa8ee516
JM
28956 * sysdeps/unix/common/bits/dirent.h: Remove file.
28957 * sysdeps/unix/common/bits/fcntl.h: Likewise.
28958
d128e450
JM
28959 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
28960 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
28961 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
28962 * sysdeps/unix/bsd/isatty.c: Likewise.
28963 * sysdeps/unix/bsd/tcdrain.c: Likewise.
28964 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
28965 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
28966
ff8faaf0 289672012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 28968
62881be4 28969 [BZ #13563]
31dc8730
AZ
28970 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
28971 long double comparison inaccuracies.
28972 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28973 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28974
6fef930c
AS
289752012-05-04 Andreas Schwab <schwab@linux-m68k.org>
28976
28977 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
28978 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
28979
8f203e6c
JM
289802012-05-04 Joseph Myers <joseph@codesourcery.com>
28981
28982 [BZ #14049]
28983 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
28984 nonzero digits before rounding a hex value.
28985 * stdlib/tst-strtod.c (tests): Add another test.
28986
5197d9c2
AK
289872012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28988
28989 * sysdeps/s390/fpu/libm-test-ulps: Update.
28990
f0c1dedf
AJ
289912012-05-03 Andreas Jaeger <aj@suse.de>
28992
28993 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
28994 does not get optimized out.
28995 (malloc_opt_barrier): New.
28996
a65ef2ae 289972012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 28998 Roland McGrath <roland@hack.frob.com>
a65ef2ae 28999
2b942cb7 29000 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 29001 intermediate file deletion.
2b942cb7 29002 (generated): Add .symlist files.
a65ef2ae 29003
54b71e02
JM
290042012-05-03 Joseph Myers <joseph@codesourcery.com>
29005
29006 [BZ #13775]
29007 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29008 Redirect under this condition.
29009 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29010 [__USE_GNU] (__dprintf_chk): Not under this condition.
29011 [__USE_GNU] (__vdprintf_chk): Likewise.
29012 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29013 under this condition.
29014 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29015 [__USE_XOPEN2K8] (dprintf): Define under this condition.
29016 [__USE_XOPEN2K8] (vdprintf): Likewise.
29017 [__USE_GNU] (__dprintf_chk): Not under this condition.
29018 [__USE_GNU] (__vdprintf_chk): Likewise.
29019 [__USE_GNU] (dprintf): Likewise.
29020 [__USE_GNU] (vdprintf): Likewise.
29021
d3dfcc41
RM
290222012-05-03 Roland McGrath <roland@hack.frob.com>
29023
29024 * elf/Makefile (common-generated): Set this instead of generated for
29025 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
29026 $(all-built-dso)-derived lists.
29027
7ac30cc5
AJ
290282012-05-03 Andreas Jaeger <aj@suse.de>
29029
0c51e550
AJ
29030 * sysdeps/i386/fpu/libm-test-ulps: Update.
29031
7ac30cc5
AJ
29032 * FAQ: Removed.
29033 * FAQ.in: Likewise.
29034 * scripts/gen-FAQ.pl: Likewise.
29035 * manual/install.texi (Installation): Point to online location of
29036 FAQ.
29037 * Makefile (files-for-dist): Remove FAQ.
29038 (FAQ): Remove.
29039
d4c2917f
AM
290402012-05-02 Allan McRae <allan@archlinux.org>
29041
29042 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29043 (LDFLAGS-reldepmod5.so): Likewise.
29044 (LDFLAGS-reldep6mod1.so): Likewise.
29045 (LDFLAGS-reldep6mod4.so): Likewise.
29046 (LDFLAGS-reldep8mod3.so): Likewise.
29047 (LDFLAGS-unload4mod1.so): Likewise.
29048 (LDFLAGS-unload4mod2.so): Likewise.
29049 (LDFLAGS-tst-initorder): Likewise.
29050 (LDFLAGS-tst-initordera2.so): Likewise.
29051 (LDFLAGS-tst-initordera3.so): Likewise.
29052 (LDFLAGS-tst-initordera4.so): Likewise.
29053 (LDFLAGS-tst-initorderb2.so): Likewise.
29054 (LDFLAGS-noload): Likewise.
29055 (LDFLAGS-next): Likewise.
29056 (LDFLAGS-order2mod1.so): Likewise.
29057 (LDFLAGS-order2mod2.so): Likewise.
29058 (LDFLAGS-tst-initorder2): Likewise.
29059 (LDFLAGS-tst-initorder2a.so): Likewise.
29060 (LDFLAGS-tst-initorder2b.so): Likewise.
29061 (LDFLAGS-tst-initorder2c.so): Likewise.
29062 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29063
d77f993f
DM
290642012-05-02 David S. Miller <davem@davemloft.net>
29065
29066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29067
171a70b4
PP
290682012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
29069
29070 [BZ #14055]
29071 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29072
0be196ad
AJ
290732012-05-02 Andreas Jaeger <aj@suse.de>
29074
29075 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29076 since we manipulate rounding mode.
29077 (CPPFLAGS-test-idouble.c): Likewise.
29078 (CPPFLAGS-test-ifloat.c): Likewise.
29079 (CFLAGS-test-ldouble.c): Likewise.
29080 (CFLAGS-test-double.c): Likewise.
29081 (CFLAGS-test-float.c): Likewise.
29082 (CFLAGS-test-misc.c): Likewise.
29083 (CFLAGS-test-test-fenv.c): Likewise.
29084
4f9d04aa
AZ
290852012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29086
2b942cb7
RM
29087 [BZ #2550]
29088 [BZ #2570]
29089 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29090 comparisons to determine direction to adjust input.
4f9d04aa 29091
82a79e7d
RM
290922012-05-01 Roland McGrath <roland@hack.frob.com>
29093
f5a01ca9
RM
29094 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29095 output to the target.
29096
90fe4186
RM
29097 * scripts/localplt.awk: New file.
29098 * elf/Makefile ($(objpfx)check-localplt): Target removed.
29099 (check-localplt-CFLAGS): Variable removed.
29100 ($(all-built-dso:=.jmprel)): New static pattern rule.
29101 (generated): Add those targets.
29102 (localplt-built-dso): New variable.
29103 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29104
29105 * elf/check-localplt.c: File removed.
29106
82397ed6
RM
29107 * scripts/check-execstack.awk: New file.
29108 * elf/Makefile ($(objpfx)check-execstack): Target removed.
29109 (check-execstack-CFLAGS): Variable removed.
29110 ($(objpfx)check-execstack.h): Target removed.
29111 ($(objpfx)execstack-default): New target.
29112 (generated): Add that instead of check-execstack.h.
29113 ($(all-built-dso:=.phdr)): New static pattern rule.
29114 (generated): Add those targets.
29115 * elf/check-execstack.c: File removed.
29116
82a79e7d
RM
29117 * scripts/check-textrel.awk: New file.
29118 * elf/Makefile ($(objpfx)check-textrel): Target removed.
29119 (check-textrel-CFLAGS): Variable removed.
29120 (all-built-dso): Use := to define.o
29121 ($(all-built-dso:=.dyn)): New static pattern rule.
29122 (generated): Add those targets.
29123 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29124 * config.make.in (READELF): New substituted variable.
29125 * elf/check-textrel.c: File removed.
29126
62fde54f 291272012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 29128
615605c9
JM
29129 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29130 allow.
29131 * conform/data/ctype.h-data [C99-based standards] (isblank):
29132 Expect function.
29133 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29134 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29135 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29136 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29137 Specify type. Require positive value.
29138 (EILSEQ): Likewise.
29139 (ERANGE): Likewise.
29140 [ISO || POSIX] (EILSEQ): Do not expect.
29141 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29142 Specify type. Require positive value.
29143 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29144 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29145 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29146 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29147 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29148 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29149 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29150 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29151 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29152 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29153 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29154 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29155 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29156 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29157 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29158 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29159 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29160 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29161 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29162 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29163 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29164 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29165 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29166 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29167 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29168 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29169 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29170 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29171 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29172 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29173 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29174 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29175 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29176 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29177 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29178 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29179 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29180 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29181 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29182 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29183 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29184 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29185 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29186 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29187 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29188 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29189 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29190 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29191 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29192 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29193 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29194 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29195 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29196 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29197 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29198 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29199 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29200 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29201 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29202 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29203 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29204 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29205 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29206 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29207 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29208 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29209 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29210 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29211 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29212 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29213 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29214 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29215 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29216 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29217 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29218 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29219 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29220 Require >= 2.
29221 (FLT_ROUNDS): Expect as macro, not constant.
29222 (FLT_MANT_DIG): Use macro-int-constant.
29223 (DBL_MANT_DIG): Likewise.
29224 (LDBL_MANT_DIG): Likewise.
29225 (FLT_DIG): Likewise.
29226 (DBL_DIG): Likewise.
29227 (LDBL_DIG): Likewise.
29228 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
29229 (DBL_MIN_EXP): Likewise.
29230 (LDBL_MIN_EXP): Likewise.
29231 (FLT_MAX_EXP): Use macro-int-constant.
29232 (DBL_MAX_EXP): Likewise.
29233 (LDBL_MAX_EXP): Likewise.
29234 (FLT_MAX_10_EXP): Likewise.
29235 (DBL_MAX_10_EXP): Likewise.
29236 (LDBL_MAX_10_EXP): Likewise.
29237 (FLT_MAX): Use macro-constant.
29238 (DBL_MAX): Likewise.
29239 (LDBL_MAX): Likewise.
29240 (FLT_EPSILON): Use macro-constant. Give upper bound.
29241 (DBL_EPSILON): Likewise.
29242 (LDBL_EPSILON): Likewise.
29243 (FLT_MIN): Likewise.
29244 (DBL_MIN): Likewise.
29245 (LDBL_MIN): Likewise.
29246 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29247 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29248 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29249 [ISO11] (FLT_HAS_SUBNORM): Likewise.
29250 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29251 [ISO11] (DBL_DECIMAL_DIG): Likewise.
29252 [ISO11] (FLT_DECIMAL_DIG): Likewise.
29253 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29254 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29255 [ISO11] (FLT_TRUE_MIN): Likewise.
29256 [ISO11] (LDBL_TRUE_MIN): Likewise.
29257 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29258 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29259 (SCHAR_MIN): Use macro-int-constant. Specify type.
29260 (SCHAR_MAX): Likewise.
29261 (UCHAR_MAX): Likewise.
29262 (CHAR_MIN): Likewise.
29263 (CHAR_MAX): Likewise.
29264 (MB_LEN_MAX): Use macro-int-constant.
29265 (SHRT_MIN): Use macro-int-constant. Specify type.
29266 (SHRT_MAX): Likewise.
29267 (USHRT_MAX): Likewise.
29268 (INT_MAX): Likewise.
29269 (INT_MIN): Use macro-int-constant. Specify type. Make upper
29270 bound negative.
29271 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
29272 bound with "U".
29273 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29274 bound with "L".
29275 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
29276 bound negative. Suffix upper bound with "L".
29277 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29278 bound with "UL".
29279 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
29280 Specify type.
29281 [C99-based standards] (LLONG_MAX): Likewise.
29282 [C99-based standards] (ULLONG_MAX): Likewise.
29283 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
29284 == 0.
29285 [ISO11] (max_align_t): Require type.
29286 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29287
c9140a62
JM
29288 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
29289 from $CFLAGS, without defining away __attribute__ calls.
29290 (checknamespace): Use $CFLAGS_namespace.
29291
9af0bf29
JM
29292 * conform/conformtest.pl (@keywords): Only include C99 keywords
29293 for standards based on C99 or C11.
29294
343222a2
JM
29295 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
29296 Disable tests.
29297 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
29298 UNIX98]: Likewise.
29299
661f8cf0
JM
29300 * conform/conformtest.pl: Handle "macro-int-constant" and test for
29301 usability of symbols in #if.
29302
ee74b9cb
JM
29303 * conform/conformtest.pl: If macro or constant types start
29304 "promoted:", expect the symbol to be of the following type
29305 promoted by the integer promotions.
62fde54f 29306
aafc49b3
JM
29307 * conform/conformtest.pl: Parse all "constant" and "macro" lines
29308 in one place. Also handle "macro-constant".
29309
fefdf574
JM
29310 * conform/conformtest.pl: Only accept expected macro values with
29311 "==". Parse all "macro" lines in one place.
29312 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
29313
f2d922fe
JM
29314 * conform/conformtest.pl: Handle braced types on "constant" lines
29315 instead of handling "typed-constant".
29316 * conform/data/signal.h-data: Use "constant" instead of
29317 "typed-constant".
29318
d22956c9
JM
29319 * conform/conformtest.pl: Handle "optional-" at start of lines in
29320 one place rather than duplicating several cases. Handle each
29321 format of "macro" line with initial "optional-".
29322
028e2e38
JM
29323 * conform/conformtest.pl: Only accept expected constant or
29324 optional-constant values with "==". Parse all "constant" lines in
29325 one place. Parse all "optional-constant" lines in one place.
29326 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
29327 * conform/data/fmtmsg.h-data: Likewise.
29328 * conform/data/netinet/in.h-data: Likewise.
29329 * conform/data/tar.h-data: Likewise.
29330 * conform/data/limits.h-data: Use "==" form on "constant" and
29331 "optional-constant" lines.
29332
1b8f2850
JM
29333 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
29334 Use -std=c99 for XOPEN2K.
29335 (@knownproblems): Remove.
29336 (newtoken): Don't check %isknown.
29337
a05a144b
JM
29338 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
29339 Do not expect macro.
29340 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
29341 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
29342 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
29343 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
29344 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
29345 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
29346 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
29347 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
29348 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
29349 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
29350 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
29351 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
29352 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
29353 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
29354 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
29355 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
29356 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
29357 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
29358 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
29359 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
29360 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
29361 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
29362 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
29363 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
29364 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
29365 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
29366 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
29367 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
29368 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
29369 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
29370 [XPG3] (acosh): Likewise.
29371 [XPG3] (asinh): Likewise.
29372 [XPG3] (atanh): Likewise.
29373 [XPG3] (cbrt): Likewise.
29374 [XPG3] (expm1): Likewise.
29375 [XPG3] (ilogb): Likewise.
29376 [XPG3] (log1p): Likewise.
29377 [XPG3] (logb): Likewise.
29378 [XPG3] (nextafter): Likewise.
29379 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
29380 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
29381 [XPG3] (remainder): Likewise.
29382 [XPG3] (rint): Likewise.
29383 [XPG3 || XPG4 || UNIX98] (round): Likewise.
29384 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
29385 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
29386 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
29387 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
29388 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
29389 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
29390 [UNIX98 || XOPEN2K] (scalb): Expect.
29391 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
29392 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
29393 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
29394 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
29395 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
29396 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
29397 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
29398 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
29399 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
29400 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
29401 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
29402 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
29403 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
29404 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
29405 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
29406 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
29407 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
29408 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
29409 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
29410 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
29411 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
29412 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
29413 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
29414 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
29415 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
29416 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
29417 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
29418 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
29419 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
29420 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
29421 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
29422 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
29423 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
29424 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
29425 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
29426 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
29427 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
29428 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
29429 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
29430 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
29431 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
29432 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
29433 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
29434 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
29435 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
29436 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
29437 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
29438 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
29439 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
29440 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
29441 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
29442 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
29443 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
29444 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
29445 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
29446 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
29447 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
29448 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
29449 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
29450 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
29451 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
29452 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
29453 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
29454 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
29455 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
29456 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
29457 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
29458 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
29459 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
29460 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
29461 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
29462 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
29463 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
29464 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
29465 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
29466 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
29467 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
29468 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
29469 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
29470 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
29471 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
29472 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
29473 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
29474 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
29475 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
29476 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
29477 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
29478 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
29479 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
29480 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
29481 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
29482 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
29483 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
29484 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
29485 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
29486 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
29487 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
29488 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
29489 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
29490 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
29491 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
29492 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
29493 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
29494 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
29495 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
29496 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
29497 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
29498 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
29499 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
29500 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
29501 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
29502 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
29503 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
29504 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
29505 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
29506 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
29507 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
29508 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
29509 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
29510 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
29511 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
29512 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
29513 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
29514 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
29515 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
29516 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
29517 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
29518 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
29519 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
29520 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
29521 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
29522 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
29523 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
29524 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
29525 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
29526 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
29527 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
29528
73c5ebe3
JM
29529 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
29530 _XOPEN_SOURCE_EXTENDED for XPG4.
29531
39c33b6c
JM
29532 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
29533
62fde54f
JM
29534 * Makeconfig (localtime): Remove variable.
29535 (inst_localtime-file): Likewise.
29536
0741d64c
AS
295372012-05-01 Andreas Schwab <schwab@linux-m68k.org>
29538
29539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29540 Update.
29541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29542 Update.
29543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29544 Update.
29545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29546 Update.
29547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
29548 Update.
29549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
29550 Update.
29551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29552 Update.
29553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
29554 Update.
29555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29556 Update.
29557
7cb029ee
JM
295582012-05-01 Joseph Myers <joseph@codesourcery.com>
29559
29560 [BZ #2550]
29561 [BZ #2570]
29562 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
29563 comparisons to determine direction to adjust input.
29564 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29565 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
29566 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
29567 Likewise.
29568 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
29569 Likewise.
29570 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29571 Likewise.
29572 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
29573 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29574 Likewise.
29575 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29576 Likewise.
29577 * math/libm-test.inc (nexttoward_test): Add more tests.
29578
412bd966
AS
295792012-05-01 Andreas Schwab <schwab@linux-m68k.org>
29580
29581 [BZ #14040]
29582 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
29583 in version GLIBC_2.1, not GLIBC_2.0.
29584 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
29585 Likewise.
29586
9568c0c2
JM
295872012-04-30 Joseph Myers <joseph@codesourcery.com>
29588
adfbc8ac
JM
29589 [BZ #13942]
29590 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
29591 (1 - x) * (1 + x).
29592 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29593 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
29594 * math/libm-test.inc (acos_test): Add more tests.
29595 (asin_test): Likewise.
29596 * sysdeps/i386/fpu/libm-test-ulps: Update.
29597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29598
5ba3cc69
JM
29599 [BZ #14034]
29600 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
29601 of square root.
29602 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
29603 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29604 * math/libm-test.inc (acos_test_tonearest): New function.
29605 (acos_test_towardzero): Likewise.
29606 (acos_test_downward): Likewise.
29607 (acos_test_upward): Likewise.
29608 (asin_test_tonearest): Likewise.
29609 (asin_test_towardzero): Likewise.
29610 (asin_test_downward): Likewise.
29611 (asin_test_upward): Likewise.
29612 (main): Call the new functions.
29613 * sysdeps/i386/fpu/libm-test-ulps: Update.
29614 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29615
9568c0c2
JM
29616 [BZ #13884]
29617 [BZ #13924]
29618 * math/e_exp10.c: Include <float.h>.
29619 (__ieee754_exp10): Handle underflow here rather than multiplying
29620 large negative argument by M_LN10.
29621 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
29622 of __ieee754_expf.
29623 * math/e_exp10l.c: Include <float.h>.
29624 (__ieee754_exp10l): Handle underflow here rather than multiplying
29625 large negative argument by M_LN10l.
29626 * math/libm-test.inc (exp10_test): Add another test. Do not allow
29627 spurious overflow exception on underflow.
29628
5ac3ea17
MP
296292012-04-29 Marek Polacek <polacek@redhat.com>
29630
29631 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
29632 (__fortify_function): New macro.
29633 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
29634 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
29635 __extern_always_inline.
29636 * libio/bits/stdio2.h: Likewise.
29637 * libio/bits/stdio.h: Likewise.
29638 * string/string.h: Likewise.
29639 * string/bits/string3.h: Likewise.
29640 * include/stdio.h: Likewise.
29641 * stdlib/bits/stdlib.h: Likewise.
29642 * stdlib/stdlib.h: Likewise.
29643 * rt/bits/mqueue2.h: Likewise.
29644 * rt/mqueue.h: Likewise.
29645 * posix/bits/unistd.h: Likewise.
29646 * posix/unistd.h: Likewise.
29647 * io/bits/poll2.h: Likewise.
29648 * io/bits/fcntl2.h: Likewise.
29649 * io/fcntl.h: Likewise.
29650 * io/sys/poll.h: Likewise.
29651 * misc/bits/syslog.h: Likewise.
29652 * misc/bits/syslog-ldbl.h: Likewise.
29653 * misc/sys/syslog.h: Likewise.
29654 * socket/bits/socket2.h: Likewise.
29655 * socket/sys/socket.h: Likewise.
29656 * debug/tst-chk1.c: Likewise.
29657 * wcsmbs/bits/wchar2.h: Likewise.
29658 * wcsmbs/bits/wchar-ldbl.h: Likewise.
29659 * wcsmbs/wchar.h: Likewise.
29660
ecf0ebfb
AJ
296612012-04-29 Andreas Jaeger <aj@suse.de>
29662
29663 * Makerules (tests): Remove enable-check-abi protection.
29664 (check-abi-warn): Remove.
29665 (check-abi-%): Remove check-abi-warn usage.
29666
29667 * configure.in: Remove check-abi configure option.
29668 * configure: Regenerated.
29669 * config.make.in (enable-check-abi): Remove.
29670
6d5c57fa
AS
296712012-04-28 Andreas Schwab <schwab@linux-m68k.org>
29672
24c5d07e 29673 [BZ #14033]
ded5180a
AS
29674 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
29675 double functions to double *_finite functions.
29676
7e0d315d
AS
29677 [BZ #13941]
29678 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
29679 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
29680 LDBL_MIN_EXP.
29681 * stdio-common/Makefile (tests): Add tst-sprintf3.
29682 * stdio-common/tst-sprintf3.c: New file.
29683
6d5c57fa
AS
29684 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
29685 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
29686
0749ff8b
JM
296872012-04-28 Joseph Myers <joseph@codesourcery.com>
29688
29689 * conform/conformtest.pl: Remove duplicate typed-constant
29690 handling.
29691
8dbd5d7b
DM
296922012-04-28 David S. Miller <davem@davemloft.net>
29693
29694 * Makerules (%.abilist): Add vpath on sysdep_dirs.
29695 (check-abi-%): Remove AWK script prerequisite and explicit
29696 abilist directory.
29697 (check-abi): Rewrite to just diff the symlist with the abilist.
29698 (config-tls, config-abi-config): Delete, no longer used.
29699 (update-abi-%): Remove AWK script and explicit abilist directory.
29700 (update-abi): Rewrite to simply compare and conditionally copy the
29701 symlist and the sysdep abilist file. Remove update-abi-config
29702 checks.
29703 * abilist/ld.abilist: Remove.
29704 * abilist/libBrokenLocale.abilist: Remove.
29705 * abilist/libanl.abilist: Remove.
29706 * abilist/libcrypt.abilist: Remove.
29707 * abilist/libdl.abilist: Remove.
29708 * abilist/librt.abilist: Remove.
29709 * abilist/libthread_db.abilist: Remove.
29710 * abilist/libutil.abilist: Remove.
29711 * scripts/extract-abilist.awk: Remove.
29712 * scripts/merge-abilist.awk: Remove.
29713 * sysdeps/generic/libcidn.abilist: New file.
29714 * sysdeps/generic/libnss_compat.abilist: New file.
29715 * sysdeps/generic/libnss_db.abilist: New file.
29716 * sysdeps/generic/libnss_dns.abilist: New file.
29717 * sysdeps/generic/libnss_files.abilist: New file.
29718 * sysdeps/generic/libnss_hesiod.abilist: New file.
29719 * sysdeps/generic/libnss_nis.abilist: New file.
29720 * sysdeps/generic/libnss_nisplus.abilist: New file.
29721 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
29722 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
29723 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
29724 file.
29725 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
29726 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
29727 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
29728 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
29729 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
29730 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
29731 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
29732 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
29733 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
29734 file.
29735 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
29736 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
29737 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
29738 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
29739 file.
29740 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
29741 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
29742 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
29743 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
29744 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
29745 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
29746 file.
29747 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
29748 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
29749 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
29750 file.
29751 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
29752 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
29753 New file.
29754 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
29755 New file.
29756 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
29757 New file.
29758 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
29759 New file.
29760 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
29761 New file.
29762 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
29763 New file.
29764 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
29765 New file.
29766 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
29767 New file.
29768 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
29769 New file.
29770 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
29771 New file.
29772 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
29773 New file.
29774 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
29775 New file.
29776 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
29777 New file.
29778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
29779 file.
29780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
29781 New file.
29782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
29783 New file.
29784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
29785 file.
29786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
29787 New file.
29788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
29789 New file.
29790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
29791 file.
29792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
29793 New file.
29794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29795 New file.
29796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
29797 New file.
29798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
29799 New file.
29800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
29801 New file.
29802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
29803 New file.
29804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
29805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
29806 file.
29807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29808 New file.
29809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
29810 file.
29811 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
29812 file.
29813 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
29814 file.
29815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
29816 file.
29817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
29818 file.
29819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29820 New file.
29821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
29822 file.
29823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
29824 file.
29825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29826 New file.
29827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
29828 file.
29829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
29830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
29831 file.
29832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29833 New file.
29834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
29835 file.
29836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
29837 file.
29838 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
29839 file.
29840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
29841 file.
29842 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
29843 file.
29844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29845 New file.
29846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
29847 file.
29848 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
29849 file.
29850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29851 New file.
29852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
29853 file.
29854 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29855 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
29856 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
29857 file.
29858 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
29859 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
29860 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
29861 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
29862 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
29863 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
29864 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
29865 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
29866 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
29867 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
29868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
29869 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
29870 file.
29871 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
29872 New file.
29873 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
29874 file.
29875 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
29876 file.
29877 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
29878 file.
29879 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
29880 file.
29881 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
29882 file.
29883 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29884 New file.
29885 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
29886 New file.
29887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
29888 file.
29889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
29890 New file.
29891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
29892 file.
29893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
29894 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
29895 file.
29896 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
29897 New file.
29898 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
29899 file.
29900 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
29901 file.
29902 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
29903 file.
29904 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
29905 file.
29906 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
29907 file.
29908 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29909 New file.
29910 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
29911 New file.
29912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
29913 file.
29914 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
29915 New file.
29916 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
29917 file.
29918
41d73a1b
JM
299192012-04-28 Joseph Myers <joseph@codesourcery.com>
29920
29921 * conform/conformtest.pl: Fix typo in handling typed-constant from
29922 allow-header.
29923
28aeeda4
JM
299242012-04-27 Joseph Myers <joseph@codesourcery.com>
29925
adae8f5e
JM
29926 * README: Cut down references to pre-2.6 Linux kernels and
29927 Linuxthreads. Update lists of configurations in libc and ports
29928 and sort alphabetically. Say "or newer" with Linux kernel version
29929 requirements.
29930
28aeeda4
JM
29931 * config.h.in [IS_IN_build]: Allow compiling without optimization.
29932
a462cb63
RA
299332012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29934
29935 [BZ #887]
29936 * math/libm-test.inc (logb_test_downward): New test to expose
29937 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
29938 rounding mode.
29939
6ad3493e
JM
299402012-04-27 Joseph Myers <joseph@codesourcery.com>
29941
29942 [BZ #14027]
29943 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
29944 to be done.
29945 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
29946 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
29947
2ce4f015
JM
299482012-04-26 Joseph Myers <joseph@codesourcery.com>
29949
5aeb141a
JM
29950 * sysdeps/unix/i386/brk.S: Remove file.
29951 * sysdeps/unix/i386/dl-brk.S: Likewise.
29952 * sysdeps/unix/i386/pipe.S: Likewise.
29953 * sysdeps/unix/i386/sigreturn.S: Likewise.
29954 * sysdeps/unix/i386/syscall.S: Likewise.
29955 * sysdeps/unix/i386/vfork.S: Likewise.
29956 * sysdeps/unix/i386/wait.S: Likewise.
29957
7143acae
JM
29958 * sysdeps/unix/common/tcsendbrk.c: Move to ...
29959 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
29960
2ce4f015
JM
29961 * configure.in (arm*-none*): Do not allow without
29962 --enable-hacker-mode.
29963 (netbsd*): Remove case setting base_os.
29964 (386bsd*): Likewise.
29965 (freebsd*): Likewise.
29966 (bsdi*): Likewise.
29967 (osf*): Likewise.
29968 (sunos*): Likewise.
29969 (ultrix*): Likewise.
29970 (newsos*): Likewise.
29971 (dynix*): Likewise.
29972 (*bsd*): Likewise.
29973 (sysv*): Likewise.
29974 (isc*): Likewise.
29975 (esix*): Likewise.
29976 (sco*): Likewise.
29977 (minix*): Likewise.
29978 (irix4*): Likewise.
29979 (irix6*): Likewise.
29980 (solaris[2-9]*): Likewise.
29981 (none): Likewise.
29982 * configure: Regenerated.
29983
0ac229c8
AZ
299842012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29985
29986 [BZ #11521]
29987 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
29988 overflow or cancellation in calculating denominator.
29989 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
29990 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
29991 down expression to avoid unexpected rounding in newer GCCs.
29992 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
29993
33f244f4
DM
299942012-04-26 David S. Miller <davem@davemloft.net>
29995
29996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
29997 long-double compat symbols.
29998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30011
cfa1f3e8
DM
300122012-04-25 David S. Miller <davem@davemloft.net>
30013
30014 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30015 HWCAP_* values only after the memory barriers have been defined.
30016 (atomic_full_barrier): Define.
30017 (atomic_read_barrier): Define.
30018 (atomic_write_barrier): Define.
30019
6e236b92
SP
300202012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30021
30022 * shlib-versions: Add libgcc_s version information.
30023 * sysdeps/generic/libgcc_s.h: Remove.
30024 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30025 libgcc_s.h.
30026 * sysdeps/gnu/unwind-resume.c: Likewise.
30027 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30028
aab39a09
DM
300292012-04-25 David S. Miller <davem@davemloft.net>
30030
30031 * sysdeps/unix/sparc/brk.S: Delete.
30032 * sysdeps/unix/sparc/dl-brk.S: Delete.
30033 * sysdeps/unix/sparc/pipe.S: Delete.
30034 * sysdeps/unix/sparc/sysdep.S: Delete.
30035 * sysdeps/unix/sparc/sysdep.h: Delete.
30036 * sysdeps/unix/sparc/vfork.S: Delete.
30037 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30038 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30039 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30040 ret_ERRVAL, r0, r1, MOVE): Define.
30041 (JUMPTARGET): Remove.
30042 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30043 sysdeps/unix/sparc/sysdep.h
30044 (ENTRY, END): Remove.
30045 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30046
a3cc4f48
JM
300472012-04-25 Joseph Myers <joseph@codesourcery.com>
30048
2ed8cda2
JM
30049 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30050 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30051 -DIS_IN_build.
30052
35d76d59
JM
30053 * timezone/README: Update upstream location and email address for
30054 tzcode and tzdata.
30055 * timezone/zdump.c: Update from tzcode 2012b.
30056 * timezone/zic.c: Likewise.
30057
a3cc4f48
JM
30058 * configure.in (libc_cv_as_needed): Remove test.
30059 * configure: Regenerated.
30060 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30061 conditional definition.
30062 [$(have-as-needed) != yes] (no-as-needed): Likewise.
30063 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30064 * config.make.in (have-as-needed): Remove variable.
30065
ceab42c3
SP
300662012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30067 Paul Pluzhnikov <ppluzhnikov@google.com>
30068
30069 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30070 strings correctly.
30071
3ce2865f
CLT
300722012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
30073
30074 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30075 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30076 * sysdeps/sh/strlen.S: Likewise.
30077
f37e0d68
JM
300782012-04-24 Joseph Myers <joseph@codesourcery.com>
30079
ae186e9a
JM
30080 * sysdeps/unix/fork.S: Remove file.
30081 * sysdeps/unix/i386/fork.S: Likewise.
30082 * sysdeps/unix/sparc/fork.S: Likewise.
30083
b96914af
JM
30084 * sysdeps/unix/system.c: Remove file.
30085 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30086
f37e0d68
JM
30087 * sysdeps/unix/getegid.S: Remove file.
30088 * sysdeps/unix/geteuid.S: Likewise.
30089
87ef29ca
RM
300902012-04-24 Roland McGrath <roland@hack.frob.com>
30091
83bcd236
RM
30092 * scripts/check-localplt.awk: New file.
30093 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30094 of diff.
30095 * scripts/data/localplt-generic.data: Add a comment.
30096
87ef29ca
RM
30097 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30098 NODE when __dir_mkfile failed.
30099 * sysdeps/mach/hurd/symlinkat.c: Likewise.
30100 Reported by Ludovic Courtès <ludo@gnu.org>.
30101
e5a6e567
AJ
301022012-04-24 Andreas Jaeger <aj@suse.de>
30103
30104 * Makerules (common-clean): Also remove gen-as-const-headers
30105 files.
30106
c1820385
JM
301072012-04-24 Joseph Myers <joseph@codesourcery.com>
30108
30109 * Makerules (native-compile): Do not change working directory for
30110 build. Use $(OUTPUT_OPTION) in command.
30111 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30112
94e02fc4
AZ
301132012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30114
30115 [BZ #13886]
30116 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30117 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30118 * math/libm-test.inc (floor_test): Add more tests.
30119 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30120
3a533ca3
JM
301212012-04-24 Joseph Myers <joseph@codesourcery.com>
30122
940ab4b3
JM
30123 * sysdeps/unix/getdents.c: Remove file.
30124 * sysdeps/unix/sysv/getdents.c: Likewise.
30125 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30126
90e037bd
JM
30127 * sysdeps/unix/syscalls.list (madvise): Add syscall from
30128 sysdeps/unix/mman/syscalls.list.
30129 (mmap): Likewise.
30130 (mprotect): Likewise.
30131 (msync): Likewise.
30132 (munmap): Likewise.
30133 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30134 * sysdeps/unix/mman/syscalls.list: Remove.
30135 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30136
3a533ca3
JM
30137 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30138 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30139 * configure: Regenerated.
30140 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30141 $(libgcc_s_suffix).
30142 * config.make.in (libgcc_s_suffix): Remove variable.
30143
1ad743de
JM
301442012-04-23 Joseph Myers <joseph@codesourcery.com>
30145
4ad451e2
JM
30146 * sysdeps/unix/sysv/gethostname.c: Move to ...
30147 * sysdeps/posix/gethostname.c: ... here.
30148
5e37ce39
JM
30149 * sysdeps/unix/execve.S: Remove file.
30150
1ad743de
JM
30151 * sysdeps/unix/_exit.S: Remove file.
30152
4e681b5b
AJ
301532012-04-23 Andreas Jaeger <aj@suse.de>
30154
30155 [BZ #13739]
30156 * manual/Makefile: Remove make dist support, there's no
30157 need for a stand-alone documentation tar ball.
30158 (TEXI2DVI): Define always, it's not in Makeconfig.
30159 (dist): Removed.
30160 (tar-it): Removed.
30161 (edition): Removed.
30162 (glibc-doc-$(edition).tar): Removed
30163 (%.Z): Removed.
30164 (%.gz): Removed.
30165 (%.uu): Removed.
30166 (ETAGS): Remove, it's in Makeconfig.
30167 (move-if-change): Remove, it's in Makeconfig.
30168
38686a03 301692012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
30170
30171 [BZ #13970]
30172 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30173 (strtod, strtof, strtold, strtol, strtoul, strtoq)
30174 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30175 (strtod_l, strtof_l, strtold_l): Remove __wur.
30176 It is not necessarily an error to ignore strtol's return value.
30177 One can reliably look at the stored endptr to decide whether
30178 the number had valid syntax.
30179
7c0616fa
AJ
301802012-04-21 Andreas Jaeger <aj@suse.de>
30181
803cb6b7 30182 [BZ #13739]
7c0616fa
AJ
30183 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30184
b0fe253f
JM
301852012-04-21 Joseph Myers <joseph@codesourcery.com>
30186
30187 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30188 * sysdeps/unix/sysv/Versions: Remove file.
30189
8280f22d
MT
301902012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
30191
30192 [BZ #13927]
30193 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30194
75ce411f 301952012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
30196
30197 [BZ #7064]
30198 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30199 version from __vm86.
30200
097d59fa
JM
302012012-04-20 Joseph Myers <joseph@codesourcery.com>
30202
a90f3bcb
JM
30203 * sysdeps/unix/common/lxstat.c: Remove file.
30204 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30205
edc7ea78
JM
30206 * sysdeps/unix/sysv/Makefile: Remove file.
30207
cb78c221
JM
30208 * sysdeps/unix/sysv/direct.h: Remove file.
30209
efa6a45f
JM
30210 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30211 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30212 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30213 * sysdeps/unix/sysv/bits/signum.h: Likewise.
30214 * sysdeps/unix/sysv/bits/stat.h: Likewise.
30215 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30216 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30217
9c9f2d0c
JM
30218 * sysdeps/unix/sysv/setrlimit.c: Remove file.
30219
4541c83b
JM
30220 * sysdeps/unix/xmknod.c: Remove file.
30221 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30222
f5d153a0
JM
30223 * sysdeps/unix/sysv/settimeofday.c: Remove file.
30224
aa746595
JM
30225 * sysdeps/unix/sysv/i386/time.S: Remove file.
30226
cce5905e
JM
30227 * sysdeps/unix/fxstat.c: Remove file.
30228 * sysdeps/unix/xstat.c: Likewise.
30229 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30230
37fa3841
JM
30231 * sysdeps/unix/sysv/sigaction.c: Remove file.
30232
ff1962a3
JM
30233 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30234 (sysdep_headers): Remove variable.
30235 [termio.h not in sysdep_headers] (generated): Likewise.
30236 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30237 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30238 * sysdeps/unix/sysv/tcdrain.c: Likewise.
30239 * sysdeps/unix/sysv/tcflow.c: Likewise.
30240 * sysdeps/unix/sysv/tcflush.c: Likewise.
30241 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30242 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30243 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30244 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30245 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30246
e7740d31
JM
30247 * sysdeps/unix/siglist.c: Remove file.
30248
ee06f18b
JM
30249 * sysdeps/unix/getppid.S: Remove file.
30250
097d59fa
JM
30251 * sysdeps/unix/mkdir.c: Remove file.
30252 * sysdeps/unix/rmdir.c: Likewise.
30253
ff3d51ec
AS
302542012-04-19 Andreas Schwab <schwab@linux-m68k.org>
30255
30256 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30257 ERR_MAX value.
30258 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30259 errlist-compat value.
30260
50f81fd7
DM
302612012-04-18 David S. Miller <davem@davemloft.net>
30262
30263 * sysdeps/generic/memcopy.h (reg_char): Delete.
30264 * debug/strcat_chk.c: Use char, not reg_char.
30265 * debug/strcpy_chk.c: Likewise.
30266 * debug/strncat_chk.c: Likewise.
30267 * debug/strncpy_chk.c: Likewise.
30268 * string/memchr.c: Likewise.
30269 * string/memrchr.c: Likewise.
30270 * string/rawmemchr.c: Likewise.
30271 * string/strcat.c: Likewise.
30272 * string/strchr.c: Likewise.
30273 * string/strchrnul.c: Likewise.
30274 * string/strcmp.c: Likewise.
30275 * string/strcpy.c: Likewise.
30276 * string/strncat.c: Likewise.
30277 * string/strncmp.c: Likewise.
30278 * string/strncpy.c: Likewise.
30279
8ff41c46
WS
302802012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30281
30282 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
30283 __builtin_memcopy is called when src and dest ranges are known to not
30284 overlap.
30285
6b652f46
WS
302862012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30287
30288 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
30289 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
30290 fwd_align_merge macro call.
30291 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
30292 bwd_align_merge macro call.
30293 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30294
b282631e
WS
302952012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30296
30297 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
30298 bwd_align_merge macros.
30299 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
30300 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
30301 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30302
95aa737c
DM
303032012-04-18 David S. Miller <davem@davemloft.net>
30304
30305 * sysdeps/sparc/sparc64/memcopy.h: Delete.
30306
7a99a614
AJ
303072012-04-18 Andreas Jaeger <aj@suse.de>
30308
30309 [BZ# 6794]
30310 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
30311 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
30312 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30313
30314 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
30315 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
30316 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30317
30318 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
30319 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
30320 Adjust for changed ldbl-128 files.
30321
30322 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
30323 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
30324 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30325
e5270c23
DM
303262012-04-17 David S. Miller <davem@davemloft.net>
30327
30328 * sysdeps/sparc/sparc32/memcopy.h: Delete.
30329
fb5e92c9
AS
303302012-04-17 Andreas Schwab <schwab@linux-m68k.org>
30331
30332 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
30333 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
30334 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
30335 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
30336 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30337 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
30338
76da7265
AZ
303392012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30340
30341 [BZ #6794]
30342 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
30343 * math/libm-test.inc: Add ilogb errno and exception tests.
30344 * math/w_ilogb.c: New file: ilogb wrapper.
30345 * math/w_ilogbf.c: New file: ilogbf wrapper.
30346 * math/w_ilogbl.c: New file: ilogbl wrapper.
30347 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
30348 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
30349 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
30350 exception being thrown with 0.0 as argument.
30351 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
30352 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
30353 exception being thrown with 0.0 as argument.
30354 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
30355 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30356 exception being thrown with 0.0 as argument.
30357 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
30358 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30359 exception being thrown with 0.0 as argument.
30360 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
30361 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 30362 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
30363 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
30364 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
30365 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
30366 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
30367 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
30368 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
30369
0396e69d
PB
303702012-04-17 Petr Baudis <pasky@ucw.cz>
30371
30372 * include/sys/uio.h: Change __vector to __iovec to avoid clash
30373 with altivec.
30374
750b5926
MP
303752012-04-16 Marek Polacek <polacek@redhat.com>
30376
30377 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
30378
751728a1
MP
303792012-04-16 Marek Polacek <polacek@redhat.com>
30380
30381 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
30382 operands of fdivp instruction.
30383
34a27407
L
303842012-04-13 H.J. Lu <hongjiu.lu@intel.com>
30385
30386 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
30387 * elf/tst-auditmod3b.c: Likewise.
30388 * elf/tst-auditmod4b.c: Likewise.
30389 * elf/tst-auditmod5b.c: Likewise.
30390 * elf/tst-auditmod6b.c: Likewise.
30391 * elf/tst-auditmod6c.c: Likewise.
30392 * elf/tst-auditmod7b.c: Likewise.
30393 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
30394 * sysdeps/x86_64/preconfigure.in: Likewise.
30395 * sysdeps/x86_64/preconfigure: Regenerated.
30396
7e73e17d
L
303972012-04-13 H.J. Lu <hongjiu.lu@intel.com>
30398
30399 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
30400 __ILP32__.
30401
c7a6ab72
AB
304022012-04-13 Antoine Balestrat <merkil33@gmail.com>
30403
30404 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30405 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
30406
a9e8e0e0
CL
304072012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
30408
30409 [BZ #13973]
30410 * locale/iso-639.def: Fix gl language name. Spotted by
30411 Yaron Shahrabani.
30412
ec98af7d
RM
304132012-04-12 Roland McGrath <roland@hack.frob.com>
30414
30415 [BZ #2074]
30416 * libio/libio.h (__io_write_fn): Update comment.
30417
247c3ede
PB
304182012-04-12 Petr Baudis <pasky@ucw.cz>
30419
30420 [BZ #2074]
30421 * stdio.texi (Hook Functions): The user provided writer function
30422 is not allowed to return -1.
30423
55939d6d
DM
304242012-04-11 David S. Miller <davem@davemloft.net>
30425
30426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30427
90020f5a
MF
304282012-04-11 Mike Frysinger <vapier@gentoo.org>
30429
30430 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
30431 Add a leading slash to rtkaio.
30432
288f9098
JM
304332012-04-11 Jim Meyering <meyering@redhat.com>
30434
90020f5a
MF
30435 [BZ #11959]
30436 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
30437 It is not necessarily an error to ignore fwrite's return
30438 value. One can reliably use ferror to test for errors after
30439 the fact.
288f9098 30440
4be2b570
L
304412012-04-10 H.J. Lu <hongjiu.lu@intel.com>
30442
30443 * bits/types.h (__snseconds_t): New type.
30444 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
30445
30446 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
30447 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30448 (__SNSECONDS_T_TYPE): Likewise.
30449 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30450 (__SNSECONDS_T_TYPE): Likewise.
30451 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30452 (__SNSECONDS_T_TYPE): Likewise.
30453
288f9098 304542012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
30455
30456 [BZ #2636]
30457 * manual/time.texi (Processor Time): Return type of times is
30458 elapsed real time since an arbitrary point in the past.
30459 (CPU Time): Move CLK_TCK from here...
30460 (Processor Time): ...to here. Correct description.
30461 * manual/conf.texi (Constants for Sysconf): Correct description of
30462 _SC_CLK_TCK.
30463
d7dd4413
DM
304642012-04-10 David S. Miller <davem@davemloft.net>
30465
30466 [BZ #13967]
30467 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
30468 where the is a gap between DT_REL(A) and DT_JMPREL.
30469
b46068fc
L
304702012-04-10 H.J. Lu <hongjiu.lu@intel.com>
30471
30472 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
30473 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30474 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30475
73d65cc3
SP
304762012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30477
30478 * elf/dl-support.c (_dl_inhibit_cache): New variable.
30479 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
30480 (dl_main): Handle --inhibit-cache.
30481 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
30482 _dl_inhibit_cache.
30483 * elf/dl-load.c (_dl_map_object): Use it.
30484 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
30485
bcc8d661
JM
304862012-04-09 Joseph Myers <joseph@codesourcery.com>
30487
8f9a2fae
JM
30488 [BZ #13872]
30489 * sysdeps/i386/fpu/e_powl.S (p78): New object.
30490 (__ieee754_powl): Saturate large exponents rather than testing for
30491 overflow of y*log2(x).
30492 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30493 * math/libm-test.inc (pow_test): Do not permit spurious overflow
30494 exceptions.
30495
bcc8d661
JM
30496 [BZ #11521]
30497 * math/s_ctan.c: Include <float.h>.
30498 (__ctan): Avoid internal overflow or cancellation in calculating
30499 denominator.
30500 * math/s_ctanf.c: Likewise.
30501 * math/s_ctanl.c: Likewise.
30502 * math/s_ctanh.c: Likewise.
30503 * math/s_ctanhf.c: Likewise.
30504 * math/s_ctanhl.c: Likewise.
30505 * math/libm-test.inc (ctan_test): Add more tests.
30506 (ctanh_test): Likewise.
30507 * sysdeps/i386/fpu/libm-test-ulps: Update.
30508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30509
823fbbb4
AJ
305102012-04-09 Andreas Jaeger <aj@suse.de>
30511
03879793
AJ
30512 [BZ #6894]
30513 * manual/filesys.texi (Directory Entries): Mention that d_namlen
30514 is an optional BSD extension.
30515
823fbbb4
AJ
30516 [BZ #10254]
30517 * manual/stdio.texi (Opening Streams): Document additional fopen
30518 parameters.
30519
8de131cb
RM
305202012-04-09 Roland McGrath <roland@hack.frob.com>
30521
30522 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
30523 %eax without telling the compiler.
30524
c0ed9d7d
CD
305252012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
30526
30527 [BZ # 13963]
30528 * manual/install.texi: Use sourceware.org.
30529
c483f6b4
JM
305302012-04-09 Joseph Myers <joseph@codesourcery.com>
30531
d7dd9453
JM
30532 [BZ #13873]
30533 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
30534 (__ieee754_pow): Generate overflow and underflow using huge*huge
30535 and tiny*tiny rather than just returning constant infinity or zero
30536 for large exponents.
30537 * math/libm-test.inc (pow_test): Require overflow exceptions for
30538 applicable cases of large exponents.
30539
c483f6b4
JM
30540 [BZ #706]
30541 * sysdeps/i386/fpu/e_pow.S (p10): New object.
30542 (__ieee754_pow): Use iterative multiplication algorithm only for
30543 integer exponents with absolute value below 1024. Check for odd
30544 integer exponents when using algorithm for real exponents.
30545 * math/libm-test.inc (pow_test): Add more tests.
30546 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30547
d2de7579
JM
305482012-04-08 Joseph Myers <joseph@codesourcery.com>
30549
30550 [BZ #13705]
30551 * math/libm-test.inc (exp_test): Do not allow overflow exception
30552 on underflow test.
30553
f77f1232
AJ
305542012-04-08 Aurelien Jarno <aurelien@aurel32.net>
30555
30556 [BZ #13705]
30557 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
30558 instead of __kernel_standard_f.
30559
3884932b
MF
305602012-04-08 Mike Frysinger <vapier@gentoo.org>
30561
30562 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
30563 * sysdeps/x86_64/memset_chk.S: Likewise.
30564
54472e9c
AJ
305652012-04-08 Andreas Jaeger <aj@suse.de>
30566
6ab0fbfc
AJ
30567 [BZ #10153]
30568 * manual/startup.texi (Environment Access): Describe return value
30569 for putenv and setenv.
30570
61efba8c
AJ
30571 [BZ #6895]
30572 * manual/filesys.texi (Directory Entries): Add description for
30573 DT_LNK.
30574
95c3f29a
AJ
30575 [BZ #6890]
30576 * manual/filesys.texi (Directory Entries): Clarify that it's file
30577 system not operating system in the description of DT_UNKNOWN.
30578
54472e9c
AJ
30579 [BZ #6578]
30580 * manual/syslog.texi (closelog): Fix reference, it's openlog.
30581
624254b1
SC
305822012-04-08 Stephen Compall <s11@member.fsf.org>
30583
30584 [BZ #6649]
30585 * manual/llio.texi (Opening and Closing Files): Add cross
30586 reference to explain mode argument.
30587
1e4920e0
MF
305882012-04-07 Mike Frysinger <vapier@gentoo.org>
30589
30590 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
30591 * sysdeps/x86_64/memset_chk.S: Likewise.
30592
5ed848f3
DM
305932012-04-07 David S. Miller <davem@davemloft.net>
30594
30595 * elf/elf.h (R_SPARC_WDISP10): Define.
30596 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
30597 R_SPARC_SIZE32.
30598 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
30599 R_SPARC_SIZE64 and R_SPARC_H34.
30600
96154cd8
CD
306012012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
30602
30603 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
30604 conditions and remove no longer applicable assertion.
30605
9904dc47
L
306062012-04-06 H.J. Lu <hongjiu.lu@intel.com>
30607
30608 * bits/byteswap.h: Include <features.h>.
30609 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30610 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30611
f8887d0a
L
306122012-04-06 H.J. Lu <hongjiu.lu@intel.com>
30613
30614 * bits/byteswap.h (__bswap_16): Removed.
30615 Include <bits/byteswap-16.h> to get __bswap_16.
30616 * sysdeps/i386/bits/byteswap.h: Likewise.
30617 * sysdeps/s390/bits/byteswap.h: Likewise.
30618 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30619 * bits/byteswap-16.h: New file.
30620 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30621 * sysdeps/s390/bits/byteswap-16.h: Likewise.
30622 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
30623 * string/Makefile (headers): Add bits/byteswap-16.h.
30624
62470f60
PP
306252012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30626
30627 [BZ #13895]
30628 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
30629 extra indirection.
30630 * nss/Makefile (tests-static, tests): Add tst-nss-static.
30631 * nss/tst-nss-static.c: New.
30632
4dad7bab
RM
306332012-04-06 Robert Millan <rmh@gnu.org>
30634
30635 [BZ #6486]
30636 * manual/llio.texi (File Position Primitive): lseek
30637 refers to WHENCE when it really means OFFSET.
30638
e9142a17
AJ
306392012-04-06 Andreas Jaeger <aj@suse.de>
30640
2c040eff
AJ
30641 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
30642 strncmp declarations.
30643
e9142a17
AJ
30644 * abilist/libc.abilist: Add __poll and __ppoll.
30645
ff9f1c5f
DM
306462012-04-05 David S. Miller <davem@davemloft.net>
30647
dcd2ae90
DM
30648 * scripts/check-local-headers.sh: Accept a host triplet in the
30649 path matched by the exclude regexp.
30650
993eb054
DM
30651 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
30652 definition.
30653 * sysdeps/powerpc/powerpc32/dl-machine.h
30654 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
30655 * sysdeps/s390/s390-32/dl-machine.h
30656 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30657 * sysdeps/sparc/sparc32/dl-machine.h
30658 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30659 * sysdeps/sparc/sparc64/dl-machine.h
30660 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30661
ff9f1c5f
DM
30662 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
30663 lazy binding.
48e2e132 30664 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
30665 undefined symbol errors.
30666
48e2e132 30667 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
30668 DT_NEEDED entries.
30669
e80d6f94
MM
306702012-04-05 Michael Matz <matz@suse.de>
30671
30672 [BZ #13592]
30673 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
30674
349fa79f
AJ
306752012-04-05 Andreas Jaeger <aj@suse.de>
30676
30677 [BZ #13908]
30678 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
30679 comment.
30680
f402708f
KK
306812012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30682
30683 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
30684 which ROUND is no valid rounding mode.
30685
2ecccfc9
KK
306862012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30687
30688 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
30689 read again.
30690 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
30691
8a53f50f
KK
306922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30693
30694 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
30695 an exception using FPU order intentionally.
30696
306972012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30698
30699 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
30700 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
30701 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
30702 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
30703
d653abb7
SJ
307042012-04-05 Simon Josefsson <simon@josefsson.org>
30705
30706 [BZ #12340]
30707 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
30708 EINVAL when BUFLEN is too smal.
30709
c3b1bf7d
TS
307102012-04-05 Thomas Schwinge <thomas@codesourcery.com>
30711
30712 [BZ #13553]
30713 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
30714 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
30715
b1aa60f3
AJ
307162012-04-03 Andreas Jaeger <aj@suse.de>
30717
c3b1bf7d 30718 [BZ #13938]
67f60a26
AJ
30719 * manual/setjmp.texi (System V contexts): Fix sentence.
30720
b1aa60f3
AJ
30721 [BZ #13926]
30722 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
30723 New macro for this case.
30724 [!__GNUC__] (__bswap_64): New inline function for this case.
30725 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30726 * bits/byteswap.h: Likewise.
30727 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
30728 ull, guard with __GLIBC_HAVE_LONG_LONG.
30729
30730 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
30731 __GLIBC_HAVE_LONG_LONG.
30732
30733 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
30734 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
30735
39c59c35
TMQMF
307362012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30737
30738 [BZ #13691]
30739 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
30740 inptr and inend, rather than using last_ch.
30741
135ffda8
DM
307422012-04-02 David S. Miller <davem@davemloft.net>
30743
30744 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
30745 * stdio-common/printf-parse.h (read_int): Change return type to
30746 'int', return -1 on INT_MAX overflow.
30747 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
30748 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
30749 overflows INT_MAX. Check for overflow of in-format-string precision
30750 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
30751 SIZE_MAX not INT_MAX for integer overflow test.
30752 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
30753 skip the construct in the format string but do not record anything.
30754 * stdio-common/bug22.c: Adjust to test both width/prevision
30755 INT_MAX overflow as well as total length INT_MAX overflow. Check
30756 explicitly for proper errno values.
30757
228c019e
TS
307582012-04-02 Thomas Schwinge <thomas@codesourcery.com>
30759
302cadd3
TS
30760 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
30761 CHAR_MAX.
30762 * string/test-strcmp.c [! WIDE]: Likewise.
30763 * time/tst-mktime2.c: Likewise for INT_MAX.
30764 * string/test-string.h: #include <sys/param.h> for MIN.
30765
228c019e
TS
30766 * csu/init-first.c (__libc_init_first): Call __ctype_init.
30767 * sysdeps/i386/init-first.c (init): Likewise.
30768 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
30769 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
30770 * sysdeps/sh/init-first.c (init): Likewise.
30771
cfa633f5
UD
307722012-04-01 Ulrich Drepper <drepper@gmail.com>
30773
30774 * po/ru.po: Update from translation team.
d1635ef8 30775 * po/vi.po: Likewise.
cfa633f5 30776
6cd0a5ea
SP
307772012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30778
30779 * resolv/nss_dns/dns-host.c: Merge copyright years.
30780
4b43400f
LD
307812012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30782
30783 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30784 Optimize memcpy with prefetch if
30785 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
30786 src, dst pointers have unequal 16 byte alignments.
30787
48c41d04
SP
307882012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30789
30790 [BZ #13928]
30791 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
30792 from a CNAME entry and return the minimum ttl for the query.
30793 (gaih_getanswer_slice): Likewise.
30794
b8dc394d
JL
307952012-03-30 Jeff Law <law@redhat.com>
30796
30797 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
30798 due to long keys.
30799 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
30800 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
30801
2f5a5ed0
JL
30802 * resolv/nss_dns/dns-host.c: Update copyright year.
30803
1d39e359
UD
308042012-03-30 Ulrich Drepper <drepper@gmail.com>
30805
c030f70c 30806 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 30807 requests to save a system call. Fix check that all bytes are sent.
c030f70c 30808
1d39e359
UD
30809 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
30810 comments for sendmmsg.
30811
308122012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
30813
30814 [BZ #13691]
30815 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
30816 with only 1 character between 0x0041 and 0x01b0.
30817 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
30818 * wcsmbs/tst-mbsnrtowcs.c: New file.
30819
20fde227
DM
308202012-03-29 David S. Miller <davem@davemloft.net>
30821
30822 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
30823 small copies by hand.
30824
984a4237
JL
308252012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30826
30827 [BZ #13761]
30828 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
30829 _nss_compat_initgroups_dyn): Fall back to malloc/free
30830 for large group memberships.
30831
18c9d62b
DM
308322012-03-28 David S. Miller <davem@davemloft.net>
30833
88d85d4f
DM
30834 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
30835 that branches into memcpy.
30836 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30837 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
30838 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30839 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
30840 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
30841 bits.
30842 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
30843 implementation too.
30844 * sysdeps/sparc/mempcpy.S: New file.
30845
e5aa83e1
DM
30846 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
30847 the IFUNC routine in the libc case.
30848 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30849
88570753
DM
30850 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
30851 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
30852 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
30853 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
30854 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
30855 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
30856 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
30857 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
30858
249d7567
DM
30859 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
30860 loop to 256 bytes instead of 64 bytes and fix test signedness.
30861
18c9d62b
DM
30862 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
30863 * sysdeps/sparc/sparc32/Makefile: rather than here...
30864 * sysdeps/sparc/sparc64/Makefile: and here.
30865
05f3d1f6
UD
308662012-03-28 Ulrich Drepper <drepper@gmail.com>
30867
30868 * malloc/mallocbug.c: Avoid warnings about unused variables.
30869
86ae07a8
JL
308702012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30871
30872 [BZ #13760]
30873 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
30874 in the right place. Discard and retry query if response is
30875 larger than input buffer size.
30876
41bf21a1
JM
308772012-03-28 Joseph Myers <joseph@codesourcery.com>
30878
d6270972
JM
30879 [BZ #369]
30880 [BZ #2678]
30881 [BZ #3866]
30882 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
30883 x for large integer exponent.
30884 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30885 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
30886 sign of result as needed afterwards.
30887 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30888 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
30889 result for underflowing pow the same as for overflow.
30890 (__kernel_standard_l): Handle powl overflow and underflow here
30891 rather than calling __kernel_standard.
30892 * math/libm-test.inc (pow_test): Add more tests.
30893
414fca03 30894 [BZ #3868]
41bf21a1
JM
30895 [BZ #13879]
30896 [BZ #13910]
30897 [BZ #13911]
30898 [BZ #13912]
30899 [BZ #13913]
30900 [BZ #13915]
30901 [BZ #13916]
30902 [BZ #13917]
30903 [BZ #13918]
30904 [BZ #13919]
30905 [BZ #13920]
30906 [BZ #13921]
30907 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
30908 * sysdeps/ieee754/k_standard.c: Include <float.h>.
30909 (__kernel_standard_l): New function.
30910 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
30911 __kernel_standard.
30912 * math/w_acosl.c (__acosl): Likewise.
30913 * math/w_asinl.c (__asinl): Likewise.
30914 * math/w_atan2l.c (__atan2l): Likewise.
30915 * math/w_atanhl.c (__atanhl): Likewise.
30916 * math/w_coshl.c (__coshl): Likewise.
30917 * math/w_exp10l.c (__exp10l): Likewise.
30918 * math/w_exp2l.c (__exp2l): Likewise.
30919 * math/w_fmodl.c (__fmodl): Likewise.
30920 * math/w_hypotl.c (__hypotl): Likewise.
30921 * math/w_j0l.c (__j0l, __y0l): Likewise.
30922 * math/w_j1l.c (__j1l, __y1l): Likewise.
30923 * math/w_jnl.c (__jnl, __ynl): Likewise.
30924 * math/w_lgammal.c (__lgammal): Likewise.
30925 * math/w_log10l.c (__log10l): Likewise.
30926 * math/w_log2l.c (__log2l): Likewise.
30927 * math/w_logl.c (__logl): Likewise.
30928 * math/w_powl.c (__powl): Likewise.
30929 * math/w_remainderl.c (__remainderl): Likewise.
30930 * math/w_scalbl.c (sysv_scalbl): Likewise.
30931 * math/w_sinhl.c (__sinhl): Likewise.
30932 * math/w_sqrtl.c (__sqrtl): Likewise.
30933 * math/w_tgammal.c (__tgammal): Likewise.
30934 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
30935 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
30936 * math/libm-test.inc (acos_test): Add more tests.
30937 (acosh_test): Likewise.
30938 (asin_test): Likewise.
30939 (atanh_test): Likewise.
30940 (exp_test): Likewise.
30941 (exp10_test): Likewise.
30942 (exp2_test): Likewise.
30943 (expm1_test): Likewise.
30944 (lgamma_test): Likewise.
30945 (log_test): Likewise.
30946 (log10_test): Likewise.
30947 (log1p_test): Likewise.
30948 (log2_test): Likewise.
30949 (pow_test): Do not allow some spurious overflow exceptions.
30950 (sqrt_test): Add more tests.
30951 (tgamma_test): Likewise.
30952 (y0_test): Likewise.
30953 (y1_test): Likewise.
30954 (yn_test): Likewise.
30955
dd62fda6
AB
309562012-03-27 Anton Blanchard <anton@samba.org>
30957
30958 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
30959 MAP_HUGETLB.
30960 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30961 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30962 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30963
1e3cdfda
AJ
309642012-03-27 David S. Miller <davem@davemloft.net>
30965
b855ab85
DM
30966 * conform/Makefile: Run run-conformtest.sh using $(BASH).
30967
1e3cdfda
AJ
30968 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
30969 have-as-vis3 check.
30970
309712012-03-27 Andreas Jaeger <aj@suse.de>
30972
30973 * sysdeps/x86_64/elf/configure.in: Moved to ...
30974 * sysdeps/x86_64/configure.in: ... here.
30975 * sysdeps/x86_64/elf/start.S: Moved to ...
30976 * sysdeps/x86_64/start.S: ... here.
30977 * sysdeps/x86_64/elf/configure: Delete.
30978
30979 * sysdeps/x86_64/configure.in: Merge contents from
30980 sysdeps/i386/configure.in (without i686 check).
30981
30982 * sysdeps/i386/elf/Versions: Merge into ...
30983 * sysdeps/i386/Versions: ... this.
30984 * sysdeps/i386/elf/Versions: Delete file.
30985 * sysdeps/i386/elf/start.S: Moved to ...
30986 * sysdeps/i386/start.S: ...here.
30987 * sysdeps/i386/elf/configure.in: Merge into...
30988 * sysdeps/i386/configure.in: ...here.
30989 * sysdeps/i386/elf/configure.in: Delete file.
30990 * sysdeps/i386/elf/configure: Delete file.
30991
30992 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
30993 * debug/backtracesyms.c: ... here.
30994 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
30995 * debug/backtracesymsfd.c: ... here.
30996 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
30997 * sysdeps/generic/ifunc-sel.h: ... here.
30998
30999 * sysdeps/unix/i386/start.c: Delete file.
31000 * sysdeps/unix/sparc/start.c: Delete file.
31001 * sysdeps/unix/start.c: Delete file.
31002
31003 * sysdeps/sh/elf/configure.in: Moved to ...
31004 * sysdeps/sh/configure.in: ... here.
31005 * sysdeps/sh/elf/start.S: Moved to ...
31006 * sysdeps/sh/start.S: ... here.
31007 * sysdeps/sh/elf/configure: Delete file.
31008
31009 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31010 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31011 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31012 * sysdeps/powerpc/powerpc64/entry.h: ... here.
31013 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31014 * sysdeps/powerpc/powerpc64/start.S: here.
31015 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31016 * sysdeps/powerpc/powerpc64/Makefile: ... this.
31017 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31018 * sysdeps/powerpc/powerpc64/configure.in: ... this.
31019 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31020
31021 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31022 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31023 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31024 * sysdeps/powerpc/powerpc32/start.S: ... here.
31025 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31026 * sysdeps/powerpc/powerpc32/configure.in: ... this.
31027 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31028
31029 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31030 * sysdeps/powerpc/ifunc-sel.h: ... here.
31031 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31032 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31033
31034 * sysdeps/sparc/elf/configure.in: Moved to ...
31035 * sysdeps/sparc/configure.in: ... here.
31036 * sysdeps/sparc/elf/configure: Delete file.
31037 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31038 * sysdeps/sparc/sparc32/start.S: ... here.
31039 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31040 * sysdeps/sparc/sparc64/start.S: ... here.
31041 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31042 * sysdeps/sparc/sparc32/Makefile: ... this.
31043 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31044 * sysdeps/sparc/sparc64/Makefile: ... this.
31045
31046 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31047 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31048 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31049 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31050 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31051 * sysdeps/s390/s390-32/setjmp.S: ... here.
31052 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31053 * sysdeps/s390/s390-32/configure.in: ... here.
31054 * sysdeps/s390/s390-32/elf/configure: Delete file.
31055 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31056 * sysdeps/s390/s390-32/start.S: ... here.
31057
31058 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31059 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31060 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31061 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31062 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31063 * sysdeps/s390/s390-64/setjmp.S: ... here.
31064 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31065 * sysdeps/s390/s390-64/configure.in: ... here
31066 * sysdeps/s390/s390-64/elf/configure: Delete file.
31067 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31068 * sysdeps/s390/s390-64/start.S: ... here.
31069 * sysdeps/s390/s390-64/elf/configure: Delete.
31070
31071 * configure.in: Remove support for elf directories in sysdeps.
31072
31073 * configure: Regenerated.
31074 * sysdeps/i386/configure: Regenerated.
31075 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31076 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31077 * sysdeps/s390/s390-32/configure: Regenerated.
31078 * sysdeps/s390/s390-64/configure: Regenerated.
31079 * sysdeps/sh/configure: Regenerated.
31080 * sysdeps/sparc/configure: Regenerated.
31081 * sysdeps/x86_64/configure: Regenerated.
31082
a3f61311
AS
310832012-03-26 Andreas Schwab <schwab@linux-m68k.org>
31084
c876e002
AS
31085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31086
a3f61311
AS
31087 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31088 denormal result into account.
31089
ac4c54f0
RM
310902012-03-25 Roland McGrath <roland@hack.frob.com>
31091
31092 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31093 Reported by Allan McRae <allan@archlinux.org>.
31094
6a9b9c02
JL
310952012-03-23 Jeff Law <law@redhat.com>
31096
31097 * nss/getnssent.c (__nss_getent): Fix typo.
31098
4c42a0c1
DM
310992012-03-23 David S. Miller <davem@davemloft.net>
31100
31101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31102
1532c7ac
L
311032012-03-23 H.J. Lu <hongjiu.lu@intel.com>
31104
31105 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31106 to pad to uint64_t for each field.
31107 (dl_tls_index): Replace unsigned long with uint64_t.
31108
3ff42526
PP
311092012-03-23 Daniel Jacobowitz <dmj@google.com>
31110 Paul Pluzhnikov <ppluzhnikov@google.com>
31111
31112 [BZ #6528]
31113 * grp/Makefile (otherlibs): Don't set it.
31114 * inet/Makefile (otherlibs): Likewise.
31115 * login/Makefile (otherlibs): Likewise.
31116 * nscd/Makefile (otherlibs): Likewise.
31117 * posix/Makefile (otherlibs): Likewise.
31118 * pwd/Makefile (otherlibs): Likewise.
31119 * rt/Makefile (otherlibs): Likewise.
31120 * sunrpc/Makefile (otherlibs): Likewise.
31121 * nss/Makefile (otherlibs): Likewise.
31122 Add libnss_files to routines and static-only-routines.
31123 ($(objpfx)getent): Remove rule.
31124 * resolv/Makefile: Add libnss_dns and libresolv to routines and
31125 static-only-routines.
31126
7c69cd14
JM
311272012-03-22 Joseph Myers <joseph@codesourcery.com>
31128
31129 [BZ #13892]
31130 * math/s_cexp.c: Include <float.h>.
31131 (__cexp): Handle exp result overflowing not necessarily
31132 overflowing both real and imaginary parts of result.
31133 * math/s_cexpf.c: Likewise.
31134 * math/s_cexpl.c: Likewise.
31135 * math/libm-test.inc (cexp_test): Add more tests.
31136 * sysdeps/i386/fpu/libm-test-ulps: Update.
31137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31138
81b035fe
L
311392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31140
31141 * include/link.h (ELFW): New macro.
31142 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31143 Replace ELF64_R_TYPE with ELFW(R_TYPE).
31144
1da7940c
L
311452012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31146
31147 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31148 with uint64_t.
31149
b749dbb9
L
311502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31151
31152 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31153 declaration.
31154 (struct La_x32_retval): Likewise.
31155
2ff87f3f
L
311562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31157
31158 * sysdeps/x86_64/preconfigure.in: New file.
31159 * sysdeps/x86_64/preconfigure: New generated file.
31160
c0df8e69
JM
311612012-03-22 Joseph Myers <joseph@codesourcery.com>
31162
48e44791
JM
31163 [BZ #13824]
31164 * math/e_exp2l.c: Include <float.h>.
31165 (__ieee754_exp2l): Handle overflow and underflow cases
31166 separately. Only pass fractional part of argument to
31167 __ieee754_expl.
31168 * math/libm-test.inc (exp2_test): Add more tests.
31169
c0df8e69
JM
31170 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31171 negating x to take absolute value.
31172 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31173 Likewise.
31174 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31175 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31176 Likewise.
31177 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31178 computing low part if x was negated.
31179 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31180
c8e43ba7
L
311812012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31182
31183 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31184 la_x32_gnu_pltexit.
31185 (pltexit): Cast int_retval to ptrdiff_t.
31186 * elf/tst-auditmod3b.c: Likewise.
31187 * elf/tst-auditmod4b.c: Likewise.
31188 * elf/tst-auditmod5b.c: Likewise.
31189 * elf/tst-auditmod6b.c: Likewise.
31190 * elf/tst-auditmod6c.c: Likewise.
31191 * elf/tst-auditmod7b.c: Likewise.
31192
31193 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31194 and x32_gnu_pltexit.
31195
31196 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31197 __ELF_NATIVE_CLASS.
31198 (La_x32_regs): New macro.
31199 (La_x32_retval): Likewise.
31200 (la_x32_gnu_pltenter): New function prototype.
31201 (la_x32_gnu_pltexit): Likewise.
31202
7998fa78
AS
312032012-03-21 Andreas Schwab <schwab@linux-m68k.org>
31204
dcb33988
AS
31205 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31206 exponent.
31207
233fc563
AS
31208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31209
7998fa78
AS
31210 * configure.in (libc_cv_cc_nofma): Check for option to disable
31211 generation of FMA instructions.
31212 * configure: Regenerate.
31213 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31214 * sysdeps/ieee754/dbl-64/Makefile: New file.
31215 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31216 Remove brandred-fma4.
31217 (CFLAGS-brandred-fma4.c): Remove.
31218 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31219 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31220 define.
31221 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31222 define.
31223
8e95c99a
L
312242012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31225
31226 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31227 LLONG_MAX != LONG_MAX.
31228 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31229 (_fitoa_word): Likewise.
31230 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31231 LLONG_MAX != LONG_MAX.
31232 * stdio-common/_itowa.h: Include <_itoa.h>.
31233 (_itowa_word): Use _ITOA_WORD_TYPE on value.
31234 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
31235 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
31236 only if not defined.
31237 (_ITOA_WORD_TYPE): Likewise.
31238 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31239 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31240
6f4db457
DM
312412012-03-21 David S. Miller <davem@davemloft.net>
31242
31243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31244
7785fe5a
L
312452012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31246
31247 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31248 of x86_64 when setting libc_cv_slibdir, libdir and
31249 libc_cv_localedir.
31250 * sysdeps/unix/sysv/linux/configure: Regenerated.
31251
4535cd55
JM
312522012-03-21 Joseph Myers <joseph@codesourcery.com>
31253
31254 * manual/lang.texi (Old Varargs): Remove section.
31255 (How Variadic): Update menu.
31256 (va_start): Do not mention varargs.h.
31257
17228132
TS
312582012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31259 Joseph Myers <joseph@codesourcery.com>
31260
31261 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
31262 link test.
31263 * configure: Regenerated.
31264
8149f976
TS
312652012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31266
05f3d1f6
UD
31267 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
31268 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31269 conformtest.pl
8149f976 31270
1a4ac776
JM
312712012-03-21 Joseph Myers <joseph@codesourcery.com>
31272
be22ce65
JM
31273 * NOTES: Remove.
31274 * Makefile (files-for-dist): Remove NOTES.
31275 (NOTES): Remove rule.
31276 * README: Don't refer to NOTES.
31277 * manual/creature.texi: Don't include macros.texi.
31278 * manual/intro.texi (creature.texi): Remove comment referring to
31279 NOTES.
31280
40b601fb
JM
31281 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
31282 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
31283 * configure: Regenerated.
31284 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
31285 LIBC_TRY_CC_OPTION.
31286 (libc_cv_as_i686): Likewise.
31287 (libc_cv_cc_avx): Likewise.
31288 (libc_cv_cc_sse2avx): Likewise.
31289 (libc_cv_cc_fma4): Likewise.
31290 (libc_cv_cc_novzeroupper): Likewise.
31291 * sysdeps/i386/configure: Regenerated.
31292
1a4ac776
JM
31293 [BZ #13883]
31294 * sysdeps/i386/fpu/s_cexp.S: Remove.
31295 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31296 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31297 * math/libm-test.inc (cexp_test): Add more tests.
31298 * sysdeps/i386/fpu/libm-test-ulps: Update.
31299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31300
a458e7fe
AM
313012012-03-21 Allan McRae <allan@archlinux.org>
31302
31303 * timezone/Makefile: Do not install iso3166.tab and zone.tab
31304
0cb7efc5
JM
313052012-03-21 Joseph Myers <joseph@codesourcery.com>
31306
31307 [BZ #13871]
31308 * math/w_exp2.c: Do not include <float.h>.
31309 (o_threshold, u_threshold): Remove.
31310 (__exp2): Calculate result before checking finiteness and calling
31311 __kernel_standard.
31312 * math/w_exp2f.c: Likewise.
31313 * math/w_exp2l.c: Likewise.
31314 * math/libm-test.inc (exp2_test): Require overflow exception for
31315 1e6 input.
2460d3aa
JM
31316
31317 [BZ #3866]
31318 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
31319 range of signed 64-bit integers before using fistpll. Remove
31320 checks for whether integers fit in mantissa bits.
31321 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
31322 the range of signed 32-bit integers before using fistpl. Remove
31323 checks for whether integers fit in mantissa bits.
31324 * sysdeps/i386/fpu/e_powl.S (p64): New object.
31325 (__ieee754_powl): Test for y outside the range of signed 64-bit
31326 integers before using fistpll. Reduce 64-bit values to 63-bit
31327 ones as needed.
31328 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
31329 divide-by-zero is raised for zero to large negative powers.
31330 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
31331 (__ieee754_powl): Test for y outside the range of signed 64-bit
31332 integers before using fistpll. Reduce 64-bit values to 63-bit
31333 ones as needed.
31334 * math/libm-test.inc (pow_test): Add more tests.
31335
eb96ffb0
L
313362012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31337
31338 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
31339 <stdio-common/_itoa.h>.
31340 * debug/segfault.c: Likewise.
31341 * elf/dl-cache.c: Likewise.
31342 * elf/dl-minimal.c: Likewise.
31343 * elf/dl-misc.c: Likewise.
31344 * elf/dl-sysdep.c: Likewise.
31345 * elf/dl-version.c: Likewise.
31346 * elf/rtld.c: Likewise.
31347 * hurd/hurdsock.c: Likewise.
31348 * hurd/lookup-retry.c: Likewise.
31349 * malloc/malloc.c: Likewise.
31350 * malloc/mtrace.c: Likewise.
31351 * nscd/nscd_getgr_r.c: Likewise.
31352 * nscd/nscd_getpw_r.c: Likewise.
31353 * nscd/nscd_getserv_r.c: Likewise.
31354 * posix/getopt_init.c: Likewise.
31355 * posix/wordexp.c: Likewise.
31356 * stdio-common/_itoa.c: Likewise.
31357 * stdio-common/printf_fphex.c: Likewise.
31358 * stdio-common/vfprintf.c: Likewise.
31359 * string/_strerror.c: Likewise.
31360 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
31361 * sysdeps/i386/i686/hp-timing.h: Likewise.
31362 * sysdeps/mach/_strerror.c: Likewise.
31363 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
31364 * sysdeps/mach/hurd/sethostid.c: Likewise.
31365 * sysdeps/mach/hurd/xmknodat.c: Likewise.
31366 * sysdeps/mach/xpg-strerror.c: Likewise.
31367 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31368 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31369 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
31370 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
31371 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31372 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
31373 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31374 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31375 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
31376 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
31377 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
31378 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31379 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
31380 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31381 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31382 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
31383 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
31384 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
31385 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31386 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31387 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
31388
31389 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
31390
31391 * stdio-common/_itoa.h: Moved to ...
31392 * sysdeps/generic/_itoa.h: Here.
31393
31394 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
31395
31396 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
31397 instead of "_itoa.h" and "_itowa.h".
31398 * stdio-common/vfprintf.: Likewise.
31399
d1af992d
L
314002012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31401
31402 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
31403 <bits/wordsize.h>.
31404 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
31405 (__signbit): Likwise.
31406 (llrintf): Likwise.
31407 (llrint): Likwise.
31408
114883e0
L
314092012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31410
31411 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
31412 __WORDSIZE != 64.
31413
c135cc1b
JM
314142012-03-20 Joseph Myers <joseph@codesourcery.com>
31415
31416 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
31417 OVERFLOW_EXCEPTION_OK.
31418 * math/libm-test.inc ("Philosophy"): Update comment about
31419 exception testing.
31420 (OVERFLOW_EXCEPTION): Define.
31421 (OVERFLOW_EXCEPTION_OK): Likewise.
31422 (INVALID_EXCEPTION_OK): Renumber.
31423 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31424 (IGNORE_ZERO_INF_SIGN): Likewise.
31425 (test_exceptions): Handle FE_OVERFLOW.
31426 (exp10_test): Expect overflow exceptions.
31427 (exp2_test): Likewise.
31428 (expm1_test): Likewise.
31429 (nextafter_test): Likewise.
31430 (pow_test): Likewise.
31431 (scalbn_test): Likewise.
31432 (scalbln_test): Likewise.
31433
95443d88
L
314342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31435
31436 * sysdeps/x86_64/bits/atomic.h
31437 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
31438 64bit integer.
31439 (atomic_exchange_acq): Likewise.
31440 (__arch_exchange_and_add_body): Likewise.
31441 (__arch_add_body): Likewise.
31442 (atomic_add_negative): Likewise.
31443 (atomic_add_zero): Likewise.
31444
490df6c4
L
314452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31446
c2722551 31447 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
31448 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
31449
5e52b189
L
314502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31451
31452 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
31453 Check __x86_64__ instead of __WORDSIZE.
31454
a9879d4c
L
314552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31456
31457 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
31458
5df98260
DM
314592012-03-19 David S. Miller <davem@davemloft.net>
31460
e1497744
DM
31461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31462
5df98260
DM
31463 * sysdeps/sparc/fpu/fenv_private.h: New file.
31464 * sysdeps/sparc/fpu/math_private.h: Use it.
31465 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
31466 Remove.
31467 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
31468 (libc_feholdexcept_setroundl): Remove.
31469 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
31470 Remove.
31471 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
31472 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
31473
b4c35121
L
314742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31475
31476 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
31477 int64_t instead of long int.
31478 (INSERT_WORDS64): Likwise.
31479
56965fd7
L
314802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31481
31482 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
31483 _Unwind_GetCFA return to _Unwind_Ptr first.
31484
83d1aec8
JM
314852012-03-19 Joseph Myers <joseph@codesourcery.com>
31486
1897ad44
JM
31487 [BZ #13629]
31488 * math/s_clog.c: Include <float.h>.
31489 (__clog): Scale large or subnormal inputs.
31490 * math/s_clogf.c: Likewise.
31491 * math/s_clogl.c: Likewise.
31492 * math/s_clog10.c: Include <float.h>.
31493 (M_LOG10_2): Define.
31494 (__clog10): Scale large or subnormal inputs.
31495 * math/s_clog10f.c: Likewise.
31496 * math/s_clog10l.c: Likewise.
31497 * math/libm-test.inc (clog_test): Add more tests.
31498 (clog10_test): Likewise.
31499 * sysdeps/i386/fpu/libm-test-ulps: Update.
31500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31501
7726d6a9
JM
31502 [BZ #11451]
31503 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
31504 x and y.
31505 * math/libm-test.inc (atan2_test): Add another test.
31506
83d1aec8
JM
31507 * Makerules (common-objdir-compile): Remove.
31508 * sysdeps/unix/Makefile (config-generated): Do not add
31509 $(unix-generated) to variable.
31510 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
31511 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
31512 Remove rule.
31513 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
31514 Likewise.
31515 [generic bits/local_lim.h] (before-compile): Do not append to
31516 variable.
31517 [generic bits/local_lim.h] (common-generated): Likewise.
31518 [generic sys/param.h] (before-compile): Do not append to variable.
31519 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
31520 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
31521 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
31522 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
31523 include.
31524 [generic sys/param.h] (sys/param.h-includes): Remove variable.
31525 [generic sys/param.h] (sys/param.h-includes): Remove rule.
31526 [generic sys/param.h] ($(addprefix
31527 $(common-objpfx),$(sys/param.h-includes))): Likewise.
31528 [generic sys/param.h] (common-generated): Do not append to
31529 variable.
31530 [generic sys/param.h] (sysdep_headers): Likewise.
31531 [generic bits/errno.h] (before-compile): Do not append to
31532 variable.
31533 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
31534 rule.
31535 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
31536 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
31537 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
31538 [generic bits/errno.h] (common-generated): Do not append to
31539 variable.
31540 [generic bits/ioctls.h] (before-compile): Do not append to
31541 variable.
31542 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
31543 rule.
31544 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
31545 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
31546 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
31547 rule.
31548 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
31549 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
31550 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
31551 [generic bits/ioctls.h] (common-generated): Do not append to
31552 variable.
31553 [generic sys/syscall.h] (syscall.h): Remove variable.
31554 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
31555 rule.
31556 [generic sys/syscall.h] (before-compile): Do not append to
31557 variable.
31558 [generic sys/syscall.h] (common-generated): Likewise.
31559 * sysdeps/unix/errnos-tmpl.c: Remove file.
31560 * sysdeps/unix/errnos.awk: Likewise.
31561 * sysdeps/unix/ioctls-tmpl.c: Likewise.
31562 * sysdeps/unix/ioctls.awk: Likewise.
31563 * sysdeps/unix/mk-local_lim.c: Likewise.
31564 * sysdeps/unix/snarf-ioctls: Likewise.
31565
4851a949
RH
315662012-03-19 Richard Henderson <rth@twiddle.net>
31567
bd37f2ee
RH
31568 * sysdeps/i386/fpu/fenv_private.h: New file.
31569 * sysdeps/i386/fpu/math_private.h: Use it.
31570 (math_opt_barrier, math_force_eval): Remove.
31571 (libc_feholdexcept_setround_53bit): Remove.
31572 (libc_feupdateenv_53bit): Remove.
31573 * sysdeps/x86_64/fpu/math_private.h: Likewise.
31574 (math_opt_barrier, math_force_eval): Remove.
31575 (libc_feholdexcept): Remove.
31576 (libc_feholdexcept_setround): Remove.
31577 (libc_fetestexcept, libc_fesetenv): Remove.
31578 (libc_feupdateenv_test): Remove.
31579 (libc_feupdateenv, libc_feholdsetround): Remove.
31580 (libc_feresetround): Remove.
31581
d0adc922
RH
31582 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
31583 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
31584
0fe0f1f8
RH
31585 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
31586 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
31587 (libc_feupdateenv_testl): New.
31588 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
31589 (libc_feupdateenv_testf): New.
31590 (libc_feupdateenv): Use libc_feupdateenv_test.
31591 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
31592 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
31593
eb92c487
RH
31594 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
31595 (libc_feholdsetroundf, libc_feholdsetroundl): New.
31596 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
31597 (libc_feresetround_noex): New.
31598 (libc_feresetround_noexf): New.
31599 (libc_feresetround_noexl): New.
31600 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
31601 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
31602 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
31603 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
31604 SET_RESTORE_ROUND.
31605 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31606 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
31607 (__cos): Likewise.
31608 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
31609 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
31610 SET_RESTORE_ROUND_NOEX.
31611 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
31612 SET_RESTORE_ROUND_NOEXF.
31613 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
31614 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
31615 (libc_feholdsetroundf): New.
31616 (libc_feresetround, libc_feresetroundf): New.
31617
7d2e8012
RH
31618 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
31619 (libc_feholdexcept_setround_53bit): Convert from macro to function.
31620 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
31621
b4dabbb4
RH
31622 * sysdeps/generic/math_private.h: Include <fenv.h>.
31623 (default_libc_feholdexcept): New.
31624 (default_libc_feholdexcept_setround): New.
31625 (default_libc_fesetenv, default_libc_feupdateenv): New.
31626 (libc_feholdexcept): Only define if undefined.
31627 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
31628 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
31629 (libc_feholdexcept_setroundl): Likewise.
31630 (libc_feholdexcept_setround_53bit): Likewise.
31631 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
31632 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
31633 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
31634 (libc_feupdateenv_53bit): Likewise.
31635 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
31636 (libc_feholdexcept): Convert from macro to inline function.
31637 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
31638 (libc_fesetenv, libc_feupdateenv): Likewise.
31639
4851a949
RH
31640 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
31641 not previously defined.
31642 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
31643 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
31644 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
31645 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
31646 * sysdeps/ieee754/flt-32/math_private.h: New file.
31647 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
31648 math_private.h below SET_FLOAT_WORD.
31649 (__isnan, __isinf_ns, __finite): Remove.
31650 (__isnanf, __isinf_nsf, __finitef): Remove.
31651
e79d442e
AS
316522012-03-18 Andreas Schwab <schwab@linux-m68k.org>
31653
31654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31655
90b80344
DM
316562012-03-17 David S. Miller <davem@davemloft.net>
31657
31658 [BZ #6471]
31659 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
31660 for 2.16.
31661
edc21804
DM
316622012-03-16 David S. Miller <davem@davemloft.net>
31663
77e927af
DM
31664 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
31665 warnings.
31666
374976dd
DM
31667 [BZ #6471]
31668 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
31669 properly.
31670 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
31671 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
31672 sysdep_routines when subdir is sysvipc.
31673 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
31674 __getshmlba helper.
31675
edc21804
DM
31676 * sysdeps/sparc/fpu/libm-test/ulps: Update.
31677
473c3ef3
L
316782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31679
31680 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
31681 [__LP64__].
31682
eb0f39b6
L
316832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31684
31685 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
31686 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
31687 (__lround): Renamed to ...
31688 (__llround): This. Replace long int with long long int.
31689 Define lround functions as aliases of llround functions.
31690 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
31691
6b6cd74b
L
316922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31693
31694 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
31695 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
31696 adresses to uintptr_t. Replace "long int" and "unsigned long
31697 int" with "greg_t" on va_arg.
31698
f1a77b01
L
316992012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31700
31701 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
31702 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
31703
31704 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
31705 Move e_machine check before EI_CLASS check. Handle x32
31706 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
31707 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
31708 SKIP_EM_IA_64 and include
31709 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
31710
31711 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
31712 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
31713 (add_system_dir): New macro.
31714
31715 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
31716 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
31717
11b90b9f
JM
317182012-03-16 Joseph Myers <joseph@codesourcery.com>
31719
c36e1d23
JM
31720 [BZ #2551]
31721 [BZ #2552]
31722 [BZ #2553]
31723 [BZ #2554]
31724 [BZ #2562]
31725 [BZ #2563]
31726 [BZ #2565]
31727 [BZ #2566]
31728 [BZ #2576]
31729 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
31730 (y0): Likewise.
31731 * math/w_j0f.c (j0f): Likewise.
31732 (y0f): Likewise.
31733 * math/w_j0l.c (__j0l): Likewise.
31734 (__y0l): Likewise.
31735 * math/w_j1.c (j1): Likewise.
31736 (y1): Likewise.
31737 * math/w_j1f.c (j1f): Likewise.
31738 (y1f): Likewise.
31739 * math/w_j1l.c (__j1l): Likewise.
31740 (__y1l): Likewise.
31741 * math/w_jn.c (jn): Likewise.
31742 (yn): Likewise.
31743 * math/w_jnf.c (jnf): Likewise.
31744 (ynf): Likewise.
31745 * math/w_jnl.c (__jnl): Likewise.
31746 (__ynl): Likewise.
31747 * math/libm-test.inc (j0_test): Add more tests.
31748 (j1_test): Likewise.
31749 (jn_test): Likewise. Add trailing semicolon to existing test.
31750 (y0_test): Likewise.
31751 (y1_test): Likewise.
31752 * sysdeps/i386/fpu/libm-test-ulps: Update.
31753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31754
11b90b9f
JM
31755 [BZ #13851]
31756 [BZ #13854]
31757 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
31758 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
31759 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
31760 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
31761 (__tanl): Set errno for infinite argument.
31762 * sysdeps/i386/fpu/mptan.c: Remove.
31763 * sysdeps/i386/fpu/s_tan.S: Likewise.
31764 * sysdeps/i386/fpu/s_tanl.S: Likewise.
31765 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
31766 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
31767 * math/libm-test.inc (tan_test): Add more tests and enable more
31768 tests for double and long double.
31769 * sysdeps/i386/fpu/libm-test-ulps: Update.
31770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31771
6a1bd2a1
JK
317722012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
31773
31774 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
31775 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
31776
10a803e0
RM
317772012-03-16 Roland McGrath <roland@hack.frob.com>
31778
31779 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
31780 * configure.in: Use it for both main tree and add-ons.
31781 * configure: Regenerated.
31782
f196c7f7
L
317832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31784
31785 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
31786
8848d99d
JM
317872012-03-16 Joseph Myers <joseph@codesourcery.com>
31788
96cbe7f4
JM
31789 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
31790 in comment.
31791
8848d99d
JM
31792 [BZ #13851]
31793 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
31794 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
31795 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
31796 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
31797 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
31798 infinite argument.
31799 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
31800 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
31801 != 0 for prec == 2.
31802 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
31803 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
31804 * sysdeps/i386/fpu/s_cosl.S: Likewise.
31805 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
31806 * sysdeps/i386/fpu/s_sinl.S: Likewise.
31807 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
31808 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
31809 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
31810 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
31811 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
31812 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
31813 * math/libm-test.inc (cos_test): Add more tests and enable more
31814 tests for long double.
31815 (sin_test): Likewise.
31816 (sincos_test): Likewise.
31817 * sysdeps/i386/fpu/libm-test-ulps: Update.
31818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31819
dd7f4703
DM
318202012-03-16 David S. Miller <davem@davemloft.net>
31821
31822 * sysdeps/sparc/fpu/math_private.h: New file.
31823
006f1daa
DM
318242012-03-15 David S. Miller <davem@davemloft.net>
31825
c0c83bc8
DM
31826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
31827 file.
e6a62e18 31828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
31829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
31830 file.
e6a62e18
DM
31831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
31832 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
31833 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
31834 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
31835 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
31836 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
31837 sysdep routines.
31838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
31839
88cb87d9
DM
31840 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
31841 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
31842
006f1daa 31843 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
31844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
31845 sparc-ifunc.h
006f1daa 31846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
31847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31848 Likewise.
31849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
31850 Likewise.
006f1daa
DM
31851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
31852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
31853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
31854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31855 Likewise.
006f1daa
DM
31856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
31858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
31860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
31861 Likewise.
31862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
31863 Likewise.
006f1daa
DM
31864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
31866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
31867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
31868 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31869 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31870 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
31871 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
31872 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31873 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31874 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
31875 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
31876 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
31877 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
31878 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
31879 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
31880 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
31881 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
31882 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
31883 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
31884 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
31885 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
31886 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
31887 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
31888
11e0098e
AS
318892012-03-15 Andreas Schwab <schwab@linux-m68k.org>
31890
31891 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
31892 scaling.
31893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31894
e85b09d0
AJ
318952012-03-15 Andreas Jaeger <aj@suse.de>
31896
31897 [BZ #13852]
31898 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
31899 ieee754/flt-32 implementation for sin, cos and sincos.
31900 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
31901 * sysdeps/i386/fpu/s_cosf.S: Likewise.
31902 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
31903 * sysdeps/i386/fpu/s_sinf.S: Likewise.
31904 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
31905 ieee754/flt-32 implementation for tan.
31906
31907 * math/libm-test.inc (cos_test): Enable some large input tests for
31908 float as well
31909 (sin_test): Likewise.
31910 (sincos_test): Likewise.
31911 (tan_test): Add tests for large input.
31912
31913 * sysdeps/i386/fpu/libm-test-ulps: Update.
31914
81c64153
AJ
319152012-03-15 Andreas Jaeger <aj@suse.de>
31916
31917 [BZ #13658]
31918 * math/libm-test.inc (cos_test): Add more test cases.
31919 (sin_test): Likewise.
31920 (sincos_test): Likewise.
31921
7bbfa5c6
AJ
319222012-03-15 Andreas Jaeger <aj@suse.de>
31923
31924 [BZ #13837]
31925 * math/libm-test.inc (cos_test): Add a test case for large input
31926 value.
31927 (sin_test): Likewise.
31928 (sincos_test): Likewise.
31929
319302012-03-15 Andreas Jaeger <aj@suse.de>,
31931 Joseph Myers <joseph@codesourcery.com>
31932
31933 [BZ #13658]
0671f479 31934 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
31935 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
31936 * sysdeps/i386/fpu/branred.c: Likewise.
31937 * sysdeps/i386/fpu/dosincos.c: Likewise.
31938 * sysdeps/i386/fpu/mpa.c: Likewise.
31939 * sysdeps/i386/fpu/s_cos.S: Likewise.
31940 * sysdeps/i386/fpu/s_sin.S: Likewise.
31941 * sysdeps/i386/fpu/s_sincos.S: Likewise.
31942 * sysdeps/i386/fpu/sincos32.c: Likewise.
31943
31944 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
31945 Define.
31946 (libc_feupdateenv_53bit): Define.
31947 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
31948 Define.
31949 (libc_feupdateenv_53bit): Define.
31950
31951 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
31952 53 bit (without extend i386 double precision).
31953
31954 * math/libm-test.inc (sincos_test): Add tests for large input.
31955 (sin): Likewise.
31956 (cos): Likewise.
31957
31958 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31959
9cad04ea
AS
319602012-03-15 Andreas Schwab <schwab@linux-m68k.org>
31961
31962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31963
f7062b9a
DM
319642012-03-15 David S. Miller <davem@davemloft.net>
31965
31966 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
31967 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
31968 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
31969 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
31970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
31971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
31972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
31973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
31974 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
31975 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
31976 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
31977 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
31978 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
31979 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
31980 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
31981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
31982 file.
f7062b9a 31983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
31984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
31985 file.
f7062b9a 31986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
31987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
31988 file.
f7062b9a 31989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
31990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
31991 file.
f7062b9a
DM
31992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
31993 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
31994 fmin/fmax sysdep routines.
31995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
31996
7bd951ff
DM
319972012-03-14 David S. Miller <davem@davemloft.net>
31998
559398ab
DM
31999 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32000 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32001 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32002 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32003 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32004 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32005 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32006 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32007 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32008 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32009 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32010 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32011 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32012 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32013 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32014 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32015 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32016 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32017 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32018 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32019 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32020 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32021 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32022 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32023 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32024 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32025 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32026 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32027 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32028 routines.
32029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32030 file.
559398ab 32031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
32032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32033 file.
559398ab 32034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
32035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32036 file.
559398ab 32037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
32038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32039 file.
559398ab 32040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
32041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32042 file.
559398ab 32043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
32044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32045 file.
32046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32047 file.
32048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32049 file.
32050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32051 file.
32052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32053 New file.
32054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32055 file.
32056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32057 file.
559398ab 32058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
32059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32060 file.
559398ab 32061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32063 file.
559398ab 32064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
32065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32066 file.
559398ab 32067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
32068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32069 VIS3 routines.
559398ab
DM
32070
32071 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32072 New file.
32073
5a1c1e32
DM
32074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32075
eae47a36
DM
32076 * sysdeps/sparc/configure.in: New file.
32077 * sysdeps/sparc/configure: Generate.
32078 * configure.in (libc_cv_sparc_as_vis3): Substitute.
32079 * configure: Regenerate.
32080 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32081 * config.make.in (have-as-vis3): New.
32082 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32083 available use -Av9d instead of -Av9a.
32084 * sysdeps/sparc/sparc64/Makefile: Likewise.
32085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
32086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32087 New file.
32088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32089 file.
32090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32091 New file.
32092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32093 file.
eae47a36
DM
32094 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32095 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32096 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32097 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32098 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32099
c0c83bc8
DM
32100 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32101 fzeros/fnegs to load 0x80000000 into a float register instead of
32102 using the stack.
7bd951ff
DM
32103 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32104
bd951ccb
JM
321052012-03-14 Joseph Myers <joseph@codesourcery.com>
32106
32107 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32108 bits/syscall.h.
32109 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32110 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32111 ($(inst_includedir)/bits/syscall.h): Remove rule.
32112 ($(objpfx)bits/syscall.d): Include instead of
32113 $(objpfx)syscall-list.d.
32114 (generated): Change syscall-list.h and syscall-list.d to
32115 bits/syscall.h and bits/syscall.d.
32116
bb4e6db2
RM
321172012-03-14 Roland McGrath <roland@hack.frob.com>
32118
32119 [BZ #13846]
32120 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32121
aa4a2ae1
JM
321222012-03-14 Joseph Myers <joseph@codesourcery.com>
32123
e456826d
JM
32124 [BZ #13841]
32125 * math/s_csqrt.c: Include <float.h>.
32126 (__csqrt): Scale large or subnormal inputs.
32127 * math/s_csqrtf.c: Likewise.
32128 * math/s_csqrtl.c: Likewise.
32129 * math/libm-test.inc (csqrt_test): Add more tests.
32130 * sysdeps/i386/fpu/libm-test-ulps: Update.
32131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32132
aa4a2ae1
JM
32133 [BZ #13840]
32134 * math/libm-test.inc (hypot_test): Add more tests.
32135
7c10fd35
DM
321362012-03-13 David S. Miller <davem@davemloft.net>
32137
32138 [BZ #13840]
32139 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32140 double-precision for the calculation instead of scaling.
32141
f453b98b
JM
321422012-03-13 Joseph Myers <joseph@codesourcery.com>
32143
32144 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32145 manipulate bits before adding and subtracting TWO52[sx].
32146 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32147 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32148 Likewise.
32149 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32150
09a3453f
DM
321512012-03-13 David S. Miller <davem@davemloft.net>
32152
8e59da90
DM
32153 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32154 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32155 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32156 rtld-global-offsets.h
32157 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32158
2a8ab7f2
DM
32159 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32160 large parameters.
32161
10f62770
DM
32162 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32163
5f0bdb18
DM
32164 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32165 'err' in the ifdef scope in which it is actually used.
32166
09a3453f
DM
32167 * nss/nss_db/db-init.c: Include string.h
32168
b4b2eb5e
DM
321692012-03-12 David S. Miller <davem@davemloft.net>
32170
98bb2f1c
DM
32171 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32172 masking out of the most significant byte of random value used.
32173 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32174 Fix coding style in previous change.
32175
b4b2eb5e
DM
32176 * sysdeps/unix/sysv/linux/kernel-features.h
32177 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32178 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32179 expression.
32180 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32181 later.
32182
6e226b09
DM
321832012-03-11 David S. Miller <davem@davemloft.net>
32184
a1bcbd40
DM
32185 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32186 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32187 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32188 for 'resultvar' otherwise things get truncated on 64-bit.
32189
cb9d6174
DM
32190 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32191 Fix masking out of the most significant byte of random value used.
32192
6e226b09
DM
32193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32194
058c132d
AS
321952012-03-10 Andreas Schwab <schwab@linux-m68k.org>
32196
32197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32198
2d2cd515
DM
321992012-03-09 David S. Miller <davem@davemloft.net>
32200
32201 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32202 variables with appropriate CPP guards.
32203 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32204 frame pointer, not the stack pointer. Correct layout comments. Fix test
32205 on resulting framesize and the management of the outregs buffer for pltexit.
32206 Preserve floating point return values across _dl_call_pltexit call.
32207 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32208 framesize and the management of the outregs buffer for pltexit.
32209 Preserve floating point return values across _dl_call_pltexit
32210 call.
32211 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32212 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32213 (print_exit): Fix format string for return register value.
32214
9a07f9d0
JM
322152012-03-10 Joseph Myers <joseph@codesourcery.com>
32216
32217 * sunrpc/Makefile (others): Add rpcgen.
32218 ($(objpfx)rpcgen): Remove special build rule and dependency on
32219 libc.
32220 * sunrpc/rpcgen.c: New file.
32221
547b5e30
PE
322222012-03-09 Paul Eggert <eggert@cs.ucla.edu>
32223
c524201a
PE
32224 [BZ #13673]
32225 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32226 * stdio-common/bug-vfprintf-nargs.c: Likewise.
32227 * sysdeps/i386/crti.S: Likewise.
32228 * sysdeps/i386/crtn.S: Likewise.
32229 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32230 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32231 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32232 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32233 * sysdeps/sh/crti.S: Likewise.
32234 * sysdeps/sh/crtn.S: Likewise.
32235 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32236
7b6235f2
PE
32237 [BZ #13673]
32238 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32239 with URL.
32240 * locale/programs/locfile-kw.gperf: Likewise.
32241 * locale/programs/charmap-kw.h: Regenerated.
32242 * locale/programs/locfile-kw.h: Likewise.
32243
547b5e30
PE
32244 [BZ #13673]
32245 * intl/plural.y: Replace FSF snail mail address with URL.
32246 * intl/plural.c: Regenerated.
32247
5f0a5dae
RH
322482012-03-09 Richard Henderson <rth@twiddle.net>
32249
32250 * include/math_private.h: Remove file.
32251 * math/math_private.h: Move file ...
32252 * sysdeps/generic/math_private.h: ... here.
32253
b8c03620
RH
32254 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32255 * sysdeps/powerpc/fpu/math_private.h: Likewise.
32256 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32257
4e234f5d 32258 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
32259 and <math_private.h>.
32260 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32261 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32262 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32263 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32264 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32265 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32266 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32267 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32268 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32269 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32270 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32271 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32272 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32273 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32274 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32275 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32276 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32277 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32278 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32279 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32280 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32281 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32282 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32283 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32284 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32285 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32286 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32287 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32288 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32289 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32290 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32291 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32292 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32293 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32294 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32295 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32296 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32297 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32298 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32299 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32300 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
32301 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32302 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32303 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32304 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32305 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32306 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
32307 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32308 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32309 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32310 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32311 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
32312 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32313 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32314 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32315 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32316 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32317 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32318 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32319 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
32320 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32321 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32322 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32323 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32324 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
32325 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32326 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32327 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32328 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
32329 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
32330 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32331 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32332 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32333 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32334 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
32335 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
32336 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
32337 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32338 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
32339 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
32340 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32341 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
32342 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32343 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32344 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32345 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32346 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
32347 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
32348 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32349 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32350 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32351 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32352 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32353 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32354 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32355 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32356 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32357 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32358 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32359 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32360 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32361 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32362 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32363 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32364 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32365 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32366 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32367 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32368 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32369 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32370 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32371 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32372 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32373 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32374 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
32375 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32376 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32377 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32378 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32379 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32380 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32381 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32382 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32383 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
32384 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32385 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32386 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32387 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
32388 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32389 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
32390 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
32391 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32392 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32393 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
32394 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
32395 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32396 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32397 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32398 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
32399 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32400 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32401 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32402 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32403 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
32404 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
32405 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32406 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32407 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32408 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
32409 * sysdeps/ieee754/k_standard.c: Likewise.
32410 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32411 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32412 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32413 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32414 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32415 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32416 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32417 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32418 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32419 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32420 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32421 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32422 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32423 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32424 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32425 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32426 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32427 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32428 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32429 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
32430 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
32431 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
32432 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32433 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32434 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32435 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
32436 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32437 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32438 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32439 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32440 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32441 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32442 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32443 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32444 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32445 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32446 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32447 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
32448 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
32449 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32450 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32451 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32452 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32453 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32454 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32455 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32456 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32457 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32458 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32459 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32460 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32461 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32462 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32463 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
32464 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32465 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32466 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
32467 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
32468 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32469 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32470 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32471 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32472 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32473 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32474 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32475 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32476 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32477 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32478 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32479 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32480 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32481 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32482 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32483 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32484 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32485 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32486 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
32487 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32488 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32489 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32490 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32491 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32492 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32493 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32494 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
32495 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32496 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32497 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32498 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32499 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32500 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
32501 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32502 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32503 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32504 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32505 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32506 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
32507 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32508 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32509 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
32510 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32511 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32512 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32513 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32514 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
32515 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32516 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32517 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32518 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
32519 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32520 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32521 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32522 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32523 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32524 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32525 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32526 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32527 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32528 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32529 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32530 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32531 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32532 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32533 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32534 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32535 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
32536 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32537 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32538 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32539 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32540 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32541 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32542 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32543 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
32544 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32545 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32546 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
32547 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
32548 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32549 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
32550 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
32551 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32552 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
32553 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
32554 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32555 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32556 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32557 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32558 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32559 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
32560 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32561 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32562 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32563 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32564 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
32565 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
32566 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32567 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32568 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32569 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
32570 * sysdeps/ieee754/s_lib_version.c: Likewise.
32571 * sysdeps/ieee754/s_matherr.c: Likewise.
32572 * sysdeps/ieee754/s_signgam.c: Likewise.
32573 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32574 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32575 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
32576 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
32577 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
32578 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32579 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
32580 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
32581 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
32582 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
32583 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32584 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
32585 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32586 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32587 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
32588 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32589 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32590 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32591 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32592 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32593 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 32594
1991fa03
JM
325952012-03-09 Joseph Myers <joseph@codesourcery.com>
32596
32597 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
32598 * sunrpc/rpc_main.c: Likewise.
32599 * sunrpc/rpc_svcout.c: Likewise.
32600
60d6f5a6
DM
326012012-03-09 David S. Miller <davem@davemloft.net>
32602
32603 * include/math_private.h: New file.
32604
4962050e
JM
326052012-03-09 Joseph Myers <joseph@codesourcery.com>
32606
02a6f887
JM
32607 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
32608 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
32609 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
32610 from <bits/socket_type.h>.
32611 (enum __socket_type): Don't define here.
32612 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
32613 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32614 bits/socket_type.h.
32615
c6e013c1
JM
32616 [BZ #13566]
32617 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
32618 checking __USE_GNU.
32619
4962050e
JM
32620 * Makerules ($(inst_includedir)/%.h): New rule.
32621 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
32622 (install-others): Remove variable setting.
32623 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
32624
38842f45
RH
326252012-03-08 Richard Henderson <rth@twiddle.net>
32626
67bb6da6
RH
32627 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
32628 from macro to inline function; merge with the
32629 !__LIBC_INTERNAL_MATH_INLINES version.
32630 (__ieee754_sqrtf): Likewise.
32631
15194b4b
RH
32632 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
32633 to inline function.
32634 (__rintf, __floor, __floorf): Likewise.
32635
64e21ede
RH
32636 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
32637 macro to inline function.
32638 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
32639
38842f45
RH
32640 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
32641 not <math/math_private.h>.
32642
c64bf5fe
DM
326432012-03-08 David S. Miller <davem@davemloft.net>
32644
32645 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
32646 copyright year.
32647 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
32648
82d86f28
TS
326492012-03-08 Thomas Schwinge <thomas@codesourcery.com>
32650
32651 * resolv/gai_misc.c (handle_requests): Fix struct timespec
32652 normalization.
32653 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
32654 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32655
aea5d727
UD
326562012-03-08 Ulrich Drepper <drepper@gmail.com>
32657
32658 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
32659 be defined individually, they must be defined as a block. Define
32660 S for printing a string instead of hidint the different by using a
32661 macro for adding the 'l'.
32662 * stdio-common/tst-fphex-wide.c: Adjust.
32663
70bca0a3
MP
326642012-03-07 Marek Polacek <polacek@redhat.com>
32665
32666 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
32667
65b81130
MP
326682012-03-08 Marek Polacek <polacek@redhat.com>
32669
32670 [BZ #13806]
32671 * stdio-common/Makefile (tests): Add tst-fphex-wide.
32672 * stdio-common/tst-fphex.c: Define a few macros to make the
32673 test reusable. Use them.
32674 * stdio-common/tst-fphex-wide.c: New file.
32675
07037eeb
JM
326762012-03-08 Joseph Myers <joseph@codesourcery.com>
32677
a7a93d50
JM
32678 [BZ #6911]
32679 * manual/macros.texi (gnusystems): New macro.
32680 (nongnusystems): Likewise.
32681 (gnulinuxhurdsystems): Likewise.
32682 (gnuhurdsystems): Likewise..
32683 (gnulinuxsystems): Likewise.
32684 * manual/charset.texi: Use new macros or @theglibc{} to refer to
32685 variants of the GNU system, not "GNU system".
32686 * manual/conf.texi: Likewise.
32687 * manual/errno.texi: Likewise. Update example of errno macro
32688 expansion.
32689 * manual/filesys.texi: Likewise.
32690 (getumask): Document as specific to GNU/Hurd.
32691 * manual/install.texi: Likewise. Reword some references to
32692 GNU/Linux.
32693 * manual/intro.texi: Likewise.
32694 * manual/io.texi: Likewise.
32695 (File Name Portability): Detail which constraints are inapplicable
32696 to all GNU systems and which are only inapplicable to GNU/Hurd.
32697 * manual/job.texi: Likewise.
32698 * manual/llio.texi: Likewise.
32699 (O_NOCTTY): Document as present on GNU/Linux.
32700 * manual/maint.texi: Likewise.
32701 * manual/memory.texi: Likewise.
32702 * manual/pattern.texi: Likewise.
32703 * manual/pipe.texi: Likewise.
32704 * manual/process.texi: Likewise.
32705 * manual/resource.texi: Likewise.
32706 (RUSAGE_CHILDREN): Remove statement about specifying a particular
32707 child on GNU/Hurd.
32708 * manual/setjmp.texi: Likewise.
32709 * manual/signal.texi: Likewise.
32710 * manual/startup.texi: Likewise.
32711 * manual/stdio.texi: Likewise.
32712 * manual/terminal.texi: Likewise.
32713 (ONLCR): Document as POSIX.
32714 (OXTABS): Document availability on GNU/Linux as XTABS.
32715 (ONOEOT): Document availability separately from other bits.
32716 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
32717 * manual/time.texi: Likewise.
32718 * manual/users.texi: Likewise.
32719 * INSTALL: Regenerated.
32720 * sysdeps/gnu/errlist.c: Regenerated.
32721
07037eeb
JM
32722 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
32723 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
32724 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
32725 puts.
32726 * configure: Regenerated.
32727
d1d3431a
JM
327282012-03-07 Joseph Myers <joseph@codesourcery.com>
32729
af6a1e37
JM
32730 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
32731 default includes instead of AC_HEADER_CHECK.
32732 * sysdeps/i386/configure: Regenerated.
32733
d1d3431a
JM
32734 [BZ #10716]
32735 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
32736 * math/s_cacoshf.c (__cacoshf): Likewise.
32737 * math/s_cacoshl.c (__cacoshl): Likewise.
32738 * math/s_casinh.c (__casinh): Set signs of result from argument.
32739 * math/s_casinhf.c (__casinhf): Likewise.
32740 * math/s_casinhl.c (__casinhl): Likewise.
32741 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
32742 (casinh_test): Add more tests.
32743 * sysdeps/i386/fpu/libm-test-ulps: Update.
32744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32745
482ff4da
UD
327462012-03-07 Ulrich Drepper <drepper@gmail.com>
32747
872fda05
UD
32748 * po/zh_TW.po: Update from translation team.
32749
a4300c7a
UD
32750 * login/Makefile (distribute): Remove variable.
32751 * catgets/Makefile: Likewise.
32752 * mach/Makefile: Likewise.
32753 * malloc/Makefile: Likewise.
32754 * misc/Makefile: Likewise.
32755 * iconv/Makefile: Likewise.
32756 * nscd/Makefile: Likewise.
32757 * hurd/Makefile: Likewise.
32758 * manual/Makefile: Likewise.
32759 * locale/Makefile: Likewise.
32760 * intl/Makefile: Likewise.
32761 * conform/Makefile: Likewise.
32762 * nss/Makefile: Likewise.
32763 * time/Makefile: Likewise.
32764 * soft-fp/Makefile: Likewise.
32765 * dirent/Makefile: Likewise.
32766 * gmon/Makefile: Likewise.
32767 * po/Makefile: Likewise.
32768 * rt/Makefile: Likewise.
32769 * socket/Makefile: Likewise.
32770 * math/Makefile: Likewise.
32771 * signal/Makefile: Likewise.
32772 * debug/Makefile: Likewise.
32773 * elf/Makefile: Likewise.
32774 * timezone/Makefile: Likewise.
32775 * stdlib/Makefile: Likewise.
32776 * iconvdata/Makefile: Likewise.
32777 * sunrpc/Makefile: Likewise.
32778 * io/Makefile: Likewise.
32779 * argp/Makefile: Likewise.
32780 * inet/Makefile: Likewise.
32781 * hesiod/Makefile: Likewise.
32782 * grp/Makefile: Likewise.
32783 * csu/Makefile: Likewise.
32784 * wctype/Makefile: Likewise.
32785 * crypt/Makefile: Likewise.
32786 * libio/Makefile: Likewise.
32787 * string/Makefile: Likewise.
32788 * nis/Makefile: Likewise.
32789 * resolv/Makefile: Likewise.
32790 * stdio-common/Makefile: Likewise.
32791 * wcsmbs/Makefile: Likewise.
32792 * dlfcn/Makefile: Likewise.
32793 * posix/Makefile: Likewise.
32794
3b7c4e74 32795 [BZ #6959]
482ff4da
UD
32796 * timezone/Makefile: Don't install timezone files, just the programs
32797 and scripts.
32798
f72ed77d
UD
327992012-03-06 Ulrich Drepper <drepper@gmail.com>
32800
a000466f
UD
32801 * nss/databases.def: Add missing gshadow entry.
32802
f72ed77d
UD
32803 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
32804
a53b7a4e
MP
328052012-03-06 Marek Polacek <polacek@redhat.com>
32806
32807 [BZ #13726]
32808 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
32809 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
32810 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
32811 * stdio-common/tst-long-dbl-fphex.c: New file.
32812
e9258400
DM
328132012-03-06 David S. Miller <davem@davemloft.net>
32814
32815 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32816 (set_obp_int): New function.
32817 (get_obp_int): New function.
32818 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
32819 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
32820 Avoid unused variable warnings on 'val' and use builtin_expect.
32821 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
32822 __builtin_expect.
e9258400
DM
32823 (INLINE_CLONE_SYSCALL): Likewise.
32824
3bd2c723
DM
328252012-03-05 David S. Miller <davem@davemloft.net>
32826
32827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32828
bbb78d03
AS
328292012-03-05 Andreas Schwab <schwab@linux-m68k.org>
32830
884c5db4
AS
32831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32832
bbb78d03
AS
32833 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
32834 only for |x| >= 40.
32835 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32836
1c9f702a 328372012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
32838
32839 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
32840 Replace gettimeofday with __vdso_gettimeofday.
32841
7be16f82
RM
32842 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32843 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
32844 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
32845
32846 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
32847 time with __vdso_time.
32848
ed58a00f
JM
328492012-03-05 Joseph Myers <joseph@codesourcery.com>
32850
32851 * manual/lang.texi (size_t): Note types to which size_t may be
32852 equivalent with the GNU C Library, but do not describe when
32853 differences between them are significant.
32854
30ee4ced
AJ
328552012-03-05 Andreas Jaeger <aj@suse.de>
32856
32857 * sysdeps/i386/fpu/libm-test-ulps: Update.
32858
b7cd39e8
JM
328592012-03-05 Joseph Myers <joseph@codesourcery.com>
32860
32861 [BZ #3976]
32862 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
32863 (__ieee754_pow): Save and restore rounding mode and use
32864 round-to-nearest for main computations.
32865 * math/libm-test.inc (pow_test_tonearest): New function.
32866 (pow_test_towardzero): Likewise.
32867 (pow_test_downward): Likewise.
32868 (pow_test_upward): Likewise.
32869 (main): Call the new functions.
32870 * sysdeps/i386/fpu/libm-test-ulps: Update.
32871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
32872
32873 [BZ #3976]
32874 * math/libm-test.inc (cosh_test_tonearest): New function.
32875 (cosh_test_towardzero): Likewise.
32876 (cosh_test_downward): Likewise.
32877 (cosh_test_upward): Likewise.
32878 (sinh_test_tonearest): Likewise.
32879 (sinh_test_towardzero): Likewise.
32880 (sinh_test_downward): Likewise.
32881 (sinh_test_upward): Likewise.
32882 (main): Call the new functions.
32883 * sysdeps/i386/fpu/libm-test-ulps: Update.
32884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32885
6c6a98c9
TV
328862012-03-05 Tom de Vries <tom@codesourcery.com>
32887
32888 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
32889 default stack guard is set in last bytes.
32890 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
32891
21bb2d2e 328922012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 32893
21bb2d2e 32894 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 32895
21bb2d2e
AJ
32896 [BZ #13656]
32897 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
32898 possibly allocate from heap instead of stack.
32899 * stdio-common/bug-vfprintf-nargs.c: New file.
32900 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 32901
c6922934
AS
329022012-03-03 Andreas Schwab <schwab@linux-m68k.org>
32903
32904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32905
bc957d53
MP
329062012-03-03 Marek Polacek <polacek@redhat.com>
32907
32908 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
32909 * math/math_private.h: Likewise.
32910 * stdlib/tst-strtod.c: Likewise.
32911 * sysdeps/i386/i486/bits/atomic.h: Likewise.
32912 * sysdeps/x86_64/bits/atomic.h: Likewise.
32913
6358490d
DM
329142012-03-02 David S. Miller <davem@davemloft.net>
32915
32916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
32917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
32918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
32919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
32920 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
32921 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
32922 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
32923 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
32924
01ae168d
RM
329252012-03-02 Roland McGrath <roland@hack.frob.com>
32926
d9a17c07
RM
32927 [BZ #13792]
32928 * manual/examples/README: New file, says the example source files
32929 can be used under GPL>=2.
32930 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
32931 line containing just "*/".
32932 * manual/examples/add.c: Add copyright header (GPL>=2).
32933 * manual/examples/argp-ex1.c: Likewise.
32934 * manual/examples/argp-ex2.c: Likewise.
32935 * manual/examples/argp-ex3.c: Likewise.
32936 * manual/examples/argp-ex4.c: Likewise.
32937 * manual/examples/atexit.c: Likewise.
32938 * manual/examples/db.c: Likewise.
32939 * manual/examples/dir.c: Likewise.
32940 * manual/examples/dir2.c: Likewise.
32941 * manual/examples/execinfo.c: Likewise.
32942 * manual/examples/filecli.c: Likewise.
32943 * manual/examples/filesrv.c: Likewise.
32944 * manual/examples/fmtmsgexpl.c: Likewise.
32945 * manual/examples/genpass.c: Likewise.
32946 * manual/examples/inetcli.c: Likewise.
32947 * manual/examples/inetsrv.c: Likewise.
32948 * manual/examples/isockad.c: Likewise.
32949 * manual/examples/longopt.c: Likewise.
32950 * manual/examples/memopen.c: Likewise.
32951 * manual/examples/memstrm.c: Likewise.
32952 * manual/examples/mkfsock.c: Likewise.
32953 * manual/examples/mkisock.c: Likewise.
32954 * manual/examples/mygetpass.c: Likewise.
32955 * manual/examples/pipe.c: Likewise.
32956 * manual/examples/popen.c: Likewise.
32957 * manual/examples/rprintf.c: Likewise.
32958 * manual/examples/search.c: Likewise.
32959 * manual/examples/select.c: Likewise.
32960 * manual/examples/setjmp.c: Likewise.
32961 * manual/examples/sigh1.c: Likewise.
32962 * manual/examples/sigusr.c: Likewise.
32963 * manual/examples/stpcpy.c: Likewise.
32964 * manual/examples/strdupa.c: Likewise.
32965 * manual/examples/strftim.c: Likewise.
32966 * manual/examples/strncat.c: Likewise.
32967 * manual/examples/subopt.c: Likewise.
32968 * manual/examples/swapcontext.c: Likewise.
32969 * manual/examples/termios.c: Likewise.
32970 * manual/examples/testopt.c: Likewise.
32971 * manual/examples/testpass.c: Likewise.
32972 * manual/examples/timeval_subtract.c: Likewise.
32973
01ae168d
RM
32974 [BZ #13792]
32975 * manual/time.texi (Elapsed Time): Move timeval_subtract example
32976 function to ...
32977 * manual/timeval_subtract.c.texi: ... here, new file.
32978
49efa33d
DM
329792012-03-02 David S. Miller <davem@davemloft.net>
32980
32981 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
32982
28afd92d
JM
329832012-03-02 Joseph Myers <joseph@codesourcery.com>
32984
804360ed
JM
32985 [BZ #3976]
32986 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
32987 (__sin): Save and restore rounding mode and use round-to-nearest
32988 for all computations.
32989 (__cos): Save and restore rounding mode and use round-to-nearest
32990 for all computations.
32991 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
32992 <fenv.h>.
32993 (tan): Save and restore rounding mode and use round-to-nearest for
32994 all computations.
32995 * math/libm-test.inc (cos_test_tonearest): New function.
32996 (cos_test_towardzero): Likewise.
32997 (cos_test_downward): Likewise.
32998 (cos_test_upward): Likewise.
32999 (sin_test_tonearest): Likewise.
33000 (sin_test_towardzero): Likewise.
33001 (sin_test_downward): Likewise.
33002 (sin_test_upward): Likewise.
33003 (tan_test_tonearest): Likewise.
33004 (tan_test_towardzero): Likewise.
33005 (tan_test_downward): Likewise.
33006 (tan_test_upward): Likewise.
33007 (main): Call the new functions.
33008 * sysdeps/i386/fpu/libm-test-ulps: Update.
33009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33010
a6d06d7b
JM
33011 [BZ #10135]
33012 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33013 small n, then large n, before computing and testing k+n.
33014 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33015 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33016 Likewise.
33017 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33018 Likewise.
33019 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33020 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33021 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33022 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33023 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33024 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33025 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33026 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33027 * math/libm-test.inc (scalbn_test): Add more tests.
33028 (scalbln_test): Likewise.
33029
07e12bb3
JM
33030 * manual/filesys.texi (mode_t): Describe constraints on size and
33031 signedness, not exact equivalence to a particular type.
33032 (ino_t): Likewise.
33033 (ino64_t): Likewise.
33034 (dev_t): Likewise.
33035 (nlink_t): Likewise.
33036 (blkcnt_t): Likewise.
33037 (blkcnt64_t): Likewise.
33038 * manual/llio.texi (off_t): Likewise.
33039
28afd92d
JM
33040 [BZ #3976]
33041 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33042 (__ieee754_exp): Save and restore rounding mode and use
33043 round-to-nearest for all computations.
33044 * math/libm-test.inc (exp_test_tonearest): New function.
33045 (exp_test_towardzero): Likewise.
33046 (exp_test_downward): Likewise.
33047 (exp_test_upward): Likewise.
33048 (main): Call the new functions.
33049 * sysdeps/i386/fpu/libm-test-ulps: Update.
33050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33051
b1eeb65d
CD
330522012-03-01 Chris Demetriou <cgd@google.com>
33053
33054 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33055 have predictable order.
33056
53362a4b
DM
330572012-03-01 David S. Miller <davem@davemloft.net>
33058
3c969083
DM
33059 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33060
759707de
DM
33061 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33062 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33063 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33064 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33065
dfdb8ff2
DM
33066 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33067 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33068 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33070 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33071 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33072 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33073 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33074 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33075
ead89f96
DM
33076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33077
7f66bd07
DM
33078 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33079 * sysdeps/sparc/fpu/libm-test-ulps: to here.
33080 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33081
53362a4b
DM
33082 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33083 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33084 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33085 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33086 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33087 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33088 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33089 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33090 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33091 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33092 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33093 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33094 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33095 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33096 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33097 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33098 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33099 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33100 * sysdeps/sparc/elf/configure: Regenerated.
33101
7b1902cb
JM
331022012-03-01 Joseph Myers <joseph@codesourcery.com>
33103
bec039bc
JM
33104 * configure.in (AS, LD): Require binutils 2.20 or later.
33105 * configure: Regenerated.
33106 * manual/install.texi (Tools for Compilation): Give binutils 2.20
33107 as required minimum version.
33108 * INSTALL: Regenerated.
33109
7b1902cb
JM
33110 [BZ #2541]
33111 [BZ #4108]
33112 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33113 before squaring exponent.
33114 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33115 bottom long double and 27 bits of top long double before squaring
33116 exponent.
33117 * math/libm-test.inc (erfc_test): Add more tests.
33118 * sysdeps/i386/fpu/libm-test-ulps: Update.
33119 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33121
f775c276
KT
331222012-03-01 Kai Tietz <ktietz@redhat.com>
33123
33124 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33125 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33126 containing bit-fields.
33127 * soft-fp/extended.h (_FP_UNION_E): Likewise.
33128 * soft-fp/single.h (_FP_UNION_S): Likewise.
33129 * soft-fp/double.h (_FP_UNION_D): Likewise.
33130
5b8a4d4a
JM
331312012-02-29 Joseph Myers <joseph@codesourcery.com>
33132
0bab47b6
JM
33133 [BZ #13786]
33134 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33135 not include ../strcmp.S.
33136 [USE_AS_STRNCASECMP_L]: Likewise.
33137 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33138 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33139 * sysdeps/i386/i686/multiarch/strncase_l-c.c
33140 (__strncasecmp_l_ia32): Define as alias to
33141 __strncasecmp_l_nonascii.
33142
0fcad3e2
JM
33143 [BZ #5794]
33144 * math/libm-test.inc (expm1_test): Add test for bug 5794.
33145 * sysdeps/i386/fpu/libm-test-ulps: Update.
33146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33147
5b8a4d4a
JM
33148 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33150
8fdceb2e
JL
331512012-02-29 Jeff Law <law@redhat.com>
33152
33153 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33154 out of bounds read.
33155
1f393a11
MP
331562012-02-29 Marek Polacek <polacek@redhat.com>
33157
33158 [BZ #13706]
33159 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33160 * elf/Makefile: Add rules to run tst-unused-dep.out.
33161
8847f037
DM
331622012-02-28 David S. Miller <davem@davemloft.net>
33163
33164 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33165 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33166 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33167 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33168 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33169 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33170
169d7f11
JM
331712012-02-29 Joseph Myers <joseph@codesourcery.com>
33172
33173 * math/libm-test.inc (llround_test): Move one test from
33174 lround_test. Use TEST_f_L in moved test.
33175 (lround_test): Move misplaced test to llround_test. Add testcase
33176 from bug 2561.
33177
39adf059
UD
331782012-02-28 Ulrich Drepper <drepper@gmail.com>
33179
33180 * sysdeps/x86_64/fpu/e_expf.S: New file.
33181 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33182
71b5d1c5
SB
331832012-02-28 Stanislav Brabec <sbrabec@suse.cz>
33184
33185 [BZ #13637]
33186 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33187 of remain_len that may cause incomplete multi-byte character and
33188 false match.
33189 * posix/bug-regex33.c: New file.
33190 * posix/Makefile (tests): Add bug-regex33.
33191
1f77f049
JM
331922012-02-28 Joseph Myers <joseph@codesourcery.com>
33193
33194 * manual/macros.texi: New file.
33195 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33196 * manual/libc.texinfo: Include macros.texi.
33197 * manual/creatute.texi: Likewise.
33198 * manual/install.texi: Likewise.
33199 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33200 @glibcadj{} in references to the GNU C Library.
33201 * manual/charset.texi: Likewise.
33202 * manual/conf.texi: Likewise.
33203 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
33204 when not using those macros.
33205 * manual/creature.texi: Likewise.
33206 * manual/crypt.texi: Likewise.
33207 * manual/errno.texi: Likewise.
33208 * manual/filesys.texi: Likewise.
33209 * manual/header.texi: Likewise.
33210 * manual/install.texi: Likewise.
33211 * manual/intro.texi: Likewise.
33212 * manual/io.texi: Likewise.
33213 * manual/job.texi: Likewise.
33214 * manual/lang.texi: Likewise.
33215 * manual/libc.texiinfo: Likewise.
33216 * manual/llio.texi: Likewise.
33217 * manual/locale.texi: Likewise.
33218 * manual/maint.texi: Likewise.
33219 * manual/math.texi: Likewise.
33220 * manual/memory.texi: Likewise.
33221 * manual/message.texi: Likewise.
33222 * manual/nss.texi: Likewise.
33223 * manual/pattern.texi: Likewise.
33224 * manual/process.texi: Likewise.
33225 * manual/resource.texi: Likewise.
33226 * manual/search.texi: Likewise.
33227 * manual/setjmp.texi: Likewise.
33228 * manual/signal.texi: Likewise.
33229 * manual/socket.texi: Likewise.
33230 * manual/startup.texi: Likewise.
33231 * manual/stdio.texi: Likewise.
33232 * manual/string.texi: Likewise.
33233 * manual/sysinfo.texi: Likewise.
33234 * manual/syslog.texi: Likewise.
33235 * manual/terminal.texi: Likewise.
33236 * manual/time.texi: Likewise.
33237 * manual/users.texi: Likewise.
33238 * INSTALL: Regenerated.
33239 * NOTES: Regenerated.
d40c5d54 33240 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 33241
450bf206
AS
332422012-02-28 Andreas Schwab <schwab@linux-m68k.org>
33243
33244 * include/dirent.h: Include <dirstream.h> before
33245 <dirent/dirent.h>.
33246
741a235b
DM
332472012-02-28 David S. Miller <davem@davemloft.net>
33248
33249 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33250 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33251 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33252 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33253
d6b5aa58
DM
332542012-02-27 David S. Miller <davem@davemloft.net>
33255
1aff59a3
DM
33256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33258 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33259 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33260
d6b5aa58
DM
33261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
33262 frame pointer instead of stack pointer relative arg slot.
33263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33264 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33265 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33266
433f48bf
CD
332672012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
33268
33269 [BZ #3992]
33270 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
33271
d674b76d
DM
332722012-02-27 David S. Miller <davem@davemloft.net>
33273
33274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
33275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
33278 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33279 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33280 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
33281 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
33282
0e7727f7
JM
332832012-02-27 Joseph Myers <joseph@codesourcery.com>
33284
33285 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
33286 later. Allow versions 5-9.
43be4ca2 33287 * configure: Regenerated.
0e7727f7
JM
33288 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
33289 required minimum version and 4.6 as recommended version. Do not
33290 mention bugs in GCC 2.7 and 2.8.
43be4ca2 33291 * INSTALL: Regenerated.
0e7727f7 33292
a78bc654
DM
332932012-02-27 David S. Miller <davem@davemloft.net>
33294
428d5830
DM
33295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
33296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
33297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
33298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
33299 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
33300 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
33301 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
33302 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
33303
a78bc654
DM
33304 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
33305 manipulate bits before adding and subtracting TWO112[sx].
33306 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33307
4579f81c
RM
333082012-02-27 Roland McGrath <roland@hack.frob.com>
33309
36c8acb4
RM
33310 [BZ #13775]
33311 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
33312 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
33313 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
33314 being in POSIX, because they are in 1003.1-2008.
33315
84ad622b
RM
33316 * rt/tst-aio.c: Include <fcntl.h>.
33317 * rt/tst-aio7.c: Likewise.
33318 * rt/tst-aio64.c: Likewise.
33319
4579f81c
RM
33320 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
33321
abd923db
JM
333222012-02-27 Joseph Myers <joseph@codesourcery.com>
33323
33324 * manual/install.texi (--with-headers): Describe headers as
33325 interface headers, not private headers.
33326 (Specific advice for GNU/Linux systems): Describe use of headers
33327 from "make headers_install", not private headers from older
33328 kernels.
43be4ca2 33329 * INSTALL: Regenerated.
abd923db
JM
33330 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
33331 Change to 2.6.19.
33332 * sysdeps/unix/sysv/linux/configure: Regenerated.
33333
6664049b
JM
33334 * manual/llio.texi (fclean): Remove documentation.
33335
bb8b6697
JM
33336 * manual/Makefile (libc-texi-generated): New variable. Include
33337 version.texi.
33338 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
33339 $(libc-texi-generated), not duplicated list of files.
33340 (version.texi, stamp-version): New rules.
33341 (realclean): Remove $(libc-texi-generated), not individual files
33342 from that list. Do not remove dir-add.texinfo.
33343 * manual/libc.texinfo: Comment out uses of edition numbers and
33344 references to printed manual. Remove last-updated dates.
33345 (EDITION): Comment out.
33346 (ISBN): Likewise.
33347 (VERSION, UPDATED): Remove.
33348 (version.texi): Include.
33349
12e5c3b9
AS
333502012-02-27 Andreas Schwab <schwab@linux-m68k.org>
33351
33352 * sysdeps/posix/spawni.c: Include <signal.h>.
33353 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
33354 * sysdeps/pthread/aio_fsync.c: Likewise.
33355
4efeffc1 333562012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 33357
ba63ba08
UD
33358 * conform/Makefile (tests): Run only when not cross-compiling and
33359 when fast-check is not defined.
33360
d94a4670
UD
33361 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
33362 * conform/data/limits.h-data: Fixes for POSIX2008.
33363 * conform/run-conformtest.sh: Run all tests.
33364 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
33365 headers.
33366 * include/bits/dlfcn.h: Likewise.
33367 * include/langinfo.h: Likewise.
33368 * include/monetary.h: Likewise.
33369 * include/sys/poll.h: Likewise.
33370
33371 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
33372 for __USE_GNU.
33373 * posix/spawn.h: Define __need_sigset_t.
33374 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
33375 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
33376 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
33377 to get sigevent_t only.
33378 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
33379 only for __USE_GNU.
33380 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33381 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33382 process_vm_writev only for __USE_GNU.
33383 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
33384
33385 * conform/Makefile: For now ignore errors from run-conformtest.
33386 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
33387 POSIX to avoid namespace pollution. Don't prepend headers.
33388 * conform/data/aio.h-data: Fixes for POSIX testing.
33389 * conform/data/fcntl.h-data: Likewise.
33390 * conform/data/glob.h-data: Likewise.
33391 * conform/data/grp.h-data: Likewise.
33392 * conform/data/pthread.h-data: Likewise.
33393 * conform/data/pwd.h-data: Likewise.
33394 * conform/data/signal.h-data: Likewise.
33395 * conform/data/spawn.h-data: Likewise.
33396 * conform/data/stdio.h-data: Likewise.
33397 * conform/data/stdlib.h-data: Likewise.
33398 * conform/data/stropts.h-data: Likewise.
33399 * conform/data/sys/mman.h-data: Likewise.
33400 * conform/data/sys/stat.h-data: Likewise.
33401 * conform/data/sys/types.h-data: Likewise.
33402 * conform/data/sys/wait.h-data: Likewise.
33403 * conform/data/time.h-data: Likewise.
33404 * conform/data/unistd.h-data: Likewise.
33405 * conform/data/utime.h-data: Likewise.
33406
33407 * io/sys/stat.h: fchmod was always in POSIX.
33408 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
33409 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
33410 * rt/aio.h: Define __need_timespec before including <time.h>.
33411 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
33412 struct. Add forward declaration of pthread_attr_t and use it in
33413 sigevent.
33414 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33415 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33416 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
33417 always remove CLK_TCK definition.
33418
c20105c3
AS
334192012-02-26 Andreas Schwab <schwab@linux-m68k.org>
33420
33421 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
33422
7a270350
UD
334232012-02-25 Ulrich Drepper <drepper@gmail.com>
33424
31341567
UD
33425 * conform/run-conformtest.sh: New file.
33426 * conform/Makefile: Run run-conformtest for tests.
33427 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
33428 support.
33429
33430 * conform/data/uchar.h-data: New file.
33431 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
33432 * conform/data/arpa/inet.h-data: Likewise.
33433 * conform/data/assert.h-data: Likewise.
33434 * conform/data/complex.h-data: Likewise.
33435 * conform/data/cpio.h-data: Likewise.
33436 * conform/data/ctype.h-data: Likewise.
33437 * conform/data/dirent.h-data: Likewise.
33438 * conform/data/dlfcn.h-data: Likewise.
33439 * conform/data/errno.h-data: Likewise.
33440 * conform/data/fcntl.h-data: Likewise.
33441 * conform/data/float.h-data: Likewise.
33442 * conform/data/fmtmsg.h-data: Likewise.
33443 * conform/data/fnmatch.h-data: Likewise.
33444 * conform/data/ftw.h-data: Likewise.
33445 * conform/data/glob.h-data: Likewise.
33446 * conform/data/grp.h-data: Likewise.
33447 * conform/data/iconv.h-data: Likewise.
33448 * conform/data/inttypes.h-data: Likewise.
33449 * conform/data/langinfo.h-data: Likewise.
33450 * conform/data/libgen.h-data: Likewise.
33451 * conform/data/limits.h-data: Likewise.
33452 * conform/data/locale.h-data: Likewise.
33453 * conform/data/math.h-data: Likewise.
33454 * conform/data/monetary.h-data: Likewise.
33455 * conform/data/mqueue.h-data: Likewise.
33456 * conform/data/ndbm.h-data: Likewise.
33457 * conform/data/net/if.h-data: Likewise.
33458 * conform/data/netdb.h-data: Likewise.
33459 * conform/data/netinet/in.h-data: Likewise.
33460 * conform/data/nl_types.h-data: Likewise.
33461 * conform/data/poll.h-data: Likewise.
33462 * conform/data/pthread.h-data: Likewise.
33463 * conform/data/pwd.h-data: Likewise.
33464 * conform/data/regex.h-data: Likewise.
33465 * conform/data/sched.h-data: Likewise.
33466 * conform/data/search.h-data: Likewise.
33467 * conform/data/semaphore.h-data: Likewise.
33468 * conform/data/setjmp.h-data: Likewise.
33469 * conform/data/signal.h-data: Likewise.
33470 * conform/data/spawn.h-data: Likewise.
33471 * conform/data/stdarg.h-data: Likewise.
33472 * conform/data/stdio.h-data: Likewise.
33473 * conform/data/stdlib.h-data: Likewise.
33474 * conform/data/string.h-data: Likewise.
33475 * conform/data/strings.h-data: Likewise.
33476 * conform/data/stropts.h-data: Likewise.
33477 * conform/data/sys/ipc.h-data: Likewise.
33478 * conform/data/sys/mman.h-data: Likewise.
33479 * conform/data/sys/msg.h-data: Likewise.
33480 * conform/data/sys/resource.h-data: Likewise.
33481 * conform/data/sys/select.h-data: Likewise.
33482 * conform/data/sys/sem.h-data: Likewise.
33483 * conform/data/sys/shm.h-data: Likewise.
33484 * conform/data/sys/socket.h-data: Likewise.
33485 * conform/data/sys/stat.h-data: Likewise.
33486 * conform/data/sys/statvfs.h-data: Likewise.
33487 * conform/data/sys/time.h-data: Likewise.
33488 * conform/data/sys/timeb.h-data: Likewise.
33489 * conform/data/sys/times.h-data: Likewise.
33490 * conform/data/sys/types.h-data: Likewise.
33491 * conform/data/sys/uio.h-data: Likewise.
33492 * conform/data/sys/un.h-data: Likewise.
33493 * conform/data/sys/utsname.h-data: Likewise.
33494 * conform/data/sys/wait.h-data: Likewise.
33495 * conform/data/syslog.h-data: Likewise.
33496 * conform/data/tar.h-data: Likewise.
33497 * conform/data/termios.h-data: Likewise.
33498 * conform/data/utime.h-data: Likewise.
33499 * conform/data/utmpx.h-data: Likewise.
33500 * conform/data/varargs.h-data: Likewise.
33501 * conform/data/wchar.h-data: Likewise.
33502 * conform/data/wctype.h-data: Likewise.
33503 * conform/data/wordexp.h-data: Likewise.
33504
33505 * include/stropts.h: New file.
33506 * include/uchar.h: New file.
33507 * include/aio.h: Changes to allow conformtest.pl to use the headers.
33508 * include/assert.h: Likewise.
33509 * include/ctype.h: Likewise.
33510 * include/dirent.h: Likewise.
33511 * include/dlfcn.h: Likewise.
33512 * include/fcntl.h: Likewise.
33513 * include/fnmatch.h: Likewise.
33514 * include/glob.h: Likewise.
33515 * include/grp.h: Likewise.
33516 * include/libio.h: Likewise.
33517 * include/locale.h: Likewise.
33518 * include/math.h: Likewise.
33519 * include/net/if.h: Likewise.
33520 * include/netdb.h: Likewise.
33521 * include/netinet/in.h: Likewise.
33522 * include/pthread.h: Likewise.
33523 * include/pwd.h: Likewise.
33524 * include/regex.h: Likewise.
33525 * include/sched.h: Likewise.
33526 * include/search.h: Likewise.
33527 * include/setjmp.h: Likewise.
33528 * include/signal.h: Likewise.
33529 * include/stdio.h: Likewise.
33530 * include/stdlib.h: Likewise.
33531 * include/string.h: Likewise.
33532 * include/sys/cdefs.h: Likewise.
33533 * include/sys/mman.h: Likewise.
33534 * include/sys/msg.h: Likewise.
33535 * include/sys/resource.h: Likewise.
33536 * include/sys/select.h: Likewise.
33537 * include/sys/socket.h: Likewise.
33538 * include/sys/stat.h: Likewise.
33539 * include/sys/statvfs.h: Likewise.
33540 * include/sys/time.h: Likewise.
33541 * include/sys/times.h: Likewise.
33542 * include/sys/uio.h: Likewise.
33543 * include/sys/utsname.h: Likewise.
33544 * include/sys/wait.h: Likewise.
33545 * include/termios.h: Likewise.
33546 * include/time.h: Likewise.
33547 * include/ulimit.h: Likewise.
33548 * include/unistd.h: Likewise.
33549 * include/utime.h: Likewise.
33550 * include/wchar.h: Likewise.
33551 * include/wctype.h: Likewise.
33552 * include/wordexp.h: Likewise.
33553
33554 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
33555
7a270350
UD
33556 * time/time.h: TIME_UTC must be a macro.
33557 Make timespec_get available for ISO C11 only as well.
33558
7724defc
UD
335592012-02-24 Ulrich Drepper <drepper@gmail.com>
33560
33561 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
33562 Reported by Peng Haitao <penght@cn.fujitsu.com>.
33563
6b1d1d46
JM
335642012-02-24 Joseph Myers <joseph@codesourcery.com>
33565
33566 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 33567
0f8bbd69
JM
335682012-02-24 Joseph Myers <joseph@codesourcery.com>
33569
33570 * manual/texinfo.tex: Update to version 2012-01-19.16.
33571
66ab80bc
JM
335722012-02-24 Joseph Myers <joseph@codesourcery.com>
33573
33574 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
33575
74981cc5
RM
335762012-02-24 Roland McGrath <roland@hack.frob.com>
33577
ee968201
RM
33578 [BZ #13738]
33579 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
33580 * manual/fdl-1.3.texi: New file.
33581 * manual/fdl-1.1.texi: File removed.
33582
74981cc5
RM
33583 [BZ #13738]
33584 * manual/libc.texinfo (FDL_VERSION): New @set.
33585 Use it for mention of FDL in cover text.
33586 (Documentation License): Use it in @include file name.
33587
7bb764bc
JM
335882012-02-22 Joseph Myers <joseph@codesourcery.com>
33589 Roland McGrath <roland@hack.frob.com>
33590
33591 [BZ #5461]
33592 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
33593 not LONG_LONG_MAX and LONG_LONG_MIN.
33594 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
33595 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
33596 name.
33597 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
33598
6cbeae47
JM
335992012-02-22 Joseph Myers <joseph@codesourcery.com>
33600
33601 [BZ #2547]
33602 [BZ #11365]
33603 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
33604 manipulate bits before adding and subtracting TWO23[sx].
33605 * math/libm-test.inc (nearbyint_test): Add more tests.
33606
fe45ce09
JM
336072012-02-22 Joseph Myers <joseph@codesourcery.com>
33608
33609 [BZ #2548]
33610 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
33611 bits before adding and subtracting TWO23[sx].
33612 * math/libm-test.inc (rint_test): Add more tests.
33613 (rint_test_tonearest): Likewise.
33614 (rint_test_towardzero): Likewise.
33615 (rint_test_downward): Likewise.
33616 (rint_test_upward: Likewise.
33617
ff3b3d82
JM
336182012-02-22 Joseph Myers <joseph@codesourcery.com>
33619
33620 [BZ #10110]
33621 * include/stdc-predef.h: New file. Extracted from features.h.
33622 * include/features.h: Include stdc-predef.h.
33623 * Makefile (headers): Add stdc-predef.h.
33624 * CONFORMANCE (Compiler limitations): Update.
33625
ef0aab35
JM
336262012-02-22 Joseph Myers <joseph@codesourcery.com>
33627
33628 * manual/libc.texinfo (VERSION, UPDATED): Revert.
33629
58639409
DM
336302012-02-21 David S. Miller <davem@davemloft.net>
33631
33632 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
33633 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33634
c0e70b25
DM
336352012-02-20 David S. Miller <davem@davemloft.net>
33636
33637 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
33638 using a normal save/restore sequence, rather than allocating a
33639 dummy stack frame just to store a frame pointer and restore.
33640 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33641
fb06851d
JM
336422012-02-21 Joseph Myers <joseph@codesourcery.com>
33643
33644 * manual/install.texi: Fix stray word in line-wrapped comment.
33645
7a8b71c3
DM
336462012-02-20 David S. Miller <davem@davemloft.net>
33647
d510c123
DM
33648 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
33649 both binutils and gcc support GOTDATA.
33650
0722d7c2
DM
33651 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
33652 "rd %pc" in the PIC register setup sequences.
33653
3d2b3019
DM
33654 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
33655 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
33656 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33657 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
33658 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33659 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33660 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33661 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33662 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
33663 (SYSCALL_ERROR_HANDLER): Likewise.
33664 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33665 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33666 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
33667 (SYSCALL_ERROR_HANDLER): Likewise.
33668
c80098a9
DM
33669 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
33670 (HAVE_GCC_GOTDATA): New.
33671 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
33672 relocation support in both binutils and gcc.
33673 * sysdeps/sparc/elf/configure: Regenerate.
33674
3a2545a0
DM
33675 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
33676 * sysdeps/sparc/sparc32/elf/configure: Delete.
33677 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
33678 * sysdeps/sparc/sparc64/elf/configure: Delete.
33679 * sysdeps/sparc/elf/configure.in: New file.
33680 * sysdeps/sparc/elf/configure: Generate.
33681
7a8b71c3
DM
33682 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
33683 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
33684 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33685 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
33686 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
33687
f1e86fca
JM
336882012-02-21 Joseph Myers <joseph@codesourcery.com>
33689
33690 * manual/install.texi: Do not mention specific glibc version
33691 numbers.
33692 * manual/libc.texinfo (VERSION, UPDATED): Update.
33693 (@copying): Use @copyright{} and range of years.
33694
0e7dfaef
JM
336952012-02-21 Joseph Myers <joseph@codesourcery.com>
33696
33697 [BZ #13695]
33698 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
33699 [crti.S not in sysdirs] (generated): Do not append.
33700 [crti.S not in sysdirs] (omit-deps): Likewise.
33701 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
33702 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
33703 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
33704 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
33705 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
33706 Likewise.
33707 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
33708 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
33709 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
33710 * csu/defs.awk: Remove file.
33711 * sysdeps/generic/initfini.c: Likewise.
33712 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
33713 variable.
33714 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
33715 Likewise.
33716
599af3ca
JM
337172012-02-20 Joseph Myers <joseph@codesourcery.com>
33718
33719 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
33720 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
33721 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
33722 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
33723 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33724 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
33725 <bits/epoll.h>.
33726 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
33727 (__EPOLL_PACKED): Define to empty if not defined by
33728 <bits/epoll.h>.
33729 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
33730 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33731 bits/epoll.h.
33732
0e499750
JM
337332012-02-20 Joseph Myers <joseph@codesourcery.com>
33734
33735 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
33736 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
33737 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
33738 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
33739 <bits/timerfd.h>.
33740 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
33741 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33742 bits/timerfd.h.
33743
5ad91f6e
JM
337442012-02-20 Joseph Myers <joseph@codesourcery.com>
33745
33746 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
33747 in C locale.
33748 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33749 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33750 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
33751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33752
06b99b02
AJ
337532012-02-20 Aurelien Jarno <aurelien@aurel32.net>
33754
33755 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33756 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33757
7638c0fd
AS
337582012-02-19 Andreas Schwab <schwab@linux-m68k.org>
33759
33760 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
33761 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
33762 defined.
33763 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
33764 Likewise.
33765 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
33766 entry for 2.16.
33767
92221550
AJ
337682012-02-19 Aurelien Jarno <aurelien@aurel32.net>
33769
33770 * math/w_acos.c: Use non-signaling floating-point comparisons.
33771 * math/w_acosf.c: Likewise.
33772 * math/w_acosh.c: Likewise.
33773 * math/w_acoshf.c: Likewise.
33774 * math/w_acoshl.c: Likewise.
33775 * math/w_acosl.c: Likewise.
33776 * math/w_asin.c: Likewise.
33777 * math/w_asinf.c: Likewise.
33778 * math/w_asinl.c: Likewise.
33779 * math/w_atanh.c: Likewise.
33780 * math/w_atanhf.c: Likewise.
33781 * math/w_atanhl.c: Likewise.
33782 * math/w_exp2.c: Likewise.
33783 * math/w_exp2f.c: Likewise.
33784 * math/w_exp2l.c: Likewise.
33785 * math/w_j0.c: Likewise.
33786 * math/w_j0f.c: Likewise.
33787 * math/w_j0l.c: Likewise.
33788 * math/w_j1.c: Likewise.
33789 * math/w_j1f.c: Likewise.
33790 * math/w_j1l.c: Likewise.
33791 * math/w_jn.c: Likewise.
33792 * math/w_jnf.c: Likewise.
33793 * math/w_log.c: Likewise.
33794 * math/w_log10.c: Likewise.
33795 * math/w_log10f.c: Likewise.
33796 * math/w_log10l.c: Likewise.
33797 * math/w_log2.c: Likewise.
33798 * math/w_log2f.c: Likewise.
33799 * math/w_log2l.c: Likewise.
33800 * math/w_logf.c: Likewise.
33801 * math/w_logl.c: Likewise.
33802 * math/w_sqrt.c: Likewise.
33803 * math/w_sqrtf.c: Likewise.
33804 * math/w_sqrtl.c: Likewise.
33805 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33806 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
33807 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33808 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33809 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33810
ebaf36eb
JM
338112012-02-19 Joseph Myers <joseph@codesourcery.com>
33812
33813 [BZ #9739]
33814 * manual/string.texi (strnlen): Use correct parameter name in
33815 equivalent expression.
33816
71c254a6
JM
338172012-02-19 Joseph Myers <joseph@codesourcery.com>
33818
33819 [BZ #11174]
33820 * manual/users.texi (seteuid): Consistently use neweuid for
33821 argument name.
33822
16d2c631
JM
338232012-02-19 Joseph Myers <joseph@codesourcery.com>
33824
33825 [BZ #13704]
33826 * manual/nss.texi (Services in the NSS configuration): Correct
33827 list of services in example configuration file.
33828
cd837b09
NB
338292012-02-19 Nick Bowler <nbowler@draconx.ca>
33830
33831 [BZ #11322]
33832 * manual/arith.texi: Remove statements about negative zero
33833 behaving identically to zero.
33834
02c4bbad
JM
338352012-02-18 Joseph Myers <joseph@codesourcery.com>
33836
33837 [BZ #5993]
33838 * manual/install.texi: Do not document upgrading from libc5.
33839
366842e7
JM
338402012-02-18 Joseph Myers <joseph@codesourcery.com>
33841
33842 [BZ #4596]
33843 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
33844
dd54084d
DM
338452012-02-18 David S. Miller <davem@davemloft.net>
33846
33847 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
33848 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
33849 %o7 across the call.
33850 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
33851 instead.
33852 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
33853 SETUP_PIC_REG_LEAF.
33854 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33855 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
33856 * sysdeps/sparc/crtn.S: Likewise.
33857
2bcc53a3
UD
338582012-02-17 Ulrich Drepper <drepper@gmail.com>
33859
33860 * aout/Makefile: Remove.
33861
09c093b5
RK
338622012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
33863
33864 [BZ #13058]
33865 * manual/examples/argp-ex1.c (main): Format definition in GNU
33866 style.
33867 * manual/examples/argp-ex2.c (main): Likewise.
33868 * manual/examples/argp-ex3.c (main): Likewise.
33869 * manual/examples/argp-ex4.c (main): Likewise.
33870 * manual/examples/longopt.c (main): Use new-style prototype
33871 definition.
33872 * manual/examples/strncat.c (main): Specify return type and use
33873 (void) for arguments.
33874 * manual/examples/subopt.c (main): Use char **argv argument.
33875
2ee633a2
JM
338762012-02-17 Joseph Myers <joseph@codesourcery.com>
33877
33878 [BZ #5077]
33879 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
33880 rounding modes.
33881
0520adde
FB
338822012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
33883
33884 [BZ #6907]
33885 * manual/string.texi (strchr): Change when strchrnul is
33886 recommended.
33887
3f4081cd
DGM
338882012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
33889
33890 [BZ #174]
33891 * manual/locale.texi (setlocale): Document LOCPATH.
33892
d1b10e78
JM
338932012-02-17 Joseph Myers <joseph@codesourcery.com>
33894
33895 [BZ #10210]
33896 * manual/process.texi (execle): Move @dots{} before last argument.
33897
79c6869c
PB
338982012-02-17 Paul Bolle <pebolle@tiscali.nl>
33899
33900 [BZ #12047]
33901 * manual/charset.texi (Generic Charset Conversion): Fix typo
33902 (LC_TYPE -> LC_CTYPE).
33903
cc6e48bc
NB
339042012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
33905
33906 [BZ #5805]
33907 * manual/arith.texi (scalbn): Use @var{} on parameter names.
33908 (scalbnf): Likewise.
33909 (scalbnl): Likewise.
33910 (scalbln): Likewise.
33911 (scalblnf): Likewise.
33912 (scalblnl): Likewise.
33913 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
33914 (vwarnx): Likewise.
33915 (verr): Likewise.
33916 (verrx): Likewise.
33917 * manual/filesys.texi (telldir): Use braces around return type.
33918 * manual/llio.texi (mmap): Add space after comma.
33919 (mmap64): Likewise.
33920 * manual/math.texi (jn): Use @var{} on parameter names.
33921 (jnf): Likewise.
33922 (jnl): Likewise.
33923 (yn): Likewise.
33924 (ynf): Likewise.
33925 (ynl): Likewise.
33926 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
33927 line.
33928 * manual/resource.texi (ulimit): Use @dots{} instead of literal
33929 "...".
33930 (sched_get_priority_min): Remove semicolon on @deftypefun line.
33931 (sched_get_priority_max): Likewise.
33932 * manual/signal.texi (sigvec): Add space after comma.
33933 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
33934 names.
33935 (if_indextoname): Likewise.
33936 (if_freenameindex): Likewise.
33937 (sendto): Use ',' instead of '.' in prototype.
33938 * manual/startup.texi (syscall): Use @dots{} instead of literal
33939 "...".
33940 * manual/stdio.texi (__fpending): Separate initial words of
33941 paragraph from @deftypefun line.
33942 * manual/syslog.texi (syslog): Use @dots{} instead of literal
33943 "...".
33944 (vsyslog): Use @var{} on parameter names.
33945 * manual/terminal.texi (stty): Use @var{} on parameter names.
33946 * manual/users.texi (getutmp): Use @var{} on parameter names.
33947 (getutmpx): Likewise.
33948
5b23062f
JM
339492012-02-17 Joseph Myers <joseph@codesourcery.com>
33950
33951 [BZ #6884]
33952 * manual/stdio.texi (fopen): Fix typos in description of
33953 ",ccs=STRING".
33954
8dee4833
AJ
339552012-02-17 Aurelien Jarno <aurelien@aurel32.net>
33956
33957 [BZ #4026]
33958 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
33959 get clock_id definition.
33960
9078ce93
TS
339612012-02-17 Thomas Schwinge <thomas@schwinge.name>
33962
33963 [BZ #4822]
33964 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
33965 (madvise): Cast every argument to void on its own.
33966
3835c55f
JM
339672012-02-17 Joseph Myers <joseph@codesourcery.com>
33968
33969 [BZ #9902]
33970 * manual/startup.texi (Exit Status): Fix typo.
33971
35c47e37
JM
339722012-02-17 Joseph Myers <joseph@codesourcery.com>
33973
33974 [BZ #10140]
33975 * manual/examples/argp-ex1.c: Include <stdlib.h>.
33976 * manual/examples/argp-ex2.c: Likewise.
33977 * manual/examples/argp-ex3.c: Likewise.
33978
e3b69ca7
RH
339792012-02-16 Richard Henderson <rth@redhat.com>
33980
33981 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
33982 * sysdeps/s390/s390-32/initfini.c: Remove.
33983 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
33984 * sysdeps/s390/s390-64/initfini.c: Remove.
33985
df83af67
KK
339862012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33987
33988 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
33989 compiler output for sysdeps/generic/initfini.c.
33990 * sysdeps/sh/elf/initfini.c: Remove file.
33991
f63f3380
DM
339922012-02-16 David S. Miller <davem@davemloft.net>
33993
fb59b3a4
DM
33994 [BZ #11494]
33995 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
33996
f63f3380
DM
33997 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
33998 * sysdeps/sparc/crti.S: New file.
33999 * sysdeps/sparc/crtn.S: New file.
34000 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34001 * sysdeps/sparc/sparc64/Makefile: Likewise.
34002
df6a4a4a
MF
340032012-02-15 Mike Frysinger <vapier@gentoo.org>
34004
6dd8f3dc 34005 [BZ #3335]
df6a4a4a
MF
34006 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34007
1cac7236
RM
340082012-02-15 Roland McGrath <roland@hack.frob.com>
34009
d2c736f8
RM
34010 [BZ #4822]
34011 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34012
1cac7236
RM
34013 * mach/devstream.c (cookie_io_functions_t): Macro removed.
34014 (write, read, close): Likewise.
34015 Patch by Aurelien Jarno <aurelien@aurel32.net>.
34016
8e475601
JM
340172012-02-15 Joseph Myers <joseph@codesourcery.com>
34018
34019 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34020 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34021 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34022 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34023 <bits/signalfd.h>.
34024 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34025 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34026 bits/signalfd.h.
34027
ed656b40
MP
340282012-02-14 Marek Polacek <polacek@redhat.com>
34029
34030 * sysdeps/x86_64/crti.S: New file.
34031 * sysdeps/x86_64/crtn.S: New file.
34032 * sysdeps/x86_64/elf/initfini.c: Remove file.
34033
2a979d3a
JM
340342012-02-13 Joseph Myers <joseph@codesourcery.com>
34035
34036 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34037 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34038 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34039 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34040 <bits/inotify.h>.
34041 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34042 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34043 bits/inotify.h.
34044
2a418ac3
JM
340452012-02-13 Joseph Myers <joseph@codesourcery.com>
34046
34047 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34048 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34049 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34050 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34051 <bits/eventfd.h>.
34052 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34053 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34054 bits/eventfd.h.
34055
fb779be7
TS
340562012-02-10 Thomas Schwinge <thomas@codesourcery.com>
34057
e19e83c5
RM
34058 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34059 __feraiseexcept instead of feraiseexcept.
7c35ffed 34060
fb779be7
TS
34061 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34062 nanosleep invocations.
34063 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34064 strings, and add error checking for a nanosleep invocations.
34065
59ba27a6
PE
340662012-02-09 Paul Eggert <eggert@cs.ucla.edu>
34067
34068 Replace FSF snail mail address with URLs, as per GNU coding standards.
34069 Most of the snail mail addresses were wrong anyway, and omitting
34070 them makes the source code easier to maintain. Almost all of the
34071 changes are to license notices and to locale LC_IDENTIFICATION
34072 addresses, except for this one:
34073 * manual/libc.texinfo: In "Published by", give the FSF's URL,
34074 not its snail mail address.
34075
57b957eb
RH
340762012-02-09 Richard Henderson <rth@twiddle.net>
34077
af850b1c
RH
34078 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34079 of kernel-features.h.
34080
57b957eb
RH
34081 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34082
6b73181a
MP
340832012-02-08 Marek Polacek <polacek@redhat.com>
34084
34085 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34086 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34087 * sysdeps/gnu/_G_config.h: Likewise.
34088 * sysdeps/generic/_G_config.h: Likewise.
34089
26ecc33a
AS
340902012-02-08 Andreas Schwab <schwab@linux-m68k.org>
34091
6c6dbc63
AS
34092 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34093 tests.
34094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34095
e216c012
AS
34096 * sysdeps/powerpc/powerpc32/crti.S: New file.
34097 * sysdeps/powerpc/powerpc32/crtn.S: New file.
34098 * sysdeps/powerpc/powerpc64/crti.S: New file.
34099 * sysdeps/powerpc/powerpc64/crtn.S: New file.
34100
26ecc33a
AS
34101 * Makeconfig (have-initfini): Don't set.
34102 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34103 * configure.in (nopic_initfini): Don't substitute.
34104 * config.h.in (HAVE_INITFINI): Don't #undef.
34105 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34106 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34107
3add8e13
JM
341082012-02-08 Joseph Myers <joseph@codesourcery.com>
34109
34110 Support crti.S and crtn.S provided directly by architectures.
34111 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34112 [crti.S in sysdirs] (omit-deps): Likewise.
34113 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34114 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34115 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34116 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34117 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34118 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34119 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34120 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34121 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34122 compiler output for sysdeps/generic/initfini.c.
34123 * sysdeps/i386/elf/Makefile: Remove file.
34124 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34125
a22f12b4
MP
341262012-02-07 Marek Polacek <polacek@redhat.com>
34127
34128 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34129 * sysdeps/gnu/_G_config.h: Likewise.
34130 * sysdeps/mach/hurd/_G_config.h: Likewise.
34131
148cf100
MP
341322012-02-07 Marek Polacek <polacek@redhat.com>
34133
34134 * math/Makefile (tests): Add tst-CMPLX2.
34135 * math/tst-CMPLX2.c: New file.
34136
cfdc0dd7
AS
341372012-02-07 Andreas Schwab <schwab@linux-m68k.org>
34138
84ba42c4
AS
34139 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34140
cfdc0dd7
AS
34141 * math/libm-test.inc (jn_test): Add missing L suffix.
34142
622c86f4
MP
341432012-02-06 Marek Polacek <polacek@redhat.com>
34144
34145 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34146 * sysdeps/i386/fpu/e_powf.S: Likewise.
34147 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34148 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34149 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34150 * sysdeps/i386/fpu/e_pow.S: Likewise.
34151 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34152 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34153 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34154 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34155 * sysdeps/i386/fpu/e_log2.S: Likewise.
34156 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34157 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34158 * sysdeps/i386/fpu/e_powl.S: Likewise.
34159 * sysdeps/i386/fpu/s_log1p.S: Likewise.
34160 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34161 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34162 * sysdeps/i386/fpu/e_logl.S: Likewise.
34163 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34164 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34165 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34166 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34167 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34168 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34169 * sysdeps/i386/fpu/e_log.S: Likewise.
34170 * sysdeps/i386/fpu/s_cexp.S: Likewise.
34171 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34172 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34173 * sysdeps/i386/fpu/e_logf.S: Likewise.
34174 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34175 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34176 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34177 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34178 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34179 * sysdeps/i386/fpu/e_log10.S: Likewise.
34180 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34181 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34182 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34183 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34184 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34185 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34186 * sysdeps/i386/asm-syntax.h: Likewise.
34187 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34188 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34189 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34190 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34191 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34192 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34193 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34194 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34195 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34196 * sysdeps/powerpc/sysdep.h: Likewise.
34197 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34198 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34199
d4a54ac6
JM
342002012-02-06 Joseph Myers <joseph@codesourcery.com>
34201
34202 [BZ #411]
34203 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34204
314054ea
JM
342052012-02-06 Joseph Myers <joseph@codesourcery.com>
34206
34207 * sysdeps/i386/sysdep.h: Include <features.h>.
34208 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34209 version.
34210
d8e0ca50
JM
342112012-02-05 Joseph Myers <joseph@codesourcery.com>
34212
34213 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34214 Define.
34215 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34216 LOAD_PIC_REG_STR.
34217
b1da7dd9
JM
342182012-02-03 Joseph Myers <joseph@codesourcery.com>
34219
34220 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34221 (SETUP_PIC_REG): Use GET_PC_THUNK.
34222 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34223 macro.
34224
9a1d9254
JM
342252012-02-03 Joseph Myers <joseph@codesourcery.com>
34226
34227 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34228 for non-PIC compilation.
34229 (SETUP_PIC_REG): Add .p2align directive.
34230 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34231 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34232 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34233 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34234 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34235 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34236 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34237 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34238 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34239 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34240 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34241 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34242 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34243 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34244 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34245 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34246 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34247 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34248 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34249 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34250 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34251 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34252 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34253 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34254 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34255 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34256 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34257 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34258 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34259 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34260 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34261 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34262 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34263 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34264 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34265 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34266 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34267 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34268 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34269 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34270 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34271
65dc3b75
JM
342722012-02-03 Joseph Myers <joseph@codesourcery.com>
34273
34274 * math/tst-CMPLX.c: Include <stdio.h>.
34275
d55bf177
JM
342762012-01-31 Joseph Myers <joseph@codesourcery.com>
34277
34278 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
34279 float.
34280 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34281 * sysdeps/sparc/bits/mathdef.h: Likewise.
34282
69db4f8f
MP
342832012-01-31 Marek Polacek <polacek@redhat.com>
34284
34285 * libio/libio.h: Don't define _PARAMS.
34286 * locale/programs/config.h: Don't define PARAMS.
34287 * stdlib/strtol_l.c: Likewise.
34288 (__strtol_l): Remove PARAMS from the prototype.
34289
41b81892
UD
342902012-01-31 Ulrich Drepper <drepper@gmail.com>
34291
3b49edc0
UD
34292 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
34293 names. Just use the correct names. Remove unnecessary wrapper
34294 functions.
34295 * malloc/arena.c: Likewise.
34296 * malloc/hooks.c: Likewise.
34297
41b81892
UD
34298 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
34299 ARENA_TEST says not to. Simplify test for creation of a new arena.
34300 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
34301
27a25b6e
UD
343022012-01-30 Ulrich Drepper <drepper@gmail.com>
34303
34304 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
34305 into tail calls.
34306 (update_get_addr): New function.
34307 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
34308 GET_ADDR_MODULE parameter.
34309
c8a89e7d
JM
343102012-01-30 Joseph Myers <joseph@codesourcery.com>
34311
34312 * crypt/cert.c: Remove __STDC__ conditionals.
34313 * crypt/crypt-entry.c: Likewise.
34314 * crypt/crypt_util.c: Likewise.
34315 * libio/filedoalloc.c: Likewise.
34316 * libio/fileops.c: Likewise.
34317 * libio/genops.c: Likewise.
34318 * libio/iofclose.c: Likewise.
34319 * libio/iofdopen.c: Likewise.
34320 * libio/iofopen.c: Likewise.
34321 * libio/iofopen64.c: Likewise.
34322 * libio/iogetdelim.c: Likewise.
34323 * libio/iopopen.c: Likewise.
34324 * libio/obprintf.c: Likewise.
34325 * libio/oldfileops.c: Likewise.
34326 * libio/oldiofclose.c: Likewise.
34327 * libio/oldiofdopen.c: Likewise.
34328 * libio/oldiofopen.c: Likewise.
34329 * libio/oldiopopen.c: Likewise.
34330 * libio/wfiledoalloc.c: Likewise.
34331 * libio/wgenops.c: Likewise.
34332 * locale/programs/xmalloc.c: Likewise.
34333 * misc/syslog.c: Likewise.
34334 * stdio-common/xbug.c: Likewise.
34335 * string/memchr.c: Likewise.
34336 * string/memcmp.c: Likewise.
34337 * string/memrchr.c: Likewise.
34338 * string/rawmemchr.c: Likewise.
34339 * sysdeps/posix/getcwd.c: Likewise.
34340 * time/strftime_l.c: Likewise.
34341
3b100462
JM
343422012-01-30 Joseph Myers <joseph@codesourcery.com>
34343
34344 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
34345 * config.make.in (config-cflags-sse2avx): Define.
34346 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
34347 Fix typo.
34348
607998af
CM
343492012-01-29 Chris Metcalf <cmetcalf@tilera.com>
34350
34351 * scripts/config.guess: Update from upstream config git repository.
34352 * scripts/config.sub: Likewise.
34353
3601428f
CM
343542012-01-28 Chris Metcalf <cmetcalf@tilera.com>
34355
3ac8b282
CM
34356 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
34357 (EM_NUM): Update.
34358 (R_TILEPRO_*, R_TILEGX_*): New macros.
34359
e034841e
CM
34360 * scripts/firstversions.awk: Fix bug in version range handling.
34361
540d7568
CM
34362 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
34363
3601428f
CM
34364 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
34365
463de862
CM
34366 * include/sys/epoll.h: New file.
34367 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
34368 libc_hidden_def.
34369
73139a76
UD
343702012-01-28 Ulrich Drepper <drepper@gmail.com>
34371
96bc5b45
UD
34372 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
34373 Avoid unnecessary __WORDSIZE == 64 test.
34374 (fmaxf): Use VEX format if possible.
34375 (fmax): Likewise.
34376 (fminf): Likewise.
34377 (fmin): Likewise.
34378
56f6f6a2
UD
34379 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
34380 * math/math_private.h: Remove libc_fegetround* and
34381 libc_fesetround*.
34382 * sysdeps/i386/configure.in: Check for -msse2avx.
34383 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
34384 also if SSE2AVX is defined.
34385 Remove libc_fegetround* and libc_fesetround*.
34386 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
34387 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
34388 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
34389 of HAS_YMM_USABLE.
34390 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34391 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34392 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34393 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34394 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34395
73139a76
UD
34396 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
34397
d73f93a4
AZ
343982012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34399
34400 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
34401 size is not set.
34402 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34403
6ee65ed6
UD
344042012-01-27 Ulrich Drepper <drepper@gmail.com>
34405
34406 [BZ #13618]
34407 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
34408 relocation.
34409 * Makeconfig (libm): Define.
34410 * elf/Makefile: Add rules to build and run tst-relsort1.
34411 * elf/tst-relsort1.c: New file.
34412 * elf/tst-relsort1mod1.c: New file.
34413 * elf/tst-relsort1mod2.c: New file.
34414
8db21882
JM
344152012-01-27 Joseph Myers <joseph@codesourcery.com>
34416
34417 * math/s_ldexp.c: Remove __STDC__ conditionals.
34418 * math/s_ldexpf.c: Likewise.
34419 * math/s_ldexpl.c: Likewise.
34420 * math/s_nextafter.c: Likewise.
34421 * math/s_nexttowardf.c: Likewise.
34422 * math/s_significand.c: Likewise.
34423 * math/s_significandf.c: Likewise.
34424 * math/s_significandl.c: Likewise.
34425 * math/w_jnl.c: Likewise.
34426 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34427 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34428 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34429 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34430 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34431 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34432 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
34433 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34434 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34435 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34436 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34437 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34438 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34439 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34440 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34441 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34442 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34443 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34444 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34445 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34446 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34447 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34448 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34449 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34450 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34451 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34452 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34453 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34454 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34455 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34456 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34457 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34458 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34459 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34460 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34461 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34462 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34463 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34464 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34465 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34466 * sysdeps/ieee754/k_standard.c: Likewise.
34467 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34468 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34469 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34470 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34471 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34472 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34473 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34474 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34475 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34476 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34477 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34478 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34479 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34480 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34481 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34482 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34483 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34484 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34485 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34486 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34487 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34488 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34489 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34490 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34491 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34492 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34493 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34494 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34495 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34496 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34497 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34498 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
34499 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34500 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34501 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34502 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34503 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
34504 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34505 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34506 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
34507 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
34508 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34509 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
34510 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
34511 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34512 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
34513 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34514 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34515 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34516 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
34517 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
34518 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34519 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34520 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34521 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34522 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34523 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
34524 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34525 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34526 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34527 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34528 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34529 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34530 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34531 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34532 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34533 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34534 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34535 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34536 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34537 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34538 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34539 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34540 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34541 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34542 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34543 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34544 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34545 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34546 * sysdeps/ieee754/s_matherr.c: Likewise.
34547 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34548 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34549 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34550 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34551
965a54a4
JM
345522012-01-26 Joseph Myers <joseph@codesourcery.com>
34553
34554 * crypt/md5.h: Remove __STDC__ conditionals.
34555 * libio/libioP.h: Likewise.
34556 * locale/programs/config.h: Likewise.
34557 * sysdeps/generic/sysdep.h: Likewise.
34558 * sysdeps/i386/asm-syntax.h: Likewise.
34559 * sysdeps/s390/asm-syntax.h: Likewise.
34560 * sysdeps/unix/sysdep.h: Likewise.
34561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
34562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34563
7071ad79
JM
345642012-01-26 Joseph Myers <joseph@codesourcery.com>
34565
34566 * libio/libio.h: Remove __STDC__ conditionals.
34567 * malloc/obstack.h: Likewise.
34568 * math/complex.h: Likewise.
34569 * math/math.h: Likewise.
34570 * sysdeps/generic/_G_config.h: Likewise.
34571 * sysdeps/gnu/_G_config.h: Likewise.
34572 * sysdeps/mach/hurd/_G_config.h: Likewise.
34573 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34574 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34575 * sysdeps/sparc/bits/mathdef.h: Likewise.
34576
afc5ed09
UD
345772012-01-26 Ulrich Drepper <drepper@gmail.com>
34578
34579 [BZ #13583]
34580 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 34581 Clean up HAS_* macros.
afc5ed09 34582 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
34583 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
34584 possible.
34585 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
34586 HAS_AVX.
34587 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34588 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34589 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34590 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34591 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 34592
bdb6de1d
JM
345932012-01-25 Joseph Myers <joseph@codesourcery.com>
34594
34595 * elf/tst-unique3.cc (gets): Remove declaration.
34596 * elf/tst-unique3lib.cc (gets): Likewise.
34597 * elf/tst-unique3lib2.cc (gets): Likewise.
34598 * elf/tst-unique4.cc (gets): Likewise.
34599
b15549e6
UD
346002012-01-24 Ulrich Drepper <drepper@gmail.com>
34601
34602 * include/stdio.h: Add C++ protection. Add gets declarations and
34603 definitions.
34604 * debug/tst-chk1.c: Don't declare gets here.
34605 * stdio-common/tst-gets.c: Likewise.
34606
a037381f
JM
346072012-01-24 Joseph Myers <joseph@codesourcery.com>
34608
34609 * posix/glob: Remove directory.
34610
f1d4aa75
JM
346112012-01-24 Joseph Myers <joseph@codesourcery.com>
34612
34613 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
34614
81c0c964
PT
346152012-01-22 Pino Toscano <toscano.pino@tiscali.it>
34616
34617 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
34618 of the non-standard EPFNOSUPPORT.
34619
0ea698ae
ST
346202011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
34621
34622 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
34623 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
34624 ANYWHERE set to 1 only on KERN_NO_SPACE error.
34625
d220b117
UD
346262012-01-21 Ulrich Drepper <drepper@gmail.com>
34627
34628 * wcsmbs/uchar.h: Test __STDC_VERSION__.
34629
3e1aa84e
UD
346302012-01-20 Ulrich Drepper <drepper@gmail.com>
34631
34632 * nscd/aicache.c (addhstaiX): Do not cache negative results of
34633 transient errors.
34634 * nscd/grpcache.c (cache_addgr): Likewise.
34635 * nscd/hstcache.c (cache_addhst): Likewise.
34636 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34637 * nscd/pwdcache.c (cache_addpw): Likewise.
34638 * nscd/servicescache.c (cache_addserv): Likewise.
34639
400aa020
UD
346402012-01-16 Ulrich Drepper <drepper@gmail.com>
34641
d77e7869
UD
34642 * malloc/malloc.c: Various cleanups.
34643 * malloc/hooks.c: Likewise.
34644
400aa020
UD
34645 * stdlib/Makefile (tests): Add bug-fmtmsg1.
34646 * stdlib/bug-fmtmsg1.c: New file.
34647
34648 * stdlib/fmtmsg.c (init): Add missing unlock.
34649 Patch by Peng Haitao <penght@cn.fujitsu.com>.
34650
e0a309cf
MP
346512012-01-12 Marek Polacek <polacek@redhat.com>
34652
34653 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
34654 and _GNU_SOURCE.
34655
929d11c7
WS
346562012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34657
34658 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
34659 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
34660 macro to ensure uniqueness of label name.
34661 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
34662 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
34663
41d0e869
UD
346642012-01-11 Ulrich Drepper <drepper@gmail.com>
34665
0cc5ed3b
UD
34666 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
34667
41d0e869
UD
34668 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
34669 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34670 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34671 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
34672
a47a831a
UD
346732012-01-10 Ulrich Drepper <drepper@gmail.com>
34674
daa891c0
UD
34675 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
34676
34677 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
34678 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34679 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34680
e58ef0f2
UD
34681 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
34682
a47a831a 34683 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
34684 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34685 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 34686 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
34687
34688 * math/bits/math-finite.h: Add ldexp support.
34689
a0bfc9c7
MP
346902012-01-10 Marek Polacek <polacek@redhat.com>
34691
34692 * locale/programs/localedef.h (show_archive_content): Add noreturn
34693 attribute.
34694
d6e97a1d
UD
346952012-01-09 Ulrich Drepper <drepper@gmail.com>
34696
34697 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
34698
d5835c26
UD
346992012-01-08 Ulrich Drepper <drepper@gmail.com>
34700
e5f484c6
UD
34701 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
34702
d5835c26
UD
34703 * io/Makefile (headers): Add bits/poll2.h.
34704
d1f741e9
WS
347052011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
34706
34707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
34708 typo #include statement.
34709
ec09c1c4
UD
347102012-01-08 Ulrich Drepper <drepper@gmail.com>
34711
34712 * include/sys/cdefs.h: Define __attribute_alloc_size.
34713 * catgets/gencat.c: Add alloc_size attribute and apply consistently
34714 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
34715 * elf/pldd.c: Likewise.
34716 * iconv/iconv_charmap.c: Likewise.
34717 * iconv/iconvconfig.c: Likewise.
34718 * iconv/strtab.c: Likewise.
34719 * locale/programs/locale.c: Likewise.
34720 * locale/programs/localedef.h: Likewise.
34721 * locale/programs/simple-hash.c: Likewise.
34722 * nscd/nscd.h: Likewise.
34723 * nss/makedb.c: Likewise.
34724 * sysdeps/generic/ldconfig.h: Likewise.
34725 * locale/programs/localedef.c: Remove xmalloc prototype.
34726 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
34727
20b38e03
PP
347282012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34729
34730 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
34731 appropriate.
34732
a0da5fe1
UD
347332012-01-08 Ulrich Drepper <drepper@gmail.com>
34734
1d5a644a 34735 * math/Makefile (tests): Add tst-CMPLX.
669704fd 34736 * math/tst-CMPLX.c: New file.
1d5a644a 34737
8784a6db
UD
34738 * math/complex.h (CMPLXL): Fix typo.
34739
d9a216c0
UD
34740 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
34741 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
34742 GLIBC_2.16.
34743 * debug/tst-chk1.c: Add poll and ppoll tests.
34744 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
34745 * include/sys/poll.h: Add hidden proto for ppoll.
34746 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
34747 * sysdeps/mach/hurd/ppoll.c: Likewise.
34748 * io/ppoll.c: Likewise.
34749 * debug/poll_chk.c: New file.
34750 * debug/ppoll_chk.c: New file.
34751 * include/bits/poll2.h: New file.
34752 * io/bits/poll2.h: New file.
34753
ac097f5c
UD
34754 [BZ #1350]
34755 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
34756
2119dcfa
UD
34757 * configure.in: static is always set to yes. Remove.
34758 * config.make.in: Don't set build-static.
34759 * Makeconfig: Remove use of build-static.
34760 * dlfcn/Makefile: Likewise.
34761 * elf/Makefile: Likewise.
34762 * math/Makefile: Likewise.
34763 * misc/Makefile: Likewise.
34764 * nptl/Makefile: Likewise.
34765 * sysdeps/mach/hurd/Makefile: Likewise.
34766
121766a9
UD
34767 * configure.in: PWD_P is not used anymore.
34768 * config.make.in: Remove PWD_P entry.
34769
51a1d39c 34770 * configure.in: Remove last remnants of RANLIB.
8720d066 34771 No need to check for signed size_t anymore.
215f4bdc
UD
34772 Don't set libc_commonpagesize and libc_relro_required here for Alpha
34773 and IA-64.
3857022a 34774 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
34775 * aclocal.m4: Likewise.
34776
d3ed7225
UD
34777 * wcsmbs/mbrtoc16.c: Implement using towc function.
34778 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
34779 * wcsmbs/wcsmbsload.c: Likewise.
34780 * iconv/gconv_simple.c: Likewise.
34781 * iconv/gconv_int.h: Likewise.
34782 * iconv/gconv_builtin.h: Likewise.
34783 * iconv/iconv_prog.c: Remove CHAR16 handling.
34784
34785 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
34786
34787 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
34788
a0da5fe1
UD
34789 * configure.in: Remove --with-elf and --enable-bounded options.
34790 Dont set base_machine for ia64. More non-ELF conditions removed.
34791 Remove testing and setting of leading underscore information.
34792 * config.make.in (build-bounded): Set to no.
34793 * config.h.in: Remove NO_UNDERSCORES entry.
34794 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
34795 them.
34796 * csu/start.c: Remove !NO_UNDERSCORE code.
34797 * locale/localeinfo.h: Likewise.
34798 * sysdeps/generic/machine-gmon.h: Likewise.
34799 * sysdeps/generic/sysdep.h: Likewise.
34800 * sysdeps/i386/sysdep.h: Likewise.
34801 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
34802 * sysdeps/mach/sysdep.h: Likewise.
34803 * sysdeps/s390/s390-32/sysdep.h: Likewise.
34804 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34805 * sysdeps/sh/sysdep.h: Likewise.
34806 * sysdeps/sparc/sparc32/alloca.S: Likewise.
34807 * sysdeps/unix/i386/sysdep.S: Likewise.
34808 * sysdeps/unix/sparc/start.c: Likewise.
34809 * sysdeps/unix/sparc/sysdep.S: Likewise.
34810 * sysdeps/unix/sparc/sysdep.h: Likewise.
34811 * sysdeps/unix/start.c: Likewise.
34812 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34813 * sysdeps/x86_64/sysdep.h: Likewise.
34814
df78418a
UD
348152012-01-07 Ulrich Drepper <drepper@gmail.com>
34816
a784e502
UD
34817 [BZ #13553]
34818 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
34819 for non-gcc.
34820 * argp/argp-fmtstream.h: Use const instead __const.
34821 * argp/argp.h: Likewise.
34822 * assert/assert.h: Likewise.
34823 * bits/fenv.h: Likewise.
34824 * bits/sched.h: Likewise.
34825 * bits/sigset.h: Likewise.
34826 * bits/sigthread.h: Likewise.
34827 * catgets/nl_types.h: Likewise.
34828 * conform/data/pthread.h-data: Likewise.
34829 * crypt/crypt-private.h: Likewise.
34830 * crypt/crypt.h: Likewise.
34831 * crypt/crypt_util.c: Likewise.
34832 * ctype/ctype.h: Likewise.
34833 * debug/execinfo.h: Likewise.
34834 * debug/mbsnrtowcs_chk.c: Likewise.
34835 * debug/mbsrtowcs_chk.c: Likewise.
34836 * debug/wcsnrtombs_chk.c: Likewise.
34837 * debug/wcsrtombs_chk.c: Likewise.
34838 * debug/wcstombs_chk.c: Likewise.
34839 * dirent/dirent.h: Likewise.
34840 * dlfcn/dlfcn.h: Likewise.
34841 * elf/neededtest4.c: Likewise.
34842 * grp/grp.h: Likewise.
34843 * gshadow/gshadow.h: Likewise.
34844 * iconv/gconv.h: Likewise.
34845 * iconv/gconv_int.h: Likewise.
34846 * iconv/gconv_simple.c: Likewise.
34847 * iconv/iconv.h: Likewise.
34848 * iconv/loop.c: Likewise.
34849 * iconv/skeleton.c: Likewise.
34850 * include/aio.h: Likewise.
34851 * include/aliases.h: Likewise.
34852 * include/argz.h: Likewise.
34853 * include/arpa/inet.h: Likewise.
34854 * include/assert.h: Likewise.
34855 * include/dirent.h: Likewise.
34856 * include/dlfcn.h: Likewise.
34857 * include/execinfo.h: Likewise.
34858 * include/fcntl.h: Likewise.
34859 * include/fenv.h: Likewise.
34860 * include/glob.h: Likewise.
34861 * include/grp.h: Likewise.
34862 * include/libintl.h: Likewise.
34863 * include/mntent.h: Likewise.
34864 * include/netdb.h: Likewise.
34865 * include/pwd.h: Likewise.
34866 * include/rpc/netdb.h: Likewise.
34867 * include/sched.h: Likewise.
34868 * include/search.h: Likewise.
34869 * include/shadow.h: Likewise.
34870 * include/signal.h: Likewise.
34871 * include/stdio.h: Likewise.
34872 * include/stdlib.h: Likewise.
34873 * include/string.h: Likewise.
34874 * include/sys/socket.h: Likewise.
34875 * include/sys/stat.h: Likewise.
34876 * include/sys/statfs.h: Likewise.
34877 * include/sys/statvfs.h: Likewise.
34878 * include/sys/syslog.h: Likewise.
34879 * include/sys/time.h: Likewise.
34880 * include/sys/uio.h: Likewise.
34881 * include/time.h: Likewise.
34882 * include/unistd.h: Likewise.
34883 * include/utmp.h: Likewise.
34884 * include/wchar.h: Likewise.
34885 * include/wctype.h: Likewise.
34886 * inet/aliases.h: Likewise.
34887 * inet/arpa/inet.h: Likewise.
34888 * inet/netinet/ether.h: Likewise.
34889 * inet/netinet/in.h: Likewise.
34890 * intl/libintl.h: Likewise.
34891 * io/bits/fcntl2.h: Likewise.
34892 * io/fcntl.h: Likewise.
34893 * io/ftw.h: Likewise.
34894 * io/sys/poll.h: Likewise.
34895 * io/sys/stat.h: Likewise.
34896 * io/sys/statfs.h: Likewise.
34897 * io/sys/statvfs.h: Likewise.
34898 * io/utime.h: Likewise.
34899 * libio/bits/stdio.h: Likewise.
34900 * libio/bits/stdio2.h: Likewise.
34901 * libio/libio.h: Likewise.
34902 * libio/libioP.h: Likewise.
34903 * libio/stdio.h: Likewise.
34904 * locale/lc-ctype.c: Likewise.
34905 * locale/locale.h: Likewise.
34906 * login/utmp.h: Likewise.
34907 * malloc/arena.c: Likewise.
34908 * malloc/malloc.c: Likewise.
34909 * malloc/malloc.h: Likewise.
34910 * malloc/mcheck.c: Likewise.
34911 * malloc/mtrace.c: Likewise.
34912 * math/bits/mathcalls.h: Likewise.
34913 * math/fenv.h: Likewise.
34914 * math/math_private.h: Likewise.
34915 * misc/bits/error.h: Likewise.
34916 * misc/bits/syslog.h: Likewise.
34917 * misc/err.h: Likewise.
34918 * misc/error.h: Likewise.
34919 * misc/fstab.h: Likewise.
34920 * misc/mntent.h: Likewise.
34921 * misc/regexp.h: Likewise.
34922 * misc/search.h: Likewise.
34923 * misc/sgtty.h: Likewise.
34924 * misc/sys/mman.h: Likewise.
34925 * misc/sys/syslog.h: Likewise.
34926 * misc/sys/uio.h: Likewise.
34927 * misc/sys/xattr.h: Likewise.
34928 * misc/ttyent.h: Likewise.
34929 * nis/rpcsvc/ypclnt.h: Likewise.
34930 * nss/nss.h: Likewise.
34931 * posix/bits/unistd.h: Likewise.
34932 * posix/fnmatch.h: Likewise.
34933 * posix/glob.h: Likewise.
34934 * posix/sched.h: Likewise.
34935 * posix/spawn.h: Likewise.
34936 * posix/sys/wait.h: Likewise.
34937 * posix/unistd.h: Likewise.
34938 * posix/wordexp.h: Likewise.
34939 * pwd/pwd.h: Likewise.
34940 * resolv/netdb.h: Likewise.
34941 * resource/sys/resource.h: Likewise.
34942 * rt/aio.h: Likewise.
34943 * rt/bits/mqueue2.h: Likewise.
34944 * rt/mqueue.h: Likewise.
34945 * shadow/shadow.h: Likewise.
34946 * signal/signal.h: Likewise.
34947 * socket/send.c: Likewise.
34948 * socket/sendto.c: Likewise.
34949 * socket/sys/socket.h: Likewise.
34950 * stdio-common/printf.h: Likewise.
34951 * stdlib/bits/stdlib.h: Likewise.
34952 * stdlib/fmtmsg.h: Likewise.
34953 * stdlib/monetary.h: Likewise.
34954 * stdlib/stdlib.h: Likewise.
34955 * stdlib/ucontext.h: Likewise.
34956 * streams/stropts.h: Likewise.
34957 * string/argz.h: Likewise.
34958 * string/bits/string2.h: Likewise.
34959 * string/string.h: Likewise.
34960 * string/strings.h: Likewise.
34961 * sunrpc/rpc/auth.h: Likewise.
34962 * sunrpc/rpc/auth_des.h: Likewise.
34963 * sunrpc/rpc/clnt.h: Likewise.
34964 * sunrpc/rpc/netdb.h: Likewise.
34965 * sunrpc/rpc/pmap_clnt.h: Likewise.
34966 * sunrpc/rpc/xdr.h: Likewise.
34967 * sysdeps/generic/inttypes.h: Likewise.
34968 * sysdeps/generic/net/if.h: Likewise.
34969 * sysdeps/generic/sys/swap.h: Likewise.
34970 * sysdeps/gnu/net/if.h: Likewise.
34971 * sysdeps/gnu/utmpx.h: Likewise.
34972 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
34973 * sysdeps/i386/i486/bits/string.h: Likewise.
34974 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
34975 * sysdeps/s390/bits/string.h: Likewise.
34976 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
34977 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
34978 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
34979 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
34980 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
34981 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
34982 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
34983 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
34984 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
34985 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
34986 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
34987 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
34988 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
34989 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
34990 * sysdeps/unix/sysv/linux/readv.c: Likewise.
34991 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
34992 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
34993 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34994 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
34995 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
34996 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
34997 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
34998 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
34999 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35000 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35001 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35002 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35003 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35004 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35005 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35006 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35007 * sysvipc/sys/ipc.h: Likewise.
35008 * sysvipc/sys/msg.h: Likewise.
35009 * sysvipc/sys/sem.h: Likewise.
35010 * sysvipc/sys/shm.h: Likewise.
35011 * termios/termios.h: Likewise.
35012 * time/sys/time.h: Likewise.
35013 * time/time.h: Likewise.
35014 * wcsmbs/bits/wchar2.h: Likewise.
35015 * wcsmbs/uchar.h: Likewise.
35016 * wcsmbs/wchar.h: Likewise.
35017 * wctype/wctype.h: Likewise.
35018
0269750c
UD
35019 [BZ #13551]
35020 * Makeconfig: Remove all but ELF support including AIX support.
35021 * Makerules: Likewise.
35022 * config.h.in: Likewise.
35023 * config.make.in: Likewise.
35024 * configure: Likewise.
35025 * configure.in: Likewise.
35026 * csu/Makefile: Likewise.
35027 * csu/version.c: Likewise.
35028 * debug/Makefile: Likewise.
35029 * dlfcn/Makefile: Likewise.
35030 * elf/Makefile: Likewise.
35031 * extra-lib.mk: Likewise.
35032 * iconv/Makefile: Likewise.
35033 * include/libc-symbols.h: Likewise.
35034 * include/shlib-compat.h: Likewise.
35035 * resolv/Makefile: Likewise.
35036 * resolv/res_libc.c: Likewise.
35037 * rt/Makefile: Likewise.
35038 * sysdeps/i386/asm-syntax.h: Likewise.
35039 * sysdeps/i386/sysdep.h: Likewise.
35040 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35041 * sysdeps/mach/sysdep.h: Likewise.
35042 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35043 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35044 * sysdeps/s390/asm-syntax.h: Likewise.
35045 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35046 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35047 * sysdeps/sh/sysdep.h: Likewise.
35048 * sysdeps/unix/sparc/sysdep.h: Likewise.
35049 * sysdeps/wordsize-32/divdi3.c: Likewise.
35050 * sysdeps/x86_64/sysdep.h: Likewise.
35051
00bbd29b
UD
35052 * argp/Versions: Remove _argp_unlock_xxx.
35053
35054 [BZ #13559]
35055 * abilist/ld.abilist: Update. Adjust for removal of tls option.
35056 * abilist/libBrokenLocale.abilist: Likewise.
35057 * abilist/libanl.abilist: Likewise.
35058 * abilist/libc.abilist: Likewise.
35059 * abilist/libcrypt.abilist: Likewise.
35060 * abilist/libdl.abilist: Likewise.
35061 * abilist/libm.abilist: Likewise.
35062 * abilist/libnsl.abilist: Likewise.
35063 * abilist/libpthread.abilist: Likewise.
35064 * abilist/libresolv.abilist: Likewise.
35065 * abilist/librt.abilist: Likewise.
35066 * abilist/libthread_db.abilist: Likewise.
35067 * abilist/libutil.abilist: Likewise.
35068 * abilist/libnss_db.abilist: New file.
35069
35070 * scripts/abilist.awk: Add support for indirect functions.
35071
a2693a0e
UD
35072 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35073
3f05895f
UD
35074 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35075
ecb6fb48
UD
35076 * shlib-versions: Remove entries for ports architectures.
35077
664f8cb9
UD
35078 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
35079 files in ports.
35080 * elf/stackguard-macros.h: Remove support for IA-64.
35081 * elf/tst-auditmod1.c: Likewise.
35082 * sysdeps/generic/ldsodefs.h: Likewise.
35083
7ae81d88
UD
35084 * sysdeps/unix/sysv/linux/configure.in: Ports should define
35085 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35086 configure files.
35087
bdeba135
UD
35088 [BZ #13552]
35089 * configure.in: Remove --enable-omitfp support.
35090 * FAQ.in: Adjust.
35091 * config.make.in: Likewise.
35092 * Makeconfig: Likewise.
35093 * manual/install.texi: Likewise.
35094
d75a0a62
UD
35095 In case anyone cares, the IA-64 architecture could move to ports.
35096 * sysdeps/ia64/*: Removed.
35097 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 35098 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 35099
dcc9756b
UD
35100 [BZ #13555]
35101 * configure.in: Remove entries for unsupported architectures.
35102
d3761ebc 35103 [BZ #13533]
9954432e
UD
35104 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35105 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
35106 routines.
35107 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35108 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35109 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
35110 fall back to using wcrtomb.
35111 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35112 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
35113 renaming.
35114 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35115 * wcsmbs/tst-c16c32-1.c: New file.
35116
35117 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35118 local variable.
35119
c3a87236
UD
35120 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35121
28926a1b
UD
35122 * elf/tst-unique3.cc: Add explicit declaration of gets.
35123 * elf/tst-unique3lib.cc: Likewise.
35124 * elf/tst-unique3lib2.cc: Likewise.
35125 * elf/tst-unique4.cc: Likewise.
35126
df78418a
UD
35127 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35128
8ecd6b2a
JM
351292012-01-06 Joseph Myers <joseph@codesourcery.com>
35130
35131 [BZ #13566]
35132 * assert/assert.h (static_assert): Don't define for C++.
35133 * libio/stdio.h (gets): Do declare for C++ <= C++11.
35134 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35135
9f115170
UD
351362012-01-03 Ulrich Drepper <drepper@gmail.com>
35137
5e0d0300
UD
35138 * iconv/loop.c (single loop): Fix assertion in storing of
35139 remaining bytes.
35140
9f115170
UD
35141 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35142
81fb02b0
UD
351432012-01-01 Ulrich Drepper <drepper@gmail.com>
35144
35145 * posix/getconf.c: Update copyright year.
35146 * nss/getent.c: Likewise.
a316c1f6 35147 * nss/makedb.c: Likewise.
81fb02b0
UD
35148 * iconv/iconvconfig.c: Likewise.
35149 * iconv/iconv_prog.c: Likewise.
35150 * elf/ldconfig.c: Likewise.
a316c1f6
UD
35151 * elf/pldd.c: Likewise.
35152 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
35153 * catgets/gencat.c: Likewise.
35154 * csu/version.c: Likewise.
35155 * elf/ldd.bash.in: Likewise.
35156 * elf/sprof.c (print_version): Likewise.
35157 * locale/programs/locale.c: Likewise.
35158 * locale/programs/localedef.c: Likewise.
a316c1f6 35159 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
35160 * nscd/nscd.c (print_version): Likewise.
35161 * debug/xtrace.sh: Likewise.
35162 * malloc/memusage.sh: Likewise.
35163 * malloc/mtrace.pl: Likewise.
35164 * debug/catchsegv.sh: Likewise.
35165
2ba92745
JJ
351662011-12-30 Jakub Jelinek <jakub@redhat.com>
35167
35168 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35169 pure attribute.
35170
dadebdae
UD
351712011-12-24 Ulrich Drepper <drepper@gmail.com>
35172
d3761ebc 35173 [BZ #13533]
db6af3eb
UD
35174 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35175 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35176 transformations.
35177 * iconv/gconv_int.h: Likewise.
35178 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35179 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35180 from libc for GLIBC_2.16.
35181 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35182 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35183 * wcsmbs/uchar.h: Really define mbstate_t.
35184 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35185 * wcsmbs/c16rtomb.c: New file.
35186 * wcsmbs/mbrtoc16.c: New file.
35187 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35188 for C/POSIX locale.
35189 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35190 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35191
dadebdae
UD
35192 * wcsmbs/wchar.h: Add missing __restrict.
35193
67371b56
UD
351942011-12-23 Ulrich Drepper <drepper@gmail.com>
35195
74033a25
UD
35196 [BZ #13532]
35197 * time/Makefile (routines): Add timespec_get.
35198 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35199 * time/time.h: Define TIME_UTC and declare timespec_get. Define
35200 timespec for ISO C11.
35201 * time/timespec_get.c: New file.
35202 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35203 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35204
380d7e87
UD
35205 [BZ #13531]
35206 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35207 * stdlib/stdlib.h: Declare aligned_alloc.
35208 * Versions.def: Add GLIBC_2.16 for libc.
35209 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35210
4e9e7a35
UD
35211 [BZ 13527]
35212 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35213 ISO C11.
35214
380d7e87 35215 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
35216 code.
35217
03a71829
UD
35218 [BZ #13528]
35219 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35220
839e283e
UD
35221 [BZ #13529]
35222 * assert/assert.h (static_assert): Define.
35223
ce5294e2 35224 * version.h: Update for 2.16 development version.
90fa7312 35225
8d44e150 35226 [BZ #13526]
d7809905
UD
35227 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35228 _ISOC11_SOURCE.
35229
c0da14cd
UD
35230 * version.h (RELEASE): Bump for 2.15 release.
35231 * include/features.h (__GLIBC_MINOR__): Bump to 15.
35232
530a3249
MP
35233 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35234 Patch by Marek Polacek <mpolacek@redhat.com>.
35235
67371b56
UD
35236 * bits/byteswap.h: Protect long long constants with __extension__.
35237 * sysdeps/i386/bits/byteswap.h: Likewise.
35238 * sysdeps/ia64/bits/byteswap.h: Likewise.
35239 * sysdeps/s390/bits/byteswap.h: Likewise.
35240 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35241
15db4de1
LD
352422011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35243
35244 [BZ #13540]
bbe315ea
LD
35245 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35246 destination buffer.
15db4de1
LD
35247 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35248
2b2596b1
MP
352492011-12-23 Marek Polacek <polacek@redhat.com>
35250
35251 * elf/dl-addr.c (determine_info): Add inline keyword.
35252 * elf/tst-auditmod4b.c (check_avx): Likewise.
35253 * elf/tst-auditmod6b.c (check_avx): Likewise.
35254 * elf/tst-auditmod6c.c (check_avx): Likewise.
35255 * elf/tst-auditmod7b.c (check_avx): Likewise.
35256
70c6c246
UD
352572011-12-23 Ulrich Drepper <drepper@gmail.com>
35258
35259 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35260 !__SSE_MATH__.
35261
c044cf14
LD
352622011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35263
15db4de1 35264 [BZ #13540]
c044cf14
LD
35265 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
35266 processing for last bytes.
35267
6b13d9d9
BH
352682011-08-06 Bruno Haible <bruno@clisp.org>
35269
d455f537
BH
35270 [BZ #13061]
35271 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
35272 U+0385, not to U+1FEE.
35273
6b13d9d9
BH
35274 [BZ #13062]
35275 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
35276 entry for U+00A5 U+0301.
35277
db910efd
UD
352782011-12-22 Ulrich Drepper <drepper@gmail.com>
35279
27deeafc
UD
35280 [BZ #13166]
35281 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
35282 buffer for the output is too small.
35283
aed9d171
UD
35284 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
35285 optimization.
35286
db910efd
UD
35287 [BZ #13185]
35288 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
35289 SSE flags if possible.
35290
2bd779ae
LD
352912011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35292
e7f9dac3 35293 [BZ #13540]
2bd779ae
LD
35294 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
35295 processing for last bytes.
35296
154bfc16
JM
352972011-12-22 Joseph Myers <joseph@codesourcery.com>
35298
35299 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
35300 (syscall-list-default-options, syscall-list-default-condition)
35301 (syscall-list-includes): Define.
35302 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
35303 list of ABIs and options and #if conditions for each ABI. Do not
35304 handle common syscalls between ABIs specially.
35305 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
35306 Remove.
35307 (syscall-list-variants, syscall-list-32bit-options)
35308 (syscall-list-32bit-condition, syscall-list-64bit-options)
35309 (syscall-list-64bit-condition): Define.
35310 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
35311 (syscall-list-variants, syscall-list-32bit-options)
35312 (syscall-list-32bit-condition, syscall-list-64bit-options)
35313 (syscall-list-64bit-condition): Define.
35314 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
35315 Remove.
35316 (syscall-list-variants, syscall-list-32bit-options)
35317 (syscall-list-32bit-condition, syscall-list-64bit-options)
35318 (syscall-list-64bit-condition): Define.
35319 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
35320 Remove.
35321 (syscall-list-variants, syscall-list-32bit-options)
35322 (syscall-list-32bit-condition, syscall-list-64bit-options)
35323 (syscall-list-64bit-condition): Define.
35324
21eaf3a5
UD
353252011-12-22 Ulrich Drepper <drepper@gmail.com>
35326
16c6f992
UD
35327 * locale/iso-639.def: Add brx entry.
35328
41043168
UD
35329 [BZ #13328]
35330 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
35331 Proposed by Mariusz_Cukr <marcukr@op.pl>.
35332
21eaf3a5
UD
35333 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
35334 __feraiseexcept_renamed.
35335
e3a851a2
UD
353362011-12-21 Ulrich Drepper <drepper@gmail.com>
35337
4920765e
UD
35338 [BZ #13538]
35339 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
35340 EPOLLET with unsigned values.
35341 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35342 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35343
e3a851a2
UD
35344 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
35345 to large cancellation.
35346 * math/s_cacoshf.c: Likewise.
35347 * math/s_cacoshl.c: Likewise.
35348
b27e24b8
RK
353492011-11-18 Richard B. Kreckel <kreckel@ginac.de>
35350
35351 [BZ #13305]
aebefeee 35352 [BZ #12786]
b27e24b8
RK
35353 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
35354 * math/s_cacoshf.c: Likewise.
35355 * math/s_cacoshl.c: Likewise.
35356
ee190f67
UD
353572011-12-21 Ulrich Drepper <drepper@gmail.com>
35358
35359 [BZ #13439]
35360 * iconv/gconv.h: Define __GCONV_SWAP.
35361 * iconvdata/unicode.c: The swap bit must be stored in __flags.
35362 * iconvdata/utf-16.c: Likewise.
35363 * iconvdata/utf-32.c: Likewise.
35364
707f25df
AS
353652011-12-21 Andreas Schwab <schwab@linux-m68k.org>
35366
35367 [BZ #13524]
35368 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
35369 numerator after shifting it by one limb.
35370
d2daaa1e
RÁE
353712011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
35372
35373 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
35374 under [__USE_EXTERN_INLINES].
35375
a4647e72
UD
353762011-12-17 Ulrich Drepper <drepper@gmail.com>
35377
35378 [BZ #13446]
35379 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
35380
f0b264f1
AZ
353812011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35382
35383 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
35384 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
35385 optimized code.
35386 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
35387 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
35388 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
35389 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
35390 for strncasecmp/strncasecmp_l compilation.
35391 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
35392 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
35393
8ef4f244
MP
353942011-12-08 Marek Polacek <mpolacek@redhat.com>
35395
35396 [BZ #13484]
35397 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
35398 of __asm__.
35399
97ac2654
UD
354002011-12-17 Ulrich Drepper <drepper@gmail.com>
35401
35402 [BZ #13506]
35403 * time/tzfile.c (__tzfile_read): Check values from file header.
35404
91d2a845
WS
354052011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35406
35407 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
35408 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
35409 * powerpc/powerpc32/dl-start.S: Likewise.
35410 * powerpc/powerpc32/elf/start.S: Likewise.
35411 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35412 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
35413 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
35414 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
35415 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35416 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
35417 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
35418 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35419 * powerpc/powerpc32/fpu/s_round.S: Likewise.
35420 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35421 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35422 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35423 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
35424 * powerpc/powerpc32/memset.S: Likewise.
35425 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35426 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35427 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35428 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35429 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35430 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35431 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35432 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35433 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
35434 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
35435 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
35436 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35437 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35438
a1267ba1
AZ
354392011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35440
35441 * math/libm-test.inc: Added more nearbyint tests.
35442 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
35443 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
35444 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
35445 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
35446
ad8ac1bd
RL
354472011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
35448
35449 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
35450 FD_CLOEXEC.
35451
1d3e4b61
UD
354522011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35453
35454 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
35455 Add wcscpy-ssse3 wcscpy-c.
35456 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
35457 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
35458 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
35459 * sysdeps/x86_64/wcschr.S: New file.
35460 * sysdeps/x86_64/wcsrchr.S: New file.
35461 * string/test-strcmp.c: Remove checking of wcscmp function for
35462 wrong alignments.
35463 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
35464 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
35465 wcsrchr-sse2 wcsrchr-c.
35466 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
35467 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
35468 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
35469 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
35470 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
35471 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
35472 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
35473 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
35474 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
35475 * wcsmbc/wcschr.c (WCSCHR): New macro.
35476
5b330a2d
UD
354772011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35478
35479 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
35480 * wcsmbs/test-wcsrchr.c: New file.
35481 * string/test-strrchr.c: Add wcsrchr support.
35482 (WIDE): New macro.
35483 * wcsmbs/test-wcscpy.c: New file.
35484 * string/test-strcpy.c: Add wcscpy support.
35485 (WIDE): New macro.
26428b7c 35486
f039c043
UD
354872011-12-10 Ulrich Drepper <drepper@gmail.com>
35488
35489 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
35490 the inner loop.
35491
850fb039
AS
354922011-12-06 Andreas Schwab <schwab@linux-m68k.org>
35493
35494 [BZ #13472]
35495 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
35496
4efbd5cb
UD
354972011-12-04 Ulrich Drepper <drepper@gmail.com>
35498
52ff5dd0 35499 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 35500 Minor optimizations.
52ff5dd0 35501
4efbd5cb
UD
35502 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
35503 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
35504 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
35505
8a426e12
UD
355062011-12-03 Ulrich Drepper <drepper@gmail.com>
35507
aff2453d
UD
35508 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
35509 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
35510 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
35511 for gcc to avoid warnings.
35512 * inet/Makefile (tests): Add tst-checks.
35513 * inet/tst-checks.c: New file.
35514
35515 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
35516 warning.
35517
35518 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
35519 __wmemcmp_sse2.
35520
35521 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
35522 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
35523
8a426e12
UD
35524 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
35525
9bea3473
UD
355262011-12-02 Ulrich Drepper <drepper@gmail.com>
35527
3a965496
UD
35528 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
35529 problem.
35530
9bea3473
UD
35531 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
35532
f101631b
UD
355332011-11-29 Joseph Myers <joseph@codesourcery.com>
35534
35535 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
35536 conditional on GCC version.
35537 (__arch_compare_and_exchange_val_8_acq)
35538 (__arch_compare_and_exchange_val_16_acq)
35539 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
35540 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
35541 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
35542
a98275aa
UD
355432011-12-02 Joseph Myers <joseph@codesourcery.com>
35544
35545 * sysdeps/sh/backtrace.c: New file.
35546
d4cc29a2
AS
355472011-12-02 Andreas Schwab <schwab@redhat.com>
35548
35549 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
35550 parenthesis.
35551
6257af2d
AS
355522011-12-01 Andreas Schwab <schwab@redhat.com>
35553
35554 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
35555 falling back to utime.
35556
b5f44c1a
AS
355572011-11-30 Andreas Schwab <schwab@redhat.com>
35558
35559 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
35560 expectations for float.
35561
f3a6cc0a
AS
355622011-11-29 Andreas Schwab <schwab@redhat.com>
35563
35564 * locale/weight.h (findidx): Add parameter len.
35565 * locale/weightwc.h (findidx): Likewise.
35566 * posix/fnmatch_loop.c (FCT): Adjust caller.
35567 * posix/regcomp.c (build_equiv_class): Likewise.
35568 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
35569 * posix/regexec.c (check_node_accept_bytes): Likewise.
35570 * string/strcoll_l.c (STRCOLL): Likewise.
35571 * string/strxfrm_l.c (STRXFRM): Likewise.
35572
9d65ea3a
UD
355732011-11-17 Ulrich Drepper <drepper@gmail.com>
35574
35575 * Makefile.in: Remove CVSOPT handling.
35576 * configure.in: Remove use of AC_REVISION.
35577 * iconvdata/Makefile (distribute): No need to filter out CVS.
35578 * scripts/list-sources.sh: Remove CVS, subversion and monotone
35579 handling.
35580
5583a086
AS
355812011-11-16 Andreas Schwab <schwab@redhat.com>
35582
35583 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
35584 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
35585 [USE_AS_STRNCASECMP_L]: Likewise.
35586 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
35587 NO_TLS_DIRECT_SEG_REFS.
35588 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
35589 Fix argument offsets for non-PIC.
35590 [USE_AS_STRNCASECMP_L]: Likewise.
35591 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
35592 NO_TLS_DIRECT_SEG_REFS.
35593
d62a8200
UD
355942011-11-15 Ulrich Drepper <drepper@gmail.com>
35595
9d65ea3a 35596 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
35597 O_CLOEXEC.
35598 * locale/loadlocale.c (_nl_load_locale): Likewise.
35599
09f93bd3
AS
356002011-11-15 Andreas Schwab <schwab@redhat.com>
35601
446514f9
AS
35602 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
35603 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
35604 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
35605 (SYSCALL_GETTIME): Set errno on error.
35606
09f93bd3
AS
35607 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
35608 count references to noai6ai_cached.
35609
312be3f9
UD
356102011-11-15 Ulrich Drepper <drepper@gmail.com>
35611
35612 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
35613
35614 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
35615 FD_CLOEXEC for /proc/self/maps.
35616
35617 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
35618 FD_CLOEXEC for /proc/meminfo.
35619
35620 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
35621 gai.conf.
35622
35623 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
35624 FD_CLOEXEC for given file.
35625
35626 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
35627
35628 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
35629 FD_CLOEXEC for /etc/hosts.
35630 (_gethtent): Likewise.
35631
35632 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
35633
35634 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
35635 cancellation and set FD_CLOEXEC for /etc/netgroup.
35636
35637 * nss/nss_files/files-key.c (search): Don't allow cancellation when
35638 reading /etc/publickey.
35639
35640 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
35641 allow cancellation when reading /etc/group.
35642
35643 * nss/nss_files/files-alias.c (internal_setent): Don't allow
35644 cancellation.
35645 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
35646
35647 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
35648 when using data file.
35649
35650 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
35651
35652 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
35653 (write_nis_obj): Use "c" and "e" in fopen.
35654
35655 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
35656
35657 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
35658
35659 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
35660
35661 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
35662
35663 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
35664 locale.alias.
35665
35666 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
35667
35668 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
35669
35670 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
35671
35672 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
35673 file parsing and set FD_CLOEXEC.
35674
82af0fa8
UD
356752011-11-14 Ulrich Drepper <drepper@gmail.com>
35676
35677 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
35678
a5fb313c
AS
356792011-11-14 Andreas Schwab <schwab@redhat.com>
35680
35681 * malloc/arena.c (arena_get2): Don't call reused_arena when
35682 _int_new_arena failed.
35683
6abf3465
UD
356842011-11-14 Ulrich Drepper <drepper@gmail.com>
35685
35686 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
35687 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
35688 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
35689 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35690 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35691 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
35692 to compile strcasecmp and strncasecmp.
35693 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
35694 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
35695
35696 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
35697
76e3966e
UD
356982011-11-13 Ulrich Drepper <drepper@gmail.com>
35699
35700 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
35701 locale-defines.sym to gen-as-const-headers.
35702 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
35703 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
35704 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
35705 to compile strcasecmp and strncasecmp.
35706 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
35707 strcasecmp_l and strncasecmp_l.
35708 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
35709 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
35710 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
35711 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
35712 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
35713 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
35714 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
35715 * sysdeps/i386/i686/multiarch/strncase.S: New file.
35716 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
35717 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
35718 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
35719
ab26144e
UD
357202011-11-12 Ulrich Drepper <drepper@gmail.com>
35721
7edb22ef
UD
35722 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
35723 result of SYSDEP_GETTIME_CPU to retval.
35724 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
35725 parameter list to macro. Remove trailing semicolon. Adjust users.
35726
9694fc44
UD
35727 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
35728 variable.
35729
8ad89ef8
UD
35730 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
35731 mantissa words.
35732 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35733
0c822ef9
UD
35734 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
35735 from unused variable.
35736
874e0564
UD
35737 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
35738 DWARF definitions.
35739 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
35740 for assembling.
35741
3a2edc79
UD
35742 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
35743 over namespaces.
35744
f3c2577f
UD
35745 * sunrpc/rpc_prot.c (rejected): Fix case value.
35746
294ce126
UD
35747 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
35748 unsigned long long int to avoid warnings in shift.
35749
5e2b63c6
UD
35750 * posix/regex_internal.c (re_string_reconstruct): Actually use result
35751 of use of trans.
35752 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
35753 variable tmp.
35754
e7f4b08e
UD
35755 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
35756 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
35757 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
35758
ab26144e
UD
35759 * nis/nis_table.c (nis_list): Use variable of correct type for
35760 result of __follow_path call.
35761
8a6d5255
AZ
357622011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35763
35764 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
35765 of math functions ceil, trunc, floor, round, and sqrt, when
35766 avaliable on the platform.
35767 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
35768 name clash.
35769 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35770 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35771 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35772
aaddc98c
MP
357732011-10-30 Marek Polacek <mpolacek@redhat.com>
35774
35775 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
35776 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35777
95b7042b
RM
357782011-11-11 Roland McGrath <roland@hack.frob.com>
35779
35780 * include/unistd.h: Fix __readlink return type.
35781 Reported by Chris Metcalf <cmetcalf@tilera.com>.
35782
57769839
UD
357832011-11-11 Ulrich Drepper <drepper@gmail.com>
35784
35785 * stdlib/ucontext.h: Undo last change for makecontext.
35786
edc5984d
AS
357872011-11-11 Andreas Schwab <schwab@redhat.com>
35788
98591e58
AS
35789 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
35790
edc5984d
AS
35791 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
35792 * setjmp/setjmp.h: Mark functions as non-leaf.
35793 * setjmp/bits/setjmp2.h: Likewise.
35794 * stdlib/ucontext.h: Likewise.
35795
77cdc054
AS
357962011-11-10 Andreas Schwab <schwab@redhat.com>
35797
35798 * malloc/arena.c (_int_new_arena): Don't increment narenas.
35799 (reused_arena): Don't check arena limit.
35800 (arena_get2): Atomically check arena limit.
35801
fe72eebd
UD
358022011-11-08 Ulrich Drepper <drepper@gmail.com>
35803
5f078c32
UD
35804 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
35805 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
35806
fe72eebd
UD
35807 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
35808 instructions.
35809
ae1bc2fa
AS
358102011-11-07 Andreas Schwab <schwab@redhat.com>
35811
7583a88d
AS
35812 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
35813 handler when locking.
35814
ae1bc2fa
AS
35815 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35816 Fix size of allocated buffer.
35817
10fb0bfa
AS
358182011-11-04 Andreas Schwab <schwab@redhat.com>
35819
998832a4
AS
35820 [BZ #10103]
35821 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
35822 declarations for long double functions.
35823 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
35824
10fb0bfa
AS
35825 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
35826
3d7ba52b
AS
358272011-11-03 Andreas Schwab <schwab@redhat.com>
35828
a9ae54a1
AS
35829 * nscd/nscd.c (main): Don't start AVC thread until credentials are
35830 installed.
35831
3d7ba52b
AS
35832 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
35833 is disabled.
35834
bc8db248
ST
358352011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
35836
35837 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
35838
45b96dd6
AS
358392011-11-01 Andreas Schwab <schwab@linux-m68k.org>
35840
647776f6
AS
35841 * include/alloca.h (stackinfo_alloca_round): Define.
35842 (extend_alloca): Use it.
35843 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
35844 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
35845 here.
35846
d91a8b93
AS
35847 * scripts/check-local-headers.sh: Ignore libaudit.h.
35848
45b96dd6
AS
35849 * nscd/Makefile (extra-objs): Make recursively expanded.
35850
432d41ce
UD
358512011-11-01 Ulrich Drepper <drepper@gmail.com>
35852
34372fc6
UD
35853 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
35854 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
35855
fadb59f8
UD
35856 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
35857 * posix/tst-rfc3484-2.c: Likewise.
35858 * posix/tst-rfc3484-3.c: Likewise.
35859
78239589
UD
35860 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35861 process_vm_writev.
35862 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
35863 process_vm_writev.
35864 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
35865 process_vm_writev from libc using GLIBC_2.15 version.
35866
432d41ce
UD
35867 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
35868
02f9c6cf
PP
358692011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
35870
35871 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
35872 stack usage.
35873
3a2c0242
UD
358742011-10-31 Ulrich Drepper <drepper@gmail.com>
35875
f4ec4833
UD
35876 [BZ #13367]
35877 * nss/getent.c (initgroups_keys): Show error message in case no group
35878 names are given.
35879
3a2c0242
UD
35880 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
35881 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
35882 __bump_nl_timestamp.
35883 * nscd/connections (nscd_init): When host database is served open
35884 netlink socket and request notification about configuration changes.
35885 (main_loop_poll): Track netlink file descriptor and bump timestamp
35886 in case data becomes available.
35887 (main_loop_epoll): Likewise.
35888 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
35889 (database_pers_head): Add extra_data fileds.
35890 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
35891 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
35892 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
35893 Adjust caller.
35894 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
35895 in6ai data, call __free_in6ai.
35896 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
35897 Add -DHAVE_NETLINK.
35898 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
35899 interface information. Reuse previous data if netlink timestamp
35900 is not changed.
35901 (__bump_nl_timestamp): New function.
35902 (__free_in6ai): New function.
35903
636064eb
UD
359042011-10-30 Ulrich Drepper <drepper@gmail.com>
35905
35906 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
35907 close_not_cancel_no_status here.
35908 (__check_pf): Reorganize code a bit to not call close twice if OOM.
35909
9beb2334
UD
359102011-10-29 Ulrich Drepper <drepper@gmail.com>
35911
6ef76f3b
UD
35912 [BZ #13276]
35913 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
35914 return value.
35915
0ffc4f3e 35916 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
35917 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
35918 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
35919
cb95113e
UD
359202011-07-03 Andreas Jaeger <aj@suse.de>
35921
35922 [BZ #10709]
35923 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
35924 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
35925 * math/libm-test.inc (sin_test): Add test case.
35926
a1b560ff
UD
359272011-10-29 Ulrich Drepper <drepper@gmail.com>
35928
c9aaface
UD
35929 [BZ #13337]
35930 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
35931 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
35932
d272e7f1
UD
35933 * elf/chroot_canon.c (chroot_canon): Cleanups.
35934
1bc33071
UD
35935 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
35936
1760874d
TJ
35937 [BZ #13335]
35938 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
35939 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
35940
51d91b18
UD
35941 * string/test-strchr.c: Make usable for strchrnul testing.
35942 * string/test-strchrnul.c: New file.
35943 * string/Makefile (strop-tests): Add strchrnul.
35944
a1b560ff 35945 * po/it.po: Update from translation team.
b611fb81 35946 * po/es.po: Likewise.
a1b560ff 35947
a5b81e1f
UD
359482011-10-28 Ulrich Drepper <drepper@gmail.com>
35949
fd52bc6d
UD
35950 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
35951 the three constants needed as parameters. Drop the others.
35952 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
35953 __m128i_strloadu_tolower.
52e4b9eb
UD
35954 Create and initialize variable zero and use it in all the places
35955 where _mm_setzero_si128 was used.
fd52bc6d 35956
a5b81e1f
UD
35957 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
35958 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
35959 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
35960 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
35961 anymore.
35962 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
35963 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
35964 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
35965 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
35966 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
35967 __mpranred, __mptan.
35968 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
35969 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
35970 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
35971 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
35972 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
35973 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
35974 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
35975 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
35976 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
35977
b4343346
AS
359782011-10-28 Andreas Schwab <schwab@redhat.com>
35979
0c92d8a8
AS
35980 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
35981 redefine if SHARED.
35982 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
35983
b4343346
AS
35984 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
35985 wide char related routines to wcsmbs subdir.
35986
3871f58f
AS
359872011-10-27 Andreas Schwab <schwab@redhat.com>
35988
35989 [BZ #13344]
35990 * misc/sys/cdefs.h (__THROWNL): Define.
35991 * posix/unistd.h: Use __THREADNL instead of __THREAD
35992 for memory synchronization functions.
35993
94d44d9f
RM
359942011-10-26 Roland McGrath <roland@hack.frob.com>
35995
21b64b15 35996 [BZ #13349]
94d44d9f
RM
35997 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
35998 doesn't exist.
35999 * manual/stdio.texi (Obstack Streams): Node removed.
36000
f6ce9294
AS
360012011-10-26 Andreas Schwab <schwab@redhat.com>
36002
80479147
AS
36003 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36004 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36005 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36006
f6ce9294
AS
36007 * math/math_private.h (math_force_eval): Allow non-addressable
36008 arguments.
36009 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36010
618280a1
UD
360112011-10-25 Ulrich Drepper <drepper@gmail.com>
36012
e0016b11
UD
36013 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36014 file is not needed.
36015
36016 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36017 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36018 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36019 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36020 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36021 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36022 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36023 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36024 Add AVX variants.
36025 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36026 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36027 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36028 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36029 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36030 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36031 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36032 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36033 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36034 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36035 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36036 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36037 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36038 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36039 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36040 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36041 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36042 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36043 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36044
36045 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36046 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
36047
618280a1
UD
36048 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36049 place. Use VEX encoding when compiling for AVX.
36050
37822576
AS
360512011-10-25 Andreas Schwab <schwab@redhat.com>
36052
1f1e1947
AS
36053 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36054 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36055
37822576
AS
36056 * string/test-strchr.c (do_test): Don't generate NUL bytes.
36057
31ea014d
UD
360582011-10-25 Ulrich Drepper <drepper@gmail.com>
36059
d7826aa1 36060 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 36061 useless if() expression.
d7826aa1
UD
36062 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36063 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36064 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36065 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36066 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36067 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36068 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36069 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36070 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36071 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36072 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36073 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36074 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36075 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36076 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36077 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36078 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36079 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36080 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36081
31ea014d
UD
36082 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36083
16437fec
AS
360842011-10-25 Andreas Schwab <schwab@redhat.com>
36085
36086 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36087 condition.
36088 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36089
31d3cc00
UD
360902011-10-25 Ulrich Drepper <drepper@gmail.com>
36091
36092 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36093 .text section. Avoid duplicate constants.
36094 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36095 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36096 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36097 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36098 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36099 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36100 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36101 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36102 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36103 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36104 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36105 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36106 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36107 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36108 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36109 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36110 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36111 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36112 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36113 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36114 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36115 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36116 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36117 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36118 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36119 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36120 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36121 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36122 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36123 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36124 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36125 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36126 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36127 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36128 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36129 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36130 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36131 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36132 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36133 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36134 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36135 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36136 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36137 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36138 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36139
58985aa9
UD
361402011-10-24 Ulrich Drepper <drepper@gmail.com>
36141
202c9deb
UD
36142 * sysdeps/x86_64/dla.h: Move to ...
36143 * sysdeps/x86_64/fpu/dla.h: ...here.
36144 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36145 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 36146
af968f62
UD
36147 * config.make.in: Add have-mfma4 entry.
36148 * configure.in: Substitute libc_cv_cc_fma4.
36149 * math/Makefile (dbl-only-routines): Add sincostab.
36150 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36151 Use __sincostab not sincos.
36152 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36153 name is a macro.
36154 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36155 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36156 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36157 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
36158 using __copysign.
36159 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
36160 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
36161 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36162 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36163 and __inv.
36164 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36165 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36166 __copysign.
36167 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
36168 define aliases when function name is a macro.
36169 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36170 sysdeps/ieee754/dbl-64/sincos.tbl.
36171 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36172 fma4-enabled routines.
36173 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36174 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36175 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36176 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36177 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36178 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36179 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36180 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36181 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36182 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36183 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36184 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36185 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36186 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36187 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36188 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36189 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36190 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36191 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36192 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36193 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36194 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36195 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36196 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36197 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36198 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36199 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36200 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36201 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36202 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36203
58985aa9
UD
36204 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36205 rename.
36206 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36207 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36208 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36209 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36210 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36211 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36212 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36213 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36214
a201fbcf
AS
362152011-10-24 Andreas Schwab <schwab@redhat.com>
36216
36217 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36218
fc2ee42a
LD
362192011-10-23 Ulrich Drepper <drepper@gmail.com>
36220
bb3129bd
UD
36221 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36222
0275fff8
UD
36223 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36224 prediction.
36225 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36226
2fa2ae85
UD
36227 * string/strnlen.c: Don't define STRNLEN, reverse logic.
36228 Remove unused variable magic_bits.
36229 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36230
fc2ee42a
LD
36231 * string/strnlen.c: Define and use STRNLEN macro.
36232 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36233 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36234 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36235 * wcsmbs/wcslen.c: Define and use WCSLEN.
36236 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36237 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36238 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36239 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36240 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36241 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36242 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36243
ce7dd29f
LD
362442011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36245
36246 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36247 strnlen-sse2-no-bsf.
36248 Rename strlen-no-bsf to strlen-sse2-no-bsf.
36249 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36250 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36251 Add strnlen support.
36252 (USE_AS_STRNLEN): New macro.
36253 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36254 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36255 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36256 * sysdeps/x86_64/wcslen.S: New file.
36257
979c70a3
MZ
362582011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
36259
36260 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36261 XMM-moves are used for copying on small sizes.
36262
2d09f82f
LD
362632011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36264
36265 * wcsmbs/Makefile (strop-tests): Add wcschr.
36266 * wcsmbs/test-wcschr.c: New file.
36267 * string/test-strchr.c: Update.
36268 Add wcschr support.
36269 (WIDE): New macro.
36270
619fccca
LD
362712011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36272
2d09f82f 36273 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
36274 * wcsmbs/test-wcslen.c: New file.
36275 * string/test-strlen.c: Update.
36276 Add wcslen support.
36277 (WIDE): New macro.
36278
09f699ea
UD
362792011-10-23 Ulrich Drepper <drepper@gmail.com>
36280
36281 * po/it.po: Update from translation team.
36282
95584d3b
LD
362832011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36284
36285 * sysdeps/x86_64/wcscmp.S: Update.
36286 Fix wrong comparison semantics.
36287 wcscmp shall use signed comparison not unsigned.
36288 Don't use substraction to avoid overflow bug.
36289 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36290 * wcsmbc/wcscmp.c: Likewise.
36291 * string/test-strcmp.c: Likewise.
36292 Add new tests to check cases with negative values.
36293
c8b3296b
UD
362942011-10-23 Ulrich Drepper <drepper@gmail.com>
36295
36296 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
36297 * sysdeps/x86_64/dla.h: ...here. New file.
36298 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
36299 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36300 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36301 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36302 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36303 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36304 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36305 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36306 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36307
246ad57a
AS
363082011-10-23 Andreas Schwab <schwab@linux-m68k.org>
36309
36310 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
36311 __ynl_finite aliases.
36312
a1a87169
UD
363132011-10-22 Ulrich Drepper <drepper@gmail.com>
36314
0d355eb7
UD
36315 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36316
a1a87169
UD
36317 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
36318 define DLA_FMA.
36319 [DLA_FMA] (EMULV): Use DLA_FMA.
36320 [DLA_FMA] (MUL12): Use EMULV.
36321 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
36322 that are not needed.
36323 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36324 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36325 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36326 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36327 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36328 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36329 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36330
ee2aafe0
AS
363312011-10-22 Andreas Schwab <schwab@linux-m68k.org>
36332
36333 * math/s_nan.c: Undef __nan.
36334 * math/s_nanf.c: Undef __nanf.
36335 * math/s_nanl.c: Undef __nanl.
36336 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
36337 "math_private.h".
36338
bc62c2fb
UD
363392011-10-22 Ulrich Drepper <drepper@gmail.com>
36340
77425c63
UD
36341 * math/s_catan.c: Add branch predictions.
36342 * math/s_catanf.c: Likewise.
36343 * math/s_catanh.c: Likewise.
36344 * math/s_catanhf.c: Likewise.
36345 * math/s_catanhl.c: Likewise.
36346 * math/s_catanl.c: Likewise.
36347 * math/s_cexp.c: Likewise.
36348 * math/s_cexpf.c: Likewise.
36349 * math/s_cexpl.c: Likewise.
36350 * math/s_clog.c: Likewise.
36351 * math/s_clog10.c: Likewise.
36352 * math/s_clog10f.c: Likewise.
36353 * math/s_clog10l.c: Likewise.
36354 * math/s_clogf.c: Likewise.
36355 * math/s_clogl.c: Likewise.
36356 * math/s_csqrt.c: Likewise.
36357 * math/s_csqrtf.c: Likewise.
36358 * math/s_csqrtl.c: Likewise.
36359 * math/s_ctanf.c: Likewise.
36360 * math/s_ctanh.c: Likewise.
36361 * math/s_ctanhf.c: Likewise.
36362 * math/s_ctanhl.c: Likewise.
36363 * math/s_ctanl.c: Likewise.
36364
bc62c2fb
UD
36365 * math/math_private.h: Define __nan, __nanf, __nanl.
36366 * math/s_cacosh.c: Include <math_private.h>.
36367 * math/s_cacoshl.c: Likewise.
36368 * math/s_casinh.c: Likewise.
36369 * math/s_casinhf.c: Likewise.
36370 * math/s_casinhl.c: Likewise.
36371 * math/s_ccos.c: Rely entire on ccosh.
36372 * math/s_ccosf.c: Rely entire on ccoshf.
36373 * math/s_ccosl.c: Rely entirely on ccoshl.
36374 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
36375 Remove tests for FE_INVALID.
36376 * math/s_ccoshf.c: Likewise.
36377 * math/s_ccoshl.c: Likewise.
36378 * math/s_csin.c: Likewise.
36379 * math/s_csinf.c: Likewise.
36380 * math/s_csinh.c Likewise.
36381 * math/s_csinhf.c: Likewise.
36382 * math/s_csinhl.c: Likewise.
36383 * math/s_csinl.c: Likewise.
36384 * math/s_ctan.c: Likewise.
36385 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
36386 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
36387 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
36388
8ec250a4
UD
363892011-10-21 Ulrich Drepper <drepper@gmail.com>
36390
c196fed8
UD
36391 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
36392 compilation problems.
36393
8ec250a4
UD
36394 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
36395 __builtin_expect.
36396
8d4f46c6
UD
363972011-10-20 Ulrich Drepper <drepper@gmail.com>
36398
ed72b654
UD
36399 * sysdeps/i386/configure.in: Test for -mfma4 option.
36400 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
36401 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
36402 COMMON_CPUID_INDEX_80000001.
36403 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
36404 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
36405 use it if FMA3 is not supported.
36406 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
36407
8d4f46c6
UD
36408 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
36409 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36410
d45c60c2
AS
364112011-10-20 Andreas Schwab <schwab@redhat.com>
36412
36413 [BZ #12892]
36414 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
36415 it would create a cycle with a link time dependency.
36416
d9a4d2ab
UD
364172011-10-19 Ulrich Drepper <drepper@gmail.com>
36418
855d1560
UD
36419 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
36420 instruction.
36421 * string/Makefile (strop-tests): Add rawmemchr.
36422 * string/test-rawmemchr.c: New file.
36423
d9a4d2ab
UD
36424 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
36425 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
36426 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
36427 when compiling str{,n}casecmp and when AVX is available. Hook up
36428 new optimized code in initializers.
36429
8f3b1ffe
AS
364302011-10-19 Andreas Schwab <schwab@redhat.com>
36431
36432 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
36433 __feraiseexcept instead of feraiseexcept.
36434
d38f1dba
UD
364352011-10-18 Ulrich Drepper <drepper@gmail.com>
36436
d9a8d0ab
UD
36437 * math/math_private.h: Define defaults for libc_fetestexcept and
36438 libc_feupdateenv.
36439 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
36440 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
36441 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36442 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36443 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36444 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36445 libc_fetestexcept and libc_feupdateenv.
36446
4855e3dd
UD
36447 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
36448 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
36449 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
36450 * sysdeps/x86_64/fpu/math_private.h: Define special version of
36451 libc_feholdexcept_setround.
36452
581d30e3
UD
36453 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
36454 Add s_nearbyint-c and s_nearbyintf-c.
36455 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
36456 nearbyintf inlines.
36457 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
36458 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
36459 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
36460 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
36461
d38f1dba
UD
36462 * math/math_private.h: Define defaults for libc_fegetround,
36463 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
36464 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
36465 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
36466 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
36467 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
36468 standard functions.
36469 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36470 Remove comments and hacks for old compiler versions.
36471 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36472 libc_fegetround, libc_fesetround, libc_feholdexcept, and
36473 libc_feholdexceptl.
36474
caa6c9d8
AS
364752011-10-18 Andreas Schwab <schwab@redhat.com>
36476
36477 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
36478 (__feraiseexcept_renamed): Add __NTH.
36479 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
36480 namespace violations.
36481
97c066e6
UD
364822011-10-17 Ulrich Drepper <drepper@gmail.com>
36483
99ce7b04
UD
36484 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
36485
1004d182
UD
36486 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
36487
228a984d
UD
36488 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
36489 recently added interfaces.
36490 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
36491
c8553a6a
UD
36492 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
36493 about macro parameter expansion.
36494
ed22dcf6
UD
36495 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
36496 __NO_MATH_INLINES is defined. Cleanups.
36497
36498 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
36499 and __floorf is target has SSE4.1.
36500 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
36501 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
36502 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
36503 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
36504
b171c137
UD
36505 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
36506 name.
36507 (floorf): Likewise.
36508
97c066e6
UD
36509 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
36510
629f62ef
AS
365112011-10-17 Andreas Schwab <schwab@redhat.com>
36512
49a43d80
AS
36513 * misc/sys/cdefs.h: Fix last change.
36514
629f62ef
AS
36515 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
36516 database lookup.
36517
e453f6cd
UD
365182011-10-16 Ulrich Drepper <drepper@gmail.com>
36519
aa78043a
UD
36520 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
36521
ad0f5cad
UD
36522 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
36523 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36524 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36525 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36526 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36527 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36528 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36529 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36530 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36531 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
36532 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
36533 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
36534 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
36535 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
36536 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
36537 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
36538 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
36539 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
36540 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
36541 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
36542 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
36543 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
36544
36545 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
36546 ceil, ceilf, floor, floorf.
36547
36548 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
36549 Perform IRELATIVE relocations last.
36550
e453f6cd
UD
36551 * elf/do-rel.h: Add another parameter nrelative, replacing the
36552 local variable with the same name. Change name of the function
36553 to end in Rel or Rela (uppercase).
36554 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
36555 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
36556 elf_dynamic_do_##reloc function.
36557
fd5bdc09
UD
365582011-10-15 Ulrich Drepper <drepper@gmail.com>
36559
79b195b5
UD
36560 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
36561 is sufficient, at least on modern CPUs.
36562
d4a28569
UD
36563 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
36564
b61099b5
UD
36565 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
36566 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
36567
bcf01e6d
UD
36568 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
36569 __expl_finite.
36570 * math/bits/math-finite.h: Add entries for exp.
36571 * math/e_expl.c: Add __*_finite alias.
36572 * sysdeps/i386/fpu/e_exp.S: Likewise.
36573 * sysdeps/i386/fpu/e_expf.S: Likewise.
36574 * sysdeps/i386/fpu/e_expl.c: Likewise.
36575 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36576 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36577 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36578 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36579 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
36580 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36581 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36582
ba1a0d59
UD
36583 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
36584 is sufficient, at least on modern CPUs.
36585
fd5bdc09
UD
36586 * ctype/ctype-info.c (__ctype_init): Define.
36587 * include/ctype.h (__ctype_init): Declare.
36588 (__ctype_b_loc): The variable is always initialized.
36589 (__ctype_toupper_loc): Likewise.
36590 (__ctype_tolower_loc): Likewise.
36591 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
36592 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
36593
7872cfb0
AS
365942011-10-15 Andreas Schwab <schwab@linux-m68k.org>
36595
b468825a
AS
36596 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
36597
7872cfb0
AS
36598 * configure.in: Also look in $cxxmachine/include for C++ system
36599 headers.
36600
be13f7bf
LD
366012011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36602
36603 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
36604 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
36605 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
36606 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
36607 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
36608 (USE_AS_WMEMCMP): New macro.
36609 Fixing indents.
36610 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
36611 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
36612 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
36613 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
36614 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36615 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
36616 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
36617 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
36618 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
36619 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
36620 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
36621 (USE_AS_WMEMCMP): New macro.
36622 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
36623 * sysdeps/string/test-memcmp.c: Update.
36624 Fix simple_wmemcmp.
36625 Add new tests.
36626 * wcsmbs/wmemcmp.c: Update.
36627 (WMEMCMP): New macro.
36628 Fix overflow bug.
36629
556a2007
AJ
366302011-10-12 Andreas Jaeger <aj@suse.de>
36631
36632 [BZ #13268]
36633 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
36634
538faaa7
UD
366352011-10-15 Ulrich Drepper <drepper@gmail.com>
36636
ab6737ff
UD
36637 * libio/iofwide.c (do_length): Avoid warning.
36638
538faaa7
UD
36639 * ctype/ctype.h (__isctype_f): Add missing __THROW.
36640
396a21b1
UD
366412011-10-14 Ulrich Drepper <drepper@gmail.com>
36642
cdf2901f
UD
36643 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
36644
38ad40ce
UD
36645 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
36646 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
36647 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
36648 * sysdeps/i386/i686/fpu/e_log.S: New file.
36649 * sysdeps/i386/i686/fpu/e_logf.S: New file.
36650 * sysdeps/i386/i686/fpu/e_logl.S: New file.
36651
396a21b1
UD
36652 * ctype/ctype.h: Add support for inlined isXXX functions when
36653 compiling C++ code.
36654
6b1f68c9
AS
366552011-10-14 Andreas Schwab <schwab@redhat.com>
36656
349290c0
AS
36657 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36658
6b1f68c9
AS
36659 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
36660
f2282d42
RM
366612011-10-13 Roland McGrath <roland@hack.frob.com>
36662
36663 [BZ #13291]
36664 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
36665
5298ffa8
AS
366662011-10-13 Andreas Schwab <schwab@redhat.com>
36667
714fad23
AS
36668 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
36669 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
36670 feraiseexcept.
36671
81dcc7fb
AS
36672 * sysdeps/x86_64/memrchr.S: Check for zero size.
36673
5298ffa8
AS
36674 * string/stratcliff.c: Add memrchr tests.
36675
951fbcec
LD
366762011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36677
36678 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36679 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
36680 rawmemchr-sse2 rawmemchr-sse2-bsf.
36681 * sysdeps/i386/i686/multiarch/memchr.S: New file.
36682 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
36683 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
36684 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
36685 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
36686 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
36687 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
36688 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
36689 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
36690 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
36691 * string/memrchr.c (MEMRCHR): New macro.
36692
0ac5ae23
UD
366932011-10-12 Ulrich Drepper <drepper@gmail.com>
36694
36695 Add integration with gcc's -ffinite-math-only and optimize wrapper
36696 functions in libm.
36697 * Versions.def: Define GLIBC_2.15 version for libm.
36698 * math/Makefile (headers): Add bits/math-finite.h.
36699 * math/bits/math-finite.h: New file.
36700 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
36701 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
36702 * math/e_acoshl.c: Add __*_finite alias.
36703 * math/e_acosl.c: Likewise.
36704 * math/e_asinl.c: Likewise.
36705 * math/e_atan2l.c: Likewise.
36706 * math/e_atanhl.c: Likewise.
36707 * math/e_coshl.c: Likewise.
36708 * math/e_exp10.c: Likewise.
36709 * math/e_exp10f.c: Likewise.
36710 * math/e_exp10l.c: Likewise.
36711 * math/e_exp2l.c: Likewise.
36712 * math/e_fmodl.c: Likewise.
36713 * math/e_gammal_r.c: Likewise.
36714 * math/e_hypotl.c: Likewise.
36715 * math/e_j0l.c: Likewise.
36716 * math/e_j1l.c: Likewise.
36717 * math/e_jnl.c: Likewise.
36718 * math/e_lgammal_r.c: Likewise.
36719 * math/e_log10l.c: Likewise.
36720 * math/e_log2l.c: Likewise.
36721 * math/e_logl.c: Likewise.
36722 * math/e_powl.c: Likewise.
36723 * math/e_sinhl.c: Likewise.
36724 * math/e_sqrtl.c: Likewise.
36725 * math/e_scalb.c: Completely rewritten and optimized.
36726 * math/e_scalbf.c: Likewise.
36727 * math/e_scalbl.c: Likewise.
36728 * math/w_acos.c: Likewise.
36729 * math/w_acosf.c: Likewise.
36730 * math/w_acosl.c: Likewise.
36731 * math/w_acosh.c: Likewise.
36732 * math/w_acoshf.c: Likewise.
36733 * math/w_acoshl.c: Likewise.
36734 * math/w_asin.c: Likewise.
36735 * math/w_asinf.c: Likewise.
36736 * math/w_asinl.c: Likewise.
36737 * math/w_atan2.c: Likewise.
36738 * math/w_atan2f.c: Likewise.
36739 * math/w_atan2l.c: Likewise.
36740 * math/w_atanh.c: Likewise.
36741 * math/w_atanhf.c: Likewise.
36742 * math/w_atanhl.c: Likewise.
36743 * math/w_exp10.c: Likewise.
36744 * math/w_exp10f.c: Likewise.
36745 * math/w_exp10l.c: Likewise.
36746 * math/w_fmod.c: Likewise.
36747 * math/w_fmodf.c: Likewise.
36748 * math/w_fmodl.c: Likewise.
36749 * math/w_j0.c: Likewise.
36750 * math/w_j0f.c: Likewise.
36751 * math/w_j0l.c: Likewise.
36752 * math/w_j1.c: Likewise.
36753 * math/w_j1f.c: Likewise.
36754 * math/w_j1l.c: Likewise.
36755 * math/w_jn.c: Likewise.
36756 * math/w_jnf.c: Likewise.
36757 * math/w_log.c: Likewise.
36758 * math/w_logf.c: Likewise.
36759 * math/w_logl.c: Likewise.
36760 * math/w_log10.c: Likewise.
36761 * math/w_log10f.c: Likewise.
36762 * math/w_log10l.c: Likewise.
36763 * math/w_log2.c: Likewise.
36764 * math/w_log2f.c: Likewise.
36765 * math/w_log2l.c: Likewise.
36766 * math/w_pow.c: Likewise.
36767 * math/w_powf.c: Likewise.
36768 * math/w_powl.c: Likewise.
36769 * math/w_remainder.c: Likewise.
36770 * math/w_remainderf.c: Likewise.
36771 * math/w_remainderl.c: Likewise.
36772 * math/w_scalb.c: Likewise.
36773 * math/w_scalbf.c: Likewise.
36774 * math/w_scalbl.c: Likewise.
36775 * math/w_sqrt.c: Likewise.
36776 * math/w_sqrtf.c: Likewise.
36777 * math/w_sqrtl.c: Likewise.
36778 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
36779 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
36780 used.
36781 * math/math_private.h: Declare __kernel_standard_f.
36782 * math/w_cosh.c: Remove cruft and optimize a bit.
36783 * math/w_coshf.c: Likewise.
36784 * math/w_coshl.c: Likewise.
36785 * math/w_exp2.c: Likewise.
36786 * math/w_exp2f.c: Likewise.
36787 * math/w_exp2l.c: Likewise.
36788 * math/w_hypot.c: Likewise.
36789 * math/w_hypotf.c: Likewise.
36790 * math/w_hypotl.c: Likewise.
36791 * math/w_lgamma.c: Likewise.
36792 * math/w_lgamma_r.c: Likewise.
36793 * math/w_lgammaf.c: Likewise.
36794 * math/w_lgammaf_r.c: Likewise.
36795 * math/w_lgammal.c: Likewise.
36796 * math/w_lgammal_r.c: Likewise.
36797 * math/w_sinh.c: Likewise.
36798 * math/w_sinhf.c: Likewise.
36799 * math/w_sinhl.c: Likewise.
36800 * math/w_tgamma.c: Likewise.
36801 * math/w_tgammaf.c: Likewise.
36802 * math/w_tgammal.c: Likewise.
36803 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36804 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36805 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
36806 Minor optimizations. Pretty printing. Remove cruft.
36807 * sysdeps/i386/fpu/e_acosf.S: Likewise.
36808 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36809 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36810 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36811 * sysdeps/i386/fpu/e_acosl.c: Likewise.
36812 * sysdeps/i386/fpu/e_asin.S: Likewise.
36813 * sysdeps/i386/fpu/e_asinf.S: Likewise.
36814 * sysdeps/i386/fpu/e_atan2.S: Likewise.
36815 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
36816 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
36817 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36818 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36819 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36820 * sysdeps/i386/fpu/e_exp10.S: Likewise.
36821 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
36822 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
36823 * sysdeps/i386/fpu/e_exp2.S: Likewise.
36824 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
36825 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
36826 * sysdeps/i386/fpu/e_fmod.S: Likewise.
36827 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
36828 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
36829 * sysdeps/i386/fpu/e_hypot.S: Likewise.
36830 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
36831 * sysdeps/i386/fpu/e_log.S: Likewise.
36832 * sysdeps/i386/fpu/e_log10.S: Likewise.
36833 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36834 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36835 * sysdeps/i386/fpu/e_log2.S: Likewise.
36836 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36837 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36838 * sysdeps/i386/fpu/e_logf.S: Likewise.
36839 * sysdeps/i386/fpu/e_logl.S: Likewise.
36840 * sysdeps/i386/fpu/e_pow.S: Likewise.
36841 * sysdeps/i386/fpu/e_powf.S: Likewise.
36842 * sysdeps/i386/fpu/e_powl.S: Likewise.
36843 * sysdeps/i386/fpu/e_remainder.S: Likewise.
36844 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
36845 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
36846 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36847 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36848 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36849 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
36850 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
36851 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
36852 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36853 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36854 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36855 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36856 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36857 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36858 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
36859 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36860 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36861 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36862 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36863 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36864 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36865 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36866 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36867 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36868 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36869 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36870 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36871 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36872 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36873 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36874 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36875 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36876 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36877 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36878 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36879 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36880 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
36881 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36882 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36883 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36884 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36885 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36886 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36887 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36888 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36889 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36890 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36891 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36892 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36893 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36894 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36895 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36896 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36897 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36898 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36899 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36900 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36901 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
36902 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36903 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36904 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36905 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36906 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36907 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36908 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36909 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36910 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36911 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36912 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36913 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36914 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36915 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36916 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36917 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36918 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36919 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36920 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
36921 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36922 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36923 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36924 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36925 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36926 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36927 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36928 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
36929 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36930 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36931 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36932 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36933 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36934 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
36935 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36936 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36937 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36938 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36939 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36940 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36941 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36942 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36943 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36944 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36945 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
36946 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36947 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36948 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36949 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
36950 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
36951 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
36952 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
36953 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
36954 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
36955 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
36956 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36957 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36958 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36959 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36960 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
36961 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36962 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
36963 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
36964 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
36965 (__isnanf): Likewise.
36966 (__isinf_ns): Likewise.
36967 (__isinf_nsf): Likewise.
36968 (__finite): Likewise.
36969 (__finitef): Likewise.
36970 (__ieee754_sqrt): Define as macro.
36971 (__ieee754_sqrtf): Define as macro.
36972 (__ieee754_sqrtl): Define as macro.
36973 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
36974 inlined copy.
36975 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
36976 __FINITE_MATH_ONLY__ consistent.
36977 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
36978
12cc2fcd
AS
369792011-10-10 Andreas Schwab <schwab@linux-m68k.org>
36980
a843a204
AS
36981 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
36982 of rawmemchr.
36983
12cc2fcd
AS
36984 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
36985
c853acd5
UD
369862011-10-09 Ulrich Drepper <drepper@gmail.com>
36987
36988 * po/ja.po: Update from translation team.
36989
c658d255
RM
369902011-10-08 Roland McGrath <roland@hack.frob.com>
36991
110946e4
RM
36992 * locale/programs/locarchive.c (prepare_address_space): New function.
36993 (create_archive, enlarge_archive, open_archive): Use it.
36994
50604220
RM
36995 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
36996 inside [SHARED], where it is used.
36997
c658d255
RM
36998 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
36999
37000 * nss/getent.c (netgroup_keys): Remove unused variable.
37001 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37002
6a621eb7
UD
370032011-10-08 Ulrich Drepper <drepper@gmail.com>
37004
7edb55ce
UD
37005 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37006 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37007 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37008 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37009 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37010 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37011 * math/Makefile (libm-calls): Add s_isinf_ns.
37012 * math/divtc3.c: Use __isinf_nsl instead of isinf.
37013 * math/multc3.c: Likewise.
37014 * math/s_casin.c: Likewise.
37015 * math/s_casinf.c: Likewise.
37016 * math/s_casinl.c: Likewise.
37017 * math/s_ccos.c: Likewise.
37018 * math/s_ccosf.c: Likewise.
37019 * math/s_ccosl.c: Likewise.
37020 * math/s_ctan.c: Likewise.
37021 * math/s_ctanf.c: Likewise.
37022 * math/s_ctanh.c: Likewise.
37023 * math/s_ctanhf.c: Likewise.
37024 * math/s_ctanhl.c: Likewise.
37025 * math/s_ctanl.c: Likewise.
37026 * math/w_fmod.c: Likewise.
37027 * math/w_fmodf.c: Likewise.
37028 * math/w_fmodl.c: Likewise.
37029 * math/w_remainder.c: Likewise.
37030 * math/w_remainderf.c: Likewise.
37031 * math/w_remainderl.c: Likewise.
37032 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37033 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37034 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37035 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37036 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37037 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37038 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37039 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37040
187da0ae
UD
37041 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37042 of the number.
37043 * stdio-common/printf_fphex.c: Likewise.
37044 * stdio-common/printf_size.c: Likewise.
37045
9277c064
UD
37046 * math/e_exp10.c: Include math_private.h using <...> not "...".
37047 * math/e_exp10f.c: Likewise.
37048 * math/e_exp10l.c: Likewise.
37049 * math/e_exp2l.c: Likewise.
37050 * math/e_j0l.c: Likewise.
37051 * math/e_j1l.c: Likewise.
37052 * math/e_jnl.c: Likewise.
37053 * math/e_lgammal_r.c: Likewise.
37054 * math/e_rem_pio2l.c: Likewise.
37055 * math/e_scalb.c: Likewise.
37056 * math/e_scalbf.c: Likewise.
37057 * math/e_scalbl.c: Likewise.
37058 * math/k_cosl.c: Likewise.
37059 * math/k_sinl.c: Likewise.
37060 * math/k_tanl.c: Likewise.
37061 * math/s_cacoshf.c: Likewise.
37062 * math/s_catan.c: Likewise.
37063 * math/s_catanf.c: Likewise.
37064 * math/s_catanh.c: Likewise.
37065 * math/s_catanhf.c: Likewise.
37066 * math/s_catanhl.c: Likewise.
37067 * math/s_catanl.c: Likewise.
37068 * math/s_ccosh.c: Likewise.
37069 * math/s_ccoshf.c: Likewise.
37070 * math/s_ccoshl.c: Likewise.
37071 * math/s_cexp.c: Likewise.
37072 * math/s_cexpf.c: Likewise.
37073 * math/s_cexpl.c: Likewise.
37074 * math/s_clog.c: Likewise.
37075 * math/s_clog10.c: Likewise.
37076 * math/s_clog10f.c: Likewise.
37077 * math/s_clog10l.c: Likewise.
37078 * math/s_clogf.c: Likewise.
37079 * math/s_clogl.c: Likewise.
37080 * math/s_csin.c: Likewise.
37081 * math/s_csinf.c: Likewise.
37082 * math/s_csinh.c: Likewise.
37083 * math/s_csinhf.c: Likewise.
37084 * math/s_csinhl.c: Likewise.
37085 * math/s_csinl.c: Likewise.
37086 * math/s_csqrt.c: Likewise.
37087 * math/s_csqrtf.c: Likewise.
37088 * math/s_csqrtl.c: Likewise.
37089 * math/s_ctan.c: Likewise.
37090 * math/s_ctanf.c: Likewise.
37091 * math/s_ctanh.c: Likewise.
37092 * math/s_ctanhf.c: Likewise.
37093 * math/s_ctanhl.c: Likewise.
37094 * math/s_ctanl.c: Likewise.
37095 * math/s_ldexp.c: Likewise.
37096 * math/s_ldexpf.c: Likewise.
37097 * math/s_ldexpl.c: Likewise.
37098 * math/s_significand.c: Likewise.
37099 * math/s_significandf.c: Likewise.
37100 * math/s_significandl.c: Likewise.
37101 * math/w_acos.c: Likewise.
37102 * math/w_acosf.c: Likewise.
37103 * math/w_acosh.c: Likewise.
37104 * math/w_acoshf.c: Likewise.
37105 * math/w_acoshl.c: Likewise.
37106 * math/w_acosl.c: Likewise.
37107 * math/w_asin.c: Likewise.
37108 * math/w_asinf.c: Likewise.
37109 * math/w_asinl.c: Likewise.
37110 * math/w_atan2.c: Likewise.
37111 * math/w_atan2f.c: Likewise.
37112 * math/w_atan2l.c: Likewise.
37113 * math/w_atanh.c: Likewise.
37114 * math/w_atanhf.c: Likewise.
37115 * math/w_atanhl.c: Likewise.
37116 * math/w_cosh.c: Likewise.
37117 * math/w_coshf.c: Likewise.
37118 * math/w_coshl.c: Likewise.
37119 * math/w_dremf.c: Likewise.
37120 * math/w_exp10.c: Likewise.
37121 * math/w_exp10f.c: Likewise.
37122 * math/w_exp10l.c: Likewise.
37123 * math/w_exp2.c: Likewise.
37124 * math/w_exp2f.c: Likewise.
37125 * math/w_fmod.c: Likewise.
37126 * math/w_fmodf.c: Likewise.
37127 * math/w_fmodl.c: Likewise.
37128 * math/w_hypot.c: Likewise.
37129 * math/w_hypotf.c: Likewise.
37130 * math/w_hypotl.c: Likewise.
37131 * math/w_j0.c: Likewise.
37132 * math/w_j0f.c: Likewise.
37133 * math/w_j0l.c: Likewise.
37134 * math/w_j1.c: Likewise.
37135 * math/w_j1f.c: Likewise.
37136 * math/w_j1l.c: Likewise.
37137 * math/w_jn.c: Likewise.
37138 * math/w_jnf.c: Likewise.
37139 * math/w_jnl.c: Likewise.
37140 * math/w_lgamma.c: Likewise.
37141 * math/w_lgamma_r.c: Likewise.
37142 * math/w_lgammaf.c: Likewise.
37143 * math/w_lgammaf_r.c: Likewise.
37144 * math/w_lgammal.c: Likewise.
37145 * math/w_lgammal_r.c: Likewise.
37146 * math/w_log.c: Likewise.
37147 * math/w_log10.c: Likewise.
37148 * math/w_log10f.c: Likewise.
37149 * math/w_log10l.c: Likewise.
37150 * math/w_log2.c: Likewise.
37151 * math/w_log2f.c: Likewise.
37152 * math/w_log2l.c: Likewise.
37153 * math/w_logf.c: Likewise.
37154 * math/w_logl.c: Likewise.
37155 * math/w_pow.c: Likewise.
37156 * math/w_powf.c: Likewise.
37157 * math/w_powl.c: Likewise.
37158 * math/w_remainder.c: Likewise.
37159 * math/w_remainderf.c: Likewise.
37160 * math/w_remainderl.c: Likewise.
37161 * math/w_scalb.c: Likewise.
37162 * math/w_scalbf.c: Likewise.
37163 * math/w_scalbl.c: Likewise.
37164 * math/w_sinh.c: Likewise.
37165 * math/w_sinhf.c: Likewise.
37166 * math/w_sinhl.c: Likewise.
37167 * math/w_sqrt.c: Likewise.
37168 * math/w_sqrtf.c: Likewise.
37169 * math/w_sqrtl.c: Likewise.
37170 * math/w_tgamma.c: Likewise.
37171 * math/w_tgammaf.c: Likewise.
37172 * math/w_tgammal.c: Likewise.
37173
6a621eb7
UD
37174 * po/ja.po: Update from translation team.
37175
bf582445
AJ
371762011-09-29 Andreas Jaeger <aj@suse.de>
37177
f9efbf3a
AJ
37178 [BZ #13179]
37179 * sunrpc/netname.c (netname2host): Fix logic.
37180
bf582445
AJ
37181 [BZ #6779]
37182 [BZ #6783]
37183 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37184 correctly.
37185 * math/w_remainder.c (__remainder): Likewise.
37186 * math/w_remainderf.c (__remainderf): Likewise.
37187 * math/libm-test.inc (remainder_test): Add test cases.
37188
48693bea
AK
371892011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37190
37191 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
37192 sdiv_qrnnd.
37193
42622229
LD
371942011-10-07 Ulrich Drepper <drepper@gmail.com>
37195
37196 * string/test-memcmp.c: Avoid unncessary #defines.
37197 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37198
093ecf92
LD
371992011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37200
37201 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37202 Use new sse2 version for core i3 - i7 as it's faster
37203 than sse42 version.
37204 (bit_Prefer_PMINUB_for_stringop): New.
37205 * sysdeps/x86_64/rawmemchr.S: Update.
37206 Replace with faster SSE2 version.
37207 * sysdeps/x86_64/memrchr.S: New file.
37208 * sysdeps/x86_64/memchr.S: Update.
37209 Replace with faster SSE2 version.
37210
fde56e5c
MP
372112011-09-12 Marek Polacek <mpolacek@redhat.com>
37212
37213 * elf/dl-load.c (lose): Add cast to avoid warning.
37214
21fd49a9
UD
372152011-10-07 Ulrich Drepper <drepper@gmail.com>
37216
5a06e643
UD
37217 * po/ca.po: Update from translation team.
37218
684ae515
UD
37219 * inet/getnetgrent_r.c: Hook up nscd.
37220 * nscd/Makefile (routines): Add nscd_netgroup.
37221 (nscd-modules): Add netgroupcache.
37222 (CFLAGS-netgroupcache.c): Define.
37223 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37224 (cache_search): Add const to second parameter.
37225 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37226 INNETGR.
37227 (dbs): Add netgrdb entry.
37228 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37229 (verify_persistent_db): Handle netgrdb.
37230 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37231 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37232 GETFDNETGR.
37233 (netgroup_response_header): Define.
37234 (innetgroup_response_header): Define.
37235 (datahead): Add netgroup_response_header and innetgroup_response_header
37236 elements.
37237 * nscd/nscd.conf: Add entries for netgroup cache.
37238 * nscd/nscd.h (dbtype): Add netgrdb.
37239 (_PATH_NSCD_NETGROUP_DB): Define.
37240 (netgroup_iov_disabled): Declare.
37241 (xmalloc, xcalloc, xrealloc): Move declarations here.
37242 (cache_search): Adjust prototype.
37243 Add netgroup-related prototypes.
37244 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37245 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37246 (__nscd_innetgr): Declare.
37247 * nscd/selinux.c (perms): Use access_vector_t as element type and
37248 add netgroup-related initializers.
37249 * nscd/netgroupcache.c: New file.
37250 * nscd/nscd_netgroup.c: New file.
37251 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37252 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37253 For four parameters use innetgr.
37254 * nss/nss_files/files-init.c: Add definition and callback for netgr.
37255 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37256 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37257 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37258
21fd49a9
UD
37259 * nscd/connections.c (register_traced_file): Don't register file
37260 for disabled databases.
37261
054c0457
UD
372622011-10-06 Ulrich Drepper <drepper@gmail.com>
37263
32b63198
UD
37264 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
37265
054c0457
UD
37266 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
37267 from tree and freeing node.
37268
64031225
JO
372692011-09-25 Jiri Olsa <jolsa@redhat.com>
37270
37271 * nss/nsswitch.c (__nss_database_lookup): Handle
37272 nss_parse_service_list out of memory case.
37273
0490345c
JO
372742011-09-15 Jiri Olsa <jolsa@redhat.com>
37275
37276 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
37277 out of memory case.
37278
3a62d00d
AS
372792011-10-04 Andreas Schwab <schwab@redhat.com>
37280
37281 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
37282 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
37283 pass it down.
37284 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
37285 elf_machine_rela, elf_machine_lazy_rel.
37286 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
37287 (ELF_DYNAMIC_DO_REL): Likewise.
37288 (ELF_DYNAMIC_DO_RELA): Likewise.
37289 (ELF_DYNAMIC_RELOCATE): Likewise.
37290 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
37291 to ELF_DYNAMIC_DO_REL.
37292 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
37293 (dl_main): In trace mode always set __RTLD_NOIFUNC.
37294 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
37295 elf_machine_rela.
37296 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
37297 skip_ifunc, don't call ifunc function if non-zero.
37298 (elf_machine_rela): Likewise.
37299 (elf_machine_lazy_rel): Likewise.
37300 (elf_machine_lazy_rela): Likewise.
37301 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
37302 (elf_machine_lazy_rel): Likewise.
37303 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
37304 Likewise.
37305 (elf_machine_lazy_rel): Likewise.
37306 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37307 Likewise.
37308 (elf_machine_lazy_rel): Likewise.
37309 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
37310 (elf_machine_lazy_rel): Likewise.
37311 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
37312 (elf_machine_lazy_rel): Likewise.
37313 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37314 (elf_machine_lazy_rel): Likewise.
37315 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
37316 (elf_machine_lazy_rel): Likewise.
37317 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
37318 (elf_machine_lazy_rel): Likewise.
37319 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
37320 (elf_machine_lazy_rel): Likewise.
37321
68577918
UD
373222011-09-28 Ulrich Drepper <drepper@gmail.com>
37323
37324 * nss/nss_files/files-init.c (_nss_files_init): Use static
37325 initialization for all the *_traced_file variables.
37326
68822d74
AS
373272011-09-28 Andreas Schwab <schwab@redhat.com>
37328
37329 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37330
2056100b
RM
373312011-09-27 Roland McGrath <roland@hack.frob.com>
37332
37333 [BZ #13226]
37334 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
37335
32c76b63
AS
373362011-09-27 Andreas Schwab <schwab@redhat.com>
37337
37338 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37339 Reread the line before reparsing it.
37340
bf972c9d
AS
373412011-09-26 Andreas Schwab <schwab@redhat.com>
37342
37343 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
37344
e057a1b5
JM
373452011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
37346 Maxim Kuvyrkov <maxim@codesourcery.com>
37347 Joseph Myers <joseph@codesourcery.com>
37348
37349 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
37350 if needed for __stack_chk_guard.
37351
bc7e1c36
RM
373522011-09-19 Roland McGrath <roland@hack.frob.com>
37353
ecb1482f
RM
37354 * sysdeps/posix/spawni.c (script_execute): Always define it.
37355 It will be optimized away if unused.
37356 (maybe_script_execute): New function.
37357 (__spawni): Call it.
37358
bc7e1c36
RM
37359 * Makerules: Don't include tls.make.
37360 (config-tls): Always set to thread.
37361 * tls.make.c: File removed.
37362
1c3b002b
MF
373632011-09-19 Mike Frysinger <vapier@gentoo.org>
37364
37365 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
37366 * config.make.in (CPPFLAGS-config): New substituted variable.
37367
2840865d
UD
373682011-09-15 Ulrich Drepper <drepper@gmail.com>
37369
88738eb6
UD
37370 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
37371
cbf645a6 37372 [BZ #13192]
2840865d
UD
37373 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
37374 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
37375
b402e91a
RM
373762011-09-15 Roland McGrath <roland@hack.frob.com>
37377
37378 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
37379 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
37380 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37381 (CALL_FAIL): Likewise.
37382 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
37383 (CALL_FAIL): Macro removed.
37384 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
37385
4c1a1f71
UD
373862011-09-15 Ulrich Drepper <drepper@gmail.com>
37387
37388 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
37389 for __FINITE_MATH_ONLY__ == 1.
37390
edc121be
AS
373912011-09-15 Andreas Schwab <schwab@redhat.com>
37392
37393 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
37394 __ieee754_sqrt instead of sqrt.
37395 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
37396 __ieee754_sqrtf instead of sqrtf.
37397 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
37398 __floorf instead of floorf.
37399 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
37400 __floorf, __truncf instead of floorf, truncf.
37401
cd205654
UD
374022011-09-14 Ulrich Drepper <drepper@gmail.com>
37403
ee4d0315
UD
37404 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
37405
cd205654
UD
37406 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
37407 __extern_always_inline.
37408 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
37409 32-bit.
37410
48b67d71
AS
374112011-09-14 Andreas Schwab <schwab@redhat.com>
37412
37413 * elf/rtld.c (dl_main): Also relocate in dependency order when
37414 doing symbol dependency testing.
37415
1ae12c75
AS
374162011-09-13 Andreas Schwab <schwab@linux-m68k.org>
37417
37418 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37419 Always define `refsym'.
37420
995a80df
AS
374212011-09-13 Andreas Schwab <schwab@redhat.com>
37422
e529793b
AS
37423 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
37424 (__FD_ELT): Renamed from __FDELT.
37425 * misc/bits/select2.h (__FD_ELT): Likewise.
37426 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
37427 __FD_MASK instead of __FDELT, __FDMASK.
37428 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37429 Likewise.
37430 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37431 Likewise.
37432
52d4fef8
AS
37433 * elf/Makefile (gen-ldd): Fix pattern.
37434
995a80df
AS
37435 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
37436 (init_tls): Likewise.
37437
8682f8b0
UD
374382011-09-12 Ulrich Drepper <drepper@gmail.com>
37439
37440 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
37441
de82006d
AS
374422011-09-12 Andreas Schwab <schwab@redhat.com>
37443
a7c8e6a1
AS
37444 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
37445 `struct cmsghdr *' instead of `void *'.
37446 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
37447 Likewise.
37448
0f31fe77
AS
374492011-09-11 Andreas Schwab <schwab@linux-m68k.org>
37450
37451 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
37452 if non-absolute.
37453 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
37454 ldd_rewrite_script.
0f31fe77 37455
32b4c839
UD
374562011-09-11 Ulrich Drepper <drepper@gmail.com>
37457
83cd1420
UD
37458 * configure.in: Remove --with-tls option.
37459 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
37460 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
37461 out in case it is missing.
37462 * sysdeps/ia64/elf/configure.in: Likewise.
37463 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
37464 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
37465 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
37466 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
37467 * sysdeps/sh/elf/configure.in: Likewise.
37468 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
37469 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37470 * sysdeps/x86_64/elf/configure.in: Likewise.
37471 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
37472 * sysdeps/mach/hurd/tls.h: Likewise.
37473
633f745d
UD
37474 [BZ #13067]
37475 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
37476
f318beb8
UD
37477 [BZ #13090]
37478 * configure.in: Fix use of AC_INIT.
37479
32b4c839
UD
37480 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
37481
3ce1f295
UD
374822011-09-10 Ulrich Drepper <drepper@gmail.com>
37483
bb016596
UD
37484 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
37485 __set_errno.
8e58439c
UD
37486 * malloc/hooks.c: Likewise.
37487
aebae053 37488 [BZ #11929]
02d46fc4
UD
37489 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
37490 variables statically.
37491 (narenas): Initialize.
37492 (list_lock): Initialize.
bb016596
UD
37493 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
37494 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
37495 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
37496 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
37497 Add initializers to main_arena and mp_.
37498 (malloc_state): Remove pagesize member. Change all users to use
37499 GLRO(dl_pagesize).
37500
37501 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
37502 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
37503 is always initialized.
37504
22a89187
UD
37505 * malloc/malloc.c: Removed unused configurations and dead code.
37506 * malloc/arena.c: Likewise.
37507 * malloc/hooks.c: Likewise.
02d46fc4 37508 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 37509
d063d164
UD
37510 * include/tls.h: Removed. USE___THREAD must always be defined.
37511 * bits/libc-tsd.h: Don't handle !USE___THREAD.
37512 * elf/dl-libc.c: Likewise.
37513 * elf/dl-tsd.c: Likewise.
37514 * include/errno.h: Likewise.
37515 * include/netdb.h: Likewise.
37516 * include/resolv.h: Likewise.
37517 * inet/herrno-loc.c: Likewise.
37518 * inet/herrno.c: Likewise.
37519 * malloc/arena.c: Likewise.
37520 * malloc/hooks.c: Likewise.
37521 * malloc/malloc.c: Likewise.
37522 * resolv/res-state.c: Likewise.
37523 * resolv/res_libc.c: Likewise.
37524 * sysdeps/i386/dl-machine.h: Likewise.
37525 * sysdeps/ia64/dl-machine.h: Likewise.
37526 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37527 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37528 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37529 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37530 * sysdeps/sh/dl-machine.h: Likewise.
37531 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37532 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37533 * sysdeps/unix/i386/sysdep.S: Likewise.
37534 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37535 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
37536 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
37537 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37538 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
37539 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37540 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37541 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37542 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37543 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37544 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37545 * sysdeps/x86_64/dl-machine.h: Likewise.
37546 * tls.make.c: Likewise.
37547
3ce1f295
UD
37548 * configure.in: Remove --with-__thread option. Make tests for
37549 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
37550 tls_model attribute fail if no support is available. Remove
37551 USE_IN_LIBIO.
37552 * Makeconfig: Adjust for dropped configure option. All features are
37553 now mandatory.
37554 * Makerules: Likewise.
37555 * Versions.def: Likewise.
37556 * argp/argp-fmtstream.c: Likewise.
37557 * argp/argp-fmtstream.h: Likewise.
37558 * argp/argp-help.c: Likewise.
37559 * assert/assert.c: Likewise.
37560 * config.h.in: Likewise.
37561 * config.make.in: Likewise.
37562 * configure: Likewise.
37563 * configure.in: Likewise.
37564 * csu/Versions: Likewise.
37565 * csu/init.c: Likewise.
37566 * elf/tst-audit2.c: Likewise.
37567 * elf/tst-tls10.c: Likewise.
37568 * elf/tst-tls10.h: Likewise.
37569 * elf/tst-tls11.c: Likewise.
37570 * elf/tst-tls12.c: Likewise.
37571 * elf/tst-tls14.c: Likewise.
37572 * elf/tst-tlsmod11.c: Likewise.
37573 * elf/tst-tlsmod12.c: Likewise.
37574 * elf/tst-tlsmod13.c: Likewise.
37575 * elf/tst-tlsmod13a.c: Likewise.
37576 * elf/tst-tlsmod14a.c: Likewise.
37577 * elf/tst-tlsmod15b.c: Likewise.
37578 * elf/tst-tlsmod16a.c: Likewise.
37579 * elf/tst-tlsmod16b.c: Likewise.
37580 * elf/tst-tlsmod7.c: Likewise.
37581 * elf/tst-tlsmod8.c: Likewise.
37582 * elf/tst-tlsmod9.c: Likewise.
37583 * gmon/gmon.c: Likewise.
37584 * grp/fgetgrent_r.c: Likewise.
37585 * grp/putgrent.c: Likewise.
37586 * hurd/fopenport.c: Likewise.
37587 * include/libc-symbols.h: Likewise.
37588 * include/tls.h: Likewise.
37589 * intl/gettextP.h: Likewise.
37590 * intl/loadinfo.h: Likewise.
37591 * locale/global-locale.c: Likewise.
37592 * locale/localeinfo.h: Likewise.
37593 * mach/devstream.c: Likewise.
37594 * malloc/arena.c: Likewise.
37595 * malloc/set-freeres.c: Likewise.
37596 * misc/err.c: Likewise.
37597 * misc/getttyent.c: Likewise.
37598 * misc/mntent_r.c: Likewise.
37599 * posix/getopt.c: Likewise.
37600 * posix/wordexp.c: Likewise.
37601 * pwd/fgetpwent_r.c: Likewise.
37602 * resolv/Versions: Likewise.
37603 * resolv/res_hconf.c: Likewise.
37604 * shadow/fgetspent_r.c: Likewise.
37605 * shadow/putspent.c: Likewise.
37606 * stdio-common/printf_fphex.c: Likewise.
37607 * stdio-common/tmpfile.c: Likewise.
37608 * stdlib/abort.c: Likewise.
37609 * stdlib/fmtmsg.c: Likewise.
37610 * sunrpc/auth_unix.c: Likewise.
37611 * sunrpc/clnt_perr.c: Likewise.
37612 * sunrpc/clnt_tcp.c: Likewise.
37613 * sunrpc/clnt_udp.c: Likewise.
37614 * sunrpc/clnt_unix.c: Likewise.
37615 * sunrpc/openchild.c: Likewise.
37616 * sunrpc/svc_simple.c: Likewise.
37617 * sunrpc/svc_tcp.c: Likewise.
37618 * sunrpc/svc_udp.c: Likewise.
37619 * sunrpc/svc_unix.c: Likewise.
37620 * sunrpc/xdr.c: Likewise.
37621 * sunrpc/xdr_array.c: Likewise.
37622 * sunrpc/xdr_rec.c: Likewise.
37623 * sunrpc/xdr_ref.c: Likewise.
37624 * sunrpc/xdr_stdio.c: Likewise.
37625
1248c1c4
PB
376262011-09-09 Ulrich Drepper <drepper@gmail.com>
37627
37628 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37629
376302011-07-03 Andreas Jaeger <aj@suse.de>
37631
37632 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
37633 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
37634 regenerate with gen-libm-tests.pl.
37635
376362010-05-12 Petr Baudis <pasky@suse.cz>
37637
37638 [BZ #11589]
37639 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
37640 around j0() zero points by switching to j1().
37641 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37642 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37643 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37644 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37645
f22e1074
UD
376462011-09-09 Ulrich Drepper <drepper@gmail.com>
37647
f19009c1
UD
37648 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
37649 instead of 0.
37650 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 37651 instead of 0.
f19009c1
UD
37652 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37653 Patch in part by Pavel Roskin <proski@gnu.org>.
37654
3f8cc204
UD
37655 [BZ #13138]
37656 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
37657 realloc.
37658 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
37659 Free memory block if necessary.
37660
f22e1074
UD
37661 [BZ #12847]
37662 * libio/genops.c (INTDEF): For string streams the _lock pointer can
37663 be NULL. Don't lock in this case.
37664
0a2349f9
RM
376652011-09-09 Roland McGrath <roland@hack.frob.com>
37666
37667 * elf/elf.h (ELFOSABI_GNU): New macro.
37668 (ELFOSABI_LINUX): Define to that.
37669
f3cdd467
DZ
376702011-07-29 Denis Zaitceff <zaitceff@gmail.com>
37671
37672 * string/strncat.c (strncat): Undef the symbol in case it has been
37673 defined in bits/string.h.
37674
74718d13
UD
376752011-09-09 Ulrich Drepper <drepper@gmail.com>
37676
633e9e0f
UD
37677 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
37678
0a2349f9 37679 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
37680 link map.
37681
f9924780
AJ
376822011-08-17 Andreas Jaeger <aj@suse.de>
37683
37684 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
37685
7f5517aa
PP
376862011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
37687 Ian Lance Taylor <iant@google.com>
37688
37689 * math/libm-test.inc (lround_test): New testcase.
37690 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
37691
762011fe
UD
376922011-09-08 Ulrich Drepper <drepper@gmail.com>
37693
92963737
UD
37694 * Makefile: Remove support for automatic cvs check-ins.
37695 * Makerules: Likewise.
37696 * config.make.in: Likewise.
37697 * configure.in: Likewise.
37698 * intl/Makefile: Likewise.
37699 * locale/Makefile: Likewise.
37700 * po/Makefile: Likewise.
37701 * posix/Makefile: Likewise.
37702 * sysdeps/gnu/Makefile: Likewise.
37703 * sysdeps/mach/hurd/Makefile: Likewise.
37704 * sysdeps/sparc/sparc32/Makefile: Likewise.
37705
b0727fd8
JS
37706 [BZ #13118]
37707 * posix/Makefile (bug-regex32-ENV): Define.
37708 Patch by John Stanley <jpsinthemix@verizon.net>.
37709
a0f33f99
UD
37710 * misc/Makefile (headers): Add bits/select2.h.
37711 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
37712 * misc/bits/select2.h: New file.
37713 * include/bits/select2.h: New file.
37714 * debug/Makefile (routines): Add fdelt_chk.
37715 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
37716 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
37717 FD_ISSET.
37718 * debug/fdelt_chk.c: New file.
37719
762011fe
UD
37720 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
37721 * wcsmbs/test-wmemcmp.c: Likewise.
37722 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 37723 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
37724
377252011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37726
37727 * string/Makefile (strop-tests): Add memcmp.
37728 * string/test-wmemcmp.c: New file.
37729 * string/test-memcmp.c: Add wmemcmp support.
37730
7f513ec8
RM
377312011-09-08 Roland McGrath <roland@hack.frob.com>
37732
0442afb4
RM
37733 [BZ #13153]
37734 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
37735 2011-07-19 change.
37736
7f513ec8
RM
37737 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
37738 garbage value in a __mach_port_mod_refs call in the cases of the
37739 task-self and thread-self ports.
37740
a12b2239
ST
377412011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37742
37743 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
37744
610f9ab4
AS
377452011-09-08 Andreas Schwab <schwab@redhat.com>
37746
7f513ec8 37747 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 37748
48882a1a
LD
377492011-09-07 Ulrich Drepper <drepper@gmail.com>
37750
b49865be
UD
37751 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
37752
fdc86bc9
UD
37753 * elf/dl-libc.c (dlerror_run): Pass back error code from
37754 dl_catch_error.
37755
c966526a
UD
37756 [BZ #13123]
37757 * elf/dl-load.c (lose): Free l_origin if it is valid.
37758
48882a1a
LD
37759 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
37760 names.
37761 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
37762 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37763 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37764 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37765 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
37766 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
37767
77a2a8b4
AZ
377682011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37769
37770 * sysdeps/powerpc/fpu/e_hypot.c: New file.
37771 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
37772 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
37773 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
37774 * sysdeps/powerpc/fpu/k_cosf.c: New file.
37775 * sysdeps/powerpc/fpu/k_sinf.c: New file.
37776 * sysdeps/powerpc/fpu/s_cosf.c: New file.
37777 * sysdeps/powerpc/fpu/s_sinf.c: New file.
37778 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
37779 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
37780
24f579d8
AM
377812011-08-15 Alan Modra <amodra@gmail.com>
37782
37783 [BZ #13092]
37784 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
37785 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
37786 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
37787 ppc_mcount to static-only-routines.
37788 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
37789 __mcount_internal.
37790 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
37791 __mcount_internal with usual JUMPTARGET. Remove useless nop.
37792
3d4837df
UD
377932011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
37794
37795 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
37796 for finite and infinity parameters.
37797
22700377
WS
377982011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37799
37800 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
37801 and add nop instructions for throughput optimization.
37802 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37803
5025581e
WS
378042011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
37805
37806 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
37807 aligned copy for power7 with vector-scalar instructions.
37808 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
37809
08a300c9
L
378102011-07-24 H.J. Lu <hongjiu.lu@intel.com>
37811
37812 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
37813 AVX check.
37814
59178ef9
AS
378152011-09-07 Andreas Schwab <schwab@redhat.com>
37816
37817 [BZ #13144]
37818 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
37819 last change.
37820
e38ba7ab
UD
378212011-09-07 Ulrich Drepper <drepper@gmail.com>
37822
37823 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37824 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
37825 syscall wrapper around clock_gettime in __vdso_clock_gettime.
37826 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
37827 clock_gettime.
37828
d53a73ac
UD
378292011-09-06 Ulrich Drepper <drepper@gmail.com>
37830
fc8bffcc
UD
37831 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
37832 Forgot to demangle the pointer.
37833
ceaa0c5d
UD
37834 * sysdeps/i386/sysdep.h: Define atom_text_section.
37835 * sysdeps/x86_64/sysdep.h: Likewise.
37836 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
37837 section with atom_text_section.
37838 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37839 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37840 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
37841 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
37842 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
37843
a77d3c17
UD
37844 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
37845 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
37846 already be defined. Change to take two parameters and don't assign
37847 result to variable. Adjust all users.
37848 Define INTERNAL_GETTIME if not already defined.
37849 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
37850 call.
37851 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
37852 HAVE_CLOCK_GETTIME_VSYSCALL.
37853 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
37854
d53a73ac
UD
37855 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
37856 gettimeofday vsyscall, just use time.
37857
a8f84144
AS
378582011-09-06 Andreas Schwab <schwab@redhat.com>
37859
37860 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
37861 <errno.h>.
37862
ef606249
UD
378632011-09-06 Ulrich Drepper <drepper@gmail.com>
37864
37865 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
37866 syscall on x86-64.
37867 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
37868 syscall.
37869 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
37870 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
37871 syscall if possible.
37872
6585cb60
UD
378732011-09-05 Ulrich Drepper <drepper@gmail.com>
37874
37875 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
37876 e_ident. Don't pass to find_mapsXX.
37877 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
37878
a5f524e4
LD
378792011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
37880
37881 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37882 strchr-sse2-no-bsf strrchr-sse2-no-bsf
37883 * sysdeps/x86_64/multiarch/strchr.S: Update.
37884 Check bit_slow_BSF bit.
37885 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37886 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
37887 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
37888
554881ef
UD
378892011-09-05 Ulrich Drepper <drepper@gmail.com>
37890
d96de963
UD
37891 [BZ #13134]
37892 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
37893 before glibc 2.15.
37894 (tryshell): Define.
37895 (__spawni): Change last parameter to be flag. Test
37896 SPAWN_XFLAGS_USE_PATH flag to use path or not.
37897 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
37898 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
37899 * posix/spawni.c: Likewise.
37900 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
37901 * posix/spawnp.c: Likewise. Change normal version to use
37902 SPAWN_XFLAGS_USE_PATH.
37903 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
37904 SPAWN_XFLAGS_TRY_SHELL.
37905
d48e5868
UD
37906 [BZ #13150]
37907 * posix/glob.h: Remove gcc 1.x support.
37908
554881ef
UD
37909 [BZ #13068]
37910 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
37911
693fb948
LD
379122011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
37913
37914 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37915 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
37916 strrchr-sse2-bsf
37917 * sysdeps/i386/i686/multiarch/strchr.S: New file.
37918 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
37919 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
37920 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
37921 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
37922 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
37923
1b48c537
UD
379242011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37925
49d42c37
UD
37926 * sysdeps/x86_64/wcscmp.S: New file.
37927
1b48c537
UD
37928 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
37929 wcscmp-c wcscmp-sse2
37930 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
37931 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
37932 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
37933 * wcsmbs/wcscmp.c: Allow renaming.
37934
15c95c5d
DM
379352011-09-05 David S. Miller <davem@davemloft.net>
37936
37937 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
37938 stack slot, rather than the struct return pointer slot.
37939 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
37940 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
37941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
37942 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
37943
2f0ad8f3
UD
379442011-09-05 Ulrich Drepper <drepper@gmail.com>
37945
d88ae418
UD
37946 * po/ja.po: Update from translation team.
37947
2f0ad8f3
UD
37948 [BZ #13144]
37949 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
37950 kernel in 64-bit binaries.
37951
5f4318d1
DM
379522011-09-01 David S. Miller <davem@davemloft.net>
37953
37954 * elf/elf.h (HWCAP_SPARC_*): Move to..
37955 * sysdeps/sparc/sysdep.h: this new file and add new values.
37956 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
37957 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
37958 _DL_HWCAP_COUNT to 24.
37959 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37960 entries.
37961 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
37962 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
37963 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
37964 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
37965 instead of magic constants.
37966 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37967
3ba57516
DM
379682011-08-31 David S. Miller <davem@davemloft.net>
37969
37970 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
37971 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
37972 Reimplement to do errno handling inline.
37973 (SYSCALL_ERROR_HANDLER): New macro.
37974 (__SYSCALL_STRING): Do not do errno handling in asm.
37975 (__CLONE_SYSCALL_STRING): Delete.
37976 (__INTERNAL_SYSCALL_STRING): Delete.
37977 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
37978 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
37979 (PSEUDO): Reimplement to do errno handling inline.
37980 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
37981 (SYSCALL_ERROR_HANDLER): New macro.
37982 (__SYSCALL_STRING): Do not do errno handling in asm.
37983 (__CLONE_SYSCALL_STRING): Delete.
37984 (__INTERNAL_SYSCALL_STRING): Delete.
37985 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
37986 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
37987 i386.
37988 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
37989 (inline_syscall*): Add 'err' argument.
37990 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
37991 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
37992 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
37993 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
37994
37995 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
37996 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37997
2bc17433
AS
379982011-08-30 Andreas Schwab <schwab@redhat.com>
37999
38000 * elf/rtld.c (dl_main): Relocate objects in dependency order.
38001
fbeb5f4d
JO
380022011-08-29 Jiri Olsa <jolsa@redhat.com>
38003
38004 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38005 directive.
38006
ad69cc26
DM
380072011-08-24 David S. Miller <davem@davemloft.net>
38008
38009 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38010
39dd69df
AS
380112011-08-24 Andreas Schwab <schwab@redhat.com>
38012
38013 * elf/Makefile: Add rules to build and run unload8 test.
38014 * elf/unload8.c: New file.
38015 * elf/unload8mod1.c: New file.
38016 * elf/unload8mod1x.c: New file.
38017 * elf/unload8mod2.c: New file.
38018 * elf/unload8mod3.c: New file.
38019
38020 * elf/dl-close.c (_dl_close_worker): Reset private search list if
38021 it wasn't used.
38022
2c0b250a
DM
380232011-08-23 David S. Miller <davem@davemloft.net>
38024
38025 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38026 subtract stack bias.
38027 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38028 %sp not %fp in calculations.
38029 (_JMPBUF_UNWINDS_ADJ): Likewise.
38030
22044b48
DM
38031 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38032 (aio_suspend): Call it to force an exception region around the
38033 AIO_MISC_WAIT() invocation.
38034
2cae4995
AS
380352011-08-23 Andreas Schwab <schwab@redhat.com>
38036
38037 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38038 backslash.
38039
873a772e
AJ
380402011-07-04 Aurelien Jarno <aurelien@aurel32.net>
38041
38042 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38043 protection macro.
38044 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38045 and <dl-machine.h>.
38046 (Elf64_FuncDesc): Remove.
38047
25ad0df1
DM
380482011-08-22 David S. Miller <davem@davemloft.net>
38049
38050 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38051 sigaltstack check, add missing cfi directives.
38052 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38053 missing cfi directives, and sigaltstack handling.
38054
e888bcbe
AS
380552011-08-16 Andreas Schwab <schwab@redhat.com>
38056
38057 [BZ #11724]
38058 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38059 object is seen twice.
38060 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38061
38062 * elf/Makefile (distribute): Add tst-initorder2.c.
38063 (tests): Add tst-initorder2.
38064 (modules-names): Add tst-initorder2a tst-initorder2b
38065 tst-initorder2c tst-initorder2d. Add rules to build them.
38066 ($(objpfx)tst-initorder2.out): New rule.
38067 * elf/tst-initorder2.c: New file.
38068 * elf/tst-initorder2.exp: New file.
38069
87162f46
AS
380702011-08-22 Andreas Schwab <schwab@redhat.com>
38071
70538b7f
AS
38072 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38073
f55ffe58
AS
38074 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38075 dependencies back to end of function.
38076
87162f46
AS
38077 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38078 $(elfobjdir)/ld.so.
38079
91b392a4
UD
380802011-08-21 Ulrich Drepper <drepper@gmail.com>
38081
38082 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38083 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38084 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38085 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38086 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38087 of __vdso_gettimeofday.
38088 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38089 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
38090 attribute_hidden.
38091 (_libc_vdso_platform_setup): Remove initialization of
38092 __vdso_gettimeofday and __vdso_time.
38093
5c43483f
UD
380942011-08-20 Ulrich Drepper <drepper@gmail.com>
38095
775a77e7
UD
38096 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38097 and fgetc_unlocked.
38098 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38099 getc_unlocked.
89f447ed 38100
49c74ba9
UD
38101 * elf/dl-open.c (add_to_global): Report additions to the global scope
38102 for LD_DEBUG=scopes.
38103 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 38104 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 38105
5c43483f
UD
38106 [BZ #13114]
38107 * stdio-common/Makefile (tests): Add bug24.
38108 * stdio-common/bug24.c: New file.
38109
a101b025
AJ
381102011-08-19 Andreas Jaeger <aj@suse.de>
38111
38112 [BZ #13114]
38113 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38114 non-existant file when using close-on-exec mode.
38115
c88f1766
UD
381162011-08-20 Ulrich Drepper <drepper@gmail.com>
38117
0276a718
UD
38118 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38119 the very first instruction.
38120
c88f1766
UD
38121 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38122 the CFI state in the end.
38123 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38124 inclusion of dl-trampoline.h.
38125 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38126
51ccffa0
AS
381272011-08-19 Andreas Schwab <schwab@redhat.com>
38128
94d7165f
AS
38129 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38130 expectations for long double.
38131
51ccffa0
AS
38132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38133 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38134
fd708658 381352011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
38136
38137 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38138 artificual limit depends upon the system page size.
38139
44f0a71e
UD
381402011-08-17 Ulrich Drepper <drepper@gmail.com>
38141
38142 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38143 * resolv/Makefile: Define CFLAGS-libresolv.
38144
8de79a24
AS
381452011-08-17 Andreas Schwab <schwab@redhat.com>
38146
38147 * nss/makedb.c (compute_tables): Make variables used in nested
38148 function static.
38149
27724598
UD
381502011-08-17 Ulrich Drepper <drepper@gmail.com>
38151
c5305d88
UD
38152 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38153 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38154 if buffer was too small.
38155
27724598
UD
38156 * elf/pldd.c (main): Attach to all threads in the process.
38157 Rewrite /proc handling to use *at functions.
38158
076fe015
UD
381592011-08-16 Ulrich Drepper <drepper@gmail.com>
38160
174baab3
UD
38161 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38162 specifies first scope to show.
38163 (dl_open_worker): Update callers. Move printing scope of new
38164 object to before the relocation.
44f0a71e 38165 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
38166 * sysdeps/generic/ldsodefs.h: Update declaration.
38167
076fe015
UD
38168 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38169 string for the scope number.
38170
a60df2c3
UD
381712011-08-14 Ulrich Drepper <drepper@gmail.com>
38172
38173 * nscd/servicescache.c (cache_addserv): Make sure written is always
38174 initialized.
38175
5e4287d1
RM
381762011-08-14 Roland McGrath <roland@hack.frob.com>
38177
85ae0589
RM
38178 * sysdeps/i386/i486/bits/atomic.h
38179 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38180 statement expression, so as to suppress "set but not used" warning.
38181 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38182
69f63097
RM
38183 * string/strncat.c (STRNCAT): Use prototype definition.
38184
675456ef
RM
38185 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38186 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38187 -Iprograms here.
38188 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38189 (localedef-modules): Add localedef.
38190 (locale-modules): Add locale.
38191
5e4287d1
RM
38192 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38193 * elf/rtld.c (dl_main): Invert order of assignment in last change,
38194 to avoid a warning.
38195
9c96ff23
DM
381962011-08-14 David S. Miller <davem@davemloft.net>
38197
38198 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38199 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38200
f9ddf089
UD
382012011-08-13 Ulrich Drepper <drepper@gmail.com>
38202
44f0a71e 38203 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
38204 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38205 * elf/rtld.c (dl_main): Set l_name of vDSO.
38206 Call _dl_show_scope when DL_DEBUG_SCOPES.
38207 (process_dl_debug): Recognize scopes flag and also set it for all.
38208 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38209 Declare _dl_show_scope.
38210
1dc27704
UD
38211 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38212 (do_dlopen): Pass caller_dlopen to dl_open.
38213 (__libc_dlopen_mode): Initialize caller_dlopen.
38214
f9ddf089
UD
38215 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38216 of libc. Make tolower call locale-independent. Optimize a bit by
38217 using isdigit instead of isalnum.
38218 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38219
9ac533d3
UD
382202011-08-12 Ulrich Drepper <drepper@gmail.com>
38221
38222 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38223 was a dependency or dynamically loaded.
38224
89edf2e9
UD
382252011-08-11 Ulrich Drepper <drepper@gmail.com>
38226
8e999d29
UD
38227 * intl/l10nflist.c: Allow architecture-specific pop function.
38228 * sysdeps/x86_64/l10nflist.c: New file.
38229
89edf2e9
UD
38230 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38231 classification.
38232
14d96785
AS
382332011-08-10 Andreas Schwab <schwab@redhat.com>
38234
38235 * include/dirent.h: Add libc_hidden_proto for scandirat and
38236 scandirat64. Don't declare __scandirat64.
38237 * dirent/scandirat.c: Add libc_hidden_def.
38238 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38239 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38240
6761ac04
DM
382412011-08-10 David S. Miller <davem@davemloft.net>
38242
38243 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38244 enum.
38245 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38246 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38247 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38248
c55fbd1e
UD
382492011-08-09 Ulrich Drepper <drepper@gmail.com>
38250
38251 * Versions.def [libc]: Add GLIBC_2.15.
38252 * dirent/Makefile (routines): Add scandirat and scandirat64.
38253 * dirent/Versions [libc]: Export scandirat and scandirat64 for
38254 GLIBC_2.15.
38255 * dirent/dirent.h: Declare scandirat and scandirat64.
38256 * dirent/scandirat.c: New file.
38257 * dirent/scandirat64.c: New file.
38258 * sysdeps/wordsize-64/scandirat.c: New file.
38259 * sysdeps/wordsize-64/scandirat64.c: New file.
38260 * dirent/opendir.c: Define opendirat.
38261 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
38262 using scandirat.
38263 * dirent/scandir64.c: Adjust for scandir.c change.
38264 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
38265 __scandirat64, and __scandir_cancel_handler.
38266 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
38267 additional parameter and use openat instead of open (outside of ld.so).
38268 Add new __opendir as wrapper around __opendirat.
38269 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
38270 here without requiring old scandirat implementation.
38271
879165f2
UD
382722011-08-08 Ulrich Drepper <drepper@gmail.com>
38273
38274 * dirent/scandir.c (cancel_handler): Renamed to
38275 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
38276 defined. Adjust users.
38277 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
38278 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
38279
cb7e923b
UD
382802011-08-04 Ulrich Drepper <drepper@gmail.com>
38281
16292edd
UD
38282 * string/test-string.h (IMPL): Use __STRING to expand name and then
38283 stringify it.
38284
cb7e923b
UD
38285 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
38286 of cleanups.
38287
cff82933
LD
382882011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38289
38290 * string/Makefile: Update.
38291 (strop-tests): Append strncat.
38292 * string/test-wcscmp.c: New file.
38293 New comprehensive test for wcscmp.
38294 * string/test-strcmp.c: Update.
38295 (WIDE): New define.
38296
9be9bfcc
AS
382972011-07-22 Andreas Schwab <schwab@redhat.com>
38298
38299 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
38300 line.
38301
2e96f1c7
AS
383022011-07-26 Andreas Schwab <schwab@redhat.com>
38303
38304 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38305 encoding to ACE if AI_IDN.
38306
85188888
JJ
383072011-08-01 Jakub Jelinek <jakub@redhat.com>
38308
38309 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
38310 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
38311
5fa16e9b
LD
383122011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38313
38314 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
38315 Fix overflow bug in strncat.
38316 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
38317
38318 * string/test-strncat.c: Update.
38319 Add new tests for checking overflow bugs.
38320
383212011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38322
38323 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38324 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
38325 * sysdeps/i386/i686/multiarch/strcat.S: New file.
38326 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
38327 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
38328 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
38329 * sysdeps/i386/i686/multiarch/strncat.S: New file.
38330 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
38331 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
38332
38333 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
38334 (USE_AS_STRCAT): Define.
38335 Add strcat and strncat support.
38336 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38337
8c1a459f
AS
383382011-07-25 Andreas Schwab <schwab@redhat.com>
38339
38340 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
38341 __n bigger than INT_MAX+1.
38342 (__strncmp_g): Likewise.
38343
bba33c28
UD
383442011-07-23 Ulrich Drepper <drepper@gmail.com>
38345
798be72d
UD
38346 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
38347 * libio/stido.h: Likewise.
38348
8accd4dc
UD
38349 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
38350 (AF_NFC): Define.
38351 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
38352 (AF_NFC): Define.
38353
cbff0d96
UD
38354 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
38355 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38356 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38357 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
38358 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38359
9191c04a
UD
38360 [BZ #13021]
38361 * scripts/test-installation.pl: Don't expect libnss_test1 to be
38362 installed.
38363
bba33c28
UD
38364 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
38365 typo.
38366 (_dl_x86_64_save_sse): Likewise.
38367
90f139dd
UD
383682011-07-22 Ulrich Drepper <drepper@gmail.com>
38369
1aae088a
UD
38370 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
38371 OSXSAVE.
38372 (_dl_x86_64_save_sse): Likewise.
38373
8e2045f5
UD
38374 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
38375
90f139dd
UD
38376 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
38377
1d002f25
AS
383782011-07-21 Andreas Schwab <schwab@redhat.com>
38379
38380 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
38381 change.
38382 (_dl_x86_64_save_sse): Use correct AVX check.
38383
21137f89
UD
383842011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38385
38386 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
38387 bug in strncpy/strncat.
38388 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
38389
a65c0b7a
UD
383902011-07-21 Ulrich Drepper <drepper@gmail.com>
38391
38392 * string/tester.c (test_strcat): Add tests for different alignments
38393 of source and destination.
38394 (test_strncat): Likewise.
38395
6986b98a
UD
383962011-07-20 Ulrich Drepper <drepper@gmail.com>
38397
90bb2039
UD
38398 [BZ #12852]
38399 * posix/glob.c (glob): Check passed in values before using them in
38400 expressions to avoid some overflows.
38401 (glob_in_dir): Likewise.
38402
5644ef54
UD
38403 [BZ #13007]
38404 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
38405 check for AVX enablement so that we don't crash with old kernels and
38406 new hardware.
38407 * elf/tst-audit4.c: Add same checks here.
38408 * elf/tst-audit6.c: Likewise.
38409
38410 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 38411
bfc9dc9b
AS
384122011-07-09 Andreas Schwab <schwab@linux-m68k.org>
38413
38414 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
38415
702e64bb
UD
384162011-07-20 Ulrich Drepper <drepper@gmail.com>
38417
38418 * po/cs.po: Update from translation team.
38419 * po/bg.po: Likewise.
38420
295e904f
MP
384212011-07-12 Marek Polacek <mpolacek@redhat.com>
38422
38423 * misc/sys/cdefs.h: Add support for const attribute.
38424 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
38425 to gnu_dev_{major,minor,makedev} functions.
38426
3ff94596
MP
384272011-07-20 Marek Polacek <mpolacek@redhat.com>
38428
38429 * intl/dcigettext.c (get_output_charset): Add missing bracket.
38430
28b59fca
AS
384312011-07-20 Andreas Schwab <schwab@redhat.com>
38432
38433 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
38434 strlen results.
38435
19df733e
AK
384362011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38437
38438 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
38439 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
38440 register in order to avoid conflicts with the soft frame pointer
38441 being held in r11 when necessary.
38442 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
38443 (INTERNAL_VSYSCALL_NCS): Likewise.
38444
c8835729
MP
384452011-07-14 Marek Polacek <mpolacek@redhat.com>
38446
38447 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
38448 * elf/dl-fini.c (_dl_fini): Adjust caller.
38449 * elf/dl-close.c (_dl_close_worker): Likewise.
38450 * sysdeps/generic/ldsodefs.h: Adjust declaration.
38451
b902330c
MP
384522011-07-15 Marek Polacek <mpolacek@redhat.com>
38453
8991e135
MP
38454 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
38455 "aux_cache->nlibs < 0".
38456
b902330c
MP
38457 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
38458 in the reload-count case.
38459
99710781
LD
384602011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38461
38462 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38463 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
38464 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
38465 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
38466 * sysdeps/x86_64/multiarch/strcat.S: New file.
38467 * sysdeps/x86_64/multiarch/strncat.S: New file.
38468 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
38469 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
38470 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
38471 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
38472 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
38473 (USE_AS_STRCAT): Define.
38474 Add strcat and strncat support.
38475 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38476 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38477 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
38478 * string/strncat.c: Update.
38479 (USE_AS_STRNCAT): Define.
38480 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38481 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
38482 and i7.
38483 * sysdeps/x86_64/multiarch/init-arch.h
38484 (bit_Prefer_PMINUB_for_stringop): New.
38485 (index_Prefer_PMINUB_for_stringop): Likewise.
38486 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
38487 bit_Prefer_PMINUB_for_stringop.
38488
7dc6bd90
UD
384892011-07-19 Ulrich Drepper <drepper@gmail.com>
38490
38491 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
38492 buffer64.
38493 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
38494 of casting of buffer.
38495 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
38496 buffer32 and buffer64.
38497 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
38498 writes instead of casting of buffer.
38499 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
38500 buffer32.
38501 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
38502 casting of buffer.
38503
e0e72284
AS
385042011-07-19 Andreas Schwab <schwab@redhat.com>
38505
38506 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
38507
feb1eb0b
UD
385082011-07-19 Ulrich Drepper <drepper@gmail.com>
38509
38510 * nscd/nscd.c (termination_handler): Don't do anything for a database
38511 if it has not yet been initialized.
38512
298711ff
UD
385132011-07-18 Ulrich Drepper <drepper@gmail.com>
38514
38515 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38516
385172011-07-15 Marek Polacek <mpolacek@redhat.com>
38518
38519 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38520
f9d68389
UD
385212011-07-18 Ulrich Drepper <drepper@gmail.com>
38522
38523 * po/nl.po: Update from translation team.
38524 * po/sv.po: Likewise.
38525
db290cf5
RM
385262011-07-16 Roland McGrath <roland@hack.frob.com>
38527
38528 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
38529 now disallowed by GCC.
5c550700 38530
fd5e21c7
RM
38531 * configure.in (use-default-link): Default to yes if a test -shared
38532 link meets our qualifications.
38533 * configure: Regenerated.
38534
5c550700
RM
38535 * config.make.in (output-format): New variable.
38536 * configure.in: Check for ld --print-output-format support.
38537 * configure: Regenerated.
38538 * Makerules ($(common-objpfx)format.lds)
38539 [$(output-format) != unknown]: Just use $(output-format),
38540 instead of the linker-script munging.
38541
9fa2c032
RM
385422011-07-14 Roland McGrath <roland@hack.frob.com>
38543
a6928d51
RM
38544 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
38545 of $(common-objpfx)shlib.lds.
38546 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
38547
661607b3
RM
38548 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
38549 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
38550
9fa2c032
RM
38551 * configure.in (-z relro check): Adjust test code to add a large
38552 writable data section after it.
38553 * configure: Regenerated.
38554
defe9061
RM
385552011-07-11 Roland McGrath <roland@hack.frob.com>
38556
38557 * configure.in (-z relro check): Fix test code to make the variable
38558 truly const.
38559 * configure: Regenerated.
38560
319b9ad4
UD
385612011-07-11 Ulrich Drepper <drepper@gmail.com>
38562
38563 * nscd/nscd.h (struct traced_file): Define.
38564 (struct database_dyn): Remove inotify_descr, reset_res, and filename
38565 elements. Add traced_files.
38566 (inotify_fd): Declare.
38567 (register_traced_file): Declare.
38568 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
38569 (inotify_fd): Export.
38570 (resolv_conf_descr): Remove.
38571 (nscd_init): Move inotify descriptor creation to main.
38572 Don't register files for notification here.
38573 (register_traced_file): New function.
38574 (invalidate_cache): Don't use reset_res to determine whether to call
38575 res_init, go through the list of registered files.
38576 (main_loop_poll): The inotify descriptors are now stored in the
38577 structures for the traced files.
38578 (main_loop_epoll): Likewise
38579 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
38580 to __nss_disable_nscd.
38581 * nscd/cache.c (prune_cache): There is no single inotify descriptor
38582 for a database anymore. Check the records for all the registered
38583 files instead.
38584 * nss/Makefile (libnss_files-routines): Add files-init.
38585 (libnss_db-routines): Add db-init.
38586 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
38587 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
38588 * nss/nss_db/db-init.c: New file.
38589 * nss/nss_files/files-init.c: New file.
38590 * nss/nsswitch.c (nss_load_library): New function. Broken out of
38591 __nss_lookup_function.
38592 (__nss_lookup_function): Call nss_load_library.
38593 (nss_load_all_libraries): New function.
38594 (__nss_disable_nscd): Take parameter with callback function for files
38595 to register. Set is_nscd. Load all the DSOs for the NSS modules
38596 used for the cached services.
38597 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
38598 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
38599 options for features to all the files in nscd.
38600
38601 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
38602
23bee3e8
RM
386032011-07-10 Roland McGrath <roland@hack.frob.com>
38604
38605 * csu/elf-init.c (__libc_csu_init): Comment typo.
38606
46a5b7f0
UD
386072011-07-09 Ulrich Drepper <drepper@gmail.com>
38608
38609 * po/pl.po: Update from translation team.
38610 * po/ja.po: Likewise.
38611 * po/ru.po: Likewise.
38612 * po/ko.po: Likewise.
38613 * po/fr.po: Likewise.
38614
d30cf5bb
RM
386152011-07-09 Roland McGrath <roland@hack.frob.com>
38616
113ddea4
RM
38617 * configure.in (.ctors/.dtors header and trailer check):
38618 Use an empirical test on a built program.
38619 * configure: Regenerated.
38620
574920b4
RM
38621 * configure.in (-z relro check): Use an empirical test on a built DSO.
38622 Detect, but do not require, on ia64.
38623 * configure: Regenerated.
38624
d30cf5bb
RM
38625 * configure.in (READELF): Find it with AC_CHECK_TOOL.
38626 Update tests that use readelf to use $READELF instead.
38627 * configure: Regenerated.
38628
8538fdb3
UD
386292011-07-08 Ulrich Drepper <drepper@gmail.com>
38630
38631 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
38632 if the result is not used.
38633
04d08991
AJ
386342011-07-05 Andreas Jaeger <aj@suse.de>
38635
38636 [BZ#9696]
38637 * stdlib/tst-strtod.c: Add testcase.
38638
de283087
AD
386392011-07-07 Ulrich Drepper <drepper@gmail.com>
38640
4e5f31c8 38641 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 38642 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
38643 The latter has a higher limit. Take additional parameter to pass to
38644 the new function.
38645 (__pathconf): Pass file to __statfs_link_max.
38646 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
38647 __statfs_link_max.
38648 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
38649 __statfs_link_max.
38650
de283087
AD
38651 [BZ #12868]
38652 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
38653 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38654 Handle Lustre.
38655 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
38656 (__statfs_filesize_max): Likewise.
38657 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
38658
c75fa153
AJ
386592011-07-05 Andreas Jaeger <aj@suse.de>
38660
38661 * resolv/res_comp.c (dn_skipname): Remove unused variable.
38662
1a544854
UD
386632011-07-06 Marek Polacek <mpolacek@redhat.com>
38664
38665 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
38666 `status' variable.
38667 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
38668 Likewise.
38669
6f0eec67
UD
386702011-07-04 H.J. Lu <hongjiu.lu@intel.com>
38671
38672 * Makefile (strop-tests): Add strncat.
38673 * string/test-strncat.c: New file.
38674
aae30307
UD
386752011-06-30 Marek Polacek <mpolacek@redhat.com>
38676
38677 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
38678
c0cfb5eb
UD
386792011-06-21 Andreas Jaeger <aj@suse.de>
38680
38681 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
38682 Copy rule from iconvdata/Makefile.
38683
01636b21
UD
386842011-07-06 Ulrich Drepper <drepper@gmail.com>
38685
38686 [BZ #12922]
38687 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
38688 but no long options are defined, just return 'W'.
38689
9895c8bc
UD
386902011-06-22 Marek Polacek <mpolacek@redhat.com>
38691
38692 [BZ #9696]
38693 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
38694
5d4cf042
UD
386952011-07-06 Ulrich Drepper <drepper@gmail.com>
38696
38697 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
38698 netgroups to read.
960e5535 38699 (innetgr): Likewise.
5d4cf042 38700
751eb97e
RM
387012011-07-05 Roland McGrath <roland@hack.frob.com>
38702
38703 * config.make.in (install_root): Default to $(DESTDIR).
38704
f15f1e45
UD
387052011-07-05 Ulrich Drepper <drepper@gmail.com>
38706
38707 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
38708
4e34ac6a
RM
387092011-07-02 Roland McGrath <roland@hack.frob.com>
38710
5e9b6af4
RM
38711 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
38712
84f9ea0f
RM
38713 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
38714 containing directory rather than embedding absolute directory names.
38715
ea5ee9f7
RM
38716 * scripts/check-local-headers.sh: Rewritten using awk.
38717 Match by word, not by line. Print error messages for matches.
38718 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
38719
1b74661a
RM
38720 * Makerules [shlib-lds-flags empty]:
38721 ($(common-objpfx)libc_pic.opts): New target.
38722 ($(common-objpfx)libc_pic.os.clean): New target.
38723 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
38724
38725 * config.make.in (OBJCOPY): New variable.
38726 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
38727 * configure: Regenerated.
38728
f781ef40
RM
38729 * config.make.in (use-default-link): New variable.
38730 * configure.in (use_default_link): Grok --with-default-link to set it.
38731 * configure: Regenerated.
38732 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
38733 (shlib-lds, shlib-lds-flags): Define to empty.
38734
2d4fa81e
RM
38735 * Makerules (shlib-lds): New variable.
38736 (shlib-lds-flags): New variable.
38737 (build-shlib, build-moduile, build-module-asneeded): Use it.
38738 ($(common-objpfx)libc.so): Use $(shlib-lds).
38739 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
38740 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
38741
31fffa6b
RM
38742 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
38743 DT_FLAGS/DT_FLAGS_1 with zero flags.
38744
4e34ac6a
RM
38745 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
38746 linker script munging.
38747
fcfc776b
UD
387482011-07-02 Ulrich Drepper <drepper@gmail.com>
38749
38750 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
38751 as 128-bit value.
38752 * crypt/sha512.c (sha512_process_block): Perform total addition using
38753 128-bit if possible.
38754 (__sha512_finish_ctx): Likewise.
38755 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
38756 as 64-bit value.
38757 * crypt/sha256.c (SWAP64): Define.
38758 (sha256_process_block): Perform total addition using 64-bit if
38759 possible.
38760 (__sha256_finish_ctx): Likewise.
38761
99231d9a
UD
387622011-07-01 Ulrich Drepper <drepper@gmail.com>
38763
38764 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
38765 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38766 * nscd/hstcache.c (cache_addhst): Likewise.
38767 * nscd/grpcache.c (cache_addgr): Likewise.
38768 * nscd/aicache.c (addhstaiX): Likewise
38769 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
38770
445b4a53
TK
387712011-07-01 Thorsten Kukuk <kukuk@suse.de>
38772
38773 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
38774 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38775 * nscd/hstcache.c (cache_addhst): Likewise.
38776 * nscd/grpcache.c (cache_addgr): Likewise.
38777 * nscd/aicache.c (addhstaiX): Likewise
38778
6d4d8e8e
AS
387792011-07-01 Andreas Schwab <schwab@redhat.com>
38780
38781 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
38782 domain only when needed.
38783
89f654c5
AS
387842011-06-30 Andreas Schwab <schwab@redhat.com>
38785
38786 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
38787 is always restored.
38788
cf3b23ff
UD
387892011-06-29 Ulrich Drepper <drepper@gmail.com>
38790
38791 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
38792 are re-adding the entry.
38793 * nscd/servicescache.c (cache_addserv): Likewise.
38794
751626f9
AJ
387952011-06-30 Aurelien Jarno <aurelien@aurel32.net>
38796
38797 * sysdeps/generic/dl-irel.h: fix protection against multiple
38798 inclusions.
38799 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
38800
9113ea1f
UD
388012011-06-28 Ulrich Drepper <drepper@gmail.com>
38802
5c0b8d90
UD
38803 [BZ #12935]
38804 * malloc/memusage.sh: Fix quoting in message.
38805 * debug/xtrace.sh: Likewise.
38806
9113ea1f
UD
38807 * configure.in: Remove support for --experimental-malloc option, make
38808 it the default.
38809 * config.make.in: Likewise.
38810 * malloc/Makefile: Likewise.
38811
a4172181
AS
388122011-06-27 Andreas Schwab <schwab@redhat.com>
38813
38814 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
38815 two-byte characters.
38816
78a7eee7
RM
388172011-06-27 Roland McGrath <roland@hack.frob.com>
38818
62bede13
RM
38819 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
38820 AC_CACHE_CHECK invocation.
38821 * configure: Regenerated.
38822
78a7eee7
RM
38823 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
38824
5ce33a62
UD
388252011-06-27 Ulrich Drepper <drepper@gmail.com>
38826
034807a9
UD
38827 [BZ #12350]
38828 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
38829 bit from old_res_options.
38830
4902da17
UD
38831 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
38832
5ce33a62
UD
38833 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
38834 value type for setfct.
38835
c2344f56
L
388362011-06-23 H.J. Lu <hongjiu.lu@intel.com>
38837
38838 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
38839 __gettimeofday instead of gettimeofday.
38840
68468076
UD
388412011-06-26 Ulrich Drepper <drepper@gmail.com>
38842
38843 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
38844
acb0d739
L
388452011-06-24 H.J. Lu <hongjiu.lu@intel.com>
38846
38847 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
38848
38849 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
38850 info.
38851
8912479f
L
388522011-06-22 H.J. Lu <hongjiu.lu@intel.com>
38853
38854 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38855 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
38856 strcpy-sse2-unaligned strncpy-sse2-unaligned
38857 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
38858 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
38859 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
38860 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
38861 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
38862 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
38863 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
38864 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
38865 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
38866 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
38867 (STRCPY): Support SSE2 and SSSE3 versions.
38868
d5495a11
UD
388692011-06-24 Ulrich Drepper <drepper@gmail.com>
38870
38871 [BZ #12874]
38872 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
38873 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
38874 kernels which artificially limit size of requests.
38875
0b1cbaae
L
388762011-06-22 H.J. Lu <hongjiu.lu@intel.com>
38877
38878 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38879 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
38880 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
38881 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
38882 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
38883 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
38884 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
38885 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
38886 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
38887 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
38888 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
38889 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
38890 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
38891 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
38892 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
38893 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38894 Enable unaligned load optimization for Intel Core i3, i5 and i7
38895 processors.
38896 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
38897 Define.
38898 (index_Fast_Unaligned_Load): Define.
38899 (HAS_FAST_UNALIGNED_LOAD): Define.
38900
07f494a0
MP
389012011-06-23 Marek Polacek <mpolacek@redhat.com>
38902
38903 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
38904
fa3fc0fe
UD
389052011-06-22 Ulrich Drepper <drepper@gmail.com>
38906
38907 [BZ #12907]
38908 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
38909 until it is clear that the information is realy needed.
38910 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
38911
e12df166
AS
389122011-06-22 Andreas Schwab <schwab@redhat.com>
38913
38914 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
38915
852eb34d
UD
389162011-06-22 Ulrich Drepper <drepper@gmail.com>
38917
84e2a551
UD
38918 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
38919 /sys/devices/system/cpu/online if it is usable.
38920
852eb34d
UD
38921 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
38922 reading the information from the /proc filesystem to once a second.
38923
6e502e19
UD
389242011-06-21 Andreas Jaeger <aj@suse.de>
38925
38926 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
38927 NULL after inclusion of kernel headers.
38928
75d39ff2
UD
389292011-06-21 Ulrich Drepper <drepper@gmail.com>
38930
51f9aa6a
UD
38931 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
38932 calls to internal_setent.
38933
c0244a9d
UD
38934 [BZ #12885]
38935 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
38936 addresses using gethostbyname4_r ignore IPv4 addresses.
38937
c5e3c2ae
UD
38938 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
38939 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
38940
75d39ff2
UD
38941 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
38942
42675c6f
DM
389432011-06-20 David S. Miller <davem@davemloft.net>
38944
38945 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
38946 inclusions.
38947 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
38948
38949 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
38950 (elf_irel): Use it.
38951 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
38952 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
38953 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
38954 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
38955 * sysdeps/x86_64/dl-irel.h: Likewise.
38956
38957 * elf/dl-runtime.c: Use elf_ifunc_invoke.
38958 * elf/dl-sym.c: Likewise.
38959
57912a71
UD
389602011-06-15 Ulrich Drepper <drepper@gmail.com>
38961
38962 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
38963 need to dereference resplen2.
38964
ee22793d
AS
389652011-06-14 Andreas Schwab <schwab@redhat.com>
38966
38967 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
38968
a9e836b0
UD
389692011-06-15 Ulrich Drepper <drepper@gmail.com>
38970
77fb9117
UD
38971 * Makeconfig: Define vardbdir and inst_vardbdir.
38972 * nss/Makefile: Add rules to install db-Makefile.
38973
40c1b22c
UD
38974 * nss/nss_db/db-XXX.c: Cleanup.
38975
9f2da732
UD
38976 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
38977 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
38978 GLIBC_PRIVATE.
38979 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
38980 * nss/makedb.c: Implement -g option to specify that value strings
38981 are generated and should not be added to table iterated over for
38982 get*ent calls.
38983 * nss/nss_db/db-initgroups.c: New file.
38984
82e9a1f7
UD
38985 * nss/getent.c: Add support for initgroups lookups through getgrouplist
38986 interface.
38987
c41af17e
UD
38988 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
38989 (internal_getgrouplist): Adjust to name change.
38990 Update use_initgroups_entry if this is not the first call.
38991 * nss/databases.def: Add initgroups entry.
38992
a9e836b0
UD
38993 * nss/makedb.c (compute_tables): Check result of multiple hash table
38994 sizes to minimize maximum chain length.
38995
2666d441
UD
389962011-06-14 Ulrich Drepper <drepper@gmail.com>
38997
38998 * Versions.def: Add entry for libnss_db.
38999 * shlib-versions: Likewise.
39000 * nss/Makefile: Add rules to build libnss_db.
39001 * nss/Versions: Add libnss_db information. Organize libnss_files
39002 entries better.
39003 * nss/db-Makefile: Add gshadow support. Change rules for the new
39004 makedb progra. Some minor improvements to generate smaller files.
39005 * nss/nss_db/nss_db.h: Move NSS database header data structures to
39006 here from...
39007 * nss/makedb.c: ...here.
39008 Improve database format to be smaller and require less memory at
39009 runtime.
39010 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
39011 db anymore.
39012 * nss/nss_db/db-netgrp.c: Likewise.
39013 * nss/nss_db/db-open.c: Likewise.
39014 * nss/nss_files/flies-XXX.x: Adjust comments.
39015 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39016 * nss/nss_files/files-grp.c: Likewise.
39017 * nss/nss_files/files-hosts.c: Likewise.
39018 * nss/nss_files/files-network.c: Likewise.
39019 * nss/nss_files/files-proto.c: Likewise.
39020 * nss/nss_files/files-pwd.c: Likewise.
39021 * nss/nss_files/files-rpc.c: Likewise.
39022 * nss/nss_files/files-service.c: Likewise.
39023 * nss/nss_files/files-sgrp.c: Likewise.
39024 * nss/nss_files/files-spwd.c: Likewise.
39025 * nss/nss_db/db-alias.c: Removed.
39026 * nss/nss_db/dummy-db.h: Removed.
39027
9ee76b5a
UD
390282011-06-02 Ulrich Drepper <drepper@gmail.com>
39029
39030 * nss/makedb.c: Rewritten to not use database library.
39031 * nss/Makefile: Update to build new makedb program.
39032
c71ca1f8
AJ
390332011-06-14 Andreas Jaeger <aj@suse.de>
39034
39035 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39036 memset declaration.
39037
3154bfb8
UD
390382011-06-10 Andreas Schwab <schwab@redhat.com>
39039
39040 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39041 tmpbuf.
39042
b350afab
RM
390432011-06-10 Roland McGrath <roland@hack.frob.com>
39044
decd4e50
RM
39045 * Makerules (shlib.lds): Fail if the linker script comes out empty.
39046 * elf/Makefile ($(objpfx)ld.so): Likewise.
39047
5615eaf2
RM
39048 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39049 Don't list ld.so twice in dependencies.
39050
39051 * posix/bug-regex31.c: Include <stdlib.h>.
39052
39053 * nscd/hstcache.c (cache_addhst): Remove unused variable.
39054
39055 * nis/nss_compat/compat-spwd.c
39056 (getspent_next_nss_netgr): Remove unused variable.
39057 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39058
39059 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39060 nonmembers" output to use the right array.
39061
39062 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39063
39064 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39065
39066 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39067 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39068 * catgets/gencat.c (read_input_file): Likewise.
39069 * locale/programs/locarchive.c (enlarge_archive): Likewise.
39070
39071 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39072 variable definition inside #if's controlling its use.
39073
39074 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39075
39076 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39077
39078 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39079
39080 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39081 unreachable code.
39082
39083 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39084
b68e08db
RM
39085 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39086 * configure: Regenerated.
39087
b350afab
RM
39088 * Makerules: Revert last change.
39089 * elf/Makefile: Likewise.
39090
28368601
RM
390912011-06-09 Roland McGrath <roland@hack.frob.com>
39092
39093 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39094 * elf/Makefile ($(objpfx)librtld.os): Likewise.
39095 (reloc-link): Likewise.
39096
11988f8f
UD
390972011-06-09 Ulrich Drepper <drepper@gmail.com>
39098
39099 * elf/Makefile: Add rules to build pldd.
39100 * elf/pldd.c: New file.
39101 * elf/pldd-xx.c: New file.
39102
e80fab37
UD
391032011-06-07 Ulrich Drepper <drepper@gmail.com>
39104
39105 * version.h: Update for 2.15 development version.
39106
9b849836
DM
391072011-06-07 David S. Miller <davem@davemloft.net>
39108
39109 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39110 ifuncs.
39111 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39112 elf_machine_lazy_rel): Likewise.
39113 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39114 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39115 elf_machine_lazy_rel): Likewise.
39116 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39117 dl_hwcap via passed in argument.
39118 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39119 Likewise.
39120
5a31b283
AK
391212011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39122
39123 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
39124
069e52f8
RM
391252011-06-06 Roland McGrath <roland@hack.frob.com>
39126
39127 [BZ #12849]
39128 * manual/fdl-1.1.texi: New file, verbatim from:
39129 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39130 * manual/lgpl-2.1.texi: New file, verbatim from:
39131 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39132 * manual/Makefile (licenses): New variable, list those new file names.
39133 (texis): Use it.
39134 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39135
39136 * manual/fdl.texi: File removed.
39137 * manual/lesser.texi: File removed.
39138 * manual/libc.texinfo (Copying, Documentation License):
39139 Use new @include file names, put @appendix directive before @include.
39140
f16846a5
JJ
391412011-06-04 Jakub Jelinek <jakub@redhat.com>
39142
39143 [BZ #12841]
39144 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39145 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39146 (mq_open): Add __NTH.
39147
3d29045b
L
391482011-06-02 H.J. Lu <hongjiu.lu@intel.com>
39149
39150 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39151 Assume Intel Core i3/i5/i7 processor if AVX is available.
39152
8c297311
UD
391532011-05-31 Ulrich Drepper <drepper@gmail.com>
39154
39155 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39156 typo.
39157
c8fc0c91
UD
391582011-05-31 Andreas Schwab <schwab@redhat.com>
39159
39160 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39161 memory. Use alloca_account. Fix memory leak when retrying.
39162
5b27a807
UD
391632011-05-31 Ulrich Drepper <drepper@gmail.com>
39164
356f8bc6
UD
39165 * version.h (RELEASE): Bump for 2.14 release.
39166 * include/features.h (__GLIBC_MINOR__): Bump to 14.
39167
5b27a807
UD
39168 * config.make.in (RANLIB): Remove entry.
39169
01f16ab0
UD
391702011-05-30 Ulrich Drepper <drepper@gmail.com>
39171
41fce8bd
UD
39172 * po/Makefile (po-sed-cmd): Add ksh to extensions.
39173 (libc.pot): Work around missing support for .ksh extension in xgettext.
39174
4769ae77
UD
39175 [BZ #12684]
39176 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39177 if both request failed.
39178 (send_dg): In case of server errors clear resplen or *resplen2.
39179
6b1e7d19
UD
39180 [BZ #12454]
39181 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39182 when there are multiple maps.
39183 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39184 (_dl_fini): Remove test here.
39185
01f16ab0
UD
39186 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39187
b1ebd700
UD
391882011-05-29 Ulrich Drepper <drepper@gmail.com>
39189
7ae22829
UD
39190 [BZ #12350]
39191 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39192 bit from old_res_options.
39193 (gaih_inet): Likewise.
39194
553149f6 39195 [BZ #11099]
18a84741 39196 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
39197 as signed.
39198
652ffab1
UD
39199 * resolv/res_init.c (res_setoptions): Make the code more compact.
39200
16985fd0
UD
39201 [BZ #11558]
39202 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39203 set RES_USEVC.
39204
0464f746
UD
39205 [BZ #11634]
39206 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39207
7d17596c
UD
39208 * malloc/malloc.h: Mark malloc hook variables as deprecated.
39209
cf6bbbd7
UD
39210 [BZ #11781]
39211 * malloc/malloc.h: Declare malloc hook variables as volatile.
39212
13f1ab36
UD
39213 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39214 in last patch.
39215
b1ebd700
UD
39216 [BZ #11799]
39217 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 39218 raise in the comment.
80e2212d
UD
39219 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39220 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39221 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 39222
ce67228d
UD
392232011-05-28 Ulrich Drepper <drepper@gmail.com>
39224
8887a920
UD
39225 [BZ #12811]
39226 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39227 grow the buffers more if it already has to be sufficient.
39228 (build_wcs_upper_buffer): Likewise.
39229 * posix/regexec.c (check_matching): Likewise.
39230 (clean_state_log_if_needed): Likewise.
39231 (extend_buffers): Don't enlarge buffers beyond size of the input
39232 buffer.
39233 Patches mostly by Emil Wojak <emil@wojak.eu>.
39234 * posix/bug-regex32.c: New file.
39235 * posix/Makefile (tests): Add bug-regex32.
39236
4f031072
UD
39237 * locale/findlocale.c (_nl_find_locale): Return right away if
39238 _nl_explode_name failed.
39239 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39240
d0478f0c
UD
39241 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39242
de81b246
UD
39243 * debug/xtrace.sh: Unify messages.
39244 * malloc/memusage.sh: Likewise.
39245
c738465a
UD
39246 [BZ #12813]
39247 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39248 time symbol from vDSO. Substitute with vsyscall if not available.
39249 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39250 __vdso_time.
39251
f1f929d7
UD
39252 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39253 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39254 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39255 Add sendmmsg and internal_sendmmsg.
39256 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39257 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39258 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39259
ce67228d
UD
39260 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39261 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
39262 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
39263
e57420c6
UD
392642011-05-27 Ulrich Drepper <drepper@gmail.com>
39265
a8509ca5
UD
39266 [BZ #12813]
39267 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
39268 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
39269 available.
39270 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
39271 __vdso_getcpu.
39272
e57420c6
UD
39273 [BZ #12814]
39274 * iconvdata/Makefile (tests): Add bug-iconv9.
39275 * iconvdata/bug-iconv9.c: New file.
39276
4d07db15
AS
392772011-05-27 Andreas Schwab <schwab@redhat.com>
39278
39279 [BZ #12814]
39280 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
39281
ea486f69
JJ
392822011-05-25 Jakub Jelinek <jakub@redhat.com>
39283
39284 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39285 (struct user_regs_struct): Change intcs field back to cs.
39286
6f038433
UD
392872011-05-25 Ulrich Drepper <drepper@gmail.com>
39288
39289 * po/ja.po: Update from translation team.
39290
67f86a25
UD
392912011-05-23 Ulrich Drepper <drepper@gmail.com>
39292
39293 [BZ #12795]
39294 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
39295 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
39296
def7fbd6
AS
392972011-05-20 Andreas Schwab <schwab@redhat.com>
39298
39299 * stdlib/longlong.h: Update from GCC.
39300
f50ef8f1
AS
393012011-05-23 Andreas Schwab <schwab@redhat.com>
39302
39303 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
39304 parameter name.
39305 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
39306 Add parameter name.
39307 (__sysconf): Pass it down.
39308
de7ce8f1
UD
393092011-05-22 Ulrich Drepper <drepper@gmail.com>
39310
f2962a71
UD
39311 [BZ #12671]
39312 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
39313 some situations.
39314 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39315 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
39316 add in in __libc_use_alloca calls. Adjust callers.
39317 (glob): Use malloc in some situations.
39318
de7ce8f1
UD
39319 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
39320 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
39321 pltexit.
39322
aec84f53
UD
393232011-05-21 Ulrich Drepper <drepper@gmail.com>
39324
05bb4a68
UD
39325 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
39326 and CLOCK_BOOTTIME_ALARM.
39327
7ea72f99
UD
39328 [BZ #12782]
39329 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
39330 is returned.
39331
7e4afad5
UD
39332 * string/_strerror.c (__strerror_r): Print negative errors as signed
39333 numbers.
39334
8e211fec
UD
39335 [BZ #12777]
39336 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
39337 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
39338 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
39339
f7d82dc9
UD
39340 * configure.in: Fix typo in redirection and correct removal of test
39341 files in two cases.
39342
cc9e536d
UD
39343 [BZ #12788]
39344 * locale/setlocale.c (new_composite_name): Fix test to check for
39345 identical name of all categories.
39346
aec84f53
UD
39347 [BZ #12792]
39348 * libio/filedoalloc.c (local_isatty): New function.
39349 (_IO_file_doallocate): Use local_isatty.
39350 * stdio-common/perror.c (perror): In case a new stream is used
39351 forward the stream error.
39352 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
39353 error flag.
39354
78e64fdc
RT
393552011-05-20 Ulrich Drepper <drepper@gmail.com>
39356
34a9094f
UD
39357 [BZ #11869]
39358 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
39359 alloca.
39360 * include/alloca.h (extend_alloca_account): Define.
39361
78e64fdc
RT
39362 [BZ #11857]
39363 * posix/regex.h: Fix comments with documentation of user-accessible
39364 fields after compilation and describe correct free'ing of pattern
39365 after re_compile_pattern.
39366 Patch by Reuben Thomas <rrt@sc3d.org>.
39367
457bddfc
RA
393682011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
39369
39370 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
39371 and -mno-altivec to prevent the compiler from using Altivec and/or
39372 VSX instructions when the corresponding registers are not available.
39373
a4527b51
AS
393742011-05-19 Andreas Schwab <schwab@redhat.com>
39375
39376 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
39377
ed690b2f
UD
393782011-05-19 Ulrich Drepper <drepper@gmail.com>
39379
39380 * libio/freopen.c (freopen): Use __dup2, not dup2.
39381 * libio/freopen64.c (freopen64): Likewise.
39382
8db73634
L
393832011-05-17 H.J. Lu <hongjiu.lu@intel.com>
39384
39385 [BZ #12775]
39386 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
39387 * math/Makefile (tests): Add test-powl.
39388 (CFLAGS-test-powl.c): Define.
39389 * math/test-powl.c: New file.
39390
0a197a9d
L
393912011-05-16 H.J. Lu <hongjiu.lu@intel.com>
39392
39393 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
39394
ee30c380
UD
393952011-05-17 Ulrich Drepper <drepper@gmail.com>
39396
39397 [BZ #11837]
39398 * iconvdata/gb18030.c: Update to GB18020-2005.
39399
6ce75379
UD
394002011-05-16 Ulrich Drepper <drepper@gmail.com>
39401
a4b89fd8
AR
39402 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
39403 RE_SYNTAX_POSIX_AWK): Update to match recent development.
39404 Patch by Aharon Robbins <arnold@skeeve.com>.
39405
ea389b12
UD
39406 [BZ #11892]
39407 * stdlib/putenv.c (putenv): Don't always create copy of the variable
39408 on the stack.
39409
68a3f91f
UD
39410 [BZ #11895]
39411 * misc/pselect.c (__pselect): Handle timeout value errors hidden
39412 through underflows.
39413
15cc7dd1
UD
39414 [BZ #12766]
39415 * misc/error.c (error_at_line): Ensure file_name and old_file_name
39416 point to strings before performing equality test for error_one_per_line
39417 mode.
39418
f3799213
UD
39419 [BZ #11697]
39420 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
39421
d79a9c94
UD
39422 [BZ #11820]
39423 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39424 (struct user_fpregs_struct): Avoid __uint*_t types.
39425
56e5eb46
UD
39426 [BZ #6420]
39427 * malloc/mtrace.c (tr_where): Add additional parameter to point to
39428 symbol info. Use it instead of calling _dl_addr locally.
39429 (lock_and_info): New function.
39430 (tr_freehook): Call lock_and_info and pass symbol info as additional
39431 parameter to tr_where.
39432 (tr_mallochook): Likewise.
39433 (tr_reallochook): Likewise.
39434 (tr_memalignhook): Likewise.
39435
6ce75379
UD
39436 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
39437 used and couldn't be at all thread-safe.
39438
f8a3b5bf
UD
394392011-05-15 Ulrich Drepper <drepper@gmail.com>
39440
94b7cc37
UD
39441 * libio/freopen.c (freopen): Don't close old file descriptor
39442 before the new one is opened. Instead dup the new file descriptor
39443 to the old one after the new stream is created.
39444 * libio/freopen64.c (freopen64): Likewise.
39445 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
39446 * libio/fileops.c (_IO_new_file_close_it): Handle new
39447 _IO_FLAGS2_NOCLOSE flag.
39448 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
39449 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
39450 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
39451 _IO_FLAGS2_NOCLOSE flag.
39452 * include/unistd.h: Add hidden_proto for dup3.
39453 Define __have_dup3.
39454 * io/dup3.c: Define hidden symbol.
39455 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
39456
bd25564e
UD
39457 [BZ #7101]
39458 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
39459 when an incomplete long option is used.
39460 * posix/tst-getopt_long1.c: New file.
39461 * posix/Makefile (tests): Add tst-getopt_long1.
39462
c84cfef4
UD
39463 [BZ #10138]
39464 * scripts/config.guess: Update from autoconf-2.68.
39465 * scripts/config.sub: Likewise.
39466
3b85df27
UD
39467 [BZ #10157]
39468 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
39469 tests into ...
39470 (has_cpuclock): ...this. New function.
39471 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
39472 macro here based on has_cpuclock code.
39473
15a856b1
UD
39474 [BZ #10149]
39475 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39476 First byte (not low byte) is now always NUL.
39477 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
39478
05f399e6
UD
39479 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39480 Use non-cancelable interfaces.
39481
10a52685 39482 [BZ #9809]
94ecc67d
UD
39483 * locale/iso-639.def: Add entry for Sorani.
39484
f8a3b5bf
UD
39485 [BZ #11901]
39486 * include/stdlib.h: Move include protection to the right place.
39487 Define abort_msg_s. Declare __abort_msg with it.
39488 * stdlib/abort.c (__abort_msg): Adjust type.
39489 * assert/assert.c (__assert_fail_base): New function. Majority
39490 of code from __assert_fail. Allocate memory for __abort_msg with
39491 mmap.
39492 (__assert_fail): Now call __assert_fail_base.
39493 * assert/assert-perr.c: Remove bulk of implementation. Use
39494 __assert_fail_base.
39495 * include/assert.hL Declare __assert_fail_base.
39496 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
39497 mmap.
39498 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
39499
1af4e298
UD
395002011-05-14 Ulrich Drepper <drepper@gmail.com>
39501
f8a3b5bf 39502 [BZ #11952]
d26dfc60
MG
39503 [BZ #12453]
39504 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
39505 until all modules are registered in the DTV.
39506 * elf/Makefile: Add rules to build and run tst-tls19.
39507 * elf/tst-tls19.c: New file.
39508 * elf/tst-tls19mod1.c: New file.
39509 * elf/tst-tls19mod2.c: New file.
39510 * elf/tst-tls19mod3.c: New file.
39511 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
39512
2fc54d6f
UD
39513 [BZ #12083]
39514 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
39515 correctly.
39516
98d76b46
UD
39517 [BZ #12601]
39518 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
39519 two-byte sequence errors.
39520 * iconvdata/Makefile (tests): Add bug-iconv8.
39521 * iconvdata/bug-iconv8.c: New file.
39522
da3c19ef
UD
39523 [BZ #12626]
39524 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
39525 buf2 definition.
39526
ca408c15
UD
39527 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
39528
d6f67f7d
UD
39529 [BZ #12432]
39530 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
39531 (dummy_getcfa): New function.
39532 (init): Get _Unwind_GetCFA address, use dummy if not found.
39533 (backtrace_helper): In recursion check, also check whether CFA changes.
39534 (__backtrace): Completely initialize arg.
39535
1af4e298 39536 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
39537 storing incomplete byte sequence in state object. Avoid testing for
39538 guaranteed too small input if we know there is enough data available.
1af4e298 39539
da62f81b
AS
395402011-05-11 Andreas Schwab <schwab@redhat.com>
39541
39542 * Makeconfig (+link-pie): Indent.
39543 * Rules (binaries-pie): Define if $(have-fpie) and
39544 $(build-shared).
39545 (binaries-shared): Also filter out $(binaries-pie).
39546 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
39547 * nscd/Makefile (others-pie): Add nscd.
39548 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
39549 ($(objpfx)nscd): Remove command override.
39550 * login/Makefile (others-pie): Add pt_chown.
39551 ($(objpfx)pt_chown): Remove command override.
39552 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
39553 remove command overrides.
39554
fcabc0f8
UD
395552011-05-13 Ulrich Drepper <drepper@gmail.com>
39556
20030ae6
UD
39557 * libio/tst_putwc.c: Fix error messages.
39558
fcabc0f8
UD
39559 [BZ #12724]
39560 * libio/fileops.c (_IO_new_file_close_it): Always flush when
39561 currently writing and seek to current position when not.
39562 * libio/Makefile (tests): Add bug-fclose1.
39563 * libio/bug-fclose1.c: New file.
39564
320a5dc0
PB
395652011-05-12 Ulrich Drepper <drepper@gmail.com>
39566
39567 [BZ #12511]
39568 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
39569 don't set DF_1_NODELETE here.
39570 (do_lookup_x): When entering new entry test for copy relocation
39571 and if necessary set DF_1_NODELETE flag.
39572 * elf/tst-unique4.cc: New file.
39573 * elf/tst-unique4.h: New file.
39574 * elf/tst-unique4lib.cc: New file.
39575 * elf/Makefile: Add rules to build and run tst-unique4.
39576 Patch by Piotr Bury <pbury@goahead.com>.
39577
22836f52
UD
395782011-05-11 Ulrich Drepper <drepper@gmail.com>
39579
f574184a
UD
39580 [BZ #12052]
39581 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
39582
e1fb097f
UD
39583 [BZ #12625]
39584 * misc/mntent_r.c (addmntent): Flush the stream after the output
39585
22836f52
UD
39586 [BZ #12393]
39587 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
39588 (is_trusted_path_normalize): Skip initial colon. Append slash
39589 to empty buffer. Duplicate is_trusted_path code but allow
39590 constructed patch to be prefix.
39591 (is_dst): Allow $ORIGIN followed by /.
39592 (_dl_dst_substitute): Correct clearing of check_for_trusted.
39593 Correct testing of result of is_trusted_path_normalize
39594 (decompose_rpath): Fix warning.
39595
7b3b0b2a
UD
395962011-05-10 Ulrich Drepper <drepper@gmail.com>
39597
39598 [BZ #11257]
39599 * grp/initgroups.c (internal_getgrouplist): When we found the service
39600 list through the initgroups entry in nsswitch.conf do not always
39601 continue on a successful lookup. Don't always use the
eac80ce2 39602 __nss_group_database value if it is set.
7b3b0b2a
UD
39603 * nss/nsswitch.conf (initgroups): Change action for successful db
39604 lookup to continue for compatibility.
39605
2a81eaa5
UD
396062011-05-09 Ulrich Drepper <drepper@gmail.com>
39607
be97a69e
UD
39608 [BZ #11532]
39609 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
39610 and CP774 modules.
39611 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
39612 and CP774 modules.
39613 * iconvdata/tst-tables.sh: Likewise.
39614 * iconvdata/cp770.c: New file.
39615 * iconvdata/cp771.c: New file.
39616 * iconvdata/cp772.c: New file.
39617 * iconvdata/cp773.c: New file.
39618 * iconvdata/cp774.c: New file.
39619 * iconvdata/testdata/CP770: New file.
39620 * iconvdata/testdata/CP770..UTF8: New file.
39621 * iconvdata/testdata/CP771: New file.
39622 * iconvdata/testdata/CP771..UTF8: New file.
39623 * iconvdata/testdata/CP772: New file.
39624 * iconvdata/testdata/CP772..UTF8: New file.
39625 * iconvdata/testdata/CP773: New file.
39626 * iconvdata/testdata/CP773..UTF8: New file.
39627 * iconvdata/testdata/CP774: New file.
39628 * iconvdata/testdata/CP774..UTF8: New file.
39629
39630 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
39631 END CHARMAP line.
39632 * iconvdata/gen-8bit-gap.sh: Likewise.
39633 * iconvdata/gen-8bit.sh: Likewise.
39634
c1e9e399
UD
39635 * locale/iso-639.def: Add ary entry.
39636
24c55fb3 39637 [BZ #11258]
96b4b1b0
UD
39638 * locale/C-translit.h.in: Add U20A1 transliteration.
39639
bdc2f971
KB
39640 [BZ #12178]
39641 * locale/iso-639.def: Add wae entry.
39642 Patch by Kevin Bortis <bortis@translate-wae.ch>.
39643
2952b117
UD
39644 [BZ #12545]
39645 * locale/programs/localedef.c (construct_output_path): Use ssize_t
39646 for n.
39647
2a81eaa5
UD
39648 [BZ #12711]
39649 * locale/C-translit.h.in: Add entry for U20B9.
39650 Patch by pravin.d.s@gmail.com.
39651
28377d1b
UD
396522011-05-08 Ulrich Drepper <drepper@gmail.com>
39653
7fb90fb8
UD
39654 [BZ #12713]
39655 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
39656 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
39657 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
39658 in rtld. Use *stat64.
7fb90fb8 39659 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 39660 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 39661 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
39662 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
39663 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
39664 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
39665 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
39666 __fstatat64 macros.
7fb90fb8
UD
39667 * include/dirent.h: Add libc_hidden_proto for rewinddir.
39668 * dirent/rewinddir.c: Add libc_hidden_def.
39669 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 39670 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 39671
28377d1b
UD
39672 * include/dirent.h (__alloc_dir): Add flags parameter.
39673 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
39674 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
39675 __alloc_dir.
39676 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
39677 from fdopendir if O_CLOEXEC is already set.
39678
66bdbaa4
AM
396792011-03-15 Alan Modra <amodra@gmail.com>
39680
39681 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
39682 l_tls_firstbyte_offset non-zero. Save padding offset in
39683 l_tls_firstbyte_offset for later use.
39684 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
39685 freeing static tls block.
39686
95721191
JN
396872011-03-05 Jonathan Nieder <jrnieder@gmail.com>
39688
39689 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
39690 where #ifdef was intended. The intent is to prevent ARG_MAX from
39691 being defined by the kernel headers.
39692
f87dfb1f
UD
396932011-05-07 Ulrich Drepper <drepper@gmail.com>
39694
39695 [BZ #12734]
39696 * resolv/resolv.h: Define RES_NOTLDQUERY.
39697 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
39698 no-tld-query and set RES_NOTLDQUERY.
39699 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
39700 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
39701 modern BIND to search name as TLD unless forbidden.
39702
47c3cd7a
UD
397032011-05-07 Petr Baudis <pasky@suse.cz>
39704 Ulrich Drepper <drepper@gmail.com>
39705
39706 [BZ #12393]
39707 * elf/dl-load.c (fillin_rpath): Move trusted path check...
39708 (is_trusted_path): ...to here.
c1e9ea35 39709 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 39710 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 39711 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 39712
8a35c912
PP
397132011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39714
39715 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
39716 __BEGIN/__END_DECLS.
39717
acd41f47
UD
397182011-05-06 Ulrich Drepper <drepper@gmail.com>
39719
39720 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
39721 NSS_STATUS_NOTFOUND if no record was found.
39722
597df647
AS
397232011-05-05 Andreas Schwab <schwab@redhat.com>
39724
39725 * sunrpc/Makefile (headers): Add rpc/netdb.h.
39726 (headers-not-in-tirpc): Remove rpc/netdb.h
39727 * resolv/netdb.h: Revert last change.
39728
b9af1301
PP
397292011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39730
39731 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
39732 circular dependency between libgcc.a and libc.a.
39733
4e34d5f5
AS
397342011-05-05 Andreas Schwab <schwab@redhat.com>
39735
39736 * resolv/netdb.h: Don't include <rpc/netdb.h>.
39737 * nis/Makefile: Don't install rpcsvc/*.
39738 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
39739 instead of <rpc/types.h>.
39740 (MAXHOSTNAMELEN): Define.
39741
00ee369c
AS
397422011-05-03 Andreas Schwab <schwab@redhat.com>
39743
39744 * elf/ldconfig.c (add_dir): Don't crash on empty path.
39745
0b592a30
MB
397462011-04-28 Maciej Babinski <mbabinski@google.com>
39747
39748 [BZ #12714]
39749 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
39750 gethostbyname4_r when IPv6 results are possible.
39751
6e04cbbe
UD
397522011-05-02 Ulrich Drepper <drepper@gmail.com>
39753
39754 [BZ #12723]
39755 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
39756 _PC_PIPE_BUF handling.
39757
e4ecafe0
BH
397582011-04-30 Bruno Haible <bruno@clisp.org>
39759
39760 [BZ #12717]
39761 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
39762 * resolv/netdb.h (getnameinfo): Change type of flags parameter
39763 to 'int'.
39764 * inet/getnameinfo.c (getnameinfo): Likewise.
39765
125ee683
UD
397662011-04-29 Ulrich Drepper <drepper@gmail.com>
39767
39768 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
39769 to groups setting in database lookup.
39770 * nss/nsswitch.conf: Add initgroups entry.
39771
b722481a
EB
397722011-04-22 Ulrich Drepper <drepper@gmail.com>
39773
39774 [BZ #12685]
39775 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
39776 mode string.
39777 Patch by Eric Blake <eblake@redhat.com>.
39778
4df46dbd
L
397792011-04-20 H.J. Lu <hongjiu.lu@intel.com>
39780
39781 * sunrpc/Makefile (need-export-routines): Add svc_run.
39782 (routines): Remove svc_run.
39783 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
39784 * sunrpc/clnt_perr.c (clnt_perrno): Export.
39785 * sunrpc/svc_run.c (svc_run): Likewise.
39786 * sunrpc/svc_udp.c (svcudp_create): Likewise.
39787
e84142d2
UD
397882011-04-21 Ulrich Drepper <drepper@gmail.com>
39789
39790 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
39791 problem in reallocation in last patch.
39792
877175d8
UD
397932011-04-20 Ulrich Drepper <drepper@gmail.com>
39794
39795 * sunrpc/Makefile: Move inclusion of Rules.
39796
ab8eed78
UD
397972011-04-19 Ulrich Drepper <drepper@gmail.com>
39798
39799 * nss/nss_files/files-initgroups.c: New file.
39800 * nss/Makefile (libnss_files-routines): Add files-initgroups.
39801 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
39802 _nss_files_initgroups_dyn.
39803
e3d8f584
RS
398042011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
39805
39806 * elf/elf.h (R_ARM_IRELATIVE): Define.
39807
af190f45
UD
398082011-04-19 Ulrich Drepper <drepper@gmail.com>
39809
39810 * po/ru.po: Update from translation team.
39811
53cf59ef
UD
398122011-04-17 Ulrich Drepper <drepper@gmail.com>
39813
39814 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
39815 dependencies.
39816
4c559bcd
MF
398172011-02-06 Mike Frysinger <vapier@gentoo.org>
39818
39819 [BZ #12653]
39820 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
39821 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
39822 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39823 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39824 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39825
4420675c
AS
398262011-03-28 Andreas Schwab <schwab@linux-m68k.org>
39827
39828 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
39829 differing bytes.
39830 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39831 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39832 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39833
75ea32ab
UD
398342011-04-17 Ulrich Drepper <drepper@gmail.com>
39835
39836 [BZ #12420]
39837 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
39838 storing it.
39839 * stdlib/bug-getcontext.c: New file.
39840 * stdlib/Makefile: Add rules to build and run bug-getcontext.
39841
27390476
AK
398422011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39843
39844 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
39845 instructions into .machine "z9-109".
39846 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
39847 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
39848
10442705
AK
398492011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39850
39851 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
39852 between environment variables and auxiliary vector.
39853
7b57bfe5
UD
398542011-04-16 Ulrich Drepper <drepper@gmail.com>
39855
39856 * Makefile: Add rules to build linkobj/libc.so.
39857 * include/libc-symbols.h: Define libc_hidden_nolink.
39858 * include/rpc/auth.h: Mark functions which are to be hidden.
39859 * include/rpc/auth_des.h: Likewise.
39860 * include/rpc/auth_unix.h: Likewise.
39861 * include/rpc/clnt.h: Likewise.
39862 * include/rpc/des_crypt.h: Likewise.
39863 * include/rpc/key_prot.h: Likewise.
39864 * include/rpc/pmap_clnt.h: Likewise.
39865 * include/rpc/pmap_prot.h: Likewise.
39866 * include/rpc/pmap_rmt.h: Likewise.
39867 * include/rpc/rpc_msg.h: Likewise.
39868 * include/rpc/svc.h: Likewise.
39869 * include/rpc/svc_auth.h: Likewise.
39870 * include/rpc/xdr.h: Likewise.
39871 * nis/Makefile: Link all DSOs against linkobj/libc.so.
39872 * nss/Makefile: Likewise.
39873 * sunrpc/Makefile: Don't install headers. Build library with normal
39874 entry points. Don't build rpcinfo. Link RPC tests appropriately.
39875 * sunrpc/auth_des.c: Hide exported symbols by default, export some
39876 for the compat linking library. Remove use of INTDEF/INTUSE.
39877 * sunrpc/auth_none.c: Likewise.
39878 * sunrpc/auth_unix.c: Likewise.
39879 * sunrpc/authdes_prot.c: Likewise.
39880 * sunrpc/authuxprot.c: Likewise.
39881 * sunrpc/clnt_gen.c: Likewise.
39882 * sunrpc/clnt_perr.c: Likewise.
39883 * sunrpc/clnt_raw.c: Likewise.
39884 * sunrpc/clnt_simp.c: Likewise.
39885 * sunrpc/clnt_tcp.c: Likewise.
39886 * sunrpc/clnt_udp.c: Likewise.
39887 * sunrpc/clnt_unix.c: Likewise.
39888 * sunrpc/des_crypt.c: Likewise.
39889 * sunrpc/des_soft.c: Likewise.
39890 * sunrpc/get_myaddr.c: Likewise.
39891 * sunrpc/key_call.c: Likewise.
39892 * sunrpc/key_prot.c: Likewise.
39893 * sunrpc/netname.c: Likewise.
39894 * sunrpc/pm_getmaps.c: Likewise.
39895 * sunrpc/pm_getport.c: Likewise.
39896 * sunrpc/pmap_clnt.c: Likewise.
39897 * sunrpc/pmap_prot.c: Likewise.
39898 * sunrpc/pmap_prot2.c: Likewise.
39899 * sunrpc/pmap_rmt.c: Likewise.
39900 * sunrpc/publickey.c: Likewise.
39901 * sunrpc/rpc_cmsg.c: Likewise.
39902 * sunrpc/rpc_common.c: Likewise.
39903 * sunrpc/rpc_dtable.c: Likewise.
39904 * sunrpc/rpc_prot.c: Likewise.
39905 * sunrpc/rpc_thread.c: Likewise.
39906 * sunrpc/rtime.c: Likewise.
39907 * sunrpc/svc.c: Likewise.
39908 * sunrpc/svc_auth.c: Likewise.
39909 * sunrpc/svc_authux.c: Likewise.
39910 * sunrpc/svc_raw.c: Likewise.
39911 * sunrpc/svc_run.c: Likewise.
39912 * sunrpc/svc_simple.c: Likewise.
39913 * sunrpc/svc_tcp.c: Likewise.
39914 * sunrpc/svc_udp.c: Likewise.
39915 * sunrpc/svc_unix.c: Likewise.
39916 * sunrpc/svcauth_des.c: Likewise.
39917 * sunrpc/xcrypt.c: Likewise.
39918 * sunrpc/xdr.c: Likewise.
39919 * sunrpc/xdr_array.c: Likewise.
39920 * sunrpc/xdr_float.c: Likewise.
39921 * sunrpc/xdr_intXX_t.c: Likewise.
39922 * sunrpc/xdr_mem.c: Likewise.
39923 * sunrpc/xdr_rec.c: Likewise.
39924 * sunrpc/xdr_ref.c: Likewise.
39925 * sunrpc/xdr_sizeof.c: Likewise.
39926 * sunrpc/xdr_stdio.c: Likewise.
39927
e6c61494
UD
399282011-04-10 Ulrich Drepper <drepper@gmail.com>
39929
39930 [BZ #12650]
39931 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
39932 * sysdeps/ia64/dl-tls.h: Likewise.
39933 * sysdeps/powerpc/dl-tls.h: Likewise.
39934 * sysdeps/s390/dl-tls.h: Likewise.
39935 * sysdeps/sh/dl-tls.h: Likewise.
39936 * sysdeps/sparc/dl-tls.h: Likewise.
39937 * sysdeps/x86_64/dl-tls.h: Likewise.
39938 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
39939
34fe483e
AS
399402011-03-14 Andreas Schwab <schwab@redhat.com>
39941
39942 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
39943 rpath element also skip the following colon.
39944 (expand_dynamic_string_token): Add is_path parameter and pass
39945 down to DL_DST_REQUIRED and _dl_dst_substitute.
39946 (decompose_rpath): Call expand_dynamic_string_token with
39947 non-zero is_path. Ignore empty rpaths.
39948 (_dl_map_object_from_fd): Call expand_dynamic_string_token
39949 with zero is_path.
39950
f12a32e6
AS
399512011-04-08 Andreas Schwab <schwab@linux-m68k.org>
39952
39953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
39954 Make cancelable.
39955
38a7d692
UD
399562011-04-09 Ulrich Drepper <drepper@gmail.com>
39957
39958 [BZ #12655]
39959 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
39960 Patch by Filipe David Manana <fdmanana@apache.org>.
39961
e451d22b
AS
399622011-04-07 Andreas Schwab <schwab@redhat.com>
39963
39964 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
39965 Maintain aligned stack.
39966 (CHECK_RSP): Remove unused macro.
39967
dedc7c7b
UD
399682011-04-03 Ulrich Drepper <drepper@gmail.com>
39969
39970 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
39971 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
39972
94521213
UD
399732011-04-02 Ulrich Drepper <drepper@gmail.com>
39974
39975 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
39976
8cb700c0 39977 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 39978
0354e355
L
399792011-03-26 H.J. Lu <hongjiu.lu@intel.com>
39980
39981 [BZ #12518]
39982 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
39983 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
39984 * sysdeps/x86_64/memmove.c: New file.
39985 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
39986 (memcpy): Renamed to ...
39987 (__new_memcpy): This.
39988 (memcpy): Provide GLIBC_2_14 memcpy.
39989 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
39990 (memcpy): Provide GLIBC_2_2_5 memcpy.
39991
8593482f
UD
399922011-04-01 Ulrich Drepper <drepper@gmail.com>
39993
39994 [BZ #12631]
39995 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
39996
81a5726b
AS
399972011-03-30 Andreas Schwab <schwab@redhat.com>
39998
39999 * misc/syncfs.c: New file.
40000 * misc/Makefile (routines): Add syncfs.
40001 * posix/unistd.h: Declare syncfs.
40002 * sysdeps/unix/syscalls.list: Add syncfs.
40003
00e5419f
AS
400042011-04-01 Andreas Schwab <schwab@redhat.com>
40005
40006 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40007 open_by_handle_at.
40008 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40009 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40010 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40011 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40012 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40013 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40014 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40015
748876bf
UD
400162011-04-01 Ulrich Drepper <drepper@gmail.com>
40017
658e451d
UD
40018 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40019 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40020 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40021 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40022 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40023 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40024 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40025
748876bf
UD
40026 * io/Makefile: Compile fallocate.c, fallocate64.c, and
40027 sync_file_range.c with -fexceptions.
40028 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40029 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40030 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40031 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40032 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40033 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40034 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
40035 sync_file_range as cancellation point
40036 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
40037 now a wrapper around __call_sync_file_range with cancellation handling.
40038 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40039 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
40040 function name to __call_sync_file_range.
40041 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40042 Add call_sync_file_range.
748876bf 40043
6e63d5e1
AS
400442011-04-01 Andreas Schwab <schwab@redhat.com>
40045
40046 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 40047 bits/timex.h.
6e63d5e1 40048
46998f74
UD
400492011-04-01 Ulrich Drepper <drepper@gmail.com>
40050
4c1423ed
UD
40051 * iconv/iconv.h: Fix typo in comment.
40052 * io/fcntl.h: Likewise.
40053 * libio/stdio.h: Likewise.
40054 * posix/spawn.h: Likewise.
40055 * posix/unistd.h: Likewise.
40056 * stdlib/stdlib.h: Likewise.
40057 * time/time.h: Likewise.
40058 * wcsmbs/wchar.h: Likewise.
40059
158648c0
UD
40060 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40061 open_by_handle): Add.
40062 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40063 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
40064 Augment a few comments.
40065 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40066 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40067 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40068 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40069 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40070 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40071 open_by_handle.
40072
46998f74
UD
40073 * io/fcntl.h (AT_EMPTY_PATH): Define.
40074
83fe108b
UD
400752011-03-30 Ulrich Drepper <drepper@gmail.com>
40076
40077 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40078 * sysdeps/unix/sysv/linux/bits/time.h: New file.
40079 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40080 to...
40081 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
40082 * Versions.def: Add GLIBC_2.14.
40083 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40084 Export.
83fe108b 40085
bb242059
UD
400862011-03-22 Ulrich Drepper <drepper@gmail.com>
40087
40088 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40089 round counter.
40090 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40091
c97a1282
L
400922011-03-20 H.J. Lu <hongjiu.lu@intel.com>
40093
40094 [BZ #12597]
40095 * string/test-strncmp.c (do_page_test): New function.
40096 (check2): Likewise.
40097 (test_main): Call check2.
40098 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40099
2a115601
UD
401002011-03-20 Ulrich Drepper <drepper@gmail.com>
40101
40102 [BZ #12587]
40103 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40104 Handle cache information in CPU leaf 4.
40105 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40106
8126d904
UD
401072011-03-18 Ulrich Drepper <drepper@gmail.com>
40108
042c49c6 40109 [BZ #12583]
8126d904
UD
40110 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40111 character representation.
40112 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40113
ccfe366e
RA
401142011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
40115
40116 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40117 END(__isnan) to END(__isnanf) to match function entry point/label
40118 EALIGN(__isnanf,...).
40119
c6e13027
JJ
401202011-03-10 Jakub Jelinek <jakub@redhat.com>
40121
40122 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40123
33f85a3f
UD
401242011-03-10 Ulrich Drepper <drepper@gmail.com>
40125
028478fa
UD
40126 [BZ #12510]
40127 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40128 copy from the symbol referenced in the relocation to initialize the
40129 used variable.
40130 Patch by Piotr Bury <pbury@goahead.com>.
40131 * elf/Makefile: Add rules to build and tst-unique3.
40132 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40133 * elf/tst-unique3.cc: New file.
40134 * elf/tst-unique3.h: New file.
40135 * elf/tst-unique3lib.cc: New file.
40136 * elf/tst-unique3lib2.cc: New file.
40137
33f85a3f
UD
40138 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40139
03592fc7
MF
401402011-03-10 Mike Frysinger <vapier@gentoo.org>
40141
40142 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40143 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
40144 to _start.
03592fc7 40145
6a5ee102
UD
401462011-03-06 Ulrich Drepper <drepper@gmail.com>
40147
40148 * elf/dl-load.c (_dl_map_object): If we are looking for the first
40149 to-be-loaded object along a path to loader is ld.so.
40150
7e4ba49c
HJ
401512011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40152 Ulrich Drepper <drepper@gmail.com>
40153
40154 * sysdeps/x86_64/memset.S: After aligning destination, code
40155 branches to different locations depending on the value of
40156 misalignment, when multiarch is enabled. Fix this.
40157
401582011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40159
40160 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40161 Set _x86_64_preferred_memory_instruction for AMD processsors.
40162 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40163 Set bit_Prefer_SSE_for_memop for AMD processors.
40164
13a804de
UD
401652011-03-04 Ulrich Drepper <drepper@gmail.com>
40166
40167 * libio/fmemopen.c (fmemopen): Optimize a bit.
40168
9d25c392
AS
401692011-03-03 Andreas Schwab <schwab@redhat.com>
40170
40171 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40172
a5543c6a
RM
401732011-03-03 Roland McGrath <roland@redhat.com>
40174
40175 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40176
012d35f7
DM
401772011-02-28 Aurelien Jarno <aurelien@aurel32.net>
40178
7e4ba49c 40179 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
40180 __bzero_ultra1 instead of __memset_ultra1.
40181
4bff6e01
AS
401822011-02-23 Andreas Schwab <schwab@redhat.com>
40183 Ulrich Drepper <drepper@gmail.com>
40184
40185 [BZ #12509]
40186 * include/link.h (struct link_map): Add l_orig_initfini.
40187 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40188 returning unsuccessfully.
40189 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40190 close of a file loaded at startup, restore the original l_initfini
40191 list.
40192 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40193 list, store the pointer.
40194 * elf/Makefile ($(objpfx)noload-mem): New rule.
40195 (noload-ENV): Define.
40196 (tests): Add $(objpfx)noload-mem.
40197 * elf/noload.c: Include <memcheck.h>.
40198 (main): Call mtrace. Close all opened handles.
40199
f2092faf
AS
402002011-02-17 Andreas Schwab <schwab@redhat.com>
40201
40202 [BZ #12454]
40203 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40204 dependencies are missing.
40205
6c8a2e88
ST
402062011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
40207
f2092faf 40208 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
40209 Hurd needs munmap.
40210 * sysdeps/mach/hurd/ifreq.h: New file.
40211
84a42118
PB
402122011-01-27 Petr Baudis <pasky@suse.cz>
40213 Ulrich Drepper <drepper@gmail.com>
40214
071f805e 40215 [BZ 12445]#
84a42118
PB
40216 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40217 to extend_alloca().
40218 * stdio-common/bug23.c: New file.
40219 * stdio-common/Makefile (tests): Add bug23.
40220
e23fe25b
AS
402212010-09-28 Andreas Schwab <schwab@redhat.com>
40222 Ulrich Drepper <drepper@gmail.com>
40223
40224 [BZ #12489]
40225 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40226 before performing relro protection. At old place add assertion
40227 to make sure nothing changed.
40228
d3f02e10
NS
402292011-02-17 Nathan Sidwell <nathan@codesourcery.com>
40230 Glauber de Oliveira Costa <glommer@gmail.com>
40231
40232 * elf/elf.h: Add new ARM TLS relocs.
40233
d55fd7a5
RA
402342011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
40235
40236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40237 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40238 cast from r3.
40239 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
40240 'tests' variable.
40241 * sysdeps/wordsize-64/tst-writev.c: New file.
40242
2206397e
RA
402432011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
40244
40245 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40246 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40247 insns in _dl_start to prevent a TOC reference before relocs are
40248 resolved.
40249
e9433893
UD
402502011-02-15 Ulrich Drepper <drepper@gmail.com>
40251
40252 [BZ #12469]
40253 * Makeconfig: Remove RANLIB definition.
40254 * Makerules: Don't use RANLIB.
40255 * aclocal.m4: Remove ranlib test.
40256 * configure.in: No need to check for ranlib.
40257 * elf/rtld-Rules: Don't use RANLIB.
40258
f75286c6
ST
402592011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
40260
8e31c82d
ST
40261 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
40262 protection macro.
40263 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
40264 inclusion protection macro.
40265
f75286c6
ST
40266 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
40267 SIGRTMIN and SIGRTMAX and print information in that case only when
40268 SIGRTMIN is defined.
40269
c1d0e639
JJ
402702011-02-11 Jakub Jelinek <jakub@redhat.com>
40271
40272 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
40273 arginfo fn returning -1.
40274
40275 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
40276 and thousands string is zero terminated.
40277
edf9294e
AS
402782011-02-03 Andreas Schwab <schwab@redhat.com>
40279
40280 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
40281 sysdeps/unix/sysv/linux/bits/socket.h.
40282
2b7e92df
ST
402832011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
40284
edf9294e
AS
40285 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
40286 (__CPU_COUNT): Remove old macros.
40287 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
40288 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
40289 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
40290 (__sched_cpualloc, __sched_cpufree): Add declarations.
40291
a4c7ea7b
UD
402922011-02-05 Ulrich Drepper <drepper@gmail.com>
40293
40294 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
40295 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
40296 * nscd/aicache.c (addhstaiX): Return timeout of added value.
40297 (readdhstai): Return value of addhstaiX call.
40298 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
40299 (addgrbyX): Return value returned by cache_addgr.
40300 (readdgrbyname): Return value returned by addgrbyX.
40301 (readdgrbygid): Likewise.
40302 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
40303 (addpwbyX): Return value returned by cache_addpw.
40304 (readdpwbyname): Return value returned by addhstbyX.
40305 (readdpwbyuid): Likewise.
40306 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
40307 (addservbyX): Return value returned by cache_addserv.
40308 (readdservbyname): Return value returned by addservbyX:
40309 (readdservbyport): Likewise.
40310 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
40311 (addhstbyX): Return value returned by cache_addhst.
40312 (readdhstbyname): Return value returned by addhstbyX.
40313 (readdhstbyaddr): Likewise.
40314 (readdhstbynamev6): Likewise.
40315 (readdhstbyaddrv6): Likewise.
40316 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
40317 (readdinitgroups): Return value returned by addinitgroupsX.
40318 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
40319 (prune_cache): Keep track of timeout value of re-added entries.
40320 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
40321 * nscd/nscd.h: Adjust prototypes of readd* functions.
40322
a0bf67cc
RM
403232011-02-04 Roland McGrath <roland@redhat.com>
40324
40325 * nis/nis_server.c (nis_servstate): Use the right name for 0.
40326 (nis_stats): Likewise.
40327 * nis/nis_modify.c (nis_modify): Likewise.
40328 * nis/nis_remove.c (nis_remove): Likewise.
40329 * nis/nis_add.c (nis_add): Likewise.
40330
40331 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
40332
40333 * posix/fnmatch_loop.c: Add some consts.
40334
40335 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
40336
435b95eb
L
403372011-02-02 H.J. Lu <hongjiu.lu@intel.com>
40338
40339 [BZ #12460]
40340 * config.make.in (config-cflags-novzeroupper): Define.
40341 * configure.in: Substitute libc_cv_cc_novzeroupper.
40342 * elf/Makefile (AVX-CFLAGS): Define.
40343 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
40344 (CFLAGS-tst-auditmod4a.c): Likewise.
40345 (CFLAGS-tst-auditmod4b.c): Likewise.
40346 (CFLAGS-tst-auditmod6b.c): Likewise.
40347 (CFLAGS-tst-auditmod6c.c): Likewise.
40348 (CFLAGS-tst-auditmod7b.c): Likewise.
40349 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
40350
8517b15e
UD
403512011-02-02 Ulrich Drepper <drepper@gmail.com>
40352
40353 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
40354 function to the callback.
40355 Patch partly by Jiri Olsa <jolsa@redhat.com>.
40356
10a656fe
AS
403572011-02-02 Andreas Schwab <schwab@redhat.com>
40358
40359 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
40360 of errno.
40361
968dad0a
UD
403622011-01-19 Ulrich Drepper <drepper@gmail.com>
40363
9f94d2ea 40364 [BZ #11724]
968dad0a
UD
40365 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
40366 of constructors.
40367 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
40368 of destructors.
40369 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
40370
40371 [BZ #11724]
40372 * elf/Makefile: Add rules to build and run new test.
40373 * elf/tst-initorder.c: New file.
40374 * elf/tst-initorder.exp: New file.
40375 * elf/tst-initordera1.c: New file.
40376 * elf/tst-initordera2.c: New file.
40377 * elf/tst-initordera3.c: New file.
40378 * elf/tst-initordera4.c: New file.
40379 * elf/tst-initorderb1.c: New file.
40380 * elf/tst-initorderb2.c: New file.
40381 * elf/tst-order-a1.c: New file.
40382 * elf/tst-order-a2.c: New file.
40383 * elf/tst-order-a3.c: New file.
40384 * elf/tst-order-a4.c: New file.
40385 * elf/tst-order-b1.c: New file.
40386 * elf/tst-order-b2.c: New file.
40387 * elf/tst-order-main.c: New file.
40388 New test case by George Gensure <werkt0@gmail.com>.
40389
86e92359
UD
403902010-10-01 Andreas Schwab <schwab@redhat.com>
40391
40392 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40393 decoding ACE if AI_CANONIDN.
40394
5d5732b0
UD
403952011-01-18 Ulrich Drepper <drepper@gmail.com>
40396
40397 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
40398
a77e8cbc
UD
403992011-01-17 Ulrich Drepper <drepper@gmail.com>
40400
6392473f
UD
40401 * version.h (RELEASE): Bump for 2.13 release.
40402 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
40403
620a0529
UD
40404 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
40405
18ba70a5
UD
40406 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
40407 MADV_NOHUGEPAGE.
32465c3e
UD
40408 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
40409 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
40410 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40411 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40412 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40413 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40414
c0dafcf1
UD
40415 * posix/getconf.c: Update copyright year.
40416 * catgets/gencat.c: Likewise.
40417 * csu/version.c: Likewise.
40418 * debug/catchsegv.sh: Likewise.
40419 * debug/xtrace.sh: Likewise.
40420 * elf/ldconfig.c: Likewise.
40421 * elf/ldd.bash.in: Likewise.
40422 * elf/sprof.c (print_version): Likewise.
40423 * iconv/iconv_prog.c: Likewise.
40424 * iconv/iconvconfig.c: Likewise.
40425 * locale/programs/locale.c: Likewise.
40426 * locale/programs/localedef.c: Likewise.
40427 * malloc/memusage.sh: Likewise.
40428 * malloc/mtrace.pl: Likewise.
40429 * nscd/nscd.c (print_version): Likewise.
40430 * nss/getent.c: Likewise.
40431
a77e8cbc
UD
40432 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
40433 PF_CAIF, and PF_ALG.
40434 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40435
77e8bddf
AS
404362011-01-16 Andreas Schwab <schwab@linux-m68k.org>
40437
1f20b93a
AS
40438 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
40439 (modules-names): Use them.
40440 (ifunc-test-modules, ifunc-pie-tests): Define.
40441 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
40442 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
40443 (test-extras): Likewise.
40444 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
40445 $(compile-command.c).
40446 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
40447 (all-built-dso): Define.
40448 (check-textrel.out, check-execstack.out): Depend on it.
40449
77e8bddf
AS
40450 * configure.in: Don't override --enable-multi-arch.
40451
bc425b33
UD
404522011-01-15 Ulrich Drepper <drepper@gmail.com>
40453
40454 [BZ #6812]
40455 * nscd/hstcache.c (tryagain): Define.
40456 (cache_addhst): Return tryagain not notfound for temporary errors.
40457 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
40458 failed.
40459
794c3ad3
UD
404602011-01-14 Ulrich Drepper <drepper@gmail.com>
40461
70181fdd
UD
40462 [BZ #10563]
40463 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
40464 to make the syscall.
40465 * sysdeps/unix/sysv/linux/setgroups.c: New file.
40466
794c3ad3
UD
40467 [BZ #12378]
40468 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
40469 and fall back to matching as normal character if the string ends before
40470 the matching ']' is found. This is what POSIX requires.
40471 * posix/testfnm.c: Adjust test result.
40472 * posix/globtest.sh: Adjust test result. Add new test.
40473 * posix/tst-fnmatch.input: Likewise.
40474 * posix/tst-fnmatch2.c: Add new test.
40475
68dc9497
AS
404762010-12-28 Andreas Schwab <schwab@linux-m68k.org>
40477
40478 * elf/Makefile (check-execstack): Revert last change. Depend on
40479 check-execstack.h.
40480 (check-execstack.h): New target.
40481 (generated): Add check-execstack.h.
40482 * elf/check-execstack.c: Include "check-execstack.h".
40483 (main): Revert last change.
40484 (handle_file): Return zero if GNU_STACK is absent and
40485 DEFAULT_STACK_PERMS doesn't include PF_X.
40486
451f001b
UD
404872011-01-13 Ulrich Drepper <drepper@gmail.com>
40488
cfa28e56
UD
40489 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
40490 in child fails because the descriptor is already closed.
8cf8ce17
UD
40491 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
40492 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
40493 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 40494
1086d70d
UD
40495 [BZ #12397]
40496 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
40497 syscall.
40498
451f001b
UD
40499 [BZ #10484]
40500 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
40501 temporary buffer used to handle multi lookups locally.
a85b5cb4 40502 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 40503
08769175
UD
405042011-01-12 Ulrich Drepper <drepper@gmail.com>
40505
40506 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
40507 loader is ld.so.
40508
5e49c52e
UD
405092011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
40510
40511 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
40512 alignment for SSE2.
40513
60522a5f
UD
405142011-01-12 Ulrich Drepper <drepper@gmail.com>
40515
40516 [BZ #12394]
40517 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
40518 characters. When rounding increased number of integer digits recompute
40519 number of groups.
40520 * stdio-common/tst-grouping.c: New file.
40521 * stdio-common/Makefile: Add rules to build and run tst-grouping.
40522
f257bbd7
UD
405232011-01-09 Ulrich Drepper <drepper@gmail.com>
40524
40525 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
40526 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
40527
40528 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
40529 void.
40530 * bits/select.h: Likewise.
40531
fa9c15cb
UD
405322011-01-08 Ulrich Drepper <drepper@gmail.com>
40533
40534 * po/ja.po: Update from translation team.
40535
16c2895f
DM
405362011-01-04 David S. Miller <davem@sunset.davemloft.net>
40537
40538 [BZ #11155]
40539 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
40540 implementation just like for lxstat, fxstatat, et al.
40541
2543fef2
JM
405422010-12-27 Jim Meyering <meyering@redhat.com>
40543
40544 [BZ #12348]
40545 * posix/regexec.c (build_trtable): Return failure indication upon
40546 calloc failure. Otherwise, re_search_internal could infloop on OOM.
40547
98727dbe
UD
405482010-12-25 Ulrich Drepper <drepper@gmail.com>
40549
5bd6dc5c
UD
40550 [BZ #12201]
40551 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
40552 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
40553 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
40554 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
40555
97983464
UD
40556 [BZ #12207]
40557 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
40558
98727dbe
UD
40559 [BZ #12204]
40560 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
40561 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
40562
4a531bb0
L
405632010-12-15 H.J. Lu <hongjiu.lu@intel.com>
40564
40565 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
40566 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
40567 script has SORT_BY_INIT_PRIORITY.
40568 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
40569 NO_CTORS_DTORS_SECTIONS is defined.
40570 * elf/soinit.c: Likewise.
40571 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
40572 NO_CTORS_DTORS_SECTIONS is defined.
40573 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
40574 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
40575 * sysdeps/sh/init-first.c: Likewise.
40576 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
40577
07eb4b71
UD
405782010-12-24 Ulrich Drepper <drepper@gmail.com>
40579
40580 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
40581 always use the slow path.
40582
30950a5f
RA
405832010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
40584
40585 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
40586 similar rule which adds the sysdep directories to the header search in
40587 order to pick up the correct platform stackinfo.h.
40588 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
40589 perform test if it is, otherwise return successfully without testing.
40590 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
40591 DEFAULT_STACK_PERMS define in stackinfo.h.
40592 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
40593 defined in stackinfo.h.
40594 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
40595 DEFAULT_STACK_PERMS defined in stackinfo.h.
40596 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
40597 * sysdeps/ia64/stackinfo.h: Likewise.
40598 * sysdeps/s390/stackinfo.h: Likewise.
40599 * sysdeps/sh/stackinfo.h: Likewise.
40600 * sysdeps/sparc/stackinfo.h: Likewise.
40601 * sysdeps/x86_64/stackinfo.h: Likewise.
40602 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
40603 PF_X for powerpc64. Retain PF_X for powerpc32.
40604
db753e2c
UD
406052010-12-19 Ulrich Drepper <drepper@gmail.com>
40606
14b697f7
UD
40607 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
40608 accurately.
db753e2c
UD
40609 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
40610 GETDENTS_64BIT_ALIGNED.
40611
28300719
UD
406122010-12-14 Ulrich Drepper <dreper@gmail.com>
40613
14b697f7 40614 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 40615
4f197237
AS
406162010-12-10 Andreas Schwab <schwab@redhat.com>
40617
dbb0472f
AS
40618 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
40619 _GNU_SOURCE.
40620
4f197237
AS
40621 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
40622 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
40623 Remove __restrict.
40624 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
40625 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
40626
fb88ac72
UD
406272010-12-09 Ulrich Drepper <drepper@gmail.com>
40628
40629 [BZ #11655]
40630 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
40631 are initialized.
40632
42acbb92
JJ
406332010-12-09 Jakub Jelinek <jakub@redhat.com>
40634
40635 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
40636
c038d98d
UD
406372010-12-03 Ulrich Drepper <drepper@gmail.com>
40638
40639 * po/it.po: Update from translation team.
40640
3a4a2499
L
406412010-12-01 H.J. Lu <hongjiu.lu@intel.com>
40642
40643 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
40644 unused codes.
40645
1e24cf6e
UD
406462010-11-30 Ulrich Drepper <drepper@gmail.com>
40647
40648 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
40649
a7690819
AS
406502010-11-24 Andreas Schwab <schwab@redhat.com>
40651
40652 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
40653 specially.
40654 (gaih_getanswer_slice): Likewise.
40655
3bf8d1b1
JJ
406562010-10-20 Jakub Jelinek <jakub@redhat.com>
40657
40658 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
40659
6db52fbb
PB
406602010-05-31 Petr Baudis <pasky@suse.cz>
40661
40662 [BZ #11149]
40663 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
40664 silently even in the chroot mode.
40665
eaca7569
UD
406662010-11-22 Ulrich Drepper <drepper@gmail.com>
40667
40668 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
40669 last patch a bit. Pretty printing
40670
3056dcdb
UD
406712010-05-31 Petr Baudis <pasky@suse.cz>
40672
40673 [BZ #10085]
40674 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
40675 initialization of skip_initgroups_dyn.
40676
cf7c9078
UD
406772010-11-19 Ulrich Drepper <drepper@gmail.com>
40678
40679 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
40680 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40681
a1fb5e3e
UD
406822010-11-16 Ulrich Drepper <drepper@gmail.com>
40683
40684 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
40685
3540d66b
AS
406862010-11-11 Andreas Schwab <schwab@redhat.com>
40687
40688 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
40689 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
40690 (tst-fnmatch-ENV): Set MALLOC_TRACE.
40691 ($(objpfx)tst-fnmatch-mem): New rule.
40692 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
40693 * posix/tst-fnmatch.c (main): Call mtrace.
40694
13b69574
L
406952010-11-11 H.J. Lu <hongjiu.lu@intel.com>
40696
40697 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40698 Support Intel processor model 6 and model 0x2c.
40699
da93d214
LM
407002010-11-10 Luis Machado <luisgpm@br.ibm.com>
40701
40702 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
40703 signed comparison.
40704
8ca52c6e
L
407052010-11-09 H.J. Lu <hongjiu.lu@intel.com>
40706
40707 [BZ #12205]
40708 * string/test-strncasecmp.c (check_result): New function.
40709 (do_one_test): Use it.
40710 (check1): New function.
40711 (test_main): Use it.
40712 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
40713 Support strcasecmp and strncasecmp.
40714
69da074d
UD
407152010-11-08 Ulrich Drepper <drepper@gmail.com>
40716
40717 [BZ #12194]
40718 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
40719 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40720
ff02d528
L
407212010-11-07 H.J. Lu <hongjiu.lu@intel.com>
40722
40723 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
40724 IFUNC support.
40725 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40726 memset-x86-64.
40727 * sysdeps/x86_64/multiarch/bzero.S: New file.
40728 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
40729 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
40730 * sysdeps/x86_64/multiarch/memset.S: New file.
40731 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
40732 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40733 Set bit_Prefer_SSE_for_memop for Intel processors.
40734 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
40735 Define.
40736 (index_Prefer_SSE_for_memop): Define.
40737 (HAS_PREFER_SSE_FOR_MEMOP): Define.
40738
344d0b54
LM
407392010-11-04 Luis Machado <luisgpm@br.ibm.com>
40740
40741 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
40742 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
40743
c0dde15b
UD
407442010-11-03 H.J. Lu <hongjiu.lu@intel.com>
40745
40746 [BZ #12191]
40747 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40748 (__x86_64_raw_data_cache_size_half): Likewise.
40749 (__x86_64_raw_shared_cache_size): Likewise.
40750 (__x86_64_raw_shared_cache_size_half): Likewise.
40751
40752 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40753 (__x86_64_raw_data_cache_size_half): Likewise.
40754 (__x86_64_raw_shared_cache_size): Likewise.
40755 (__x86_64_raw_shared_cache_size_half): Likewise.
40756 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
40757 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
40758 and __x86_64_raw_shared_cache_size_half. Round
40759 __x86_64_data_cache_size_half, __x86_64_data_cache_size
40760 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
40761 to multiple of 256 bytes.
40762
0e516e0e
MS
407632010-11-03 Ulrich Drepper <drepper@gmail.com>
40764
40765 [BZ #12167]
40766 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
40767 of inacessible symlinks. Verify result of symlink before returning it.
40768 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
40769 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
40770
0e012e87
ER
407712010-10-28 Erich Ritz <erichritz@gmail.com>
40772
40773 * math/math.h (isinf): Fix typo in comment.
40774
de0ff7bc
UD
407752010-11-01 Ulrich Drepper <drepper@gmail.com>
40776
40777 * po/da.po: Update from translation team.
40778
fa41c84d
UD
407792010-10-26 Ulrich Drepper <drepper@gmail.com>
40780
40781 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
40782 is added to the list.
40783
f0967738
AK
407842010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40785 Ulrich Drepper <drepper@gmail.com>
40786
40787 * elf/dl-object.c (_dl_new_object): Don't append the new object to
40788 the global list here. Move code to...
40789 (_dl_add_to_namespace_list): ...here. New function.
40790 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
40791 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
40792 * elf/dl-load.c (lose): Don't remove the element from the list.
40793 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
40794 (_dl_map_object): Likewise.
40795
407962010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
40797
40798 [BZ #12159]
40799 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
40800 into all bytes of SSE register.
40801 Patch by Richard Li <richardpku@gmail.com>.
40802
f0967738 408032010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
40804
40805 [BZ #12140]
40806 * malloc/malloc.c (_int_free): Fill correct number of bytes when
40807 perturbing.
40808
d0b9e94f
MB
408092010-10-20 Michael B. Brutman <brutman@us.ibm.com>
40810
40811 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
40812 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
40813 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
40814 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
40816 submachine.
40817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
40818
8e9f92e9
AS
408192010-10-22 Andreas Schwab <schwab@redhat.com>
40820
40821 * include/dlfcn.h (__RTLD_SECURE): Define.
40822 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
40823 mode & __RTLD_SECURE instead.
40824 (open_path): Rename preloaded parameter to secure.
40825 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
40826 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
40827 * elf/dl-deps.c (openaux): Likewise.
40828 * elf/rtld.c (struct map_args): Remove is_preloaded.
40829 (map_doit): Don't use it.
40830 (dl_main): Likewise.
40831 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
40832 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
40833
bc96fbda
AS
408342010-09-09 Andreas Schwab <schwab@redhat.com>
40835
40836 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
40837 (sysd-rules-targets): Remove duplicates.
40838 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
40839 rtld-%.$o dependency.
40840
22cd1c9b
AS
408412010-10-18 Andreas Schwab <schwab@redhat.com>
40842
40843 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
40844 _dl_map_object do it.
40845
18edac48
UD
408462010-10-19 Ulrich Drepper <drepper@gmail.com>
40847
40848 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
40849 fast fma builtins, define the macros in the C99 standard.
40850 (FP_FAST_FMAF): Likewise.
40851 (FP_FAST_FMAL): Likewise.
40852 * sysdeps/x86_64/bits/mathdef.h: Likewise.
40853
40854 * bits/mathdef.h: Update copyright year.
40855 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40856
d2050124
MM
408572010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
40858
40859 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
40860 builtins, define the macros in the C99 standard.
40861 (FP_FAST_FMAF): Likewise.
40862 (FP_FAST_FMAL): Likewise.
40863 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
40864 multiply/add.
40865 (FP_FAST_FMAF): Likewise.
40866
475facd1
JJ
408672010-10-15 Jakub Jelinek <jakub@redhat.com>
40868
40869 [BZ #3268]
40870 * math/libm-test.inc (fma_test): Some new testcases.
40871 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
40872 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
40873 y and infinite z. Do multiplication by C already in long double.
40874 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
40875 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
40876 y and infinite z. Do bitwise or of inexact bit into u.d.
40877 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
40878 * sysdeps/i386/fpu/s_fmaf.S: Removed.
40879 * sysdeps/i386/fpu/s_fma.S: Removed.
40880 * sysdeps/i386/fpu/s_fmal.S: Removed.
40881
7c08a05c
JJ
408822010-10-16 Jakub Jelinek <jakub@redhat.com>
40883
40884 [BZ #3268]
40885 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
40886 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
40887 computation is not scheduled after fetestexcept. Fix value
40888 of minimum denormal long double.
40889
f3f7372d
JJ
408902010-10-14 Jakub Jelinek <jakub@redhat.com>
40891
40892 [BZ #3268]
40893 * math/libm-test.inc (fma_test): Add some more tests.
40894 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
40895 correctly.
40896
14d43591
AS
408972010-10-15 Andreas Schwab <schwab@redhat.com>
40898
40899 * scripts/data/localplt-s390-linux-gnu.data: New file.
40900 * scripts/data/localplt-s390x-linux-gnu.data: New file.
40901
5e908464
JJ
409022010-10-13 Jakub Jelinek <jakub@redhat.com>
40903
40904 [BZ #3268]
40905 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
40906 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
40907 instead of dbl-64.
40908 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
40909 inlines.
40910 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
40911 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
40912 if one of x and y is very large and the other is subnormal.
40913 * sysdeps/s390/fpu/s_fmaf.c: New file.
40914 * sysdeps/s390/fpu/s_fma.c: New file.
40915 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
40916 * sysdeps/powerpc/fpu/s_fma.S: New file.
40917 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
40918 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
40919 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
40920
409212010-10-12 Jakub Jelinek <jakub@redhat.com>
40922
40923 [BZ #3268]
40924 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
40925 fma tests.
40926 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
40927 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
40928 * sysdeps/i386/i686/multiarch/s_fma.c: Include
40929 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
40930 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
40931 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
40932 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
40933
b833d51f
UD
409342010-10-12 Ulrich Drepper <drepper@redhat.com>
40935
40936 [BZ #12078]
40937 * posix/regcomp.c (parse_branch): One more memory leak plugged.
40938 * posix/bug-regex31.input: Add test case.
40939
1751705d
UD
409402010-10-11 Ulrich Drepper <drepper@gmail.com>
40941
e9b9cbf5
UD
40942 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
40943 * posix/bug-regex31.input: New file.
40944
40945 [BZ #12078]
40946 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
40947 (parse_sub_exp): Fix last change, use postorder.
40948
ef06edbe
UD
40949 * posix/bug-regex31.c: New file.
40950 * posix/Makefile: Add rules to build and run bug-regex31.
40951
a129c80d
UD
40952 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
40953
40954 [BZ #12078]
40955 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
40956
b76b818e
UD
40957 [BZ #12108]
40958 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
40959 to have entries in sys_siglist.
40960
1751705d
UD
40961 [BZ #12093]
40962 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
40963 be NULL.
40964
9ff8d36f
JJ
409652010-10-07 Jakub Jelinek <jakub@redhat.com>
40966
40967 [BZ #3268]
40968 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
40969 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
40970 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
40971 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
40972 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40973 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
40974 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
40975 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
40976 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
40977 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
40978 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
40979 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
40980 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
40981 * math/ftestexcept.c (fetestexcept): Likewise.
40982 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
40983 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
40984 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
40985 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
40986 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
40987 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
40988 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40989
af325969
UD
409902010-10-11 Ulrich Drepper <drepper@gmail.com>
40991
c579b202 40992 [BZ #12107]
af325969
UD
40993 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
40994 newline.
40995
67a67b95
UD
409962010-10-06 Ulrich Drepper <drepper@gmail.com>
40997
40998 * string/bug-strstr1.c: New file.
40999 * string/Makefile: Add rules to build and run bug-strstr1.
41000
5fb308bc
EB
410012010-10-05 Eric Blake <eblake@redhat.com>
41002
41003 [BZ #12092]
41004 * string/str-two-way.h (two_way_long_needle): Always clear memory
41005 when skipping input due to the shift table.
41006
45db99c7
UD
410072010-10-03 Ulrich Drepper <drepper@gmail.com>
41008
3b111893
UD
41009 [BZ #12005]
41010 * malloc/mcheck.c: Handle large requests.
41011
45db99c7
UD
41012 [BZ #12077]
41013 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41014 for strncmp and strncasecmp.
41015 * string/stratcliff.c: Add tests for strcmp and strncmp.
41016 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41017
cf7a1eb8
NI
410182010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41019
41020 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41021 __set_fpscr.
41022
6484ba5e
AJ
410232010-09-30 Andreas Jaeger <aj@suse.de>
41024
41025 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41026 (CGROUP_SUPER_MAGIC): Define.
41027 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41028 Handle btrfs and cgroup file systems.
41029 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41030 Likewise.
41031
91c42559
LM
410322010-09-27 Luis Machado <luisgpm@br.ibm.com>
41033
41034 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41035 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41036
87a97932
AK
410372010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41038
41039 [BZ #12067]
41040 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41041 trying to locate the ELF header.
41042
c21cc9bc
AS
410432010-09-27 Andreas Schwab <schwab@redhat.com>
41044
41045 [BZ #11611]
41046 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41047 Mask out sign-bit copies when constructing f_fsid.
41048
315970f6
PB
410492010-09-24 Petr Baudis <pasky@suse.cz>
41050
41051 * debug/stack_chk_fail_local.c: Add missing licence exception.
41052 * debug/warning-nop.c: Likewise.
41053
1ac7a2c7
JM
410542010-09-15 Joseph Myers <joseph@codesourcery.com>
41055
41056 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41057 implementing getdents64 using getdents syscall, set d_type if
41058 __ASSUME_GETDENTS32_D_TYPE.
41059
56801c50
AS
410602010-09-16 Andreas Schwab <schwab@redhat.com>
41061
41062 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41063 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41064
dda51327
UD
410652010-09-21 Ulrich Drepper <drepper@redhat.com>
41066
41067 [BZ #12037]
41068 * posix/unistd.h: Undo change of feature selection for ftruncate from
41069 2010-01-11.
41070
8ffcee4a
UD
410712010-09-20 Ulrich Drepper <drepper@redhat.com>
41072
a545ecd9 41073 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
41074 detection.
41075
e24f0a8b
AS
410762010-09-20 Andreas Schwab <schwab@redhat.com>
41077
41078 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41079 fanotify_mark.
41080 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41081
7291c56f
AS
410822010-09-14 Andreas Schwab <schwab@redhat.com>
41083
41084 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41085 variables after CHECK_SP call.
41086 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41087
bc5fb037
AS
410882010-09-13 Andreas Schwab <schwab@redhat.com>
41089 Ulrich Drepper <drepper@redhat.com>
41090
41091 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41092 re-relocationg ld.so.
41093 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41094 _dl_init_paths call.
41095 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
41096 here anymore.
41097
e66e7419
UD
410982010-09-14 Ulrich Drepper <drepper@redhat.com>
41099
41100 * resolv/res_init.c (__res_vinit): Count the default server we added.
41101
c044aa75
CLT
411022010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
41103 Ulrich Drepper <drepper@redhat.com>
41104
41105 [BZ #11968]
41106 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41107 (____longjmp_chk): Use %ebx for saving value across system call.
41108 Add unwind info.
41109
32cf4069
AS
411102010-09-06 Andreas Schwab <schwab@redhat.com>
41111
41112 * manual/Makefile: Don't mix pattern rules with normal rules.
41113
817328ee
AS
411142010-09-05 Andreas Schwab <schwab@linux-m68k.org>
41115
41116 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41117 operation.
41118 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41119 * libio/iofopncook.c (_IO_cookie_init): Likewise.
41120 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41121 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41122 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41123 Likewise.
41124
29fddf61
UD
411252010-09-04 Ulrich Drepper <drepper@redhat.com>
41126
41127 [BZ #11979]
41128 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41129 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41130
0959ffc9
UD
411312010-09-02 Ulrich Drepper <drepper@redhat.com>
41132
41133 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41134 * sysdeps/x86_64/addmul_1.S: Likewise.
41135 * sysdeps/x86_64/lshift.S: Likewise.
41136 * sysdeps/x86_64/mul_1.S: Likewise.
41137 * sysdeps/x86_64/rshift.S: Likewise.
41138 * sysdeps/x86_64/sub_n.S: Likewise.
41139 * sysdeps/x86_64/submul_1.S: Likewise.
41140
ece29840
ST
411412010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
41142
0959ffc9
UD
41143 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41144 Define __sched_param instead of SCHED_* and sched_param when
ece29840 41145 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 41146 * bits/sched.h [__need_schedparam]
ece29840 41147 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
41148 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41149 (__defined_schedparam): Define to 1.
ece29840
ST
41150 (__sched_param): New structure, identical to sched_param.
41151 (__need_schedparam): Undefine.
41152
e53a31fe
MF
411532010-08-31 Mike Frysinger <vapier@gentoo.org>
41154
fdc0c10d
MF
41155 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41156 (epoll_create1): Declare.
41157
e53a31fe
MF
41158 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41159
a726d796
AS
411602010-08-31 Andreas Schwab <schwab@redhat.com>
41161
41162 [BZ #7066]
41163 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41164 shifting retval into place.
41165
2f3e3dc7
UD
411662010-09-01 Ulrich Drepper <drepper@redhat.com>
41167
f2933da9
UD
41168 * nis/rpcsvc/nis.h: Update copyright notice.
41169 * nis/rpcsvc/nis.x: Likewise.
41170 * nis/rpcsvc/nis_callback.h: Likewise.
41171 * nis/rpcsvc/nis_callback.x: Likewise.
41172 * nis/rpcsvc/nis_object.x: Likewise.
41173 * nis/rpcsvc/nis_tags.h: Likewise.
41174 * nis/rpcsvc/yp.h: Likewise.
41175 * nis/rpcsvc/yp.x: Likewise.
41176 * nis/rpcsvc/ypupd.h: Likewise.
41177 * nis/yp_xdr.c: Likewise.
41178 * nis/ypupdate_xdr.c: Likewise.
41179
2f3e3dc7
UD
41180 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
41181 mainly the body of pmap_getport. Add parameters to specify timeouts.
41182 (pmap_getport): Use __libc_rpc_getport.
41183 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41184 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41185 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41186
f3dcc2f9
AS
411872010-08-31 Andreas Schwab <schwab@linux-m68k.org>
41188
41189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41190 fanotify_mark.
41191
6d34eb5b
RM
411922010-08-27 Roland McGrath <roland@redhat.com>
41193
41194 * sysdeps/i386/i686/multiarch/Makefile
41195 (CFLAGS-varshift.c): New variable.
41196
9ea3de11
UD
411972010-08-27 Ulrich Drepper <drepper@redhat.com>
41198
c96d23fc
UD
41199 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41200 * sysdeps/i386/i686/multiarch/varshift.c: New file.
41201
9ea3de11
UD
41202 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41203
41204 * sysdeps/x86_64/strlen.S: Minimal code improvement.
41205
623aac7f
L
412062010-08-26 H.J. Lu <hongjiu.lu@intel.com>
41207
41208 * sysdeps/x86_64/strlen.S: Unroll the loop.
41209 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41210 strlen-sse2 strlen-sse2-bsf.
41211 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41212 __strlen_no_bsf if bit_Slow_BSF is set.
41213 (__strlen_sse42): Removed.
41214 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41215 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41216
8b2b7715
RM
412172010-08-25 Roland McGrath <roland@redhat.com>
41218
41219 * sysdeps/x86_64/multiarch/varshift.S: File removed.
41220 * sysdeps/x86_64/multiarch/varshift.c: New file.
41221 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41222 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41223 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41224 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41225
e73015f2
L
412262010-08-25 H.J. Lu <hongjiu.lu@intel.com>
41227
41228 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41229 strlen-sse2 strlen-sse2-bsf.
41230 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41231 __strlen_sse2_bsf if bit_Slow_BSF is unset.
41232 (__strlen_sse2): Removed.
41233 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41234 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41235 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41236 bit_Slow_BSF for Atom.
41237 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41238 (index_Slow_BSF): Define.
41239 (HAS_SLOW_BSF): Define.
41240
df24a73e
UD
412412010-08-25 Ulrich Drepper <drepper@redhat.com>
41242
41243 [BZ #10851]
41244 * resolv/res_init.c (__res_vinit): When no server address at all
41245 is given default to loopback.
41246
f2ac4868
RM
412472010-08-24 Roland McGrath <roland@redhat.com>
41248
09055553
RM
41249 * configure.in: Remove config-name.h generation.
41250 * configure: Regenerated.
41251 * config-name.in: File removed.
41252 * scripts/config-uname.sh: New file.
41253 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41254 ($(objdir)config-name.h): New target.
41255
f2ac4868
RM
41256 * sunrpc/rpc_parse.h: Avoid nested comment.
41257
73f27d5e
RH
412582010-08-24 Richard Henderson <rth@redhat.com>
41259 Ulrich Drepper <drepper@redhat.com>
41260 H.J. Lu <hongjiu.lu@intel.com>
41261
41262 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
41263 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
41264 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
41265 Replace _mm_srli_si128 with __m128i_shift_right. Replace
41266 _mm_alignr_epi8 with _mm_loadu_si128.
41267 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
41268 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
41269 (__m128i_shift_right): Removed.
41270 * sysdeps/i386/i686/multiarch/varshift.h: New file.
41271 * sysdeps/i386/i686/multiarch/varshift.S: New file.
41272 * sysdeps/x86_64/multiarch/varshift.h: New file.
41273 * sysdeps/x86_64/multiarch/varshift.S: New file.
41274
84b9230c
MF
412752010-08-21 Mike Frysinger <vapier@gentoo.org>
41276
41277 * configure.in: Move assembler checks to before sysdep dir checking.
41278
9bbd0ddc
PB
412792010-08-20 Petr Baudis <pasky@suse.cz>
41280
41281 * LICENSES: Sync the sunrpc license.
41282
9da4bb31
UD
412832010-08-19 Ulrich Drepper <drepper@redhat.com>
41284
a7ab6ec8
UD
41285 * sunrpc/auth_des.c: Update copyright notice once again.
41286 * sunrpc/auth_none.c: Likewise.
41287 * sunrpc/auth_unix.c: Likewise.
41288 * sunrpc/authdes_prot.c: Likewise.
41289 * sunrpc/authuxprot.c: Likewise.
41290 * sunrpc/bindrsvprt.c: Likewise.
41291 * sunrpc/clnt_gen.c: Likewise.
41292 * sunrpc/clnt_perr.c: Likewise.
41293 * sunrpc/clnt_raw.c: Likewise.
41294 * sunrpc/clnt_simp.c: Likewise.
41295 * sunrpc/clnt_tcp.c: Likewise.
41296 * sunrpc/clnt_udp.c: Likewise.
41297 * sunrpc/clnt_unix.c: Likewise.
41298 * sunrpc/des_crypt.c: Likewise.
41299 * sunrpc/des_soft.c: Likewise.
41300 * sunrpc/get_myaddr.c: Likewise.
41301 * sunrpc/getrpcport.c: Likewise.
41302 * sunrpc/key_call.c: Likewise.
41303 * sunrpc/key_prot.c: Likewise.
41304 * sunrpc/openchild.c: Likewise.
41305 * sunrpc/pm_getmaps.c: Likewise.
41306 * sunrpc/pm_getport.c: Likewise.
41307 * sunrpc/pmap_clnt.c: Likewise.
41308 * sunrpc/pmap_prot.c: Likewise.
41309 * sunrpc/pmap_prot2.c: Likewise.
41310 * sunrpc/pmap_rmt.c: Likewise.
41311 * sunrpc/rpc/auth.h: Likewise.
41312 * sunrpc/rpc/auth_unix.h: Likewise.
41313 * sunrpc/rpc/clnt.h: Likewise.
41314 * sunrpc/rpc/des_crypt.h: Likewise.
41315 * sunrpc/rpc/key_prot.h: Likewise.
41316 * sunrpc/rpc/netdb.h: Likewise.
41317 * sunrpc/rpc/pmap_clnt.h: Likewise.
41318 * sunrpc/rpc/pmap_prot.h: Likewise.
41319 * sunrpc/rpc/pmap_rmt.h: Likewise.
41320 * sunrpc/rpc/rpc.h: Likewise.
41321 * sunrpc/rpc/rpc_des.h: Likewise.
41322 * sunrpc/rpc/rpc_msg.h: Likewise.
41323 * sunrpc/rpc/svc.h: Likewise.
41324 * sunrpc/rpc/svc_auth.h: Likewise.
41325 * sunrpc/rpc/types.h: Likewise.
41326 * sunrpc/rpc/xdr.h: Likewise.
41327 * sunrpc/rpc_clntout.c: Likewise.
41328 * sunrpc/rpc_cmsg.c: Likewise.
41329 * sunrpc/rpc_common.c: Likewise.
41330 * sunrpc/rpc_cout.c: Likewise.
41331 * sunrpc/rpc_dtable.c: Likewise.
41332 * sunrpc/rpc_hout.c: Likewise.
41333 * sunrpc/rpc_main.c: Likewise.
41334 * sunrpc/rpc_parse.c: Likewise.
41335 * sunrpc/rpc_parse.h: Likewise.
41336 * sunrpc/rpc_prot.c: Likewise.
41337 * sunrpc/rpc_sample.c: Likewise.
41338 * sunrpc/rpc_scan.c: Likewise.
41339 * sunrpc/rpc_scan.h: Likewise.
41340 * sunrpc/rpc_svcout.c: Likewise.
41341 * sunrpc/rpc_tblout.c: Likewise.
41342 * sunrpc/rpc_util.c: Likewise.
41343 * sunrpc/rpc_util.h: Likewise.
41344 * sunrpc/rpcinfo.c: Likewise.
41345 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
41346 * sunrpc/rpcsvc/key_prot.x: Likewise.
41347 * sunrpc/rpcsvc/klm_prot.x: Likewise.
41348 * sunrpc/rpcsvc/mount.x: Likewise.
41349 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
41350 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
41351 * sunrpc/rpcsvc/rex.x: Likewise.
41352 * sunrpc/rpcsvc/rstat.x: Likewise.
41353 * sunrpc/rpcsvc/rusers.x: Likewise.
41354 * sunrpc/rpcsvc/sm_inter.x: Likewise.
41355 * sunrpc/rpcsvc/spray.x: Likewise.
41356 * sunrpc/rpcsvc/yppasswd.x: Likewise.
41357 * sunrpc/rtime.c: Likewise.
41358 * sunrpc/svc.c: Likewise.
41359 * sunrpc/svc_auth.c: Likewise.
41360 * sunrpc/svc_authux.c: Likewise.
41361 * sunrpc/svc_raw.c: Likewise.
41362 * sunrpc/svc_run.c: Likewise.
41363 * sunrpc/svc_simple.c: Likewise.
41364 * sunrpc/svc_tcp.c: Likewise.
41365 * sunrpc/svc_udp.c: Likewise.
41366 * sunrpc/svc_unix.c: Likewise.
41367 * sunrpc/svcauth_des.c: Likewise.
41368 * sunrpc/xcrypt.c: Likewise.
41369 * sunrpc/xdr.c: Likewise.
41370 * sunrpc/xdr_array.c: Likewise.
41371 * sunrpc/xdr_float.c: Likewise.
41372 * sunrpc/xdr_mem.c: Likewise.
41373 * sunrpc/xdr_rec.c: Likewise.
41374 * sunrpc/xdr_ref.c: Likewise.
41375 * sunrpc/xdr_sizeof.c: Likewise.
41376 * sunrpc/xdr_stdio.c: Likewise.
41377
9da4bb31
UD
41378 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
41379 handling.
41380
bdaa77bc
AS
413812010-08-19 Andreas Schwab <schwab@redhat.com>
41382
41383 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
41384
fe2f79db
LM
413852010-08-19 Luis Machado <luisgpm@br.ibm.com>
41386
41387 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
41388 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
41389 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
41390 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
41391 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
41392 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
41393 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
41394 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
41395 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
41396 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
41397 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
41398 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
41399 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
41400 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
41401
b9b42ee0
AB
414022010-07-26 Anton Blanchard <anton@samba.org>
41403
41404 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
41405 * malloc/arena.c (heap_trim): Likewise.
41406
1c06ba31
UD
414072010-08-16 Ulrich Drepper <drepper@redhat.com>
41408
41409 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
41410 here. Not...
41411 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
41412 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
41413
f8392f40
L
414142010-08-12 H.J. Lu <hongjiu.lu@intel.com>
41415
41416 * sysdeps/i386/elf/Makefile: New file.
41417
3162f12e
AS
414182010-08-14 Andreas Schwab <schwab@linux-m68k.org>
41419
41420 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
41421 from fanotify_init.
41422 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
41423 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41424
28c90b2c
UD
414252010-08-15 Ulrich Drepper <drepper@redhat.com>
41426
41427 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
41428 of strncasecmp_l.
1feccb6c 41429 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 41430
ca6bb004
UD
414312010-08-14 Ulrich Drepper <drepper@redhat.com>
41432
e9f82e0d
UD
41433 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41434 strncase_l-nonascii.
41435 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41436 Add strncase_l-ssse3.
41437 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
41438 * sysdeps/x86_64/strcmp.S: Likewise.
41439 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
41440 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
41441 * sysdeps/x86_64/strncase.S: New file.
41442 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
41443 * sysdeps/x86_64/strncase_l.S: New file.
41444 * string/Makefile (strop-tests): Add strncasecmp.
41445 * string/test-strncasecmp.c: New file.
41446
41447 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
41448 warning.
41449
ca6bb004
UD
41450 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
41451 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
41452
052fa7b3
AS
414532010-08-14 Andreas Schwab <schwab@linux-m68k.org>
41454
41455 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
41456
962dba78
UD
414572010-08-12 Ulrich Drepper <drepper@redhat.com>
41458
41459 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
41460 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
41461 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
41462
bebff237
AM
414632010-05-01 Alan Modra <amodra@gmail.com>
41464
41465 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
41466 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
41467 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
41468 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
41469 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
41470 tidying. Don't tail-call __sigjmp_save for static lib.
41471 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
41472 save location.
41473 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
41474 (CALL_MCOUNT): Add eh info, and nop after bl.
41475 (TAIL_CALL_SYSCALL_ERROR): New macro.
41476 (PSEUDO_RET): Use it.
41477 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41478 Correct save location of integer regs and cr.
41479 (_dl_profile_resolve): Correct cr save location. Delete nops
41480 after bl when SHARED. Reduce cfi size a little by better
41481 placement of cfi directives.
41482 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
41483 make a stack frame. Instead use parm save area as a temp.
41484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
41485 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
41486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41487 Don't make a stack frame for parent, use parm save area.
41488 Increase child stack frame to 112 bytes. Don't save unused reg,
41489 and adjust reg usage. Set up cfi on error recovery and
41490 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
41491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41492 (__makecontext): Add dummy nop after jump to exit.
41493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
41494 Use correct parm save area and cr save, reduce stack frame.
41495 Correct cfi for possible PSEUDO_RET frame setup.
41496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
41497 Branch to local label emitted by PSEUDO_RET rather than
41498 __syscall_error.
41499
02637374
AS
415002010-08-12 Andreas Schwab <schwab@redhat.com>
41501
41502 [BZ #11904]
41503 * locale/programs/locale.c (print_assignment): New function.
41504 (show_locale_vars): Use it.
41505
c3e2f19b
UD
415062010-08-11 Ulrich Drepper <drepper@redhat.com>
41507
3cdaa6ad
UD
41508 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
41509 field.
41510 (struct statfs64): Likewise.
41511 (_STATFS_F_FLAGS): Define.
41512 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
41513 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41514 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
41515 (ST_VALID): Define locally.
41516 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
41517 __statvfs_getflags, use the provided value.
41518 * sysdeps/unix/sysv/linux/kernel-features.h: Define
41519 __ASSUME_STATFS_F_FLAGS.
41520
754f7da3
UD
41521 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
41522
10b3bedc
UD
41523 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
41524 Add sys/fanotify.h.
41525 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
41526 fanotify_mask for GLIBC_2.13.
41527 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
41528 fanotify_init and fanotify_mark.
41529 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41530 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
41531
c08fb0d7
UD
41532 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
41533 Add prlimit.
41534 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
41535 prlimit64 for GLIBC_2.13.
41536 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
41537 prlimit64.
41538 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
41539 syscall.
41540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
41541 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41542 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
41543 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
41544 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
41545 add prlimit alias.
41546 * sysdeps/unix/sysv/linux/prlimit.c: New file.
41547
15bac72b
UD
41548 [BZ #11903]
41549 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
41550 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
41551
c3e2f19b
UD
41552 * nss/Makefile: Add rules to build and run tst-nss-test1.
41553 * shlib-versions: Add entry for libnss_test1.
41554 * nss/nss_test1.c: New file.
41555 * nss/tst-nss-test1.c: New file.
41556
41557 * nss/nsswitch.c (__nss_database_custom): Define new variable.
41558 (__nss_configure_lookup): Set appropriate entry in
41559 __nss_configure_lookup to true.
41560 * nss/nsswitch.h: Define enum with indeces of databases in
41561 databases and __nss_database_custom arrays. Declare
41562 __nss_database_custom.
41563 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
41564 to avoid using nscd when custom rules are installed.
41565 * nss/getXXbyYY_r.c: Likewise.
41566 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41567
41568 * nss/nss_files/files-parse.c: Whitespace fixes.
41569
f15ce4d8
UD
415702010-08-09 Ulrich Drepper <drepper@redhat.com>
41571
41572 [BZ #11883]
41573 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
41574 * posix/fnmatch_loop.c: Likewise.
41575
d22e4cc9
AK
415762010-07-17 Andi Kleen <ak@linux.intel.com>
41577
41578 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
41579 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
41580 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
41581 * Versions.def [GLIBC_2.13]: Add.
41582
805bc17d
UD
415832010-08-06 Ulrich Drepper <drepper@redhat.com>
41584
41585 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
41586 Also fail if tpwd after pwuid call is NULL.
41587
5a42321d
ST
415882010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
41589
41590 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
41591 when converting to ms.
41592
fd3ebeda
ST
415932010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41594
41595 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
41596 EOPNOTSUPP errors with ENOTTY.
41597 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
41598 EOPNOTSUPP errors with ENOTTY.
41599
73507d3a
UD
416002010-07-31 Ulrich Drepper <drepper@redhat.com>
41601
41602 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41603 Add strcasecmp_l-ssse3.
41604 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
41605 strcasecmp.
41606 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
41607 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
41608 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
41609
fe36dd02
UD
416102010-07-30 Ulrich Drepper <drepper@redhat.com>
41611
66f6765a
UD
41612 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
41613
42e08a54
UD
41614 * string/Makefile (strop-tests): Add strcasecmp.
41615 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41616 strcasecmp_l-nonascii.
41617 (gen-as-const-headers): Add locale-defines.sym.
41618 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
41619 * sysdeps/x86_64/strcasecmp.S: New file.
41620 * sysdeps/x86_64/strcasecmp_l.S: New file.
41621 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
41622 * sysdeps/x86_64/locale-defines.sym: New file.
41623 * string/test-strcasecmp.c: New file.
41624
fe36dd02
UD
41625 * string/test-strcasestr.c: Test both ends of the range of characters.
41626 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
41627
48cbc0d6
RM
416282010-07-29 Roland McGrath <roland@redhat.com>
41629
76e6d6bc 41630 [BZ #11856]
48cbc0d6
RM
41631 * manual/locale.texi (Yes-or-No Questions): Fix example code.
41632
880113d9
UD
416332010-07-27 Ulrich Drepper <drepper@redhat.com>
41634
41635 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
41636 for ld.so.
41637
deb9cabb
AS
416382010-07-27 Andreas Schwab <schwab@redhat.com>
41639
41640 * manual/memory.texi (Malloc Tunable Parameters): Document
41641 M_PERTURB.
41642
1c7570ff
RM
416432010-07-26 Roland McGrath <roland@redhat.com>
41644
41645 [BZ #11840]
41646 * configure.in (-fgnu89-inline check): Set and substitute
41647 gnu89_inline, not libc_cv_gnu89_inline.
41648 * configure: Regenerated.
41649 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
41650
24fb0f88
UD
416512010-07-26 Ulrich Drepper <drepper@redhat.com>
41652
41653 * string/test-strnlen.c: New file.
41654 * string/Makefile (strop-tests): Add strnlen.
41655 * string/tester.c (test_strnlen): Add a few more test cases.
41656 * string/tst-strlen.c: Better error reporting.
41657
41658 * sysdeps/x86_64/strnlen.S: New file.
41659
8e96b93a
UD
416602010-07-24 Ulrich Drepper <drepper@redhat.com>
41661
41662 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
41663 lower-latency instructions.
41664
dbc676d4
UD
416652010-07-23 Ulrich Drepper <drepper@redhat.com>
41666
41667 * string/test-strcasestr.c: New file.
41668 * string/test-strstr.c: New file.
41669 * string/Makefile (strop-tests): Add strstr and strcasestr.
41670 * string/str-two-way.h: Don't undefine MAX.
41671 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
41672
f6a31e0e
AS
416732010-07-21 Andreas Schwab <schwab@redhat.com>
41674
41675 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41676 strcasestr-nonascii.
41677 (CFLAGS-strcasestr-nonascii.c): Define.
41678 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
41679 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
41680 Remove unused attribute.
41681
5dbc3b6c
RM
416822010-07-20 Roland McGrath <roland@redhat.com>
41683
41684 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
41685 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
41686 ld.so.cache was broken. With it, there is no way to disable dsocaps
41687 like LD_HWCAP_MASK can disable hwcaps.
41688
23d101d8
EPM
416892010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
41690
41691 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
41692
cc9f2e47
UD
416932010-07-16 Ulrich Drepper <drepper@redhat.com>
41694
41695 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
41696 call in strcasestr.
41697 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
41698 __strcasestr_sse42_nonascii.
41699 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
41700 strcasestr-nonascii.c.
41701 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
41702
77c1b069
LM
417032010-06-15 Luis Machado <luisgpm@br.ibm.com>
41704
41705 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
41706 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
41707 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
41708 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
41709
440566c3
UD
417102010-07-09 Ulrich Drepper <drepper@redhat.com>
41711
41712 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
41713 fcntl.
41714
5be9d05d
AS
417152010-07-06 Andreas Schwab <schwab@redhat.com>
41716
c30b7ee2 41717 [BZ #11577]
5be9d05d
AS
41718 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
41719 dl_signal_cerror.
41720
8a492a67
UD
417212010-07-06 Ulrich Drepper <drepper@redhat.com>
41722
41723 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
41724 _PC_PIPE_BUF using F_GETPIPE_SZ.
41725
713df3d5
RM
417262010-07-05 Roland McGrath <roland@redhat.com>
41727
41728 * manual/arith.texi (Rounding Functions): Fix rint description
41729 implicit in round description.
41730
702e8f14
UD
417312010-07-02 Ulrich Drepper <drepper@redhat.com>
41732
41733 * elf/Makefile: Fix linking for a few tests to make recent linker
41734 happy.
41735
52ed8be9
AS
417362010-06-30 Andreas Schwab <schwab@redhat.com>
41737
41738 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41739 $(common-objpfx)libc_nonshared.a.
41740
f47c9a11
LM
417412010-06-21 Luis Machado <luisgpm@br.ibm.com>
41742
41743 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
41744 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
41745 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41746 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41747 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
41748 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
41749 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41750 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
41752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
41753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
41754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
41756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
41758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
41759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
41760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
41761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
41763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
41765 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
41766 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
41767 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
41768 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
41769 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
41770 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
41771 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
41772 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
41773 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
41774 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
41775 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
41776 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
41777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
41778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
41779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
41780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
41781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
41782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
41783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
41784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
41785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
41786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
41787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
41788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
41789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
41790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
41791
6fb8cbcb
L
417922010-06-25 H.J. Lu <hongjiu.lu@intel.com>
41793
41794 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
41795 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
41796 * string/memmove.c (memmove): Renamed to ...
41797 (MEMMOVE): ...this. Default to memmove.
41798 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
41799 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
41800 (END_CHK): Define.
41801 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41802 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
41803 mempcpy-ssse3-back memmove-ssse3-back.
41804 * sysdeps/x86_64/multiarch/bcopy.S: New file .
41805 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
41806 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
41807 * sysdeps/x86_64/multiarch/memcpy.S: New file.
41808 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
41809 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
41810 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
41811 * sysdeps/x86_64/multiarch/memmove.c: New file.
41812 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
41813 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
41814 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
41815 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
41816 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
41817 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
41818 Define.
41819 (index_Fast_Copy_Backward): Define.
41820 (HAS_ARCH_FEATURE): Define.
41821 (HAS_FAST_REP_STRING): Define.
41822 (HAS_FAST_COPY_BACKWARD): Define.
41823
4e733bac 418242010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
41825
41826 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
41827 Restore proper fallback handling.
41828
63c4ed22
UD
418292010-06-19 Ulrich Drepper <drepper@redhat.com>
41830
ac2b484c
UD
41831 [BZ #11701]
41832 * posix/group_member.c (__group_member): Correct checking loop.
41833
63c4ed22
UD
41834 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
41835 OOM in getpwuid_r correctly. Return error number when the caller
41836 should return, otherwise -1.
41837 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
41838 call returning > 0 value.
41839 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
41840
765ade4b
AS
418412010-06-07 Andreas Schwab <schwab@redhat.com>
41842
41843 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
41844 libc_nonshared.a from targets in modules-names.
41845
80da2e09
KS
418462010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
41847
41848 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
41849 requires it.
41850
158db122
LM
418512010-06-10 Luis Machado <luisgpm@br.ibm.com>
41852
41853 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
41854 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
41855 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
41856 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
41857
caa78cf8
AS
418582010-06-02 Andreas Schwab <schwab@redhat.com>
41859
41860 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
41861
b2ef2c01
UD
418622010-06-14 Ulrich Drepper <drepper@redhat.com>
41863
41864 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
41865 and F_GETPIPE_SZ.
41866 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41867 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41868 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41869 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41870 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41871 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
41872
fbd643b6
RM
418732010-06-14 Roland McGrath <roland@redhat.com>
41874
41875 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
41876
f32f2869
JJ
418772010-06-07 Jakub Jelinek <jakub@redhat.com>
41878
41879 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
41880 __REDIRECT followed by __THROW.
41881 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
41882 * posix/getopt.h (getopt): Likewise.
41883
2a50c078
EPM
418842010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
41885
41886 * hurd/lookup-at.c (__file_name_lookup_at): Accept
41887 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
41888 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
41889 in AT_FLAGS.
41890 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
41891 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
41892
eb5ad2eb
LM
418932010-05-28 Luis Machado <luisgpm@br.ibm.com>
41894
41895 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
41896
3c88fe1e
L
418972010-05-26 H.J. Lu <hongjiu.lu@intel.com>
41898
41899 [BZ #11640]
41900 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41901 Properly check family and model.
41902
d2f73151
TY
419032010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
41904
41905 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
41906
ebd2e13d
LM
419072010-05-24 Luis Machado <luisgpm@br.ibm.com>
41908
41909 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
41910
b32b8b45
UD
419112010-05-21 Ulrich Drepper <drepper@redhat.com>
41912
41913 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
41914 symbol reference.
41915
9acbe24d
AS
419162010-05-19 Andreas Schwab <schwab@redhat.com>
41917
41918 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
41919 symbol reference.
41920
f0ccf6ea
AS
419212010-05-21 Andreas Schwab <schwab@redhat.com>
41922
3d04ff3a
AS
41923 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
41924 and internal_recvmmsg.
41925 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
41926 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
41927 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
41928 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
41929
f0ccf6ea
AS
41930 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
41931 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41932 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41933
5b08ac57
AS
419342010-05-20 Andreas Schwab <schwab@redhat.com>
41935
41936 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
41937
4828935d
LM
419382010-05-17 Luis Machado <luisgpm@br.ibm.com>
41939
41940 POWER7 optimizations.
41941 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
41942 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
41943
373d545e
UD
419442010-05-19 Ulrich Drepper <drepper@redhat.com>
41945
41946 * version.h: Update for 2.13 development version.
41947
21a2b1ae
AS
419482010-05-12 Andrew Stubbs <ams@codesourcery.com>
41949
41950 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
41951 exceptions. Return 0.
41952
3f7dcb2b
RM
419532010-05-07 Roland McGrath <roland@redhat.com>
41954
41955 * elf/ldconfig.c (main): Add a const.
41956
5f24d53a 419572010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 41958
a160f8d8
UD
41959 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
41960 (args_options): Add no-idn option.
41961 (ahosts_keys_int): Add idn_flags to ai_flags.
41962 (parse_option): Handle 'i' option to clear idn_flags.
41963
5f24d53a
UD
41964 * malloc/malloc.c (_int_free): Possible race in the most recently
41965 added check. Only act on the data if no current modification
41966 happened.
265bb1ce
UD
41967
41968See ChangeLog.17 for earlier changes.